{"action":"created","issue":{"url":"https://api.github.com/repos/tarantool/tarantool/issues/759","labels_url":"https://api.github.com/repos/tarantool/tarantool/issues/759/labels{/name}","comments_url":"https://api.github.com/repos/tarantool/tarantool/issues/759/comments","events_url":"https://api.github.com/repos/tarantool/tarantool/issues/759/events","html_url":"https://github.com/tarantool/tarantool/issues/759","id":61980948,"number":759,"title":"Tarantool 1.6 is unable to start an instance","user":{"login":"pcdinh","id":42888,"avatar_url":"https://avatars.githubusercontent.com/u/42888?v=3","gravatar_id":"","url":"https://api.github.com/users/pcdinh","html_url":"https://github.com/pcdinh","followers_url":"https://api.github.com/users/pcdinh/followers","following_url":"https://api.github.com/users/pcdinh/following{/other_user}","gists_url":"https://api.github.com/users/pcdinh/gists{/gist_id}","starred_url":"https://api.github.com/users/pcdinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcdinh/subscriptions","organizations_url":"https://api.github.com/users/pcdinh/orgs","repos_url":"https://api.github.com/users/pcdinh/repos","events_url":"https://api.github.com/users/pcdinh/events{/privacy}","received_events_url":"https://api.github.com/users/pcdinh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-16T06:00:57Z","updated_at":"2015-03-16T13:07:12Z","closed_at":null,"body":"Hi,\r\n\r\nI just compiled Tarantool 1.6 by checking out source code and compiling it.\r\n\r\n```\r\ngit clone https://github.com/tarantool/tarantool.git\r\ncd tarantool\r\ngit submodule update --init\r\ncmake .\r\nmake\r\n```\r\nCreate a configuration file\r\n\r\n```\r\ncat > /etc/default/tarantool\r\n\r\ndefault_cfg = {\r\n     pid_file = \"/tmp\",\r\n     wal_dir = \"/tmp\",\r\n     snap_dir = \"/tmp\",\r\n     sophia_dir = \"/tmp\",\r\n     logger = \"/tmp\",\r\n     username = \"azureuser\",\r\n}\r\ninstance_dir = \"/tmp\"\r\n```\r\n\r\nCreate an app\r\n\r\n```\r\ncat > /tmp/my_session.lua\r\nbox.cfg{listen = 33016}\r\nrequire('console').listen(33014)\r\nbox.schema.space.create('session')\r\nbox.space.session:create_index('primary', {type = 'hash', parts = {1, 'STR'}})\r\nbox.schema.user.grant('guest', 'read,write,execute', 'universe')\r\n```\r\n\r\nStart my_session\r\n```\r\nroot@server1:/tmp/tarantool# ./extra/dist/tarantoolctl start my_session\r\n./extra/dist/tarantoolctl: Starting instance...\r\nroot@fscs1:/tmp/tarantool# ps -eaf | grep tarantool\r\nroot     58607 58442  0 05:44 pts/5    00:00:00 grep --color=auto tarantool\r\n```\r\n\r\n`strace` shows somethings wrong with tarantool\r\n\r\n```\r\n[pid 59352] set_robust_list(0x7fdca73ff9e0, 24 <unfinished ...>\r\n[pid 59351] rt_sigprocmask(SIG_SETMASK, [],  <unfinished ...>\r\n[pid 59352] <... set_robust_list resumed> ) = 0\r\n[pid 59351] <... rt_sigprocmask resumed> NULL, 8) = 0\r\n[pid 59351] clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>\r\n[pid 59352] stat(\"/etc/sysconfig/tarantool\",  <unfinished ...>\r\n[pid 59351] <... clock_gettime resumed> {356890, 509694497}) = 0\r\n[pid 59352] <... stat resumed> 0x7fdca741fdc0) = -1 ENOENT (No such file or directory)\r\n[pid 59351] epoll_wait(4,  <unfinished ...>\r\n[pid 59352] write(5, \"\\1\\0\\0\\0\\0\\0\\0\\0\", 8) = 8\r\n[pid 59351] <... epoll_wait resumed> {{EPOLLIN, {u32=5, u64=4294967301}}}, 64, 59743) = 1\r\n[pid 59352] futex(0x83f664, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>\r\n[pid 59351] clock_gettime(CLOCK_MONOTONIC, {356890, 510140188}) = 0\r\n[pid 59351] read(5, \"\\1\\0\\0\\0\\0\\0\\0\\0\", 8) = 8\r\n[pid 59351] futex(0x83f664, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x83f660, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1\r\n[pid 59352] <... futex resumed> )       = 0\r\n[pid 59351] clock_gettime(CLOCK_MONOTONIC, {356890, 510543180}) = 0\r\n[pid 59352] futex(0x83f620, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>\r\n[pid 59351] epoll_wait(4,  <unfinished ...>\r\n[pid 59352] <... futex resumed> )       = 0\r\n[pid 59352] stat(\"/etc/default/tarantool\", {st_mode=S_IFREG|0644, st_size=188, ...}) = 0\r\n[pid 59352] write(5, \"\\1\\0\\0\\0\\0\\0\\0\\0\", 8) = 8\r\n[pid 59351] <... epoll_wait resumed> {{EPOLLIN, {u32=5, u64=4294967301}}}, 64, 59743) = 1\r\n[pid 59352] futex(0x83f664, FUTEX_WAIT_PRIVATE, 3, NULL <unfinished ...>\r\n[pid 59351] clock_gettime(CLOCK_MONOTONIC, {356890, 511105968}) = 0\r\n[pid 59351] read(5, \"\\1\\0\\0\\0\\0\\0\\0\\0\", 8) = 8\r\n[pid 59351] open(\"/etc/default/tarantool\", O_RDONLY) = 6\r\n[pid 59351] fstat(6, {st_mode=S_IFREG|0644, st_size=188, ...}) = 0\r\n[pid 59351] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdca99a5000\r\n[pid 59351] read(6, \"default_cfg = {\\n     pid_file = \\\"/tmp\\\",\\n     wal_dir = \\\"/tmp\\\",\\n     snap_dir = \\\"/tmp\\\",\\n     sophia_dir = \\\"/tmp\\\",\\n     logger = \\\"/tmp\\\",\\n     username = \\\"azureuser\\\",\\n}\\ninstance_dir = \\\"/tmp\\\"\\n\", 8192) = 188\r\n[pid 59351] read(6, \"\", 4096)           = 0\r\n[pid 59351] close(6)                    = 0\r\n[pid 59351] munmap(0x7fdca99a5000, 4096) = 0\r\n[pid 59351] write(2, \"./extra/dist/tarantoolctl: \", 27./extra/dist/tarantoolctl: ) = 27\r\n[pid 59351] write(2, \"Starting instance...\", 20Starting instance...) = 20\r\n[pid 59351] write(2, \"\\n\", 1\r\n)           = 1\r\n[pid 59351] open(\"/tmp/my_session.lua\", O_RDONLY) = 6\r\n[pid 59351] fstat(6, {st_mode=S_IFREG|0664, st_size=188, ...}) = 0\r\n[pid 59351] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdca99a5000\r\n[pid 59351] read(6, \"default_cfg = {\\n     pid_file = \\\"/tmp\\\",\\n     wal_dir = \\\"/tmp\\\",\\n     snap_dir = \\\"/tmp\\\",\\n     sophia_dir = \\\"/tmp\\\",\\n     logger = \\\"/tmp\\\",\\n     username = \\\"azureuser\\\",\\n}\\ninstance_dir = \\\"/tmp\\\"\\n\", 8192) = 188\r\n[pid 59351] read(6, \"\", 4096)           = 0\r\n[pid 59351] close(6)                    = 0\r\n[pid 59351] munmap(0x7fdca99a5000, 4096) = 0\r\n[pid 59351] rt_sigaction(SIGUSR1, {SIG_DFL, [USR1], SA_RESTORER|SA_RESTART, 0x7fdca836bff0}, {0x55a945, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7fdca9139bb0}, 8) = 0\r\n[pid 59351] rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTORER|SA_RESTART, 0x7fdca836bff0}, {0x55a945, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7fdca9139bb0}, 8) = 0\r\n[pid 59351] rt_sigaction(SIGTERM, {SIG_DFL, [TERM], SA_RESTORER|SA_RESTART, 0x7fdca836bff0}, {0x55a945, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7fdca9139bb0}, 8) = 0\r\n[pid 59351] rt_sigaction(SIGHUP, {SIG_DFL, [HUP], SA_RESTORER|SA_RESTART, 0x7fdca836bff0}, {0x55a945, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7fdca9139bb0}, 8) = 0\r\n[pid 59351] munmap(0x7fdca7eae000, 2478288) = 0\r\n[pid 59351] munmap(0x7fdca7ad2000, 4045240) = 0\r\n[pid 59351] munmap(0x7fdca78b9000, 2195784) = 0\r\n[pid 59351] munmap(0x40bd3000, 131072)  = 0\r\n[pid 59351] munmap(0x4120b000, 131072)  = 0\r\n[pid 59351] munmap(0x400de000, 131072)  = 0\r\n[pid 59351] munmap(0x40b90000, 131072)  = 0\r\n[pid 59351] munmap(0x40a1e000, 131072)  = 0\r\n[pid 59351] ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0\r\n[pid 59351] rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7fdca836bff0}, {0x55a945, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7fdca9139bb0}, 8) = 0\r\n[pid 59351] close(5)                    = 0\r\n[pid 59351] close(4)                    = 0\r\n[pid 59351] close(3)                    = 0\r\n[pid 59351] exit_group(0)               = ?\r\n[pid 59352] +++ exited with 0 +++\r\n+++ exited with 0 +++\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/tarantool/tarantool/issues/comments/81649226","html_url":"https://github.com/tarantool/tarantool/issues/759#issuecomment-81649226","issue_url":"https://api.github.com/repos/tarantool/tarantool/issues/759","id":81649226,"user":{"login":"pcdinh","id":42888,"avatar_url":"https://avatars.githubusercontent.com/u/42888?v=3","gravatar_id":"","url":"https://api.github.com/users/pcdinh","html_url":"https://github.com/pcdinh","followers_url":"https://api.github.com/users/pcdinh/followers","following_url":"https://api.github.com/users/pcdinh/following{/other_user}","gists_url":"https://api.github.com/users/pcdinh/gists{/gist_id}","starred_url":"https://api.github.com/users/pcdinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcdinh/subscriptions","organizations_url":"https://api.github.com/users/pcdinh/orgs","repos_url":"https://api.github.com/users/pcdinh/repos","events_url":"https://api.github.com/users/pcdinh/events{/privacy}","received_events_url":"https://api.github.com/users/pcdinh/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T13:07:12Z","updated_at":"2015-03-16T13:07:12Z","body":"I already launched a new Azure Ubuntu VM to test Tarantool 1.6. Same procedure. It works\r\n\r\nMy guess is: Tarantool 1.5 installation caused issue even when it had been removed. If it is the case, Tarantool upgrade can be a non-trivial problem. Is there any idea to debug in that issue?\r\n\r\nPS: I noticed that `tarantool_box -background` is still available in 1.6"}}