Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1356 saving a scheduled job causes crontab lockup

1.110
closed
Jamie Cameron
5
2003-11-03
2003-11-03
Anonymous
No

I'm running Version 1.110 on Redhat Linux 9.0

When I save the webalizer settings webmin runs this:
12503 ? S 0:00
\_ /usr/libexec/webmin/webalizer/save_log.cgi
12509 ? S 0:00 \_ sh -c crontab -u root -e
>/dev/null 2>/dev/nu
12510 ? R 118:45 \_ crontab -u root -e

And the crontab job locks up the CPU. strace on it
reports an endless stream of:

write(2, "Enter Y or N\n", 13) = 13
write(1, "Do you want to retry the same ed"..., 36) = 36
read(0, "", 4096) = 0
write(2, "Enter Y or N\n", 13) = 13
write(1, "Do you want to retry the same ed"..., 36
<unfinished ...>

The settings I'm trying to save:

Write report to directory: /var/www/webalizer-stats
Scheduled report generation: enabled
Run on selected schedule...: Monthly

The problem only happens when enabling the scheduled
report run.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2003-11-03

    Logged In: YES
    user_id=129364

    There is an update to the webalizer module for webmin 1.110
    at http://www.webmin.com/updates.html that fixes this exact
    problem ..

     
  • Jamie Cameron
    Jamie Cameron
    2003-11-03

    • status: open --> closed