:: Re: [DNG] service apache2 start/sto…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Tomasz Kundera
Päiväys:  
Vastaanottaja: lfs.mailing
Kopio: dng@lists.dyne.org
Aihe: Re: [DNG] service apache2 start/stop/restart has no effect
try
netstat -nlp
to see what is listening on tcp/80
and
apachectl status|stop|start


On Wed, Oct 9, 2024 at 4:47 PM fraser via Dng <dng@???> wrote:

> Hello list,
>
> I am trying to configure a small Daedalus/apache server, which has been
> in storage for a year. After a round or two of updates, it's working
> fine, but I cannot stop, start or restart the service. I am able to
> wget the index page from a second host on the network, irrespective of
> whether apache2 is up [+] or down [-].
>
> # service --status-all | grep apache2
> [ ? ] alsa-utils
> [ - ] apache2
> [ ? ] binfmt-support
> [ ? ] hwclock.sh
> [ ? ] kmod
> [ ? ] mount-configfs
> [ ? ] netfilter-persistent
> [ ? ] networking
> [ ? ] speech-dispatcher
>
> # service apache2 start
> # service --status-all | grep apache2
> [ ? ] alsa-utils
> [ - ] apache2
> [ ? ] binfmt-support
> [ ? ] hwclock.sh
> [ ? ] kmod
> [ ? ] mount-configfs
> [ ? ] netfilter-persistent
> [ ? ] networking
> [ ? ] speech-dispatcher
>
> # service apache2 stop
> # service --status-all | grep apache2
> [ ? ] alsa-utils
> [ - ] apache2
> [ ? ] binfmt-support
> [ ? ] hwclock.sh
> [ ? ] kmod
> [ ? ] mount-configfs
> [ ? ] netfilter-persistent
> [ ? ] networking
> [ ? ] speech-dispatcher
>
> # service apache2 restart
> # service --status-all | grep apache2
> [ ? ] alsa-utils
> [ - ] apache2
> [ ? ] binfmt-support
> [ ? ] hwclock.sh
> [ ? ] kmod
> [ ? ] mount-configfs
> [ ? ] netfilter-persistent
> [ ? ] networking
> [ ? ] speech-dispatcher
>
> From another machine on network:
>
> $wget 192.168.1.235
> --2024-10-09 15:28:13-- http://192.168.1.235/
> Connecting to 192.168.1.235:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 11695 (11K) [text/html]
> Saving to: ‘index.html’
>
> index.html        100%[===================>]  11.42K  --.-KB/s    in
> 0.001s

>
> 2024-10-09 15:28:13 (18.8 MB/s) - ‘index.html’ saved [11695/11695]
>
> Can anyone shed any light on this? All references on the forums refer
> to systemctl.
>
> Thanks
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>



--
Tomasz Kundera