SecureMode Active! Error

Moderator: crythias

Locked
marouitaa1988
Znuny newbie
Posts: 31
Joined: 28 Feb 2011, 13:11
Znuny Version: 3.0.5

SecureMode Active! Error

Post by marouitaa1988 »

Plz how to solve it..i have the same error :(
i've got :
" Message d'Erreur: SecureMode active!

If you want to re-run the Installer, disable the SecureMode in the SysConfig. "
how can i disable the SecureMode in the SysConfig???
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SecureMode Active! Error

Post by crythias »

This topic was split because it was not related to the other topic. This is not a database connection error.
You are trying to re-run the installer. Generally speaking, you shouldn't need to do that.
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
marouitaa1988
Znuny newbie
Posts: 31
Joined: 28 Feb 2011, 13:11
Znuny Version: 3.0.5

Re: SecureMode Active! Error

Post by marouitaa1988 »

Ok I see but what I'm doing it to update my OTRS3.0.5 has OTRS3.0.6 why I run this script:
#!/bin/sh
service cron stop
service sendmail stop
service apache2 stop
cp -R /opt/otrs /opt/otrs.backup
mysqldump -h localhost -u <username> -p<password> otrs | bzip2 -c > otrs.sql.bz2
tar -xzf otrs-3.0.6.tar.gz
cp -R otrs-3.0.6/* /opt/otrs
cp /opt/otrs.backup/Kernel/Config.pm /opt/otrs/Kernel/Config.pm
cp /opt/otrs.backup/Kernel/Config/ZZZAuto.pm /opt/otrs/Kernel/Config/ZZZAuto.pm
cp /opt/otrs.backup/Kernel/Config/GenericAgent.pm /opt/otrs/Kernel/Config/GenericAgent.pm
/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /opt/otrs
/opt/otrs/bin/otrs.RebuildConfig.pl
/opt/otrs/bin/otrs.DeleteCache.pl
service cron start
service sendmail start
service apache2 start


when I enter http:// as ********.*****. com / otrs / index.pl
I have this fatal error
Time: 12:22:07 Tue 8 March 2011

Message: Access denied for user 'otrs' @ 'localhost' (using password: YES)

Traceback (2508):
Module: Kernel:: System:: DB:: new (v1.127) Line: 181
Module: Kernel:: System:: Web:: InterfaceAgent:: Run (v1.58.2.1) Line: 140
Module: / opt / stage / bin / cgi-bin / index.pl (v1.89) Line: 45
so I though that i might re-run the installer
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SecureMode Active! Error

Post by crythias »

And that means the password to connect to otrs db is invalid. Reverify your connection from the backup Config.pm
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
Locked