Windows All-In-One Installer [Cacti 1.2.24] [Updated 2023-03-09]
Moderators: Developers, Moderators
1) What the heck do you have installed? Something attached to explorer.exe is trying to read a $DATA datastream on files in your cacti directory.
2) Looks like the PHP session cookies are getting denied written.
8:18:38 AM inetinfo.exe:1212 OPEN C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\php\session\sess_72ehibfv1516d1rg6dbons5pf1 ACCESS DENIED COLLECTI-04E550\IUSR_COLLECTI-04E550
Either specify the correct location in your php.ini file (i.e. c:\php\session) or grant IUSR_COLLECTI-04E550 modify rights to FILES in your administrator temp folder (not exactly the safest thing to do).
2) Looks like the PHP session cookies are getting denied written.
8:18:38 AM inetinfo.exe:1212 OPEN C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\php\session\sess_72ehibfv1516d1rg6dbons5pf1 ACCESS DENIED COLLECTI-04E550\IUSR_COLLECTI-04E550
Either specify the correct location in your php.ini file (i.e. c:\php\session) or grant IUSR_COLLECTI-04E550 modify rights to FILES in your administrator temp folder (not exactly the safest thing to do).
| 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 |
-
- Posts: 10
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Texas, USA
I'm in a similar situation, although I have created the phpinfo.php file in the wwwroot/cacti/ directory and I can hit it with the following URL:
http://localhost/cacti/phpinfo.php
and I get a lengthy output page that starts with:
PHP Version 5.2.3
System...
Build Date...
etc.
but, trying to view index.php, about.php, graph.php, etc. return a blank page.
Any suggestions?
http://localhost/cacti/phpinfo.php
and I get a lengthy output page that starts with:
PHP Version 5.2.3
System...
Build Date...
etc.
but, trying to view index.php, about.php, graph.php, etc. return a blank page.
Any suggestions?
blah! what the heck is breaking with these installations? Same as chrispel, run Sysinternals Filemon during an attempted navigation/login to /cacti/index.php and post the log. You probably have a php session issue too.
| 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 |
Ok I gave the ISUR full control of that folder and the log now shows it can access it.
I just tried to attach the log but the forum will not let me for some reason.
here is some of the file
inetinfo.exe:1212 WRITE C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\PHP\session\sess_9i2eons0ocrbvl3k0ktm7inkq0 SUCCESS Offset: 0 Length: 42
inetinfo.exe:1212 UNLOCK C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\PHP\session\sess_9i2eons0ocrbvl3k0ktm7inkq0 SUCCESS Offset: 0 Length: 1
inetinfo.exe:1212 CLOSE C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\PHP\session\sess_9i2eons0ocrbvl3k0ktm7inkq0 SUCCESS
svchost.exe:788 OPEN C:\WINDOWS\Prefetch\FILEMON.EXE-1EDC3ADE.pf SUCCESS Options: Open Access: Read
I just tried to attach the log but the forum will not let me for some reason.
here is some of the file
inetinfo.exe:1212 WRITE C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\PHP\session\sess_9i2eons0ocrbvl3k0ktm7inkq0 SUCCESS Offset: 0 Length: 42
inetinfo.exe:1212 UNLOCK C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\PHP\session\sess_9i2eons0ocrbvl3k0ktm7inkq0 SUCCESS Offset: 0 Length: 1
inetinfo.exe:1212 CLOSE C:\Documents and Settings\administrator.LOBMLAW\LOCALS~1\Temp\PHP\session\sess_9i2eons0ocrbvl3k0ktm7inkq0 SUCCESS
svchost.exe:788 OPEN C:\WINDOWS\Prefetch\FILEMON.EXE-1EDC3ADE.pf SUCCESS Options: Open Access: Read
-
- Posts: 10
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Texas, USA
-
- Posts: 10
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Texas, USA
I looked at what you said here:
...Either specify the correct location in your php.ini file (i.e. c:\php\session) ...
and looked at the php.ini file and uncommented the entry below:
; 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.
;
; As of PHP 4.0.1, you can define the path as:
;
; session.save_path = "N;/path"
;
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
session.save_path = "/tmp"
**What does this mean? "Windows users have to change this variable in order to use PHP's session functions."
after restarting iis I get this from http://localhost/cacti/index.php:
Warning: session_start() [function.session-start]: open(/tmp\sess_dd57d8bee57f6772527116b7a28edc04, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\CACTI\include\config.php on line 96
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\CACTI\include\config.php:96) in C:\Inetpub\wwwroot\CACTI\include\config.php on line 96
Thoughts?
...Either specify the correct location in your php.ini file (i.e. c:\php\session) ...
and looked at the php.ini file and uncommented the entry below:
; 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.
;
; As of PHP 4.0.1, you can define the path as:
;
; session.save_path = "N;/path"
;
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
session.save_path = "/tmp"
**What does this mean? "Windows users have to change this variable in order to use PHP's session functions."
after restarting iis I get this from http://localhost/cacti/index.php:
Warning: session_start() [function.session-start]: open(/tmp\sess_dd57d8bee57f6772527116b7a28edc04, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\CACTI\include\config.php on line 96
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\CACTI\include\config.php:96) in C:\Inetpub\wwwroot\CACTI\include\config.php on line 96
Thoughts?
-
- Posts: 10
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Texas, USA
When I remove the / from the session.save_path (so it now looks like this "session.save_path = "tmp") and restart the w3svc, I get a blank page again, but the FileMon output shows that the cookie is able to be created in wwwroot/cacti/tmp.
- Attachments
-
- bb_cacti_2.zip
- (2.06 KiB) Downloaded 159 times
-
- Posts: 10
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Texas, USA
In php.ini, one should specify the full path for stuff. So the session.save_path should be c:\php\sessions (or whatever you want). Then you can grant the IUSR (and IIS_WPG if on win2k3) modify rights for FILES in the php session folder.
| 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 |
-
- Posts: 10
- Joined: Fri Jun 29, 2007 10:50 am
- Location: Texas, USA
ok...after reading your readme about using your install guide, I realized that I did not run the php installer at all the first time. I just extracted all the files to c:\php. Once I ran the installer, re-extracted the files over the c:\php directory and then restarted w3svc, I was able to see the "Cacti Installation Guide", but the same two errors were at the top of the page. Changing the session.save_path to "c:\inetpub\wwwroot\cacti\tmp" finally removed the two errors.
You shouldn't actually have to be running anything else, except for the cacti installer to get cacti up and running (in theory).
so its working now?
so its working now?
| 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 |
Follow the same thing billeburke did by specifying the session.save_path in php.ini and properly setting its NTFS permissions for the IUSR and IIS_WPG accounts.
| 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 |
Who is online
Users browsing this forum: No registered users and 0 guests