Hedwig said:
> BTW the informix server name in the HQ GUI is not really relevant. It must not be a DBSERVERNAME/DBSERVERALIAS.
I am uncertain of what you mean by 'It must not be a DBSERVERNAME". Do you mean "it surely is not == DBSERVERNAME" or do you mean it should not be the same as DBSERVERNAME? The latter seems unlikely and is surely counterintuitive.
Of course, as I pointed out, I am indeed entering the server name == DBSERVERNAME in $ONCONFIG == $INFORMIXSERVER as I have set it up and am trying to connect. But you are correct - I had not thought of checking the log, a habit I should develop. At this moment (as I type this reply) that PC is booted to Windows. When I next boot to Linux Mint (not AIX,as per Hrvoje's suggestion) I'll be able to check that log and post what I see.
> What happens when you try to connect with dbaccess using informix and the password.
I can run "dbaccess sysmaster" as either user informix or jake without a password. and I have only one Linux PC; I'm running the server and chrome on the same machine, browsing to maxwell2l:8080 to bring up the HQ screen. (Then signing in to HQ using the admin/properties-password).
More to come on this...
+----- Jacob Salomon --------------------------------------------------+
| The first lesson of economics is scarcity: there is never enough of |
| anything to fully satisfy all those who want it. The first lesson of |
| politics is to disregard the first lesson of economics. |
+--------------- Thomas Sowell (Is Reality Optional?::Student Loans) --+
Original Message:
Sent: 12/8/2023 1:38:00 AM
From: Hedwig Fuchs
Subject: RE: InformixHQ: Entering credentials for monitoring and admin
Hi
the password set in the properties file of HQServer is ONLY for logging in into the HQ GUI.
What you see here is a standard "can't connect to the informix instance" error.
And in most cases it really means that wrong password is used for user informix on machine maxwell2l.
Is there a message in the message logfile? A message will confirm that the try to connect has reached the Informix Instance. What happens when you try to connect with dbaccess using informix and the password. Maybe you have dbaccess on another machine and you can try a remote login.
What happens when you open up informix for the world with a + in .rhosts (just for a test).
And not sure what informix@localhost[maxwell2l] here means exactly.
I only have informix@myhost in the message when I enter a wrong password.
BTW the informix server name in the HQ GUI is not really relevant. It must not be a DBSERVERNAME/DBSERVERALIAS.
It can help when it is the same.
A java program only needs ip and port to connect to the instance.
------------------------------
Hedwig Fuchs
------------------------------
Original Message:
Sent: Fri December 08, 2023 12:50 AM
From: Hrvoje Zokovic
Subject: InformixHQ: Entering credentials for monitoring and admin
Hi
If your db server is AIX try this:
chmod o+x /etc/security
chmod o+r /etc/security/pwdalg.cfg
HTH
Hrvoje
------------------------------
Hrvoje Zokovic
Original Message:
Sent: Thu December 07, 2023 08:58 PM
From: Jacob Salomon
Subject: InformixHQ: Entering credentials for monitoring and admin
Hi Family.
Almost done with the polemics of the Java setup for InformixHQ but this is a different issue:
I am now in this screen:
I have the identical credentials for the admin section. My host name is maxwell2l. The group name is omni, containing 1 server named ol_first, which is set up in sqlhosts as a TCP connection. The port number, listed in both sqlhosts and /etc/services is 10091. These are entered in the above credentials (I didn't screen-capture the whole window). Now I click on [Test Connection]. I am rewarded with the following message:
[x] Could not connect to Informix: jdbc:informix-sqli://maxwell2l:10091: sysmaster. Incorrect password or user com.informix.asf.IfxASFRemoteException: informix@localhost[maxwell2l] is not known on the database server.]
Now I know the informix password so I'm not getting that wrong. I got similar result using admin and that password that I had set up in properties so I know that's not the issue.
Do I need to enter the informix (or admin) password in yet another config file? (Today's seminar didn't address HQ neophytes.)
So my question, as with the previous thread is: What am I missing?
Thanks much for help!
------------------------------
Jacob Salomon
---
Nobody goes there anymore, it's too crowded. --Attr: Yogi Berra
------------------------------