From ionic@ionic.de  Sat Aug 13 23:11:26 2016
Received: (at 1063) by bugs.x2go.org; 13 Aug 2016 21:11:28 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=3.0 tests=BAYES_05,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id EAB443C11D
	for <1063@bugs.x2go.org>; Sat, 13 Aug 2016 23:11:25 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id A-DdTmXQb4wL for <1063@bugs.x2go.org>;
	Sat, 13 Aug 2016 23:11:19 +0200 (CEST)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 183653C11B
	for <1063@bugs.x2go.org>; Sat, 13 Aug 2016 23:11:18 +0200 (CEST)
Received: from nopileos.local (178.162.222.41.adsl.inet-telecom.org [178.162.222.41])
	by mail.ionic.de (Postfix) with ESMTPSA id 25CB04F03466;
	Sat, 13 Aug 2016 23:11:18 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1471122678; bh=/KJrjNu0NZHO+9UpWYd/gsROgYY8Tv4YiQF1PKuVi78=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=dkqbxYUggbtnjSSeujEuxVCxVc+82GKsSphgBvYmmO5v2G7aG9SfqpGb4nMrAs6Ol
	 Nr780vmIfuYRJQKoaCs2gmCxhL5LD1AXV2l02/gT9bBEsHkp+2phrcf83ild/7ekNo
	 5L6OOlrqivuu8pC81g9tpfJdZNEfGRbzKtgsEdSU=
Subject: Re: CreateDB fails with error `DBI
 connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed`
To: Sivachidambaram Somu <arun.lisieux@gmail.com>, 1063@bugs.x2go.org
References: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
Date: Sat, 13 Aug 2016 23:11:14 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0)
 Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="EbD0SJo5oiVuDPm1dKx1fCh6rh2DKB3pL"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--EbD0SJo5oiVuDPm1dKx1fCh6rh2DKB3pL
Content-Type: multipart/mixed; boundary="2xUxN2bgVgNXHiSCDUpKSAarIKxMkMtDt"
From: Mihai Moldovan <ionic@ionic.de>
To: Sivachidambaram Somu <arun.lisieux@gmail.com>, 1063@bugs.x2go.org
Message-ID: <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
Subject: Re: CreateDB fails with error `DBI
 connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed`
References: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
In-Reply-To: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>

--2xUxN2bgVgNXHiSCDUpKSAarIKxMkMtDt
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Control: tag -1 moreinfo

On 26.07.2016 08:03 AM, Sivachidambaram Somu wrote:
> Package: x2goserver
> Version: 4.0.1.19-3.el6
>=20
> Upon installing x2goserver, when "x2godbadmin" script is used with crea=
te DB
> option, a DBI connect error is thrown by the script. As a result, upon
> suspending/terminating the first session, the client refuses to reconne=
ct to the
> server displaying the error message given below.
>=20
> *_Complete Error Message:_*
>=20
> %x2godbadmin --createdb
>=20
> DBI connect('dbname=3D/var/lib/x2go/x2go_sessions','',...) failed: unab=
le to open
> database file at /usr/sbin/x2godbadmin line 103
>=20
> backend=3Dsqlite at /usr/sbin/x2godbadmin line 103.

Not quite sure what you do here or what the bug is.

You're trying to create the DB as a user - which won't work.

sudo x2godbadmin --createdb

should work, instead, and judging from the DB's size (13 KB), it looks li=
ke it
was created successfully by the RPM scriptlets.

So what's the *real* problem?



Mihai


--2xUxN2bgVgNXHiSCDUpKSAarIKxMkMtDt--

--EbD0SJo5oiVuDPm1dKx1fCh6rh2DKB3pL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJXr4z0AAoJEB/WLtluJTqHKEUQAJi7kq8Qe5I69Sv2iC4zAVtN
fTjHea2jYjWysyciztNujRfsu/LJj7ntMqV5gFpgYD0MgyM6NturbM+3bI+hHoQn
INRbc/Ous50pUPs+qgjeYQ0GO0g9QaVxNwuL/ESDYuEDueIWm2wG2tP1GiJdORj1
uN2SNKqTFHQXN8mPWQ81zFzpG9MVbFPLYYQ5uygOidukFhemviTK2pQgKtey/5W/
Oc69Yvzb98WoeLO2NCfXMp7Nq1yoY7DiP4SuNMI6ZqvM3aYaYa0Bnpc5hvgRliH5
DyKhAie/uFzi7sdrZqPO4+qMuTPPoVmZRSrBGwrYGChfJEgiRrCROamZg7Idp1KG
KQMxbqghLIiSAZmRFQBytZ0xPByf6trx2yv8o8v1z1zbb77X+/DBmMjBOyQR0aCR
HHAZlFOjM158NS22vu1YhjbFpwdyEeQEsXKOIgjW4ife7n0WudiwGJaPCyL0xQVL
sHMC3WkEXK/LRc1Hne0N23phtVaUKtKdP7mjUWqP99XztZKRia7yn4OXTyr/iULe
rUUHOTRDgK2ivhwFRBXWV91T6RGz2QqP8gHMLslS1RAeBHVfLZu6pfkQYSpE81i8
bQZSSGfSsfMa0Iq8aZV1TcjrQSodRzYA0z6jB9a5mDhPDq9XkRJkUuAMT71+bBFx
NdHZ6ck3CqRk/29I2BL+
=1dEA
-----END PGP SIGNATURE-----

--EbD0SJo5oiVuDPm1dKx1fCh6rh2DKB3pL--

