• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Sudo ./installfog.sh command not found

    Scheduled Pinned Locked Moved
    Linux Problems
    4
    5
    5.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MFKDGAF
      last edited by

      I am fairly new to linux but I believe I am doing everything correctly but am not understanding why the command will not execute.

      I am following step by step on the wiki ([url]http://fogproject.org/wiki/index.php/Ubuntu_12.04[/url]) and I am using Ubuntu 13.10 with fog 1.2.0.

      The directory I am in is /Desktop/fog/bin$
      When I run the command [B]ls [/B]it shows installfog.sh but then when I run command [B]sudo ./installfog.sh [/B]it comes back with “sudo: ./installfog.sh: command not found”.

      I have even tried [B]sudo ./inst [/B]and then tab to populate the file name but nothing happens.

      Am I missing something?

      [IMG]http://i.imgur.com/1GQnyCH.png[/IMG]

      1 Reply Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        you seem to be following, step by step, the instructions on how to install fog 0.32, not fog 1.2.0
        perhaps it’s for the best that you ran into a problem at the start, if you want fog 1.2.0

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        1 Reply Last reply Reply Quote 0
        • JunkhackerJ
          Junkhacker Developer
          last edited by

          also, you should NOT create a user named fog for your fog server. the install script is going to want to create that user.

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            Also, the user you created needs to HAVE sudo privileges.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • cspenceC
              cspence Developer
              last edited by

              If I remember correctly, Ubuntu by default will provided colorized output. If installfog.sh was executable, it would be highlighted a different color. Run:

              [B]ls -l[/B]

              This will show the permissions on the file. You should see [B]-rwxr-xr-x[/B] for permissions. If you don’t have any executable bits, you’ll get the response you got. How do you fix it? For a start, you could run:

              [B]sudo chmod 755 installfog.sh[/B]

              This will only make that first script executable. In the same directory, there’s a .install.sh file that probably won’t have executable rights either.

              [B][U]If you really want to make sure it works[/U][/B]
              It seems you must have extracted the files in a strange way because you should already have the correct permissions. When you get the tar.gz from the website, run tar to extract the files to preserve permissions:

              [B]tar zxvf fog_1.2.0.tar.gz[/B]

              This will extract everything out into your current directory. Then all the permissions should be correct.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              222

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project