ISPCONFIG not working at all

Discussion in 'Installation/Configuration' started by n1kol1s, Oct 24, 2007.

  1. n1kol1s

    n1kol1s New Member

    Hello forum.
    After folowing The Perfect Setup - Debian Etch (Debian 4.0)
    I restarted my server and while everything loks ok, Ispconfig it doesent work.
    I have added the host on to my pc and I use either the hostname or IP address I dont get to the admin page or the shared IP page. I only get the apache default page (It Works).
    I tried few things but I had no luck.
    Here are some information that may help.

    wrl:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:14:85:C7:A8:9D
    inet addr:10.10.50.55 Bcast:10.10.50.255 Mask:255.255.255.0
    inet6 addr: fe80::214:85ff:fec7:a89d/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:8443 errors:0 dropped:0 overruns:0 frame:0
    TX packets:701 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:580154 (566.5 KiB) TX bytes:55298 (54.0 KiB)
    Interrupt:217 Base address:0xa800

    eth1 Link encap:Ethernet HWaddr 00:02:44:B3:C6:75
    inet addr:192.168.22.2 Bcast:192.168.22.255 Mask:255.255.255.0
    inet6 addr: fe80::202:44ff:feb3:c675/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7 errors:0 dropped:0 overruns:0 frame:0
    TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:420 (420.0 b) TX bytes:5208 (5.0 KiB)
    Interrupt:225 Base address:0xc400

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:188 errors:0 dropped:0 overruns:0 frame:0
    TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:11947 (11.6 KiB) TX bytes:11947 (11.6 KiB)

    wrl:~# 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 2 254/mysqld
    tcp 0 0 *:sunrpc *:* LISTEN 1 934/portmap
    tcp 0 0 *:auth *:* LISTEN 2 427/inetd
    tcp 0 0 *:ftp *:* LISTEN 2 586/proftpd: (acce
    tcp 0 0 192.168.22.2:domain *:* LISTEN 2 155/named
    tcp 0 0 wrl.freeit.net.a:domain *:* LISTEN 2 155/named
    tcp 0 0 localhost.locald:domain *:* LISTEN 2 155/named
    tcp 0 0 *:smtp *:* LISTEN 2 487/master
    tcp 0 0 localhost.localdoma:953 *:* LISTEN 2 155/named
    tcp 0 0 *:55295 *:* LISTEN 2 555/rpc.statd
    tcp6 0 0 *:imaps *:* LISTEN 2 394/couriertcpd
    tcp6 0 0 *:pop3s *:* LISTEN 2 415/couriertcpd
    tcp6 0 0 *:pop3 *:* LISTEN 2 399/couriertcpd
    tcp6 0 0 *:imap2 *:* LISTEN 2 382/couriertcpd
    tcp6 0 0 *:www *:* LISTEN 2 619/apache2
    tcp6 0 0 *:domain *:* LISTEN 2 155/named
    tcp6 0 0 *:ssh *:* LISTEN 2 515/sshd
    tcp6 0 0 *:smtp *:* LISTEN 2 487/master
    tcp6 0 0 ip6-localhost:953 *:* LISTEN 2 155/named
    tcp6 0 0 *:https *:* LISTEN 2 619/apache2
    tcp6 0 1184 wrl.freeit.net.au:ssh ::ffff:10.10.50.5:64648 ESTABLISHED2


    Thank you
     
  2. Hans

    Hans Moderator Moderator

    That you see the default Apache page is normal, because you did not create virtual hosts yet.

    Do you see the ISPConfig login screen if you point to http://10.10.50.55:81 within your LAN? If you're outside your LAN, you need to point to the puclic IP-address of your internetconnection and forward the used portnumbers to your server.
     
  3. n1kol1s

    n1kol1s New Member

    Usually when you type the addreess where you installed the ispconfig you get the shared ip page and not the default apache page.

    I can't get the admin page from in or outside my network.

    127.0.0.1 localhost.localdomain localhost


    10.10.50.55 wrl.freeit.net.au wrl localhost

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, but only if you selected the correct IP addresses. Also you should check your apache2.conf file if it contains the base setup for the shared IP vhosts from ISPConfig at the end.
     
  5. n1kol1s

    n1kol1s New Member

    Yes. There is .

    Include /etc/apache2/vhosts/Vhosts_ispconfig.conf

    But the /etc/apache2/vhosts# vi Vhosts_ispconfig.conf is empty?
     
    Last edited: Oct 26, 2007
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. n1kol1s

    n1kol1s New Member

    wrl:/etc/apache2/vhosts# dir
    Vhosts_ispconfig.conf_2007-10-23
    wrl:/etc/apache2/vhosts# httpd -t
    httpd: Syntax error on line 718 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/vhosts/Vhosts_ispconfig.conf: No such file or directory
    wrl:/etc/apache2/vhosts#

    The file exists but is empty.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Please rename Vhosts_ispconfig.conf_2007-10-23 to Vhosts_ispconfig.conf and run
    Code:
    httpd -t
    again. Any errors?
     
  9. n1kol1s

    n1kol1s New Member

    I have reinstalled the whole thing and and I get the same error?
    The file is there but it is empty

    www:/etc/apache2/vhosts# dir -all
    total 8
    drwxr-xr-x 2 root root 4096 2007-10-28 14:27 .
    drwxr-xr-x 8 root root 4096 2007-10-28 14:20 ..
    -rw-r--r-- 1 root root 0 2007-10-28 14:20 Vhosts_ispconfig.conf
    www:/etc/apache2/vhosts# mv /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf_2007-10-28
    www:/etc/apache2/vhosts# dir
    Vhosts_ispconfig.conf_2007-10-28
    www:/etc/apache2/vhosts# httpd -t
    httpd: Syntax error on line 718 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/vhosts/Vhosts_ispconfig.conf: No such file or directory
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /etc/apache2/vhosts/Vhosts_ispconfig.conf

    and the content of line 718 from the file /etc/apache2/apache2.conf
     
  11. n1kol1s

    n1kol1s New Member

    www:~# ls -la /etc/apache2/vhosts/Vhosts_ispconfig.conf
    -rw-r--r-- 1 root root 0 2007-10-28 14:20 /etc/apache2/vhosts/Vhosts_ispconfig.conf
    www:~#

    And

    Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Please do what I suggested.
     
  13. n1kol1s

    n1kol1s New Member

    www:~# cd /etc/apache2/vhosts/
    www:/etc/apache2/vhosts# dir
    Vhosts_ispconfig.conf
    www:/etc/apache2/vhosts#

    There is only one file there named Vhosts_ispconfig.conf and it is empty.

    The file /etc/apache2/httpd.conf is empty as well. Is that ok?

    Thanks
     
    Last edited: Oct 28, 2007
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    /etc/init.d/ispconfig_server restart

    Then wait a few minutes and check if the file is still empty.
     
  15. n1kol1s

    n1kol1s New Member

    www:~# /etc/init.d/ispconfig_server restart
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd stopped
    ISPConfig system stopped!
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    ISPConfig system is now up and running!
    www:~#

    But the /etc/apache2/vhosts/Vhosts_ispconfig.conf is still empty. :(
     
  16. falko

    falko Super Moderator Howtoforge Staff

    No other files in /etc/apache2/vhosts?
    Any errors in /home/admispconfig/ispconfig/ispconfig.log? What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  17. n1kol1s

    n1kol1s New Member

    www:~# ls -la /root/ispconfig
    total 96
    drwxr-xr-x 9 root root 4096 2007-10-28 14:21 .
    drwxr-xr-x 4 root root 4096 2007-10-29 10:07 ..
    -rwxr-xr-x 1 root root 34866 2007-10-28 14:20 cronolog
    -rwxr-xr-x 1 root root 9673 2007-10-28 14:20 cronosplit
    drwxr-xr-x 12 root root 4096 2007-10-28 14:05 httpd
    drwxr-xr-x 15 root root 4096 2007-10-28 14:20 isp
    drwxr-xr-x 6 root root 4096 2007-10-28 14:03 openssl
    drwxr-xr-x 6 root root 4096 2007-10-28 14:19 php
    drwxr-xr-x 4 root root 4096 2007-10-28 14:20 scripts
    drwxr-xr-x 4 root root 4096 2007-10-28 14:20 standard_cgis
    drwxr-xr-x 2 root root 4096 2007-10-28 14:20 sv
    -rwx------ 1 root root 9389 2007-10-28 14:20 uninstall
    www:~#

    The only warning I get is:
    29.10.2007 - 11:44:32 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/init.d/apache2 restart &> /dev/null

    No other errors.

    The line 728 reads $mod->log->caselog("$dist_init_scripts/$daemon $action &> /dev/null", $this->FILE, __LINE__);
     
    Last edited: Oct 29, 2007
  18. Dy0nisus

    Dy0nisus New Member

    I experienced exactly the same when i tried to run ISPConfig on a 64bit Debian 4.0 ... after i switched back to 32bit Debian 4.0 everything worked fine ...

    maybe the same problem?

    regards
    Dennis
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    I installed ISPConfig on 64 Bit Debian for a customer and it worked finr for me. But you must make sure that you use the 64Bit Debian install CD, so that the kernel and enviroment are 64Bit. A mixed enviroment (64Bit Kernel and 32Bit Userland) causes cómpile problems with OpenSSL.
     
  20. Dy0nisus

    Dy0nisus New Member

    i used the amd64 netinstall cd image
     

Share This Page