X2Go Bug report logs - #1063
CreateDB fails with error `DBI connect('dbname=/var/lib/x2go/x2go_sessions','',...) failed`

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Sivachidambaram Somu <arun.lisieux@gmail.com>

Date: Tue, 26 Jul 2016 06:05:02 UTC

Severity: normal

Tags: moreinfo

Found in version 4.0.1.19-3.el6

Full log


🔗 View this message in rfc822 format

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 <ionic@ionic.de>, 1063@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 04 Oct 2016 11:40:01 +0000
Resent-Message-ID: <handler.1063.B1063.147558100317719@bugs.x2go.org>
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.147558100317719
          (code B ref 1063); Tue, 04 Oct 2016 11:40:01 +0000
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=
To: Sivachidambaram Somu <arun.lisieux@gmail.com>
References: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
 <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
 <CAC5R9dnZzc+1enWSTBb6-fuXYSSK6ZAwRLS+miipKUduj01krw@mail.gmail.com>
 <edc5bbf9-38b5-7e67-054c-0f0b526062dc@ionic.de>
 <CAC5R9dndn6xiS2fCQpovBLZn6yUkUw2F33XEkpZhqXrFbME9Sw@mail.gmail.com>
 <6b41f5b6-82ff-273c-ff64-390c17a44dea@ionic.de>
 <CAC5R9dn44Hz5nBn11rqEqR2u9eBBM2FRTkbtx1Oh3v=CU99rbw@mail.gmail.com>
 <406759e0-2a96-8582-cc8e-46cd28a2779b@ionic.de>
 <CAC5R9dm5vJcBwp6-OMzk7Q_O1twu9B7nTP8Ca06irXVed0_mvA@mail.gmail.com>
 <6fffe69a-2581-66a2-755f-93b84067e2be@ionic.de>
 <CAC5R9dkaF0kHvvR0M69PNnJwoTrsRU63p3hvvDHoM3XiZOAZ0g@mail.gmail.com>
 <ad5003b7-ed53-7a62-d608-cc92f115fc91@ionic.de>
 <CAC5R9dmBqeJ+HXQckQoCOaH_Ljj63AP3gxMFiPt4-qOTTbNTTA@mail.gmail.com>
Cc: 1063@bugs.x2go.org
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <dfe9f73c-8257-02f1-43f1-1f3fdd3d0d5a@ionic.de>
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: <CAC5R9dmBqeJ+HXQckQoCOaH_Ljj63AP3gxMFiPt4-qOTTbNTTA@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="tRTbGUkbGn3nWH3KrTkkGNwSSqUEved0r"
[Message part 1 (text/plain, inline)]
On 11.09.2016 05:09 AM, Sivachidambaram Somu wrote:
> Sometimes I get the below error while trying to recreate DB. If I try to create
> the user myself, I end up back in square one with the error I posted in my first
> email.
> 
> %sudo x2godbadmin --createdb 
> 
> 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 information
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 between
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 library. If
that is returning invalid information, you're in for trouble...

You could try applying http://tinyurl.com/hy4mb4x but I doubt that'll help you a
lot. :/



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:38:59 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.