Anytime I open the bat file this is what comes up when it tries to start.
java.io.IOException: Couldn't get lock for /C:/Program Files (x86)/SmartFoxServe
rPRO_1.6.6/Server/logs/smartfox_log_%g.txt
at java.util.logging.FileHandler.openFiles(FileHandler.java:372)
at java.util.logging.FileHandler.<init>(FileHandler.java:306)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initLogger(SmartFoxServe
r.java:496)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:
576)
FATAL ERROR: Could not create log files.
Shutting down server...
java.io.FileNotFoundException: bannedUsers.sfs (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at it.gotoandplay.smartfoxserver.lib.ShutdownManager.run(ShutdownManager
.java:52)
Press any key to continue . . .
Start.bat is not working
Re: Start.bat is not working
Hi,
this is because under Windows you don't have write permissions in the "Program Files" folder.
You need to install the server under your own User folder so that write permissions are granted.
Hope it helps
this is because under Windows you don't have write permissions in the "Program Files" folder.
You need to install the server under your own User folder so that write permissions are granted.
Hope it helps
Re: Start.bat is not working
Lapo wrote:Hi,
this is because under Windows you don't have write permissions in the "Program Files" folder.
You need to install the server under your own User folder so that write permissions are granted.
Hope it helps
Are you talking about the server folder? Because it's in the sfs program files.
Re: Start.bat is not working
You have installed SFS2X under "C:\Program Files (x86)\..." which doesn't provide file write permissions.
Please uninstall SFS2X and re-install it back in a folder under your User directory, which typically is C:\Users\<YourUserNam>\
Thanks
Please uninstall SFS2X and re-install it back in a folder under your User directory, which typically is C:\Users\<YourUserNam>\
Thanks
Re: Start.bat is not working
But I use SfS Pro
Re: Start.bat is not working
It's the same thing. The permission issue is due to your operating system (Windows) not what version of SFS you're using
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 69 guests