ISPCONFIG doesn't Start!

Discussion in 'General' started by vaio1, May 7, 2008.

  1. vaio1

    vaio1 Member

    Hi guys,

    I need some help to restore the ISPCONFIG. After a reboot, when I write in the browser http://www.mydomain.com:81 the system doesn't start. The web interface of ISPCONFIG isn't shown.

    Any suggestion is appreciated.
    Thanks

    After the "/etc/init.d/ispconfig_server restart" command the problem persist.
     
    Last edited: May 7, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap
     
  3. vaio1

    vaio1 Member

    Hi Till,

    here below the netstat -tap.

    Code:
    [root@server1 ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:mysql                     *:*                         LISTEN      2654/mysqld
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      2264/rpcbind
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.a:h323hostcall SYN_RECV    -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt:skip-mc-gikreq SYN_RECV    -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.a:h323gatedisc SYN_RECV    -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.:netview-aix-2 SYN_RECV    -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt:lanyon-lantern SYN_RECV    -
    tcp        0      0 *:33777                     *:*                         LISTEN      2289/rpc.statd
    tcp        0      0 *:smtp                      *:*                         LISTEN      10271/master
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:smtp cm-81-9-228-160.telec:55344 TIME_WAIT   -
    tcp        1      0 xxx-xxx-xxx-xxxx.dcpool.:42036 194.116.84.8:http           CLOSE_WAIT  2941/python
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:smtp inside-ip-115:mpl-gprs-port ESTABLISHED 15634/smtpd
    tcp        0      0 localhost.localdomain:smtp  localhost.localdomain:57568 TIME_WAIT   -
    tcp     1168      0 xxx-xxx-xxx-xxxx.dcpool.:55582 picard.provo.novell.co:http CLOSE_WAIT  2941/python
    tcp        1      0 xxx-xxx-xxx-xxxx.dcpool.:49936 proxy3.fedoraproject.o:http CLOSE_WAIT  2941/python
    tcp        0      0 *:imaps                     *:*                         LISTEN      1018/imap-login
    tcp        0      0 *:pop3s                     *:*                         LISTEN      2689/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      2689/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      1018/imap-login
    tcp        0      0 *:http                      *:*                         LISTEN      8274/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      10313/proftpd: (acc
    tcp        0      0 *:ssh                       *:*                         LISTEN      2541/sshd
    tcp        0      0 *:https                     *:*                         LISTEN      8274/httpd
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol:nsjtp-data TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:rrifmm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol:bcs-broker TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:rrilwm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.co:gat-lmd TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.:slingshot TIME_WAIT   -
    tcp        0   1776 xxx-xxx-xxx-xxxx.dcpool.ip:ssh host62-214-dynamic.49:57026 ESTABLISHED 11975/0
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.:n2nremote TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:xmsg   TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.ao:snaresecure TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:pop3 host62-214-dynamic.49:59244 TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.co:ng-umds TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:cvmon  TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.co:firefox TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:rrimwm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol:nsjtp-ctrl TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.:hb-engine TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol:houdini-lm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.co:sesi-lm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:rrisat TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.co:jetform TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.a:h323gatestat TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:impera TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.c:mps-raft TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt:conferencetalk TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:hks-lm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.co:vdmplay TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.:sstsys-lm TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:centra TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.:empire-empuma TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:caicci TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.com:l2tp   TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.c:fj-hdnet TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.a:rsvp-encap-1 TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.a:rsvp-encap-2 TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.:pptconference TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.:deskshare TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:pop3 host62-214-dynamic.49:59247 TIME_WAIT   -
    tcp        0      0 xxx-xxx-xxx-xxxx.dcpool.i:http ACBC4750.ipt.aol.:registrar TIME_WAIT   -
    
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in the Apache error log in /root/ispconfig/httpd/logs?
     
  5. vaio1

    vaio1 Member

    Hi Till,

    thank you for you help. In the /root/ispconfig/httpd/logs/error_log file the last error is only this one:

    Code:
    [Sat Apr  5 14:17:45 2008] [error] [client 84.222.79.200] File does not exist: /home/admispconfig/ispconfig/web/themes/original/img/error.ico
    du: cannot read directory `/var/www/web23/.spamassassin': Permission denied
    du: cannot read directory `/var/www/web23/user/web23_support/mail': Permission denied
    
    I don't understand why it doesn't start again.

    Regards
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Which distro are you using? Are you sure that SELinux/AppArmor are disabled?
     
  7. vaio1

    vaio1 Member

    Hi Falko,

    the distro is the Fedora 8.

    /etc/sysconfig/selinux
    Code:
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #	enforcing - SELinux security policy is enforced.
    #	permissive - SELinux prints warnings instead of enforcing.
    #	disabled - SELinux is fully disabled.
    SELINUX=disabled
    # SELINUXTYPE= type of policy in use. Possible values are:
    #	targeted - Only targeted network daemons are protected.
    #	strict - Full SELinux protection.
    SELINUXTYPE=targeted
    
    # SETLOCALDEFS= Check local definition changes
    SETLOCALDEFS=0 
    
    
     
  8. vaio1

    vaio1 Member

    Guys any idea?
    I cannot go on ...

    Thanks
     
  9. falko

    falko Super Moderator Howtoforge Staff

    What are the outputs of
    Code:
    ls -la /var/www/web23
    ls -la /var/www/web23/user/web23_support
     
  10. vaio1

    vaio1 Member

    Hi Falko,

    these are the results:

    Code:
    [root@server1 ~]# ls -la /var/www/web23
    total 52
    drwxr-xr-x 10 web23_info web23 4096 2008-04-29 14:27 .
    drwxr-xr-x 28 root       root  4096 2008-04-14 16:04 ..
    drwxrwxr-x  2 web23_info web23 4096 2008-03-18 09:04 cgi-bin
    -rw-------  1 web23_info web23  109 2008-04-29 14:27 .forward
    drwxr-xr-x  2 web23_info web23 4096 2008-03-18 09:04 log
    drwx------  3 web23_info web23 4096 2008-04-19 17:32 mail
    drwxrwxrwx  2 web23_info web23 4096 2008-03-18 09:04 phptmp
    -rw-r--r--  1 root       root   470 2008-04-29 14:27 .procmailrc
    drwx------  2 web23_info web23 4096 2008-05-09 16:37 .spamassassin
    drwxr-xr-x  2 web23_info web23 4096 2008-03-18 09:04 ssl
    drwxr-xr-x  9 web23_info web23 4096 2008-04-23 22:16 user
    lrwxrwxrwx  1 root       root    46 2008-04-29 14:27 .vacation.cache -> /var/www/web23/user/web23_info/.vacation.cache
    drwxrwxr-x 22 web23_info web23 4096 2008-04-23 14:04 web
    
    

    This directory (/var/www/web23/user/web23_support) doesn't exist!

    Code:
    [root@server1 ~]# ls -la /var/www/web23/user/web23_support
    ls: cannot access /var/www/web23/user/web23_support: No such file or directory
    
    

    thanks
     
  11. vaio1

    vaio1 Member

    In the IspConfig log (/home/admispconfig/ispconfig/ispconfig.log) I read:
    Code:
    10.05.2008 - 17:27:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/bastille-firewall restart &> /dev/null
    10.05.2008 - 17:27:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/httpd restart &> /dev/null
    10.05.2008 - 17:27:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/postfix stop &> /dev/null
    10.05.2008 - 17:27:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/postfix start &> /dev/null
    10.05.2008 - 17:27:00 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/rc.d/init.d/named stop &> /dev/null
    10.05.2008 - 17:27:01 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/proftpd restart &> /dev/null
    
    any idea?

    thanks
     
  12. falko

    falko Super Moderator Howtoforge Staff

    What happens when you run
    Code:
    /etc/rc.d/init.d/named stop
    ?

    Can you try this?
    Code:
    mkdir -p /var/www/web23/user/web23_support/mail
    chown -R web23_support:web23 /var/www/web23/user/web23_support/mail
     
  13. vaio1

    vaio1 Member

    Hi Falko,

    the named server doesn't stop!

    Code:
    [root@server1 ~]# /etc/rc.d/init.d/named stop
    Stopping named:                                            [FAILED]
    
    any idea?

    thanks for the support. I'm going crazy!
     
  14. vaio1

    vaio1 Member

    Hi Falko,

    any idea? I don't understand why it is locked!

    Thanks
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your logs?
     
  16. vaio1

    vaio1 Member

    Where are the logs of the Named deamon?

    thanks
     
  17. vaio1

    vaio1 Member

    How can I stop this Named service? Where are the logs?
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Take a look at the syslog in the /var/log directory.
     
  19. vaio1

    vaio1 Member

    Which is the file?

    Thanks Falko
     
  20. falko

    falko Super Moderator Howtoforge Staff

    /var/log/syslog
     

Share This Page