$Id: FAQ.txt,v 1.1 2002/04/29 19:36:49 tellini Exp $

Frequently Asked Questions
--------------------------

1. I keep getting 'make: apxs: Command not found', or 'make: apachectl: Command not found'.
2. What Database layout should I use?
3. The install went ok, now what?
4. apacheconfig keeps telling me that it cant load libmysqlclient.so.10


1. By default most systems will have apxs, and apachectl in /usr/local/sbin/ or 
   another system bin directory, but if you installed apache on your own, make 
   sure you set it to the apache/bin directory (Usually /usr/local/apache/bin/)

2. There is a sample layout in schema.sql.
   To install it with mysql use the following command: mysql <database> < schema.sql
   For postgres: psql <database> < schema.sql

3. Check your error logs, if you see errors like : [error] MySQL insert failed:
   UPDATE ipaccounting SET bytesin = bytesin + xxx, bytesout = bytesout + xxxx 
   WHERE host = LOWER('www.somedomain.com'), refer to question 2, otherwise if 
   you dont see any errors, it should be working properly.

4. If 'apachectl configtest' reports: Error on line xxx: Failure loading 
   accounting_module: libmysqlclient.so.10: No such file or directory, 
   check /etc/ld.so.conf for this line : '/usr/local/mysql/lib/', and 
   '/usr/local/mysql/lib/mysql/'. If those arent in there, just add them 
   and run 'ldconfig -v' and restart apache.
