TBC_Ly0n
05/05/2015, 22h49
Sur une migration, j'ai constaté que :
- des AllowOverride avaient sauté
- les Allow From ont dispary du language ==> require
- des AllowOverride avaient sauté
- les Allow From ont dispary du language ==> require
Grade A Supported Systems
Grade A systems have an automated installation script, a well-maintained software repository for updates, and are expected to work "out of the box" if you run the install script on a freshly installed system running one of these operating systems. We recommend the current stable release of one of these systems for most users. We do not support beta or pre-release versions of any OS.
Debian 6, 7, and 8 on i386 or amd64
Y'a pas un truc qq part dans un des fichiers config d'Apache qui aurait changé... ??
Est-ce suffisant pour faire un retour en arriere et en même temps désactiver cette "fameuse mise à jours automatique dans le virtualmin"
deb http://ftp.fr.debian.org/debian stable main contrib non-free
deb-src http://ftp.fr.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
apt-get update && apt-get upgrade (&& apt-get dist-upgrade)
Creating backup for virtual server sitweb1 ..
Copying virtual server configuration ..
.. done
Backing up Cron jobs ..
.. none defined.
Copying records in DNS domain ..
.. done
Saving mail aliases ..
.. done
Saving mail and FTP users ..
.. done
Backing up mail and FTP user Cron jobs ..
.. none to backup
Backing up Dovecot control files ..
.. none found
Copying Apache virtual host configuration ..
.. done
Copying Apache log files ..
.. done
Copying Webalizer configuration files ..
.. done
Copying Logrotate configuration ..
.. done
Backing up Webmin ACL files ..
.. done
Backing up DAV users file ..
.. done
Backing up AWstats configuration file ..
.. done
Creating TAR file of home directory ..
.. done
Uploading archive to FTP server ftpback-rbx3-383.ovh.net ..
.. done
.. completed in 57 seconds
Saving Virtualmin configuration ..
.. done
Saving templates and plans ..
.. done
Saving email templates ..
.. done
Saving custom fields, links, categories and shells ..
.. done
Saving custom script installers ..
.. done
Saving scheduled backups ..
.. done
Saving FTP directory restrictions ..
.. done
Saving DKIM settings ..
.. not installed
Saving greylisting settings ..
.. not installed
Save mail rate limiting configuration ..
.. not installed
Saving mail server configuration ..
.. done
.. done
Uploading archive to FTP server ftpback-rbx3-383.ovh.net ..
.. done
SuexecUserGroup utilisateur groupe
SuexecUserGroup toto toto
AH00543: apache2: bad user name 1000
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since lun. 2015-04-27 12:12:59 CEST; 1min 57s ago
Process: 6010 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
avril 27 12:12:59 ip.eu apache2[6010]: Starting web server: apache2 failed!
avril 27 12:12:59 ip.eu apache2[6010]: The apache2 configtest failed. ... (warning).
avril 27 12:12:59 ip.eu apache2[6010]: Output of config test was:
avril 27 12:12:59 ip.eu apache2[6010]: AH00543: apache2: bad user name 1000
avril 27 12:12:59 ip.eu apache2[6010]: Action 'configtest' failed.
avril 27 12:12:59 ip.eu apache2[6010]: The Apache error log may have more information.
avril 27 12:12:59 ip.eu systemd[1]: apache2.service: control process exited, code=exited status=1
avril 27 12:12:59 ip.eu systemd[1]: Failed to start LSB: Apache2 web server.
avril 27 12:12:59 ip.eu systemd[1]: Unit apache2.service entered failed state.
avril 27 11:36:45 ip.eu apache2[6529]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/ip.conf:
avril 27 11:36:45 ip.eu apache2[6529]: Invalid command 'SuexecUserGroup', perhaps misspelled or defined by a module not included in the server configuration
SuexecUserGroup "#1000" "#1000"
SuexecUserGroup 1000 1000
a2enmod suexec
avril 27 11:36:45 ip.eu apache2[6529]: Starting web server: apache2 failed!
avril 27 11:36:45 ip.eu apache2[6529]: The apache2 configtest failed. ... (warning).
avril 27 11:36:45 ip.eu apache2[6529]: Output of config test was:
avril 27 11:36:45 ip.eu apache2[6529]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/ip.conf:
avril 27 11:36:45 ip.eu apache2[6529]: Invalid command 'SuexecUserGroup', perhaps misspelled or defined by a module not included in the server configuration
avril 27 11:36:45 ip.eu apache2[6529]: Action 'configtest' failed.
avril 27 11:36:45 ip.eu apache2[6529]: The Apache error log may have more information.
avril 27 11:36:45 ip.eu systemd[1]: apache2.service: control process exited, code=exited status=1
avril 27 11:36:45 ip.eu systemd[1]: Failed to start LSB: Apache2 web server.
avril 27 11:36:45 ip.eu systemd[1]: Unit apache2.service entered failed state.
-- Logs begin at lun. 2015-04-27 11:37:32 CEST, end at lun. 2015-04-27 11:37:34 CEST. --
avril 27 11:36:45 ip.eu apache2[6529]: Action 'configtest' failed.
avril 27 11:36:45 ip.eu apache2[6529]: The Apache error log may have more information.
avril 27 11:36:45 ip.eu systemd[1]: apache2.service: control process exited, code=exited status=1
avril 27 11:36:45 ip.eu systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: L'unité (unit) apache2.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- L'unité (unit) apache2.service a échoué, avec le résultat failed.
avril 27 11:36:45 ip.eu systemd[1]: Unit apache2.service entered failed state.
avril 27 11:37:01 ip.eu CRON[6558]: pam_unix(cron:session): session opened for user root by (uid=0)
avril 27 11:37:01 ip.eu CRON[6559]: (root) CMD (/usr/local/rtm/bin/rtm 44 > /dev/null 2> /dev/null)
avril 27 11:37:01 ip.eu CRON[6558]: pam_unix(cron:session): session closed for user root
avril 27 11:37:34 ip.eu sshd[6457]: pam_unix(sshd:session): session closed for user root
avril 27 11:37:34 ip.eu systemd-logind[3923]: Removed session c4.
-- Subject: La session c4 s'est terminée
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Soft...temd/multiseat
--
-- La session d'identifiant (ID) c4 s'est terminée.
SuexecUserGroup "#1000" "#1000"
ServerName IP
ServerAlias www.IP
ServerAlias webmail.IP
ServerAlias admin.IP
DocumentRoot /home/37/public_html
ErrorLog /var/log/virtualmin/IP_error_log
CustomLog /var/log/virtualmin/IP_access_log combined
ScriptAlias /cgi-bin/ /home/37/cgi-bin/
ScriptAlias /awstats/ /home/37/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,Mu ltiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/37/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/37/fcgi-bin/php5.fcgi .php5
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,Mu ltiViews,SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.IP
RewriteRule ^(.*) https://IP:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.IP
RewriteRule ^(.*) https://IP:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
Alias /dav /home/37/public_html
Alias /pipermail /var/lib/mailman/archives/public
DAV on
AuthType Basic
AuthName "IP"
AuthUserFile /home/37/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
AuthName "IP statistics"
AuthType Basic
AuthUserFile /home/37/.awstats-htpasswd
require valid-user
RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://IP:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://IP:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
php_value memory_limit 32M
SuexecUserGroup "#1000" "#1000"
ServerName IP
ServerAlias www.IP
ServerAlias webmail.IP
ServerAlias admin.IP
DocumentRoot /home/37/public_html
ErrorLog /var/log/virtualmin/IP_error_log
CustomLog /var/log/virtualmin/IP_access_log combined
ScriptAlias /cgi-bin/ /home/37/cgi-bin/
ScriptAlias /awstats/ /home/37/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,Mu ltiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/37/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/37/fcgi-bin/php5.fcgi .php5
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,Mu ltiViews,SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.IP
RewriteRule ^(.*) https://IP:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.IP
RewriteRule ^(.*) https://IP:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
SSLEngine on
SSLCertificateFile /home/37/ssl.cert
SSLCertificateKeyFile /home/37/ssl.key
Alias /dav /home/37/public_html
Alias /pipermail /var/lib/mailman/archives/public
DAV on
AuthType Basic
AuthName "IP"
AuthUserFile /home/37/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
AuthName "IP statistics"
AuthType Basic
AuthUserFile /home/37/.awstats-htpasswd
require valid-user
RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://IP:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://IP:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
php_value memory_limit 32M