<?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: apache in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052850#M76374</link>
    <description>httpd -v&lt;BR /&gt;Print the version of httpd.&lt;BR /&gt;&lt;BR /&gt;It's possible to run the httpd daemon in either stand-alone mode or via the Internet Server daemon (inetd). Running the daemon in stand-alone mode makes easier to start and stop individual processes without modifying the /etc/inetd.conf file constantly&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
    <pubDate>Wed, 20 Aug 2003 12:36:53 GMT</pubDate>
    <dc:creator>Sergejs Svitnevs</dc:creator>
    <dc:date>2003-08-20T12:36:53Z</dc:date>
    <item>
      <title>apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052848#M76372</link>
      <description>Good Morning-&lt;BR /&gt;   Can anybody tell me of a command that will tell me which version of apache i'm running. Also, can somebody describe what apache "stand alone version" is? Thanks a lot!&lt;BR /&gt;&lt;BR /&gt;Kyle</description>
      <pubDate>Wed, 20 Aug 2003 12:19:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052848#M76372</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-08-20T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052849#M76373</link>
      <description>You can ever use rpm to know this:&lt;BR /&gt;&lt;BR /&gt;rpm -qi apache&lt;BR /&gt;&lt;BR /&gt;Also, if you look into /var/log/httpd/error_log, when you start apache it tells the version of the httpd daemon, along with third-party modules that are configured on your installation.&lt;BR /&gt;&lt;BR /&gt;The "apache standalone version" is the version that both appears when you query the rpm database and the Apache error log.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Paulo Fessel</description>
      <pubDate>Wed, 20 Aug 2003 12:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052849#M76373</guid>
      <dc:creator>Paulo A G Fessel</dc:creator>
      <dc:date>2003-08-20T12:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052850#M76374</link>
      <description>httpd -v&lt;BR /&gt;Print the version of httpd.&lt;BR /&gt;&lt;BR /&gt;It's possible to run the httpd daemon in either stand-alone mode or via the Internet Server daemon (inetd). Running the daemon in stand-alone mode makes easier to start and stop individual processes without modifying the /etc/inetd.conf file constantly&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Wed, 20 Aug 2003 12:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052850#M76374</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-08-20T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: apache</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052851#M76375</link>
      <description>Running it in stand-alone (as a daemon) is usually more efficient as well as easier to manage.&lt;BR /&gt;&lt;BR /&gt;The wasy to tell if it is running in Standalone or launched fromthe super-daemon (inetd/xinetd) is to see which process are running, who their parents are, and who owns the port.&lt;BR /&gt;&lt;BR /&gt;For example, stand-alone:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep http&lt;BR /&gt;root 795 1 0 Apr10 ? 00:00:13 /usr/sbin/httpd&lt;BR /&gt;&lt;BR /&gt;The Parent PID (3rd field) is 1, meaning it's parent is 'init'.  This is what happens to daemons which launch off into the background.  As the process which launched it is no longer necessary, it removes any reliance on it.&lt;BR /&gt;&lt;BR /&gt;For example, launched from inetd/xinetd:&lt;BR /&gt;&lt;BR /&gt;# ps -ef | grep http&lt;BR /&gt;root 795 763 0 10:08 ? 00:00:00 /usr/sbin/httpd&lt;BR /&gt;&lt;BR /&gt;The 3rd field is greater than 1, meaning that it was launched by something else.  Further research shows:&lt;BR /&gt;&lt;BR /&gt;# ps -fp 763&lt;BR /&gt;root 763 1 0 Apr10 ? 00:00:00 xinetd -stayalive -reuse&lt;BR /&gt;&lt;BR /&gt;This is the super-daemon on this box.&lt;BR /&gt;&lt;BR /&gt;Otherwise you could use a command similar to:&lt;BR /&gt;&lt;BR /&gt;# netstat -ntlp | grep :80&lt;BR /&gt;&lt;BR /&gt;(stand alone)&lt;BR /&gt;tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 795/httpd&lt;BR /&gt;&lt;BR /&gt;(launced from inetd)&lt;BR /&gt;tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 763/xinetd&lt;BR /&gt;&lt;BR /&gt;Just some little tid-bits..  mostly aimless rambling :)</description>
      <pubDate>Wed, 20 Aug 2003 23:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache/m-p/3052851#M76375</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-08-20T23:10:16Z</dc:date>
    </item>
  </channel>
</rss>

