Comments (11)
Can we please know what issues you have faced before changing the permission of the files? And please let us know what is the command that is used to trigger the script?
from adc-scripts.
from adc-scripts.
Can you please share the issue you have faced before changing the permission?
from adc-scripts.
from adc-scripts.
Can you please confirm if you have triggered "bash nspepi_install_script" before triggering "./check_invalid_config"?
We are adjusting the permission of required files to 550 when "bash nspepi_install_script" is triggered. There is no need for 744 permissions.
from adc-scripts.
from adc-scripts.
I receive an error when running bash nspepi_install_script with multiple lines showing command not foundpt: and then line 32 has a problem with the "'do" at the end of line 32. I'm running ADC 12.1 build 62.27. Attached results.
nspepi_install_script issue.txt
from adc-scripts.
Can you please shares the steps you tried? I'm not able to reproduce the issue.
root@TODEVNS0004# cd /netscaler/
root@TODEVNS0004# bash nspepi_install_script
Copying the files to /var/nspepi_backup as a backup
Installation successful
root@TODEVNS0004# logout
Done
sh ver
NetScaler NS12.1: Build 62.27.nc, Date: Jul 6 2021, 19:29:04 (64-bit)
Done
from adc-scripts.
I'm having the same issue as @tknoblock1 but I'm on version: NetScaler NS13.0: Build 87.9.nc, Date: Jul 29 2022, 10:59:37 (64-bit)
I moved/renamed the existing files/dir
mv /netscaler/check_invalid_config /netscaler/check_invalid_config.bak
mv /netscaler/nspepi /netscaler/nspepi.bak
mv /netscaler/nspepi2 /netscaler/nspepi2-bak
then copied over the new files to /netscaler
cp /root/check_invalid_config /netscaler/check_invalid_config
cp /root/nspepi_install_script /netscaler/nspepi_install_script
cp /root/nspepi /netscaler/nspepi
cp -Rv /root/nspepi2 /netscaler/nspepi2
then I chmod 500 on several of the files I saw had different mode than the originals
chmod 550 /netscaler/check_invalid_config
chmod 550 /netscaler/nspepi_install_script
chmod 550 /netscaler/nspepi
chmod 550 /netscaler/nspepi2/config_check_main.py
chmod 550 /netscaler/nspepi2/nspepi_main.py
chmod 550 /netscaler/nspepi2/nspepi_helper
Then I try to run in the install script and it fails like Taylor motioned
root@NETSCALER# bash nspepi_install_script
: command not foundpt: line 2:
: command not foundpt: line 6:
: command not foundpt: line 13:
: command not foundpt: line 18:
: command not foundpt: line 25:
'spepi_install_script: line 32: syntax error near unexpected token `do
'spepi_install_script: line 32: ` for file in "${file_list_to_copy[@]}"; do
from adc-scripts.
@bwdbethke , You don't need to move or rename files manually. This should be done by nspepi_install_script script. Can you please tell me how did you copy nspepi_install_script script? Using GIT command? And the OS on which you copied the file?
from adc-scripts.
I receive an error when running bash nspepi_install_script with multiple lines showing command not foundpt: and then line 32 has a problem with the "'do" at the end of line 32. I'm running ADC 12.1 build 62.27. Attached results. nspepi_install_script issue.txt
Check out the post at https://discussions.citrix.com/topic/417810-issues-installing-pre-validation-script-for-131-upgrade-solved/#comment-2095929 Problem is the EOL format. Just convert it and reupload the files to Netscaler.
from adc-scripts.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adc-scripts.