Re: Help : Big pb with apache on Maemo Diablo

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

 



Hi Tony

I have made somme experiments which are a little confusing
but interesting

1 ) Check the symlink

/etc/rc2.d/S20httpd is really a symlink to ../init.d/httpd

../init.d/httpd ( /etc/init.d/httpd in real world ) exists and is not empty

Its contents seems normal !

Conclusion : I do not understand why dpkg is saying these strange error messages !

2 ) I try to launch httpd using /usr/bin/apachectl start

I was said that "httpd is already running"

Effectively if look at processes by "ps -edf" I see five httpd process running !

3 ) I open MicroB giving the URL : http://locahost

and I saw the message "It works" confirming the Web server is definitively working !


Grand conclusion : Despite the meassge in Application Manager, httpd seems to work !

It is impossible to uninstall it but maybe I have to stop the httpd processes before doing that !

In any case thanks for for your help Tony !

Didier


Tony Green a écrit :
> On Wednesday 05 November 2008 14:51:40 you wrote:
> 
> Hi Didier,
> 
>> # dpkg -r httpd
>>
>> ( Reading database .... 18880 files and directories currently installed )
>> Removing httpd ....
>> invoke-rc.d: not a symlink: "/etc/rc2.d/S20httpd"
>> invoke-rc.d: dangling symlink: "/etc/rc2.d/S20httpd"
> This is strange. First it says it's not a symlink, then it's saying it IS a symlink, but (I assume) it's saying that the file it's linked to doesn't exist.
> 
> If you issue:
> ls -al /etc/rc2.d/S20httpd
> it should show it as a symlink to /etc/init.d/httpd, which should exist.
> If it DOESN'T show as a symlink, it might be worth removing it and recreating it as a symlink to the right place and trying again.
> 
> Failing that, perhaps someone else on the list can suggest a way to either force an unistall or at least convince the OS that it's been uninsalled so you can try another install. Beyond that I'm afraid I'm stumped...
> 
>> dpkg: error processing httpd (--remove):
>>  subprocess pre-removalscript returned  eroor exist status 102
>> invoke-rc.d: not a symlink: "/etc/rc2.d/S20httpd"
>> invoke-rc.d: dangling symlink: "/etc/rc2.d/S20httpd"
>> dpkg: error while cleaning up:
>> Errors were encountered while processing: httpd
>>
>> #
>>
>>
>>
> 

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux