[OpenVCP] MySQL and SQLITE3

erik pepermans peperjam at skynet.be
Wed Apr 23 10:56:50 UTC 2008


Hi,

I created the database /usr/share/openvcpd/db

I can access it with sqlite3 :

[root at ns log]# cd /usr/share/openvcpd
[root at ns openvcpd]# ls -l
total 4
-rwxrwxrwx 1 root root 2048 Apr 22 22:35 db
[root at ns openvcpd]# sqlite3 db
SQLite version 3.3.6
Enter ".help" for instructions
sqlite> .databases
seq  name             file

---  ---------------
----------------------------------------------------------
0    main             /usr/share/openvcpd/db

sqlite> 

But I still got the same output :

2008-04-23 12:50:41 INFO         -       OpenVCP Daemon 0.4 rc1 r613 started
2008-04-23 12:50:41 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-23 12:50:41 DEBUG        -       Linux-VServer VCI Version: 20302
2008-04-23 12:50:41 ERROR        -       Can't open database: (unable to
open database file)

Brgds
Erik

-----Oorspronkelijk bericht-----
Van: openvcp-bounces at lists.openvcp.org
[mailto:openvcp-bounces at lists.openvcp.org] Namens Cryptronic
Verzonden: woensdag 23 april 2008 7:35
Aan: openvcp at lists.openvcp.org
Onderwerp: Re: [OpenVCP] MySQL and SQLITE3


Am Dienstag, 22. April 2008 23:03:21 schrieb erik pepermans:
> 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 is the daemon's own database which is normaly stored 
in /usr/share/openvcpd/ and is named db.

Does this path exist?

Best regards

_______________________________________________
OpenVCP mailing list
OpenVCP at lists.openvcp.org
http://lists.openvcp.org/cgi-bin/mailman/listinfo/openvcp

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the OpenVCP mailing list