new install: vhosts not updating???

Discussion in 'Installation/Configuration' started by Dennis93q, Jan 7, 2009.

  1. Dennis93q

    Dennis93q New Member

    Ok, I'm brand new to ISPCONFIG so bear with me ;)

    I have a brand new ispconfig installation on a Redhat Enterprise 5 server. When I try and create a virtual server (site) i can see it create the directory:

    lrwxrwxrwx 1 apache web5 33 Jan 6 18:20 www2.denniscrawford.com -> /ispconfig/install_ispconfig/web5

    so that's good news... but as for the vhosts_ispconfig.conf file, it's not being updated.

    -rw-r--r-- 1 root root 435 Jan 6 17:31 Vhosts_ispconfig.conf

    and the content of the file hasn't changed:

    ###################################
    #
    # ISPConfig vHost Configuration File
    # Version 1.0
    #
    ###################################
    #
    NameVirtualHost 192.168.0.10:80
    <VirtualHost 192.168.0.10:80>
    ServerName localhost
    ServerAdmin root@localhost
    DocumentRoot /var/www/sharedip
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    </IfModule>
    </VirtualHost>



    Any help???? Greatly appreciated....

    Thanks!!
    -Dennis
    dennis [at] denniscrawford (dot) com



    oh and this is my log file.. i dont know if this helps or not:

    06.01.2009 - 18:46:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    1093: cp -fr /root/ispconfig/isp/error_en /ispconfig/install_ispconfig/web8/web
    /error
    06.01.2009 - 18:46:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    1101: cp -fr /root/ispconfig/isp/standard_index.html_en /ispconfig/install_ispc
    onfig/web8/web/index.html
    06.01.2009 - 18:46:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    1133: ln -s /ispconfig/install_ispconfig/web8 /ispconfig/install_ispconfig/www2
    .denniscrawford.com
    06.01.2009 - 18:46:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    96: setquota -g web8 0 0 0 0 -a &> /dev/null
    06.01.2009 - 18:46:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    97: setquota -T -g web8 604800 604800 -a &> /dev/null
    06.01.2009 - 18:46:00 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_se
    ndmail.lib.php, Line 96: WARNING: could not cp -fr ~
    06.01.2009 - 18:48:11 => WARN - WARNING: could not open file
    06.01.2009 - 18:48:11 => WARN - WARNING: could not open file
    06.01.2009 - 18:48:11 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_se
    ndmail.lib.php, Line 96: WARNING: could not cp -fr ~
     
    Last edited: Jan 7, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Dennis93q

    Dennis93q New Member

    vhosts not even creating any files!

    I looked at that post and the associated posts.... I think my problem is something different. Its not even creating any vhosts-date.conf files:

    drwxr-xr-x 2 root root 4096 Jan 6 18:49 .
    drwxr-xr-x 4 root root 4096 Jan 7 09:19 ..
    -rw-r--r-- 1 root root 435 Jan 6 17:31 Vhosts_ispconfig.conf

    [root@rockstar vhosts]# /usr/sbin/httpd -t
    Syntax OK

    I'm at a complete loss. This is the log file output from the new test:

    07.01.2009 - 09:23:10 => INFO - Signalfile Set: insert
    07.01.2009 - 09:25:11 => WARN - WARNING: could not open file
    07.01.2009 - 09:25:11 => WARN - WARNING: could not open file
    07.01.2009 - 09:25:11 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    1093: cp -fr /root/ispconfig/isp/error_en /ispconfig/install_ispconfig/web10/we
    b/error
    07.01.2009 - 09:25:11 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    1101: cp -fr /root/ispconfig/isp/standard_index.html_en /ispconfig/install_ispc
    onfig/web10/web/index.html
    07.01.2009 - 09:25:11 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    1133: ln -s /ispconfig/install_ispconfig/web10 /ispconfig/install_ispconfig/tes
    t2.doit.net
    07.01.2009 - 09:25:12 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    96: setquota -g web10 0 0 0 0 -a &> /dev/null
    07.01.2009 - 09:25:12 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
    97: setquota -T -g web10 604800 604800 -a &> /dev/null
    07.01.2009 - 09:25:12 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_se
    ndmail.lib.php, Line 96: WARNING: could not cp -fr ~



    Any ideas???????? I'm really lost on this one.

    Thanks,
    Dennis
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Do you get any errors when you run
    Code:
    /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
    ?
    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  5. Dennis93q

    Dennis93q New Member

    Yes, there are errors when i run it:

    # /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
    sh: httpd: command not found
    ls: /conf.d/*.conf: No such file or directory
    sh: httpd: command not found
    start
    cp: missing destination file operand after `/root'
    Try `cp --help' for more information.
    Segmentation fault


    and here is the ls output:



    # ls -la /root/ispconfig
    total 156
    drwxr-xr-x 10 root root 4096 Jan 8 13:00 .
    drwxr-x--- 21 root root 4096 Jan 6 17:47 ..
    -rwxr-xr-x 1 root root 33075 Jan 6 15:06 cronolog
    -rwxr-xr-x 1 root root 9673 Jan 6 15:06 cronosplit
    drwxr-xr-x 12 root root 4096 Jan 6 14:46 httpd
    drwxr-xr-x 16 root root 4096 Jan 6 15:06 isp
    -rw-r--r-- 1 root root 0 Jan 8 13:00 .ispconfig_lock
    drwxr-xr-x 7 root root 4096 Jan 6 14:47 libmcrypt
    drwxr-xr-x 6 root root 4096 Jan 6 14:35 openssl
    drwxr-xr-x 6 root root 4096 Jan 6 14:56 php
    drwxr-xr-x 4 root root 4096 Jan 6 15:06 scripts
    drwxr-xr-x 4 root root 4096 Jan 6 15:06 standard_cgis
    drwxr-xr-x 2 root root 4096 Jan 6 15:06 sv
    -rwx------ 1 root root 9389 Jan 6 15:06 uninstall
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you install your server exactly as described in the perfect setup guide for centos?
     
  7. Dennis93q

    Dennis93q New Member

    Well, this is what I've done. I setup RedHat Enterprise Server 5 from the original CD's and used all the defaults. On top of it, I have followed the ispconfig installation instructions. i know sendmail isn't up and running yet, but i would like it to at least configure the web portion.

    What should I do as my next step here!?
     
  8. falko

    falko Super Moderator Howtoforge Staff

Share This Page