1st time user - error after installation

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

Moderators: Developers, Moderators

Post Reply
panaph0bic
Posts: 2
Joined: Tue Apr 26, 2005 11:58 pm

1st time user - error after installation

Post by panaph0bic »

i searched the forums, but i didnt find answers to this, so i thought i would register & post. im new to this whole thing, so i dont understand all the terms used really well...so try to help in 'noob' terms :)

this is what i get when i go to the page after installation. im running the newest versions of php,mysql,apache,etc...and im running it on XP Pro. Any suggestions? im getting a lot of errors!


Warning: session_start() [function.session-start]: open(/tmp\sess_6f72d2aefd216be7ea0db903da8aba57, O_RDWR) failed: No such file or directory (2) in C:\Apache2\Apache2\htdocs\cacti\include\config.php on line 74

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Apache2\Apache2\htdocs\cacti\include\config.php:74) in C:\Apache2\Apache2\htdocs\cacti\include\config.php on line 74

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Apache2\Apache2\htdocs\cacti\include\config.php:74) in C:\Apache2\Apache2\htdocs\cacti\include\config.php on line 74

Fatal error: Call to undefined function mysql_connect() in C:\Apache2\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338

Warning: Unknown: open(/tmp\sess_6f72d2aefd216be7ea0db903da8aba57, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Check security settings on the Cacti directory, cmd.exe, and php.exe. make sure the web user has read rights.

2) I see you're using the tmp directory... that should only be needed for older version of PHP. Re-read the Win32 install instructions.

3) Did you create the mysql cacti account? Did you edit the config.php file and put in the cacti user info?

4) List the versions of mysql, php, cacti, etc you're using.
panaph0bic
Posts: 2
Joined: Tue Apr 26, 2005 11:58 pm

Post by panaph0bic »

how do you give access rights on a specific file? i just did it on the entire system32 folder cuz i couldnt figure it out

this is driving me nuts :( i keep trying everything and i can not get it to work at all~!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Get properties on a file, click on the security tab. If it is not present, then you are using the FAT32 filesystem (bad idea) and security on files is not an option.
tdl
Posts: 27
Joined: Sat Feb 12, 2005 4:06 am
Location: Long Beach CA

Post by tdl »

I was under the impression the allowing access to cmd.exe was only for
IIS installs.
Or at least the docs seem to indicate that.
The user above is using apache2.
Am I incorrect?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

While cmd.exe needs proper rights assigned to it too, so does the other programs and folders cacti will use.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests