Amanda-Users

Re: newbie question about xinetd need restart all the time

2009-05-05 11:38:27
Subject: Re: newbie question about xinetd need restart all the time
From: jinghua AT ucsd DOT edu
To: Marc Muehlfeld <Marc.Muehlfeld AT medizinische-genetik DOT de>
Date: Tue, 5 May 2009 08:20:21 -0700 (PDT)
hi Marc,

  Thank you for your helps!

  Here is what is in the messages:

  May  5 08:00:16 baker7 xinetd[8633]: xinetd Version 2.3.14 started
  with libwrap loadavg labeled-networking options compiled in.
  May  5 08:00:16 baker7 xinetd[8633]: Started working: 1 available
  service
  May  5 08:00:19 baker7 xinetd[8633]: START: amanda pid=8639
  from=132.239.185.235
  May  5 08:00:19 baker7 xinetd[8633]: file descriptor of service amanda
  has been closed
  May  5 08:00:19 baker7 xinetd[8633]: select reported EBADF but no bad
  file descriptors were found
  May  5 08:00:49 baker7 xinetd[8633]: EXIT: amanda status=0 pid=8639
  duration=30(sec)

  ps axf | grep xinetd
  8633 ?        Ss     0:00 xinetd -stayalive -pidfile
  /var/run/xinetd.pid

  [root@baker7 log]# /etc/init.d/xinetd status
  xinetd (pid 8633) is running...

  while there is no xinetd in netstat:
  netstat -taunp | grep xinetd

  there is amanda with netstat:
  netstat -taunp | grep amanda
  tcp        0      0 ::ffff:132.239.185.235:22
  ::ffff:132.239.185.23:51312 ESTABLISHED 8434/sshd: amanda [


  Jinghua

On Tue, 5 May 2009, Marc Muehlfeld wrote:

jinghua AT ucsd DOT edu schrieb:
 After a while, it complains about network access problem.

What does the xinetd and messages logfile says?


Is there xinetd process still running? There should only be one xinetd process.
# ps axf | grep xinetd


Is xinetd still listening on the ports you configured it?
# netstat -taunp | grep xinetd



--
Marc Muehlfeld (Leitung IT)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de