Article - CS257078
Error "sudo: chkconfig: command not found" is returned when installing UploadThing on Ubuntu
Modified: 02-Jun-2017
Applies To
- ThingWorx Analytics 52.2 to 7.4
- Ubuntu
Description
- Following error is returned when executing sudo sh ./install.sh on Ubuntu 14
Where do you want to install 'UploadThing' [/opt]?
./install.sh: 1: ./install.sh: Bad substitution
./install.sh: 142: [: ==: unexpected operator
sudo: chkconfig: command not found
/etc/init.d/UploadThing: line 8: /etc/rc.d/init.d/functions: No such file or directory
Starting UploadThing: /etc/init.d/UploadThing: line 19: runuser: command not found
touch: cannot touch ‘/var/lock/subsys/UploadThing’: No such file or directory
./install.sh: 1: ./install.sh: Bad substitution
./install.sh: 142: [: ==: unexpected operator
sudo: chkconfig: command not found
/etc/init.d/UploadThing: line 8: /etc/rc.d/init.d/functions: No such file or directory
Starting UploadThing: /etc/init.d/UploadThing: line 19: runuser: command not found
touch: cannot touch ‘/var/lock/subsys/UploadThing’: No such file or directory
- Following error is reported when installing on Ubuntu 16
Where do you want to install 'UploadThing' [/opt]?
./install.sh: 1: ./install.sh: Bad substitution
./install.sh: 142: [: ==: unexpected operator
"cp: cannot create regular file '/usr/lib/systemd/system/UploadThing.service': No such file or directory
ln: failed to create symbolic link '/etc/systemd/system/multi-user.target.wants/UploadThing.service': File exists
./install.sh: 1: ./install.sh: Bad substitution
./install.sh: 142: [: ==: unexpected operator
"cp: cannot create regular file '/usr/lib/systemd/system/UploadThing.service': No such file or directory
ln: failed to create symbolic link '/etc/systemd/system/multi-user.target.wants/UploadThing.service': File exists
This is a printer-friendly version of Article 257078 and may be out of date. For the latest version click CS257078