This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/IWR1443: Fail to Install TI Cloud Agent Application on Ubuntu18.04

Part Number: IWR1443

Tool/software: Code Composer Studio

A warning comes out during installing the TI Cloud Agent Application. I download from website.

My input is as follows.

First,

chmod 777 ticloudagent.run 

Then, I have tried three different kinds of installing command.

1. sudo ./ticloudagent.run

2. sudo su

"password"

./ticloudagent.run

3. ./ticloudagent.run

None of them works with the same warning "There has been an error. The TI Cloud Agent Installer must not be run with root privileges."

My system is Ubuntu18.04. 

Thanks.

  • Hello,

    user5839806 said:

    1. sudo ./ticloudagent.run

    2. sudo su

    "password"

    ./ticloudagent.run

    3. ./ticloudagent.run

    Please do not install the TI cloud agent installer with sudo. 

    Open a new terminal console and then run the installer without sudo:

    > ./ticloudagent.run

    note that you must run this in a terminal where you did not run the sudo command previously. That is why #3 didn't work for you.

    Thanks

    ki

  • I am afraid it still not working after following your guides.

  • Are you logged in with root privileges?

  • I am pretty sure i didnot log in anything in a new terminal. But still not working. BTW,why a program cannot be installed in root privileges?

  • user5839806 said:
    I am pretty sure i didnot log in anything in a new terminal. But still not working.

    But are you logged in to the machine as "root" user?

    user5839806 said:
    BTW,why a program cannot be installed in root privileges?

    for security purposes.

  • Hi,

    user5839806 said:

    I am pretty sure i didnot log in anything in a new terminal. But still not working. BTW,why a program cannot be installed in root privileges?

    As Ki mentioned, you need superuser access to install the TI Cloud Agent. You are not doing this. 

    Either you use sudo in persistent mode

    sudo -i
    ./ticloudagent.run

    Or issue each the install command prefacing it with the word "sudo". 

    sudo ./ticloudagent.run

    Simply running ./ticloudagent.run will not work. 

    --Cheers

  • Thanks. But please read my topest question also KI's.

    The warning is that i am using the privillege permission.

    KI told me to check and did not to log in with sudo permission.

    I have tried the multiple ways including root or not to install. But the warning is always there. 

  • Sorry for the delay. I did confirm from the engineering team that you do not want to install ticloudagent with sudo permission.

    I am not sure why you are still getting the issue when running without sudo.

    Are you logged in as 'root'? Or just a regular user account?

  • Actually, the answer may be a bit more complicated it seems.

    What kind of account type do you have? Administrator or user?

  • Hello,

    Just following up with see if you are still stuck on this issue. If so, can you answer the question in my last post?

    Thanks

    ki

  • Hey guys. I have a similar problem, also in Ubuntu 18.04. I can't install cloud agent. That's what my terminal says:

    guestuser@577:/home/yurkish$ cd /home/yurkish/ti/downloads
    guestuser@577:/home/yurkish/ti/downloads$ ls
    CCS7.4.0.00015_linux-x64.tar.gz CCS9.2.0.00013_linux-x64.tar.gz
    CCS9.2.0.00013_linux-x64 ticloudagent.run
    guestuser@577:/home/yurkish/ti/downloads$ ./ticloudagent.run
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified
    No protocol specified

    Error: There has been an error.
    Error creating directory /tmp/ticloudagent/util
    Press [Enter] to continue:
    guestuser@577:/home/yurkish/ti/downloads$

    As far as I know, $ symbol means I'm logged as a normal user.

    Thanks in advance.

  • Hi Ki,

    It seems i solved my problems by reinstall my ubuntu system. I immediately install the TI cloud agent as soon as the ubuntu was reinstalled. 

    From my observation, the anaconda env manager has the highest probability to infect the ticloudagent.run installing. I successfully installed the .run files before anaconda installing.

    Hoping my experiment can help others.

    Thanks for your help

  • user5839806 said:

    It seems i solved my problems by reinstall my ubuntu system. I immediately install the TI cloud agent as soon as the ubuntu was reinstalled. 

    From my observation, the anaconda env manager has the highest probability to infect the ticloudagent.run installing. I successfully installed the .run files before anaconda installing.

    Glad to hear you resolved the issue. Thank you for the update and also for your suggestion regarding anaconda env manager. It is very much appreciated!

    ki