But the last command gave me the error shown in picture. I tried sudo rm /var/lib/dpkg/lock but this didnt work because it is a read-only file and showed this error-
rm: cannot remove '/var/lib/dpkg/lock': Read-only file system
I changed directory to /var/lib/dpkg and opened one of the file but couldnt access its contents. Can You tell how to make sure I am able to touch files in this directory?
I see a read only error- touch: cannot touch 'testfile': Read-only file system
But I have done installations of ELk before so not sure how now there is a system error. and what is this system error?
I think the file system has an error and has gone read only. It doesn't look like it's related to filebeat. I would try a fresh build of the system if you can do so without losing anything important.
Got it. fresh build in the sense where I delete all the installations made for filebeat or close the terminal and restart the system and restart the installation process?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.