Cactid Cannot Start Script Server

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
thisted
Cacti User
Posts: 69
Joined: Fri Apr 15, 2005 10:11 am
Location: Bay City, MI
Contact:

Cactid Cannot Start Script Server

Post by thisted »

Fresh install following BSOD's guide. I try to run cactid manually to verify it is working and get the following error.

C:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
No log handling enabled - turning on stderr logging
NOTIFICATION-LOG-MIB: Module not found
NET-SNMP-AGENT-MIB: Module not found
CACTID: ERROR: SS[999] Script Server did not start properly return message was:
'Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.11

No input file specified.
'
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[13] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[14] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[10] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[11] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[12] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[10] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[11] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
CACTID: ERROR: SS[0] PHP Script Server communications lost.
CACTID: Host[2] DS[12] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...


Operating System: Server 2003 Standard
Webserver: Apache 2.0.55
Cacti:0.8.6h
Cactid:0.8.6g
MySQL:4.1.18
PHP:4.3.11
RRDTool:1.2.12
Net-SNMP:5.3.0.1
Cygwin: Most recent
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Enable debugging logging in cacti and then see exactly what the "Result from SERVER not valid. Partial Result: " message is all about.
User avatar
thisted
Cacti User
Posts: 69
Joined: Fri Apr 15, 2005 10:11 am
Location: Bay City, MI
Contact:

Post by thisted »

hmmm....it seems to have fixed itself over the weekend. How strange.
psykokwak
Posts: 11
Joined: Sat May 27, 2006 12:15 pm

Post by psykokwak »

Hello, I have the same problem,
I would like to get disk informations on a 2003 server but I have the same error :

on debugging mode :

Code: Select all

(...)
 05/27/2006 07:15:03 PM - CACTID: Poller[0] Host[10] DS[30] SS[0] SERVER: D:\htdocs\pub\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 10 1:161:500:public:::MD5::[None] get total 2, output: U
05/27/2006 07:15:03 PM - CACTID: Poller[0] Host[10] DS[30] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
05/27/2006 07:15:03 PM - CACTID: Poller[0] DEBUG: SS[0] Script Server Shutdown Started
05/27/2006 07:15:03 PM - CACTID: Poller[0] ERROR: SS[0] PHP Script Server communications lost.
05/27/2006 07:15:03 PM - CACTID: Poller[0] Host[10] DS[29] SS[0] SERVER: D:\htdocs\pub\cacti\scripts\ss_host_disk.php ss_host_disk 127.0.0.1 10 1:161:500:public:::MD5::[None] get total 1, output: U
05/27/2006 07:15:03 PM - CACTID: Poller[0] Host[10] DS[29] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
05/27/2006 07:15:03 PM - CACTID: Poller[0] DEBUG: SS[0] Script Server Shutdown Started
(...)
cacti 0.8.6h

I don't understand why :(
psykokwak
Posts: 11
Joined: Sat May 27, 2006 12:15 pm

Post by psykokwak »

when I make ./cactid.exe -S --verbosity=5 12 12
I returned :

Code: Select all

DEBUG: SS[0] PHP Script Server Routine Starting
DEBUG: SS[0] PHP Script Server About to FORK Child Process
DEBUG: SS[0] PHP Script Server Child FORK Success
ERROR: SS[999] Script Server did not start properly return message was: 'U'
I don't understand what does mean "U" :(

Please Help.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

U means nothing valid was returned.

change the logging level to debug for one cycle and look in the log for details.
psykokwak
Posts: 11
Joined: Sat May 27, 2006 12:15 pm

Post by psykokwak »

it's ok,
the problem was the path to php.exe
cacti doesn't like spaces into the path. I moved php.exe in C:\WINDOWS and all is allright.
thank's
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Very bad idea. You should've followed the installation guide and installed php to c:\php\.
psykokwak
Posts: 11
Joined: Sat May 27, 2006 12:15 pm

Post by psykokwak »

hum,
Why it's a bad idea ?
there are security problems ?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests