[Warehouse Manager] [Warehouse Manager]

Warehouse Manager Frequently Asked Questions (FAQ)

The best thing to do before using this FAQ as a troubleshooting resource is to ensure you have upgraded your installation to the latest release of Warehouse Manager. If that still does not solve the problem and this FAQ does not answer your question then please post to the Warehouse Manager Users Mailing List. Thank you for your interest and participation!



Q: Yesterday I was able to successfully install the RPM based distribution of Warehouse Manager. However today I am no longer able to connect to the database server from the database connection form. Why is this?

A: Most likely your distribution is not configured to automatically start the PostgreSQL server when the system is booted. Under Fedora Core 2 the postmaster can be started as root by issuing the following command:

# /etc/init.d/postgresql start

Q: When I run whm from the command line I get one of the following error messages:

Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

or

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
whm: cannot connect to X server :0.0

How can I get rid of this error message?

A: This problem can be overcome by issuing the following command:

$ xhost +localhost
localhost being added to access control list

Q: When I run whm I get a database connection form and can't connect no matter what I do. What is the problem?

Assuming all parameters are correct you must make sure that your database server is started with a command such as the following issued as root:

# /etc/init.d/postgresql start

Q: I am compiling Warehouse Manager from source code. However when I run make from the warehouse source code directory I get the following error:

uic: File generated with too recent version of Qt Designer (3.3 vs. 3.1.2)

What is this error message all about?

A: This means that the version of the Qt user interface compiler (uic) installed on your system is too old and as a result cannot handle the Qt XML UI files that come with the source code. As a solution you may choose to upgrage to a more recent version of Qt (such as version 3.3) or install directly from the Warehouse Manager RPM file instead.


Q: I have compiled Warehouse Manager from source code. Now when I run the whm executable I get a message box displaying the following error message:

Could not find any database drivers.

Why am I getting this message?

A: You are getting this message because the Qt libraries on your system were built without support for any databases. Several Qt libraries come preinstalled with support for several databases. In case you are building Qt from scratch you must make sure you specify the appropriate options to configure as described here. For example, to enable support for PostgreSQL and some other things on Fedora Core 2 you can issue:

$ ./configure -thread -qt-gif -qt-sql-psql -L/usr/lib/pgsql -I/usr/include/pgsql/server
© 2003-2004 Contacting Us