Thank you Michael for your response.

- no error during compilation and installation
- /var/log/apache2 and /etc/apache2/httpd.conf are in the right place
- by default in httpd.conf:
User apache
Group apache
- User and group for /var/www  -> apache:apache
- /usr/bin/apache2ctl configtest returns nothing
- when trying to start apache2.service, i get this :
apache2.service: start operation timed out. Terminating.

Cheers,

--
Jacques


Le jeu. 11 mai 2023 à 11:42, Michael <confabul...@kintzios.com> a écrit :

> On Wednesday, 10 May 2023 19:58:50 BST Jacques Montier wrote:
> > Hello all,
> >
> > To learn a little bit about systemd, I recently installed  a gentoo with
> > systemd profile.
> > After some fights, the OS is working, but it was a real mess !!!
> > Now I am struggling for launching apache2 daemon.
> > When apache is compiled and installed, no apache2.service appears !
> > It was the same problem with the mysql database...
> > I copied the apache2.service from Linux Mint (attached file).
>
> Have you also check the necessary apache directories in /etc and /var/log/
> were installed as they should and something did not go wrong with the
> installation of the package?
>
>
> > systemctl enable apache2.service works but failed when starting...
> > (journalctl attached)
> >
> > Have you any solution to resolve that issue ?
> >
> > Thanks in advance.
> >
> >
> > --
> > Jacques
>
> I wonder if some configuration files are missing, or the IP address/port
> apache is configured to bind to is already taken by another process.
>
> Try 'systemctl -l status apache2' and also check your '/var/logs/apache2/
> error.log'.
>
> Also run '/usr/sbin/apache2ctl configtest' and check it returns "Syntax
> OK",
> otherwise follow any configuration errors it reports.

Reply via email to