freenx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2006-01-24 at 01:32 +0100, Deim ?goston wrote:
> > this was pointless - outside of the great log file it created...the
> > trace was only of the nxserver -restart and nothing beyond that so no
> > useful information could be derived. I haven't a clue on which process
> > it would be - I presume that it all starts with an ssh connection...
> I find strace very useful, usually. It tells me lot of things. Try to look
> over for ENOENT and EACCESS.
----
leaving no stone unturned...

[root@srv1 etc]# grep ENOENT /tmp/logfile
15546 16:54:58 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15549 16:54:58 stat64("/usr/kerberos/sbin/dirname", 0xbfece320) = -1
ENOENT (No such file or directory)
15549 16:54:58 stat64("/usr/kerberos/bin/dirname", 0xbfece320) = -1
ENOENT (No such file or directory)
15549 16:54:58 stat64("/usr/local/sbin/dirname", 0xbfece320) = -1 ENOENT
(No such file or directory)
15549 16:54:58 stat64("/usr/local/bin/dirname", 0xbfece320) = -1 ENOENT
(No such file or directory)
15549 16:54:58 stat64("/sbin/dirname", 0xbfece320) = -1 ENOENT (No such
file or directory)
15549 16:54:58 stat64("/bin/dirname", 0xbfece320) = -1 ENOENT (No such
file or directory)
15549 16:54:58 stat64("/usr/sbin/dirname", 0xbfece320) = -1 ENOENT (No
such file or directory)
15550 16:54:58 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15547 16:54:58 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15551 16:54:58 stat64("/usr/kerberos/sbin/hostname", 0xbfece930) = -1
ENOENT (No such file or directory)
15551 16:54:58 stat64("/usr/kerberos/bin/hostname", 0xbfece930) = -1
ENOENT (No such file or directory)
15551 16:54:58 stat64("/usr/local/sbin/hostname", 0xbfece930) = -1
ENOENT (No such file or directory)
15551 16:54:58 stat64("/usr/local/bin/hostname", 0xbfece930) = -1 ENOENT
(No such file or directory)
15551 16:54:58 stat64("/sbin/hostname", 0xbfece930) = -1 ENOENT (No such
file or directory)
15552 16:54:58 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15553 16:54:58 stat64("/usr/kerberos/sbin/uname", 0xbfece930) = -1
ENOENT (No such file or directory)
15553 16:54:58 stat64("/usr/kerberos/bin/uname", 0xbfece930) = -1 ENOENT
(No such file or directory)
15553 16:54:58 stat64("/usr/local/sbin/uname", 0xbfece930) = -1 ENOENT
(No such file or directory)
15553 16:54:58 stat64("/usr/local/bin/uname", 0xbfece930) = -1 ENOENT
(No such file or directory)
15553 16:54:58 stat64("/sbin/uname", 0xbfece930) = -1 ENOENT (No such
file or directory)
15554 16:54:59 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15546 16:54:59 stat64("/etc/nxserver/node.conf.d", 0xbfecee80) = -1
ENOENT (No such file or directory)
15546 16:54:59 stat64("/etc/nxserver/root.node.conf", 0xbfececf0) = -1
ENOENT (No such file or directory)
15546 16:54:59 stat64("/usr/kerberos/sbin/mv", 0xbfece770) = -1 ENOENT
(No such file or directory)
15546 16:54:59 stat64("/usr/kerberos/bin/mv", 0xbfece770) = -1 ENOENT
(No such file or directory)
15546 16:54:59 stat64("/usr/local/sbin/mv", 0xbfece770) = -1 ENOENT (No
such file or directory)
15546 16:54:59 stat64("/usr/local/bin/mv", 0xbfece770) = -1 ENOENT (No
such file or directory)
15546 16:54:59 stat64("/sbin/mv", 0xbfece770) = -1 ENOENT (No such file
or directory)
15555 16:54:59 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15555 16:54:59
stat64("/var/lib/nxserver/home/.ssh/authorized_keys2.disabled",
0xbfeab4d0) = -1 ENOENT (No such file or directory)
15555 16:54:59
lstat64("/var/lib/nxserver/home/.ssh/authorized_keys2.disabled",
0xbfeab3c0) = -1 ENOENT (No such file or directory)
15546 16:54:59 stat64("/var/lib/nxserver/home/.ssh/authorized_keys2",
0xbfece5a0) = -1 ENOENT (No such file or directory)
15556 16:54:59 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such
file or directory)
15556 16:54:59 stat64("/var/lib/nxserver/home/.ssh/authorized_keys2",
0xbfe2f4d0) = -1 ENOENT (No such file or directory)
15556 16:54:59 lstat64("/var/lib/nxserver/home/.ssh/authorized_keys2",
0xbfe2f3c0) = -1 ENOENT (No such file or directory)

[root@srv1 etc]# grep EACCESS /tmp/logfile
[root@srv1 etc]#   

I still don't see how this issue matters since this is the nxserver
startup strace - it dies after the server starts up but no trace of
attempt to login occurs
----
> 
> Another question: did you enabled the key authentication in sshd_conf? If
> sshd didn't accept the connection with keys that could be a problem. Just
> an idea...
----
yes but I think by default, PubkeyAuthentication is on as I have been
doing it with another machine since the day I set up the server. For S &
G's though, I did remove the comment and restarted sshd service...

# grep Pubkey /etc/ssh/sshd_config
PubkeyAuthentication yes

I don't think I am getting anywhere on this but thought I would fill in
the replies just in case.

Thanks

Craig


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux