Problem finding url

Discussion in 'Installation/Configuration' started by paul-w, Dec 15, 2005.

  1. paul-w

    paul-w New Member

    Hi
    I installed on Debian 3.1 using the HowTo. Unfortunately, I specified www as part of the URL and the install failed.

    I deleted the install_ispconfig directory and ran ./setup again but towards the end I get the errors specified below. I notice too that I wasn't prompted for as much information as the first install.

    Note that I did setup a password for the root user in mysql.

    How do I uninstall completely? Deleting the install_ispconfig directory doesn't seem to be sufficient.

    cp: cannot stat `/home/admispconfig/ispconfig/lib/config.inc.php': No such file or directory
    cp: cannot stat `/home/admispconfig/ispconfig/users': No such file or directory
    cp: cannot stat `/home/admispconfig/ispconfig/adminmail.txt': No such file or directory
    All prerequisites are fulfilled.
    Here we go...


    Warning: main(config.inc.php): failed to open stream: No such file or directory in /root/install_ispconfig/install.php on line 639

    Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php') in /root/install_ispconfig/install.php on line 639

    Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO) in /root/install_ispconfig/install.php on line 649
    Could not connect to db
    Restarting some services...
    ./setup2: line 956: [: ==: unary operator expected
    ./setup2: line 974: /etc/init.d/ispconfig_server: No such file or directory
    Congratulations! Your ISPConfig system is now installed.
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. shajazzi

    shajazzi Member

    same problem

    i am getting the same problem
    i have tried to install ispconfig and was only successful once, but unistalled because
    Webserver stayed offline. I later found that this was an apache problem and not an ispconfig
    error.
    i am also getting lots of ispconfig install errors:


    Fri Dec 9 00:50:50 GMT 2005 - [ISPConfig] - installation directory: /root/install_ispconfig
    Fri Dec 9 00:50:51 GMT 2005 - [ISPConfig] - operating system: SuSE 9.3
    Fri Dec 9 01:00:52 GMT 2005 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau syst�e.
    Fri Dec 9 01:01:06 GMT 2005 - [ISPConfig] - selected language: en
    Fri Dec 9 01:01:16 GMT 2005 - [ISPConfig] - installation note accepted
    Fri Dec 9 01:01:18 GMT 2005 - [ISPConfig] - licence accepted
    Fri Dec 9 01:02:25 GMT 2005 - [ISPConfig] - installation mode: expert
    Fri Dec 9 01:02:38 GMT 2005 - [ISPConfig] - mail: postfix
    Fri Dec 9 01:02:38 GMT 2005 - [ISPConfig] - dist_mail=postfix ##
    Fri Dec 9 01:02:41 GMT 2005 - [ISPConfig] - dist_mail_log=/var/log/mail ##
    Fri Dec 9 01:02:43 GMT 2005 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Fri Dec 9 01:02:46 GMT 2005 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Fri Dec 9 01:02:50 GMT 2005 - [ISPConfig] - ftp: proftpd
    Fri Dec 9 01:02:50 GMT 2005 - [ISPConfig] - dist_ftp=proftpd ##
    Fri Dec 9 01:02:52 GMT 2005 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Fri Dec 9 01:02:56 GMT 2005 - [ISPConfig] - dist_ftp_version=standalone ##
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - procmail found: /usr/bin/procmail
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - quota found: /usr/bin/quota
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - mysql found: /usr/bin/mysql
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - openssl found: /usr/bin/openssl
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - named found: /usr/sbin/named
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - iptables found: /usr/sbin/iptables
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - httpd found: /usr/sbin/httpd
    Fri Dec 9 01:02:59 GMT 2005 - [ISPConfig] - httpd syntax ok!
    Fri Dec 9 01:03:28 GMT 2005 - [ISPConfig] - dist_path_httpd_root=/srv/www ##
    Fri Dec 9 01:03:31 GMT 2005 - [ISPConfig] - Directory /var/www/sharedip created.
    Fri Dec 9 01:03:31 GMT 2005 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Fri Dec 9 01:03:32 GMT 2005 - [ISPConfig] - unpacked ISPConfig system
    Fri Dec 9 01:03:32 GMT 2005 - [ISPConfig] - moved directory ispconfig_tmp to /root/ispconfig
    Fri Dec 9 01:05:17 GMT 2005 - [ISPConfig] - ERROR: The provided MySQL password is wrong! The installation routine stops here!
    Sat Dec 10 14:19:16 GMT 2005 - [ISPConfig] - installation directory: /root/install_ispconfig
    Sat Dec 10 14:19:16 GMT 2005 - [ISPConfig] - operating system: SuSE 9.3
    Sat Dec 10 14:25:26 GMT 2005 - [ISPConfig] - Upgrade einer existierenden ISPConfig-Installation. / Upgrading an existing ISPConfig installation. / Mise �jour d'une installation d'ISPConfig existante.
    Sat Dec 10 14:25:26 GMT 2005 - [ISPConfig] - ISPConfig server stopped
    Sat Dec 10 14:26:09 GMT 2005 - [ISPConfig] - selected language: en
    Sat Dec 10 14:26:56 GMT 2005 - [ISPConfig] - licence accepted
    Sat Dec 10 14:26:56 GMT 2005 - [ISPConfig] - httpd syntax ok!
    Sat Dec 10 14:26:58 GMT 2005 - [ISPConfig] - Directory /var/www/sharedip created.
    Sat Dec 10 14:26:58 GMT 2005 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Sat Dec 10 14:27:00 GMT 2005 - [ISPConfig] - unpacked ISPConfig system
    Sat Dec 10 14:27:00 GMT 2005 - [ISPConfig] - WARNING: could not save /home/admispconfig/ispconfig/lib/config.inc.php
    Sat Dec 10 14:27:00 GMT 2005 - [ISPConfig] - WARNING: could not save /home/admispconfig/ispconfig/users
    Sat Dec 10 14:27:00 GMT 2005 - [ISPConfig] - WARNING: could not save /home/admispconfig/ispconfig/adminmail.txt
    Sat Dec 10 14:27:00 GMT 2005 - [ISPConfig] - WARNING: could not create backup of directory /root/ispconfig/
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - created backup of directory /home/admispconfig/
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - deleted directory /root/ispconfig/
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - moved directory ispconfig_tmp to /root/ispconfig
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 625: create /var/spool/mail/admispconfig
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 626: chown admispconfig:mail /var/spool/mail/admispconfig
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 627: chmod 600 /var/spool/mail/admispconfig
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - Could not connect to db
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - httpd restart successful
    Sat Dec 10 14:27:02 GMT 2005 - [ISPConfig] - file /root/ispconfig/dist.info deleted
    Sat Dec 10 14:27:04 GMT 2005 - [ISPConfig] - directory install_ispconfig deleted
    Sat Dec 10 14:27:04 GMT 2005 - [ISPConfig] - ##############################



    thanks in advance if any body can piont me in the right direction
    shajazzi
     
    Last edited: Dec 16, 2005
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you tried the steps falko posted above? You will have to remove the directories /homd/admispconfig, /root/ispconfig and install_ispconfig, unpack the installer again and run the setup script. The installer moves some files instaed of copying, so if you run the setup twice without removing the broken install first, the setup will fail.
     
  5. shajazzi

    shajazzi Member

    Yes i have deleted /home/admispconfig, /root/ispconfig and install_ispconfig. I am using an edited copy of install_ispconfig for 64 bit which i keep on my desktop. Each time i try a fresh install i copy it to /hda6/root and log into shell as root and then ./setup and install starts OK
    Is this where i am going wrong?
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Make sure you use the correct MySQL password (the MySQL user should be root)!
     
  7. shajazzi

    shajazzi Member

    Started fresh install

    Go to work for 10 hours, try to install ISPConfig 8 hours,sleep 6 hours,time spent with wife and kids 0 hours.
    Next day Go to work for 10 hours, try to install ISPConfig 8 hours,sleep 6 hours,time spent with wife and kids 0 hours etc.....etc.....etc....

    I decided to reformat the hard drive and reinstall Suse 9.3 and then installed ISPConfig,WOW first time. I think that maybe i had tried to install ISPConfig so many times that it may have splintered off into other files and wasn`t deleted when i uninstalled .Anyhow everything is working fine at the moment thanks everybody for your help.

    Merry Christmas
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Good to hear that! :)
     
  9. shajazzi

    shajazzi Member

    I think i know where i went wrong.

    Installed Suse 9.3......OK.

    Installed ISPConfig......OK.

    Logged into ISPConfig....OK.

    Found Web server Offline.

    Uninstalled ISPConfig....OK.

    Later found Web server was offline because of an apache problem.

    Fixed apache......OK.

    started to install ISPConfig again after deleting all the necessary.

    Now this is where i think i went wrong. while ISPConfig was installing i opened another shell and started doing some other stuff. Could this cause ISPConfig to get fragmented? As i am new to Linux and not that familiar to working in command is this a big DO NOT?
     
    Last edited: Dec 17, 2005
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally that is no problem as long as you do not change or modify files that are involved in operations done on the other console.
     

Share This Page