Pb when i restart my server

Discussion in 'General' started by mccharlet, Aug 5, 2009.

  1. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    When i restart my server, the ispconfig console is OK.
    But whan i want create a user,database,.. is no ok.
    On the console no error. but it's not create to the system
    My configuration is a debian VE on openvz

    This is my ispconfig.log

    8:08 : restart serveur
    9:01 : Create database


    05.08.2009 - 08:08:58 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.l, Line 755: /etc/init.d/bastille-firewall restart &> /dev/null
    05.08.2009 - 08:08:59 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.l, Line 755: /etc/init.d/apache2 restart &> /dev/null
    05.08.2009 - 08:08:59 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.l, Line 755: /etc/init.d/postfix stop &> /dev/null
    05.08.2009 - 08:09:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.l, Line 755: /etc/init.d/postfix start &> /dev/null
    05.08.2009 - 08:09:01 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.l, Line 755: /etc/init.d/bind9 restart &> /dev/null
    05.08.2009 - 08:09:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.l, Line 755: /etc/init.d/proftpd restart &> /dev/null
    05.08.2009 - 09:01:51 => INFO - Signalfile Set: insert

    If i restart ispconfig_server, the database is create
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ps aux | grep wconf
    after a restart of the container?
     
  3. mccharlet

    mccharlet Member HowtoForge Supporter

    I have this

    srv12:~# ps aux | grep wconf
    root 1298 0.0 0.0 1720 516 pts/0 S+ 14:50 0:00 grep wconf
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if the ispconfig daemon script "wconf" is not running. Please restart ispconfig and run the command that falko posted again.
     
  5. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,

    If i restart ispconfig_server, it's OK

    srv12:~# ps aux | grep wconf
    root 2185 0.0 0.0 2448 1064 pts/0 S 14:56 0:00 /bin/bash /root/ispconfig/sv/ispconfig_wconf
    root 2475 0.0 0.0 1724 548 pts/0 S+ 14:56 0:00 grep wconf

    When a restart my server ispconfig web console it's OK.
    Only this process don't start :confused:
     
  6. mccharlet

    mccharlet Member HowtoForge Supporter

    I have create th script for resoved my problem.
    If ispconfig is started, I check i the process wconf is started

    Code:
    netstat -tap | grep 81 |grep ispconfig_http &> /dev/null
    
    if [  $? -eq 0 ]; then
            ps aux | grep wconf |grep -v grep &> /dev/null
            if [  $? -eq 1 ]; then
            /etc/init.d/ispconfig_server start &>/dev/null
            fi
    fi
     

Share This Page