Re: Prewikka

Pierre Chifflier <[email protected]> Tue, 08 Mar 2011 11:57:47 +0100
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
On 03/08/2011 11:42 AM, Marcel Koopmans wrote:
> Hello Pierre,
> 
> I am having issues with prewikka in Debian 6.0.
> As I do not know how to debug Python I have to ask for a little bit of help.
> 
> The issue, although I have configured Postgresql on an other host for database the web console keeps giving the error:
> Database error
> Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
> 
> Even if I run a mysql server local that does listen at the given location, the error stays.

[cc-ing prelude-user]
Hi Marcel,

Configuration looks fine, it looks like Prewikka is using default values.
Does the user running the web server (www-data ?) have permissions to
read the Prewikka configuration file ?

Regards,
Pierre

> 
> /etc/prewikka/prewikka.conf
> 
> [idmef_database]
> #
> # if your database is a sqlite file, please use:
> #
> # type: sqlite3
> # file: /path/to/your/sqlite_database
> #
> type = pgsql
> host = phobos.home.elysium-os.nl
> port = 5432
> user = pgsql_prelude
> pass = ****
> name = prelude
> 
> [database]
> type = pgsql
> host = phobos.home.elysium-os.nl
> port = 5432
> user = pgsql_prelude
> pass = ****
> name = prewikka
> 
> Any help would be appreciated.
> I did not file this a bug as I don't know if it is one.
> 
> Kind regards,
> 	Marcel
> 
> 
> Marcel Koopmans
> 
> Elysium Open Systems
> Wijdstraat 23
> 3421AJ Oudewater
> Tel:		0348-560210
> GSM:	06-51174110
> email:	[email protected]
> 
> 
> 
> 
> 
> 

_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user