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:
Thanks
[Solved] Can't locate Kernel/Config.pm in @INC
Moderator: crythias
-
- 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
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.
-
- Administrator
- Posts: 3968
- 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
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
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 ?
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 ?
-
- Administrator
- Posts: 3968
- 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
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
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 ?
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 ?
-
- 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
Hi,
Sorry for the misleading topic. Thanks for your advice
I am using Ubuntu
Sorry for the misleading topic. Thanks for your advice
I am using Ubuntu
-
- Administrator
- Posts: 3968
- 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
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 ?
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 ?
-
- 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
Hi Roy,
Ubuntu 16.04.6 LTS (Xenial Xerus)
Ubuntu 16.04.6 LTS (Xenial Xerus)
-
- Administrator
- Posts: 3968
- 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
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 ?
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 ?
-
- 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
Hi,
It's fine now. I unzipped the file individually. The old Config.pm replaced by the one from testing environment.
Thank you Roy.
It's fine now. I unzipped the file individually. The old Config.pm replaced by the one from testing environment.
Thank you Roy.