Upgrading to 2.2.15

Discussion in 'Installation/Configuration' started by Tommahawk, Aug 4, 2007.

  1. Tommahawk

    Tommahawk New Member

    I reinstalled ISPConfig just to check again...

    1) I needed to enable XML support in PHP for remoting framework (/install_ispconfig/compile_aps/compile line 129) in the upgrade to read

    ./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} --disable-dom --with-curl --without-pear || error "Could not configure PHP"

    2) Issues with Apache
    a) When installation finishes successfully starting ISPConfig on port 81 seems to stop kill my main apache server on port 80. the ISPConfig init script seem to hang on the command line

    b) Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    (hanging around while my main apache server on port 80 is killed)

    c) PHP get disabled on the main port apache 80 server I then need to go to /etc/httpd/conf.d/php.conf and renable it.

    d) I then go to httpd.conf and rearrange the virtual host section so the ISPConfig added files appear above my existing virtual host and I usually comment out the shared IP stuff. When I add a website I will have to edit vhost master file so vhost are made with asterisk/star declaration for IP rather than an an IPaddress and I will have to comment out the NameVirtualHost *:80 directive because it is then stated twice once in httpd.conf and ispconfig_vhost.conf.

    What I actually had to do is in config.lib.php is change the lines 1271 to

    // $mod->tpl->assign( array(SERVERIP => "NameVirtualHost ".$ip["server_ip"].$web_port."
    $mod->tpl->assign( array(SERVERIP => "NameVirtualHost *".$web_port));
    and I commended out this
    #<VirtualHost ".$ip["server_ip"].$web_port.">
    # ServerName localhost
    # ServerAdmin [email protected]
    # DocumentRoot /var/www/sharedip

    It still prints the commented lines in the vhost file but does not break anything. This works ok except I need to get ISPConfig to create news virtual hosts as <Virtualhost *:80> rather than <virtualhost>

    I also change the vhost master file so vhost are created with <VirtualHost *:80> /root/ispconfig/isp/conf

    3)Issue with Bind/Named
    a) Named directory on Fedora should be
    directory "/var/named"; not directory "/var/named/chroot/var/named";

    b) The pid file directive
    // pid-file "/var/named/chroot/var/run/named/named.pid";
    causes conflicts I believe their is a default and it is not the one above when ISPConfig edit the named.conf and named does not find the pid file it barfs.

    c) Possibly one of more of these directives should be added to the named.conf master file
    recursion no;
    query-source address * port 53;
    version "Not disclosed";

    I usually go to /root/ispconfig/isp/conf/named.conf.master and make it like this
    // pid-file "/var/named/chroot/var/run/named/named.pid";
    // directory "{BINDDIR}";
    directory "/var/named";
    recursion no;
    auth-nxdomain no;


    query-source address * port 53;
    version "Not disclosed";

    hope it helps
    Last edited: Aug 6, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

  3. Tommahawk

    Tommahawk New Member

    I fixed all the issues myself the server is working fine.

Share This Page