HI,
shame on me…I didn’t read carefully the instructions, sorry…anyway I’ve added that lines but nothing changed:
this is my configurations:
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
couchbase:
yum list installed | grep couchbase
couchbase-release.x86_64 1.0-5 installed
couchbase-server-community.x86_64 6.0.0-1693 @couchbase-server-community
I’ve installed also nginx to check if I was able to access the server and I’m able to get the nginx page (only over http).
These my rule on aws:
All traffic
All All 0.0.0.0/0
All traffic
All All ::/0
here iptables:
sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
netstat -lntu:
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:702 0.0.0.0:*
udp 0 0 127.0.0.1:323 0.0.0.0:*
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp6 0 0 :::702 :::*
udp6 0 0 ::1:323 :::*
udp6 0 0 xxx::xxx:xxx:xxxx::xxx :::*
udp6 0 0 :::111 :::*
I checked on the start.log I can see [FAILED]…so maybe something is not working right, but running
sudo service couchbase-server start
I get ok…
Edit: another info
systemctl status couchbase-server.service
● couchbase-server.service - LSB: couchbase server
Loaded: loaded (/etc/rc.d/init.d/couchbase-server; bad; vendor preset: disabled)
Active: active (exited) since Wed 2018-11-07 21:41:04 UTC; 3min 49s ago
Docs: man:systemd-sysv-generator(8)
Process: 3762 ExecStop=/etc/rc.d/init.d/couchbase-server stop (code=exited, status=0/SUCCESS)
Process: 3791 ExecStart=/etc/rc.d/init.d/couchbase-server start (code=exited, status=0/SUCCESS)
xxxx.eu-west-2.compute.internal systemd[1]: Starting LSB: couchbase server...
xxxx.eu-west-2.compute.internal couchbase-server[3791]: Starting couchbase-server-community
xxxx.eu-west-2.compute.internal runuser[3803]: pam_unix(runuser:session): session opened for user couchbase by (uid=0)
xxxx.eu-west-2.compute.internal couchbase-server[3791]: /opt/couchbase/lib/erlang/erts-5.10.4.0.0.1/bin/beam: error while loading shared libraries: libncurses.so.5: can... directory
xxxx.eu-west-2.compute.internal couchbase-server[3791]: [FAILED]
xxxx.eu-west-2.compute.internal systemd[1]: Started LSB: couchbase server.
Hint: Some lines were ellipsized, use -l to show in full.
Last info: I’m using an ec2 instance on free tier, so I think it is very small…maybe this is the problem? I;m not interested on performance, only play with an app created by me to learn…
I’m trying to reach:
http://ec2-xxx.compute.amazonaws.com:8091
ps. I don’t use linux/aws too much…so maybe there is something that I don’t see…
many thanks for your help
Francesco