Apache APISIX on CentOS Linux release 7.9.2009 (Core)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I installing Apache APISIX https://apisix.apache.org/  on CentOS Linux
release 7.9.2009 (Core) by referring to
https://apisix.apache.org/docs/apisix/how-to-build

[root@]#systemctl cat apisix.service
# /usr/lib/systemd/system/apisix.service
# apisix systemd service
#
https://github.com/api7/apisix-build-tools/blob/master/usr/lib/systemd/system/apisix.service
[Unit]
Description=apisix
#Conflicts=apisix.service
After=network-online.target
Wants=network-online.target

[Service]
Type=forking
Restart=on-failure
WorkingDirectory=/usr/local/apisix
ExecStart=/usr/bin/apisix start
ExecStop=/usr/bin/apisix stop
ExecReload=/usr/bin/apisix reload
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target

[root@]# systemctl restart apisix
Job for apisix.service failed because the control process exited with error
code. See "systemctl status apisix.service" and "journalctl -xe" for
details.
[root@apacheapisixapigateway ~]# systemctl status apisix
● apisix.service - apisix
   Loaded: loaded (/usr/lib/systemd/system/apisix.service; disabled; vendor
preset: disabled)
   Active: failed (Result: start-limit) since Thu 2022-04-14 20:29:36 IST;
2ms ago
  Process: 1597 ExecStart=/usr/bin/apisix start (code=exited,
status=1/FAILURE)

Apr 14 20:29:35 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 20:29:35 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 20:29:35 apacheapisixapigateway systemd[1]: apisix.service failed.
Apr 14 20:29:36 apacheapisixapigateway systemd[1]: apisix.service holdoff
time over, scheduling restart.
Apr 14 20:29:36 apacheapisixapigateway systemd[1]: Stopped apisix.
Apr 14 20:29:36 apacheapisixapigateway systemd[1]: start request repeated
too quickly for apisix.service
Apr 14 20:29:36 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 20:29:36 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 20:29:36 apacheapisixapigateway systemd[1]: apisix.service failed.

[root@]#journalctl -u apisix.service
Apr 14 23:29:42 apacheapisixapigateway apisix[1798]:
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua start
Apr 14 23:29:42 apacheapisixapigateway apisix[1798]: etcd cluster version
3.3.0 is less than the required version 3.4.0, please upgrade your etcd
cluster
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: apisix.service: control
process exited, code=exited status=1
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: apisix.service failed.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: apisix.service holdoff
time over, scheduling restart.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Stopped apisix.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Starting apisix...
Apr 14 23:29:42 apacheapisixapigateway apisix[1822]:
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua start
Apr 14 23:29:42 apacheapisixapigateway apisix[1822]: etcd cluster version
3.3.0 is less than the required version 3.4.0, please upgrade your etcd
cluster
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: apisix.service: control
process exited, code=exited status=1
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: apisix.service failed.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: apisix.service holdoff
time over, scheduling restart.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Stopped apisix.
Apr 14 23:29:42 apacheapisixapigateway systemd[1]: Starting apisix...
Apr 14 23:29:42 apacheapisixapigateway apisix[1845]:
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua start
Apr 14 23:29:43 apacheapisixapigateway apisix[1845]: etcd cluster version
3.3.0 is less than the required version 3.4.0, please upgrade your etcd
cluster
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service: control
process exited, code=exited status=1
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service failed.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service holdoff
time over, scheduling restart.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Stopped apisix.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Starting apisix...
Apr 14 23:29:43 apacheapisixapigateway apisix[1869]:
/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua start
Apr 14 23:29:43 apacheapisixapigateway apisix[1869]: etcd cluster version
3.3.0 is less than the required version 3.4.0, please upgrade your etcd
cluster
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service: control
process exited, code=exited status=1
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service failed.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service holdoff
time over, scheduling restart.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Stopped apisix.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: start request repeated
too quickly for apisix.service
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Failed to start apisix.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: Unit apisix.service
entered failed state.
Apr 14 23:29:43 apacheapisixapigateway systemd[1]: apisix.service failed.

Please guide me. Thanks in Advance.

Best Regards,

Kaushal
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux