From unknown Thu Mar 28 16:10:49 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1063: CreateDB fails with error `DBI connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed` Reply-To: Mihai Moldovan , 1063@bugs.x2go.org Resent-From: Mihai Moldovan Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Fri, 02 Sep 2016 09:00:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1063 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: moreinfo Received: via spool by 1063-submit@bugs.x2go.org id=B1063.1472806545504 (code B ref 1063); Fri, 02 Sep 2016 09:00:02 +0000 Received: (at 1063) by bugs.x2go.org; 2 Sep 2016 08:55:45 +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 83A165DEFC for <1063@bugs.x2go.org>; Fri, 2 Sep 2016 10:55:43 +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 QU1HVQEBoLbr for <1063@bugs.x2go.org>; Fri, 2 Sep 2016 10:55:37 +0200 (CEST) Received: from Root24.de (powered.by.root24.eu [5.135.3.88]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id D20825DA97 for <1063@bugs.x2go.org>; Fri, 2 Sep 2016 10:55:36 +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 AFF724F0004F; Fri, 2 Sep 2016 10:55:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default; t=1472806536; bh=P14vKjPWD9uAx58uEKEkA60fkvcNfe3qGNz7IIQMBxI=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=iGBPzz7hip9sZe44z776Ec4GztASz8T3Rovn39Ru1SthCon/7yhPTvhh0cMv585f+ RDWfhtKzauqCVvMPRn9cSmPUdVyAabcOdYdqrHNchK6xbVmjCYKxNmYri1ryFu/kbe 1HxJAaETWpNClLy+9pHFL5ZuDZDuDN588hOdEPcE= To: Sivachidambaram Somu References: <6b41f5b6-82ff-273c-ff64-390c17a44dea@ionic.de> <406759e0-2a96-8582-cc8e-46cd28a2779b@ionic.de> <6fffe69a-2581-66a2-755f-93b84067e2be@ionic.de> Cc: 1063@bugs.x2go.org From: Mihai Moldovan Message-ID: Date: Fri, 2 Sep 2016 10:55:27 +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: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hatWLnw1LFTDTT4KGEtmDB48vnxKbOHea" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hatWLnw1LFTDTT4KGEtmDB48vnxKbOHea Content-Type: multipart/mixed; boundary="AUwCjSc1mJHh4Im6hOm4UMs61fjhrHGEx" From: Mihai Moldovan To: Sivachidambaram Somu Cc: 1063@bugs.x2go.org Message-ID: Subject: Re: CreateDB fails with error `DBI connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed` References: <6b41f5b6-82ff-273c-ff64-390c17a44dea@ionic.de> <406759e0-2a96-8582-cc8e-46cd28a2779b@ionic.de> <6fffe69a-2581-66a2-755f-93b84067e2be@ionic.de> In-Reply-To: --AUwCjSc1mJHh4Im6hOm4UMs61fjhrHGEx Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 30.08.2016 06:05 PM, Sivachidambaram Somu wrote: > I'm afraid the command was working as expected. >=20 > %sudo chmod g+s $(which id) =20 >=20 > %id -g >=20 > 0 >=20 >=20 > %sudo chmod g-s $(which id) >=20 > %id -g =20 >=20 > 100 That doesn't make sense... the x2go_sessions file has the correct permiss= ions set and the x2gosqlitewrapper binary is setgid with the correct group ass= igned - x2gouser. It doesn't look like your system is in any way special regardin= g this. If you (re)create the DB via sudo x2godbadmin --createdb and then start a new session via X2Go Client and then try to reconnect to= that, what error message comes up in X2Go Client? Mihai --AUwCjSc1mJHh4Im6hOm4UMs61fjhrHGEx-- --hatWLnw1LFTDTT4KGEtmDB48vnxKbOHea 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/ iQIcBAEBCgAGBQJXyT6FAAoJEB/WLtluJTqHpyQP/2x85U2a9b2xZv0Nf+Kbl1zp xLYCsKAgtkU8He3CFuRFCu3sqZjs8EjmYkocMOOjq2DraXnJkiyNSUNc/pv9NTFx +mrwzizfQo8rrS0Z/hE6MPaipt+2CkkHH9/xJ51Xpn5w+inOq9nG0BQVi6/Tc2Gw VNMd2pCcmyYhaWa1qgYsaInE2tXj9CkwU2DjegBRhyZRF0wh7GtKs/RsnPQe7gpJ mJbjBIx6dzpaFbRBIHRENj8qdk13+XLcIb5i5rTkG6teMbJ4GipKEwBLveML9etk 4390YE8tBRaI8Cx5G2gJReO1P9j4pd6tt2Q5ApdxSL6jmgu6kiUf+cD969F5TKD+ t0Ogpw3mdFsjtnJlMxPkCKOzfsVCVLcjCHiSbFqDTWrZpxp11VdSfKloaDjHHd5/ ESDiROHQH4h0Q7QXnf8YFsnmtBTiooQqLPPPoY0/bWDpWeOzJby5So2y0BTYzdhl jvtix0m9VV70R2L9Fvr3SvrHYUGmjzS7ValJvxY+rOvN5VQE1LNZjGpsDFeA+H9f p+wImDqgZPWr3qUxWAv4VCSAfTuKfrf+I6dWEFyfYymOfRpE1QxDlPqM4wpMH64S ekQv8tdNLZlYH6CWpCY/D9EoDNdQlCH0B2ocw4NbGubroJlBYUUUpZoJUpxfdmlY xB4dKBvZA9+5J4diTiTj =DfDo -----END PGP SIGNATURE----- --hatWLnw1LFTDTT4KGEtmDB48vnxKbOHea--