Reason needed for the following message: Failed to open file: /flash/nsconfig/.callhome.conf, Permission denied
book
Article ID: CTX233308
calendar_today
Updated On:
Description
Continuous dump of below message in ns.log , Dec 11 10:06:59 <local0.info> ns httpd: Failed to open file:/flash/nsconfig/.callhome.conf, Permission denied Dec 11 10:06:59 <local0.info> 10.106.99.90 12/11/2017:10:06:59 GMT 0-PPE-0 : default API CMD_EXECUTED 71 0 : User nsroot - Remote_ip 10.106.99.191 - Command "stat ns" - Status "Success" Dec 11 10:07:00 <local0.info> ns httpd: Failed to open file:/flash/nsconfig/.callhome.conf, Permission denied Dec 11 10:07:00 <local0.info> 10.106.99.90 12/11/2017:10:07:00 GMT 0-PPE-0 : default API CMD_EXECUTED 73 0 : User nsroot - Remote_ip 10.102.69.8 - Command "stat ns" - Status "Success" Dec 11 10:07:00 <local0.info> ns httpd: Failed to open file:/flash/nsconfig/.callhome.conf, Permission denied Dec 11 10:07:00 <local0.info> 10.106.99.90 12/11/2017:10:07:00 GMT 0-PPE-0 : default API CMD_EXECUTED 75 0 : User nsroot - Remote_ip 10.102.69.8 - Command "stat system" - Status "Success" Dec 11 10:07:00 <local0.info> ns httpd: Failed to open file:/flash/nsconfig/.callhome.conf, Permission denied Dec 11 10:07:00 <local0.info> 10.106.99.90 12/11/2017:10:07:00 GMT 0-PPE-0 : default API CMD_EXECUTED 77 0 : User nsroot - Remote_ip 10.102.69.8 - Command "stat system memory" - Status "Success" |
|
Resolution
Workaround:
Permission of the file can be changed to 666 (-rw-rw-rw-) to avoid this error.
Commands:
>shell
#cd /nsconfig
#chmod 666 .callhome.conf
Permanent fix:
We have already developed a fix for this and it will be included in Version 12.0 Build 58.x and later.
Problem Cause
File /nsconfig/.callhome.conf is have permissions 644 (-rw-r--r--) and the file is always opened with r+ mode. If the user does not have write permission will get this error.
There is no functionality break due to this.
Was this article helpful?
thumb_up
Yes
thumb_down
No