NetXMS Support Forum

English Support => General Support => Topic started by: new centos7 user on June 10, 2017, 05:22:42 PM

Poll
Question: I can't remove netxms file as it show nothing in the dir? What do I do I am confused.
Option 1: Cnetos 7 votes: 0
Option 2: Netxms votes: 0
Title: I have two directories for some reason one as netxms and one netxms-2.0.8
Post by: new centos7 user on June 10, 2017, 05:22:42 PM
I have nxmc intalled along with the tomcat 7 for web gui but don't know How to access that file as I am new to netxms and centos 7
Thanks for any help!!!


[root@localhost ~]# rm netxms rm: cannot remove 'netxms': Is a directory [root@localhost ~]
# dir anaconda-ks.cfg apache-tomcat-7.0.62.tar.gz control.tar.gz Desktop Documents Downloads google-chrome-stable_current_x86_64.rpm index.html index.html.1 initial-setup-ks.cfg Music mysql-community-release-el7-5.noarch.rpm netxms netxms-2.0.8 netxms-2.0.8.tar.gz Pictures Public Templates thinclient_drives Videos
[root@localhost ~]# cd netxms
root@localhost netxms]# dir
[root@localhost netxms]# ls dir ls: cannot access dir: No such file or directory
[root@localhost netxms]#


Title: Re: I have two directories for some reason one as netxms and one netxms-2.0.8
Post by: Ēriks Jenkēvics on June 12, 2017, 10:02:19 AM
For instructions regarding the installation of the WebUI, please follow the steps covered in our Wiki page: https://wiki.netxms.org/wiki/Web_Interface_Installation_Guide

From the console output you posted, it looks like you`re trying to remove a directory, not a file. What you should be using is either rm -r (the recursive option), or rmdir
Title: Re: I have two directories for some reason one as netxms and one netxms-2.0.8
Post by: new centos7 user on June 12, 2017, 02:54:01 PM
Thanks :)