Erreur lancement Apache 2 [FIXED]

FreeWeb est une fonctionnalité permettant à Artica d'administrer des espaces web avec Apache et Pure-ftpd

Erreur lancement Apache 2 [FIXED]

New postby Zophren » Tue Apr 24, 2012 6:52 pm

Bonjour David,

J'ai comme d'autres utilisateurs un problème pour lancer Apache2 (freeweb est activé).

Dès que je lance Freeweb, Apache2 démarre et se coupe. Voici le log de lancement :

Code: Select all
/etc/artica-postfix/MEMORY_INSTALLED -> 224Mn
PROCESS_EXIST(16759): -> checks if exists...
PROCESS_EXIST(16759):/proc/16759/exe does not exists...
PROCESS_EXIST(16759):/proc/16759/cmdline does not exists... -> FALSE
Starting......: Apache detected pid: /var/run/apache2.pid
Starting......: Apache detected piStarting......: Apache daemon path: "/etc/apache2" run has "www-data:www-data"
Starting......: Apache hostname: supervision.localhost.localdomain
Starting......: Apache /etc/apache2/ports.conf for NameVirtualHost *:80 done
Starting......: Apache removing Include /etc/apache2/mods-enabled/*.load
Starting......: Apache removing Include /etc/apache2/mods-enabled/*.conf
Starting......: Apache removing Include /etc/apache2/mods-enabled/*.init
Starting......: Apache removing Include /etc/apache2/httpd.conf
Starting......: Apache removing Include /etc/apache2/ports.conf
Starting......: Apache removing Include /etc/apache2/conf.d/
Starting......: Apache removing Include /etc/apache2/sites-enabled/
Starting......: Apache module 'dav_module' enabled
Starting......: Apache module 'dav_lock_module' enabled
Starting......: Apache module 'dav_fs_module' enabled
Starting......: Apache /etc/apache2/apache2.conf done
Starting......: Apache module 'mod_pagespeed' /usr/lib/apache2/modules/mod_pagespeed.so no such file
Starting......: Apache module 'mod_security2' disabled
Starting......: Apache module 'mod_evasive2' disabled
Starting......: Apache 0 Reverse Proxy
Starting......: Apache 0 reverse proxy(s)
Starting......: Apache module 'php5_module' enabled
Starting......: Apache module 'rewrite_module' enabled
Starting......: Apache module 'cache_module' enabled
Starting......: Apache module 'disk_cache_module' enabled
Starting......: Apache module 'mem_cache_module' enabled
Starting......: Apache module 'expires_module' enabled
Starting......: Apache module 'status_module' enabled
Starting......: Apache module 'geoip_module' enabled
Starting......: Apache module 'info_module' enabled
Starting......: Apache module 'suexec_module' enabled
Starting......: Apache module 'fcgid_module' enabled
Starting......: Apache module 'authz_host_module' enabled
Starting......: Apache module 'dir_module' enabled
Starting......: Apache module 'mime_module' enabled
Starting......: Apache module 'log_config_module' 'mod_log_config.so' no such file
Starting......: Apache module 'alias_module' enabled
Starting......: Apache module 'autoindex_module' enabled
Starting......: Apache module 'negotiation_module' enabled
Starting......: Apache module 'setenvif_module' enabled
Starting......: Apache module 'logio_module' 'mod_logio.so' no such file
Starting......: Apache module 'auth_basic_module' enabled
Starting......: Apache module 'authn_file_module' enabled
Starting......: Apache module 'vhost_alias_module' enabled
Starting......: Apache module 'ssl_module' enabled
Starting......: Apache module 'bw_module' 'mod_bw.so' no such file
Starting......: Apache terminated... next process
Starting......: Apache daemon path: /etc/apache2/sites-enabled
Starting......: Apache mods path..: /etc/apache2/mods-enabled
Starting......: Apache checking virtual web sites count:1
Starting......: Apache "_default_" starting
Starting......: Apache stopping "/usr/sbin/apache2ctl -f /etc/apache2/apache2.conf -k stop 2>&1"
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module alias_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module auth_basic_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module authn_file_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module authz_host_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module autoindex_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module dir_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module mime_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module negotiation_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module setenvif_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module ssl_module is already loaded, skipping
Stopping......: Apache [Tue Apr 24 20:48:18 2012] [warn] module ldap_module is already loaded, skipping
Stopping......: Apache Syntax error on line 3 of /etc/apache2/sites-enabled/default-ssl:
Stopping......: Apache ServerAdmin takes one argument, The email address of the server administrator
Stopping......: Apache httpd (no pid file) not running
Stopping......: Apache kill 0 semaphores created by www-data...
Stopping......: Apache `/usr/bin/pgrep -l -f "/etc/apache2/apache2.conf -k start" 2>&1` 1 lines.
Starting......: Apache "/usr/sbin/apache2ctl -f /etc/apache2/apache2.conf -k start 2>&1"
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module alias_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module auth_basic_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module authn_file_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module authz_host_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module autoindex_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module dir_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module mime_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module negotiation_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module setenvif_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module ssl_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:19 2012] [warn] module ldap_module is already loaded, skipping
Starting......: Apache Syntax error on line 3 of /etc/apache2/sites-enabled/default-ssl:
Starting......: Apache ServerAdmin takes one argument, The email address of the server administrator
Starting......: Apache Action '-f /etc/apache2/apache2.conf -k start' failed.
Starting......: Apache The Apache error log may have more information.
d: /var/run/apache2.pid
->
PROCESS_EXIST(): -> checks if exists...
PROCESS_EXIST(): not an integer
Starting......: Apache (timeout!!!)
Starting......: Apache "/usr/bin/php5 /usr/share/artica-postfix/exec.freeweb.php --build"
Starting......: Apache (failed!!!)
Starting......: Apache try to repair...
Starting......Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module alias_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module auth_basic_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module authn_file_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module authz_host_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module autoindex_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module dir_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module mime_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module negotiation_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module setenvif_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module ssl_module is already loaded, skipping
Starting......: Apache [Tue Apr 24 20:48:37 2012] [warn] module ldap_module is already loaded, skipping
Starting......: Apache Action '-k start' failed.
: Apache try to repair...


Je vois une erreur ici:

Code: Select all
Starting......: Apache Syntax error on line 3 of /etc/apache2/sites-enabled/default-ssl:


Bizarre car je n'ai pas d'application avec SSL. Dans le vhost il y a çà :

Code: Select all
<IfModule mod_ssl.c>
    <VirtualHost _default_:443>
            ServerAdmin webmaster@hostname: Name or service not known
            DocumentRoot /var/www/_default_
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
            <Directory /var/www/_default_/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
            ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
            <Directory "/usr/lib/cgi-bin">
                    AllowOverride None
                    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                    Order allow,deny
                    Allow from all
            </Directory>
            ErrorLog /var/log/apache2/error.log
            # Possible values include: debug, info, notice, warn, error, crit,
            # alert, emerg.
            LogLevel warn
            CustomLog /var/log/apache2/ssl_access.log combined
            #   SSL Engine Switch:
            #   Enable/Disable SSL for this virtual host.
            SSLEngine on
                          SSLCertificateFile /etc/ssl/certs/apache/_default_.crt
                          SSLCertificateKeyFile /etc/ssl/certs/apache/_default_.key
    </VirtualHost>
</IfModule>


Je ne sais pas d'où ca sort çà => ServerAdmin webmaster@hostname: Name or service not known

Help me :-)
Last edited by Zophren on Tue Apr 24, 2012 7:36 pm, edited 1 time in total.
Zophren
 
Posts: 470
Joined: Mon Nov 22, 2010 5:30 pm
Location: France
Artica servers number: 2
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Erreur lancement Apache 2

New postby Zophren » Tue Apr 24, 2012 7:35 pm

Je viens de rebooter le serveur. Et je pense qu'il a enfin pris en compte le hostname !

Pour l'instant c'est ok pour moi !
Zophren
 
Posts: 470
Joined: Mon Nov 22, 2010 5:30 pm
Location: France
Artica servers number: 2
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Erreur lancement Apache 2 [FIXED]

New postby anosh » Fri Dec 05, 2014 7:30 am

Je ne sais pas d'où ca sort çà => ServerAdmin webmaster@hostname: Name or service not known

Help me
Our excellent online CCD-410 dump training programs will lead you to success in the Test-king.com We also offer latest passguide and hsbc with 100% success guarantee. Our www.principiacollege.edu is rare in IT world.
anosh
 
Posts: 2
Joined: Tue Dec 02, 2014 7:54 am
Location: New York
Artica servers number: 3
Linux System: Microsoft systems
Technical skills: A Linux developper


Return to FreeWeb

Who is online

Users browsing this forum: No registered users and 1 guest

cron