[Solved] Can't locate Kernel/Config.pm in @INC

Moderator: crythias

Post Reply
stevechan
Znuny newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
Znuny Version: 6.0.4
Real Name: Steve Chan

[Solved] Can't locate Kernel/Config.pm in @INC

Post by stevechan »

I am working on migrating current OTRS (Testing) to production. The installation of production had completed and now I am planning to use /opt/src/otrs/scripts/restore.pl to restore the backup from testing environment. However, it got error message when I run /opt/src/otrs/scripts/restore.pl -b /opt/otrs/backup/2020-02-25_11-49/ -d /opt/otrs/

For your reference, I copied Kernel/Config.pm.dist to Kernel/Config.pm. The OTRS (Production) can work normally

The error message is:
setting.PNG
Thanks
You do not have the required permissions to view the files attached to this post.
Last edited by stevechan on 05 Mar 2020, 04:21, edited 2 times in total.
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Urgent: Can't locate Kernel/Config.pm in @INC

Post by root »

Hi Steve,

There's no need to mark a topic as urgent. If it really is, consider payed support. For the Community Edition there are several companies available.

Regarding your error: which OS you're using?

- 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 ?
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Urgent: Can't locate Kernel/Config.pm in @INC

Post by root »

Hi Steve,

There's no need to mark a topic as urgent. If it really is, consider payed support. For the Community Edition there are several companies available.

Regarding your error: which OS you're using?

- 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 ?
stevechan
Znuny newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
Znuny Version: 6.0.4
Real Name: Steve Chan

Re: Urgent: Can't locate Kernel/Config.pm in @INC

Post by stevechan »

Hi,

Sorry for the misleading topic. Thanks for your advice

I am using Ubuntu
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Urgent: Can't locate Kernel/Config.pm in @INC

Post by root »

stevechan wrote: 25 Feb 2020, 09:23 I am using Ubuntu
And which one excatly?

- 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 ?
stevechan
Znuny newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
Znuny Version: 6.0.4
Real Name: Steve Chan

Re: Can't locate Kernel/Config.pm in @INC

Post by stevechan »

Hi Roy,

Ubuntu 16.04.6 LTS (Xenial Xerus)
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Can't locate Kernel/Config.pm in @INC

Post by root »

stevechan wrote: 25 Feb 2020, 09:35 Ubuntu 16.04.6 LTS (Xenial Xerus)
Hi,

I bet it's related to PERL_USE_UNSAFE_INC. Check Ubuntu's manual/changelog how to solve this.

- 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 ?
stevechan
Znuny newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
Znuny Version: 6.0.4
Real Name: Steve Chan

Re: Can't locate Kernel/Config.pm in @INC

Post by stevechan »

Hi,

It's fine now. I unzipped the file individually. The old Config.pm replaced by the one from testing environment.

Thank you Roy.
Post Reply