951: Incorrect password or user informix is not kn
Posted in 2010
On AIX, three IDS instances run under the same 'informix' UNIX user, but dbaccess fails on one with error -951 ("Incorrect password or user informix is not known"), while the other two work and other UNIX users can connect to the problem instance. Suggestions included checking sqlhosts/INFORMIXSERVER and ONCONFIG/SERVERNUM, file ownership/permissions on $INFORMIXDIR/bin (notably oninit), version mismatches (940FC9 vs 940FC6 binaries/libraries in PATH and LD_LIBRARY_PATH) affecting shared-memory connections, and testing a network connection. The online.log showed "informix password expired" messages, prompting advice to reset the expired OS password. No confirmed resolution is recorded in the thread.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Server Administration, Security, Permissions & Auditing, Platform-Specific Issues
Hi,
I've an AIX box running three dataservers all off them created by an unix user
callaed 'informix' :
I have the following message when, logged in as 'infromix' unix user, I try to
connect to one of these dataservers with dbaccess :
"951: Incorrect password or user informix is not known on the database server"
while with the same 'informix' unix user I can connect to the two other
dataservers
Can someone help ? Please
Thanks
Dataservers? Please qualify this term? Do you have one machine and 3 instances
or 3 machines with an instance on it?
Check that the informix user name is trusted on the other servers. Also check
that the password is as you expect it to be. Stupid answer I know but its
worth eliminating.
> To: ids@iiug.org
> From: ntgilfr@voila.fr
> Subject: 951: Incorrect password or user informix is not kn [20054]
> Date: Fri, 7 May 2010 04:40:25 -0400
>
> Hi,
>
> I've an AIX box running three dataservers all off them created by an unix
user
> callaed 'informix' :
>
> I have the following message when, logged in as 'infromix' unix user, I try
to
> connect to one of these dataservers with dbaccess :
>
> "951: Incorrect password or user informix is not known on the database
server"
>
> while with the same 'informix' unix user I can connect to the two other
> dataservers
>
> Can someone help ? Please
>
> Thanks
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
Hi, Sorry, by dataserver, I mean instance. So I've three instances running on one (and same) AIX box. Regards
If you have three different informix installations I'd bet one of them
doesn't have the correct file permissions (probably
$INFORMIXDIR/bin/oninit).
Can you check:
- Do you have different INFORMIXDIR installations for the ones that work and
the one that doesn't?
- If the above is true, did you install the one that doesn't work or did you
copied it from another previous installation?
- Did you setup some kind of external authentication in any of those
instances?
Regards.
On Fri, May 7, 2010 at 9:40 AM, GILLES TCHAPPI <ntgilfr@voila.fr> wrote:
> Hi,
>
> I've an AIX box running three dataservers all off them created by an unix
> user
> callaed 'informix' :
>
> I have the following message when, logged in as 'infromix' unix user, I try
> to
> connect to one of these dataservers with dbaccess :
>
> "951: Incorrect password or user informix is not known on the database
> server"
>
> while with the same 'informix' unix user I can connect to the two other
> dataservers
>
> Can someone help ? Please
>
> Thanks
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--
Fernando Nunes
Portugal
http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
--0016e6d784198812230485fd3c9d
Forgot to mention a few important questions:
- The database server versions
- The error you get on the online.log of the instance. The user error being
-951 can translate into several different errors (-951, -952, -956) on the
server side. This happens for security reasons.
Regards.
On Fri, May 7, 2010 at 9:56 AM, Fernando Nunes <domusonline@gmail.com>wrote:
> If you have three different informix installations I'd bet one of them
> doesn't have the correct file permissions (probably
> $INFORMIXDIR/bin/oninit).
> Can you check:
> - Do you have different INFORMIXDIR installations for the ones that work
> and
> the one that doesn't?
> - If the above is true, did you install the one that doesn't work or did
> you
> copied it from another previous installation?
> - Did you setup some kind of external authentication in any of those
> instances?
>
> Regards.
>
> On Fri, May 7, 2010 at 9:40 AM, GILLES TCHAPPI <ntgilfr@voila.fr> wrote:
>
> > Hi,
> >
> > I've an AIX box running three dataservers all off them created by an unix
> > user
> > callaed 'informix' :
> >
> > I have the following message when, logged in as 'infromix' unix user, I
> try
> > to
> > connect to one of these dataservers with dbaccess :
> >
> > "951: Incorrect password or user informix is not known on the database
> > server"
> >
> > while with the same 'informix' unix user I can connect to the two other
> > dataservers
> >
> > Can someone help ? Please
> >
> > Thanks
> >
> >
> >
> >
>
>
*******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --
> Fernando Nunes
> Portugal
>
> http://informix-technology.blogspot.com
> My email works... but I don't check it frequently...
>
> --0016e6d784198812230485fd3c9d
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--
Fernando Nunes
Portugal
http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
--0016e64c1a7ad00e7d0485fd44e4
Hmm. We had a similar problem in the past but it was symptomatic of a lack of shared memory or a problem with shared memory. We received lots of error message about user accounts but the real problem was a lack of shared memory. Have a look in your syslog file. If possible bring down one of your instances and see if everything works ok. Bring down one of the instances that connects ok. Have you tuned your kernel parameters? > To: ids@iiug.org > From: ntgilfr@voila.fr > Subject: Re: RE: 951: Incorrect password or user inform.... [20056] > Date: Fri, 7 May 2010 04:55:28 -0400 > > Hi, > > Sorry, by dataserver, I mean instance. So I've three instances running on one > (and same) AIX box. > > Regards > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ Do you have a story that started on Hotmail? Tell us now
Hi,
check the value of the INFORMIXSERVER variable and the corresponding entry in
the sqlhosts file . Are you connecting to the correct instance ?
Do you find corresponding error messages in the online/message log of the
database server instance ?
Regards
Andreas Kutsche
>
-------------------------------------------
SPAR Österreichische Warenhandels-AG
Hauptzentrale
A - 5015 Salzburg, Europastrasse 3
FN 34170 a
Tel: +43 662 4470 84923
Fax:
Mobile: +43 664 6259575
E-Mail: Andreas.KUTSCHE@spar.at
Internet: http://www.spar.at
Wichtiger Hinweis: Der Inhalt dieser E-Mail kann vertrauliche und rechtlich
geschützte Informationen, insbesondere Betriebs- oder Geschäftsgeheimnisse,
enthalten, zu deren Geheimhaltung der Empfänger verpflichtet ist. Die
Informationen in dieser E-Mail sind ausschließlich für den Adressaten
bestimmt. Sollten Sie die E-Mail irrtümlich erhalten haben so ersuchen wir
Sie, die Nachricht von Ihrem System zu löschen und sich mit uns in Verbindung
zu setzen.
Über das Internet versandte E-Mails können leicht manipuliert oder unter
fremdem Namen erstellt werden. Daher schließen wir die rechtliche
Verbindlichkeit der in dieser Nachricht enthaltenen Informationen aus. Der
Inhalt der E-Mail ist nur rechtsverbindlich, wenn er von uns schriftlich
bestätigt und gezeichnet wird.
Sollte trotz der von uns verwendeten Virus-Schutzprogramme durch die Zusendung
von E-Mails ein Virus in Ihre Systeme gelangen, haften wir nicht für evtl.
hieraus entstehende Schäden.
Wir danken für Ihr Verständnis.
Important notice: The contents of this e-mail may contain confidential and
legally protected information that is in particular related to operational and
trade secrets, which the recipient is obliged to treat as confidential. The
information in this e-mail is made available exclusively for use by the
addressee. In the event that the e-mail may have been sent to you in error, we
would ask you to kindly delete this communication from your system and to
contact us.
E-mails sent via the Internet can be easily manipulated or sent out under
someone else's name. We therefore do not accept legal liability for the
information contained in this communication. The contents of the e-mail are
only legally binding if they have been confirmed and signed by us in writing.
If, in spite of our using Antivirus protection software, a virus may have
penetrated your system through the sending of this e-mail, we do not accept
liability for any damage that may possibly arise as a result of this.
We trust that you appreciate our position.
-------------------------------------------
-----Ursprüngliche Nachricht-----
> Von: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] Im Auftrag von
> GILLES TCHAPPI
> Gesendet: Freitag, 7. Mai 2010 10:40
> An: ids@iiug.org
> Betreff: 951: Incorrect password or user informix is not kn [20054]
>
> Hi,
>
> I've an AIX box running three dataservers all off them created by an unix
> user
> callaed 'informix' :
>
> I have the following message when, logged in as 'infromix' unix user, I
> try to
> connect to one of these dataservers with dbaccess :
>
> "951: Incorrect password or user informix is not known on the database
> server"
>
> while with the same 'informix' unix user I can connect to the two other
> dataservers
>
> Can someone help ? Please
>
> Thanks
>
>
> **************************************************************************
> *****
> Forum Note: Use "Reply" to post a response in the discussion forum.
Hi, I forgot to mention that, on this instance i can connect with an unix user other than 'informix'. Doesn't this alleviates the assumption of 'a lack of shared memory or a problem with shared memory' ? Regards
so it works ok with other user accounts? Fair enough. Are there other factors you should mention before we carry on? It makes it easier to diagnose the problem. > To: ids@iiug.org > From: ntgilfr@voila.fr > Subject: Re: RE: 951: Incorrect password or user inform.... [20061] > Date: Fri, 7 May 2010 05:14:00 -0400 > > Hi, > > I forgot to mention that, on this instance i can connect with an unix user > other than 'informix'. Doesn't this alleviates the assumption of 'a lack of > shared memory or a problem with shared memory' ? > > Regards > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > _________________________________________________________________ http://clk.atdmt.com/UKM/go/195013117/direct/01/
Hi, I forgot to say that, I can connect to the instance with another unix user. And I have the same INFORMIXSERVER for both 'informix' user and the other user (see below) : informix user : informix@dmba01:dcoidcoi_tcp:/home/informix> echo $INFORMIXSERVER dcoidcoi_tcp informix@dmba01:dcoidcoi_tcp:/home/informix> the other user : dmba01: /applis/coid/bnk/connect > echo $INFORMIXSERVER dcoidcoi_tcp dmba01: /applis/coid/bnk/connect > Regards
Hi Maybe an excerpt from online.log file : ..... Tue Apr 20 09:35:09 2010 09:35:09 informix password expired 09:35:09 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on the database server. ...... 14:14:53 informix password expired 14:14:53 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on the database server. Thu Apr 22 15:55:23 2010 15:55:23 Fuzzy Checkpoint Completed: duration was 0 seconds, 119 buffers not flushed. 15:55:23 Checkpoint loguniq 228093, logpos 0x1af75d4, timestamp: 0xe2c52ab4 15:55:23 Maximum server connections 3 16:00:23 Fuzzy Checkpoint Completed: duration was 0 seconds, 119 buffers not flushed. 16:00:23 Checkpoint loguniq 228093, logpos 0x1af85d4, timestamp: 0xe2c52ab9 ........ Wed May 5 12:09:35 2010 12:09:35 titcoid password expired 12:09:35 listener-thread: err = -951: oserr = 0: errstr = titcoid: Incorrect password or user titcoid is not known on the d atabase server. 12:30:40 titcoid password expired 12:30:40 listener-thread: err = -951: oserr = 0: errstr = titcoid: Incorrect password or user titcoid is not known on the d atabase server. 14:44:38 informix password expired 14:44:38 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on the database server. Thu May 6 11:31:33 2010 11:31:33 titcoid password expired 11:31:33 listener-thread: err = -951: oserr = 0: errstr = titcoid: Incorrect password or user titcoid is not known on the d atabase server. 11:31:38 titcoid password expired 11:31:38 listener-thread: err = -951: oserr = 0: errstr = titcoid: Incorrect password or user titcoid is not known on the d atabase server. and since today ..... many : ..... Fri May 7 10:07:40 2010 10:07:40 informix password expired 10:07:40 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on th database server. 10:08:00 informix password expired 10:08:00 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on th database server. Regards
Hi, The instance (database server) have the following versions 940FC9 for the one with the connection problem and 940FC6 for the two others. The errors in online.log since today are : Fri May 7 10:07:40 2010 10:07:40 informix password expired 10:07:40 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on th e database server. 10:08:00 informix password expired 10:08:00 listener-thread: err = -951: oserr = 0: errstr = informix: Incorrect password or user informix is not known on th e database server. ..... Regards
If this is a shared memory connection, you also have to make sure that the
ONCONFIG environment variable is set correctly because the connection
library determines the SERVERNUM from that file and uses it to connect to
the correct shared memory segment. Also that the .FC9 bin directory is
first in the informix user's path and the lib directory is first in
LD_LIBRARY_PATH so the applications and shared libraries are all the later
release. Older applications and shared libraries may have trouble
connecting to a newer release of IDS using shared memory connections. Try a
networked connection INFORMIXSERVER value for the problematic server. If
that works then it's something related to using shared memory to connect to
the server. Perhaps the app you are using to connect (say the .FC6
dbaccess) was compiled under 9.40.FC6 or the app is seeing the .FC6 shared
libraries and there was a change to the shared memory structures between
.FC6 and .FC9.
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art@iiug.org)
See you at the 2010 IIUG Informix Conference
April 25-28, 2010
Overland Park (Kansas City), KS
www.iiug.org/conf
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.
On Fri, May 7, 2010 at 5:36 AM, GILLES TCHAPPI <ntgilfr@voila.fr> wrote:
> Hi,
>
> The instance (database server) have the following versions
> 940FC9 for the one with the connection problem and 940FC6 for the two
> others.
>
> The errors in online.log since today are :
> Fri May 7 10:07:40 2010
>
> 10:07:40 informix password expired
> 10:07:40 listener-thread: err = -951: oserr = 0: errstr = informix:
> Incorrect
> password or user informix is not known on th
> e database server.
>
> 10:08:00 informix password expired
> 10:08:00 listener-thread: err = -951: oserr = 0: errstr = informix:
> Incorrect
> password or user informix is not known on th
> e database server.
>
> ......
>
> Regards
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--000e0cd22f58ec63d00485fe9ed2
Is it just me or your informix user account has expired? Try changing the password please. Regards. On Fri, May 7, 2010 at 10:36 AM, GILLES TCHAPPI <ntgilfr@voila.fr> wrote: > Hi, > > The instance (database server) have the following versions > 940FC9 for the one with the connection problem and 940FC6 for the two > others. > > The errors in online.log since today are : > Fri May 7 10:07:40 2010 > > 10:07:40 informix password expired > 10:07:40 listener-thread: err = -951: oserr = 0: errstr = informix: > Incorrect > password or user informix is not known on th > e database server. > > 10:08:00 informix password expired > 10:08:00 listener-thread: err = -951: oserr = 0: errstr = informix: > Incorrect > password or user informix is not known on th > e database server. > > ...... > > Regards > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... --0016364276895b186e048601f5c6
I have seen cases where the root or someone has reset the password of the user informix. Due to this, the OS will prompt you to set the password when you login as informix user. Check if the OS prompts for a password change. If so, change the password and try connecting to the informix instance.
On the same server, there are two others instance running with the same 'informix' user. How can I connect with the same user on two instances and not the third with the same unix user
Are you running the instances using the same installation of Informix binaries or do they each have their own installation. Have you enabled role separation? > To: ids@iiug.org > From: ntgilfr@voila.fr > Subject: Re: 951: Incorrect password or user informix i.... [20087] > Date: Tue, 11 May 2010 04:59:23 -0400 > > On the same server, there are two others instance running with the same > 'informix' user. How can I connect with the same user on two instances and not > the third with the same unix user > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. >
Have you checked that all of the permissions are correct for the informix binaries on the instance where you are getting this error? I have encountered this same error when the owner/group of some of the binaries was incorrect. Pam Ekstrand Database Administrator email: ekstrand@us.ibm.com From: "GILLES TCHAPPI" <ntgilfr@voila.fr> To: ids@iiug.org Date: 05/11/2010 05:00 AM Subject: Re: 951: Incorrect password or user informix i.... [20087] Sent by: ids-bounces@iiug.org On the same server, there are two others instance running with the same 'informix' user. How can I connect with the same user on two instances and not the third with the same unix user ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.