W2k3 Install and Errors
Moderators: Developers, Moderators
W2k3 Install and Errors
I get a blank page / Page not found after install. If I run SysInt FileMon I see cacti activity but no web page at all.
Here’s BSOD2600 answer to my message
“notice all the lines 12:46:43 PM mysqld-nt.exe:1964 OPEN C:\MySQL\data\cacti\settings.frm NOT FOUND Options: Open Access: All Where mysql is trying to find the cacti settings but can't? Looks like you didn't properly set up the mysql database.”
Here’s BSOD2600 answer to my message
“notice all the lines 12:46:43 PM mysqld-nt.exe:1964 OPEN C:\MySQL\data\cacti\settings.frm NOT FOUND Options: Open Access: All Where mysql is trying to find the cacti settings but can't? Looks like you didn't properly set up the mysql database.”
err ok. So did you get any errors when you initially imported the cacti.sql file?
Did you read my install guide, which said you should've patched cacti before importing cacti.sql?
Did you read my install guide, which said you should've patched cacti before importing cacti.sql?
| 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 |
Here's my other cacti install (Laptop)
Here we go.
This is the config is on my laptop. I'm getting a blank page but my processor activity goes 99% and as you can see on the FileMon log, CACTI is trying to run.
XP Pro SP2
Apache 2.0.55
PHP 5.1.2
MySQL 5.0
Cacti 8.6h Prepatched
Cactid
Cygwin 1.5.18
Check the file is a filemon.
This is the config is on my laptop. I'm getting a blank page but my processor activity goes 99% and as you can see on the FileMon log, CACTI is trying to run.
XP Pro SP2
Apache 2.0.55
PHP 5.1.2
MySQL 5.0
Cacti 8.6h Prepatched
Cactid
Cygwin 1.5.18
Check the file is a filemon.
- Attachments
-
- CACTI-040706A.rar
- This is the filemon capture.
- (215.19 KiB) Downloaded 145 times
Instructions
Do I need to complete the following steps for Apache?
Give the COMPUTERNAME\IUSR_XXXX and COMPUTERNAME\IIS_WPG users read & execute permissions to the file C:\Windows\system32\cmd.exe. Both users will also need read permissions on c:\inetpub\wwwroot\cacti\ and its subfolders.
IIS6: Give the IIS_WPG user modify permissions to the folders /cacti/log and /cacti/rra.
IIS5: Give the IUSR_XXXX user modify permissions to the folders /cacti/log and /cacti/rra.
Give the COMPUTERNAME\IUSR_XXXX and COMPUTERNAME\IIS_WPG users read & execute permissions to the file C:\Windows\system32\cmd.exe. Both users will also need read permissions on c:\inetpub\wwwroot\cacti\ and its subfolders.
IIS6: Give the IIS_WPG user modify permissions to the folders /cacti/log and /cacti/rra.
IIS5: Give the IUSR_XXXX user modify permissions to the folders /cacti/log and /cacti/rra.
The Apache Log
This is the Apache error log file. Just in case.
[Fri Apr 07 13:52:56 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Fri Apr 07 13:52:56 2006] [notice] Server built: Oct 9 2005 19:16:56
[Fri Apr 07 13:52:56 2006] [notice] Parent: Created child process 4604
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[Fri Apr 07 13:52:57 2006] [notice] Child 4604: Child process is running
[Fri Apr 07 13:52:57 2006] [notice] Child 4604: Acquired the start mutex.
[Fri Apr 07 13:52:57 2006] [notice] Child 4604: Starting 250 worker threads.
[Fri Apr 07 13:54:32 2006] [error] [client 127.0.0.1] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(C:\\Temp\\sess_eselih4rsfi876948rtckk6fj4, O_RDWR) failed: No such file or directory (2) in C:\\apache\\Apache2\\htdocs\\cacti\\include\\config.php on line 95, referer: http://bsod2600.home.comcast.net/install_windows.html
FATAL: erealloc(): Unable to allocate 207 bytes
[Fri Apr 07 13:54:33 2006] [notice] Parent: child process exited with status 1 -- Restarting.
[Fri Apr 07 13:54:33 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Fri Apr 07 13:54:33 2006] [notice] Server built: Oct 9 2005 19:16:56
[Fri Apr 07 13:54:33 2006] [notice] Parent: Created child process 6120
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[Fri Apr 07 13:54:34 2006] [notice] Child 6120: Child process is running
[Fri Apr 07 13:54:34 2006] [notice] Child 6120: Acquired the start mutex.
[Fri Apr 07 13:54:34 2006] [notice] Child 6120: Starting 250 worker threads.
[Fri Apr 07 13:52:56 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Fri Apr 07 13:52:56 2006] [notice] Server built: Oct 9 2005 19:16:56
[Fri Apr 07 13:52:56 2006] [notice] Parent: Created child process 4604
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[Fri Apr 07 13:52:57 2006] [notice] Child 4604: Child process is running
[Fri Apr 07 13:52:57 2006] [notice] Child 4604: Acquired the start mutex.
[Fri Apr 07 13:52:57 2006] [notice] Child 4604: Starting 250 worker threads.
[Fri Apr 07 13:54:32 2006] [error] [client 127.0.0.1] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(C:\\Temp\\sess_eselih4rsfi876948rtckk6fj4, O_RDWR) failed: No such file or directory (2) in C:\\apache\\Apache2\\htdocs\\cacti\\include\\config.php on line 95, referer: http://bsod2600.home.comcast.net/install_windows.html
FATAL: erealloc(): Unable to allocate 207 bytes
[Fri Apr 07 13:54:33 2006] [notice] Parent: child process exited with status 1 -- Restarting.
[Fri Apr 07 13:54:33 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.2 configured -- resuming normal operations
[Fri Apr 07 13:54:33 2006] [notice] Server built: Oct 9 2005 19:16:56
[Fri Apr 07 13:54:33 2006] [notice] Parent: Created child process 6120
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
[Fri Apr 07 13:54:34 2006] [notice] Child 6120: Child process is running
[Fri Apr 07 13:54:34 2006] [notice] Child 6120: Acquired the start mutex.
[Fri Apr 07 13:54:34 2006] [notice] Child 6120: Starting 250 worker threads.
Last edited by laarocho on Fri Apr 07, 2006 3:24 pm, edited 1 time in total.
Database import error
here's the error when I try to import the DB
"ERROR 1050 (42S01) at line 5: Table 'cdef' already exists"
"ERROR 1050 (42S01) at line 5: Table 'cdef' already exists"
Re: Instructions
Yes. Modify the paths for apache.laarocho wrote:Do I need to complete the following steps for Apache?
Looks like you don't have the permissions set on c:\temp so PHP can create session files.laarocho wrote:[Fri Apr 07 13:54:32 2006] [error] [client 127.0.0.1] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(C:\\Temp\\sess_eselih4rsfi876948rtckk6fj4, O_RDWR) failed: No such file or directory (2) in C:\\apache\\Apache2\\htdocs\\cacti\\include\\config.php on line 95, referer: http://bsod2600.home.comcast.net/install_windows.html
FATAL: erealloc(): Unable to allocate 207 bytes
laarocho wrote:"ERROR 1050 (42S01) at line 5: Table 'cdef' already exists"
That happens when you try to import cacti.sql more than once and/or you have mysql strict mode enabled.
Did you have filtering on when you ran FileMon? Also, seems like you did a lot of other things while it was running which was needlessly included in that large log...
| 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 |
Last Try
This is what I'll do. Remove the currently install on my laptop then install the same version that I see working using your signature as example. Here's another log file with filter on.
- Attachments
-
- CACTI-040706B.zip
- Here's the file again.
- (76.12 KiB) Downloaded 125 times
5:22:28 PM mysqld-nt.exe:260 OPEN C:\Program Files\MySQL\MySQL Server 5.0\data\cacti\settings.frm NOT FOUND Options: Open Access: All is a big problem.
I suggest you delete the c:\mysql\data\cacti directory and start over again.
I suggest you delete the c:\mysql\data\cacti directory and start over again.
| 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 |
Re-Install
I was planning on reinstalling using the same version you had installed and we know is working. At the same time I will translate the Install guide in Spanish, for the Spanish speaking IT community.
New Install Almost Working
I'm not able to login with username admin and password admin.
This should work: http://www.cacti.net/downloads/docs/htm ... ml#AEN1867
| 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 Manual
Where can I download the full Cacti Manual?
Tried C:\Inetpub\wwwroot\cacti\docs\html\index.html ? Same thing is mirred on the website.
| 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 |
Admin Password
Does not work. It's on a loop to the same window. But if I try another user name and pass I get the screen with the following message "Invalid User Name/Password Please Retype:"
Any ideas?
Any ideas?
Who is online
Users browsing this forum: No registered users and 5 guests