Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running Sphere on VPS Ubuntu
Author Message
Nachtmusique
Journeyman
*

Posts: 89
Likes Given: 0
Likes Received: 6 in 6 posts
Joined: Mar 2012
Reputation: 0



Post: #1
Running Sphere on VPS Ubuntu
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!!
01-01-2017 02:03 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Running Sphere on VPS Ubuntu
try check if all required i386 packages are installed correctly using
Code:
ld /path/to/spheresvr_file
01-02-2017 03:00 AM
Find all posts by this user Like Post Quote this message in a reply
Nachtmusique
Journeyman
*

Posts: 89
Likes Given: 0
Likes Received: 6 in 6 posts
Joined: Mar 2012
Reputation: 0



Post: #3
RE: Running Sphere on VPS Ubuntu
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#
01-02-2017 03:41 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #4
RE: Running Sphere on VPS Ubuntu
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?
01-02-2017 04:09 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #5
RE: Running Sphere on VPS Ubuntu
(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

Grandmaster Localhost Admin
(This post was last modified: 01-04-2017 09:12 PM by Kanibal.)
01-04-2017 09:09 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Nachtmusique
Journeyman
*

Posts: 89
Likes Given: 0
Likes Received: 6 in 6 posts
Joined: Mar 2012
Reputation: 0



Post: #6
RE: Running Sphere on VPS Ubuntu
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.
01-04-2017 09:43 PM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #7
RE: Running Sphere on VPS Ubuntu
If you cant run Sphere on *nix, than I cant help you...

Grandmaster Localhost Admin
01-04-2017 09:51 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: Running Sphere on VPS Ubuntu
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)
01-05-2017 02:41 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Nachtmusique
Journeyman
*

Posts: 89
Likes Given: 0
Likes Received: 6 in 6 posts
Joined: Mar 2012
Reputation: 0



Post: #9
RE: Running Sphere on VPS Ubuntu
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
01-22-2017 12:39 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)