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
First Time rn error
Moderators: Developers, Moderators
I think your problem is in the session.save_path in the php.ini file. Check this to make sure it reads:
Then make sure the directory c:\tmp exists.
Finally, restart IIS/Apache and it should work.
-Ian
Code: Select all
session.save_path = c:\tmp
Finally, restart IIS/Apache and it should work.
-Ian
Thanks
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
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
Who is online
Users browsing this forum: No registered users and 3 guests