Hello
I had the same problem back in 2.8.5, but found in Google that some file is missing (sfs2x.sh as far as I remember). The issue was fixed.
Now I have upgraded to 2.9 and cannot restart it from admin console again I seem to have the file needed, and it works when launched from terminal. Any ideas?
End of the log:
20:00:12,024 WARN [SFSWorker:Ext:1] v2.SmartFoxServer - *** SERVER RESTARTING ***
20:00:12,025 WARN [Scheduler1-thread-1] bootLogger - Scheduler: scheduler interrupted.
20:00:12,025 WARN [SocketWriter-3] core.SocketWriter - SocketWriter thread interrupted: Thread[SocketWriter-3,5,main]
20:00:12,025 WARN [SocketWriter-1] core.SocketWriter - SocketWriter thread interrupted: Thread[SocketWriter-1,5,main]
20:00:12,025 WARN [SocketWriter-2] core.SocketWriter - SocketWriter thread interrupted: Thread[SocketWriter-2,5,main]
20:00:12,025 WARN [SocketReader] core.SocketReader - Problems in SocketReader main loop: java.lang.InterruptedException: sleep interrupted, Thread: Thread[SocketReader,5,main]
20:00:12,026 WARN [SocketReader] core.SocketReader - java.lang.InterruptedException: sleep interrupted
java.lang.Thread.sleep(Native Method)
com.smartfoxserver.bitswarm.core.SocketReader.run(SocketReader.java:173)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:722)
20:00:15,028 INFO [SFSWorker:Ext:1] sessions.DefaultSessionManager - Session removed: { Id: 2, Type: DEFAULT, Logged: Yes, IP: 127.0.0.1:62952 }
20:00:15,535 INFO [:::SFSRestarter:::] util.SFSRestart - Process restarted: java.lang.UNIXProcess@7f139082
20:00:19,537 WARN [SFS2X ShutdownHook] core.SFSShutdownHook - SFS2X is shutting down. The process may take a few seconds...
20:00:19,537 INFO [Thread-0] managers.SFSZoneManager - BuddyList saveAll...
20:00:19,543 INFO [Thread-1] managers.SFSBannedUserManager - BanUser data saved.
Cannot restart server from admin console (2.9 on MacOS X)
Re: Cannot restart server from admin console (2.9 on MacOS X
From the logs there aren't signs that the process didn't restart. It actually says that it did restart:
..but I don't know if maybe there are some other errors, maybe at startup? Did you check?
If you run the the server via sfs2x-service you shouldn't have any problems with remote restarts.
Code: Select all
20:00:15,535 INFO [:::SFSRestarter:::] util.SFSRestart - Process restarted: java.lang.UNIXProcess@7f139082
..but I don't know if maybe there are some other errors, maybe at startup? Did you check?
If you run the the server via sfs2x-service you shouldn't have any problems with remote restarts.
Re: Cannot restart server from admin console (2.9 on MacOS X
I don't run it as a server, it runs as application for development needs.
I did have problems with the logger, which were caused by newer versions of slf4j-log4j12.jar and slf4j-api-1.5.10.jar copied by installer into libs folder with different names, without removing previous ones. It caused logs to be absent in a while, but I have solved it by removing old jars.
Now there are no errors in start-up log, but I still cannot restart server from admin tool
I did have problems with the logger, which were caused by newer versions of slf4j-log4j12.jar and slf4j-api-1.5.10.jar copied by installer into libs folder with different names, without removing previous ones. It caused logs to be absent in a while, but I have solved it by removing old jars.
Now there are no errors in start-up log, but I still cannot restart server from admin tool
Re: Cannot restart server from admin console (2.9 on MacOS X
Hello,
Can you post the logs you're getting now after you've removed the old jars?
Thanks
Can you post the logs you're getting now after you've removed the old jars?
Thanks
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: Cannot restart server from admin console (2.9 on MacOS X
KarymovDN wrote:I did have problems with the logger, which were caused by newer versions of slf4j-log4j12.jar and slf4j-api-1.5.10.jar copied by installer into libs folder with different names, without removing previous ones. It caused logs to be absent in a while, but I have solved it by removing old jars.
It sounds like you chose to update the installation instead of installing the product in a new location.
If that's the case please make sure you make a new installation. SFS2X 2.9 is not a patch.
Re: Cannot restart server from admin console (2.9 on MacOS X
Hi Lapo
I did a separate installation (also standalone, not a server). It did live through 1 restart needed to change admin password, but no luck since then. I did not change any settings or add any libraries/extensions.
Regards
I did a separate installation (also standalone, not a server). It did live through 1 restart needed to change admin password, but no luck since then. I did not change any settings or add any libraries/extensions.
Regards
Re: Cannot restart server from admin console (2.9 on MacOS X
Hello,
Can you post the logs of the server?
You can find them under SFS2X/logs. The most recent one is called smartfox.log
Can you post the logs of the server?
You can find them under SFS2X/logs. The most recent one is called smartfox.log
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: Cannot restart server from admin console (2.9 on MacOS X
Hello
Yes, sure. Here are the logs of out-of-the box installation. I attached it as a zip-file, because it does not allow even admin tool extension logs.
It looks like after restarting it cannot bind admin tool to 8080 anymore, so it just shuts down immediately
Yes, sure. Here are the logs of out-of-the box installation. I attached it as a zip-file, because it does not allow even admin tool extension logs.
It looks like after restarting it cannot bind admin tool to 8080 anymore, so it just shuts down immediately
- Attachments
-
- smartfox.log.zip
- (3.57 KiB) Downloaded 577 times
Who is online
Users browsing this forum: No registered users and 46 guests