ERROR 2018-08-07T09:05:09,671 (Agents thread) - MCF|MCF-agent|apache.manifoldcf.agents|Exception tossed: Error getting connection: FATAL: pass$
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Error getting connection: FATAL: password authentication failed for user "manifoldc$
at org.apache.manifoldcf.core.database.ConnectionFactory.getConnection(ConnectionFactory.java:83) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:797) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1457) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:146) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:204) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.performQuery(DBInterfacePostgreSQL.java:837) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.BaseTable.performQuery(BaseTable.java:221) ~[mcf-core.jar:?]
at org.apache.manifoldcf.agents.agentmanager.AgentManager.getAllAgents(AgentManager.java:218) ~[mcf-agents.jar:?]
at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:261) ~[mcf-agents.jar:?]
at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209) [mcf-agents.jar:?]
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "manifoldcf"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438) ~[postgresql-42.1.3.jar:42.1.3]
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222) ~[postgresql-42.1.3.jar:42.1.3]
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.1.3.jar:42.1.3]
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194) ~[postgresql-42.1.3.jar:42.1.3]
at org.postgresql.Driver.makeConnection(Driver.java:450) ~[postgresql-42.1.3.jar:42.1.3]
at org.postgresql.Driver.connect(Driver.java:252) ~[postgresql-42.1.3.jar:42.1.3]
at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_171]
at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_171]
at org.apache.manifoldcf.core.jdbcpool.ConnectionPool.getConnection(ConnectionPool.java:144) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.ConnectionFactory.getConnectionWithRetries(ConnectionFactory.java:126) ~[mcf-core.jar:?]
at org.apache.manifoldcf.core.database.ConnectionFactory.getConnection(ConnectionFactory.java:75) ~[mcf-core.jar:?]
... 9 more
--
You received this message because you are subscribed to the Google Groups "Datafari" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datafari+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to datafari+u...@googlegroups.com.
Hi. Thanks for this. I've now deleted my test instance but will reinstall. However, I think I can speak to this point.I set up datafari using the deb file on two instances. The first time around, it is true that the java_home variable was not set at the time of running the install script. I realised this was an issue and manually ran the obfuscation script and edited the properties-global.xml file to include the result as you have indicated. That did not solve the problem.
I therefore set up a new server, exported the paths, and ran the installer. I was careful to test the java_home path to ensure it was correct. However, I did note that Datafari gave a warning to say that it was not set correctly. I had a look at the install script and manually tested the relevant line using a simple cd / cat command and it seemed to work. Again, however, the obfuscated password was blank. Again, manually running the obfuscation script using the pgsql user password did not solve the issue.
To unsubscribe from this group and stop receiving emails from it, send an email to datafari+unsubscribe@googlegroups.com.