Sir,
The desktop application is working on the server machine but while accessing it through the client machine, it is showing error. Unable to launch the desktop application on client machines. (OS- windows xp and ngl version 2.5) Kindly reply. error_ngl.rar
Archana Sahu
NLUO Cuttack - 753 008 |
I have seen you postgresql.conf and pg_hba.conf.
Your postgresql.conf file is fine. Now see your pg_hba.conf. There are two lines in it host all all 127.0.0.1/32 md5 host all all 192.168.3.0/24 trust Remove the line host all all 127.0.0.1/32 md5 or alternatively remove both the lines and replace with host all all 0.0.0.0/0 trust Restart your postgresql service. That's it!!! On Fri, Oct 8, 2010 at 4:52 PM, Archana Sahu [via NewGenLib] <[hidden email]> wrote: Sir,
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
i have the same problem.
i'm currently using version 3.0.3 update 4. i tried to do the above instruction but it didn't work. |
Close all Application
1. I am assuming that you have made necessary editing of pg_hba.conf and postgresql.conf 2. Note the IP Address of the server. Say for example: 192.168.1.4 3. Open C:/NewGenLibFiles/HibernateConfig/dbConnection.xml using wordpad. You will have one line looking like this jdbc:postgresql://localhost:5432/newgenlib Change it to jdbc:postgresql://192.168.1.4:5432/JSS Means, you are replacing localhost with IP address of the server 4. Start Apache Tomcat Server 5. Follow this step as it is: Open NewGenLib Application. Go to Utilities -> Reports. And click on Launch Desktop On 03/20/2012 10:25 AM, mavicsilva [via NewGenLib] wrote: i have the same problem.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
i did that and i got critical error.
|
Can you attach your pg_hba.conf and postgresql.conf files?
We can examine and send you back the updated ones On 03/20/2012 11:16 AM, mavicsilva [via NewGenLib] wrote: i did that and i got critical error.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Hi,
Your postgresql.conf is fine. It does not need any editing However please see pg_hba.conf. It needs editing. I edited it for you. I am attaching the same 1. Please download it and replace your old pg_hba.conf 2. Restart postgresql service (Control Panel->Administration tools->Services) 3. Start Apache Server. Launch Application and also Launch Desktop as mentioned in previous email On 03/20/2012 11:29 AM, mavicsilva [via NewGenLib] wrote: here they are:
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
i replaced my pg_hba.conf with the one you edited but it didn't work.
i'm still getting unable to open application from a client computer but i can open the ngl desktop within the server. when i edit the dbconnection and replace localhost with IP address, i get "Data base is not connecting properly" message. |
Check if you have a firewall running on your server. If yes, add
exception for TCP/UDP(both) port 5432 and try again
On 03/20/2012 12:29 PM, mavicsilva [via NewGenLib] wrote: i replaced my pg_hba.conf with the one you edited but it didn't work.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
the firewall is turned off.
|
Did you restart the Postgresql service after making the changes in
pg_hba.conf
Pls check line 67 of pg_hba.conf file, it must be similar to the one shown below host all all 0.0.0.0/0 trust On 03/20/2012 12:36 PM, mavicsilva [via NewGenLib] wrote: the firewall is turned off.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
i did restart postgresql but it still didn't work.
|
Can you send your Teamviewer ID and password to
support<attherate>verussolutions.biz
Please give Teamviewer access for both the server and the client(from where the NGL Desktop is not running) So that this issue can be examined On 03/21/2012 06:02 AM, mavicsilva [via NewGenLib] wrote: i did restart postgresql but it still didn't work.
NewGenLib Open Source Support
Verus Solutions Private Limited www.verussolutions.biz |
Free forum by Nabble | Edit this page |