Installing 2.2.13: Seg fault, and file not found

Discussion in 'Installation/Configuration' started by catdude, Sep 6, 2007.

  1. catdude

    catdude ISPConfig Developer ISPConfig Developer

    I have a DL380 with a clean install of Debian Sarge. I followed the "Perfect Install" instructions (thanks for posting that, it made the whole process a lot quicker). I then installed PHP5 from source (that's what I'm running on my live ISPConfig server and need to mirror that install).

    MySQL is running; I can connect to it just fine. The mysql config is in /etc/mysql/my.cnf but I've got it symlinked to /etc/my.cnf.

    Towards the end of the install process (after selecting HTTP or HTTPS) I see the following on my console:
    --------------------------------------------------------------------------------------------------
    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /root/install_ispconfig/install.php on line 1085
    ./setup2: line 1099: 2691 Segmentation fault /root/ispconfig/php/php -q ./install.php
    Restarting some services...
    [Thu Sep 06 11:57:08 2007] [warn] module php5_module is already loaded, skippinghttpd not running, trying to start
    Stopping mail transport agent: Postfix.
    Starting mail transport agent: Postfix.
    Restarting ProFTPD ftp daemon.proftpd.
    ..proftpd.
    done.
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started

    Warning: include(/home/admispconfig/ispconfig/lib/config.inc.php): failed to open stream: No such file or directory in /root/ispconfig/scripts/lib/config.inc.php on line 30

    Warning: include(): Failed opening '/home/admispconfig/ispconfig/lib/config.inc.php' for inclusion (include_path='.:') in /root/ispconfig/scripts/lib/config.inc.php on line 30
    /etc/init.d/ispconfig_server: line 84: 2940 Segmentation fault /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/firewall.php
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    Please direct your browser to

    https://ge.<my domain>:81

    and log in:
    Username: admin
    Password: admin
    --------------------------------------------------------------------------------------------------
    So my questions are as follows:
    The mysql connect error message reads:
    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
    Where is it coming up with that path? my.cnf says
    socket = /var/run/mysqld/mysqld.sock

    What's with the seg fault? The messasge reads:
    ./setup2: line 1099: 2691 Segmentation fault /root/ispconfig/php/php -q ./install.php
    That php executable seems to work. "/root/ispconfig/php/php --version" returns
    "PHP 5.2.2 (cli) (built: Sep 6 2007 11:51:47)", and if I run "/root/ispconfig/php/php" and enter "<? phpinfo(); ?>" followed by ctrl-D it gives me the normal display I would expect.
    Same question with the later error message, "/etc/init.d/ispconfig_server: line 84: 2940 Segmentation fault /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/firewall.php"

    Finally, the error message:
    "Warning: include(/home/admispconfig/ispconfig/lib/config.inc.php): failed to open stream: No such file or directory in /root/ispconfig/scripts/lib/config.inc.php on line 30"
    Line 30 of /root/ispconfig/scripts/lib/config.inc.php is trying to open "/home/admispconfig/ispconfig/lib/config.inc.php. There is no file by that name in that directory.

    I'm getting pressure from management to get this install completed quickly, as we need to have a backup to our current ISPConfig server. But these errors have me stymied. Any suggestions?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check your server hardware, especially RAM, with e.g. the memcheck software.
     

Share This Page