Cassandra daily

Comment

Author: Admin | 2025-04-28

I installed cassandra 3.11.3-1 on centos7 & vmware i didn't have error while installing cassandra. i started cassandra and faced this logs. [root@localhost ~]# service cassandra startStarting cassandra (via systemctl): [ OK ][root@localhost ~]# systemctl status cassandracassandra.service - LSB: distributed storage system for structured dataLoaded: loaded (/etc/rc.d/init.d/cassandra; bad; vendor preset: disabled)Active: deactivating (stop) (Result: exit-code) since 2018-08-02 15:15:45 KST; 6s agoDocs: man:systemd-sysv-generator(8)Process: 10366 ExecStart=/etc/rc.d/init.d/cassandra start (code=exited, status=0/SUCCESS)Main PID: 10450 (code=exited, status=3); : 10478 (cassandra)Tasks: 2CGroup: /system.slice/cassandra.service └─control ├─10478 /bin/bash /etc/rc.d/init.d/cassandra stop └─10549 sleep 0.5 02 15:15:39 localhost.localdomain systemd[1]: Starting LSB: distributed stora.... 02 15:15:39 localhost.localdomain su[10376]: (to cassandra) root on none 02 15:15:41 localhost.localdomain cassandra[10366]: Starting Cassandra: OK 02 15:15:41 localhost.localdomain systemd[1]: Started LSB: distributed storag.... 02 15:15:45 localhost.localdomain systemd[1]: cassandra.service: main process...D 02 15:15:45 localhost.localdomain su[10489]: (to cassandra) root on none 02 15:15:45 localhost.localdomain cassandra[10478]: Shutdown Cassandra: bash: … Hint: Some lines were ellipsized, use -l to show in full.it means 'cassandra starting is ok' right? but when i check the node status like this "nodetool status" then i met this logs. "] nodetool status" nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: Connection refused)so i searched a lot on google. i found some information. so i tried this. edit cassandra-env.sh "JVM_OPTS -Djava.rmi.server.hostname=127.0.0.1" expend memory size : 1GB -> 2GB but i still faced same error. someone help me please. ------------- system.log ----------------------------------INFO [main] 2018-08-02 15:15:44,866 YamlConfigurationLoader.java:89 - Configuration location: file:/etc/cassandra/default.conf/cassandra.yamlERROR [main] 2018-08-02 15:15:45,043 CassandraDaemon.java:708 - Exception encountered during startup: Invalid yaml: file:/etc/cassandra/default.conf/cassandra.yamlError: while scanning a simple key; could not found expected ':'; in 'reader', line 601, column 1:Set listen_address OR listen_i ...

Add Comment