• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Chroot_Update broken

VinnyT

Regular Pleskian
Hi. I am trying to add new programs to the CHROOTED environment via this post: http://kb.odin.com/en/115842

I downloaded the following file "http://kb.odin.com/Attachments/kcs-19590/chroot_update.zip", but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working. Can you please update the file or attach a new copy to this message?

Thanks

: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then
 
Fix script with

# yum install dos2unix
# dos2unix chroot_update.sh
 
Back
Top