install smartfoxserver ubuntu <3 help

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 02 Mar 2012, 11:01

:D hi guy im newbie try installing smatrfoxserver2x free 100 user im succes full but i got some problem

when im login im cant make zone config its alwas requesting data / loading

and im cant loging to cinfiguration server too

can someone help me maybe i wrong / need config server.xml or jetty or anyhting please help me master

thanks

sorry for my bad english <3 :wink:
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: install smartfoxserver ubuntu <3 help

Postby itsmylifesoham » 02 Mar 2012, 18:58

could you post or attach some source code?

when you installed sfs2x on the server make sure that in your server.xml

<allowedRemoteAddresses/>
tag is empty.

also under
<socketAddresses>
<socket address="127.0.0.1" port="9933" type="TCP"/>
<socket address="127.0.0.1" port="9933" type="UDP"/>
</socketAddresses>

127.0.0.1 is replaced by your server's private ip address.

also make sure that the 9933 and 8080 ports are open in the firewall.
antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

Re: install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 03 Mar 2012, 10:20

try login here

http://88.86.119.14:8080/admin/

host : 88.86.119.14

user : sfsadmin
pass : sfsadmin


i can login but when i want go adminsitration module config server cant alwas requesting data

and when im login to zone config and want add some new Zone alwas cant requesting data alwas

please all help me pls thanks <# :cry:
antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

Re: install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 03 Mar 2012, 10:26

this is mysetting

<serverSettings>
<socketAddresses>
<socket address="88.86.119.14" port="9933" type="TCP"/>
<socket address="88.86.119.14" port="9933" type="UDP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
<string>1.2.3.4</string>
</addressBlackList>
<addressWhiteList>
<string>127.0.0.1</string>
</addressWhiteList>
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: install smartfoxserver ubuntu <3 help

Postby itsmylifesoham » 03 Mar 2012, 11:19

antraxfx2 wrote:this is mysetting

<serverSettings>
<socketAddresses>
<socket address="88.86.119.14" port="9933" type="TCP"/>
<socket address="88.86.119.14" port="9933" type="UDP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
<string>1.2.3.4</string>
</addressBlackList>
<addressWhiteList>
<string>127.0.0.1</string>
</addressWhiteList>


hi ,

in above xml , 88.86.119.14 is your public ip address.

please find out your remote server's "private ip address" and set the socket address field in above xml to private ip address value.
antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

Re: install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 03 Mar 2012, 11:31

where bro can u send me example brother thanks :wink: sorry im really noob did u try login ? u cant login to zone config and server config right
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: install smartfoxserver ubuntu <3 help

Postby itsmylifesoham » 03 Mar 2012, 12:48

hi there,

yes i tried your login.
not a problem if you are newbie.

1. when you click on server configurator in admin tool what happes is it tries to access the server.xml file
2. when you double click on the default zone that is already there it tries to load the zone xml file in the zones folder.

now its obvious that your server is unable to access this files! so it keeps checking for that file.

please do as i said. change that to the "private ip address" of your remote server. :D please do this first/
antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

Re: install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 03 Mar 2012, 13:45

bro can explain me better ? what is private ip address ,? and where i can change ! cos i try socket addres use my ip done stil not work i try use ip server still not work

any idea or can u give me some example brother thanks brother
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: install smartfoxserver ubuntu <3 help

Postby itsmylifesoham » 03 Mar 2012, 14:11

antraxfx2 wrote:bro can explain me better ? what is private ip address ,? and where i can change ! cos i try socket addres use my ip done stil not work i try use ip server still not work

any idea or can u give me some example brother thanks brother


well the server you have hosted will have two ip addresses - one is a private ip address and one is public ip address.
so i will tell you how to find your private ip address as i see that you dont know it yet.

for ubuntu please read this post to find the private ip address :
http://www.howtogeek.com/howto/17012/how-to-find-your-ip-address-in-ubuntu/ (post A)

now go to your server.xml file and you will see two entries like this :

<socket address="88.86.119.14" port="9933" type="TCP"/>
<socket address="88.86.119.14" port="9933" type="UDP"/>

change 88.86.119.14 in both entries to the ip address you found after following instructions in postA

save the file. restart your sfs2x server and now try loading server configurator.
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: install smartfoxserver ubuntu <3 help

Postby itsmylifesoham » 03 Mar 2012, 17:08

hi,

i logged into your vps and your problem is solved now.

ok first of all i didnt know you have VPS hosting , so you have the correct socket address that you had entered earlier.

so i have changed it back.

now coming to the real problems.

1. why server configurator kept showing requesting data?

well your server.xml was missing a tag <allowedRemoteAddresses/>
so i have added it and now your server configurator will work fine.

2. why your current zones were not editable or you could not create any other zone?

i saw that you had kept a "poker2xextension.jar" file just like that in extension folder.
always keep in mind:
1. never keep a jar file directly. just make a folder inside extension folder and put jar inside it.
so i have created a folder called poker2x where you can find your poker2xextension.jar

2. never keep an empty folder in your extension folder

so now you can edit your zone and create new zones .

LAST NOTE: When you face such random problems always go into the logs folder of your sfs2x installation directory and see the latest log file, it will inform you about some possible errors.

hope that gets you started, :D
cheers
soham
antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

Re: install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 03 Mar 2012, 17:16

you are greatsssssssssssssssssssssssss broooooooooooooooooooo very much help me omg thanks brother :lol:

RATE 200 start :)) :D:D:D:D
antraxfx2
Posts: 10
Joined: 02 Mar 2012, 10:53

Re: install smartfoxserver ubuntu <3 help

Postby antraxfx2 » 03 Mar 2012, 17:28

REALLY now im understand why i cant login or edit cos script allowed not found on my server.cml hehe right now i can bro thanks thanks thanks great :arrow: you are winner
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: install smartfoxserver ubuntu <3 help

Postby itsmylifesoham » 03 Mar 2012, 17:48

lol, m glad i could help. :D

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 37 guests