[7.460][BUG][CONFIRMED] Ulogd restarted after each reboot on a VM instance

Hi

Seems I've Ulogd not running - restarted after each reboot on one of my test box...

I've installed it yesterday morning and since each reboot I get a mail with:


Ulogd not running - restarted

-- 
System Uptime      : 0 days 0 hours 1 minutes
System Load        : 1.05
System Version     : Astaro Security Gateway Software 7.460

Please refer to the manual for detailed instructions.


this is a Virtualbox VM with 1G ram... and on this VM I've linked PPPOE connection that I do not active everytime so I've some more ulogd not running message in the SMTP Spool UI...

anyone ?

thx
  • Astaro Beta Report
    --------------------------------
    Version: 7.460
    Type: BUG
    State: CONFIRMED
    Reporter: BuBU
    Contributor: 
    MantisID: 
    --------------------------------
  • Can you spot an ulogd notice in system.log at around the time ulogd
    vanished? If yes, plaese post it.
    If not, ulogd presumably crashed.
    In this case we could gather more information through a core dump.
    To create it you'd have to edit the '/etc/init.d/ulog' file. 
    Find there a line with  '#ulimit -c unlimited', umcomment, save it 
    and restart ulogd with:
    $ /etc/init.d/ulog restart

    With the next crash the wanted core dump file can be found in 
    /var/storage/core
    Thank you.
  • Can you spot an ulogd notice in system.log at around the time ulogd
    vanished? If yes, plaese post it.
    If not, ulogd presumably crashed.
    In this case we could gather more information through a core dump.
    To create it you'd have to edit the '/etc/init.d/ulog' file. 
    Find there a line with  '#ulimit -c unlimited', umcomment, save it 
    and restart ulogd with:
    $ /etc/init.d/ulog restart

    With the next crash the wanted core dump file can be found in 
    /var/storage/core
    Thank you.


    ok I've activated the core stuff...

    maybe this has something related to the postgresql errors I have:


    2009:07:07-17:57:10 asg760 postgres[7762]: [3-1] LOG: unexpected EOF on client connection
    2009:07:07-17:58:00 asg760 postgres[10456]: [3-1] LOG: unexpected EOF on client connection 


    I will post the core dump as soon as I get one...

    thx

    edit1: for info my asg is not at the right time... but at the same time when I got the last ulogd problem I got the postgres errors...
  • ok seems I succeed in reproducing it by just doing a reboot command from the console itself...

    you can download a zip file containing 2 core files from:

    http://www.gmlinux.org/asg_ulogd_core.zip

    let me know if you need more infos..

    thx
  • Thanks for the report.   From looking at the core files I suspect a problem during setup of signal handling at start of ulogd.   To confirm I'd suggest you to install

     http://people.astaro.com/heitzenberger/v7/rpm/ulogd-2.0.1-18.1.i686.rpm

    which contains a small change to the signal initialization and also contains some debugging in case it isn't fixed by the it.   You also have to raise the debugging level in ulogd.conf (loglevel=1), a sample ulogd.conf is here:

     http://people.astaro.com/heitzenberger/v7/rpm/ulogd.conf-debug

    You should install this RPM by doing

     rpm --force -U ulogd-*.rpm
     /etc/init.d/ulogd restart

    Please test this version.  If it isn't fixed by this new version please send /var/log/system.log.  Thanks.
  • Hi

    Just for info, I receive mails (3 or 4) each day from 1 on my VM install (without rebooting or whatever):


    Ulogd not running - restarted

    -- 
    System Uptime      : 2 days 2 hours 38 minutes
    System Load        : 0.05
    System Version     : Astaro Security Gateway Software 7.470

    Please refer to the manual for detailed instructions.



    2009:07:19-07:43:10 asg470 selfmonng[6674]: I check Failed increment ulogd_running counter 1 - 3
    2009:07:19-07:43:15 asg470 selfmonng[6674]: I check Failed increment ulogd_running counter 2 - 3
    2009:07:19-07:43:20 asg470 selfmonng[6674]: W check Failed increment ulogd_running counter 3 - 3
    2009:07:19-07:43:20 asg470 selfmonng[6674]: W NOTIFYEVENT Name=ulogd_running Level=INFO Id=114 suppressed
    2009:07:19-07:43:20 asg470 selfmonng[6674]: W triggerAction: 'cmd'
    2009:07:19-07:43:20 asg470 selfmonng[6674]: W actionCmd(+):  '/etc/init.d/ulog restart'
    2009:07:19-07:43:21 asg470 selfmonng[6674]: W child returned status: exit='0' signal='0'
    2009:07:19-08:52:37 asg470 selfmonng[6674]: I check Failed increment ulogd_running counter 1 - 3
    2009:07:19-08:52:42 asg470 selfmonng[6674]: I check Failed increment ulogd_running counter 2 - 3
    2009:07:19-08:52:47 asg470 selfmonng[6674]: W check Failed increment ulogd_running counter 3 - 3
    2009:07:19-08:52:47 asg470 selfmonng[6674]: Ulogd not running - restarted
    2009:07:19-08:52:47 asg470 selfmonng[6674]: W NOTIFYEVENT Name=ulogd_running Level=INFO Id=114 sent
    2009:07:19-08:52:47 asg470 selfmonng[6674]: W triggerAction: 'cmd'
    2009:07:19-08:52:47 asg470 selfmonng[6674]: W actionCmd(+):  '/etc/init.d/ulog restart'
    2009:07:19-08:52:48 asg470 selfmonng[6674]: W child returned status: exit='0' signal='0'
    2009:07:19-08:56:08 asg470 selfmonng[6674]: I check Failed increment ulogd_running counter 1 - 3
    2009:07:19-08:56:13 asg470 selfmonng[6674]: I check Failed increment ulogd_running counter 2 - 3
    2009:07:19-08:56:18 asg470 selfmonng[6674]: W check Failed increment ulogd_running counter 3 - 3
    2009:07:19-08:56:18 asg470 selfmonng[6674]: W NOTIFYEVENT Name=ulogd_running Level=INFO Id=114 suppressed
    2009:07:19-08:56:18 asg470 selfmonng[6674]: W triggerAction: 'cmd'
    2009:07:19-08:56:18 asg470 selfmonng[6674]: W actionCmd(+):  '/etc/init.d/ulog restart'
    2009:07:19-08:56:19 asg470 selfmonng[6674]: W child returned status: exit='0' signal='0'


    thx
  • Did the updated ulogd help?  If not, please raise the ulogd loglevel as described above and provide output of /var/log/system.log and /var/log/packetfilter.log.  Thank you.