Unable to start SFS service :(

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

stevets
Posts: 60
Joined: 11 Jul 2010, 12:22
Location: USA

Postby stevets » 11 Dec 2010, 15:58

Thanks for the help Lapo and appels,

I started over and uninstalled sfs2x. I then re-installed sfs2x to a public folder using "run as administrator". The service is started and working.

Then I installed RC1a by merging and overwriting the "lib" and "descriptors" directories. I also deleted the "scala.jar" file since I think it was replaced by "scala-library.jar".

I was mistaken when I said beta. RC1 service worked and the RC1a service does not.

I checked the windows event log and found the following

Code: Select all

- System

  - Provider

   [ Name]  Service Control Manager
   [ Guid]  {555908d1-a6d7-4695-8e1e-26931d2012f4}
   [ EventSourceName]  Service Control Manager
 
  - EventID 7034

   [ Qualifiers]  49152
 
   Version 0
 
   Level 2
 
   Task 0
 
   Opcode 0
 
   Keywords 0x8080000000000000
 
  - TimeCreated

   [ SystemTime]  2010-12-11T17:25:41.351875000Z
 
   EventRecordID 13337
 
   Correlation
 
  - Execution

   [ ProcessID]  488
   [ ThreadID]  3204
 
   Channel System
 
   Computer SR1.clubbuildit.com
 
   Security
 

- EventData

  param1 sfs2x-service
  param2 3


Same error is reported "The sfs2x-service service terminated unexpectedly"
I am tracking down the code 7034 to see what I can find.

Thanks,
Steve
User avatar
Lapo
Site Admin
Posts: 21639
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 11 Dec 2010, 16:44

http://social.technet.microsoft.com/wik ... tions.aspx

It actually doesn't add so much to what you already know, which is that the service failed for unknown reasons.

At the moment I don't think we have that Windows edition in our lab although I should better check. However I wouldn't expect the service to fail constantly on one Windows server edition. The service system in 2008 is unlikely to be different from XP or Vista which we both tested extensively.

I'll see if we can get a chance to test on that particular OS.
Do you have another similar Windows machine where to test, maybe?
Lapo
--
gotoAndPlay()
...addicted to flash games
stevets
Posts: 60
Joined: 11 Jul 2010, 12:22
Location: USA

Postby stevets » 11 Dec 2010, 17:11

I tried the same sfs2x install on my local machine using Windows Vista 64bit.

In this case, the service runs without any trouble for both sfs2x RC1 and RC1a.

Steve
Sparticus
Posts: 217
Joined: 27 Feb 2006, 17:44
Location: Canada
Contact:

Postby Sparticus » 13 Dec 2010, 13:53

Any luck figuring this out Steve? I'm on day 10 of trying to get this figured out and still stuck.

When I try and start the service nothing at all gets written to any of the SFS log files. In fact, nothing has been written to them in a week.

I checked the windows event logs and nothing gets reported about SFS.

I still get the following error when trying to install SFS2X :

Code: Select all

Exception:

java.io.IOException: There are no more files
   at java.io.WinNTFileSystem.canonicalize0(Native Method)
   at java.io.Win32FileSystem.canonicalize(Unknown Source)
   at java.io.File.getCanonicalPath(Unknown Source)
   at java.io.File.getCanonicalFile(Unknown Source)
   at com.install4j.runtime.installer.helper.fileinst.FileInstaller.createDirectory(Unknown Source)
   at com.install4j.runtime.installer.helper.content.ContentInstaller.installContent(Unknown Source)
   at com.install4j.runtime.installer.helper.content.ContentInstaller.doStandardInstallation(Unknown Source)
   at com.install4j.runtime.beans.actions.InstallFilesAction.install(Unknown Source)
   at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)
   at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)
   at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)
   at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)
   at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)
   at com.install4j.runtime.installer.Installer.main(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
   at com.exe4j.runtime.WinLauncher.main(Unknown Source)
   at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

System properties:

java.runtime.name=Java(TM) SE Runtime Environment
exe4j.moduleName=C:\Documents and Settings\Administrator\Desktop\SFS2X_windows_2_0_0RC1.exe
exe4j.semaphoreName=c:_documents and settings_administrator_desktop_sfs2x_windows_2_0_0rc1.exe
sun.boot.library.path=c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\bin
java.vm.version=17.0-b16
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
exe4j.consoleCodepage=cp0
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=US
sun.os.patch.level=Service Pack 2
install4j.exeDir=C:\Documents and Settings\Administrator\Desktop\
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\d\e4j1.tmp_dir
java.runtime.version=1.6.0_21-b06
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\endorsed
os.arch=x86
java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\d\
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
exe4j.tempDir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\d\e4j1.tmp_dir
os.name=Windows 2003
proxySet=false
sun.java2d.noddraw=true
sun.jnu.encoding=Cp1252
java.library.path=C:\Program Files\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.1\bin;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\bin
java.specification.name=Java Platform API Specification
java.class.version=50.0
sun.management.compiler=HotSpot Client Compiler
exe4j.isInstall4j=true
os.version=5.2
user.home=C:\Documents and Settings\Administrator
user.timezone=America/Denver
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1252
java.specification.version=1.6
java.class.path=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\d\e4j1.tmp_dir\i4jruntime.jar;C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\d\e4j1.tmp_dir\user.jar;C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\d\e4j1.tmp_dir\platform.zip;;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\deploy.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\plugin.jar
user.name=ryanritten
java.vm.specification.version=1.0
java.home=c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre
sun.arch.data.model=32
exe4j.launchName=C:\Documents and Settings\Administrator\Desktop\SFS2X_windows_2_0_0RC1.exe
user.language=en
java.specification.vendor=Sun Microsystems Inc.
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
exe4j.unextractedPosition=18387687
java.version=1.6.0_21
java.ext.dirs=c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path=c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\resources.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\rt.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\sunrsasign.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\jsse.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\jce.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\lib\charsets.jar;c:\docume~1\admini~1\locals~1\temp\d\e4j1.tmp_dir\jre\classes
install4j.appDir=C:\Documents and Settings\Administrator\Local Settings\Temp\d\
java.vendor=Sun Microsystems Inc.
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.desktop=windows
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
Sparticus
Posts: 217
Joined: 27 Feb 2006, 17:44
Location: Canada
Contact:

Postby Sparticus » 13 Dec 2010, 14:18

Ok, I think I am make some progress. Instead of trying to install SFS to my program files directory, i installed it under the "c:\documents and setting/administrator" folder (I am the admin so this is my home directory).

This time, I get this error :

Image

I tried clicking "yes" but it failed. I still have to assume it's failing because the folder path is too long.

If I click "no" it skips to the next file in that tic-tac-toe folder. I continued clicking no (maybe 60 times) and the progess bar of the install started to advance. However, after the 61st or so times of clicking no in that tic-tac-toe folder it gave me the other "there are no more files" error.

Also, this time I noticed it put an "error.log file on my desktop. Inside it I see :



Code: Select all

There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files

..... insert many more here .....

There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files
There are no more files


Most likely 1 line per time I clicked "no".

This help understand what is going on at all Lapo?
Sparticus
Posts: 217
Joined: 27 Feb 2006, 17:44
Location: Canada
Contact:

Postby Sparticus » 13 Dec 2010, 14:36

Ok, more info. Might not apply to all vesion of windows.... but it says here that the maximum length for a folder in windows is 256 characters. The installation runs perfectly until it hits these tic-tac-toe folders which are clearly over 256 characters...

http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#maxpath

(just counted... the path length in the image linked above is approximatly 285 characters long)
User avatar
Lapo
Site Admin
Posts: 21639
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 13 Dec 2010, 15:08

Interesting but this doesn't explain why we don't get the problem under Windows XP, Win7 32bit, Win7 64 bit...

I install under C:\Program Files\ in XP
What do you use?
Lapo

--

gotoAndPlay()

...addicted to flash games
Sparticus
Posts: 217
Joined: 27 Feb 2006, 17:44
Location: Canada
Contact:

Postby Sparticus » 13 Dec 2010, 15:13

I'm guessing the 256 limit doesn't apply to newer version of windows (ie. xp, vista, windows 7). It installs just fine on my windows 7 box.

On widnows 2003 server is where it fails for me.

I've tried installing at in the program files and in my user directory (administrator). All have the same issue.

I don't suppose you have a version that doesn't include the example files? They are the ones that seem to have the really long paths. I don't need them.
Sparticus
Posts: 217
Joined: 27 Feb 2006, 17:44
Location: Canada
Contact:

Postby Sparticus » 13 Dec 2010, 15:20

Btw, does the installer copy anything to the registry or copy files to any other locations outside of the main SFS2X directory?

If it doesn't, I'll try again installing SFS2X on another PC and then copying the directory over to windows 2003. I can then delete the longer folder names.

I did try this before and it didn't work, but I am willing to try again as I am running out of ideas.
Sparticus
Posts: 217
Joined: 27 Feb 2006, 17:44
Location: Canada
Contact:

Postby Sparticus » 13 Dec 2010, 15:38

Also, if I use windows explorer, I can go to this directory...

C:\Documents and Settings\Administrator\SFS2X-RC1\Client\iPhone\Examples\INFSmartFoxiPhoneClient_TicTacToe_WithExtension\INFSmartFoxiPhoneClient_TicTacToe_WithExtension\build\INFSmartFoxiPhoneClient_TicTacToe_Extension.build\Debug-iphonesimulator

but cannot open any folders inside it. The path above is 246 characters long. So opening a folder inside it would excede the 256 characters and therefore fails.
User avatar
Lapo
Site Admin
Posts: 21639
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 13 Dec 2010, 15:49

I'm guessing the 256 limit doesn't apply to newer version of windows (ie. xp, vista, windows 7). It installs just fine on my windows 7 box.
On widnows 2003 server is where it fails for me.


Hmmm, nope. Windows XP was introduced in 2001, Windows Server 2003 is of course from 2003.

Is your Win2K3 server up to date in terms of patches etc?

As regards the registry, nothing is written there so you can transport another installation without problems.
Lapo

--

gotoAndPlay()

...addicted to flash games
stevets
Posts: 60
Joined: 11 Jul 2010, 12:22
Location: USA

Postby stevets » 21 Dec 2010, 20:18

EDIT: I still cannot start my service with the RC1b patch.

UPDATE: I unistalled sfs2x and used the new full 64bit installer (RC1b) to re-install. The service starts now.
Thanks,

Merry 2Xmas
Steve
User avatar
Lapo
Site Admin
Posts: 21639
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 22 Dec 2010, 06:59

We have just uploaded new installers with the RC1B update.
You can try the one and see if it helps
Lapo

--

gotoAndPlay()

...addicted to flash games
stevets
Posts: 60
Joined: 11 Jul 2010, 12:22
Location: USA

Postby stevets » 22 Dec 2010, 07:43

@Lapo,

Yes, the new full installer worked for me. Just applying the patch did not for some reason.

Thanks,
Steve

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 17 guests