Am encountering cygrunsrv :Errro Starting a service: QueryServiceStatus: Win32 Error 1062: The service was not started when trying to start apache 2.2.6 from under cygwin
Steps followed: 1) Added "server" to cygwin variable 2) Started cygserver-config 3) Added httpd2 as a service using " cygrunsrv -I httpd2 -d "CYGWIN httpd2" -p /usr/sbin/httpd2 \ -a "-DNO_DETACH" -y cygserver -e "CYGWIN=server" -s TERM -o" from /usr/share/doc/Cygwin/apache2-2.2.6.README 4) Modifed /etc/apache2/httpd.conf to use username and group-name with correct privileges. (Earlier got error about "daemon" being invalid domain name, etc) Neither does /usr/sbin/httpd2.exe work nor does the above I saw some threads on this which suggested giving user SYSTEM complete privileges on C:/cygwin, C:/cygwin/var and C:/cygwin/var/log. All users listed under "Control Panel -> User Accounts" have full read-write permissions on C:/cygwin and all subfolders. But I am still encountering above error. Can anyone recommend any solutions? Thanks ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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/