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

Moderator: crythias

Post Reply
stevechan
OTRS newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

root
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

stevechan
OTRS newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

stevechan
OTRS newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
OTRS 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
Moderator
Posts: 2222
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
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
OTRS 5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services for the ((OTRS)) Community Edition? Check out https://www.znuny.com/

stevechan
OTRS newbie
Posts: 25
Joined: 02 Jan 2020, 05:15
OTRS 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