If you are not using PHP try disabling that module. It can sometimes cause 
conflicts, especially if you are using Anaconda Python and not the operating 
system Python.

The other thing you can try is not to use configure/make/make install method 
for installing mod_wsgi. Instead. use pip install method. See:

https://pypi.org/project/mod-wsgi/
mod-wsgi
pypi.org


Graham

> On 4 Mar 2025, at 7:21 pm, Android Berg <[email protected]> 
> wrote:
> 
> Yes i have!
> Nico
> 
> Op dinsdag 4 maart 2025 om 00:40:16 UTC+1 schreef Graham Dumpleton:
>> Dod you also have PHP module for Apache installed and enabled?
>> 
>> 
>>> On 4 Mar 2025, at 8:53 am, Android Berg <[email protected] <>> wrote:
>>> 
>> 
>>> I am using Debian 11.
>>> I did ./configure and make, make install
>>> The file does exist, I made a wsgi.load file in /etc/apache2/mods-available 
>>> and a2enmod him.
>>> a2enmod ask you to restart apache and that fail.
>>> 
>>> systemd[1]: apache2.service: Failed with result 'exit-code'.
>>> systemd[1]: Failed to start The Apache HTTP Server.
>>> systemd[1]: Starting The Apache HTTP Server...
>>> apachectl[82075]: Action 'start' failed.
>>> 
>>> Nothing in /var/log/apache2/error.log
>>> 
>>> Thx, Nico
>>> 
>>> 
>>> Op maandag 3 maart 2025 om 21:17:37 UTC+1 schreef Graham Dumpleton:
>>>> What operating system are you on?
>>>> 
>>>> What method of compiling/installing mod_wsgi did you use?
>>>> 
>>>> Does the file /usr/lib/apache2/modules/mod_wsgi.so <http://mod_wsgi.so/> 
>>>> exist?
>>>> 
>>>> If on a Linux system, check systemctl service logs for Apache.
>>>> 
>>>> Unless it is a syntax error stopping the whole of Apache starting, there 
>>>> should be something in the Apache error logs.
>>>> 
>>>> 
>>>>> On 4 Mar 2025, at 2:04 am, Android Berg <[email protected] <>> 
>>>>> wrote:
>>>>> 
>>>> 
>>>>> Hi,
>>>>> I compiled the latest veresion (5.0.2) and it went well. But after 
>>>>> writing "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so 
>>>>> <http://mod_wsgi.so/>" into apache2.conf and try to restart apache it 
>>>>> fails.
>>>>> Nothing in log. No comments at all, and placing # before the line 
>>>>> LoadModule solves the problem but doesn't give me wsgi.
>>>>> 
>>>>> So, how to now?
>>>>> 
>>>>> Pit
>>>>> 
>>>> 
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google Groups 
>>>>> "modwsgi" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>>> email to [email protected] <>.
>>>>> To view this discussion visit 
>>>>> https://groups.google.com/d/msgid/modwsgi/7da7093b-9ef2-4895-b576-176769c34ea5n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/modwsgi/7da7093b-9ef2-4895-b576-176769c34ea5n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>> 
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "modwsgi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected] <>.
>> 
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/modwsgi/87f1d557-6fcc-476c-b941-ae660fae8a68n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/modwsgi/87f1d557-6fcc-476c-b941-ae660fae8a68n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/modwsgi/f68a3ce9-7372-453a-88a1-64c7b9c172b1n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/f68a3ce9-7372-453a-88a1-64c7b9c172b1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/modwsgi/F1B184C3-9800-47AD-8481-706EF9A93C95%40gmail.com.

Reply via email to