Pandora FMS Community

problem with service restarting

yduma · 23 oct 2008, 3:13 · 31 mensajes · 108 visitas

  1. Inicio del debate

    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 (c) 2004-2008 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at (Link not available anymore) 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 (c) 2004-2008 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at (Link not available anymore) 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
  2. Kill all processes (if running) Use /etc/init.d/pandora_whatever start (instead of restart) Do you still get the error?

  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

  4. kill 4050 -bash: kill: (4050) - No such process and same for pandora_network. I can start them only using /..../pandora_server restart

  5. version?

  6. Pandora FMS Data Server 2.0Beta1 Build PS080822 Copyright (c) 2004-2008 ArticaST

  7. Ummm change your start-up scripts with the ones in the SVN

  8. Are you using the vmware image?

  9. No, installed on my server.

  10. from the svn?

  11. no, from source code, I download it, using link, that I get from email, sended from Pandora site.

  12. Which linux distribution? Seems to me a pidof issue, if it's a RH based distro, pidof is odd and works different from debian based ones.

  13. It is SUSE LINUX 10.1 (i586)

  14. but I have same problrm with network server I try that you tell me, and dataserver start good

  15. thanks! now it work's!

Entra en tu cuenta para publicar.