Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with service restarting
#1
hi
I have something with restarting pandora_server and network. I get

ps -e | grep pandora
27830 ? 00:04:37 pandora_agent
20600 ? 06:13:25 pandora_network
20641 ? 00:04:05 pandora_server
server1:~ # /etc/init.d/pandora_network restart
/etc/init.d/pandora_network: line 54: [: too many arguments
Stopping Pandora FMS Network Server
/etc/init.d/pandora_network: line 28: 14372 Terminated $0 stop
/etc/init.d/pandora_network: line 32: [: too many arguments

Pandora FMS Network Server 2.0Beta1 Build PS080822 Copyright © 2004-2008 ArticaST
This program is OpenSource, licensed under the terms of GPL License version 2.
You can download latest versions and documentation at http://pandora.sourceforge.net

[*] Server basepath is /etc/pandora/pandora_server.conf
[*] Server logfile at /var/log/pandora/pandora_server.log
[*] Server errorlogfile at /var/log/pandora/pandora_server.error
[*] Server incoming directory at /var/spool/pandora/data_in
[*] Server keepalive 60
[*] Server threshold 10
[*] You are running Pandora FMS Network Server.
[*] This server is running in MASTER mode.
[*] Pandora FMS Server [server1_Net] is running and operative
[*] Starting up network threads
[*] Backgrounding Pandora FMS Network Server process.

Pandora Network Server is now running with PID 14384 14374 14371 20600
server1:~ # ps -e | grep pandora
27830 ? 00:04:37 pandora_agent
20600 ? 06:13:33 pandora_network
20641 ? 00:04:05 pandora_server
14384 ? 00:00:03 pandora_network



server1~ # ps -e | grep pandora
27830 ? 00:04:37 pandora_agent
20641 ? 00:04:05 pandora_server
14384 ? 00:00:38 pandora_network
server1:~ # /etc/init.d/pandora_server restart
/etc/init.d/pandora_server: line 54: [: too many arguments
Stopping Pandora FMS Data Server
/etc/init.d/pandora_server: line 28: 15777 Terminated $0 stop
/etc/init.d/pandora_server: line 32: [: too many arguments

Pandora FMS Data Server 2.0Beta1 Build PS080822 Copyright © 2004-2008 ArticaST
This program is OpenSource, licensed under the terms of GPL License version 2.
You can download latest versions and documentation at http://pandora.sourceforge.net

[*] Server basepath is /etc/pandora/pandora_server.conf
[*] Server logfile at /var/log/pandora/pandora_server.log
[*] Server errorlogfile at /var/log/pandora/pandora_server.error
[*] Server incoming directory at /var/spool/pandora/data_in
[*] Server keepalive 60
[*] Server threshold 10
[*] You are running Pandora FMS Data Server.
[*] This server is running in MASTER mode.
[*] Pandora FMS Server [server1_Data] is running and operative
[*] Backgrounding Pandora FMS Data Server process.

Pandora Data Server is now running with PID 15789 15779 15776 20641
server1:~ # ps -e | grep pandora
27830 ? 00:04:37 pandora_agent
20641 ? 00:04:05 pandora_server
14384 ? 00:00:46 pandora_network
15789 ? 00:00:00 pandora_server
 Reply
#2
Kill all processes (if running)

Use /etc/init.d/pandora_whatever start (instead of restart)

Do you still get the error?
 Reply
#3
server1:~ # ps -e | grep pandora
27830 ? 00:04:39 pandora_agent
server1:~ # /etc/init.d/pandora_server start
Pandora FMS Data Server is currently running on this machine with PID (4050). Aborting now...
server1:~ # ps -e | grep pandora
27830 ? 00:04:39 pandora_agent
 Reply
#4
kill 4050
-bash: kill: (4050) - No such process
and same for pandora_network.

I can start them only using /..../pandora_server restart
 Reply
#5
version?
 Reply
#6
Pandora FMS Data Server 2.0Beta1 Build PS080822 Copyright © 2004-2008 ArticaST
 Reply
#7
Ummm change your start-up scripts with the ones in the SVN
 Reply
#8
download from https://pandora.svn.sourceforge.net/svnr...ra_server/

same problem
 Reply
#9
Are you using the vmware image?
 Reply
#10
No, installed on my server.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes