0

Following this Autodesk tutorial, I'm running into a road block where enabling Autodesk Licensing Service service fails:

systemctl enable adsklicensing –-quiet
Failed to enable unit: Unit file \xe2\x80\x93-quiet.service does not exist.

This post quotes the exact same issue, but --quiet renders the same error.

Play by play:

This is OK:

sudo apt-get install ./adsklicensing9.2.1.2399_0-1_amd64.deb

But this doesn't know about the service:

systemctl status adsklicensing

So trying the next step, this doesn't exist:

/opt/Autodesk/AdskLicensingService --run

So I found it in:

/opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/AdskLicensingService

but it just sits there and nothing happens:

/opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/AdskLicensingService --run

So I do the next steps they suggest:

sudo getent group adsklic &>/dev/null || sudo groupadd adsklic
sudo id -u adsklic &>/dev/null || sudo useradd -M -r -g adsklic adsklic -d / -s /usr/sbin/nologin  
sudo ln -sf /opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/AdskLicensingService /usr/bin/AdskLicensingService
sudo mkdir /usr/lib/systemd/system
sudo cp -f /opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/adsklicensing.el7.service /usr/lib/systemd/system/adsklicensing.service
sudo chmod 644 /usr/lib/systemd/system/adsklicensing.service
sudo systemctl daemon-reload
sudo systemctl enable adsklicensing –quiet
sudo systemctl start adsklicensing

But the second last one:

sudo systemctl enable adsklicensing –quiet (or --quiet)

says:

Failed to enable unit: Unit file \xe2\x80\x93quiet.service does not exist.

1 Answers1

1

I know this is an old post, and you've probably solved it.

I'm experiencing a completely different problem, however I can see that your problem is that you've copied too much of the instructions without checking the end result.

The line "systemctl enable adsklicensing –quiet" contains an invalid "long dash" character, which in hex is represented as "\xe2\x80\x93", replace that with two normal dashes instead and it should work.

Simon
  • 11