You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2007-05-09 12:51:40

gl1400
Member
Registered: 2007-05-09
Posts: 1

500 Internal Server Error (PHP, debian ...)

Bonjour à tous,
je suis débutant sur linux.
Donc voici mon probleme
J'ai installé debian 3.5 et je l'ai mis a jour maintenant je suis en debian 4.0.
J'ai ensuite installé OCS serveur version4200.
l'installation c'est bien passé.
j'ai pu accéder à la page install.php sans souci ains qu'à la page normal d'OCS
mais les client ne remonté pas les infos !
donc j'ai rebooter le serveur et la les infos été bien transmisse mais depui je ne peut plus accéder à la page mon_server\ocsreports\index.php, j'ai essayé avec \glpi\install.php j'ai la meme erreur :

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

--------------------------------------------------------------------------------

Apache/1.3.34 Server at mon_serveur Port 80"

voici les lignes sur error.log d'apache:
[Wed May  9 12:05:24 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/users.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:05:25 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/users.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:07:24 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/users.php
SoftException in Application.cpp:297: UID of script "/var/www/glpi/index.php" is smaller than min_uid
[Wed May  9 12:07:28 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/glpi/index.php
[Wed May  9 12:08:46 2007] [notice] caught SIGTERM, shutting down
[Wed May  9 12:08:50 2007] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Wed May  9 12:08:51 2007] [warn] module http_core.c is already added, skipping
[Wed May  9 12:08:51 2007] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Wed May  9 12:08:51 2007] [notice] Apache/1.3.34 (Debian) mod_gzip/1.3.26.1a PHP/4.4.4-8+etch2 mod_ssl/2.8.25 OpenSSL/0.9.8c mod_perl/1.29 configured -- resuming normal operations
[Wed May  9 12:08:51 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
SoftException in Application.cpp:297: UID of script "/var/www/glpi/index.php" is smaller than min_uid
[Wed May  9 12:08:56 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/glpi/index.php
SoftException in Application.cpp:297: UID of script "/var/www/glpi/index.php" is smaller than min_uid
[Wed May  9 12:08:58 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/glpi/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:09:00 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/users.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:09:02 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/install.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:09:05 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:09:06 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:09:07 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:09:07 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:14:07 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/install.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:16:14 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/install.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:16:20 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:16:31 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php
[Wed May  9 12:33:06 2007] [error] [client 126.8.254.100] File does not exist: /var/www/glpi/icons/jhe061.png
[Wed May  9 12:33:06 2007] [error] [client 126.8.254.100] File does not exist: /var/www/glpi/icons/debian/openlogo-25.jpg
[Wed May  9 12:33:06 2007] [error] [client 126.8.254.100] File does not exist: /var/www/glpi/icons/apache_pb.png
SoftException in Application.cpp:297: UID of script "/var/www/glpi/index.php" is smaller than min_uid
[Wed May  9 12:33:35 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/glpi/index.php
[Wed May  9 12:36:37 2007] [notice] caught SIGTERM, shutting down
[Wed May  9 12:37:26 2007] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Wed May  9 12:37:26 2007] [warn] module http_core.c is already added, skipping
[Wed May  9 12:37:26 2007] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /usr/share/misc/file/magic.mime
[Wed May  9 12:37:26 2007] [notice] Apache/1.3.34 (Debian) mod_gzip/1.3.26.1a PHP/4.4.4-8+etch2 mod_ssl/2.8.25 OpenSSL/0.9.8c mod_perl/1.29 configured -- resuming normal operations
[Wed May  9 12:37:26 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
SoftException in Application.cpp:297: UID of script "/var/www/glpi/index.php" is smaller than min_uid
[Wed May  9 12:43:19 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/glpi/index.php
SoftException in Application.cpp:297: UID of script "/var/www/glpi/index.php" is smaller than min_uid
[Wed May  9 12:43:20 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/glpi/index.php
SoftException in Application.cpp:239: Directory "/var/www/ocsreports" is writeable by group
[Wed May  9 12:43:29 2007] [error] [client 126.8.254.100] Premature end of script headers: /var/www/ocsreports/index.php


voici les lignes d'"access.log" :
126.8.254.100 - - [09/May/2007:12:05:24 +0200] "GET /ocsreports/users.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:05:25 +0200] "GET /ocsreports/users.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:07:24 +0200] "GET /ocsreports/users.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:07:28 +0200] "GET /glpi/ HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:08:56 +0200] "GET /glpi/ HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:08:58 +0200] "GET /glpi/ HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:00 +0200] "GET /ocsreports/users.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:02 +0200] "GET /ocsreports/install.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:05 +0200] "GET /ocsreports/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:06 +0200] "GET /ocsreports/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:07 +0200] "GET /ocsreports/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:07 +0200] "GET /ocsreports/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:59 +0200] "GET / HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:59 +0200] "GET /icons/jhe061.png HTTP/1.1" 304 - "http://gcecl-info/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:59 +0200] "GET /icons/debian/openlogo-25.jpg HTTP/1.1" 304 - "http://gcecl-info/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:09:59 +0200] "GET /icons/apache_pb.png HTTP/1.1" 304 - "http://gcecl-info/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:14:07 +0200] "GET /ocsreports/install.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:16:14 +0200] "GET /ocsreports/install.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:16:20 +0200] "GET /ocsreports/ HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:16:31 +0200] "GET /ocsreports/ HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:33:06 +0200] "GET /glpi/ HTTP/1.1" 200 5258 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:33:06 +0200] "GET /glpi/icons/jhe061.png HTTP/1.1" 404 294 "http://gcecl-info/glpi/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:33:06 +0200] "GET /glpi/icons/debian/openlogo-25.jpg HTTP/1.1" 404 306 "http://gcecl-info/glpi/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:33:06 +0200] "GET /glpi/icons/apache_pb.png HTTP/1.1" 404 297 "http://gcecl-info/glpi/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:33:35 +0200] "GET /glpi/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:43:19 +0200] "GET /glpi/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:43:20 +0200] "GET /glpi/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"
126.8.254.100 - - [09/May/2007:12:43:29 +0200] "GET /ocsreports/index.php HTTP/1.1" 500 606 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)" "-"


je me doute qu'il sagit plus d'un probleme serevru sur l'execution des scripts PHP, mais je post ici car ce sont OCS et GLPI qui ma fait installé linux !

petit résumer de ma config :
debian 4.0
apache 1.3.34
PHP4
module perl zip, php, gci d'installer avec apache.
(j'ai fait une recherche sur google et sur le forum pour trouver une réponse mais sans résultat)
Merci pour votre aide

Offline

#2 2007-05-11 12:03:03

aurel
Member
From: France
Registered: 2004-09-23
Posts: 1,254

Re: 500 Internal Server Error (PHP, debian ...)

Salut, essaye cette commande dans un terminal et en root:

chown -R www-data /var/www/ocsreports

A+

Offline

Board footer

Powered by FluxBB