First Time rn error

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
tommy
Posts: 3
Joined: Mon Sep 16, 2002 6:21 pm

First Time rn error

Post by tommy »

Hey gang,

I am a first time user of Cacti - trying to get it installed all day. Finally seemed to be on verge of breakthrough but now I have finally hit a wall. I have followed all the directions for a windows/IIS install (2000). When I access the cacti website I get as far as the login screen there are several erros visible on the screen also. Here it is:

Warning: open(/tmp\sess_0115e59adc4ab6ac7f1b0d90738024c0, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\cacti\include\auth.php on line 30



Please enter your cacti user name and password below:

User Name:
Password:




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

Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Anyone have a clue for me. I am getting loopy after all I have been through.

I also get a huge printout in DOS when I run php.exe c:\inetpub\wwwroot\cacti\cmd.php - there is tons of info there also that I am trying to make heads or tails of.

Thanks in advance,

tommy
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I think your problem is in the session.save_path in the php.ini file. Check this to make sure it reads:

Code: Select all

session.save_path = c:\tmp
Then make sure the directory c:\tmp exists.

Finally, restart IIS/Apache and it should work.

-Ian
tommy
Posts: 3
Joined: Mon Sep 16, 2002 6:21 pm

Thanks

Post by tommy »

YOU are the man. IT'S ALIVE!!

I created the c:\tmp directory and it all came together. Thank you.

I checked the setting you metioned and this is how it was (and is). Go figure

This is what I have in my php.ini file:

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = C:\PHP\sessiondata ; argument passed to save_handler

; Whether to use cookies.
session.use_cookies = 1

This directory exists but it is empty.

thanks,

tom
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests