Monitoring problem

Discussion in 'General' started by Gimly, Feb 21, 2008.

  1. Gimly

    Gimly Member

    [Resolved]Monitoring problem

    Hi ISP Team's,

    I've problem with monitoring function on ISPConfig, look at this :

    [​IMG]

    But, all services which is offline on this function, are really online on my server. Apache, Proftpd, SMTP, POP and Bind work fine.

    I've reinstall ISPConfig but with no success on result.

    When I want to stop service, the function doesn't execute the command and the services work with no interrupt.

    Thank you for your answers.
     
    Last edited: Feb 22, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap
     
  3. Gimly

    Gimly Member

    This is the result of the command :

    Code:
    cronos:~# netstat -tap
    Connexions Internet actives (serveurs et établies)
    Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name
    tcp        0      0 *:imaps                 *:*                     LISTEN     2588/couriertcpd
    tcp        0      0 *:pop3s                 *:*                     LISTEN     2619/couriertcpd
    tcp        0      0 *:mysql                 *:*                     LISTEN     19883/mysqld
    tcp        0      0 *:pop3                  *:*                     LISTEN     2605/couriertcpd
    tcp        0      0 *:imap2                 *:*                     LISTEN     2575/couriertcpd
    tcp        0      0 *:www                   *:*                     LISTEN     26627/apache2
    tcp        0      0 *:81                    *:*                     LISTEN     7848/ispconfig_http
    tcp        0      0 cronos.espace4yo:domain *:*                     LISTEN     29358/named
    tcp        0      0 www.lfp-import.e:domain *:*                     LISTEN     29358/named
    tcp        0      0 cronos.espace4yo:domain *:*                     LISTEN     29358/named
    tcp        0      0 *:ftp                   *:*                     LISTEN     26657/proftpd: (acc
    tcp        0      0 *:munin                 *:*                     LISTEN     2850/munin-node
    tcp        0      0 *:ssh                   *:*                     LISTEN     2715/sshd
    tcp        0      0 cronos.espace4you.o:953 *:*                     LISTEN     29358/named
    tcp        0      0 *:smtp                  *:*                     LISTEN     28020/master
    tcp        0      0 *:https                 *:*                     LISTEN     26627/apache2
    tcp        0      0 cronos.espace4you.or:81 APoitiers-157-1-2:33383 TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www tal33-1-82-225-21-:1303 FIN_WAIT2  -
    tcp        0      0 cronos.espace4you.o:www APoitiers-157-1-2:32875 TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www 72.14.199.23:45900      TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www ANantes-156-1-62-9:1303 TIME_WAIT  -
    tcp        0      0 www.lfp-import.eu:www   APoitiers-157-1-2:33413 TIME_WAIT  -
    tcp        0      0 cronos.espace4you:52528 cronos.espace4you:munin TIME_WAIT  -
    tcp        0      0 cronos.espace4you.or:81 APoitiers-157-1-2:34366 ESTABLISHED8968/ispconfig_http
    tcp        0      0 cronos.espace4you.o:www ANantes-156-1-62-9:1304 TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www crawl-8.cuill.com:41810 TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www APoitiers-157-1-2:33991 TIME_WAIT  -
    tcp        0    148 cronos.espace4you.o:ssh APoitiers-157-1-2:33473 ESTABLISHED28460/sshd: romain
    tcp        0      0 cronos.espace4you.or:81 APoitiers-157-1-2:33922 ESTABLISHED7856/ispconfig_http
    tcp        0      0 cronos.espace4you:40625 cronos.espace4you.o:953 TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www AOrleans-257-1-12-:2896 FIN_WAIT2  -
    tcp        0      0 cronos.espace4you.o:www AOrleans-257-1-12-:2893 FIN_WAIT2  -
    tcp        0      0 cronos.espace4you.or:81 APoitiers-157-1-2:33431 TIME_WAIT  -
    tcp        0      0 cronos.espace4you.o:www AOrleans-257-1-12-:2891 FIN_WAIT2  -
    tcp        0      0 cronos.espace4you.o:www 232-36-16-190.fib:31659 TIME_WAIT  -
    
     
    Last edited: Feb 22, 2008
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    iptables -L
    ? Which distribution are you using?
     
  5. Gimly

    Gimly Member

    I use Debian Etch updated with ispconfig 2.2.21. This is the result :

    Code:
    cronos:~# iptables -L
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    fail2ban-ssh  tcp  --  anywhere             anywhere            tcp dpt:ssh
    DROP       tcp  --  anywhere             loopback/8
    ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     0    --  anywhere             anywhere
    DROP       0    --  BASE-ADDRESS.MCAST.NET/4  anywhere
    PUB_IN     0    --  anywhere             anywhere
    PUB_IN     0    --  anywhere             anywhere
    PUB_IN     0    --  anywhere             anywhere
    PUB_IN     0    --  anywhere             anywhere
    DROP       0    --  anywhere             anywhere
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
    DROP       0    --  anywhere             anywhere
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    0    --  anywhere             anywhere
    PUB_OUT    0    --  anywhere             anywhere
    PUB_OUT    0    --  anywhere             anywhere
    PUB_OUT    0    --  anywhere             anywhere
    
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       0    --  anywhere             anywhere
    
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     0    --  anywhere             anywhere
    
    Chain PAROLE (12 references)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere
    
    Chain PUB_IN (4 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:www
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:81
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:mysql
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:imap2
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:pop3s
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:imaps
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
    DROP       icmp --  anywhere             anywhere
    DROP       0    --  anywhere             anywhere
    
    Chain PUB_OUT (4 references)
    target     prot opt source               destination
    ACCEPT     0    --  anywhere             anywhere
    
    Chain fail2ban-couriersmtp (0 references)
    target     prot opt source               destination
    RETURN     0    --  anywhere             anywhere
    
    Chain fail2ban-proftpd (0 references)
    target     prot opt source               destination
    RETURN     0    --  anywhere             anywhere
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination
    RETURN     0    --  anywhere             anywhere
    
    Thank you for your help
     
  6. Gimly

    Gimly Member

    I resolved my problem, it become on an error in /etc/hosts. The 127.0.0.1 name was false, I changed it and now the function work fine. Sorry.

    Thanks for your Help
     

Share This Page