PostgreSQL v1.2.4
-
hi,
i am trying to install the new version 1.2.4 on centos linux with postgresql .
up until now i did not have problems but with this new version i get "unable to load and initialize database driver...", what is the problem ? what have changed ?
i use pgsql v9.1Best Regards,
Lindeamon -
Hi!
Nothing changed in PostgreSQL driver. Try to run server from command line as
netxmsd -D9
maybe there will be additional error messages. Also, please send me output of
uname -a
and
ldd <netxms_install_prefix>/lib/netxms/dbdrv/pgsql.ddr
Best regards,
Victor -
-
hi victor,
could not wait so i did it now.
from the files i can see that maybe the nxdbmgr has a problem.
by the way, i have installed 1.2.4 on windows servers and i did not have a problem
attached are the files you requested and sorry that i could not post the name in the unameBest Regards,
Lindeamon
-
Hi!
Server looks good, you just have to upgrade the database. Did you run nxdbmgr upgrade command?
Best regards,
Victor -
Hi Victor,
Of course. this is what gave me the error saying it can not load or initialize.
i was not able to upgrade the db.
as i mentioned, i have installed the x64 and the x32 versions on different computers and different operating systems and the problem did not occurs, the DB was upgraded.
the problem occurs only in my linux box.
when i installed v1.2.3 on the same linux box with the same postgre everything went smooth.
hope this info will give you a leadBest Regards,
Lindeamon -
Hi!
That's very strange, both nxdbmgr and server uses same database driver. Can you please send me full output of nxdbmgr, and output of ldd nxdbmgr? Also, try to run nxdbmgr giving configuration file explicitly with -c command line option. And try to specify database driver in netxmsd.conf as
DBDriver = pgsql.ddr
Best regards,
Victor -
-
Hi Victor,
i do not know what happened but it works. i have installed the new version, changed the directory to the netxms bin directory, ran the upgrade and it worked.
the only thing i can think of is that i ran the nxdbmgr command out of the netxms bin directory {i really do not remember what i did}
thank you anyway.Best Regards,
Lindeamon
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login