Database error

Moderator: crythias

Locked
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Database error

Post by brightrif »

I have getting 3 errors
1) Check NLS_DATE_FORMAT by using SELECT statement.
07-NOV-11 is not the right format 'yyyy-mm-dd hh:mm::ss' (please check $ENV{NLS_DATE_FORMAT}).


2) Check NLS_LANG.
No NLS_LANG configuration found.

3)Check ORACLE_HOME configuration.
No ORACLE_HOME setting found.

but application working properly















Trav
Znuny newbie
Posts: 5
Joined: 07 Dec 2011, 20:21
Znuny Version: 3.0.11

Re: Database error

Post by Trav »

What OS are you using?

I'm getting the same NLS_DATE_FORMAT error in my environment. If you set your ORACLE_HOME environment in the Config.pm, your "No ORACLE_HOME setting found" error should clear.

$ENV{ORACLE_HOME} = '/PATH/TO/ORACLECLIENT/'
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: Database error

Post by brightrif »

Redhat linux
brightrif
Znuny newbie
Posts: 40
Joined: 03 Nov 2011, 11:41
Znuny Version: 3.0.10
Real Name: Bright
Company: Computer world

Re: Database error

Post by brightrif »

I already set the environment variable. still i am getting the error.
VMania
Znuny newbie
Posts: 5
Joined: 10 Jul 2013, 09:52
Znuny Version: 3.2.8
Real Name: André Vinko
Company: SIMAC Professional s.a.

Re: Database error

Post by VMania »

brightrif wrote:I already set the environment variable. still i am getting the error.
Inserting the following statement into the file "..\otrs\OTRS\scripts\apache2-perl-startup.pl" resolved (in my case) the misbehaviour you described. With this the "AdminSupport" page now shows green light.
# ORA-01861: literal does not match format string
$ENV{NLS_DATE_FORMAT} = 'YYYY-MM-DD HH24:MI:SS';

Obviously the "Config.pm" is not run at the right moment so that the settings don't load into Apache's runtime.
Is it a bug or only a lack of explanation in the "otrs_admin" manual?
Will the file "apache2-perl-startup.pl" be replaced during an update process?
However I can use it as a workaround until I do understand the context.
Windows Server 2008 R2 Standard (64-bit) Service Pack 1
  • OTRS Helpdesk 3.2.8
    Apache/2.2.22 (Win32) mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.12.3.
    Perl 5.12.3 (StrawberryPerl) (MSWin32)
Solaris 10
  • ORACLE 11.2.0.3.0 64b
Locked