Latest FOG 0.33b
-
r994 is out.
Has the fix for the functions.include.php file for checkIn. Commited in wrong dir originally so it only updated that directory before.
-
You Rock Tom! Keep it coming man! I can’t wait for the first stable release of 0.33!!
-
hi Tom
thanks for your the work on fog 0.33b
here some files to correct a bug with quick host registration
[url=“/_imported_xf_attachments/0/434_HostManager.class.php?:”]HostManager.class.php[/url][url=“/_imported_xf_attachments/0/435_auto.register.php?:”]auto.register.php[/url]
-
What’s the bug you’re saying these files correct?
I looked at the differences between these files and the only differences in HostManager.class.php is that You moved the isValidMACAddress function and removed the isSafeHostName function. The only auto.register.php difference is instead of using isSafeHostName you’re trying to have it use isHostnameSafe, which for all intents and purposes, they’re the same function.
-
hi
line 49 in auto.register.php the fonction $GLOBALS[‘FOGCore’]->getClass(‘HostManager’)->isValidMACAddress( $mac )
was call but didn’t exist in hostmanagerclass.php this issue create a loop when you wanted to boot on pxe with quick host registration
it was the same issue with line 58 $GLOBALS[‘FOGCore’]->getClass(‘HostManager’)->isSafeHostName( $macsimple ) ) fonction didn’t exist but $GLOBALS[‘FOGCore’]->getClass(‘HostManager’)->isHostNameSafe( $macsimple ) )those 2 fonctions didn’t exist anymore on the last functions.include.php
isSafeHostName
isValidMACAddress -
I think I understand now. I’ve made quite a few changes, but for some reason I haven’t updated all the files.
I’m doing that now.
Sorry about that.
-
r995 is out with the fixes lanfeu saw. I’m sorry I missed that earlier.
-
Just downloaded fog from [url]https://mastacontrola.com/fog_0.33b.tar.bz2[/url] and tried installing it on Ubuntu 12.04.3 LTS and got this install error : (sorry about the Danish text ^^, I might make ubuntu english the next time I reinstall)
Is there a better way of getting up2date fog0.33 beta builds?
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…OK
- Restoring user reports…OK
- Configuring Fresh Clam…OK
- Setting up storage…OK
- Setting up and starting NFS Server…OK
- Setting up and starting DHCP Server…/lib/ubuntu/functions.sh: line 357: : Ingen sådan fil eller filkatalog Skipped
- Setting up and starting TFTP and PXE Servers…OK
- Setting up and starting VSFTP Server…OK
- Setting up sudo settings…OK
- Setting up FOG Snapins…OK
- Setting up and building UDPCast…OK
…/lib/common/functions.sh: line 161: cd: /home/gympc/Hentede: Ingen sådan fil eller filkatalog - Installing init scripts…cp: kan ikke udføre stat() på ‘…/packages/init.d/ubuntu/*’: Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå ‘/etc/init.d/FOGMulticastManager’: Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå ‘/etc/init.d/FOGImageReplicator’: Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå ‘/etc/init.d/FOGScheduler’: Ingen sådan fil eller filkatalog
OK - Setting up FOG Servicescp: kan ikke udføre stat() på ‘…/packages/service/*’: Ingen sådan fil eller filkatalog
…OK
…/lib/ubuntu/functions.sh: line 64: /opt/fog/service/etc/config.php: Ingen sådan fil eller filkatalog - Starting FOG Multicast Management Server…Failed!
-
Try redownloading the file and then installing.
Also, the best method is to use the SVN Checkout for getting the files.
[code]cd ~
svn co https://svn.code.sf.net/p/freeghost/code/trunk fog_0.33b[/code]If you’ve already downloaded the svn copy, just cd into it’s directory and type svn update.
[code]
cd ~/fog_0.33b
svn update[/code] -
When you’re performing the install, are you in trunk/bin or you in some other directory and called the install script as something like:
[code]./trunk/bin/installfog.sh[/code]It seems that it’s not finding the …/packages/init.d/ubuntu directory as it’s not calling the install script from the bin directory.
-
[quote=“Tom Elliott, post: 19807, member: 7271”]@KyroDK,
When you’re performing the install, are you in trunk/bin or you in some other directory and called the install script as something like:
[code]./trunk/bin/installfog.sh[/code]It seems that it’s not finding the …/packages/init.d/ubuntu directory as it’s not calling the install script from the bin directory.[/quote]
I downloaded it again using SVN and it seems to install fine.
I just downloaded it to my home folder, then cd into the fog0.33b/bin folder and run the install script from there.
I have not testing anything other then quick add a PC, but I will test multicast soon. -
Multicast now stops at the blue screen with the text “Please wait…” on all the client pc’s
-
I’m still working on implementing the MC code as it doesn’t exist. If you need to image, I’d say start by trying to do Unicast. It’ll probably be a bit before I can get to Multicast on a broad scale.
-
What Version and distro are you using this 0.33b on? i’d love to try it out.
-
I use Ubuntu Server 10.04.04
-
I run CentOS 6.4.
-
[quote=“Tom Elliott, post: 19909, member: 7271”]I run CentOS 6.4.[/quote]
I cannot get it to install on a fresh copy of 6.4… It gets down to checking package htmldoc and fails it has several other warning further up but seems to get past them… attached is my full install log.
[url=“/_imported_xf_attachments/0/442_foglog.txt?:”]foglog.txt[/url]
-
Make sure you install the elrepo repository for htmldoc.
-
[quote=“Tom Elliott, post: 19915, member: 7271”]Make sure you install the elrepo repository for htmldoc.[/quote]
The noob in me says… “Wat” but i’ll google and see what its all about.
so i followed the direction here [url]http://elrepo.org/tiki/tiki-index.php[/url] while under root. didn’t seem to do anything for the public key import but the RPM install made noise but the installer still failed.
[CODE][fogtech@CentFog ~]$ su
Password:
[root@CentFog fogtech]# cd fog_0.33b
[root@CentFog fog_0.33b]# cd bin
[root@CentFog bin]# ./installfog.sh..#######:. ..,#,.. .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
http://www.fogproject.org/
Developers:
Chuck Syperski
Jian Zhang
Peter Gilchrist
GNU GPL Version 3
###########################################
Version: 0.33BETA Installer/Updater
What version of Linux would you like to run the installtion for?
1) Redhat Based Linux (Redhat, Fedora, CentOS) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
Choice: [1]1
Staring Redhat / Fedora / CentOS Installation.
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:
http://www.fogproject.org/wiki/index.php?title=InstallationModesWhat type of installation would you like to do? [N]
What is the IP address to be used by this FOG Server? [172.16.43.134]10.10.10.10
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]nWould 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:
Base Linux: Redhat
Detected Linux Distribution: CentOS
Installation Type: Normal Server
Server IP Address: 10.10.10.10
DHCP router Address:
DHCP DNS Address:
Interface: eth0
Using FOG DHCP: 1
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.-
Packages to be installed: httpd php php-cli php-common php-gd php-mysql mysql mysql-server dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav
-
Skipping package: httpd (Already installed)
-
Skipping package: php (Already installed)
-
Skipping package: php-cli (Already installed)
-
Skipping package: php-common (Already installed)
-
Skipping package: php-gd (Already installed)
-
Skipping package: php-mysql (Already installed)
-
Skipping package: mysql (Already installed)
-
Skipping package: mysql-server (Already installed)
-
Skipping package: dhcp (Already installed)
-
Skipping package: tftp-server (Already installed)
-
Skipping package: nfs-utils (Already installed)
-
Skipping package: vsftpd (Already installed)
-
Skipping package: net-tools (Already installed)
-
Skipping package: wget (Already installed)
-
Skipping package: xinetd (Already installed)
-
Skipping package: tar (Already installed)
-
Skipping package: gzip (Already installed)
-
Skipping package: make (Already installed)
-
Skipping package: m4 (Already installed)
-
Skipping package: gcc (Already installed)
-
Skipping package: gcc-c++ (Already installed)
-
Installing package: htmldoc
Error: Nothing to do -
Skipping package: perl (Already installed)
-
Skipping package: perl-Crypt-PasswdMD5 (Already installed)
-
Skipping package: lftp (Already installed)
-
Installing package: clamav
Error: Nothing to do
Confirming package installation.
- Checking package: httpd…OK
- Checking package: php…OK
- Checking package: php-cli…OK
- Checking package: php-common…OK
- Checking package: php-gd…OK
- Checking package: php-mysql…OK
- Checking package: mysql…OK
- Checking package: mysql-server…OK
- Checking package: dhcp…OK
- Checking package: tftp-server…OK
- Checking package: nfs-utils…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: make…OK
- Checking package: m4…OK
- Checking package: gcc…OK
- Checking package: gcc-c++…OK
- Checking package: htmldoc…Failed!
[/CODE]
-
-
it is a repository for HTMLdoc hosted and distributed by the Elrepo group.
alternatively, there are posts about the problem you are experiencing, pertaining specifically to CentOS, you can find SOME documentation (not much, it would be nice if someone familiar in CentOS would do a write up of full installation for noobs like we have with Ubuntu) here on the forums.
this works for CentOs 6.2 should work for 6.4 as well, this uses RPMforge instead of elrepo.
[LIST]
[]wget [url]http://pkgs.repoforge.org/rpmforge-release/[/url][URL=‘http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm’]rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm[/URL]
[]rpm -i [URL=‘http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm’]rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm[/URL]
[*]yum install htmldoc
[/LIST]