- Code: Select all
5: Bind failed: Адрес уже используется
2015-08-09 06:18:04: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-08-09 06:18:04: ERROR[main]: Failed to bind socket (port already in use?)
In thread 7f02a9f09780:
/root/minetest/src/server.cpp:511: void Server::step(float): A fatal error occurred: Failed to bind socket (port already in use?)
Debug stacks:
DEBUG STACK FOR THREAD 7f029affb700:
#0 virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f029b9fc700:
#0 virtual void* ServerThread::Thread()
#1 void Server::Receive()
(Leftover data: #2 void Server::SendBlocks(float))
(Leftover data: #3 void ItemStack::serialize(std::ostream&) const)
DEBUG STACK FOR THREAD 7f02a9f09780:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
#3 void Server::step(float)
2015-08-09 07:34:12: ERROR[ServerThread]: suspiciously large amount of objects detected: 50 in (-61,1,-16); removing all of them.
fields1:{
title = "",
text = "",
save = "Save",
quit = "true"
}
data1:nil
fields:{
title = "",
text = "",
save = "Save",
quit = "true"
}
data:{
owner = "Diana",
title = "",
text = ""
}
fields1:{
title = "Молодоженам.",
text = "Дорогие мои молодожены.Вам подарлк.Это ваша дача.Будьте счастливы!!",
save = "Save",
quit = "true"
}
data1:nil
fields1:{
title = "Молодоженам.",
text = "Дорогие мои молодожены.Вам подарлк.Это ваша дача.Будьте счастливы!!",
save = "Save",
quit = "true"
}
data1:nil
fields:{
title = "Молодоженам.",
text = "Дорогие мои молодожены.Вам подарлк.Это ваша дача.Будьте счастливы!!",
save = "Save",
quit = "true"
}
data:{
owner = "ogyrechiki",
title = "Молодоженам.",
text = "Дорогие мои молодожены.Вам подарлк.Это ваша дача.Будьте счастливы!!"
}
fields1:{
title = "",
text = "",
save = "Save",
quit = "true"
}
data1:nil
2015-08-09 10:32:50: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (-253,5,-118) (block (-16,0,-8))
fields1:{
title = "Поздравляем",
text = "В сей знаменательный день поздравляем молодоженов со свадьбой!!!",
save = "Save",
quit = "true"
}
data1:nil
fields:{
title = "Поздравляем",
text = "В сей знаменательный день поздравляем молодоженов со свадьбой!!!",
save = "Save",
quit = "true"
}
data:{
owner = "amadin",
title = "Поздравляем",
text = "В сей знаменательный день поздравляем молодоженов со свадьбой!!!"
}
10:40:46: WARNING: Assignment to undeclared global "text" inside a function at ...t/bin/../games/minetest_game/mods/playereffects/init.lua:488.
2015-08-09 10:41:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-294) (block (3,2,-19))
2015-08-09 10:41:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-293) (block (3,2,-19))
2015-08-09 10:41:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-292) (block (3,2,-19))
2015-08-09 10:41:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-291) (block (3,2,-19))
2015-08-09 10:41:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-290) (block (3,2,-19))
2015-08-09 10:41:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-289) (block (3,2,-19))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-293) (block (3,2,-19))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-292) (block (3,2,-19))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-291) (block (3,2,-19))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-290) (block (3,2,-19))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (48,37,-289) (block (3,2,-19))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_willow" at (48,37,-288) (block (3,2,-18))
2015-08-09 10:41:44: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_willow" at (48,37,-287) (block (3,2,-18))
2015-08-09 10:41:58: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:willow_twig" at (52,39,-288) (block (3,2,-18))
2015-08-09 10:41:58: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (53,37,-286) (block (3,2,-18))
2015-08-09 10:41:58: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (54,37,-286) (block (3,2,-18))
2015-08-09 10:41:58: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (55,37,-286) (block (3,2,-18))
2015-08-09 10:41:58: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:fence_acacia" at (56,37,-286) (block (3,2,-18))
fields1:{
title = "Поздравляем",
text = "В сей знаменательный день поздравляем молодоженов со свадьбой!!!",
save = "Save",
quit = "true"
}
data1:nil
fields:{
title = "Поздравляем",
text = "В сей знаменательный день поздравляем молодоженов со свадьбой!!!",
save = "Save",
quit = "true"
}
data:{
owner = "kuku_ept",
title = "Поздравляем",
text = "В сей знаменательный день поздравляем молодоженов со свадьбой!!!"
}
2015-08-09 10:49:08: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:mushroom_trunk" at (49,42,-291) (block (3,2,-19))
2015-08-09 10:49:08: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:mushroom_trunk" at (49,43,-291) (block (3,2,-19))
2015-08-09 10:49:08: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:willow_wood" at (50,43,-291) (block (3,2,-19))
2015-08-09 10:49:08: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:willow_wood" at (51,44,-291) (block (3,2,-19))
2015-08-09 10:49:08: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:willow_twig" at (52,39,-288) (block (3,2,-18))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (52,47,-293) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (53,47,-293) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (51,47,-292) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (52,47,-292) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (53,47,-292) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (54,47,-292) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:mushroom_trunk" at (51,45,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:mushroom_trunk" at (52,45,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (50,46,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (51,46,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (52,46,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (53,46,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (51,47,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (52,47,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (53,47,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (54,47,-291) (block (3,2,-19))
2015-08-09 10:53:20: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:acacia_wood" at (55,47,-291) (block (3,2,-19))
2015-08-09 11:17:24: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:mushroom_trunk" at (-697,14,-106) (block (-44,0,-7))
2015-08-09 11:17:24: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:redwood_wood" at (-697,15,-105) (block (-44,0,-7))
2015-08-09 11:18:22: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "stairs:stair_palm_wood" at (-689,4,-66) (block (-44,0,-5))
2015-08-09 11:18:22: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "default:torch" at (-689,6,-66) (block (-44,0,-5))
2015-08-09 11:18:22: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "stairs:stair_palm_wood" at (-687,4,-65) (block (-43,0,-5))
2015-08-09 11:19:37: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:banana_wood" at (-797,1,-99) (block (-50,0,-7))
2015-08-09 11:19:37: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "ethereal:banana_wood" at (-796,1,-99) (block (-50,0,-7))
2015-08-09 11:19:38: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "default:ladder" at (-799,2,-98) (block (-50,0,-7))
2015-08-09 11:19:38: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "default:ladder" at (-799,3,-98) (block (-50,0,-7))
2015-08-09 11:19:38: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "default:ladder" at (-799,4,-98) (block (-50,0,-7))
2015-08-09 11:29:58: ERROR[ServerThread]: Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to replace "default:torch" at (-936,-128,-63) (block (-59,-8,-4))
2015-08-09 11:46:14: ERROR[ServerThread]: Item "memorandum:letter_written" not defined
2015-08-09 11:46:14: ERROR[ServerThread]: Item "memorandum:letter_written" not defined
2015-08-09 11:46:16: ERROR[ServerThread]: Item "memorandum:letter_written" not defined
"Адрес уже используется" - translated as "Adress already in use" but my autorestart script don't started (it must write in log about this) and server still runing (i use htop) but don't work for players and not allow connect. Before update server and migration to redis from leveldb server always shutdown on errors itself. But now server do not shutdown itself on error and freezes 2-3 times a day and last time without errors.
0.4.12-dev last update about 2-4 days ago from github, debian jessy x86_64, redis 3.0.3 (no errors in log).
*added 10.08. I think it is redis because i install old minetestserver (0.4.12-dev june from github) and still see this errors but server work fine.
My autorestart script:
- Code: Select all
#!/bin/bash
RESTART="/etc/init.d/minetest start"
STOP="/etc/init.d/minetest stop"
SERVICE="minetestserver"
WORLD="world"
USERNAME="user"
MTPATH="/home/$USERNAME/minetest"
MAPPATH="/home/$USERNAME/minetest/worlds/world"
CPU_COUNT=2
INVOCATION="/home/$USERNAME/minetest/bin/$SERVICE"
OPTIONS="--worldname $WORLD"
MAPPER="$MTPATH/util/minetestmapper.py"
LOGPATH="/home/user/minetest"
LOGFILE="$LOGPATH/minetest.log"
BACKUPPATH="/home/$USERNAME/backup"
PIDFILE=/var/run/$SERVICE.pid
# Путь к pgrep команде
PGREP="/usr/bin/pgrep"
# httpd имя демона,
# RHEL/CentOS/Fedora - httpd
# Under Debian 4.x - apache2
HTTPD="minetestserver"
# поиск httpd pid
$PGREP ${HTTPD}
if [ $? -ne 0 ] # if not running
then
# перезапуск
echo "Restart" $(date +"%y-%m-%d %T") >> /home/user/minetest/minetest-crash.log
rm $PIDFILE
sh /etc/init.d/minetest start >> /home/user/minetest/minetest-crash.log
sleep 5
fi