• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Feb 13, 2013, 6:22 PM

    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 Feb 13, 2013, 6:46 PM

      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 Feb 13, 2013, 8:52 PM

        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 Feb 14, 2013, 1:32 AM

          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 Feb 14, 2013, 8:24 AM

            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 Feb 14, 2013, 6:56 PM

              it Bash’s with the sudo,

              1 Reply Last reply Reply Quote 0
              • A
                Adam Kohnert
                last edited by Feb 15, 2013, 3:15 PM

                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
                • K
                  Kevin
                  last edited by Feb 15, 2013, 3:33 PM

                  Can you run an MD5 check on the fog_0.32.tar.gz file? This will tell you instantly if you have a bad copy of FOG.

                  The MD5 should be: 45b323d4150690b9c1aa8288c33830c9

                  to do this type: [B]sudo apt-get install md5deep[/B]

                  Then just enter: [B]md5deep /path to your fog_0.32.tar.gz file [/B]If even off by 1 byte, that number will be completely different.

                  "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 Feb 15, 2013, 7:08 PM

                    Well I did what you said and here was the result:

                    fogclone@fogclone-OptiPlex-GX520:~$ md5deep /home/fogclone/Desktop/fog_0.32.tar.gz
                    45b323d4150690b9c1aa8288c33830c9 /home/fogclone/Desktop/fog_0.32.tar.gz

                    Then I tried installing FOG and this is what it shows:
                    Version: 0.32 Installer/Updater

                    This installation script should be run as
                    user “root”. You are currenly running
                    as fogclone.

                    Do you wish to continue? [N] y
                    What version of Linux would you like to run the installtion for?

                          1) Redhat Based Linux (Fedora, CentOS)
                          2) Ubuntu Based Linux (Kubuntu, Edubuntu)
                    

                    Choice: [2]2

                    Starting Ubuntu Installtion.

                    FOG Server installation modes:
                    * Normal Server: (Choice N)
                    This is the typical installation type and
                    will install all FOG components for you on this
                    machine. Pick this option if you are unsure what to pick.

                      * Storage Node: (Choice S)
                          This install mode will only install the software required
                          to make this server act as a node in a storage group
                    

                    More information:
                    [url]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/url]

                    What type of installation would you like to do? [N] n

                    What is the IP address to be used by this FOG Server? [10.0.179.207]10.0.175.162

                    Would you like to setup a router address for the DHCP server? [Y/n] y
                    What is the IP address to be used for the router on the DHCP server? [10.0.0.2]10.0.175.1

                    Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n] n

                    Would you like to change the default network interface from eth0?
                    If you are not sure, select No. [y/N]n

                    Would you like to use the FOG server for dhcp service? [Y/n] n

                    DHCP will not be setup but you must setup your
                    current DHCP server to use FOG for pxe services.

                    On a Linux DHCP server you must set:
                    next-server

                    On a Windows DHCP server you must set:
                    option 066 & 067

                    This version of FOG has internationalization support, would
                    you like to install the additional language packs? [Y/n] n

                    #####################################################################

                    FOG now has everything it needs to setup your server, but please
                    understand that this script will overwrite any setting you may
                    have setup for services like DHCP, apache, pxe, tftp, and NFS.

                    It is not recommended that you install this on a production system
                    as this script modifies many of your system settings.

                    This script should be run by the root user on Fedora, or with sudo on Ubuntu.

                    Here are the settings FOG will use:
                    Distro: Ubuntu
                    Installation Type: Normal Server
                    Server IP Address: 10.0.175.162
                    DHCP router Address: 10.0.175.1
                    DHCP DNS Address:
                    Interface: eth0
                    Using FOG DHCP: 0
                    Internationalization: 0

                    Are you sure you wish to continue (Y/N) y

                    Installation Started…

                    Installing required packages, if this fails
                    make sure you have an active internet connection.

                    • Preparing apt-get

                    • Installing package: apache2

                    • Installing package: php5

                    • Installing package: php5-gd

                    • Installing package: php5-cli

                    • Installing package: php5-mysql

                    • Installing package: php5-curl

                    • Installing package: mysql-server

                      We are about to install MySQL Server on
                      this server, if MySQL isn’t installed already
                      you will be prompted for a root password. If
                      you don’t leave it blank you will need to change
                      it in the config.php file located at:

                      /var/www/fog/commons/config.php

                      Press enter to acknowledge this message.

                    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
                    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

                    • Installing package: mysql-client
                    • Installing package: tftpd-hpa
                    • Installing package: tftp-hpa
                    • Installing package: nfs-kernel-server
                    • Installing package: vsftpd
                    • Installing package: net-tools
                    • Installing package: wget
                    • Installing package: xinetd
                    • Installing package: sysv-rc-conf
                    • Installing package: tar
                    • Installing package: gzip
                    • Installing package: build-essential
                    • Installing package: cpp
                    • Installing package: gcc
                    • Installing package: g++
                    • Installing package: m4
                    • Installing package: htmldoc
                    • Installing package: perl
                    • Installing package: libcrypt-passwdmd5-perl
                    • Installing package: lftp
                    • Installing package: openssh-server
                    • Installing package: php-gettext
                    • Installing package: clamav-freshclam

                    Confirming package installation.

                    • Checking package: apache2…Failed!
                      fogclone@fogclone-OptiPlex-GX520:~/Desktop/fog_0.32/bin$
                    1 Reply Last reply Reply Quote 0
                    • K
                      Kevin
                      last edited by Feb 15, 2013, 7:54 PM

                      it still looks like it’s not liking the user account that you are running, that you don’t have elevated privileges. Also, are you installing/upgrading software when trying to install FOG?

                      E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

                      That makes me think that something in Ubuntu is trying to update files as well at the same time, and Ubuntu definitely does not like that. But that could also point to a permission issue.

                      Do you receive the exact same errors from above when you run the command [B]sudo ./installfog.sh[/B]? Or do you still receive the same errors? i.e.

                      (
                      This installation script should be run as
                      user “root”. You are currenly running
                      as fogclone.

                      E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
                      E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

                      • Checking package: apache2…Failed!
                        )

                      If any of those are different if the command is running as sudo, it may give me a better idea of what’s breaking. If you are running it as sudo, then we may have to change the root password, just to try and see if something got messed up with that account.

                      "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 Feb 15, 2013, 7:59 PM

                        We are up and running, it seems i’m a little lack on reading directions… I ran it in “root” like it says to and it ran perfectly

                        1 Reply Last reply Reply Quote 0
                        • A
                          Adam Kohnert
                          last edited by Feb 15, 2013, 8:08 PM

                          THANKS for all of the help, you people are life savers!!!

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kevin
                            last edited by Feb 15, 2013, 8:09 PM

                            Glad to hear you got it working.

                            "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 Feb 15, 2013, 9:39 PM

                              Well we ran into a problem!

                              It worked when I was in my office, then we moved to the LMC and attempted to grab an image from a computer and this is what we get:

                              [url=“/_imported_xf_attachments/0/237_2013-02-15 15.37.11.jpg?:”]2013-02-15 15.37.11.jpg[/url]

                              1 Reply Last reply Reply Quote 0
                              • K
                                Kevin
                                last edited by Feb 15, 2013, 9:55 PM

                                It looks like you pointed FOG to use another DHCP server other than itself, at least from the config above. Is that correct? If you did, you need to specify options 66 and 67 in the DHCP scope of a Windows server. If you use a Linux server, you need to specify the next-server. If you receive a PXE-E32, it’s usually due to your machine not being able to contact the TFTP server due to it not being specified correctly on the DHCP server.

                                "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 Feb 15, 2013, 10:12 PM

                                  I thought I set it up correctly 😕

                                  Here are some pictures[ATTACH=full]238[/ATTACH][ATTACH=full]239[/ATTACH]

                                  [url=“/_imported_xf_attachments/0/238_2013-02-15 16.09.30.jpg?:”]2013-02-15 16.09.30.jpg[/url][url=“/_imported_xf_attachments/0/239_2013-02-15 16.03.37.jpg?:”]2013-02-15 16.03.37.jpg[/url]

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kevin
                                    last edited by Feb 15, 2013, 10:20 PM

                                    That all looks to be right. Try restarting the TFTP service on FOG [B]sudo service tftpd-hpa restart [/B]

                                    "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 Feb 15, 2013, 10:28 PM

                                      WOAH!!! LOOK!!![ATTACH=full]240[/ATTACH]

                                      [url=“/_imported_xf_attachments/0/240_2013-02-15 16.27.16.jpg?:”]2013-02-15 16.27.16.jpg[/url]

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Kevin
                                        last edited by Feb 15, 2013, 11:16 PM

                                        Glad to see you got the imaging working. Did restarting the service solve this issue, or did you need to change something else?

                                        "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 Feb 15, 2013, 11:33 PM

                                          Restarting the service worked perfect! Thanks for all the help

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

                                          154

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project