Debian 4.0 Apache not configured

Discussion in 'Installation/Configuration' started by martynhiemstra, Mar 25, 2007.

  1. martynhiemstra

    martynhiemstra New Member

    Debian 4.0 ISPConfig doesnt install although it says install OK

    Hi All

    I have installed my Debian 4.0 system according to the debian sarge install documents. I then tried to compile/install ISPConfig on my system. Everything went fine according to the information on the screen. I checked the log and there were no errors.

    But there is 1 problem. Apache is never configured and there are no new files in my /var/www directory. When I typ in the correct URL I get a message from firefox saying that the connection was refused. My apache is running along with postfix and everything else.

    This is my ispconfig log:

    Sun Mar 25 20:41:20 CEST 2007 - [ISPConfig] - installation directory: /tmp/install_ispconfig
    Sun Mar 25 20:41:21 CEST 2007 - [ISPConfig] - operating system: Debian 4.0
    Sun Mar 25 20:41:24 CEST 2007 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Sun Mar 25 20:41:25 CEST 2007 - [ISPConfig] - selected language: en
    Sun Mar 25 20:41:27 CEST 2007 - [ISPConfig] - installation note accepted
    Sun Mar 25 20:41:27 CEST 2007 - [ISPConfig] - licence accepted
    Sun Mar 25 20:41:29 CEST 2007 - [ISPConfig] - installation mode: standard
    Sun Mar 25 20:41:30 CEST 2007 - [ISPConfig] - mail: postfix
    Sun Mar 25 20:41:30 CEST 2007 - [ISPConfig] - dist_mail=postfix ##
    Sun Mar 25 20:41:31 CEST 2007 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
    Sun Mar 25 20:41:31 CEST 2007 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Sun Mar 25 20:41:31 CEST 2007 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - ftp: proftpd
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - dist_ftp=proftpd ##
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - dist_ftp_version=standalone ##
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - procmail found: /usr/bin/procmail
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - quota found: /usr/bin/quota
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - mysql found: /usr/bin/mysql
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - openssl found: /usr/bin/openssl
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - named found: /usr/sbin/named
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - iptables found: /sbin/iptables
    Sun Mar 25 20:41:32 CEST 2007 - [ISPConfig] - httpd found: /usr/bin/httpd
    Sun Mar 25 20:41:33 CEST 2007 - [ISPConfig] - httpd syntax ok!
    Sun Mar 25 20:41:33 CEST 2007 - [ISPConfig] - dist_path_httpd_root=/var/www ##
    Sun Mar 25 20:41:33 CEST 2007 - [ISPConfig] - gcc found: /usr/bin/gcc
    Sun Mar 25 20:41:33 CEST 2007 - [ISPConfig] - make found: /usr/bin/make
    Sun Mar 25 20:41:33 CEST 2007 - [ISPConfig] - flex found: /usr/bin/lex
    Sun Mar 25 20:41:33 CEST 2007 - [ISPConfig] - g++ found: /usr/bin/g++
    Sun Mar 25 20:41:35 CEST 2007 - [ISPConfig] - Directory /var/www/sharedip created.
    Sun Mar 25 20:41:35 CEST 2007 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Sun Mar 25 22:29:13 CEST 2007 - [ISPConfig] - unpacked ISPConfig system
    Sun Mar 25 22:29:14 CEST 2007 - [ISPConfig] - moved directory ispconfig_tmp to /root/ispconfig
    Sun Mar 25 22:35:18 CEST 2007 - [ISPConfig] - httpd restart successful
    Sun Mar 25 22:35:21 CEST 2007 - [ISPConfig] - postfix restart successful
    Sun Mar 25 22:35:24 CEST 2007 - [ISPConfig] - file /root/ispconfig/dist.info deleted
    Sun Mar 25 22:35:27 CEST 2007 - [ISPConfig] - directory install_ispconfig deleted
    Sun Mar 25 22:35:27 CEST 2007 - [ISPConfig] - ##############################

    I ran the ./setup from /tmp/installer_ispconfig/ directory as user root. Has anybody else expierenced this?

    Thanks in advance,
    Martyn
     
    Last edited: Mar 27, 2007
  2. till

    till Super Moderator

    Have you created a website within ISPConfig and then accessed this website by domain and not IP in firefox?
     
  3. martynhiemstra

    martynhiemstra New Member

    The problem is, after installing ISPConfig, I can only access the It works page, the default Apache page, on port 80. It seems as if the manager isnt even installed let alone port 81 being available.
     
    Last edited: Mar 26, 2007
  4. till

    till Super Moderator

    Thats normal if you do not create a website. Please create a website in ISPConfig and try to access this website by its domain name.
     
  5. martynhiemstra

    martynhiemstra New Member

    Many things missing

    I look in the installation guide and it says:

    After installation you should try http://{domainname}:81

    I filled in the domain I filled during the install process.

    This doesnt work so I tried /etc/init.d/ispconfig_server start but that file nor anything like exists. I then wanted to uninstall ispconfig and according to the manual I should execute /root/42go/uninstall. That file or anything like doesnt exist. I tried the other solution:

    rm -rf /root/ispconfig
    rm -rf /home/admispconfig

    These directories didnt exist either. The installer has a huge bug. It says that it has installed everything but it's a lie. It installs nothing. The installer should of at least create a /root/ispconfig directory shouldnt it?
     
  6. till

    till Super Moderator

    You must have got any errors during install or in the install log /var/log/ispconfig_install.log Please post these error messages here.

    I did not know yet that software is able to lie at all or I missed a great step in artificial intelligence ;)
     
  7. martynhiemstra

    martynhiemstra New Member

    I'm sorry about my response. I was very frustraded that nothing was working. Thank you for your calm response.

    I re-tried to install the software. I saw this in the log:

    ./setup2: line 1086: 2091 Segmentation fault /root/ispconfig/php/php -q ./install.php

    I tried a clean unpack and then executed:

    /root/ispconfig/php/php -q ./install.php

    This outputted:

    Segmentation fault

    If I run /root/ispconfig/php/php the console waits for input which means that php is working but the php script is incorrect or not running right on my machine.

    I found that the /etc/init.d/ispconfig or anything like it wasnt made. I guess the install script should of done that.
     
  8. till

    till Super Moderator

    Please check your hardware with e.g. memcheck. In many cases segfaults are caused by instabilitys in the hardware.

    These where not created because the install script can not be executed.
     

Share This Page