Christian wrote:
hi!
$ /etc/rc.d/init.d/distccd start Starting distccd: [ OK ]
it seems running:
$ ps -a PID PPID PGID WINPID TTY UID STIME COMMAND 2628 1 2628 2628 ? 1000 13:37:52 /usr/bin/distccd 2668 2628 2628 2668 ? 1000 13:37:52 /usr/bin/distccd 1804 2628 2628 1804 ? 1000 13:37:53 /usr/bin/distccd
but i think it doesn't work... so i stopped it und tried to start in another way:
$ cygrunsrv -S distccd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: Der Dienst wurde nicht gestartet.
HELP!!!
Please read the docu about cygrunsrv how to use it to install a service correct. The look into the Windows eventlog, what is the error message? Then look in the distcc logfile, what are the error messages?
You may specify some additional options to distcc, e.g. not to run as daemon in the background.
Gerrit
I have read the docu and think, that i've installed the distccd-service in the right way.
When starting the service with "cygrunsrv.exe -S distccd", the log says: PID 672 : starting service `distccd' failed: execv: 0, No error.
When starting with "/etc/rc.d/init.d/distccd start" it says:
PID 2588 : (dcc_setup_daemon_path) daemon's PATH is /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/nls:/cygdrive/c/WINNT/system32/nls/ENGLISH:/cygdrive/c/gnupg: /cygdrive/c/Programme/NMapWin/bin:Z:.:/usr/X11R6/bin.
PID 2588 : (dcc_listen_by_addr) listening on 0.0.0.0:3632.
PID 2588 : (dcc_standalone_server) 1 CPU online on this server.
PID 2588 : (dcc_standalone_server) allowing up to 3 active jobs.
PID 2528 : (dcc_log_daemon_started) preforking daemon started (2.12 i686-pc-cygwin, built Dec 23 2003 22:30:33).
I think, thats fine.
Whats wrong when starting distccd with cygrunsrv?
-- 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/