Error Installing NewGenLib

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error Installing NewGenLib

Mohamed Khaled
I need to install NGL on a new pc, the old system was formatted, but we have the plane sql backup and postgresql backup from postgresql 8

The New PC has JAVA 8 Developement kit and postgresql 9 installed
the cmd shows,
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\KASL>cd..

C:\Users>cd..

C:\>cd installngl3.0

C:\InstallNGL3.0>install.bat

C:\InstallNGL3.0>apache-ant-1.8.1/bin/ant.bat -f apache-ant-1.8.1/bin/Installati
on.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre8\li
b\tools.jar
Buildfile: C:\InstallNGL3.0\apache-ant-1.8.1\bin\Installation.xml

checkos:

if_windows:
     [echo] C:

if_unix:

nglfiles.drive:

CreateInstallationDirectory:
     [copy] Copying 1 file to C:\NGL3\BookCovers
     [copy] Copying 1 file to C:\NGL3

BUILD FAILED
C:\InstallNGL3.0\apache-ant-1.8.1\bin\Installation.xml:50: org.postgresql.util.P
SQLException: FATAL: password authentication failed for user "newgenlib"
        at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(Connect
ionFactoryImpl.java:291)
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
ctionFactoryImpl.java:108)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
y.java:66)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
ection.java:125)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
ection.java:30)
        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gC
onnection.java:22)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Conn
ection.java:30)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:393)
        at org.postgresql.Driver.connect(Driver.java:267)
        at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:37
0)
        at org.apache.tools.ant.taskdefs.SQLExec.getConnection(SQLExec.java:942)

        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:614)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 0 seconds
C:\InstallNGL3.0>




thank you for your help, please i need step by step instructions  
Reply | Threaded
Open this post in threaded view
|

Re: Error Installing NewGenLib

Verus Open Source Support
Respected Patron,
Greetings from NGL Open Source

1. Open Start -> Programs -> Postgresql 8.X -> PgAdmin3
2. In PgAdmin3, double click on localhost on left hand side.
    a. The system will prompt for password. Enter newgenlib.
    b. This will now show Databases. Select postgres and click on "Sql" button to top
    c. This will open a SQL window
3. Now copy/paste the below Query
    CREATE user newgenlib WITH SUPERUSER CREATEDB CREATEROLE PASSWORD 'newgenlib';

4. Press F5 to execute this query


5. Run Installation again


Lastly we recommend the usage of Java 7 or Jav6. Since system is not yet tested on Java 8

Looking forward to serve you.

NGL Open Source Support Team,
(Service Before Self)
--
Verus Solutions, India.
Web: www.verussolutions.biz
Telephone: +91 741 678 3719,+91 741 678 2119, +91 402 771 9161,+91 402 771 9162
Yahoo Messenger: [hidden email]
Google Talk: [hidden email]
Skype Id for voice chat: newgenlib.oss
Forums: http://forums.newgenlib.org
On 03/20/2014 07:16 PM, Mohamed Khaled [via NewGenLib] wrote:
I need to install NGL on a new pc, the old system was formatted, but we have the plane sql backup and postgresql backup from postgresql 8

The New PC has JAVA 8 Developement kit and postgresql 9 installed
the cmd shows,
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\KASL>cd..

C:\Users>cd..

C:\>cd installngl3.0

C:\InstallNGL3.0>install.bat

C:\InstallNGL3.0>apache-ant-1.8.1/bin/ant.bat -f apache-ant-1.8.1/bin/Installati
on.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre8\li
b\tools.jar
Buildfile: C:\InstallNGL3.0\apache-ant-1.8.1\bin\Installation.xml

checkos:

if_windows:
     [echo] C:

if_unix:

nglfiles.drive:

CreateInstallationDirectory:
     [copy] Copying 1 file to C:\NGL3\BookCovers
     [copy] Copying 1 file to C:\NGL3

BUILD FAILED
C:\InstallNGL3.0\apache-ant-1.8.1\bin\Installation.xml:50: org.postgresql.util.P
SQLException: FATAL: password authentication failed for user "newgenlib"
        at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(Connect
ionFactoryImpl.java:291)
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
ctionFactoryImpl.java:108)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
y.java:66)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
ection.java:125)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
ection.java:30)
        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gC
onnection.java:22)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Conn
ection.java:30)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:393)
        at org.postgresql.Driver.connect(Driver.java:267)
        at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:37
0)
        at org.apache.tools.ant.taskdefs.SQLExec.getConnection(SQLExec.java:942)

        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:614)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 0 seconds
C:\InstallNGL3.0>




thank you for your help, please i need step by step instructions  


If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Error-Installing-NewGenLib-tp7574713.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Error Installing NewGenLib

Mohamed Khaled
Thank you alot, Ill try this solution ASAP and will inform you of the results. Otherwise,ill install team viewer and give you access.
Reply | Threaded
Open this post in threaded view
|

Re: Error Installing NewGenLib

Sreenivas
An Error has occurred: Error connecting to the server: FATAL: password authentication failed for user "postgres"