[OpenVCP] MySQL and SQLITE3

Gerrit Wyen gerrit at t4a.net
Tue Apr 22 22:02:00 UTC 2008


Hi,
the openvcp daemon uses a sqlite database to store traffic information,
iptable rules etc. It doesn't communicate with the MySQL database of the
webinterface at all.

That it can't open the sqlite database file is most likely due to the
reason that the the parent folder doesn't exist.
In generell the path is "/usr/share/openvcpd/db" but it can by
influenced by passing a different datadir to the configure script.

hth,
gerrit

> Hi,
>  
> I finally installed OpenVCP on my Centos machine. The web interface
> works fine; I can logon etc.
>  
> Now the daemon returns :
>  
> 2008-04-22 21:15:21 INFO         -       OpenVCP Daemon 0.4 rc1 r613
> started
> 2008-04-22 21:15:21 DEBUG        -
> Options:
>  
> IP Address: 192.168.6.1
> Port Number: 6000
> Logfile: /var/log/openvcp.log
> Logfile: 0
> StartXID: 7000
> VServer Root: /vservers
> VServer Configs: /etc/vservers
> VServer Backups: /vservers/backups
> VServer Images: /vservers/images
> VServer Run Dir: /var/run/vservers
> Vserver Cache Dir: /etc/vservers/.defaults/cachebase
> Ifaces: eth1
> IfbDev: ifb0
> AdminEmail: peperjam at skynet.be
>  
> 
> 2008-04-22 21:15:21 DEBUG        -       Linux-VServer VCI Version:
> 20302
> 2008-04-22 21:15:21 ERROR        -       Can't open database: (unable
> to open database file)
>  
> Can you please explain what 'database file' is meant here and where
> you should specify it. I assume it's the same mysql database the
> webinterface uses.
> Nevertheless I can only find traces to an sqlite3 database.
> 
> Brgds
> Erik
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> _______________________________________________
> OpenVCP mailing list
> OpenVCP at lists.openvcp.org
> http://lists.openvcp.org/cgi-bin/mailman/listinfo/openvcp



More information about the OpenVCP mailing list