Page 1 of 1
[RESOLVED] Fatal Error With Log File
Posted: 17 Jul 2016, 20:11
by bastien856
On start smartfoxserver pro with start.bat, i have error :
java.nio.file.InvalidPathException: Illegal char <:> at index 2: \C:\Users\bastien856\Desktop\SmartFoxServerPRO_1.6.6\Server\logs\smartfox_log_0.txt.lck
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at java.nio.file.Paths.get(Unknown Source)
at java.util.logging.FileHandler.openFiles(Unknown Source)
at java.util.logging.FileHandler.<init>(Unknown Source)
at it.gotoandplay.smartfoxserver.SmartFoxServer.initLogger(SmartFoxServer.java:496)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:576)
FATAL ERROR: Could not create log files.
Shutting down server...
please help me

Re: Fatal Error With Log File
Posted: 18 Jul 2016, 07:58
by Lapo
There's two possible reasons for this:
1) You already have another SmartFoxServer running. This usually happens if you didn't pay attention in the installation process and allowed the server to run as Windows Service. If that's the case SFS PRO is already running and trying to run a 2nd instance will cause this error. Close the 2nd instance and try to connect the AdminTool, if it works you already have the server running.
2) You don't have file write permissions in the folder where you installed SFS. This is possible if you're logged in your Windows machine as a different user than "bastien856", which is the one who has write permissions.
cheers
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 08:02
by bastien856
Hi Lapo, I read your comment and I looked everywhere but nothing because I have that one server but when I turn it happen error message :/
and in my computer i have one account just "bastien856" and i have check permission on log file and all permission is true
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 08:18
by Lapo
Did you test what I suggested?
Try opening the AdminTool and connect to the server using the correct IP and port, even if you think is not running.
Does it log in?
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 08:31
by bastien856
i have restart my server with "start smartfoxserver" and i have
http://www.hostingpics.net/viewer.php?i ... eerror.png
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 10:36
by Lapo
What Windows version is this?
Thanks
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 11:34
by bastien856
i have windows 10

Re: Fatal Error With Log File
Posted: 18 Jul 2016, 13:32
by Lapo
Yeah, but that's not what I asked...
I just asked you to open the AdminTool and try to connect. If a server is already running you will be able to connect. Can you try that?
Windows 10 is fine. I have SFS PRO running on W10 and it works just fine.
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 14:22
by bastien856
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 14:30
by Lapo
My suggestion at this point is to try and install the server from scratch.
Maybe uninstall the previous version if you can (e.g. if you haven't customized it), otherwise you can try to install it in a separate folder under your user's directory.
Let us know.
Re: Fatal Error With Log File
Posted: 18 Jul 2016, 14:42
by bastien856
ok i go test this

Re: Fatal Error With Log File
Posted: 18 Jul 2016, 14:56
by bastien856
OMG Really Big Thanks You Lapo, i have reinstall SFS PRO on my desktop and my server is on

Really really really THANKS !
Re: [RESOLVED] Fatal Error With Log File
Posted: 18 Jul 2016, 16:06
by Lapo
Cool
