exim: error while loading shared libraries: libperl.so
I would like to run the below command as cron in my server
exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm > /dev/null 2>&1
But when i run this command as cron 5 min once it it gives the below error
exim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory
but if it run it normally in terminal it was working
How to fix this ?
I'm facing this issue only after cP update
-
Try to use full paths to the programs, i.e. /sbin/exim, /bin/grep, /bin/awk 0 -
Try to use full paths to the programs, i.e. /sbin/exim, /bin/grep, /bin/awk
Same error while running as cron,but while running in terminal it was doing the job0 -
@cPanelBryan @cPanelBrianK Can you please help on this case 0 -
Hey there! It seems like the issue is specifically with the "exim" command - can you restart the Exim service on the machine from the command line? If so, does that also give you the same error? I would try running this command to make sure that all cPanel tools related to Exim are properly installed: /scripts/check_cpanel_rpms
Can you try that and see if that resolves the issue?0 -
Hey there! It seems like the issue is specifically with the "exim" command - can you restart the Exim service on the machine from the command line? If so, does that also give you the same error? I would try running this command to make sure that all cPanel tools related to Exim are properly installed:
/scripts/check_cpanel_rpms
Can you try that and see if that resolves the issue?
I had tried it but still it gives same issue I'm getting the error only if i was running the command as cron..normally it was working0 -
It sounds like there might be a larger issue with Perl on the machine. If you'd like to open a ticket we could investigate that directly on the machine for you. 0 -
It sounds like there might be a larger issue with Perl on the machine. If you'd like to open a ticket we could investigate that directly on the machine for you.
If you can share the commands i can do it Opening ticket i need to inform my Sr and they need to do it but they are not available because of weekend0 -
I don't know for sure what specific commands we'd recommend for this, as seeing the machine could lead us down many different options. 0
Please sign in to leave a comment.
Comments
8 comments