View Full Version : Site monitor 2 problem
After installing site monitor I can't start it up. I checked the page from the developer (www.vd-tools.com) and it says that I have to execute: php -q components/com_monitor2/monitordaemon.php > /dev/null from the mambo root, but it is a php script if you have a webserver I think :question:
Under the admin account I have a button on the page: start deamon, but after clicking this I get the error: Starting monitor daemon...
Error: Daemon start failed with error code 255
What do I do wrong. Help me out here..... Please
mamboguy.com
07.04.2004, 23:16
Check with your host... hosts can be a bit touchy about site monitor scripts, because they can increase server load.
Check with your host... hosts can be a bit touchy about site monitor scripts, because they can increase server load.
Server load with this one is minimal :)
Brad: Do you have SSH access? If so, cd to your Mambo directory and try php -q components/com_monitor2/monitordaemon.php. This will start the daemon and display any errors.
Despite being a PHP script there is almost no chance of being able to start it by calling it directly through a browser as no-one in their right mind would compile the process control functions into mod_php. It runs using the command line PHP which is completely seperate from mod_php (i.e. the webserver implementation).
It forks into multiple processes so you may get an error about pcntl_fork() being an undefined function, if you do you will have to recompile PHP with --pcntl-enable.
As I said in the thread on mamboserver, this will not work for a lot of people. You need a very good host (my definition of good is "allows everything") who not only compiles all the options into PHP but actually allows people to use them without booting them off (always always check with your host before running background scripts).
If you got the download from my site then it's out of date, get it from MOSforge or Mamboportal :)
Ok, But how do I execute this command if I'm on a hosted server As far as I know I cannot directly execute Php script or do I ??
I'm hosted by pcextreme.nl
Any suggestions ???? :O
You need shell access, either SSH or (unlikely) Telnet. Best way to find out if you have it is to ask your host.
vBulletin® v3.8.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.