Jump to content

Cannot start mangos as deamon


Guest Janu

Recommended Posts

Hey,

everytime I try to start mangos as deamon I get following crash. Can anyone help or has an idea?

Program received signal SIGTERM, Terminated.
0x00007ffff5e1a42d in pause () at ../sysdeps/unix/syscall-template.S:82
82      ../sysdeps/unix/syscall-template.S: No such file or directory.
       in ../sysdeps/unix/syscall-template.S
(gdb) bt full
#0  0x00007ffff5e1a42d in pause () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x0000000000a87ccf in startDaemon (timeout=10) at /opt/mangos/source/mangos/src/shared/PosixDaemon.cpp:66
No locals.
#2  0x0000000000512897 in main (argc=<value optimised out>, argv=0x7fffffffe768) at /opt/mangos/source/mangos/src/mangosd/Main.cpp:182
       cfg_file = 0xb3f730 "/opt/mangos/server/test/etc/mangosd.conf"
       mc_cfg_file = 0xb3f700 "/opt/mangos/server/test/etc/mangchat.conf"
       cmd_opts = {argc_ = 3, argv_ = 0x7fffffffe768, optind = 3, opterr = 0, optarg = 0x0, optstring_ = 0x7ffff7fdbf88, long_only_ = 0, has_colon_ = 1, last_option_ = 0x7ffff7fdbf60, 
         nextchar_ = 0x0, optopt_ = 115, ordering_ = 2, nonopt_start_ = 3, nonopt_end_ = 3, long_option_ = 0x0, long_opts_ = {<ACE_Array_Base<ACE_Get_Opt::ACE_Get_Opt_Long_Option*>> = {
             max_size_ = 1, cur_size_ = 1, array_ = 0x7ffff7fafff0, allocator_ = 0x7ffff7ddb030}, <No data fields>}}
       serviceDaemonMode = 114 'r'
       option = <value optimised out>

Main.cpp:182 is startDemon();

PosixDaemon.cpp:66 is pause();

PS: We have custom use of MangChat with additional config file. You can see here:

mc_cfg_file = 0xb3f700 "/opt/mangos/server/test/etc/mangchat.conf"

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use