Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: mod_perl on apache works when symlinked to one directory but not to another

by hippo (Bishop)
on Nov 28, 2020 at 10:41 UTC ( [id://11124314]=note: print w/replies, xml ) Need Help??


in reply to mod_perl on apache works when symlinked to one directory but not to another

Did you check the audit log and/or the contexts on /path/to/new?


🦛

  • Comment on Re: mod_perl on apache works when symlinked to one directory but not to another
  • Download Code

Replies are listed 'Best First'.
Re^2: mod_perl on apache works when symlinked to one directory but not to another
by Cody Fendant (Hermit) on Nov 28, 2020 at 22:13 UTC

    Hi, I'm not sure what either of those means. I'm checking the Apache error log, but I don't know if that's what you mean about by 'audit log', or 'contexts'.

      By "contexts" I was referring to the SELinux security contexts. If these are wrong then the mod_perl process may not be able to search the paths in order to find the modules. In that case the failed attempt would be logged in the audit log which is usually /var/log/audit/audit.log.


      🦛

        I was absolutely sure I'd thanked you for this answer, but somehow it's not there.

        Your answer solved my problem, thank you and sorry for taking so long.

        The answer was indeed the SELinux security contexts and once I'd got those set up correctly everything was fine.

        I do still think it's weird that the errors were saying "can't find the module" rather than "don't have permission", but it was a key thing to learn.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11124314]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-20 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found