Hallo zusammen,
ich habe zur Zeit nur Probleme mit meinem WebServer CentOS 6.3
http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-centos-6.2 habe mich dadran gehalten eigentlich
Nun geht wieder nix mehr und habe folgendes im Log:
Ich glaube ich sehe den Wald vor lauter Bäumen nicht... ^_°
Nun bekomme ich auch noch einen 500 Internal Server Error
Irgendwer eine Idee?
ich habe zur Zeit nur Probleme mit meinem WebServer CentOS 6.3
Code:
[root@saturn cloud.domain.com]# uname -a
Linux saturn.domain.int 3.6.8-1.el6.elrepo.x86_64 #1 SMP Mon Nov 26 21:51:27 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-centos-6.2 habe mich dadran gehalten eigentlich
Code:
Security Warning
Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.
Code:
[root@saturn ~]# rpm -qa |grep http
httpd-2.2.15-15.el6.centos.1.x86_64
httpd-tools-2.2.15-15.el6.centos.1.x86_64
[root@saturn ~]# rpm -qa |grep php-*
php-devel-5.3.3-14.el6_3.x86_64
php-pear-1.9.4-4.el6.noarch
php-xmlrpc-5.3.3-14.el6_3.x86_64
php-5.3.3-14.el6_3.x86_64
php-mysql-5.3.3-14.el6_3.x86_64
php-mbstring-5.3.3-14.el6_3.x86_64
php-common-5.3.3-14.el6_3.x86_64
php-xml-5.3.3-14.el6_3.x86_64
php-pdo-5.3.3-14.el6_3.x86_64
php-gd-5.3.3-14.el6_3.x86_64
php-cli-5.3.3-14.el6_3.x86_64
[root@saturn ~]# rpm -qa |grep mysql
mysql-libs-5.1.66-1.el6_3.x86_64
php-mysql-5.3.3-14.el6_3.x86_64
mysql-server-5.1.66-1.el6_3.x86_64
mysql-5.1.66-1.el6_3.x86_64
Nun geht wieder nix mehr und habe folgendes im Log:
Code:
[root@saturn ~]# tail /var/log/httpd/error_log
PHP Warning: Module 'zip' already loaded in Unknown on line 0
[Tue Dec 04 09:45:30 2012] [warn] [client 10.1.1.1] mod_fcgid: read data timeout in 40 seconds
[Tue Dec 04 09:45:30 2012] [error] [client 10.1.1.1] Premature end of script headers: index.php
[Tue Dec 04 09:45:37 2012] [warn] [client 10.1.1.1] mod_fcgid: read data timeout in 40 seconds
[Tue Dec 04 09:45:37 2012] [error] [client 10.1.1.1] Premature end of script headers: index.php
[Tue Dec 04 09:45:54 2012] [error] [client 10.1.1.1] File does not exist: /var/www/cloud.domain.com/web/favicon.ico
PHP Warning: Module 'zip' already loaded in Unknown on line 0
PHP Warning: Module 'zip' already loaded in Unknown on line 0
[Tue Dec 04 09:46:34 2012] [warn] [client 10.1.1.1] mod_fcgid: read data timeout in 40 seconds
[Tue Dec 04 09:46:34 2012] [error] [client 10.1.1.1] Premature end of script headers: index.php
Code:
[root@saturn ~]# cat /var/www/php-fcgi-scripts/cloud.domain.com/php-fcgi-starter
#!/bin/sh
PHPRC=/var/www/cloud.domain.com/conf/
export PHPRC
export TMPDIR=/var/www/cloud.domain.com/tmp/
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=8
exec /usr/bin/php-cgi
Code:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName cloud.domain.com
ServerAlias cloud
DocumentRoot /var/www/cloud.domain.com/web/
<IfModule mod_fcgid.c>
SuexecUserGroup userundgruppe1 userundgruppe1
<Directory /var/www/cloud.domain.com/web/>
DirectoryIndex index.htm index.html index.php
Options +ExecCGI +FollowSymLinks
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-fcgi-scripts/cloud.domain.com/php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>
# ErrorLog /var/log/apache2/error.log
# CustomLog /var/log/apache2/access.log combined
ServerSignature Off
</VirtualHost>
PHP:
[root@saturn ~]# ls -alt /var/www/cloud.domain.com/web/
total 140
drwxrwx--- 2 userundgruppe1 userundgruppe1 4096 Dec 4 09:49 data
drwxrwxr-x 2 userundgruppe1 userundgruppe1 4096 Dec 4 09:44 config
drwxr-xr-x 6 userundgruppe1 userundgruppe1 4096 Dec 4 09:38 ..
drwxr-xr-x 14 userundgruppe1 userundgruppe1 4096 Dec 4 09:38 .
drwxrwxr-x 31 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 apps
drwxr-xr-x 25 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 3rdparty
drwxr-xr-x 9 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 core
-rw-r--r-- 1 userundgruppe1 userundgruppe1 2458 Dec 2 20:00 cron.php
-rw-r--r-- 1 userundgruppe1 userundgruppe1 11761 Dec 2 20:00 db_structure.xml
drwxr-xr-x 2 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 files
-rw-r--r-- 1 userundgruppe1 userundgruppe1 939 Dec 2 20:00 .htaccess
-rw-r--r-- 1 userundgruppe1 userundgruppe1 853 Dec 2 20:00 index.php
drwxr-xr-x 64 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 l10n
drwxr-xr-x 18 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 lib
drwxr-xr-x 2 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 ocs
-rw-r--r-- 1 userundgruppe1 userundgruppe1 443 Dec 2 20:00 public.php
-rw-r--r-- 1 userundgruppe1 userundgruppe1 433 Dec 2 20:00 README
-rw-r--r-- 1 userundgruppe1 userundgruppe1 960 Dec 2 20:00 remote.php
drwxr-xr-x 6 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 search
drwxr-xr-x 8 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 settings
-rw-r--r-- 1 userundgruppe1 userundgruppe1 1216 Dec 2 20:00 status.php
-rw-r--r-- 1 userundgruppe1 userundgruppe1 585 Dec 2 20:00 AUTHORS
-rw-r--r-- 1 userundgruppe1 userundgruppe1 34520 Dec 2 20:00 COPYING-AGPL
-rw-r--r-- 1 userundgruppe1 userundgruppe1 567 Dec 2 20:00 COPYING-README
drwxr-xr-x 2 userundgruppe1 userundgruppe1 4096 Dec 2 20:00 themes
Ich glaube ich sehe den Wald vor lauter Bäumen nicht... ^_°
Nun bekomme ich auch noch einen 500 Internal Server Error
Code:
[Tue Dec 04 09:55:06 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 04 09:55:06 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 04 09:55:06 2012] [notice] Digest: done
PHP Warning: Module 'zip' already loaded in Unknown on line 0
[Tue Dec 04 09:55:06 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.3.3 configured -- resuming normal operations
PHP Warning: Module 'zip' already loaded in Unknown on line 0
[Tue Dec 04 09:56:51 2012] [warn] [client 110.1.1.1] mod_fcgid: read data timeout in 40 seconds
[Tue Dec 04 09:56:51 2012] [error] [client 110.1.1.1] Premature end of script headers: index.php
[Tue Dec 04 09:56:51 2012] [error] [client 110.1.1.1] File does not exist: /var/www/cloud.domain.com/web/favicon.ico
PHP Warning: Module 'zip' already loaded in Unknown on line 0
Irgendwer eine Idee?