login|Register
Forum > Troubleshooting
Post|
看3610|回9|Favorite
dam74 看全部
2021-1-16 15:01:18
Hi,
i installed orangepi focal server
apache php mariadb server all ok

i try to install ssl :
sudo a2enmod ssl
sudo a2ensite default-ssl
sudo systemctl restart apache2


i have this error :
Jan 16 07:49:30 orangepizero2 apachectl[4642]: [Sat Jan 16 07:49:30.459936 2021] [core:emerg] [pid 4645] (38)Function not implemented: AH00023: Couldn't create the mpm-accept-mutex
Jan 16 07:49:30 orangepizero2 apachectl[4642]: (38)Function not implemented: could not create accept mutex
Jan 16 07:49:30 orangepizero2 apachectl[4642]: AH00015: Unable to open logs
Jan 16 07:49:30 orangepizero2 apachectl[4642]: Action 'start' failed.
Jan 16 07:49:30 orangepizero2 apachectl[4642]: The Apache error log may have more information.
Jan 16 07:49:30 orangepizero2 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit apache2.service has exited.


thanks for any help


hal8000b 看全部
2021-1-16 23:33:44
Have a look in  /var/log/apache for any clues.

What do you get if you execute:

code:

  1. sudo a2ensite default-ssl


in the terminal,
Do you see a message:
"Eanabling site default-ssl" ?
dam74 看全部
2021-1-17 01:54:01
yes :

code:

  1. Enabling site default-ssl.
  2. To activate the new configuration, you need to run:
  3.   systemctl reload apache2
dam74 看全部
2021-1-17 01:56:56
in /var/log/apache2/error.log :

code:

  1. [Sat Jan 16 07:47:57.392444 2021] [core:emerg] [pid 2405] (38)Function not implemented: AH00023: Couldn't create the mpm-accept mutex
  2. [Sat Jan 16 07:47:57.392504 2021] [mpm_prefork:crit] [pid 2405] (38)Function not implemented: could not create accept mutex
  3. [Sat Jan 16 07:47:57.392517 2021] [:emerg] [pid 2405] AH00019: Unable to open logs, exiting

hal8000b 看全部
2021-1-17 20:32:12
This looks like a mutex permission. You may have to add yourself to group www
Run this command and see if your output is different:

code:

  1. cat /etc/group | grep www


My output:
www-data:x:33:

If you have an output of www  then apache has created this group.
From your user ID type

code:

  1. groups


This will show you  what groups you are a member of. If apache needs
to be a member of group www then run

code:

  1. sudo  usermod -a -G www pi


This will add user "pi" to group "www" change pi to your username but
will only work if apache requires group www.

12NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC