Installing on Remote Host

Support for Tonido on the Desktop including Windows/Mac/Linux
lyoshenka
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Tue Apr 14, 2009 5:45 pm

Installing on Remote Host

Postby lyoshenka » Tue Apr 14, 2009 6:05 pm

Hi,

I'm trying to install Tonido on a remote host that I only have access to via SSH. I don't have GUI access and I also don't have root permissions. I'd like to install Tonido and enable remote access so that I can use it remotely from my home computer.

I read that you can install Tonido on a USB drive, which makes me think that it is possible to install it somewhere under my home directory (and not in /usr/local, which needs root). So far I have downloaded the .deb and extracted it. I changed the entry in localconfig.xml from HOME to profiledata as the USB guide suggests (though I'm not sure what the purpose of this is. do i need to create the profiledata folder? what does that property mean anyway?). I've also changed the tonido.sh script to point to my the location of the files in my home directory rather than the default location. However, when I run the script, I get the following error in the log file:

Code: Select all

<MY_HOME_DIR>/tonido/usr/local/tonido/tonidoconsole: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory


I replaced my actual home directory with <MY_HOME_DIR> above

This makes me think that it cannot find the libraries installed in /usr/lib. This may be because Tonido is not installed in the usual place. Is there some way to tell it where to look for the libraries it needs?

Also, after I get Tonido up and running, I assume that I will have to enable Remote Access somehow without the GUI. Is there an easy way to do this? I think one possibility would be to install Tonido on one of my machines (I've done this as well), create a profile that allows for Remote Access, and then copy the profile to the remote server. Would that work?

Thanks in advance.

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Installing on Remote Host

Postby madhan » Tue Apr 14, 2009 6:33 pm

Yes. It should be possible to run Tonido on your directory.
If you don't change the XML file, tonido will create the data directory under your home directory ~/tonido
You can override this behavior by changing the xml file.

Extract all the files from the debian package.
1) Put it all under tonido directory
2) type

Code: Select all

export LD_LIBRARY_PATH=.


3) type

Code: Select all

./tonidoconsole&


If you are seeing the libssl error, it means that possibly ssl is not installed in your machine. Can you double check that?

Also, after I get Tonido up and running, I assume that I will have to enable Remote Access somehow without the GUI. Is there an easy way to do this? I think one possibility would be to install Tonido on one of my machines (I've done this as well), create a profile that allows for Remote Access, and then copy the profile to the remote server. Would that work?


Yes, pretty easy, you don't need to copy profiles etc, just use the instructions here
viewtopic.php?f=14&t=42

lyoshenka
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Tue Apr 14, 2009 5:45 pm

Re: Installing on Remote Host

Postby lyoshenka » Tue Apr 14, 2009 7:13 pm

Thanks for the quick reply. I *think* ssl is installed.

Code: Select all

$ ls /usr/lib | grep ssl
libgnutls-openssl.so.13
libgnutls-openssl.so.13.0.9
libssl.a
libssl.so
libssl.so.0.9.8
ssl


Is there any other way to check? Or could there be some other issue?

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Installing on Remote Host

Postby madhan » Tue Apr 14, 2009 7:16 pm

You set the export command right?
Just for a test, copy over the libssl.* files to the same directory that you run tonidoconsole from.

See if that works.

What Linux distro/OS is this btw? Maybe there is a incompatibility.

lyoshenka
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Tue Apr 14, 2009 5:45 pm

Re: Installing on Remote Host

Postby lyoshenka » Tue Apr 14, 2009 7:26 pm

Yea I did the export

It's hard to say what distro it is because its hosted on a remote server and I just pay for access.

Code: Select all

$ uname -a
Linux 2.6.24.5-xeon-aufs20081006-grsec #1 SMP Thu Oct 9 15:42:59 PDT 2008 x86_64 GNU/Linux


Its a 64bit system. It does have ia32-libs installed though.

Code: Select all

$ dpkg -l | grep ia32
ii  ia32-libs                                   1.19                                   ia32 shared libraries for use on amd64 and ia64 systems

$ locate ia32-libs
/usr/local/var/cache/apt/archives/ia32-libs_1.19_amd64.deb
/usr/local/var/lib/dpkg/info/ia32-libs.list
/usr/local/var/lib/dpkg/info/ia32-libs.md5sums
/usr/local/var/lib/dpkg/info/ia32-libs.postinst
/usr/local/var/lib/dpkg/info/ia32-libs.postrm
/usr/local/var/lib/dpkg/info/ia32-libs.preinst
/usr/local/var/lib/dpkg/info/ia32-libs.shlibs
/usr/share/doc/ia32-libs
/usr/share/doc/ia32-libs/changelog.gz
/usr/share/doc/ia32-libs/copyright
/usr/share/doc/ia32-libs/Manifest.ia32-libs
/usr/share/doc/ia32-libs/README.Debian
/usr/share/lintian/overrides/ia32-libs

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Installing on Remote Host

Postby madhan » Tue Apr 14, 2009 7:31 pm

Hmm, I guess it is possible that the binary build of Tonido is not compatible with the rest of the libraries there.

What does

Code: Select all

cat /etc/lsb-release


show?

lyoshenka
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Tue Apr 14, 2009 5:45 pm

Re: Installing on Remote Host

Postby lyoshenka » Tue Apr 14, 2009 7:40 pm

There's no /etc/lsb-release on the system. There is a /usr/bin/lsb_release

Code: Select all

$ /usr/bin/lsb_release
No LSB modules are available.


There's also /etc/lsb-base/ which is empty.

Don't know if thats helpful...

lyoshenka
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Tue Apr 14, 2009 5:45 pm

Re: Installing on Remote Host

Postby lyoshenka » Tue Apr 14, 2009 7:41 pm

Also,

Code: Select all

$ head /usr/bin/lsb_release
#!/usr/bin/python

# lsb_release command for Debian
# (C) 2005-06 Chris Lawrence <lawrencc@debian.org>

#    This package is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation; version 2 dated June, 1991.

#    This package is distributed in the hope that it will be useful,


So it looks like its a Debian system

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Installing on Remote Host

Postby madhan » Tue Apr 14, 2009 7:42 pm

Does copying the libssl libs work?

You can try adding the libssl so files to the LD_LIBRARY_PATH

like export LD_LIBRARY_PATH=.;/usr/local/ssl/;

lyoshenka
Rookie Tonidoid
Rookie Tonidoid
Posts: 6
Joined: Tue Apr 14, 2009 5:45 pm

Re: Installing on Remote Host

Postby lyoshenka » Tue Apr 14, 2009 7:48 pm

Nope, I copied them and also exported the path. Still same error.


Return to “Tonido Software”

Who is online

Users browsing this forum: No registered users and 9 guests