Hi ppl,
I am a newbi here, i have just tried to get this installed on a Windows 2003 Server, Php 5.1.1, MySQL 5. PHP is setup correctly and MySQL is correctly configured.
I have made the changes for Cacti as per the document. Put RRDTool (OFF THIS DOWNLOADS AREA) into a folder and set this up when i first ran cacti. Read/Write to the correct folders as per the instructions.
The problem i am having is that i keep getting Warnings when i do anything within Cacti. For example, i have just tried to add an SNMP Communtiy name for a server and i got the warning (this also came up when i first ran cacti after filling in the first screen).
"WArning: exec() [function.exec]: Unable to fork [ -0 fntev -c "NAME" -v 1 -t 1 -r 3 127.0.0.1:161 .1.3.6.1.2.1.1.1.0] in F:\webroot\cacti\snmp.php on line 83. SMTP Error"
Anyone any idea why i am getting this ?
Cheers
Wayne
Unable to Fork
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
MySQL 5 is not supported... yet. Go back to 4.1 and then see what problems you might have. Read the guide in my signature.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
Hi,
Thanks for your response. I have finally got around to re-imaging the server and installing MySQL 4.1. I have configured the database and ran the SQL script. When i then go to the install folder to run the install i still get unable to fork errors ?
Exact Error;
"Warning: [function.exec]: Unable to fork [perl F:\Webroot\cacti\scripts\query_unix_partitions.ph index] in F:\Webroot\cacti\lib\functions.php on line 1161
Anyone any ideas ?
Cheers
Wayne[/b]
Thanks for your response. I have finally got around to re-imaging the server and installing MySQL 4.1. I have configured the database and ran the SQL script. When i then go to the install folder to run the install i still get unable to fork errors ?
Exact Error;
"Warning: [function.exec]: Unable to fork [perl F:\Webroot\cacti\scripts\query_unix_partitions.ph index] in F:\Webroot\cacti\lib\functions.php on line 1161
Anyone any ideas ?
Cheers
Wayne[/b]
1) read the guide in my signature
2) unless you're querying a Linux computer, you don't want to be running that script/data query anyways.
3) You have a permission problem, which is causing that fork error. Double check the security settings outlined in my guide.
2) unless you're querying a Linux computer, you don't want to be running that script/data query anyways.
3) You have a permission problem, which is causing that fork error. Double check the security settings outlined in my guide.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
Thanks for the instructions/guide. I have followed this and think its now working ok. I did notice that for some reason under the IIS portion the ISAPI Filters tab, the ISAPI filter would not load. I have just removed this and its all working ok ?
Do you know of any instructions on installing the net-snmp portion, i have been unable to find any installation instructions for Windows ?
Cheers
Wayne
Do you know of any instructions on installing the net-snmp portion, i have been unable to find any installation instructions for Windows ?
Cheers
Wayne
Install what part of net-snmp exactly? The binaries are only required if you want to poll devices with snmp v3, since the SNMP in PHP can do v1/v2. The net-snmp snmp agent is not required either.... but take your pick if you want to use that or the Microsoft one.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest