On Fri, 12 Mar 2004, Smith, Gene wrote: > Igor Pechtchanski wrote: > >> Event Type: Error > >> Event Source: nfsd > >> Event Category: None > >> Event ID: 0 > >> Date: 3/12/2004 > >> Time: 2:07:26 PM > >> User: SEA\SMITED > >> Computer: 04J005 > >> Description: > >> The description for Event ID ( 0 ) in Source ( nfsd ) cannot be found. > >> The local computer may not have the necessary registry information or > >> message DLL files to display messages from a remote computer. The > >> following information is part of the event: nfsd : PID 2320 : starting > >> service `m' failed: redirect_fd: open (1, /var/log/nfsd.log): 13, > >> Permission denied. > > > > > > Hmm, this one should be pretty obvious -- a "chmod a+w /var/log/nfsd.log" > > should fix this right up. > > Igor > > You are right! That fixed it. There was already a "w" for the user > "SYSTEM" but not on group and other. Guess that's what it needs. This > fact should definitely be added to the readme or changed in the default > install. I changed it on all three nfs related log files for good measure.
The log files are created by cygrunsrv when the service is first started. If cygrunsrv ran as LocalSystem, the logs will be owned by LocalSystem. The default umask (set in /etc/profile) is 022, which means "turn off group and world write permissions". I doubt there's anything the nfs server itself can do about this. You might try changing the umask in /etc/profile, removing the log, and starting over... If this works, then it definitely should be in the README. > I also noticed that nfs-server-config script did not work quite right > the second time you ran it. It would not reload the daemons but complain > they were already installed. I fixed that my rearranging the order of > things. Also, it always complained that your mounts were not global even > when they are. I also fixed that. Should I send a patch to someone or > just send my fixed file to this list? > > Thanks for the help. > -gene The nfs-server announcement (<http://cygwin.com/ml/cygwin/2003-11/msg00267.html>) says to send comments and questions to the cygwin list (i.e., here). To help the maintainer filter out the relevant messages, you might put something like "[PATCH] nfs-server: ..." as the subject. Hope this helps, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/