Page 1 of 1
Installation Troubles
Posted: 19 Dec 2010, 21:09
by sjarman
Hi,
I'm a new user and I'm having some problems getting my SmartFox server up and running.
I use a Media Temple dv server (
http://mediatemple.net/webhosting/dv/) for my hosting.
I've managed to install the SmartFox product and can reach it here:
http://www.nocturnalware.com:8080/admin
(currently still on default password etc).
I'm unable to actually launch the admin tool though. I've removed all of the addresses from the allowedRemoteAddresses section of server.xml and restarted but this hasn't helped.
I'm wondering what else I might need to be doing?
I've contacted Media Temple to ensure that 9933 is open, and this was their response (this was prior to me changing the remote addresses option):
Port 9933 is opened by default on the (dv) Dedicated-Virtual Server. The problem you are encountering is that you do not have any services listening on this port. So when you try to make a connection it is being refused. I looked at your server and you only have a listening service on the port when using localhost. You have to make it so your new service is listening to incoming connections.
Posted: 19 Dec 2010, 23:35
by sjarman
Just asked Media Temple to double-check that 9933 is definitely open and this was their response. I'm totally at a loss as to why I can't access the Admin Tool.
"Port 9933 is not blocked by infrastructure and you should be able to telnet without issue to your server. Also to be double sure, I used an online port scanner which also confirmed that port 9933 was responding."
Posted: 19 Dec 2010, 23:37
by sjarman
My current server.xml file:
Code: Select all
[root@nocturnalware config]# cat server.xml
<serverSettings>
<socketAddresses>
<socket address="70.32.106.51" port="9933" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
</addressBlackList>
<addressWhiteList>
</addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
Posted: 20 Dec 2010, 00:48
by jz87
have you tried adding allowedRemoateAddresses an entry *.*.*.*
Posted: 20 Dec 2010, 00:55
by jz87
I have the same problem as you. Here's my server.xml
<serverSettings>
<socketAddresses>
<socket address="127.0.0.1" port="9933" type="TCP"/>
<socket address="173.255.206.61" port="9333" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList></addressBlackList>
<addressWhiteList></addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<string>*.*.*.*</string>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
Posted: 20 Dec 2010, 01:05
by sjarman
I'd read somewhere that leaving the allowedRemoteAddresses section blank was the way to enable ALL hosts?
Code: Select all
<allowedRemoteAddresses>
</allowedRemoteAddresses>
Posted: 20 Dec 2010, 01:07
by sjarman
By the way, you're specifying port 9333 instead of 9933 in the following line:
Code: Select all
<socket address="173.255.206.61" port="9333" type="TCP"/>
Was that intentional?
Posted: 20 Dec 2010, 01:12
by jz87
Oops, I fixed that but that didn't help. I still can't connect.
Posted: 20 Dec 2010, 01:16
by jz87
Ok, so I fixed the socket problems and got it to log in. But then I get this error message:
The following error occurred while loading the selected module:
Error #2036
Posted: 20 Dec 2010, 02:32
by sjarman
jz87 wrote:Ok, so I fixed the socket problems and got it to log in.
How did you fix your problem? You're a step further along than me now. I can't launch the Admin Tool at all.
Posted: 20 Dec 2010, 02:41
by jz87
Here's my server.xml
<serverSettings>
<socketAddresses>
<socket address="173.255.206.61" port="9933" type="TCP"/>
<socket address="127.0.0.1" port="9933" type="TCP"/>
</socketAddresses>
<ipFilter>
<addressBlackList></addressBlackList>
<addressWhiteList></addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<!--<string>*.*.*.*</string>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>-->
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
And here is what netstat -pan |grep -i :9933 shows on my remote machine
tcp6 0 0 127.0.0.1:9933 :::* LISTEN 10751/java
tcp6 0 0 173.255.206.61:9933 :::* LISTEN 10751/java
Posted: 20 Dec 2010, 08:21
by Lapo
1) Port 9933 is working correctly, no problems here
2) Remove all those addresses from the <allowedRemoteAddress>, they are wrong and won't help you login
3) When you login with the AdminTool you must connect to your domain -> nocturnalware.com
Posted: 20 Dec 2010, 08:35
by sjarman
I'm all sorted now - working perfectly from home. I suspect that the "open" internet connection that I was given at the office was actually just free of content filtering, but was still blocking uncommon ports.
Apologies for the confusion.
Posted: 20 Dec 2010, 08:38
by Lapo
No problem, glad it's working correctly
