The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Linux] Start sphere in a screen @ CentOS 6.4
Author Message
nobody2k
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Feb 2015
Reputation: 0



Post: #1
[Linux] Start sphere in a screen @ CentOS 6.4
Hi all!

My sphereserver is running with my CentOS 6.4, so no problems to get it started BUT I cannot start it using the screen command.

screen -D -m spheresvr &

This is what i receive as an "answer" to my command:

[root@81-89-103-180 home]# screen -D -m spheresvr &
[1] 16220
[root@81-89-103-180 home]#

Nothing else!
When i type "screen -r 16220" then the console tells me the following:

[1]+ Done screen -D -m spheresvr
[root@81-89-103-180 home]#

Nothing else, no sphereserver that's running in the background, now sphere console comming up -> just nothing^^


./spheresvr works great, the sphere console shows up and it boots... (but when I close putty the sphereserver is closed too Wink )


Am I doing something wrong?

thx 4 ur help Smile
03-05-2015 10:49 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: [Linux] Start sphere in a screen @ CentOS 6.4
well, screen doesn't quite work that way Smile
First you need to create your screen session, and then start sphere from inside that screen.

Simple way is this:
Login with putty.
enter "screen -x -RR sphereserver" <--- This will get your screen session called sphereserver or create one if it don't exist
start sphere "./spheresvr"
close putty. Don't use the exit command.
To get the console again, login to putty, use "screen -x -RR sphereserver"

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
03-06-2015 09:57 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
nobody2k
Apprentice
*

Posts: 11
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Feb 2015
Reputation: 0



Post: #3
RE: [Linux] Start sphere in a screen @ CentOS 6.4
Thank you so much, much more simple than I thought Smile
03-06-2015 06:19 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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