Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2005 23:48:31 +0100
From:      Gert Cuykens <gert.cuykens@gmail.com>
To:        Charles Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: service and network comando
Message-ID:  <ef60af0905020114486ca5bcc0@mail.gmail.com>
In-Reply-To: <fe8bb1281f72b4d7ec21eab726d94cc1@mac.com>
References:  <ef60af09050201132344d7d06@mail.gmail.com> <b096e10428955a02086ff4f672ab0e86@mac.com> <ef60af09050201141444e72db4@mail.gmail.com> <fe8bb1281f72b4d7ec21eab726d94cc1@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Feb 2005 17:21:41 -0500, Charles Swiger <cswiger@mac.com> wrote:
> On Feb 1, 2005, at 5:14 PM, Gert Cuykens wrote:
> > one more list to add in my collection : )
> >
> > ps how do you start stop the sshd daemon ?
> 
> Carefully, at least if you are doing so remotely rather than on the
> console:
> 
> kill `cat /var/run/sshd.pid`
> 
> > and how do you specify all network daemons from the  ps aux list ?
> 
> Look at the processes without a terminal (TT field == "??").
> 
> --
> -Chuck
> 

Why are there 2 mysql processes ?

7rxI# ps aux | grep "mysql"
root    617  0.0  0.2  5132 1612  ??  I     7:41PM   0:00.00 /bin/sh
/usr/local/bin/mysqld_safe
mysql   628  0.0  3.2 58856 33236  ??  S     7:41PM   0:06.97
/usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/db/mysql
--user=mysql --pid-file

i want to start sshd, how do you fix this ?

7rxI# sshd
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef60af0905020114486ca5bcc0>