This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
System:ÂMicrosoft Windows XP PRO [Version 5.1.2600] ÂSP3 ****************************PROBLEM ************************************ ran into a situation this morning where the service would not start, this is a fresh install. $ cygrunsrv --start sshd cygrunsrv: Error starting a service: QueryServiceStatus: ÂWin32 error 1062: The service has not been started. the event logs shows "The following information is part of the event: sshd: PID 4140: starting service `' failed: redirect_fd: open (1, /var/log/sshd.log): 13, Permission denied." The permission for the file was set to read-only. $ ls -l /var/log total 108 -rw-r--r-- Â1 SYSTEM    Âroot   Â0 Sep 30 19:19 lastlog -rwxr-x---+ 1 Administrator Users 45610 Oct Â9 03:14 setup.log -rwxr-x---+ 1 Administrator Users 58543 Oct Â9 03:14 setup.log.full -r--r--r-- Â1 SYSTEM    Âroot   Â0 Oct 25 Â2007 sshd.log *************************************SOLUTION*************************************** Change permission to write for owner and group and the service started without error. george@ghana ~ $ chmod 664 /var/log/sshd.log george@ghana ~ $ ls -l /var/log total 108 -rw-r--r-- Â1 SYSTEM    Âroot   Â0 Sep 30 19:19 lastlog -rwxr-x---+ 1 Administrator Users 45610 Oct Â9 03:14 setup.log -rwxr-x---+ 1 Administrator Users 58543 Oct Â9 03:14 setup.log.full -rw-rw-r-- Â1 SYSTEM    Âroot   Â0 Oct 25 Â2007 sshd.log george@ghana ~ $ cygrunsrv --start sshd george@ghana ~ $ Please update your documentation so others can be aware of the permissions problem with the log file. george
Attachment:
cygcheck.out
Description: Binary data
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |