To preface, my knowledge of perl extends to, it exists. However, I am dealing with a script that broke, after an os upgrade. The person who wrote the script, is no longer around. It is also the only server with perl script left.
I have an old rhel 6.10 server, extended support ends in a few months. I can easily upgrade the server, no problem. The issue arises with 1 script. All the other cgi scripts work fine, but 1.
It is a script that checks for ldap users. I've tried changing the shebang to the new version of perl, after the os upgrade, 5.26.3. It was 5.10.x.
I've checked permissions.
there are a number of files, in /usr/share/perl5. I assume that this ldap search, triggers 1 of these .pm files. But I don't know how to check and see if this is the case, or which .pm it might be.
I am not even sure what what else I can provide, that would be helpful.
Any ideas are welcome. If more info is needed, let me know, and I'll try to get it. I might have to sanitize sensitive parts, or course.
Thank you
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.