On Fri, 28 Jan 2000, Randy Smith wrote:

> Well, he sent me output from the strace. After all the initial normal
> system call type stuff, I can see where it connected to /dev/log, sent a
> message indicating the program started, then did an _exit() shortly
> thereafter. If there is nothing in the logfile regarding the exit (which
> doesn't look like there will be based on the strace), maybe some
> additional informational type messages need to be placed in the code.
> Just a thought. :)

Node doesn't send a message to syslog indicating it started!!!

You either get this:

  tpm@oh2bns ~ $ strace node
  execve("/usr/sbin/node", ["node"], [/* 44 vars */]) = 0
  strace: exec: Operation not permitted

Or as root:

  root@oh2bns /home/tpm # strace node 2>&1 | tail -5 
  fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
  connect(5, {sun_family=AF_UNIX, sun_path="/dev/log"}, 16) = 0
  send(5, "<187>Jan 28 15:14:05 node[1499]:"..., 68, 0) = 68
  SYS_174(0xd, 0xbffff4e0, 0, 0x8, 0xd)   = 0
  _exit(1)                                = ?

And then:

  root@oh2bns /home/tpm # tail -1 /var/log/messages
  Jan 28 15:14:05 oh2bns node[1499]: No uid->callsign association found

Should be quite clear after that.

-- 
Tomi Manninen           Internet:  [EMAIL PROTECTED]
OH2BNS                  AX.25:     [EMAIL PROTECTED]
KP20ME04                Amprnet:   [EMAIL PROTECTED]

Reply via email to