Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Collabnet install error: "must be root to perform this action"

  1. #1
    Join Date
    May 2013
    Beans
    9

    Collabnet install error: "must be root to perform this action"

    When trying to install collabnet subversion edge, as described in the installation instructions:

    4. Optional. Install the application so that it will start automatically
    when the server restarts. This command generally requires root/sudo to execute. $ cd csvn $ sudo -E bin/csvn install
    When performing last command, I get the error "Must be root to perform this action."I thought sudo command would make it possible to execute it with root right.Any ideas why I can't perform this action?

  2. #2
    Join Date
    May 2013
    Beans
    16

    Re: Collabnet install error: "must be root to perform this action"

    You have to provide your password when you do things as root. If it was not necessary, any attacker could run sudo in the terminal and execute programs and what not on your computer. Which I suppose is partly why Windows is so unsecure?

  3. #3
    Join Date
    May 2013
    Beans
    9

    Re: Collabnet install error: "must be root to perform this action"

    When using sudo it obviously prompts for my password, which I entered. After this the error is given...
    You have to provide your password when you do things as root. If it was not necessary, any attacker could run sudo in the terminal and execute programs and what not on your computer. Which I suppose is partly why Windows is so unsecure?
    Using sudo should execute the command as root, or am I mistaken?
    Last edited by jeanke2; June 2nd, 2013 at 12:55 PM.

  4. #4
    Join Date
    May 2013
    Beans
    16

    Re: Collabnet install error: "must be root to perform this action"

    Just to be sure, you are in an admin account, right? I don't think it works if you are in a user account.
    Using sudo should execute the command as root, or am I mistaken?
    Yes it does.
    Last edited by MirrorUniverse; June 2nd, 2013 at 01:25 PM.

  5. #5
    Join Date
    May 2013
    Beans
    9

    Re: Collabnet install error: "must be root to perform this action"

    Yes, I'm in an admin account.

    Quote Originally Posted by MirrorUniverse View Post
    Just to be sure, you are in an admin account, right? I don't think it works if you are in a user account..

  6. #6
    Join Date
    May 2013
    Beans
    16

    Re: Collabnet install error: "must be root to perform this action"

    Typing "man sudo" in the terminal gives information about the command. Here is a webpage with more info.
    http://askubuntu.com/questions/70534...-sudo-s-sudo-i Beyond that I can't be of much help as I am very new to this myself.
    Last edited by MirrorUniverse; June 2nd, 2013 at 01:51 PM.

  7. #7
    Join Date
    May 2013
    Beans
    9

    Re: Collabnet install error: "must be root to perform this action"

    Quote Originally Posted by MirrorUniverse View Post
    Typing "man sudo" in the terminal gives information about the command. Here is a webpage with more info.
    http://askubuntu.com/questions/70534...-sudo-s-sudo-i Beyond that I can't be of much help as I am very new to this myself.
    Samer error response using su

  8. #8
    Join Date
    Jan 2007
    Beans
    6,540
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Collabnet install error: "must be root to perform this action"

    So, to be clear, the command you're trying to execute is:
    Code:
    sudo -E bin/csvn install
    Yes? I suspect the problem is the use of the -E flag. Do you get the same error if you drop it?

  9. #9
    Join Date
    May 2013
    Beans
    9

    Re: Collabnet install error: "must be root to perform this action"

    Code:
    sudo bin/csvn install
    returns same error response

  10. #10
    Join Date
    Oct 2010
    Beans
    110
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Collabnet install error: "must be root to perform this action"

    Perhaps try sudo su?
    Code:
    sudo su
    -E bin/csvn install
    (separate lines; type the second line after entering password)

    Note that you will now be using a terminal as root, so it as if you are doing 'sudo' for all commands, so be careful what you type in it. Close the terminal as soon as you are done with the commands you want to perform as root.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •