Setting up and building UDPCast...Failed!
-
So i Setup Mint 15 and tried to use these settings for fog
Distro: Ubuntu
Installation Type: Normal Server
Server IP Address: 10.10.10.10
DHCP router Address: 10.10.10.10
DHCP DNS Address: 10.10.10.10
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0and it gets to the subjected line and halts dies… how can I fix this?? i have done a fair amount of searching to no avail, and i’ve tried to use other Small linux distros like SliTAZ and i didn’t even get that far. Any Help would be Appricated.
-
Anyone??
-
I don’t have any experience with MINT but, it is an Ubuntu derivative.
I this a fresh FOG setup? Has this worked in the past and just stopped working? or is this your first attempt at setting up a server and attempting to image?
I would check the log to see if the FOG server is 1 looking for the cast, and 2 is the owner of the process.
-
[quote=“Jaymes Driver, post: 14094, member: 3582”]I don’t have any experience with MINT but, it is an Ubuntu derivative.
I this a fresh FOG setup? Has this worked in the past and just stopped working? or is this your first attempt at setting up a server and attempting to image?
I would check the log to see if the FOG server is 1 looking for the cast, and 2 is the owner of the process.[/quote]
We are currently using a Ubuntu 12.04 with Fog 0.32 and its fairly botched at this point due to it being a VM thats migrated. So this is my first time installing FOG. But I am using it 3 to 4 days a week…
-
I had the same error after reinstalling FOG after updating Ubuntu, still having issues adding tasks though. See the linked website and download the current udpcast source from the other link to /tmp folder. Download patch file to /tmp you can then patch the udpcast code with the attached file. Next, edit the …/lib/common/config.sh file in the FOG installation folder to look for the /tmp/udp-20120424 folder by changing the [CODE]udpcastout[/CODE] variable to udpcast-20120424. After the changes it should compile and you the FOG installation should continue on successfully.
To patch the udpcast source with patch file and udpcast source tarball in the /tmp folder:
[CODE]tar xzf udpcast-20120424.tar.gz
mv attachment.patch.txt attachment.patch
mv attachment.patch udpcast-20120424/
cd udpcast-20120424
patch -p1 < attachment.patch
[/CODE]Your mileage may vary.
Hope this helps.Patch Information
[url]http://www.udpcast.linux.lu/pipermail/udpcast/2013-February/001203.html[/url]
Source Download
[url]http://www.udpcast.linux.lu/download/udpcast-20120424.tar.gz[/url][url=“/_imported_xf_attachments/0/375_attachment.patch.txt?:”]attachment.patch.txt[/url]
-
[quote=“vibrantlee, post: 14219, member: 11608”]I had the same error after reinstalling FOG after updating Ubuntu, still having issues adding tasks though. See the linked website and download the current udpcast source from the other link to /tmp folder. Download patch file to /tmp you can then patch the udpcast code with the attached file. Next, edit the …/lib/common/config.sh file in the FOG installation folder to look for the /tmp/udp-20120424 folder by changing the [CODE]udpcastout[/CODE] variable to udpcast-20120424. After the changes it should compile and you the FOG installation should continue on successfully.[/quote]
Thank you! Worked like a charm!
-
I used this to get my FOG to install… but i am still unable to start a task… Someone mentioned it might be the PHP version… can i downgrade that without botching the install?
-
yeah … that patch doesn’t work anymore … any thoughts on how to get this back up and running?
Or would it be better to just rebuild my server with the older version of ubuntu or centos? -
[quote=“Slipp3d, post: 20799, member: 210”]yeah … that patch doesn’t work anymore … any thoughts on how to get this back up and running?
Or would it be better to just rebuild my server with the older version of ubuntu or centos?[/quote]- 1 i set udpcastout /tmp/udp-20120424 but still i get.
[I][U]"* Setting up and building UDPCast…Failed![/U][/I]
[I][U]make failed!"[/U][/I]
Is there any fix? -
Yep. Give me a moment to provide the info.
-
Log into the FOG Server as root and go to your installation folder.
Something like:
[code]cd /opt/fog_0.32[/code]Then cd into the packages folder
[code]cd packages[/code]
Then run these commands:
[code]wget https://svn.code.sf.net/p/freeghost/code/trunk/packages/udpcast-20120424.tar.gz
rm -f udpcast-20071228.tar.gz
sed -i ‘s/udpcastout=“udpcast-20071228”/udpcastout=“udpcast-20120424”/’ …/lib/common/config.sh
sed -i ‘s/udpcastsrc=“…/packages/udpcast-20071228.tar.gz”/udpcastsrc=“…/packages/udpcast-20120424.tar.gz”/’ …/lib/common/config.sh
cd …/bin
./installfog.sh[/code]EDIT: Fixed a typo in the command above
-
This information is available on the Wiki for future reference - > [url]http://www.fogproject.org/wiki/index.php/Setting_up_and_building_UDPCast...Failed[/url]!
-
Testing the solution right now. I will give feedback.
Edit: 1
I get another error[QUOTE]* Setting up and building UDPCastcp: cannot stat ‘…/packages/udpcast-20071228.tar.gz’: No such file or directory
…/lib/common/functions.sh: line 130: cd: udpcast-20120424: No such file or directory
…Failed!./configure failed!
[/QUOTE]When I execute your script this is the result:
[QUOTE] wget [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/udpcast-20120424.tar.gz[/url]
–2014-01-22 15:08:10-- [url]https://svn.code.sf.net/p/freeghost/code/trunk/packages/udpcast-20120424.tar.gz[/url]
Resolving svn.code.sf.net (svn.code.sf.net)… 216.34.181.157
Connecting to svn.code.sf.net (svn.code.sf.net)|216.34.181.157|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 189526 (185K) [application/octet-stream]
Saving to: ‘udpcast-20120424.tar.gz.1’100%[=============================================================================================================>] 189.526 252KB/s in 0,7s
2014-01-22 15:08:11 (252 KB/s) - ‘udpcast-20120424.tar.gz.1’ saved [189526/189526]
root@monitpc:/home/duda/Desktop/fog_0.32/packages# rm -f udpcast-20071228.tar.gz
root@monitpc:/home/duda/Desktop/fog_0.32/packages# sed -i ‘s/udpcastout=“udpcast-20071228”/udpcastout=“udpcast-20120424”/’ …/lib/common/config.sh
root@monitpc:/home/duda/Desktop/fog_0.32/packages# sed -i ‘s/udpcastsrc=“…/packages/udpcast-20071228.tar.gz”/udpcastsrc=“…/packages/udpcast-20120424.tar.gz”/’ …/lib/common/config.sh
[B]sed: -e expression #1, char 27: unknown option to `s’[/B]
root@monitpc:/home/duda/Desktop/fog_0.32/packages# cd …/bin
root@monitpc:/home/duda/Desktop/fog_0.32/bin# ./installfog.sh
[/QUOTE]
My Distro is Ubunto based Lubunto.
EDIT2: We manually finished the second step replacing [FONT=Consolas]udpcastsrc=“udpcast-20120424.tar.gz” in file …/lib/common/config.sh[/FONT]
[FONT=Consolas]Installation Completed. Thank you the solution WORKS!![/FONT]
-
Sorry you had to edit the file manually, but it seems like you got it, thanks for letting us know it worked and what you did to solve the problem, I know this will be useful to others in the future until 0.33 is ready.
-
The manual edit was because the / in /packages/udpcast-… needed to be escaped. I edited the command above to reflect it to be proper.
Sorry about that all. I’m an idiot.
Saving to: ‘udpcast-20120424.tar.gz.1’ <- This is because the location you stored the file already had udpcast-20120424.tar.gz
-
i did it correctly and got the confirmation…but when i login into my fog server ([url]Http://ip/fog/management[/url]) it shows me unable to connect database…
Can anybody have the same issue and please do tell me the solution
-
Hi All,
I have got the same problem and James sent me this email:
[FONT=Georgia][COLOR=#141414]Welcome to FOG!!! I will paste this information here for you, but the thread can be located here in the future: [URL=‘http://fogproject.org/forum/threads/setting-up-and-building-udpcast-failed.4548’][U][COLOR=#176093]http://fogproject.org/forum/threads/setting-up-and-building-udpcast-failed.4548[/COLOR][/U][/URL]
Log into the FOG Server as root and go to your installation folder.
Something like:
Code:
cd /opt/fog_0.32
Then cd into the packages folderCode:
cd packages
Then run these commands:
Code:
wget [URL=‘https://svn.code.sf.net/p/freeghost/code/trunk/packages/udpcast-20120424.tar.gz’][U][COLOR=#176093]https://svn.code.sf.net/p/freeghost/code/trunk/packages/udpcast-20120424.tar.gz[/COLOR][/U][/URL]
rm -f udpcast-20071228.tar.gz
sed -i ‘s/udpcastout=“udpcast-20071228”/udpcastout=“udpcast-20120424”/’ …/lib/common/config.sh[/COLOR][/FONT]until here it goes well on my Unbutu computer. [FONT=Georgia][COLOR=#141414][/COLOR][/FONT]
[FONT=Georgia][COLOR=#141414] sed -i ‘s/udpcastsrc=“…/packages/udpcast-20071228.tar.gz”/udpcastsrc=“…/packages/udpcast-20120424.tar.gz”/’ …/lib/common/config.sh[/COLOR][/FONT]
On this rules an ‘>’ appears…
[FONT=Georgia][COLOR=#141414] cd …/bin
./installfog.sh [/COLOR][/FONT]This is my output:
[FONT=Times New Roman]
[COLOR=#000000] …#######:. …,#,… .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
Created by:
SyperiorSoft
[/COLOR][URL=‘http://www.syperiorsoft.com/’][U][COLOR=#0000ff]http://www.SyperiorSoft.com[/COLOR][/U][/URL][COLOR=#000000]
Developers:
Chuck Syperski
Jian Zhang
GNU GPL Version 3
###########################################
Version: 0.32 Installer/Updater
This installation script should be run as
user “root”. You are currenly running
as jos.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]
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:
[/COLOR][URL=‘http://www.fogproject.org/wiki/index.php?title=InstallationModes’][U][COLOR=#0000ff]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/COLOR][/U][/URL][COLOR=#000000]What type of installation would you like to do? [N]
What is the IP address to be used by this FOG Server? [192.168.1.72]
Would you like to setup a router address for the DHCP server? [Y/n]
What is the IP address to be used for the router on the DHCP server? [192.168.1.1]Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n]
What is the IP address to be used for DNS on the DHCP server and client boot image? [127.0.1.1] 194.134.5.55Would 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] 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]#####################################################################
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: 192.168.1.72
DHCP router Address: 192.168.1.1
DHCP DNS Address: 194.134.5.55
Interface: eth0
Using FOG DHCP: 0
Internationalization: 1Are 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: Kon het vergrendelingsbestand ‘/var/lib/dpkg/lock’ niet openen - open (13: Toegang geweigerd)
E: Kan de beheersmap (/var/lib/dpkg/) niet vergrendelen. Heeft u beheerdersrechten?- 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
- Installing package: language-pack-it
- Installing package: language-pack-en
- Installing package: language-pack-es
- Installing package: language-pack-zh-hans
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: 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
- Checking package: language-pack-it…OK
- Checking package: language-pack-en…OK
- Checking package: language-pack-es…OK
- Checking package: language-pack-zh-hans…OK
Configuring services.
- Setting up fog user…Exists
- Setting up and starting MySql…Failed![/COLOR][EMAIL=‘jos@leeuwerik:~/fog_0.32/bin$’][U][COLOR=#0000ff]jos@leeuwerik:~/fog_0.32/bin$[/COLOR][/U][/EMAIL][COLOR=#000000] sudo apt-get install MySql
[sudo] password for jos:
Pakketlijsten worden ingelezen… Klaar
Boom van vereisten wordt opgebouwd
De status informatie wordt gelezen… Klaar
E: Kan pakket MySql niet vinden[/COLOR][EMAIL=‘jos@leeuwerik:~/fog_0.32/bin$’][U][COLOR=#0000ff]jos@leeuwerik:~/fog_0.32/bin$[/COLOR][/U][/EMAIL][COLOR=#000000]
[/COLOR][/FONT]Any idears?
Thanks!
Gr, Jos
-
-
Try:
[code]sudo apt-get update; sudo apt-get install mysql-server[/code] -
Thanks Tom, this works. Again the install failed on udpcast.
I run this again:
sed -i ‘s/udpcastout=“udpcast-20071228”/udpcastout=“udpcast-20120424”/’ …/lib/common/config.sh
sed -i ‘s/udpcastsrc=“…/packages/udpcast-20071228.tar.gz”/udpcastsrc=“…/packages/udpcast-20120424.tar.gz”/’ …/lib/common/config.sh
cd …/bin
./installfog.shInstallation is now succesfull. The only thing is to config the database.
When I start my browser and go to: [url]http://192.168.1.72/fog/management/[/url]
It says: Unable to connect to database.
What steps should I take (maybe a dump question, but I new to Linux…) next?
Thanks all for the help so far!
Gr, Jos
-
To configure the database I tried this:
mysql --user=root --password=… --host=127.0.0.1 fog
The output is:
Unknown database ‘fog’
Any idears?