NCPA Agent - Service fails to start with error
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
NCPA Agent - Service fails to start with error
I have a NCPA agent deployed to RHEL 7.5. Both the listener and pasive services will start with a full OS reboot. However, they can not be started or restarted from the OS. They get an error, "OSError: [Errno 2] No such file or directory:" followed by the directory name. These are mapped network directories for which I have no access or control. Is there a way to get the NCPA to ignore these directories? Or is there another solution as to why this happened?
Re: NCPA Agent - Service fails to start with error
What version of the NCPA agent is loaded on the server?
In the ncpa.cfg file, there are settings for the agent to exclude file system types.
If you are not monitoring the mounted file system, adding it to the exclude list may help on the startup of the agent.
In the ncpa.cfg file, there are settings for the agent to exclude file system types.
# Excluded file system types removes these fs types from the disk metrics
# (This is mostly only noteable on UNIX systems but also works on Windows if you need it)
# Default: aufs,autofs,binfmt_misc,cifs,cgroup,configfs,debugfs,devpts,devtmpfs,
# encryptfs,efivarfs,fuse,fusectl,hugetlbfs,mqueue,nfs,overlayfs,proc,pstore,
# rpc_pipefs,securityfs,selinuxfs,smb,sysfs,tmpfs,tracefs
Code: Select all
exclude_fs_types = aufs,autofs,binfmt_misc,cifs,cgroup,configfs,debugfs,devpts,devtmpfs,encryptfs,efivarfs,fuse,fusectl,hugetlbfs,mqueue,nfs,overlayfs,proc,pstore,rpc_pipefs,securityfs,selinuxfs,smb,sysfs,tmpfs,tracefsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA Agent - Service fails to start with error
Please run these commands exactly as shown and send me the entire output:
- There's a reason I'm switching between sysv and systemd style in the commands below, it's a very specific bug I'm testing for.
You also don't indicate what you mean by "can not be started or restart from the OS", please answer these questions:
- What commands were you running?
-- Please post the entire commands you ran and their full output for review.
Thank you
- There's a reason I'm switching between sysv and systemd style in the commands below, it's a very specific bug I'm testing for.
Code: Select all
systemctl status ncpa_listener -l
service ncpa_listener stop
systemctl stop ncpa_listener
service ncpa_listener start
service ncpa_listener status -l
systemctl status ncpa_listener -l- What commands were you running?
-- Please post the entire commands you ran and their full output for review.
Thank you