#4360 edit cron jobs

1.670
closed-fixed
Jamie Cameron
None
6
2014-02-27
2014-01-24
jvdsleen
No

Hay,

Since the upgrade to 1.67 is is impossible to edit an cronjon . The lower part from the edit screen does't appear, neither the save, run , save as buttons. (Tested on several browsers)
I also saw in de process list (system, running processes) that all started edit-cronjob process keeps visible.

My service-provide can't help me with this bug so that's why post it here because there must be more users affected by this bug.

Greeting Jan van der Sleen (Netherlands)

(Webmin 1.670 running on an freebsd 6.2 host)

1 Attachments

Related

Bugs: #4360

Discussion

1 2 > >> (Page 1 of 2)
  • Jamie Cameron
    Jamie Cameron
    2014-01-24

    What gets logged to /var/webmin/miniserv.error when you open that page in Webmin?

    Unfortunately, nobody else has reported this.

     
  • Mark H
    Mark H
    2014-01-24

    Jamie, I also reported this ...

    https://sourceforge.net/p/webadmin/bugs/4352/

    and mine looks exactly the same except I am running FreeBSD 9.2

    Also the path to webmin is /usr/local/etc/webmin/ but I do not have a file called miniserv.error there but there are 3 other miniserv.* files.

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-25

    On FreeBSD, try looking in /usr/local/var/webmin instead.

     
  • jvdsleen
    jvdsleen
    2014-01-25

    I found fragment (repeately) in my: /var/log/webmin/miniserv.error

    May be this will help

    snip /snap >>>>>>>>>
    Use of uninitialized value in substitution (s///) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 20.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 295.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 302.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 307.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 312.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 316.

    Use of uninitialized value in substitution (s///) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 20.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 295.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 302.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 307.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 312.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 316.

    Use of uninitialized value in substitution (s///) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 20.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 295.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 302.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 307.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 312.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 316.

     
  • Mark H
    Mark H
    2014-01-25

    Same for me. Nothing about cron jobs but getting the same errors as jvdsleen. However I don't think they are relevant to the issue we are both experiencing.

     
  • Mark H
    Mark H
    2014-01-25

    As I stated in my original topic, if I change the Webmin Theme to say Caldera, the Edit Cron page loads correctly.

    I have tried 5 different browsers with the "Blue Framed theme" and all crop the "Edit Cron" page.

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-25

    Even with the "Blue Framed Theme" I don't see this error, sorry.

    What if you switch to the "Grey Framed Theme" ? That is the new default in Webmin anyway.

     
  • Mark H
    Mark H
    2014-01-25

    Exactly the same result and I've attached an image of it. The only suggestion I can make at this time is to remove Webmin and then putit back on.

     
    Attachments
  • Jamie Cameron
    Jamie Cameron
    2014-01-26

    Is anyone seeing this issue on a non-FreeBSD system?

     
  • Mark H
    Mark H
    2014-01-26

    Well I have now done a completely thorough removal of Webmin deleting left behind directories / files and re-installed. It is still the same which is a real shame.

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-26

    So if you remove Webmin completely and then install the older 1.660 release, does the Cron module start working?

     
  • Mark H
    Mark H
    2014-01-26

    Well another user has replied to my "Webmin" topic ...

    https://sourceforge.net/p/webadmin/discussion/600155/thread/997f2861/

    but his theory on the issue is well off. However he is correct regarding trying to "Create a new database" under "MySQL Dabase Server.

    I will remove 1.670 and replace it with 1.660 to see if it works with that version.

     
  • Mark H
    Mark H
    2014-01-27

    I'm happy to report that all is well with 1.660. Screenshot attached of "Edit Cron" page and the "Create a new database" under "MySQL Database Server" is also fine.

     
    Attachments
  • jvdsleen
    jvdsleen
    2014-01-27

    Hay
    changing themes doesn't work for me
    so:

    I'm not an perl programmer

    When i look in the squid-lib.pl I see (in my opinion ) on row 20 a strange declaration

    when this row fails the '$version' variable isn't initialized and therefore other rows aren't evaluated right

    Q:
    Must row 20 not be like : $version='2.2' ;

    gr Jan

    Use of uninitialized value in substitution (s///) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 20.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 295.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 302.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 307.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 312.
    Use of uninitialized value in numeric ge (>=) at /usr/local/lib/webmin-1.670/squid/squid-lib.pl line 316.

     
  • Mark H
    Mark H
    2014-01-27

    I think those squid errors occur if squid isn't installed ...

    https://github.com/webmin/webmin/pull/120

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-27

    The squid errors are a separate bug which will be fixed in the next release.

    Regarding the Cron problem, if anyone who is seeing this is interested in granting me remote root SSH and Webmin access to a system that is experiencing this, it would be much easier to debug. Email me directly at jcameron@webmin.com if that is possible.

     
  • Mark H
    Mark H
    2014-01-27

    Email sent Jamie with login details.

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-27

    • status: open --> closed-fixed
     
  • Mark H
    Mark H
    2014-01-27

    Thanks Jamie.

    I note you have marked it as "On some systems, the socket buffer is too small to capture all output". Is this a "socket buffer" as set by the FreeBSD OS ?

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-27

    Yes, the socket buffer size differs between operating systems.

     
  • Shamus James
    Shamus James
    2014-01-29

    This fix worked for the cron. Thank you!

    How would I fix the MySQL 'create database' with the same issue ?

     
  • Jamie Cameron
    Jamie Cameron
    2014-01-29

    The MySQL issue can't have the same cause, as that module doesn't use this problematic function.

     
  • Shamus James
    Shamus James
    2014-01-30

    I was unable to create a new MySQL database until I changed

    $out = &capture_function_output
    to
    $out = &capture_function_output_tempfile

    in newdb_form.cgi and it works again.

     
    Last edit: Shamus James 2014-01-30
1 2 > >> (Page 1 of 2)