Configurator - IIS7 unable to detect web server user

admin's Avatar

admin

Apr 14, 2015 @ 12:25 PM

Hi !

i am experiencing a trouble that i can't figure from where it come from:

I am trying to install PML on windows 2008 server R2 with Microsoft-IIS/7.5 and PHP 5.3.3 and when the configurator ask me IIS Log folder, i got the following error:

Custom files below are not readable, please remove them or verify that they are readable by the webserver user (unable to detect web server user):
C:\inetpub\logs\LogFiles\W3SVC1

i tried to add manually the log folder without success.

Thanks for the support,
PML is great !

  1. Support Staff 1 Posted by potsky on Apr 14, 2015 @ 12:58 PM

    potsky's Avatar

    Hi !

    IIS must have access to these folders :

    • C:\
    • C:\inetpub\
    • C:\inetpub\logs\
    • C:\inetpub\logs\LogFiles
    • C:\inetpub\logs\LogFiles\W3SVC1
    • C:\inetpub\logs\LogFiles\W3SVC1\XXXXX.log

    where XXXXX.log is the log file.

    And you need to specify the log file, not the directory where log files are located. For example : C:\inetpub\logs\LogFiles\W3SVC1\XXXXX.log

  2. 2 Posted by admin on Apr 15, 2015 @ 03:12 PM

    admin's Avatar

    hi,

    thanks for the answer !

    for some securities reason i can't set C:\
    anyway it worked with only the file with IIS user rights on the log file. (by default iis log file already got iis rights)

    my error was trying to set it as a folder, instead of filename.

    by the way, i updated my server to PHP Version 5.6.7 and now log directly appear if it is set on default log folder.
    When i change ISS log folder, i need to set the path manually.

    Thanks for the help !

    by the way date doesnt not autoUpdate so i added a trick manually:
     
    config.user.php
    "C:\\SRVLOG\\IIS\\W3SVC1\\u_exAAMMDD.log"

    and getlog.pml.php line 123
    $file_path = @str_replace('AAMMDD',date('ymd'),$files[$file_id]['path']);

    Thanks again !

  3. potsky closed this discussion on May 23, 2015 @ 08:39 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac