NREL / api-umbrella

Open source API management platform
http://apiumbrella.io
MIT License
2.01k stars 324 forks source link

api-umbrella doesn't start Centos 7 : control process exited, code=exited status=132 #384

Open anmunoz opened 6 years ago

anmunoz commented 6 years ago

I am trying to install api umbrella from the binary package for centos 7, the installation was successful, but when I try start api-umbrella /etc/rc.d/init.d/api-umbrella start it return failed

[root@xxx yum.repos.d]# /etc/rc.d/init.d/api-umbrella start Starting api-umbrella (via systemctl): Job for api-umbrella.service failed because the control process exited with error code. See "systemctl status api-umbrella.service" and "journalctl -xe" for details. [FAILED]

And any log was created, the journalctl -xe shows,

Oct 06 11:03:32 mcu2 polkitd[682]: Registered Authentication Agent for unix-process:6794:430755 (system bus name :1.168 [/usr/bin Oct 06 11:03:32 mcu2 [1]: Starting LSB: API Umbrella... -- Subject: Unit api-umbrella.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit api-umbrella.service has begun starting up. Oct 06 11:03:32 mcu2 kernel: traps: nginx[6824] trap invalid opcode ip:7f253390ca5e sp:7ffcb32e1030 error:0 in libluajit-5.1.so.2 Oct 06 11:03:32 mcu2 abrt-hook-ccpp[6825]: Process 6824 (nginx) of user 0 killed by SIGILL - dumping core Oct 06 11:03:32 mcu2 abrt-hook-ccpp[6825]: Failed to create core_backtrace: dwfl_getthread_frames failed: No DWARF information fo Oct 06 11:03:32 mcu2 api-umbrella[6800]: Starting api-umbrella: [FAILED] Oct 06 11:03:32 mcu2 systemd[1]: api-umbrella.service: control process exited, code=exited status=132 Oct 06 11:03:32 mcu2 systemd[1]: Failed to start LSB: API Umbrella. -- Subject: Unit api-umbrella.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit api-umbrella.service has failed. -- -- The result is failed. Oct 06 11:03:32 mcu2 systemd[1]: Unit api-umbrella.service entered failed state. Oct 06 11:03:32 mcu2 systemd[1]: api-umbrella.service failed.

My linux distribution is Centos 7, and the version of api umbrella installed is 0.14.4-1

Please, can anybody help me to solve this problem?

anmunoz commented 6 years ago

I have been testing in centos 6.9 and ubuntu 16, and I have the same

GUI commented 6 years ago

Hm, the fact that it's core dumping is pretty strange. Are you getting the same "trap invalid opcode" error in CentOS 6.9 and Ubuntu 16? Is this a 64 bit machine you're installing the packages on (we only provide 64bit binaries)? And how much RAM does this system have (we typically recommend 1.5GB minimum).

anmunoz commented 6 years ago

Hello, yes i had the same "trap invalid opcode" error in CentOS 6.9 and Ubuntu 16, mi machin is of 64bits, core 2 duo with 2 gb of RAM

anmunoz commented 6 years ago

@GUI , Finally, I use an instance in open stack and everything work without problems, the installation was successful without errors, and the api-umbrella works correctly. I have been reading about this problem and I found that maybe the issue was related with my processor architecture because openrestry needs some instructions that the core 2 duo processor doesn't have.