mscs: sudo: msctl: command not found

Server info in case this is helpful in troubleshooting:

[XXX@SERVER mscs]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)

I followed the install process using github clone and make install. All seemed to go well.

This server already has a world setup and I was about to import it but decided to try a list first just to see if the install worked.

[XXX@SERVER mscs]$ mscs ls
sudo: msctl: command not found

The msctl script in the mscs directory was mode 664, so I tried a chmod +x, but still no joy.

Running it directly gives an error that should be easy to overcome, but I wanted to open this issue first in case there is an underlying issue:

[[XXX@SERVER mscs]$ ./msctl
which: no rdiff-backup in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/opc/.local/bin:/home/opc/bin)
ERROR: rdiff-backup not found!
Try installing this with:
sudo apt-get install rdiff-backup

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

Hmm, I was experiencing the same issue on CentOS 8. I simply changed L34 of mscs to sudo "PATH=$PATH" -u $USER_NAME -H /usr/local/bin/msctl $MSCS_ARGS and it seems to be working fine for now.