SerVer down After running Aptitude

Discussion in 'Installation/Configuration' started by abintipl, Feb 2, 2011.

  1. abintipl

    abintipl Member

    hello all,

    My server was running fine on Debain Lenny with ISPconfig 3 latest Stable version

    Under monitor I was getting Waring In Blue which requires an update

    After reading ISPConfig manual Page No.222, I ran a command

    aptitude update

    then

    aptitude safe-upgrade

    Now I am not able to open my website, I get an Error

    Oops! This link appears to be broken.

    Please advice

    Your help would be sincerely appreciated.

    Thanks

    Abin
     
  2. Toucan

    Toucan New Member

    as a start try restarting apache.

    From the shell:
    Code:
    /etc/init.d/apache2 restart
    I probably can't help much more but if you post the result of that back it will be a good starting point to help others diagnose your problem.
     
  3. abintipl

    abintipl Member

    Aptitude

    Hello,

    Thanks for your reply, I have run the said command & results are as under;

    ~# /etc/init.d/apache2 restart

    Restarting web server: apache2[Wed Feb 02 11:43:49 2011] [warn] NameVirtualHost*:80 has no VirtualHosts
    [Wed Feb 02 11:43:50 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
    (98)Address already in use: make_sock: could not bind to address [::]:80
    (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
    failed!


    regards,

    Abin
     
  4. abintipl

    abintipl Member

    tmp folder files replaced

    Hello,

    I have been searching hard on my server about the above said problem & have seen that my server "tmp" folder which was containing Ispconfig files are replaced with the following two folders;

    .ICE-unix

    .X11-unix

    The above 2 folders does not contain any files in their respective folders.

    Please advice should I run ISPconfig install again

    Your help would be highly appreciated.

    Thanks

    Abin
     
  5. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    ls -la /tmp
    ? Have you tried to reboot the server?
     
  6. abintipl

    abintipl Member

    Output

    Dear Sir,

    here is output;


    # netstat -tap

    Active Internet connections (servers and established)

    Proto Recv-Q Send-Q Local Address Foreign Address State
    PID/Program name
    tcp 0 0 *:pop3s *:* LISTEN
    2141/dovecot
    tcp 0 0 localhost:10024 *:* LISTEN
    1148/amavisd (maste
    tcp 0 0 localhost:10025 *:* LISTEN
    2090/master
    tcp 0 0 *:mysql *:* LISTEN
    3643/mysqld
    tcp 0 0 localhost:11211 *:* LISTEN
    1998/memcached
    tcp 0 0 *:pop3 *:* LISTEN
    2141/dovecot
    tcp 0 0 *:imap2 *:* LISTEN
    2141/dovecot
    tcp 0 0 localhost:spamd *:* LISTEN
    1277/spamd.pid
    tcp 0 0 *:sunrpc *:* LISTEN
    1003/portmap
    tcp 0 0 *:www *:* LISTEN
    6954/inetd
    tcp 0 0 *:tproxy *:* LISTEN
    2006/mono
    tcp 0 0 *:ftp *:* LISTEN
    6983/pure-ftpd (SER
    tcp 0 0 10.180.89.168:domain *:* LISTEN
    1103/named
    tcp 0 0 abc.mydomain.comt:domain *:* LISTEN
    1103/named
    tcp 0 0 localhost:domain *:* LISTEN
    1103/named
    tcp 0 0 *:ssh *:* LISTEN
    3426/sshd
    tcp 0 0 localhost:1015 *:* LISTEN
    2111/famd
    tcp 0 0 *:smtp *:* LISTEN
    2090/master
    tcp 0 0 localhost:953 *:* LISTEN
    1103/named
    tcp 0 0 *:imaps *:* LISTEN
    2141/dovecot
    tcp 0 0 localhost:mysql localhost:52919 ESTABLISHED
    3643/mysqld
    tcp 0 0 localhost:mysql localhost:44817 ESTABLISHED
    3643/mysqld
    tcp 0 0 localhost:44817 localhost:mysql ESTABLISHED
    1225/amavisd (ch8-a
    tcp 0 52 abc.mydomain.c:ssh band-xx.xxx:xxxx ESTABLISHED
    28828/0
    tcp 0 0 localhost:52919 localhost:mysql ESTABLISHED
    1224/amavisd (ch9-a
    tcp6 0 0 [::]:81 [::]:* LISTEN
    5864/lighttpd
    tcp6 0 0 [::]:ftp [::]:* LISTEN
    6983/pure-ftpd (SER
    tcp6 0 0 [::]:domain [::]:* LISTEN
    1103/named
    tcp6 0 0 [::]:ssh [::]:* LISTEN
    3426/sshd
    tcp6 0 0 ::1%6978992:953 [::]:* LISTEN
    1103/named

    ~#

    2nd Output is as under;

    ~# ls -la /tmp
    total 16

    drwxrwxrwt 4 root root 4096Feb 3 12:50 .
    drwxr-xr-x 20 root root 4096 Feb 2 09:10 ..
    drwxrwxrwt 2 root root 4096 Feb 2 09:10 .ICE-unix
    drwxrwxrwt 2 root root 4096 Feb 2 09:10 .X11-unix
    :~#


    regards,

    Abin
     
  7. abintipl

    abintipl Member

    Reboot

    Yes, I did reboot the server when I was unable to access my webserver

    regards,

    Abin
     
  8. falko

    falko Super Moderator ISPConfig Developer

    You have some inetd process listening on port 80 instead of Apache. Please check your inetd configuration and disable that process, then restart inetd and then Apache.
     
  9. abintipl

    abintipl Member

    Thanks

    Dear Sir,

    Thank you so much for your kind support & help

    Now my Server is UP & running fine

    regards,

    Abin
     

Share This Page