Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 15:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP] socket_tcp_bind: tcp_socket: Can't assign requested address

Discussion on [HELP] socket_tcp_bind: tcp_socket: Can't assign requested address within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2014
Posts: 3
Received Thanks: 0
Exclamation [HELP] socket_tcp_bind: tcp_socket: Can't assign requested address

Hello,
I want open metin2 server on freebsd 12 but on all game 28k/34k/40k/ i have all times the same problem :
socket_tcp_bind: tcp_socket: Can't assign requested address
I tried with config BIND_IP/PUBLIC_IP: PUBLICIP - still dont work
I tried with dif Internal IP Fix still didnt work

I suspect this is something with the freebsd configuration does anyone have any ideas? ( I use google cloud servers ) I can pay for help
5050hurin is offline  
Old 10/29/2017, 13:02   #2
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
maybe you have core they use the same port
check all configs and give all core a own port
reboot the server and try it again mabye thats a solution for u
what sf do you use?
Lauling is offline  
Thanks
1 User
Old 10/29/2017, 15:33   #3
 
elite*gold: 0
Join Date: Jul 2014
Posts: 3
Received Thanks: 0
Quote:
Originally Posted by Lauling View Post
maybe you have core they use the same port
check all configs and give all core a own port
reboot the server and try it again mabye thats a solution for u
what sf do you use?
I use sf game 34k i change freebsd to 12 and I dont have this problem but i cant login into world only on auth> character choose
@
Now i change freebsd to 10.3 minimal version to i can downgrade :|
Still the same problem
SYSERR: Oct 29 14:45:41 :: socket_bind: bind: Can't assign requested address
i try change ports/etc dont work :P

- this is good network configuration? :|
5050hurin is offline  
Old 10/29/2017, 21:06   #4
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
Quote:
Originally Posted by 5050hurin View Post
I use sf game 34k i change freebsd to 12 and I dont have this problem but i cant login into world only on auth> character choose
@
Now i change freebsd to 10.3 minimal version to i can downgrade :|
Still the same problem
SYSERR: Oct 29 14:45:41 :: socket_bind: bind: Can't assign requested address
i try change ports/etc dont work :P

- this is good network configuration? :|
which start script do you use?

for example, i use a startscript like this
PHP Code:
#!/bin/sh

# VARIABLES
SERVER_IP=192.168.133.7
GAME_DIR
=/home/game2
TIMESTAMP
=`date "+%Y-%m-%d-%H-%M"`
BACKUP_DIR=${GAME_DIR}/_BACKUPS/${TIMESTAMP}

# FUNCTIONS
min() {
    echo $(($
< $? $: $2))
}

start_server() {
    echo 
"Wieviele Channels sollen gestartet werden (max. 4)?"
    
read channel_count
    channel_count 
= $(min $channel_count 4)
    
    
clear
    
    cd $GAME_DIR
    
echo -"\033[32mDer Server wird gestartet ...\033[0m"
    
cd database
        
./database -I $SERVER_IP &
        
cd ..
    
sleep 5
    cd auth
        
./auth -I $SERVER_IP &
        
cd ..
    
cur_chan=1
    
while [ $cur_chan -lt `expr $channel_count + 1` ]
    do
        
cd channel${cur_chan}
            
cur_core=1
            
while [ $cur_core -lt 6 ]
            do
                
cd core${cur_core}
                    ./
channel${cur_chan}_core${cur_core} -I $SERVER_IP &
                    
cd ..
                
cur_core=`expr $cur_core + 1`
            
done
            cd 
..
        
cur_chan=`expr $cur_chan + 1`
    
done
    cd channel99
        cur_core99
=1
        
while [ $cur_core99 -lt 6 ]
        do
            
cd core${cur_core99}
                ./
channel99_core${cur_core99} -I $SERVER_IP &
                
cd ..
            
cur_core99=`expr $cur_core99 + 1`
        
done
        cd 
..
    
sleep 1
    
echo -"\033[32mDer Server wurde gestartet.\033[0m"
}

stop_server() {
    
cd $GAME_DIR
    
echo -"\033[32mDer Server wird gestoppt ...\033[0m"
    
cd auth
        
if [ -./pid ]; then
            kill 
-`cat ./pid`
        
fi
        cd 
..
    
cur_chan=1
    
while [ $cur_chan -lt 5 ]
    do
        
cd channel${cur_chan}
            
cur_core=1
            
while [ $cur_core -lt 6 ]
            do
                
cd core${cur_core}
                    if [ -
./pid ]; then
                        kill 
-`cat ./pid`
                    
fi
                    cd 
..
                
cur_core=`expr $cur_core + 1`
            
done
            cd 
..
        
cur_chan=`expr $cur_chan + 1`
    
done
    cd channel99
        cur_core99
=1
        
while [ $cur_core99 -lt 6 ]
        do
            
cd core${cur_core99}
                if [ -
./pid ]; then
                    kill 
-`cat ./pid`
                
fi
                cd 
..
            
cur_core99=`expr $cur_core99 + 1`
        
done
        cd 
..
    echo -
"\033[33m    Warten auf Datenbank-Flush ...\033[0m"
    
sleep 10
    cd database
        
if [ -./pid ]; then
            kill 
-`cat ./pid`
        
fi
        cd 
..
    echo -
"\033[32mDer Server wurde gestoppt.\033[0m"
}

compile_quests() {
    
cd $GAME_DIR/home/game2/share/locale/germany/quest
    rm 
-R object
    python 
./make_quest
}

restart_cores() {
    
stop_server
    sleep 15
    start_server
}

clear

if [ $# == "1" ] && ([ $1 == "start" ] || [ $1 == "stop" ] || [ $1 == "quest" ] || [ $1 == "restart" ]); then
    
if [ $== "start" ]; then
        start_server
    elif 
[ $== "stop" ]; then
        stop_server
    elif 
[ $== "quest" ]; then
        compile_quests
    elif 
[ $== "restart" ]; then
        restart_cores
    fi
else
    echo -
""
    
echo -"  \033[33m\033[1m###########################################################################\033[0m"
    
echo -"  \033[33m\033[1m##\033[0m                           \033[31mVERWALTUNGS PANEL\033[0m                           \033[33m\033[1m##\033[0m"
    
echo -"  \033[33m\033[1m###########################################################################\033[0m"
    
echo -"  \033[33m\033[1m##\033[0m                                                                       \033[33m\033[1m##\033[0m"
    
echo -"  \033[33m\033[1m##\033[0m   \033[35m1   -   Server starten\033[0m      \033[33m\033[1m#\033[0m   \033[35m2   -   Server stoppen\033[0m              \033[33m\033[1m##\033[0m"
    
echo -"  \033[33m\033[1m##\033[0m   \033[35m3   -   Server neu starten\033[0m  \033[33m\033[1m#\033[0m   \033[35m4   -   Quests kompillieren\033[0m         \033[33m\033[1m##\033[0m"
    
echo -"  \033[33m\033[1m##\033[0m                                                                       \033[33m\033[1m##\033[0m"
    
echo -"  \033[33m\033[1m###########################################################################\033[0m"
    
echo -""

    
read choice

    clear

    
case $choice in

    1
*)
        
start_server
    
;;
    
2*)
        
stop_server
    
;;
    
3*)
        
restart_cores
    
;;
    
4*)
        
compile_quests
    
;;
    
esac
fi 
in my start script, i have to write my IP
PHP Code:
SERVER_IP=192.168.133.7 
myabe you serverfiles need the same startscript with SERVER_IP command

regards
Lauling is offline  
Old 10/29/2017, 22:44   #5
 
elite*gold: 0
Join Date: Jul 2014
Posts: 3
Received Thanks: 0
My start script:


actually i tried ./game -I PUBLICIP but still but I have the same problem :d
5050hurin is offline  
Old 10/30/2017, 19:16   #6
 
Lauling's Avatar
 
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
which serverfile do you use? i can see, you need libs to start the server.
Do you have the server/client source from the serverfiles? Mybe the problem is the lib, it can be, that this libs are not campatible with freebsd 10.0 or higher
when u have the source of the files, u can edit that u dont need this libs, i think it better to start a server without libs.

regards
Lauling is offline  
Reply

Tags
requested adress


Similar Threads Similar Threads
socket_tcp_bind: tcp_socket: Can't assign requested address
01/03/2015 - Metin2 Private Server - 9 Replies
hi how to fix this on source game 40k.... line source: mainline_released/mainline_sg game/auth:socket_tcp_bind: tcp_socket: Can't assign requested address FreeBSD 9.2 64bit
socket_tcp_bind: tcp_socket: Can't assign requested address
04/16/2014 - Metin2 Private Server - 0 Replies
Hi, habe eben die 40k gamefile aufgesetzt und hat auch soweit alles geklappt, allerdings erscheint folgender Fehler wenn ich den Server hochfahre: socket_tcp_bind: tcp_socket: Can't assign requested address Ich hoffe ihr könnt mir helfen. MfG
HELP!!! socket_tcp_bind: tcp_socket: Can't assign requested address
01/28/2014 - Metin2 Private Server - 4 Replies
Hello. I have a problem http://s3-eu-west-1.amazonaws.com/screenshooter-l egacy/ac-jybxqfwtlewjgzkotsle.jpg Friends told me it needs DIFA on fixa international adres. Has anyone can something like this? FreeBSD 64bit.
Fehler: socket_tcp_bind: tcp_socket: Can't assign requested address
06/08/2012 - Metin2 Private Server - 3 Replies
Heya, habe soeben den folgenden Fehler bei FreeBSD 8.1 64bit bekommen, Server kann aufgrund dieser Fehlermeldung nicht starten. Der DB Core startet, der Rest nicht. "socket_tcp_bind: tcp_socket: Can't assign requested address" Gruß! :)



All times are GMT +1. The time now is 15:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.