Ispconfig isnt work right

Discussion in 'General' started by jshg46, May 27, 2008.

  1. jshg46

    jshg46 New Member

    Anyone ever seen ispconfig just basically stop working, What i mean is lets say i create a new site with it, The control panel doesnt create anything, no root folder, no email address, no databases, no dns , but in the control panel it acts as if it does. The recycling bin is stuck on updating all the time, if you try to delete something it doesnt do that well either. Its the newest version installed on a centos 5 server. It truely seems like the contol panel is lacking permissions to set stuff up on the server but im not sure.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    /etc/init.d/ispconfig_server restart
     
  3. jshg46

    jshg46 New Member

    Ive done that and no go, it is still having problems
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
    Any warnings in /home/admispconfig/ispconfig/ispconfig.log?
     
  5. jshg46

    jshg46 New Member

    drwxr-xr-x 9 root root 4096 May 19 21:00 .
    drwxr-x--- 6 root root 4096 May 21 01:18 ..
    -rwxr-xr-x 1 root root 33090 Apr 29 15:07 cronolog
    -rwxr-xr-x 1 root root 9673 Apr 29 15:07 cronosplit
    drwxr-xr-x 12 root root 4096 Apr 29 14:54 httpd
    drwxr-xr-x 15 root root 4096 Apr 29 15:07 isp
    -rw-r--r-- 1 root root 0 May 28 00:03 .ispconfig_lock
    -rw-r--r-- 1 root root 8 May 18 20:03 .old_path_httpd_root
    drwxr-xr-x 6 root root 4096 Apr 29 14:53 openssl
    drwxr-xr-x 6 root root 4096 Apr 29 15:00 php
    drwxr-xr-x 4 root root 4096 Apr 29 15:06 scripts
    drwxr-xr-x 4 root root 4096 Apr 29 15:07 standard_cgis
    drwxr-xr-x 2 root root 4096 Apr 29 15:06 sv
    -rwx------ 1 root root 9389 Apr 29 15:06 uninstall
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please do this:
    Code:
    rm -f /root/ispconfig/.ispconfig_lock
    /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
    Do you get any errors?
     
  7. jshg46

    jshg46 New Member

    rm -f /root/ispconfig/.ispconfig_lock
    /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php

    ok the rm -f command worked with no issues

    the
    /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php


    all it does is this and just sits there

    start
    Update :5

    and it just sits
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Ok, that's the problem. Are there any warnings in /home/admispconfig/ispconfig/ispconfig.log?

    Did you disable SELinux?
     
  9. jshg46

    jshg46 New Member

    Well im not sure about erro's but its packed with stuff labeled as INFO and DEBUG. Would error's have the word error infront of the line?
     
  10. andrusha

    andrusha New Member

    got the same issue

    accept i get this

    start
    sh: makemap: command not found
    ende
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Aren't there any lines that start with WARNING?
     
  12. jshg46

    jshg46 New Member

    none , all are info or debug
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Did you disable SELinux?
     
  14. jshg46

    jshg46 New Member

    yes i just checked again SElinux is disabled.
     
  15. ham-ster

    ham-ster New Member

    I'm also seeing writeconf.php freeze up. I checked it with strace and it is hung up on a read(5, ... while lsof shows the following:

    Code:
    COMMAND   PID USER   FD   TYPE   DEVICE     SIZE     NODE NAME
    php     30867 root  cwd    DIR    202,2     4096   478070 /var/www/web2/web/doc
    php     30867 root  rtd    DIR    202,2     4096        2 /
    php     30867 root  txt    REG    202,2 14977667   549948 /root/ispconfig/php/bin/php
    php     30867 root  mem    REG    202,2    38412   974878 /lib/libnss_files-2.7.so
    php     30867 root  mem    REG    202,2  1274092   974864 /lib/libc-2.7.so
    php     30867 root  mem    REG    202,2    79612   974875 /lib/libnsl-2.7.so
    php     30867 root  mem    REG    202,2     9684   974872 /lib/libdl-2.7.so
    php     30867 root  mem    REG    202,2   145232   974873 /lib/libm-2.7.so
    php     30867 root  mem    REG    202,2    59216   974884 /lib/libresolv-2.7.so
    php     30867 root  mem    REG    202,2    81240   419860 /usr/lib/libz.so.1.2.3.3
    php     30867 root  mem    REG    202,2   112174   974883 /lib/libpthread-2.7.so
    php     30867 root  mem    REG    202,2  1957108   422276 /usr/lib/libmysqlclient.so.15.0.0
    php     30867 root  mem    REG    202,2    30624   974885 /lib/librt-2.7.so
    php     30867 root  mem    REG    202,2    38300   974871 /lib/libcrypt-2.7.so
    php     30867 root  mem    REG    202,2   109152   974861 /lib/ld-2.7.so
    php     30867 root    0r   CHR      1,3              1088 /dev/null
    php     30867 root    1w   CHR      1,3              1088 /dev/null
    php     30867 root    2w   CHR      1,3              1088 /dev/null
    php     30867 root    3uW  REG    202,2        0   786453 /tmp/sess_7bb40634f1e36e5ed5dae2c406ff3a33
    php     30867 root    4u  IPv4 17179266               TCP localhost:50547->localhost:mysql (ESTABLISHED)
    php     30867 root    5r  FIFO      0,5          17182815 pipe
    Running it by hand does not get it to rewrite the vhosts file, but it does seem to be updating mail settings ok.

    Any advice on where to look next? I wondered if iptables may be causing a hang somewhere.
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Which distribution are you using?
    What's the output of
    Code:
    ls -la /root/ispconfig
    ? Any warnings in /home/admispconfig/ispconfig/ispconfig.log?
    In what directory is your Vhosts_ispconfig.conf located?
     
  17. ham-ster

    ham-ster New Member

    Ubuntu 8.04lts

    Code:
    -rw-r--r--  1 root root     8 Jun 24 13:25 .old_path_httpd_root
    -rwxr-xr-x  1 root root 35095 May 29 22:06 cronolog
    -rwxr-xr-x  1 root root  9673 May 29 22:06 cronosplit
    drwxr-xr-x 12 root root  4096 May 29 21:49 httpd
    drwxr-xr-x 15 root root  4096 May 29 22:06 isp
    drwxr-xr-x  6 root root  4096 May 29 21:46 openssl
    drwxr-xr-x  6 root root  4096 May 29 21:59 php
    drwxr-xr-x  4 root root  4096 May 29 22:06 scripts
    drwxr-xr-x  4 root root  4096 May 29 22:06 standard_cgis
    drwxr-xr-x  2 root root  4096 May 29 22:06 sv
    -rwx------  1 root root  9389 May 29 22:06 uninstall
    
    First error here is repeated many times, the last one is new, possibly someone added some bad code to optional apache settings.
    Code:
    24.06.2008 - 13:25:03 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2556: WARNING: could not . /etc/apache2/envvars && httpd -t  &> /dev/null
    24.06.2008 - 13:25:03 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2570: httpd syntax seems to contain errors, reloading with old configuration
    
    # httpd -t
    (a few warnings about NameVirtualHosts)
    Syntax OK
    
    (writeconf is running at the time this info is posted, and stuck like usual)

    /etc/apache2/vhosts/Vhosts_ispconfig.conf
     
  18. falko

    falko Super Moderator Howtoforge Staff

    Can you run
    Code:
    . /etc/apache2/envvars && httpd -t
    ? What's the output?

    What's the output of
    Code:
    ls -la /etc/apache2/vhosts
    ?
     
  19. ham-ster

    ham-ster New Member

    Same as above, but more specifically:
    Code:
    . /etc/apache2/envvars && httpd -t
    [Thu Jun 26 14:37:27 2008] [warn] VirtualHost 192.168.0.24:443 overlaps with VirtualHost 192.168.0.24:443, the first has precedence, perhaps you need a NameVirtualHost directive
    [Thu Jun 26 14:37:27 2008] [warn] NameVirtualHost 192.168.0.25:80 has no VirtualHosts
    [Thu Jun 26 14:37:27 2008] [warn] NameVirtualHost 192.168.0.24:80 has no VirtualHosts
    [Thu Jun 26 14:37:27 2008] [warn] NameVirtualHost 192.168.0.24:80 has no VirtualHosts
    [Thu Jun 26 14:37:27 2008] [warn] NameVirtualHost 192.168.0.24:80 has no VirtualHosts
    Syntax OK
    

    Code:
    drwxr-xr-x 2 root root  4096 Jun 26 14:34 .
    drwxr-xr-x 8 root root  4096 Jun 24 13:04 ..
    -rw-r--r-- 1 root root 55632 Jun 24 13:25 Vhosts_ispconfig.conf
    -rw-r--r-- 1 root root 75966 Jun 17 00:06 Vhosts_ispconfig.conf_17-06-08_00-06-20
    -rw-r--r-- 1 root root 75972 Jun 17 00:07 Vhosts_ispconfig.conf_17-06-08_00-07-58
    -rw-r--r-- 1 root root 55742 Jun 24 13:12 Vhosts_ispconfig.conf_24-06-08_13-12-38
    -rw-r--r-- 1 root root 55742 Jun 24 13:14 Vhosts_ispconfig.conf_24-06-08_13-14-47
    -rw-r--r-- 1 root root 55742 Jun 24 13:18 Vhosts_ispconfig.conf_24-06-08_13-18-08
    -rw-r--r-- 1 root root 55742 Jun 24 13:20 Vhosts_ispconfig.conf_24-06-08_13-20-06
    -rw-r--r-- 1 root root 55696 Jun 24 13:20 Vhosts_ispconfig.conf_24-06-08_13-20-50
    -rw-r--r-- 1 root root 55696 Jun 24 13:25 Vhosts_ispconfig.conf_24-06-08_13-25-03
    
     
  20. falko

    falko Super Moderator Howtoforge Staff

    Take a look here: http://www.howtoforge.com/forums/showthread.php?t=7719
     

Share This Page