W2k3 Install and Errors

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

Moderators: Developers, Moderators

laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

W2k3 Install and Errors

Post by laarocho »

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.”
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Here's my other cacti install (Laptop)

Post by laarocho »

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.
Attachments
CACTI-040706A.rar
This is the filemon capture.
(215.19 KiB) Downloaded 145 times
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Instructions

Post by laarocho »

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.
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

The Apache Log

Post by laarocho »

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.
Last edited by laarocho on Fri Apr 07, 2006 3:24 pm, edited 1 time in total.
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Database import error

Post by laarocho »

here's the error when I try to import the DB

"ERROR 1050 (42S01) at line 5: Table 'cdef' already exists"
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Instructions

Post by BSOD2600 »

laarocho wrote:Do I need to complete the following steps for Apache?
Yes. Modify the paths for apache.
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
Looks like you don't have the permissions set on c:\temp so PHP can create session files.
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...
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Last Try

Post by laarocho »

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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Re-Install

Post by laarocho »

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.
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

New Install Almost Working

Post by laarocho »

I'm not able to login with username admin and password admin.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Cacti Manual

Post by laarocho »

Where can I download the full Cacti Manual?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Tried C:\Inetpub\wwwroot\cacti\docs\html\index.html ? Same thing is mirred on the website.
laarocho
Posts: 26
Joined: Wed Apr 05, 2006 9:54 am
Location: SJ, Puerto Rico

Admin Password

Post by laarocho »

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests