Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/12/2007, à 23:13

cyrus87

[ Résolu ] Problème avec Apache

Bonjour à  tous,

Habituellement lorsque je démarre mon pc, apache se met en route et j'ai accés à  mes pages web.
Seulement depuis hier ce n'est plus le cas. Je ne sais pas vraiement ce qui a pu se passer.
Lorsque j'execute la commande :
sudo /etc/init.d/apache2 start   

j'obtiens :

* Starting web server apache2                                                  apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                                         [fail]

J'utilise la dernière version d'ubuntu.
N'étant pas trés à  l'aise avec linux, je ne sais absolument pas par ou commencer pour résoudre le problème.

Une bonne ame pourrai t-elle m'aider ? smile

Dernière modification par cyrus87 (Le 06/12/2007, à 13:57)


Have it your way.

Hors ligne

#2 Le 04/12/2007, à 03:37

maskott

Re : [ Résolu ] Problème avec Apache

peux tu coller ici le contenu des fichiers apace2.conf et deault
pour cela tape en console :

cat /etc/apache2/apache2.conf
cat /etc/apache2/sites-available/default


Backups are for wimps. Real men upload their work to an ftp server and have everybody mirror it. - Linus Torvalds
                                                                               
[RESOLU] dans les posts qui le sont, merci
(Et si vous y arrivez tout seul, indiquez aussi la solution, remerci)

Hors ligne

#3 Le 04/12/2007, à 16:34

cyrus87

Re : [ Résolu ] Problème avec Apache

Merci pour ta reponse smile
Voici donc le contenu du /etc/apache2/apache2.conf:

#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned. 
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
#     whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
#     which responds to requests that aren't handled by a virtual host.
#     These directives also provide default values for the settings
#     of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
#     different IP addresses or hostnames and have them handled by the
#     same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/apache2/foo.log"
# with ServerRoot set to "" will be interpreted by the
# server as "//var/log/apache2/foo.log".
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at <URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#<IfModule !mpm_winnt.c>
#<IfModule !mpm_netware.c>
LockFile /var/lock/apache2/accept.lock
#</IfModule>
#</IfModule>

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile /var/run/apache2.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
    StartServers          2
    MaxClients          150
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>

User www-data
Group www-data

#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#

AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain


#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog /var/log/apache2/error.log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf

# Include all the user configurations:
Include /etc/apache2/httpd.conf

# Include ports listing
Include /etc/apache2/ports.conf

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

#
# ServerTokens
# This directive configures what you return as the Server HTTP response
# Header. The default is 'Full' which sends information about the OS-Type
# and compiled in modules.
# Set to one of:  Full | OS | Minor | Minimal | Major | Prod
# where Full conveys the most information, and Prod the least.
#
ServerTokens Full

#
# Optionally add a line containing the server version and virtual host
# name to server-generated pages (internal error documents, FTP directory
# listings, mod_status and mod_info output etc., but not CGI generated
# documents or custom error documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of:  On | Off | EMail
#
ServerSignature On



#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# Putting this all together, we can internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections.  We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line:
#
#   Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /usr/share/apache2/error/include/ files and copying them to /your/include/path/,
# even on a per-VirtualHost basis.  The default include files will display
# your Apache version number and your ServerAdmin email address regardless
# of the setting of ServerSignature.
#
# The internationalized error documents require mod_alias, mod_include
# and mod_negotiation.  To activate them, uncomment the following 30 lines.

#    Alias /error/ "/usr/share/apache2/error/"
#
#    <Directory "/usr/share/apache2/error">
#        AllowOverride None
#        Options IncludesNoExec
#        AddOutputFilter Includes html
#        AddHandler type-map var
#        Order allow,deny
#        Allow from all
#        LanguagePriority en cs de es fr it nl sv pt-br ro
#        ForceLanguagePriority Prefer Fallback
#    </Directory>
#
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
#    ErrorDocument 410 /error/HTTP_GONE.html.var
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var



# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
Include /etc/apache2/conf.d/

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

et le /etc/apache2/sites-available/default :

NameVirtualHost *
<VirtualHost *>
    ServerAdmin webmaster@localhost
   
    DocumentRoot /var/www/
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
        # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
    </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/access.log combined
    ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Merci pour ton aide smile


Have it your way.

Hors ligne

#4 Le 04/12/2007, à 16:43

cyrus87

Re : [ Résolu ] Problème avec Apache

Je ne sais pas si c'est lié mais j'ai reçu une 20 aine de mail contenant le message suivant :

Message 19:
From root@Talbarts-Server  Mon Nov 19 17:24:17 2007
X-Original-To: root
From: Anacron <root@Talbarts-Server>
To: root@Talbarts-Server
Subject: Anacron job 'cron.daily' on Talbarts-Server
Date: Mon, 19 Nov 2007 17:24:17 +0100 (CET)

/etc/cron.daily/logrotate:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName


Have it your way.

Hors ligne

#5 Le 04/12/2007, à 21:44

cyrus87

Re : [ Résolu ] Problème avec Apache

up ! hmm


Have it your way.

Hors ligne

#6 Le 05/12/2007, à 19:11

cyrus87

Re : [ Résolu ] Problème avec Apache

Personne n'a d'idées ?


Have it your way.

Hors ligne

#7 Le 05/12/2007, à 23:40

titirock

Re : [ Résolu ] Problème avec Apache

Message 19:
From root@Talbarts-Server  Mon Nov 19 17:24:17 2007
X-Original-To: root
From: Anacron <root@Talbarts-Server>
To: root@Talbarts-Server
Subject: Anacron job 'cron.daily' on Talbarts-Server
Date: Mon, 19 Nov 2007 17:24:17 +0100 (CET)

/etc/cron.daily/logrotate:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

Signifie juste que tu n'a pas de nom complètement qualifié (de la forme mamachine.mondomaine.tld), et qu'il utiliseras 127.0.0.1 pour la directive ServerName d'Apache car il ne peut pas vérifer le nom de machine sur un DNS.

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

Ici il t'indique qu'il n'arrive pas à  ouvrir un socket d'écoute sur le port 80 car il est déjà  utilisé : Address already in use

Regarde si tu n'a pas déjà  un logiciel qui tourne sur le port 80 avec un truc du genre

netstat -le

Alice est née au pays des cauchemars,
Je voudrais juste la rassurer...
--------------------------------------
http://www.tuxalafenetre.net

Hors ligne

#8 Le 05/12/2007, à 23:48

cyrus87

Re : [ Résolu ] Problème avec Apache

Merci beaucoup pour la réponse.
J'ai effectivement un liste de programmes.
Comment savoir lequel utilise déjà le port 80 ? mad

Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       U                           tilisatr  Inode
tcp        0      0 *:8000                  *:*                     LISTEN     c                           yrus      18019
tcp        0      0 localhost:64034         *:*                     LISTEN     c                           yrus      19234
tcp        0      0 *:100                   *:*                     LISTEN     r                           oot       19208
tcp        0      0 localhost:mysql         *:*                     LISTEN     m                           ysql      16352
tcp        0      0 *:netbios-ssn           *:*                     LISTEN     r                           oot       17243
tcp        0      0 localhost:www           *:*                     LISTEN     r                           oot       17602
tcp        0      0 localhost:7634          *:*                     LISTEN     r                           oot       16576
tcp        0      0 localhost:ipp           *:*                     LISTEN     r                           oot       20072
tcp        0      0 *:smtp                  *:*                     LISTEN     r                           oot       16759
tcp        0      0 *:microsoft-ds          *:*                     LISTEN     r                           oot       17242
tcp6       0      0 *:5900                  *:*                     LISTEN     c                           yrus      17918
tcp6       0      0 *:ftp                   *:*                     LISTEN     n                           obody     17448
tcp6       0      0 *:ssh                   *:*                     LISTEN     r                           oot       18388
udp        0      0 *:32768                 *:*                                a                           vahi      17281
udp        0      0 Talbarts-Ser:netbios-ns *:*                                r                           oot       20164
udp        0      0 Talbarts-Ser:netbios-ns *:*                                r                           oot       16916
udp        0      0 *:netbios-ns            *:*                                r                           oot       16913
udp        0      0 Talbarts-Se:netbios-dgm *:*                                r                           oot       20165
udp        0      0 Talbarts-Se:netbios-dgm *:*                                r                           oot       16917
udp        0      0 *:netbios-dgm           *:*                                r                           oot       16914
udp        0      0 *:bootpc                *:*                                d                           hcp       13736
udp        0      0 *:bootpc                *:*                                d                           hcp       12686
udp        0      0 *:100                   *:*                                r                           oot       19209
udp        0      0 *:mdns                  *:*                                a                           vahi      17280
udp        0      0 *:ipp                   *:*                                r                           oot       20075
udp        0      0 Talbarts-Server.loc:ntp *:*                                n                           tp        20536
udp        0      0 Talbarts-Server.loc:ntp *:*                                r                           oot       17229
udp        0      0 localhost:ntp           *:*                                r                           oot       17228
udp        0      0 *:ntp                   *:*                                r                           oot       17223
udp6       0      0 *:xdmcp                 *:*                                r                           oot       15952
udp6       0      0 fe80::20f:b5ff:fef6:ntp *:*                                r                           oot       17227
udp6       0      0 ip6-localhost:ntp       *:*                                r                           oot       17226
udp6       0      0 *:ntp                   *:*                                r                           oot       17224
Sockets du domaine UNIX actives (seulement serveurs)
Proto RefCpt Indicatrs   Type       Etat          I-Node Chemin
unix  2      [ ACC ]     STREAM     LISTENING     17413    /var/run/proftpd/prof                           tpd.sock
unix  2      [ ACC ]     STREAM     LISTENING     14692    @/var/run/hald/dbus-M                           7RcagNHZX
unix  2      [ ACC ]     STREAM     LISTENING     14348    /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     16015    /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     16883    /tmp/ssh-bnCejf4985/a                           gent.4985
unix  2      [ ACC ]     STREAM     LISTENING     14615    /var/run/dbus/system_                           bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     16938    /tmp/orbit-cyrus/linc                           -1408-0-e5c7ebf45336
unix  2      [ ACC ]     STREAM     LISTENING     14695    @/var/run/hald/dbus-4                           jAsbROqgy
unix  2      [ ACC ]     STREAM     LISTENING     16949    /tmp/orbit-cyrus/linc                           -1379-0-298538f71985
unix  2      [ ACC ]     STREAM     LISTENING     17402    /tmp/.ICE-unix/4985
unix  2      [ ACC ]     STREAM     LISTENING     17422    /tmp/keyring-bSQXLi/s                           ocket
unix  2      [ ACC ]     STREAM     LISTENING     17507    /tmp/orbit-cyrus/linc                           -152d-0-f0033e29078
unix  2      [ ACC ]     STREAM     LISTENING     17641    /tmp/orbit-cyrus/linc                           -15b0-0-4605937c3598c
unix  2      [ ACC ]     STREAM     LISTENING     17664    /tmp/orbit-cyrus/linc                           -1580-0-547eac2959f68
unix  2      [ ACC ]     STREAM     LISTENING     17444    /var/run/proftpd/prof                           tpd.sock
unix  2      [ ACC ]     STREAM     LISTENING     17844    /tmp/orbit-cyrus/linc                           -15c5-0-33ee8a73e6aa1
unix  2      [ ACC ]     STREAM     LISTENING     17863    /tmp/orbit-cyrus/linc                           -15e8-0-1c59829aed8e8
unix  2      [ ACC ]     STREAM     LISTENING     17893    /tmp/orbit-cyrus/linc                           -15cc-0-4e67b97e68563
unix  2      [ ACC ]     STREAM     LISTENING     17910    /tmp/orbit-cyrus/linc                           -15c3-0-41b0f7747df9b
unix  2      [ ACC ]     STREAM     LISTENING     17938    /tmp/orbit-cyrus/linc                           -15e1-0-63f34e57710b1
unix  2      [ ACC ]     STREAM     LISTENING     18059    /tmp/orbit-cyrus/linc                           -15fe-0-63f34e48efd73
unix  2      [ ACC ]     STREAM     LISTENING     18104    /tmp/orbit-cyrus/linc                           -1609-0-15b6db13b3896
unix  2      [ ACC ]     STREAM     LISTENING     18126    /tmp/orbit-cyrus/linc                           -160e-0-47df9e4fbfece
unix  2      [ ACC ]     STREAM     LISTENING     18117    /tmp/orbit-cyrus/linc                           -1616-0-15b6db13b9b66
unix  2      [ ACC ]     STREAM     LISTENING     18177    /tmp/orbit-cyrus/linc                           -1627-0-62f749f617d8a
unix  2      [ ACC ]     STREAM     LISTENING     18738    /var/run/fail2ban.soc                           k
unix  2      [ ACC ]     STREAM     LISTENING     18181    /tmp/orbit-cyrus/linc                           -160d-0-d5dec8018255
unix  2      [ ACC ]     STREAM     LISTENING     19068    /tmp/mapping-cyrus
unix  2      [ ACC ]     STREAM     LISTENING     18333    /tmp/orbit-cyrus/linc                           -163b-0-3f892ad458044
unix  2      [ ACC ]     STREAM     LISTENING     18675    /tmp/orbit-cyrus/linc                           -1691-0-13f935542028e
unix  2      [ ACC ]     STREAM     LISTENING     18817    /tmp/orbit-cyrus/linc                           -1695-0-77c7f628657f3
unix  2      [ ACC ]     STREAM     LISTENING     19033    /tmp/orbit-cyrus/linc                           -16e6-0-1844593192265
unix  2      [ ACC ]     STREAM     LISTENING     19132    /tmp/orbit-cyrus/linc                           -1710-0-2f6967225cf9d
unix  2      [ ACC ]     STREAM     LISTENING     19174    /tmp/orbit-cyrus/linc                           -1723-0-12d4ab14c798f
unix  2      [ ACC ]     STREAM     LISTENING     19270    /tmp/orbit-cyrus/linc                           -1749-0-4a0979bf5f37f
unix  2      [ ACC ]     STREAM     LISTENING     19313    /tmp/orbit-cyrus/linc                           -1755-0-7ce2b782479c1
unix  2      [ ACC ]     STREAM     LISTENING     20097    /tmp/orbit-cyrus/linc                           -1791-0-360a253c31b5d
unix  2      [ ACC ]     STREAM     LISTENING     15946    /var/run/gdm_socket
unix  2      [ ACC ]     STREAM     LISTENING     17378    @/org/bluez/audio
unix  2      [ ACC ]     STREAM     LISTENING     16768    public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     16775    private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     16779    private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     16783    private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     16787    private/defer
unix  2      [ ACC ]     STREAM     LISTENING     16791    private/trace
unix  2      [ ACC ]     STREAM     LISTENING     16795    private/verify
unix  2      [ ACC ]     STREAM     LISTENING     16799    public/flush
unix  2      [ ACC ]     STREAM     LISTENING     16803    private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     16807    private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     16811    private/relay
unix  2      [ ACC ]     STREAM     LISTENING     16815    public/showq
unix  2      [ ACC ]     STREAM     LISTENING     16819    private/error
unix  2      [ ACC ]     STREAM     LISTENING     16823    private/discard
unix  2      [ ACC ]     STREAM     LISTENING     16827    private/local
unix  2      [ ACC ]     STREAM     LISTENING     20073    /var/run/cups/cups.so                           ck
unix  2      [ ACC ]     STREAM     LISTENING     16831    private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     16835    private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     16839    private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     16843    private/scache
unix  2      [ ACC ]     STREAM     LISTENING     16847    private/maildrop
unix  2      [ ACC ]     STREAM     LISTENING     16851    private/uucp
unix  2      [ ACC ]     STREAM     LISTENING     16855    private/ifmail
unix  2      [ ACC ]     STREAM     LISTENING     16859    private/bsmtp
unix  2      [ ACC ]     STREAM     LISTENING     16863    private/scalemail-bac                           kend
unix  2      [ ACC ]     STREAM     LISTENING     16867    private/mailman
unix  2      [ ACC ]     STREAM     LISTENING     17525    /var/run/fcron.fifo
unix  2      [ ACC ]     STREAM     LISTENING     17276    /var/run/avahi-daemon                           /socket
unix  2      [ ACC ]     STREAM     LISTENING     14675    @/tmp/dbus-8SFGqBMeOS
unix  2      [ ACC ]     STREAM     LISTENING     17365    @/var/run/dbus-nisDEX                           WQ8v
unix  2      [ ACC ]     STREAM     LISTENING     17434    @/tmp/dbus-xfTGANfxZe
unix  2      [ ACC ]     STREAM     LISTENING     17363    /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     16353    /var/run/mysqld/mysql


Have it your way.

Hors ligne

#9 Le 06/12/2007, à 00:43

HymnToLife

Re : [ Résolu ] Problème avec Apache

sudo fuser -n tcp 80

- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#10 Le 06/12/2007, à 13:48

cyrus87

Re : [ Résolu ] Problème avec Apache

Merci pour la réponse.
Cette commande m'affiche :

80/tcp:               5524


Have it your way.

Hors ligne

#11 Le 06/12/2007, à 13:55

cyrus87

Re : [ Résolu ] Problème avec Apache

C'est bon j'ai compris il s'agit de l'ID du processus, merci !

Il s'agissait du processus aolserver4-nsd  un petit kill et c'est reparti !
Encore merci pour votre aide smile

Dernière modification par cyrus87 (Le 06/12/2007, à 13:57)


Have it your way.

Hors ligne

#12 Le 27/12/2007, à 00:34

superbatros

Re : [ Résolu ] Problème avec Apache

Bonjour,

j'ai un peu le même genre de problème, lié à  un fichier du dossier /etc/apache2.
Quand j'essaye de lancer le serveur il me dit :

sudo /etc/init.d/apache2 restart
* Restarting web server apache2                                                apache2: Syntax error on line 190 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/ports.conf: No such file or directory
                                                                         [fail]

Quelqu'un peut-il me dire ce qu'il faut faire ?

Hors ligne

#13 Le 27/12/2007, à 20:01

skateinmars

Re : [ Résolu ] Problème avec Apache

Il te manque le fichier cité. Vérifie si tu ne l'as pas déplacé quelque part. Si tu veut le supprimer supprime aussi la directive pour l'inclure.

Hors ligne