SliTaz SliTaz Forum

You are not logged in.

#1 2015-11-13 08:08:40

llev
Member
Registered: 2011-12-09
Posts: 568

Installing apache breaks httpd

Hi,

I've recently installed the "apache" package. Then httpd doesn't start anymore:

[c]# /etc/init.d/httpd start
Starting httpd deamon: httpd... httpd: illegal option -- u
Usage: (...)[/c]
In fact, the package installs /usr/bin/httpd which "hides" /usr/sbin/httpd (link to busybox), and daemons.conf has:

[c]# Busybox HTTP web server options.
HTTPD_OPTIONS="-u www"[/c]
Inspecting init scripts I think I should edit rcS.conf to replace httpd by apache. Is this correct?

Also, the apache init script seems to be a bit buggy: it sources daemons.conf then sets [c]OPTIONS=[/c] (probably a quick hack) but uses [c]$OPTION[/c] without S in two places.

Offline

#2 2015-11-13 10:26:34

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Installing apache breaks httpd

Thanks for the report.

http://hg.slitaz.org/tazpanel/rev/6226c660c4b6

http://hg.slitaz.org/wok/rev/d2c1950b6f95

http://hg.slitaz.org/wok/rev/06c9ab3aa2fa

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]