Menu

#5612 slave_add.cgi perl error

2.013
closed-fixed
nobody
None
5
2023-02-09
2023-02-03
No

I got an error when adding slave servers. I unfortunately did not save the error or the line number, but might have been a "strict refs" error. I am able to go back and see which file I edited. I commented out "use strict" in slave_add.cgi and it worked. Perl version is v5.26.3. Linux 4.18.0-425.10.1.el8_7.x86_64 #1 SMP. Rocky 8.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2023-02-04

    That's kind of difficult to debug without knowing the line number or error message!

     
  • Tom MacKenzie

    Tom MacKenzie - 2023-02-04

    Yeah, im going to try to repeat the error.

     
  • Tom MacKenzie

    Tom MacKenzie - 2023-02-08
     

    Last edit: Tom MacKenzie 2023-02-08
  • Tom MacKenzie

    Tom MacKenzie - 2023-02-08

    After i changed the script back to no comment, I couldn't reproduce the error. So it seems like it was only during initial creation. I don't really know how to debug slave_add.cgi in an active environment. So you can close this. Was hoping to help...

     
  • Jamie Cameron

    Jamie Cameron - 2023-02-09

    Oh well ... let us know if you see this again.

     
  • Jamie Cameron

    Jamie Cameron - 2023-02-09
    • status: open --> closed-fixed
     

Log in to post a comment.