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
Posts made by Adam Kohnert
-
RE: Apache problems
-
RE: Apache problems
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.gzThen I tried installing FOG and this is what it shows:
Version: 0.32 Installer/UpdaterThis 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.1Would 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]nWould 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-serverOn a Windows DHCP server you must set:
option 066 & 067This 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: 0Are 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$
-
-
RE: Apache problems
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
-
RE: Apache problems
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
-
RE: Apache problems
Okay i will do that, what is the OS that you currently see to work best?
-
RE: Apache problems
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?
-
RE: Apache problems
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! " -
RE: Apache problems
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
-
RE: Apache problems
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
-
RE: Apache problems
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 -
Apache problems
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! "
-
DHCP restart/MYSQL restart
Hello all!
My current settings have FOG handing DHCP.
Here are my problems, some could be user error.
I was able to clone several computers with my current set up with no problems. I then moved my server into the LMC with the intent of cloning all 50 computers. But when I booted the FOG server, registered all the computers, installed the client on all the machines and attempted to clone I was unable too. I booted the computer from PXE like normal and it did not find the server.
So I did some reading online and I read that I may have to restart DHCP and or MYSQL? Does this sound right?
I can go to my current IP address (10.0.175.162) in the search bar and it says “it works!” I can also log into 10.0.175.162/fog/management. But it seems like when the computers can’t find the server the web interface is really slow.
So then I restarted the computer, unhooked the server from the computers and tried it again and it worked! I also noticed that the web interface was much faster.
I hope you can help me and I was detailed enough!!
Thanks
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
Cloned 6 computers in about 20 minutes!!!
Thanks for the all the help
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
Success!!! I am in the process of uploading an image!!!
Woohooo!!!
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
I am going to get a fresh start. I am going to reinstall Ubuntu 11.04 version
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
Hello again!
I was thinking one day and thought I may need 2 network cards for my computer to make FOG work? Not sure why, So I tried it and the computer did not boot from PXE.
So then my next venture was to start from scratch, so I reinstalled FOG. Then I got this message-- * Setting up and starting Apache Web Server…Failed!
So here is my current set-up
..#######:. ..,#,.. .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
Created by:
SyperiorSoft
[url]http://www.SyperiorSoft.com[/url]
Developers:
Chuck Syperski
Jian Zhang
GNU GPL Version 3
###########################################
Version: 0.32 Installer/Updater
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.175.162]
Would you like to setup a router address for the DHCP server? [Y/n] n
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]Would you like to use the FOG server for dhcp service? [Y/n] y
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:
DHCP DNS Address:
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0Are you sure you wish to continue (Y/N)
Sorry, answer not recognized.
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.
Reading package lists…
Building dependency tree…
Reading state information…
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 127 not upgraded.- Installing package: mysql-client
- Installing package: isc-dhcp-server
- 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…OK
- Checking package: php5…OK
- Checking package: php5-gd…OK
- Checking package: php5-cli…OK
- Checking package: php5-mysql…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…OK
- Checking package: isc-dhcp-server…OK
- Checking package: tftpd-hpa…OK
- Checking package: tftp-hpa…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: sysv-rc-conf…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: build-essential…OK
- Checking package: cpp…OK
- Checking package: gcc…OK
- Checking package: g++…OK
- Checking package: m4…OK
- Checking package: htmldoc…OK
- Checking package: perl…OK
- Checking package: libcrypt-passwdmd5-perl…OK
- Checking package: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: clamav-freshclam…OK
Configuring services.
- Setting up fog user…OK
- Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…Failed!
That is as far as I got. I did take out the extra card. Here is my network information.
IP-10.0.175.162
Broadcast Address-10.0.255.255
Default Router-10.0.0.2
Primary DNS- 64.33.128.10Our current DHCP server can’t be modified. So I selected FOG to handle DHCP. I hope I was detailed enough! Thanks!
-
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
Yes, I hit F12 and selected Boot From PXE.
Ill keep trying.
Thanks again
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
Sorry for being vague
And…nothing—this means the client machine did not boot from PXEDid I miss a step?
Probably something simpleThanks Again
-
RE: Network Boot Problems/Computer won't communicate with Ubuntu/FOG
Hello again!
Here is what I did and it didn’t work, I know shocking:
Set up my fog server to handle DHCP…I think
Connected my fog server to a switch no hooked to the internet
Connected the client to the same switch as the fog server
And…nothingCan someone check my fog settings?
I can’t have my fog server hooked to our current network…it causes some problems
Thanks!!!