<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /etc/services in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591568#M924955</link>
    <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;C /etc/services file contains a list of ports either on tcp/udp connection eg: finger  79/tcp. An entry of finger will be there in&lt;BR /&gt;inetd.conf file which is processed at run time when the system starts up. If there is no entry in the /etc/service file then the process will not start up.&lt;BR /&gt;&lt;BR /&gt;Other than that there are plenty of other servives defined, but these are not necessarily required. But the application using it will open or talk thru the port. If the port entry is available on the /etc/services file. &lt;BR /&gt;&lt;BR /&gt;So make sure that the application using this port is up and running. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dayanand Naik&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Oct 2001 03:22:30 GMT</pubDate>
    <dc:creator>Dayanand Naik</dc:creator>
    <dc:date>2001-10-09T03:22:30Z</dc:date>
    <item>
      <title>/etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591567#M924954</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need some clarification.&lt;BR /&gt;&lt;BR /&gt;I am running HPUX 11.0. my /etc/services file contains the usual information as well as an additional line:&lt;BR /&gt;&lt;BR /&gt;# Masterpiece/Net port&lt;BR /&gt;mpnet           20000/tcp&lt;BR /&gt;&lt;BR /&gt;My boss tells me that when I rebooted last night it didn't pick this up, and started the services for the application that is why people had communication problems.&lt;BR /&gt;&lt;BR /&gt;I am now confused, because I thought the /etc/services file was an information guide of what is run on which port when it runs. I am thinking that the reason it didn't run because there wasn't a startup script that should of been in the run levels somewhere.&lt;BR /&gt;&lt;BR /&gt;Am I wrong?&lt;BR /&gt;&lt;BR /&gt;/me thinks he is confused with windows and unix.&lt;BR /&gt;&lt;BR /&gt;maria</description>
      <pubDate>Tue, 09 Oct 2001 02:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591567#M924954</guid>
      <dc:creator>maria paschali</dc:creator>
      <dc:date>2001-10-09T02:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591568#M924955</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;C /etc/services file contains a list of ports either on tcp/udp connection eg: finger  79/tcp. An entry of finger will be there in&lt;BR /&gt;inetd.conf file which is processed at run time when the system starts up. If there is no entry in the /etc/service file then the process will not start up.&lt;BR /&gt;&lt;BR /&gt;Other than that there are plenty of other servives defined, but these are not necessarily required. But the application using it will open or talk thru the port. If the port entry is available on the /etc/services file. &lt;BR /&gt;&lt;BR /&gt;So make sure that the application using this port is up and running. &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dayanand Naik&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Oct 2001 03:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591568#M924955</guid>
      <dc:creator>Dayanand Naik</dc:creator>
      <dc:date>2001-10-09T03:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591569#M924956</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;/etc/services is an *information* file relating&lt;BR /&gt;to which ports are being used by what applications.&lt;BR /&gt;At a guess I would say that when this application was installed, during the actual installation it added the entry to /etc/services&lt;BR /&gt;&lt;BR /&gt;In saying that some applications do not do&lt;BR /&gt;a complete the job and fail to add a proper start-up script to /sbin/init.d or create a link to the /sbin/rc3.d directory or where the appropriate run level. Check in the /etc/rc.log file for the applications that got started. Also check using 'netstat -a' to see if the port is listening.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 09 Oct 2001 03:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591569#M924956</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-10-09T03:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591570#M924957</link>
      <description>Hi Maria,&lt;BR /&gt;&lt;BR /&gt;To quote the HP man page for /etc/services, it "associates official services and aliases with the port number and protocol the services use."  The ports 0 to 1023 are reserved for specific services, eg telnet uses port 23 protocol tcp, ftp uses port 21 protocol tcp, etc.&lt;BR /&gt;&lt;BR /&gt;You already have the Masterpiece port/protocol defined in your services file, so I would check to see if you have a start up script in the /sbin/init.d directory.  Remember, the script should have symbolic links pointing to it from the runlevel directories.  ie one to start it and one to stop it.&lt;BR /&gt;&lt;BR /&gt;For example,&lt;BR /&gt;&lt;BR /&gt;1. /sbin/init.d/mpnet (or whatever the name of the Masterpiece script is)&lt;BR /&gt;2. /sbin/rc3.d/Snnnmpnet -&amp;gt; /sbin/init.d/mpnet(where rc3.d means that Masterpiece starts at runlevel 3 - usually the default runlevel and the Snnn is a number representing the order that this file is started)&lt;BR /&gt;3. /sbin/rc2.d/Knnnmpnet -&amp;gt; /sbin/init.d/mpnet (where rc2.d is the runlevel that stops Masterpiece - in this case runlevel 2)&lt;BR /&gt;&lt;BR /&gt;If the Masterpiece script exists, check the /etc/rc.log file for any errors at startup.  Also check in the /etc/rc.config.d directory, as this may contain a file used by your Masterpiece program.  If you have the start/stop script setup correctly, you can enable or disable Masterpiece from starting or stopping by modifying the corresponding Masterpiece file in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 09 Oct 2001 03:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591570#M924957</guid>
      <dc:creator>David Allen</dc:creator>
      <dc:date>2001-10-09T03:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/services</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591571#M924958</link>
      <description>A couple of other things to check are /var/adm/syslog/syslog.log which lists all the services registered with inetd, so if in fact something was registered in inetd.conf and inetd was restarted, there should be a message to that affect in the syslog.&lt;BR /&gt;&lt;BR /&gt;Also, you can see if the service is listening by doing a netstat -na|grep 20000|grep LISTEN.  If all is set up properly, you should get something back.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 09 Oct 2001 08:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-services/m-p/2591571#M924958</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-09T08:26:11Z</dc:date>
    </item>
  </channel>
</rss>

