Cisco Cisco Prime Unified Provisioning Manager 9.0 Installation Guide

Page of 54
51
 
Fixing File Problems
Error: Bad Interpreter: No such file or directory
If you get this error while using the troubleshooting tools, do the following: 
Step 1
Open the file using a VI editor: 
vi
 filename
Step 2
After the file is loaded, enter the following command: 
:setfileformat=unix
Step 3
Save and exit the file by entering the following command:
:!wq
Error: File contains ^M and the script does not run
If you get this error while using the troubleshooting tools, do the following: 
Step 1
Open the file using a VI editor: 
vi
 filename
Step 2
After the file is loaded, enter the following command: 
:setfileformat=unix
Step 3
Save and exit the file by entering the following command:
:!wq
Error: No permission for running the file.
If you encounter this error: 
Step 1
Log into the Provisioning Manager server as root using SSH.
Step 2
Open the command prompt.
Step 3
Navigate to the directory that contains the required file.
Step 4
Enter the following command: 
chmod 777
 filename
where 
filename
 is the problematic file.