You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Shawn Beard <SB...@ifmc.sdps.org> on 2006/08/15 19:20:01 UTC

[users@httpd] Apache upgrade problem

We upgraded a server from 2.0.49 to 2.0.58.  It seemed to go fine. 
However after a short while it locks up.  In the error log I get this:

piped log program '/usr/local/apache2/bin/rotatelogs
/usr/local/apache2/logs/qnettech-test-access.log 86400' failed
unexpectedly
ld.so.1: rotatelogs: fatal: libgcc_s.so.1: open failed: No such file or
directory

I checked the envars file which looks like this:

LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

Any Ideas?  Thank you.


Shawn Beard 
Web Administrator, MCSE, MCSA, MCP
Iowa Foundation for Medical Care
Information Systems
sbeard@ifmc.sdps.org
Office: 515-440-8581


-----------------------------------------
Email messages cannot be guaranteed to be secure or error-free as
transmitted information can be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
Centers for Medicare & Medicaid Services therefore does not accept
liability for any error or omissions in the contents of this
message, which arise as a result of email transmission.

CONFIDENTIALITY NOTICE: This communication, including any
attachments, may contain confidential information and is intended
only for the individual or entity to which it is addressed. Any
review, dissemination, or copying of this communication by anyone
other than the intended recipient is strictly prohibited. If you
are not the intended recipient, please contact the sender by reply
email and delete and destroy all copies of the original message.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache upgrade problem

Posted by fredk2 <fr...@gmail.com>.
assuming you compile your own apache 2.x you can configure with 
--enable-static-support so that the support tools have no lib dependencies.

another thing that works - although i cannot say it is the best method (i am
no compiler expert) - is to export the var CC="gcc -static-libgcc" before
the configure and make

Rgds,
Fred


Shawn Beard wrote:
> 
> We upgraded a server from 2.0.49 to 2.0.58.  It seemed to go fine. 
> However after a short while it locks up.  In the error log I get this:
> 
> piped log program '/usr/local/apache2/bin/rotatelogs
> /usr/local/apache2/logs/qnettech-test-access.log 86400' failed
> unexpectedly
> ld.so.1: rotatelogs: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> 
> I checked the envars file which looks like this:
> 
> LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/lib:$LD_LIBRARY_PATH"
> export LD_LIBRARY_PATH
> 
> Any Ideas?  Thank you.
> 
> 
> Shawn Beard 
> Web Administrator, MCSE, MCSA, MCP
> Iowa Foundation for Medical Care
> Information Systems
> sbeard@ifmc.sdps.org
> Office: 515-440-8581
> 
> 
> -----------------------------------------
> Email messages cannot be guaranteed to be secure or error-free as
> transmitted information can be intercepted, corrupted, lost,
> destroyed, arrive late or incomplete, or contain viruses. The
> Centers for Medicare & Medicaid Services therefore does not accept
> liability for any error or omissions in the contents of this
> message, which arise as a result of email transmission.
> 
> CONFIDENTIALITY NOTICE: This communication, including any
> attachments, may contain confidential information and is intended
> only for the individual or entity to which it is addressed. Any
> review, dissemination, or copying of this communication by anyone
> other than the intended recipient is strictly prohibited. If you
> are not the intended recipient, please contact the sender by reply
> email and delete and destroy all copies of the original message.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-upgrade-problem-tf2110397.html#a5860751
Sent from the Apache HTTP Server - Users forum at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache upgrade problem

Posted by Alex Joseph <ca...@gmail.com>.
if the two computer have the same OS, you can use
"ldd -r /usr/local/apache2/bin/rotatelogs"  to locate the missed libraries,
and copy it from the right one.


HI, Joshua;

>Your base problem is that gcc is not installed correctly on your
>system.  Its libraries should be in the system-wide LD_LIBRARY_PATH.

Also, I've confused by a question for a long time:
 after a remote login by SSHD, how to make a variable system-wide without
rebooting.



On 8/16/06, Joshua Slive <jo...@slive.ca> wrote:
>
> On 8/15/06, Shawn Beard <SB...@ifmc.sdps.org> wrote:
> > We upgraded a server from 2.0.49 to 2.0.58.  It seemed to go fine.
> > However after a short while it locks up.  In the error log I get this:
> >
> > piped log program '/usr/local/apache2/bin/rotatelogs
> > /usr/local/apache2/logs/qnettech-test-access.log 86400' failed
> > unexpectedly
> > ld.so.1: rotatelogs: fatal: libgcc_s.so.1: open failed: No such file or
> > directory
> >
> > I checked the envars file which looks like this:
> >
> > LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/lib:$LD_LIBRARY_PATH"
> > export LD_LIBRARY_PATH
> >
> > Any Ideas?  Thank you.
>
> You asked the same question a couple days ago and got detailed
> instruction on how to find the correct path to add to LD_LIBRARY_PATH.
> Did you have a problem with those instructions?
>
> Your base problem is that gcc is not installed correctly on your
> system.  Its libraries should be in the system-wide LD_LIBRARY_PATH.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Apache upgrade problem

Posted by Joshua Slive <jo...@slive.ca>.
On 8/15/06, Shawn Beard <SB...@ifmc.sdps.org> wrote:
> We upgraded a server from 2.0.49 to 2.0.58.  It seemed to go fine.
> However after a short while it locks up.  In the error log I get this:
>
> piped log program '/usr/local/apache2/bin/rotatelogs
> /usr/local/apache2/logs/qnettech-test-access.log 86400' failed
> unexpectedly
> ld.so.1: rotatelogs: fatal: libgcc_s.so.1: open failed: No such file or
> directory
>
> I checked the envars file which looks like this:
>
> LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/lib:$LD_LIBRARY_PATH"
> export LD_LIBRARY_PATH
>
> Any Ideas?  Thank you.

You asked the same question a couple days ago and got detailed
instruction on how to find the correct path to add to LD_LIBRARY_PATH.
 Did you have a problem with those instructions?

Your base problem is that gcc is not installed correctly on your
system.  Its libraries should be in the system-wide LD_LIBRARY_PATH.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org