From ionic@ionic.de Tue Oct 4 13:36:41 2016 Received: (at 1063) by bugs.x2go.org; 4 Oct 2016 11:36:43 +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.1 required=3.0 tests=BAYES_40,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 C07FC5DA9F for <1063@bugs.x2go.org>; Tue, 4 Oct 2016 13:36:40 +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 XoIRw2Er2Ieo for <1063@bugs.x2go.org>; Tue, 4 Oct 2016 13:36:33 +0200 (CEST) Received: from Root24.de (powered.by.root24.eu [5.135.3.88]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id E233E5DA98 for <1063@bugs.x2go.org>; Tue, 4 Oct 2016 13:36:32 +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 17AAB4F00651; Tue, 4 Oct 2016 13:36:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default; t=1475580992; bh=1ueVMYofDQNbI70SPgCnf7SCEQ4rxFQ640X5KphDZME=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=gpVxRi501rtqh0N1yoPEYyGYojLy00dXyh/6vLpP/JRSaKjsrOqEAAdeYEaojACCE ZaNglWOvntsxFe6upQDxAWvCq94hVcb/XTAOZQGA99iXqECpW7aShYX1RHewH69HyF nRRBogyAS6dKiQeaQ4iQZ0xxCNYMyycL6wBpuG+8= Subject: Re: CreateDB fails with error `DBI connect('dbname=/var/lib/x2go/x2go_sessions', '', ...) failed` 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: Tue, 4 Oct 2016 13:36:29 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tRTbGUkbGn3nWH3KrTkkGNwSSqUEved0r" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tRTbGUkbGn3nWH3KrTkkGNwSSqUEved0r Content-Type: multipart/mixed; boundary="Qgv4hIPjelWunlikMA81JtPNBBFcOLxv8"; protected-headers="v1" 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: --Qgv4hIPjelWunlikMA81JtPNBBFcOLxv8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11.09.2016 05:09 AM, Sivachidambaram Somu wrote: > Sometimes I get the below error while trying to recreate DB. If I try t= o create > the user myself, I end up back in square one with the error I posted in= my first > email. >=20 > %sudo x2godbadmin --createdb=20 >=20 > Can not find user (x2gouser) I really don't understand how you can get this error. This means that the= perl installation, that uses standard PAM libraries, was not able to get infor= mation for the 'x2gouser' user account on your system. Maybe files in /etc (like= passwd or shadow) or an active- or LDAP directory are not available all the time= on your system. From what I can tell, this looks like a connection issue bet= ween vital systems on your end. The X2Go scripts are not doing something sophisticated but simply calling the standard getpwnam() function in perl= , which SHOULD map more or less directly to the getpwnam() function in the C libr= ary. If that is returning invalid information, you're in for trouble... You could try applying http://tinyurl.com/hy4mb4x but I doubt that'll hel= p you a lot. :/ Mihai --Qgv4hIPjelWunlikMA81JtPNBBFcOLxv8-- --tRTbGUkbGn3nWH3KrTkkGNwSSqUEved0r 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/ iQIcBAEBCgAGBQJX85Q+AAoJEB/WLtluJTqH8YkP/3XqwXtJ/pVXQ6Ox55kWsdTA y/kfQ4/CmxU84y/Zr7ENlwlcQJ8su/O7nopQf2xD50V45ZWgJ24wG/ALJnBwIxVI B1+E0ZlJ90JFwO6yQzQuW/tXUOyeja8hhI0BWBKy50fsE78gIkIHOnLC+szyatHj JsC7GiyloXeKTVcMNChjfuI0lCttGA8jOkDL6stSXqPHKnNpt98VfR7FvGaSbn76 DA7zr4w6bGMG2xlAvQY8qMf/6wlARvjT51fIBM6uBPw2Xxy4hH88njLq1bGGdcRP YV50hJjFpFvkmGINMWFd4NNbPN9gsIhbi5T9yBcJ03PTY3MFNuzOau2a0hy4wSIE 5ZMsmWDNqK/Zog5HbsXqwTRECPawna0QHuoEagDjfuwEYSuWbrGLntjjQb3vW01A GftHS2e/6es7Qp/NgSSUyopwrf9s7wGFLQUlnsy1NH91omLPKe3IVyaU71UpHy7F Kc6eJK4C/XhjxcCq2g3j8BdGpExACZTLDSqHrwsZoh9B6dJxOVUOvZshZP9lrFDD 4mixAVPP0LX8uUmohqvLjqKEp1u1MvQGFwlCGpRGDVipSZhRhbV4C7gztmjor/JZ o0sFff3H0O6olO0Fdc8+gRyJJSHv1DGI7rbqETpmT//Kc+LF/+ZNOhVzWvBdqea5 D1qYq9TEyumHGP4FStHM =2R6E -----END PGP SIGNATURE----- --tRTbGUkbGn3nWH3KrTkkGNwSSqUEved0r--