/perl: bad interpreter: Permission denied

Julio Glinski

Registered
Sep 9, 2015
1
0
1
Brazil
cPanel Access Level
Root Administrator
Hello,
What should I do?

Whm version: 11:50.0 (build 30)
see log:

Code:
[email protected] [~]# service cpanel restart
Stopping tailwatchd:  /etc/init.d/functions: /usr/local/cpanel/libexec/tailwatchd: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Stopping cPanel services:  /etc/init.d/functions: /usr/local/cpanel/etc/init/stopcpsrvd: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Stopping cPanel dav services:  /etc/init.d/functions: /usr/local/cpanel/etc/init/stopcpdavd: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Stopping cPanel queue services:  /etc/init.d/functions: /usr/local/cpanel/etc/init/stopqueueprocd: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Stopping cPanel brute force detector services:  /etc/init.d/functions: /usr/local/cpanel/etc/init/stopcphulkd: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Stopping cPanel log services:  [FAILED]
Stopping cPanel Chat services:  [FAILED]

Stopping cPanel ssl services:  /etc/init.d/functions: /usr/local/cpanel/etc/init/stopstunnel: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Stopping mailman services:  /etc/init.d/functions: /usr/local/cpanel/etc/init/stopmailman: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
  [FAILED]
Starting cpanel:
/bin/bash: /usr/local/cpanel/etc/init/startup: /usr/local/cpanel/3rdparty/bin/perl: bad interpreter: Permission denied
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Please review the permissions on the /usr/local/cpanel/3rdparty/perl/514/bin/perl file. EX:

Code:
stat /usr/local/cpanel/3rdparty/perl/514/bin/perl
You may need to set the permissions to 0755 with the chmod command if you see a different value configured.

Thank you.