Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Envelope-From: Message-ID: <400FDE6D.8040706@mobilcom.de> Date: Thu, 22 Jan 2004 15:30:05 +0100 From: Christian User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 MIME-Version: 1.0 To: "Gerrit P. Haase" CC: cygwin Subject: Re: error 1062 when starting distccd References: <400FC4E9 DOT 9090309 AT mobilcom DOT de> <7515682291 DOT 20040122144052 AT familiehaase DOT de> X-Enigmail-Version: 0.75.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Gerrit P. Haase schrieb: > 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/