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


Message #17 received at 1063@bugs.x2go.org (full text, mbox, reply):

Received: (at 1063) by bugs.x2go.org; 14 Aug 2016 01:13:06 +0000
From arun.lisieux@gmail.com  Sun Aug 14 03:13:04 2016
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.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,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 38EAD5DEFE
	for <1063@bugs.x2go.org>; Sun, 14 Aug 2016 03:13:04 +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 QhaVd2jvjRLD for <1063@bugs.x2go.org>;
	Sun, 14 Aug 2016 03:12:57 +0200 (CEST)
Received: from mail-qt0-f181.google.com (mail-qt0-f181.google.com [209.85.216.181])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0447F5DDF4
	for <1063@bugs.x2go.org>; Sun, 14 Aug 2016 03:12:57 +0200 (CEST)
Received: by mail-qt0-f181.google.com with SMTP id x25so9025299qtx.2
        for <1063@bugs.x2go.org>; Sat, 13 Aug 2016 18:12:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc;
        bh=hu3HHHLJ8W+YY+it5OAeE0EdeNE3AAMT7OHwbk73Ij8=;
        b=WHdRSR93LOWqbdwyTr9skBvsGUnGVKkVVecdGeXb1aI1cXDl9A6+Dw/wNrnV6VbGvE
         MvtJ4IH5BwSG0CB66fuY5v6NlVEJYUBc7g0NZ0Xtux2KmVwzDrgrvN4JZ3DQMaW5BlmB
         Ocdeb6Le9Cw1wZe6XFqtP31nubggOO1jLeontnpTSjXRVEU5pq/S3cqQRNj1vYXGt/xQ
         noHIe2ZodIY//ApL+U/ghYR21e/DMA4NtFqxKaO4hxyFCZ4724R+OFw9VkWIlrM89aOV
         aN+rmKsGi+DFeMHJ9GapBvw2M9IFFmtJewX6cRbU6M0bNaFUQbSd3ZnQ5mC6+MNeHiDt
         43xA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:cc;
        bh=hu3HHHLJ8W+YY+it5OAeE0EdeNE3AAMT7OHwbk73Ij8=;
        b=gKjuZvre9d7UWxj1SC5u8nzTomsDLc8LSCMz/veM5NBdFwaPUCb6D+fCFO4qwXwu0R
         PZtzZTVTtqlH9wv+U4C/vLwqrGUFiyv6AOqjg83RuMV/SsJnpAE0TrdRNAfM49lEUeWc
         /s3FTcxqDj4SEvIT+YukURybWj7WqeJlrGcI8e1vajNB+ayT3LFsVJdQ/z++Mr1LnSvI
         tZrHGDhVXoC3R2uKVW8vE1SJa4Ei35S/rohcxoo1Ncvjg+okIjrNRYZRDaiRMQQPlCaV
         r9y1ctHY7/jZwYHq9mu00bprBn+RcC79BWSDcEICCSS1gzQ/SufKYu4h+LHnaSG4CFc6
         uWiA==
X-Gm-Message-State: AEkooutq6KoZ0Y+kTTecn/tmdFSKZQZJgdS6dVAL9LZKm9+loJmo7rYwh6X3c1J/QeWgmjgZBV4NE9UPCtqDDQ==
X-Received: by 10.237.36.112 with SMTP id s45mr25317404qtc.7.1471137175758;
 Sat, 13 Aug 2016 18:12:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.79.3 with HTTP; Sat, 13 Aug 2016 18:12:54 -0700 (PDT)
Received: by 10.55.79.3 with HTTP; Sat, 13 Aug 2016 18:12:54 -0700 (PDT)
In-Reply-To: <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
References: <CAC5R9dkj8BfkaHTAhLy0U4nzMRJRtkLw5Ss1be_YM4Y64ZG8Lw@mail.gmail.com>
 <bf97b5ef-9b19-2b68-c5dd-352dcb43dbac@ionic.de>
From: Sivachidambaram Somu <arun.lisieux@gmail.com>
Date: Sun, 14 Aug 2016 06:42:54 +0530
Message-ID: <CAC5R9dnZzc+1enWSTBb6-fuXYSSK6ZAwRLS+miipKUduj01krw@mail.gmail.com>
Subject: Re: CreateDB fails with error `DBI connect('dbname=/var/lib/x2go/x2go_sessions',
 '', ...) failed`
To: Mihai Moldovan <ionic@ionic.de>
Cc: 1063@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a113fecdec6ecec0539fdd02e
[Message part 1 (text/plain, inline)]
When I run the command with elevated privileges, the created DB file is
owned by root and it remains unaccessible when the client tries to
establish a connection.

On Aug 14, 2016 2:41 AM, "Mihai Moldovan" <ionic@ionic.de> wrote:

> Control: tag -1 moreinfo
>
> On 26.07.2016 08:03 AM, Sivachidambaram Somu wrote:
> > Package: x2goserver
> > Version: 4.0.1.19-3.el6
> >
> > Upon installing x2goserver, when "x2godbadmin" script is used with
> create DB
> > option, a DBI connect error is thrown by the script. As a result, upon
> > suspending/terminating the first session, the client refuses to
> reconnect to the
> > server displaying the error message given below.
> >
> > *_Complete Error Message:_*
> >
> > %x2godbadmin --createdb
> >
> > DBI connect('dbname=/var/lib/x2go/x2go_sessions','',...) failed: unable
> to open
> > database file at /usr/sbin/x2godbadmin line 103
> >
> > backend=sqlite 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
> like it
> was created successfully by the RPM scriptlets.
>
> So what's the *real* problem?
>
>
>
> Mihai
>
>
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 15:58:28 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.