I performed my original installation without database support because I didn’t want to complicate things. When I went to re-compile/reinstall with the database support included I kept getting the above error. I finally fixed it by deleting the object files (*.o) in the scc/os_dbd directory before recompiling.
The developers might consider putting “make clean” as a standard part of the install process or at least including a note on the page https://ossec-documentation.readthedocs.io/en/latest/legacy/docs/manual/output/database-output.html *About the necessity of cleaning the files before recompiling.* *Also – In the printed book on page 75 it says that you can check to see if the installation was configured with database support by running* */var/ossec/bin/ossec-dbd –V* *Which would return the information “Compiled with MySQL support” or with PostgreSQL or without database support. But the book was written for v1.4 and it doesn’t give that information when you run that command in v3.3. You might consider restoring that to the –V message.* *Natassia* -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ossec-list/0dcd26c1-1881-4091-9b75-f3cfd029725d%40googlegroups.com.
