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

    Apache problems

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    34
    18.6k
    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.
    • A
      Adam Kohnert
      last edited by

      I am currently trying to install fog to run on through a separate DHCP server and i get to this point and can not find anyone on the internet that has had this same problem, please help

      " Configuring services.

      • Setting up fog user…Exists
      • Setting up and starting MySql…OK
      • Backing up user reports…OK
      • Setting up and starting Apache Web ServerCan’t open /var/lib/sysv-rc-conf/services for rw access : Permission denied at /usr/sbin/sysv-rc-conf line 479.
        …Failed! "
      1 Reply Last reply Reply Quote 0
      • K
        Kevin
        last edited by

        have you tried running the install.sh command with sudo? Also, i’ve noticed at times that you need to be in the /fog_0.32/bin/ folder while using sudo to have it install everything correctly.

        "The quieter you become, the more you are able to hear"

        New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

        1 Reply Last reply Reply Quote 0
        • A
          Adam Kohnert
          last edited by

          I’m not sure what you mean by install.sh , sorry, this is what i tried

          fogclone@fogclone-OptiPlex-GX520:~$ cd Desktop
          fogclone@fogclone-OptiPlex-GX520:~/Desktop$ ls
          fog_0.32
          fogclone@fogclone-OptiPlex-GX520:~/Desktop$ cd fog_0.32
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32$ ls
          bin FOGCrypt installation.txt lib packages src
          changelog.txt FOG Service kernel license.txt rpttmp utils
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32$ cd bin
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$ ls
          installfog.sh
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$ sudo install.sh
          [sudo] password for fogclone:
          sudo: install.sh: command not found
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$ sudo installfog.sh
          sudo: installfog.sh: command not found
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$

          and this is how i normally start it.

          fogclone@fogclone-OptiPlex-GX520:~$ cd Desktop
          fogclone@fogclone-OptiPlex-GX520:~/Desktop$ ls
          fog_0.32
          fogclone@fogclone-OptiPlex-GX520:~/Desktop$ cd fog_0.32
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32$ ls
          bin FOGCrypt installation.txt lib packages src
          changelog.txt FOG Service kernel license.txt rpttmp utils
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32$ cd bin
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$ ls
          installfog.sh
          fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$ ./installfog.sh

          1 Reply Last reply Reply Quote 0
          • K
            Kevin
            last edited by

            sorry, yes, installfog.sh, sorry was going from memory 🙂

            So I would do this:

            [CODE]cd /Desktop/fog_0.32/bin
            sudo ./installfog.sh[/CODE]

            and see if that gives you better results

            "The quieter you become, the more you are able to hear"

            New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

            1 Reply Last reply Reply Quote 0
            • K
              Kevin
              last edited by

              I don’t know why, but it seems like sometime not being in the directory will cause strange issues, so i’ve learned it’s best to go directly into the /bin directory and sudo the installer from there.

              "The quieter you become, the more you are able to hear"

              New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

              1 Reply Last reply Reply Quote 0
              • A
                Adam Kohnert
                last edited by

                That sequence “bash’s” when I try it, I believe it has something to do with the
                /usr/sbin/sysv-rc-conf line 479.

                but I am not fluent in reading those types of files

                1 Reply Last reply Reply Quote 0
                • K
                  Kevin
                  last edited by

                  what OS are you trying to install FOG on? Also, you could try to chmod 644 the /usr/sbin/sysv-rc-conf file since it’s a permission issue and see if that improves the install. What it sounds like is a corrupt Apache install though. Hopefully chmodding the file will help push you past that file.

                  "The quieter you become, the more you are able to hear"

                  New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                  1 Reply Last reply Reply Quote 0
                  • A
                    Adam Kohnert
                    last edited by

                    I am installing on ubuntu 11.10 and if you could, please help me with the line for chmod, never seen that before, sorry for my illiteracy

                    1 Reply Last reply Reply Quote 0
                    • K
                      Kevin
                      last edited by

                      not a problem, and nothing to be sorry about. All you would need to do is type:

                      [CODE]sudo chmod 644 /usr/sbin/sysv-rc-conf[/CODE]

                      that will for the permissions to change on the file

                      "The quieter you become, the more you are able to hear"

                      New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                      1 Reply Last reply Reply Quote 0
                      • A
                        Adam Kohnert
                        last edited by

                        Thanks for the help on that, I ran it and now i get to the same point and get this

                        " * Setting up and starting Apache Web Server…/lib/ubuntu/functions.sh: line 391: /usr/sbin/sysv-rc-conf: Permission denied
                        …Failed! "

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kevin
                          last edited by

                          I would try the chmod command again with 777 this time and see if that makes a difference

                          "The quieter you become, the more you are able to hear"

                          New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                          1 Reply Last reply Reply Quote 0
                          • A
                            Adam Kohnert
                            last edited by

                            It doesn’t, now it is back to the previous error. I have installed fog previously and this time was different as i had to sudo almost every pack such as tftpd-hpa to get it to this point, i don’t know if that is part of this issue?

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kevin
                              last edited by

                              i’ve run into that once or twice before, each time I just re-installed the OS and gave it another go. Not sure what causes that to happen from time to time.

                              "The quieter you become, the more you are able to hear"

                              New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                              1 Reply Last reply Reply Quote 0
                              • A
                                Adam Kohnert
                                last edited by

                                Okay i will do that, what is the OS that you currently see to work best?

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kevin
                                  last edited by

                                  It comes down to personal preference. I personally build all my servers on the latest LTS (Long Term Support) versions of Ubuntu. So my servers are all being built on 12.04 LTS. Being that it’s a dedicated server, I don’t always need the latest, greatest features, so the LTS works for my needs. However, you will find a lot of people here like CentOS. I want to say that this is supported by Red Hat, but is the free version of the enterprise OS. Personally, i’ve tried it, but i’m used to Ubuntu, so that’s what I stick with. I also have a lot of other tools not related to FOG that i’ve compiled and know to work well with Ubuntu which is another reason I pick it. So personally, you could ask 20 people what they use, and you might get 20 different answers. The best answer is, use what you are comfortable with and with what you like. If you are relatively new to Linux however, I would recommend Ubuntu, Fedora, or CentOS for installing FOG.

                                  "The quieter you become, the more you are able to hear"

                                  New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Adam Kohnert
                                    last edited by

                                    I completely wiped out my computer, installed ubuntu 12.04, installed updates, ran the fog install, and I get to the point where I have to manually install every package by running sudo apt-get php5 and so on down the list for every package, I have never experienced this before and don’t know what the problem could be at this point

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      Kevin
                                      last edited by

                                      you shouldn’t have to install anything when you’re installing FOG. It should install everything it needs. Just to verify, are you running the installfog.sh with the sudo command?

                                      "The quieter you become, the more you are able to hear"

                                      New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        madeyem
                                        last edited by

                                        I installed FOG 0.32 on Ubuntu Server 10.04 LTS and it worked at the first try without any problems. You may try that one.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Adam Kohnert
                                          last edited by

                                          it Bash’s with the sudo,

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            Adam Kohnert
                                            last edited by

                                            Here is what we did:

                                            Reformatted our computer with Ubuntu 11.04 and downloaded FOG 0.32
                                            Then
                                            Attemped to install FOG, and ran into several “fails”. Such as apache errors, php2 errors and several others.

                                            Then:
                                            Formatted the computer with 12.04 and downloaded FOG 0.32
                                            Then
                                            Attempted to install FOG, and still ran into several “fails”. All of which were the same errors as before.

                                            Could it be possible that the version of FOG that we have been downloading is bad or missing files? We did have it working at one time, but we ran into some errors with DHCP. We now have a computer just for DHCP, meaning that the only thing on it is Windows Server 2008 and a separate computer just for FOG.

                                            Any help at this point would be greatly appreciated.

                                            Thank You

                                            Adam & Kyle

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

                                            149

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project