<p dir="ltr">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.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Aug 14, 2016 2:41 AM, "Mihai Moldovan" <<a href="mailto:ionic@ionic.de">ionic@ionic.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Control: tag -1 moreinfo<br>
<br>
On <a href="tel:26.07.2016%2008" value="+912607201608">26.07.2016 08</a>:03 AM, Sivachidambaram Somu wrote:<br>
> Package: x2goserver<br>
> Version: 4.0.1.19-3.el6<br>
><br>
> Upon installing x2goserver, when "x2godbadmin" script is used with create DB<br>
> option, a DBI connect error is thrown by the script. As a result, upon<br>
> suspending/terminating the first session, the client refuses to reconnect to the<br>
> server displaying the error message given below.<br>
><br>
> *_Complete Error Message:_*<br>
><br>
> %x2godbadmin --createdb<br>
><br>
> DBI connect('dbname=/var/lib/x2go/<wbr>x2go_sessions','',...) failed: unable to open<br>
> database file at /usr/sbin/x2godbadmin line 103<br>
><br>
> backend=sqlite at /usr/sbin/x2godbadmin line 103.<br>
<br>
Not quite sure what you do here or what the bug is.<br>
<br>
You're trying to create the DB as a user - which won't work.<br>
<br>
sudo x2godbadmin --createdb<br>
<br>
should work, instead, and judging from the DB's size (13 KB), it looks like it<br>
was created successfully by the RPM scriptlets.<br>
<br>
So what's the *real* problem?<br>
<br>
<br>
<br>
Mihai<br>
<br>
</blockquote></div></div>