SphereCommunity
Running Sphere on VPS Ubuntu - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Running Sphere on VPS Ubuntu (/Thread-Running-Sphere-on-VPS-Ubuntu)



Running Sphere on VPS Ubuntu - Nachtmusique - 01-01-2017 02:03 PM

Im having a hard time getting sphere up and running on my VPS. I'm not super familiar with linux, so there's a bit of a learning curve for me. Anyway, I have a VNC set up with a GUI and I've followed the instructions found here on the forums for installing sphere on linux. I can see in the GUI that everything is in place. However, when I attempt to run spheresvr, nothing happens. I try running in in the terminal and I get this error:

Code:
-bash: ./spheresvr: cannot execute binary file: Exec format error

My Ubuntu VPS says it has the armhf architecture, but I have followed the instructions to allow 32 bit programs:

Code:
root@UO:~# dpkg --print-architecture
armhf
root@UO:~# dpkg --print-foreign-architectures
i386

Any help would be greatly appreciated!!


RE: Running Sphere on VPS Ubuntu - Coruja - 01-02-2017 03:00 AM

try check if all required i386 packages are installed correctly using
Code:
ld /path/to/spheresvr_file



RE: Running Sphere on VPS Ubuntu - Nachtmusique - 01-02-2017 03:41 AM

That looks like it...but how to fix?

Code:
root@UO:~/sphere# ld spheresvr
ld: unknown architecture of input file `spheresvr' is incompatible with arm output
ld: error in spheresvr(.eh_frame); no .eh_frame_hdr table will be created.
ld: warning: cannot find entry symbol _start; defaulting to 00014770
root@UO:~/sphere#



RE: Running Sphere on VPS Ubuntu - Coruja - 01-02-2017 04:09 AM

nah, I have no idea what is it, linux always brings me too many headaches

maybe you server is using ARM CPU, which is only able to run ARM apps and it's not compatible with i386?


RE: Running Sphere on VPS Ubuntu - Kanibal - 01-04-2017 09:09 PM

(01-01-2017 02:03 PM)Nachtmusique Wrote:  ...Im having a hard time getting sphere up and running on my VPS...

OMG... Disable VNC, GUI etc. and use screen and putty Bye


RE: Running Sphere on VPS Ubuntu - Nachtmusique - 01-04-2017 09:43 PM

I got rid of them. In fact i canceled the while arm vps and opened a new one with a more appropriate architecture. In any case, i have not redone the gui or vnc, I've just followed the instructions through the terminal. Sphere still won't run, but i haven't taken the time to troubleshoot yet.


RE: Running Sphere on VPS Ubuntu - Kanibal - 01-04-2017 09:51 PM

If you cant run Sphere on *nix, than I cant help you...


RE: Running Sphere on VPS Ubuntu - Coruja - 01-05-2017 02:41 AM

to use sphere on linux you must have these packages installed: https://github.com/Sphereserver/Source

1~2 months ago I made some quick tests and sphere 56d was able to run perfectly on CentOS 7 x64, which is one of the most used linux on hosting/enterprise level. I never had tested sphere on other linux builds (ubuntu, debian, etc)


RE: Running Sphere on VPS Ubuntu - Nachtmusique - 01-22-2017 12:39 PM

When I do this:

Code:
yum install mysql-community-libs-compat.i686

I get this error:

Code:
[root@scw-2f4c10 ~]# yum install mysql-community-libs-compat.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.quelquesmots.fr
* extras: centos.quelquesmots.fr
* updates: centos.quelquesmots.fr
No package mysql-community-libs-compat.i686 available.
Error: Nothing to do