On Friday, 12 May 2023 10:41:32 BST Jacques Montier wrote: > > After you are able to start it manually, you can edit your systemd service > > file accordingly. > > GOOD NEWS ! i can start apache2ctl manually by #/usr/bin/apache2ctl > I get the warning message : > AH00558: apache2: Could not reliably determine the server's fully qualified > domain name, using 127.0.0.1. Set the 'ServerName' directive globally to > suppress this message
Yes, you need to configure the apache files to specify IP address to listen to, webroot, etc. for each host you want to serve files from. > But, apache2 is working as i stay localhost. > > So, by editing minimal apache2.service : > > [Unit] > #Description=The Apache HTTP Server > After=network.target remote-fs.target nss-lookup.target > #Documentation=https://httpd.apache.org/docs/2.4/ > > [Service] > #Type=forking > #Environment=APACHE_STARTED_BY_SYSTEMD=true > ExecStart=/usr/sbin/apache2ctl Fix this by adding the "start" subcommand: ExecStart=/usr/sbin/apache2ctl start
signature.asc
Description: This is a digitally signed message part.