Openssh Solaris problem writing /var/adm/wtmp

Darren Tucker dtucker at zip.com.au
Thu Apr 28 22:04:41 EST 2005


Frank Beckmann wrote:
> ssh -V
> OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
> 
>>>Apr 27 12:06:03 systemx sshd[869]: [ID 847 auth.info] wtmp_write:
>>>problem writing /var/adm/wtmp: No such file or directory

There's a section in configure that disables wtmp and utmp on Solaris > 8:

         AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
         sol2ver=`echo "$host"| sed -e 's/.*[[0-9]]\.//'`
         if test "$sol2ver" -ge 8; then
                 AC_MSG_RESULT(yes)
                 AC_DEFINE(DISABLE_UTMP)
                 AC_DEFINE(DISABLE_WTMP)
         else
                 AC_MSG_RESULT(no)
         fi

Are DISABLE_UTMP and DISABLE_WTMP defined in config.h?  What did output 
after "checking for obsolete utmp and wtmp in solaris2.x" ?

> An other thing...
> we have since Sunday (the day of the paket switch) some defunct´s in the
> process list

> 24342:  lwp_cond_wait(0xFEC834E8, 0xFEC834F8, 0xFEC7CD80) (sleeping...)

LWP == lightweight process == thread?  Did you build it with POSIX 
threads?  If so, that's unsupported.  Does it occur building without?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list