<?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: problem with apache's rotatelog in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374807#M865319</link>
    <description>I'm thinking it has to do with rotatelogs...&lt;BR /&gt;&lt;BR /&gt;Instead of setting absolute path,:&lt;BR /&gt;&lt;BR /&gt;CustomLog "|/opt/devhpws/apache/bin/rotatelogs /var/logs/foo 86400" combined&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;CustomLog "|bin/rotatelogs /var/logs/foo 86400" combined&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Wed, 08 Sep 2004 14:49:57 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-09-08T14:49:57Z</dc:date>
    <item>
      <title>problem with apache's rotatelog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374804#M865316</link>
      <description>I just installed the HP Web Suite v.2.0.8, then ran the altroot utility to put it in /opt/devhpws/ instead of the default /opt/hpws/. All works fine except for the rotatelogs in apache.  Anyone know what I need to do to fix it?&lt;BR /&gt;&lt;BR /&gt;In a virtual host container:&lt;BR /&gt;CustomLog "|/opt/devhpws/apache/bin/rotatelogs /var/logs/foo 86400" combined&lt;BR /&gt;&lt;BR /&gt;Errors from the error_log (note that it's looking for the lib in the old hpws directory):&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9&lt;BR /&gt;/usr/lib/dld.sl: No such file or directory&lt;BR /&gt;/usr/lib/dld.sl: Can't open shared library: /opt/hpws/apache/lib/libapr-0.sl.9</description>
      <pubDate>Wed, 08 Sep 2004 11:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374804#M865316</guid>
      <dc:creator>Dan Wick</dc:creator>
      <dc:date>2004-09-08T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with apache's rotatelog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374805#M865317</link>
      <description>Did you follow the doc on using altroot:&lt;BR /&gt;&lt;BR /&gt;Q: How can I install HP-UX Web Server Suite into a different directory? &lt;BR /&gt;This assumes that you start Apache the standard way by using the "apachectl" script. You will need to become "root" user to do this.  &lt;BR /&gt;Automatic method &lt;BR /&gt;A. Install the entire depot into /opt/hpws &lt;BR /&gt;B. Move it to the desired location by typing: &lt;BR /&gt;/opt/hpws/util/altroot.sh /opt/hpws /path_to_hpws &lt;BR /&gt;For help with this script type: &lt;BR /&gt;/opt/hpws/util/altroot.sh -h &lt;BR /&gt;&lt;BR /&gt;Note: Prior to running this script, ensure that none of processes (like Apache, Tomcat, Webmin, Stunnel, rotatelogs, logresolv) are running. &lt;BR /&gt;&lt;BR /&gt;C. Set shared library path. &lt;BR /&gt;Some Apache binaries such as htpasswd expect shared libraries to be in standard locations. To run them you will need to set the SHLIB_PATH. &lt;BR /&gt;Edit the file: &lt;BR /&gt;/path_to_hpws/apache/bin/apachectl &lt;BR /&gt;Replace all occurrences of: &lt;BR /&gt;/opt/hpws &lt;BR /&gt;With: &lt;BR /&gt;/path_to_hpws &lt;BR /&gt;&lt;BR /&gt;Manual method &lt;BR /&gt;A. Install the entire depot in /opt/hpws &lt;BR /&gt;&lt;BR /&gt;B. Move it to the desired location &lt;BR /&gt;cp -pr /opt/hpws /path_to_hpws &lt;BR /&gt;&lt;BR /&gt;C. Set shared library path: &lt;BR /&gt;Some Apache binaries such as htpasswd expect shared libraries to be in standard locations. To run them you will need to set SHLIB_PATH in your environment.Also ensure that your automatic scripts (like /path_to_hpws/apache/bin/apachectl) are set right. All the occurences of /opt/hpws should have been replaced with /path_to_hpws &lt;BR /&gt;&lt;BR /&gt;D. In start/stop control file: &lt;BR /&gt;/path_to_hpws/apache/bin/apachectl &lt;BR /&gt;Replace all occurrences of: &lt;BR /&gt;/opt/hpws &lt;BR /&gt;With: &lt;BR /&gt;/path_to_hpws &lt;BR /&gt;And define HTTPD with a different server root: &lt;BR /&gt;HTTPD="/path_to_hpws/apache/bin/httpd -d /path_to_hpws" &lt;BR /&gt;For example without this step Apache will try to access the old &lt;BR /&gt;/opt/hpws/apache/logs directory &lt;BR /&gt;&lt;BR /&gt;E. In automatic startup file: &lt;BR /&gt;/etc/rc.config.d/hpws_apacheconf &lt;BR /&gt;Replace: &lt;BR /&gt;HPWS_APACHE_HOME=/opt/hpws/apache &lt;BR /&gt;With: &lt;BR /&gt;HPWS_APACHE_HOME=/path_to_hpws/apache &lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 08 Sep 2004 11:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374805#M865317</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-08T11:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem with apache's rotatelog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374806#M865318</link>
      <description>Geoff,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.  I did follow the instructions on the altroot utility.  The path is set correctly in apachectl (alt root changed it for me automatically).  I've even sourced the envvars file that sets the SHLIB_PATH env. variable.  That's what puzzle's me.  I think it must be some environemental thing but can't see what.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Mon, 16 Sep 2024 09:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374806#M865318</guid>
      <dc:creator>Dan Wick</dc:creator>
      <dc:date>2024-09-16T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with apache's rotatelog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374807#M865319</link>
      <description>I'm thinking it has to do with rotatelogs...&lt;BR /&gt;&lt;BR /&gt;Instead of setting absolute path,:&lt;BR /&gt;&lt;BR /&gt;CustomLog "|/opt/devhpws/apache/bin/rotatelogs /var/logs/foo 86400" combined&lt;BR /&gt;&lt;BR /&gt;Try:&lt;BR /&gt;&lt;BR /&gt;CustomLog "|bin/rotatelogs /var/logs/foo 86400" combined&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 08 Sep 2004 14:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374807#M865319</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-08T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem with apache's rotatelog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374808#M865320</link>
      <description>Thanks everyone for the help. HP has replicated my problem and should be working on a patch.</description>
      <pubDate>Fri, 01 Oct 2004 08:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-apache-s-rotatelog/m-p/3374808#M865320</guid>
      <dc:creator>Dan Wick</dc:creator>
      <dc:date>2004-10-01T08:11:43Z</dc:date>
    </item>
  </channel>
</rss>

