[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Patch upgrade goes wrong



domino27 schrieb:

>----- Original Message -----
>From: "Gerald Waugh" <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
>To: <cobalt-users@xxxxxxxxxxxxxxx>
>Sent: Saturday, April 05, 2003 10:58 AM
>Subject: Re: [cobalt-users] Patch upgrade goes wrong
>
>
>  
>
>>On Saturday 05 April 2003 04:04, domino27 wrote:
>>    
>>
>>>I`ve posted about this as well, and there are references to this in the
>>>archives, but I still have a problem with my PHP..
>>>I did an emeregency job just to get the sites running again while I try
>>>      
>>>
>and
>  
>
>>>sort the problem out.
>>>
>>>I commented out the line :  LoadModule php4_module modules/libphp4.so
>>>      
>>>
>in
>  
>
>>>the httpd.conf
>>>This got the sites and site management bit back...
>>>
>>>but I`m still without PHP of course and am not sure if it's possible to
>>>uninstall
>>>RaQ4-All-Security-2.0.1-16170.pkg....   if so how?
>>>      
>>>
>>What error message are you getting, with
>>  LoadModule php4_module modules/libphp4.so?
>>
>>Hi Gerald
>>    
>>
>
>
>Setting up Web Service: Syntax error on line 58 of
>/etc/httpd/conf/httpd.conf:
>Cannot load /etc/httpd/modules/libphp4.so into server: libgd.so.1: cannot
>open s
>hared object file: No such file or directory
>/usr/sbin/httpd
>touch: creating `/var/lock/subsys/httpd': Permission denied
>[admin admin]$
>
>Dave
>  
>
1.)
it is missing the GD graphic library "libgd.so.1" ... maybe search for
the file with

#> locate libgd.so

if you found "libgd.so.1.8.4" or "libgd.so" do a symlink with "ln -s" to
"libgd.so.1"

example:
#> locate libgd.so
/usr/lib/libgd.so
/usr/lib/libgd.so.1.8
/usr/lib/libgd.so.1.8.4
#> ln -s /usr/lib/libgd.so /usr/lib/libgd.so.1

which *might* help you

another way is to comment out the line (with a leading ";" )

extension=gd.so

in "/etc/httpd/php.ini" which disable the GD Library in PHP if it is
loaded as Module

2.)
seems you try starting apache as user admin ... and you might not have
the right to do that.
become root with "su -" and start apache with "/etc/rc.d/init.d/httpd
start" instead !

regards


-- 

¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸

Götz Lohmann  |  D-Mannheim  |  Web-Developer & Sys-Admin
---------------------------------------------------------
He's the fellow that people wonder what he does and why
the company needs him, until he goes on vacation.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸