Topic
4 replies Latest Post - ‏2012-11-12T16:56:28Z by PowerLinuxFAQ
PowerLinuxFAQ
PowerLinuxFAQ
18 Posts
ACCEPTED ANSWER

Pinned topic RHEL 6.1. Setting up inetd or xinetd

‏2012-11-12T16:03:25Z |
I have an application that assumes we have an inetd or xinetd deamon running on the Power server.  
 
For my application to be properly configured we put an entry into the /etc/inetd.cfg file (or a file in the /etc/xinetd.d subdirectory).  
 
Since we have the xinetd.d subdirectory on the server, I put the requested file there.  Then I try to restart the xinetd daemon.  
  • /etc/rc.d/init.d/xinetd restart  
But no xinetd exists in subdirectory identified.
 
At the moment we appear to have neither daemon on the machine.  I am not sure where the inetd would reside if it existed.  But my application assumes that one of two daemons  is a continuously running process that can simply be killed and will restart.
 
Any hints? 
Updated on 2012-11-12T16:56:28Z at 2012-11-12T16:56:28Z by PowerLinuxFAQ
  • new23d
    new23d
    5 Posts
    ACCEPTED ANSWER

    Re: RHEL 6.1. Setting up inetd or xinetd

    ‏2012-11-12T16:17:19Z  in response to PowerLinuxFAQ
     The directory /etc/xinetd.d exists already because it is created during the installation of a Red Hat system by the filesystem package. I think you are missing the xinetd server binary itself because the xinetd package isn't installed.
  • swellkarl
    swellkarl
    7 Posts
    ACCEPTED ANSWER

    Re: RHEL 6.1. Setting up inetd or xinetd

    ‏2012-11-12T16:21:25Z  in response to PowerLinuxFAQ
     perform an "rpm -qa |  grep xinetd" to see if xinetd is installed.
  • Storix
    Storix
    8 Posts
    ACCEPTED ANSWER

    Re: RHEL 6.1. Setting up inetd or xinetd

    ‏2012-11-12T16:22:32Z  in response to PowerLinuxFAQ
     First see if xinetd is setup at all.
     
    # rpm -qa | grep xinetd
    # chkconfig --list    (see if you have a listing for xinetd processes)
     
    Also, to restart xinetd, /etc/init.d/xinetd restart. If the system does not have xinetd, it may be using inetd which will be a similar setup as AIX. Add an entry to the inetd.conf file.
  • PowerLinuxFAQ
    PowerLinuxFAQ
    18 Posts
    ACCEPTED ANSWER

    Re: RHEL 6.1. Setting up inetd or xinetd

    ‏2012-11-12T16:56:28Z  in response to PowerLinuxFAQ
    Thank you all !    The presence of the default directory confused things.