It appears to run fine to begin with, loading libraries and reading config
files, these are the last few lines. It tries to fork, and then just dies.

read(3, "-----BEGIN DSA PRIVATE KEY-----\n"..., 672) = 672
_llseek(3, 0, [0], SEEK_SET)            = 0
fcntl64(3, F_GETFL)                     = 0x8000 (flags
O_RDONLY|O_LARGEFILE)
fstat64(3, {st_mode=S_IFREG|0600, st_size=672, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40016000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "-----BEGIN DSA PRIVATE KEY-----\n"..., 4096) = 672
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
fork()                                  = 451
--- SIGCHLD (Child exited) ---
_exit(0)


On a box where SSH is working

fstat(3, {st_mode=S_IFREG|0600, st_size=668, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40016000
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "-----BEGIN DSA PRIVATE KEY-----\n"..., 4096) = 668
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
fork()                                  = 6632
_exit(0)                                = ?

Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: [EMAIL PROTECTED]
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58 711 000
Fax: +61 (03) 58 711 874

"It's the smell! If there is such a thing." Agent Smith - The Matrix


----- Original Message -----
From: "Jean-Francois Dive" <[EMAIL PROTECTED]>
To: "Andrew Tait" <[EMAIL PROTECTED]>
Cc: <debian-isp@lists.debian.org>
Sent: Monday, February 25, 2002 4:24 PM
Subject: Re: SSH Daemon failing


> strace it to see what's in there , could be meaningfull..
>
> JeF
>
> On Mon, Feb 25, 2002 at 03:27:07PM +1100, Andrew Tait wrote:
> > Hi All,
> >
> > A few days ago SSH just failed on me, out of the blue.
> >
> > Everytime I start ssh (/etc/init.d/ssh start), this appears in the
auth.log
> > file:
> >
> > Feb 25 13:50:44 porky sshd[453]: fatal: daemon() failed: Success
> >
> > I can run ssh in debug mode (sshd -d) or by telling it not to detach
> > (sshd -D) and it runs fine. It just when it tried to daemonise itself
that
> > it fails, as you can see by the log files. Other processes such as
syslogd
> > start/stop fine.
> >
> > Any suggestions?
> >
> > Andrew Tait
> > System Administrator
> > Country NetLink Pty, Ltd
> > E-Mail: [EMAIL PROTECTED]
> > WWW: http://www.cnl.com.au
> > 30 Bank St Cobram, VIC 3644, Australia
> > Ph: +61 (03) 58 711 000
> > Fax: +61 (03) 58 711 874
> >
> > "It's the smell! If there is such a thing." Agent Smith - The Matrix
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
> >
>
> --
> -> Jean-Francois Dive
> --> [EMAIL PROTECTED]
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>


Reply via email to