Hi all,
We have OTRS 3.1.11 running smoothly for the past 2 months. The database running is mysql.
We have copied the database into a separate server which is clustered. However, once we change the database connection details via Config.pm, we restarted the otrs service (and then the httpd and mysqld) and we get a message that we should run the web installer again.
Why is that ? Did we forget to update the new db credentials in any files ?
I appreciate any feedback that can be given. Thank you!
Move existing OTRS mysql DB in a separate server
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Move existing OTRS mysql DB in a separate server
There is not enough information to address your question. Probably there's another log (otrs.log?) indicating that there is no database connection. This is possibly because the clustering database isn't allowing connection from your otrs box/username
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 4
- Joined: 08 Mar 2013, 10:53
- Znuny Version: 3.1.11
- Real Name: Stefano
- Company: HF Markets Ltd
Re: Move existing OTRS mysql DB in a separate server
Hello and thanks for the prompt response.
The database connection itself is fine and the OTRS server is granted with full privileges + IP allowed on the database server. The error we get as soon as we "service otrs restart" is "No initial inserts found! Error!"
It's the exact error as described here http://stackoverflow.com/questions/1447 ... or-in-otrs but the only difference in our case is that the database is not Oracle but MariaDB.
The database connection itself is fine and the OTRS server is granted with full privileges + IP allowed on the database server. The error we get as soon as we "service otrs restart" is "No initial inserts found! Error!"
It's the exact error as described here http://stackoverflow.com/questions/1447 ... or-in-otrs but the only difference in our case is that the database is not Oracle but MariaDB.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Move existing OTRS mysql DB in a separate server
run bin/otrs.CheckDB.pl
it is looking for "SELECT * from valid"
This is a rudimentary test, to be sure, but if it can't find results from the "valid" table, it can reasonably be assumed that you're going to have lots of other issues because the data isn't there, plus it *needs* to have those entries in the table "valid".
If you don't trust it (you have to, though) you should try phpmyadmin or mysql workbench or command line and see for yourself.
it is looking for "SELECT * from valid"
This is a rudimentary test, to be sure, but if it can't find results from the "valid" table, it can reasonably be assumed that you're going to have lots of other issues because the data isn't there, plus it *needs* to have those entries in the table "valid".
If you don't trust it (you have to, though) you should try phpmyadmin or mysql workbench or command line and see for yourself.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask