:: Re: [DNG] service apache2 start/sto…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: lfs.mailing
Fecha:  
A: dng
Asunto: Re: [DNG] service apache2 start/stop/restart has no effect
On Thu, 10 Oct 2024 11:26:07 +0200
Didier Kryn <kryn@???> wrote:

[...]
> there should be some error log
> somewhere in /var/log, maybe /var/log/apache, or /var/log/daemon.


#tail /var/log/apache2/error.log
[Thu Oct 10 10:12:13.728923 2024] [mpm_prefork:notice] [pid 1431:tid
1431] AH00163: Apache/2.4.62 (Debian) SVN/1.14.2 configured -- resuming
normal operations
[Thu Oct 10 10:12:13.728948 2024] [core:notice] [pid 1431:tid 1431]
AH00094: Command line: '/usr/sbin/apache2'


On Thu, 10 Oct 2024 12:08:05 +0200
Tomasz Kundera <tnkundera@???> wrote:
> try
> netstat -nlp
> to see what is listening on tcp/80


#netstat -nlp | grep apache2
tcp6       0      0 :::80                   :::*
LISTEN      1431/apache2


> and
> apachectl status|stop|start


#apachectl -k graceful

That did the trick.

# apt-get update && apt-get upgrade

The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-doc apache2-utils

Thanks for the pointers. Problem sorted.

Best to all.