-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when starting server #844
Comments
As the message which is displayed indicates when it is started, |
Hi, Thanks for your ansswer. |
What are the error messages in the Apache error log? |
Here is my configuration in httpd.conf : I have no really errors : |
Ensure |
I change httpd.conf the LogLevel to Info, and the result : |
The WSGI application is at least being loaded. The fact that there is no trace back though indicates that if the 500 error is being generated as a result of the WSGI application, that the web framework you are using is internally capturing the error and turning it into a HTTP 500 response itself, without logging the details. This lack of logging for internal code errors and return a HTTP 500 response is what some Python web frameworks will do unless you specifically configure them to log details of the exceptions. What Python web framework are you using? |
Thanks for your answers. Regards, |
Have a read of: At the minimum, set Django DEBUG mode on to work out what the error is. |
Debug_mode is already on TRUE, but no error on the ie or chrome. Thanks a lot GrahamDumpleton, you're a boss and you was very helpfull. Regards. |
Hi,
I'm trying to install mod_wsgi for running with Apache server V2.4.54.
After the pip installation, i try to check if it works with mod_wsgi-express start-server but i got an error :
Server URL : http://localhost:8000/
Server Root : C:/Users/ADMINI
1/AppData/Local/Temp/2/mod_wsgi-localhost-8000-Administrateur1/AppData/Local/Temp/2/mod_wsgi-localhost-8000-Administrateur/httpd.confServer Conf : C:/Users/ADMINI
Error Log File : C:/Users/ADMINI~1/AppData/Local/Temp/2/mod_wsgi-localhost-8000-Administrateur/error_log (warn)
Operating Mode : daemon
Request Capacity : 5 (1 process * 5 threads)
Request Timeout : 60 (seconds)
Startup Timeout : 15 (seconds)
Queue Backlog : 100 (connections)
Queue Timeout : 45 (seconds)
Server Capacity : 20 (event/worker), 20 (prefork)
Server Backlog : 500 (connections)
Locale Setting : fr_FR.cp1252
WARNING: The ability to use the start-server option on Windows
WARNING: is highly experimental and various things don't quite
WARNING: work properly. If you understand a lot about using
WARNING: Python on Windows and Windows programming in general,
WARNING: and would like to help to get it working properly, then
WARNING: you can ask about Windows support for the start-server
WARNING: option on the mod_wsgi mailing list.
Traceback (most recent call last):
File "C:\Program Files\Python311\Scripts\mod_wsgi-express-script.py", line 33,
in
sys.exit(load_entry_point('mod-wsgi==4.9.4', 'console_scripts', 'mod_wsgi-express')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\mod_wsgi\server_init_.py", line 3839, in main
cmd_start_server(args)
File "C:\Program Files\Python311\Lib\site-packages\mod_wsgi\server_init_.py", line 3672, in cmd_start_server
subprocess.call([executable]+httpd_arguments)
File "C:\Program Files\Python311\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python311\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
Could you help me ?
My root apache directory : C:\wamp64\bin\apache\apache2.4.54.2
Thx for your help.
Regards,
Alexandre
The text was updated successfully, but these errors were encountered: