URGENT HELP!: Can't locate Kernel/Config.pm

Moderator: crythias

Post Reply
cris12345
Znuny advanced
Posts: 105
Joined: 24 Feb 2017, 16:45
Znuny Version: 5.0.16.01
Real Name: Cristina Corrales
Company: -

URGENT HELP!: Can't locate Kernel/Config.pm

Post by cris12345 »

Hi,

I was trying to add ACL code in the Config.pm.

1- First I copied the Config.pm file to my personal folder
2- Added the ACL code
3-Moved the file to Kernel folder
4- And then I received this error in browser:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log."

And this error when I check the Daemon status:

"Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/otrs/Kernel/System/ObjectManager.pm line 23."


What can I do? :(

Thanks
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: URGENT HELP!: Can't locate Kernel/Config.pm

Post by root »

Do you have access via ssh/terminal? If yes what's the output of

Code: Select all

ls -al /opt/otrs/Kernel/
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
cris12345
Znuny advanced
Posts: 105
Joined: 24 Feb 2017, 16:45
Znuny Version: 5.0.16.01
Real Name: Cristina Corrales
Company: -

Re: URGENT HELP!: Can't locate Kernel/Config.pm

Post by cris12345 »

sure
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: URGENT HELP!: Can't locate Kernel/Config.pm

Post by root »

fix the file permission, I'm pretty sure neither otrs nor the webserver user are member of the group root

run

Code: Select all

bin/otrs.SetPermission.pl
or

Code: Select all

chown otrs:apache /opt/otrs/Kernel/Config.pm
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
cris12345
Znuny advanced
Posts: 105
Joined: 24 Feb 2017, 16:45
Znuny Version: 5.0.16.01
Real Name: Cristina Corrales
Company: -

Re: URGENT HELP!: Can't locate Kernel/Config.pm

Post by cris12345 »

yes, you're right! THANK YOU SO MUCH!!
Post Reply