Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Unable to get remote logging in IIS 6 to work

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Related Topics:
Remote logging - With IIS 6.0, is there any advantage or on logging to a remote server, I've basically found that my log files are causing defrag issues causing IIS to crash, so I want to dedicate a box just for logging, is it against any

IIS remote logging - Hi there, I am trying to use remote logging from one Windows 2003 machine to another. Both machines are in a workgroup no AD. I have set up IIS to log to a UNC path but I am receiving the following error in Event Viewer. Unable to..

Remote Logging - Hi in my company we have just installed a new web server and i'm trying to configure remote logging for iis 6.0. The idea would be to make the web server log on our NAS server on the same network but i'm not able to make it work. The..

IIS logging on remote resource - Hi to all, I'd like to configure IIS6.0 to store the log in a remote share. The IIS machine and Torage machine aren't the same domain. I create in every machine the same account, I create a folder and share it with the rigth I..

Remote Logging in a Workgroup - Hi, I'm tryin' to configure the new Windows 2003 Sp1 I wanna configure the Remote Logging. I've notice that all the examples and guides talk about a domain BUt In my farm I haven't a PDC.I have How can I do in..
Next:  IIS: Newbie: help with redirection script  
Author Message
Justin

External


Since: Dec 26, 2006
Posts: 1



(Msg. 1) Posted: Tue Dec 26, 2006 11:33 am
Post subject: Unable to get remote logging in IIS 6 to work
Archived from groups: microsoft>public>inetserver>iis (more info?)

Here is how everything is setup.
The IIS machine is W2k3 Server Std. Ed 32bit with all the latest updates.
This machine is connected to the only domain that we have. A 2nd machine
(used for storing the log files and importing them into a DB) is on the same
domain, and it is a Win2k3 Server Std Ed 64bit machine with all the latest
updates. I enable logging and put in \\myServer\IISLogs into the logging
path and put the radio button at the top to Daily. I restart IIS to make
sure that the settings have been accepted. When i hit the first website, it
says "Unable to create log file \myServer\IISLogs\W3SVC1. Make sure that the
logging directory is correct and this computer has write access to that
directory. " in Event Viewer. Notice how the first \ is missing and it
doesn't have the file name of what is trying to log to. I have tried putting
in \\myServer\IISLogs\ just to see if that would help. I also have all the
permissions wide open. The share has Everyone allowed full control and the
Security of the folder and all the subfolders allows Everyone full control as
well. I also added the Domain\computer to the security as well and gave it
full permission. I will start locking down security once i get this thing
logging, but for right now its not working at all so I wanted to leave that
out of the way. I am also able to access the UNC from every machine I try
including the IIS server that is supposed to be able to use it. i have also
tried manually creating the W3SVC1 folder for it with no change, and I have
also tried switching from Daily to Hourly with no difference.
The other thing that is weird is the Event Id is showing 15000 which
according to the troubleshooting says that the ACLs have changed (manually).
Since I am the only one with access to this machine and the only one making
changes right now (since it's in the lab), that is not possible unless
something on the Domain can conrtol that, but i HIGHLY doubt it. I think
this is an invalid error message that I am chasing, but I have tried
everything I can and don't see any end in site.
The last weird thing is that this used to work (i have a couple log files it
created), but then i ran all the security updates on the 64bit machine (the
destination) and now it doesnt work. I would like to blame the patches, but
I don't have much proof other than that's the only thing that changed.

Please advise.
Thanks

 >> Stay informed about: Unable to get remote logging in IIS 6 to work 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 2) Posted: Tue Dec 26, 2006 8:21 pm
Post subject: Re: Unable to get remote logging in IIS 6 to work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I suggest against using UNC for log file. Desirable attributes for log
file storage include fast and reliable, and UNC is neither (in
comparison to local partition).

Since you are already running a process on the remote server to
store/import log files into a DB, I suggest you create a UNC share on
the IIS server and have that remote process read/move IIS log files on
a daily basis to the remote 64bit machine.

HTTP.SYS writes the log files as LocalSystem -- so all your ACL
settings are not comparable.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


Justin@Diebold wrote:
> Here is how everything is setup.
> The IIS machine is W2k3 Server Std. Ed 32bit with all the latest updates.
> This machine is connected to the only domain that we have. A 2nd machine
> (used for storing the log files and importing them into a DB) is on the same
> domain, and it is a Win2k3 Server Std Ed 64bit machine with all the latest
> updates. I enable logging and put in \\myServer\IISLogs into the logging
> path and put the radio button at the top to Daily. I restart IIS to make
> sure that the settings have been accepted. When i hit the first website, it
> says "Unable to create log file \myServer\IISLogs\W3SVC1. Make sure that the
> logging directory is correct and this computer has write access to that
> directory. " in Event Viewer. Notice how the first \ is missing and it
> doesn't have the file name of what is trying to log to. I have tried putting
> in \\myServer\IISLogs\ just to see if that would help. I also have all the
> permissions wide open. The share has Everyone allowed full control and the
> Security of the folder and all the subfolders allows Everyone full control as
> well. I also added the Domain\computer to the security as well and gave it
> full permission. I will start locking down security once i get this thing
> logging, but for right now its not working at all so I wanted to leave that
> out of the way. I am also able to access the UNC from every machine I try
> including the IIS server that is supposed to be able to use it. i have also
> tried manually creating the W3SVC1 folder for it with no change, and I have
> also tried switching from Daily to Hourly with no difference.
> The other thing that is weird is the Event Id is showing 15000 which
> according to the troubleshooting says that the ACLs have changed (manually).
> Since I am the only one with access to this machine and the only one making
> changes right now (since it's in the lab), that is not possible unless
> something on the Domain can conrtol that, but i HIGHLY doubt it. I think
> this is an invalid error message that I am chasing, but I have tried
> everything I can and don't see any end in site.
> The last weird thing is that this used to work (i have a couple log files it
> created), but then i ran all the security updates on the 64bit machine (the
> destination) and now it doesnt work. I would like to blame the patches, but
> I don't have much proof other than that's the only thing that changed.
>
> Please advise.
> Thanks

 >> Stay informed about: Unable to get remote logging in IIS 6 to work 
Back to top
Login to vote
Justin

External


Since: Dec 26, 2006
Posts: 1



(Msg. 3) Posted: Tue Dec 26, 2006 8:34 pm
Post subject: Re: Unable to get remote logging in IIS 6 to work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you very much for replying. I completely understand what you are
saying, but with how we have our servers setup to "push" log files rather
than have them "pulled" from the servers, it is not what we would want to do
(unless there is no other option). I also understand what you are saying
about the Local System account and have setup the 64bit machine to accept the
computer name of the IIS machine (from the Domain Computers). I have opened
a support incident because according to all of their documentation, this is
one of the things added (or atleast supported) in the new IIS 6.0. I will
update this post when we are able to work out what the issue is. Again, I
thank you for your comments, but selfishly I am hoping that MS can figure out
what the issue is so things don't have to change.

Have a good evening
-Justin



"David Wang" wrote:

> I suggest against using UNC for log file. Desirable attributes for log
> file storage include fast and reliable, and UNC is neither (in
> comparison to local partition).
>
> Since you are already running a process on the remote server to
> store/import log files into a DB, I suggest you create a UNC share on
> the IIS server and have that remote process read/move IIS log files on
> a daily basis to the remote 64bit machine.
>
> HTTP.SYS writes the log files as LocalSystem -- so all your ACL
> settings are not comparable.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> Justin@Diebold wrote:
> > Here is how everything is setup.
> > The IIS machine is W2k3 Server Std. Ed 32bit with all the latest updates.
> > This machine is connected to the only domain that we have. A 2nd machine
> > (used for storing the log files and importing them into a DB) is on the same
> > domain, and it is a Win2k3 Server Std Ed 64bit machine with all the latest
> > updates. I enable logging and put in \\myServer\IISLogs into the logging
> > path and put the radio button at the top to Daily. I restart IIS to make
> > sure that the settings have been accepted. When i hit the first website, it
> > says "Unable to create log file \myServer\IISLogs\W3SVC1. Make sure that the
> > logging directory is correct and this computer has write access to that
> > directory. " in Event Viewer. Notice how the first \ is missing and it
> > doesn't have the file name of what is trying to log to. I have tried putting
> > in \\myServer\IISLogs\ just to see if that would help. I also have all the
> > permissions wide open. The share has Everyone allowed full control and the
> > Security of the folder and all the subfolders allows Everyone full control as
> > well. I also added the Domain\computer to the security as well and gave it
> > full permission. I will start locking down security once i get this thing
> > logging, but for right now its not working at all so I wanted to leave that
> > out of the way. I am also able to access the UNC from every machine I try
> > including the IIS server that is supposed to be able to use it. i have also
> > tried manually creating the W3SVC1 folder for it with no change, and I have
> > also tried switching from Daily to Hourly with no difference.
> > The other thing that is weird is the Event Id is showing 15000 which
> > according to the troubleshooting says that the ACLs have changed (manually).
> > Since I am the only one with access to this machine and the only one making
> > changes right now (since it's in the lab), that is not possible unless
> > something on the Domain can conrtol that, but i HIGHLY doubt it. I think
> > this is an invalid error message that I am chasing, but I have tried
> > everything I can and don't see any end in site.
> > The last weird thing is that this used to work (i have a couple log files it
> > created), but then i ran all the security updates on the 64bit machine (the
> > destination) and now it doesnt work. I would like to blame the patches, but
> > I don't have much proof other than that's the only thing that changed.
> >
> > Please advise.
> > Thanks
>
>
 >> Stay informed about: Unable to get remote logging in IIS 6 to work 
Back to top
Login to vote
David Wang

External


Since: Dec 22, 2006
Posts: 560



(Msg. 4) Posted: Tue Dec 26, 2006 10:57 pm
Post subject: Re: Unable to get remote logging in IIS 6 to work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Interesting conflict of information:

UNC logging possible:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library...S/a6347

UNC logging not possible:
http://support.microsoft.com/kb/324279



//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


Justin@diebold wrote:
> Thank you very much for replying. I completely understand what you are
> saying, but with how we have our servers setup to "push" log files rather
> than have them "pulled" from the servers, it is not what we would want to do
> (unless there is no other option). I also understand what you are saying
> about the Local System account and have setup the 64bit machine to accept the
> computer name of the IIS machine (from the Domain Computers). I have opened
> a support incident because according to all of their documentation, this is
> one of the things added (or atleast supported) in the new IIS 6.0. I will
> update this post when we are able to work out what the issue is. Again, I
> thank you for your comments, but selfishly I am hoping that MS can figure out
> what the issue is so things don't have to change.
>
> Have a good evening
> -Justin
>
>
>
> "David Wang" wrote:
>
> > I suggest against using UNC for log file. Desirable attributes for log
> > file storage include fast and reliable, and UNC is neither (in
> > comparison to local partition).
> >
> > Since you are already running a process on the remote server to
> > store/import log files into a DB, I suggest you create a UNC share on
> > the IIS server and have that remote process read/move IIS log files on
> > a daily basis to the remote 64bit machine.
> >
> > HTTP.SYS writes the log files as LocalSystem -- so all your ACL
> > settings are not comparable.
> >
> >
> > //David
> > http://w3-4u.blogspot.com
> > http://blogs.msdn.com/David.Wang
> > //
> >
> >
> > Justin@Diebold wrote:
> > > Here is how everything is setup.
> > > The IIS machine is W2k3 Server Std. Ed 32bit with all the latest updates.
> > > This machine is connected to the only domain that we have. A 2nd machine
> > > (used for storing the log files and importing them into a DB) is on the same
> > > domain, and it is a Win2k3 Server Std Ed 64bit machine with all the latest
> > > updates. I enable logging and put in \\myServer\IISLogs into the logging
> > > path and put the radio button at the top to Daily. I restart IIS to make
> > > sure that the settings have been accepted. When i hit the first website, it
> > > says "Unable to create log file \myServer\IISLogs\W3SVC1. Make sure that the
> > > logging directory is correct and this computer has write access to that
> > > directory. " in Event Viewer. Notice how the first \ is missing and it
> > > doesn't have the file name of what is trying to log to. I have tried putting
> > > in \\myServer\IISLogs\ just to see if that would help. I also have all the
> > > permissions wide open. The share has Everyone allowed full control and the
> > > Security of the folder and all the subfolders allows Everyone full control as
> > > well. I also added the Domain\computer to the security as well and gave it
> > > full permission. I will start locking down security once i get this thing
> > > logging, but for right now its not working at all so I wanted to leave that
> > > out of the way. I am also able to access the UNC from every machine I try
> > > including the IIS server that is supposed to be able to use it. i have also
> > > tried manually creating the W3SVC1 folder for it with no change, and I have
> > > also tried switching from Daily to Hourly with no difference.
> > > The other thing that is weird is the Event Id is showing 15000 which
> > > according to the troubleshooting says that the ACLs have changed (manually).
> > > Since I am the only one with access to this machine and the only one making
> > > changes right now (since it's in the lab), that is not possible unless
> > > something on the Domain can conrtol that, but i HIGHLY doubt it. I think
> > > this is an invalid error message that I am chasing, but I have tried
> > > everything I can and don't see any end in site.
> > > The last weird thing is that this used to work (i have a couple log files it
> > > created), but then i ran all the security updates on the 64bit machine (the
> > > destination) and now it doesnt work. I would like to blame the patches, but
> > > I don't have much proof other than that's the only thing that changed.
> > >
> > > Please advise.
> > > Thanks
> >
> >
 >> Stay informed about: Unable to get remote logging in IIS 6 to work 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]