Hello Guys, i forgot to say one thing… yes it is working… we updated to trunk… BUT all this because Wayne Workman connected to our server and fixed it! thanks a lot for you help and your time!
thanks thanks thanks
Posts made by lessndro
-
RE: TFTP open timeout but it seems to work
-
RE: Two "new fog client" settings?
Hello,
i think i have a lot of duplicate options… this is a image i posted on the other topic
https://forums.fogproject.org/uploads/files/1435136067281-fog1.png -
RE: TFTP open timeout but it seems to work
unfortunately the restart didn’t change anything and also reinstalling mysql nothing happen.
i did
sudo apt-get remove mysql-server sudo apt-get install mysql-server
thanks for the support
-
RE: TFTP open timeout but it seems to work
yeah, a lot of hours wasted for a trivial error… actually we are for re-do all the network and add a lot of new servers, it can be the right time for do a complete documentation.
what about the new error? I tried to google it but i can’t find others people with the same problem, i hope it is fixable!
thanks a lot----- UPDATE
I discovered i can’t modify anything, for example if a try to create a new image i can do it but after i don’t see the new image in the list, is like i have only read permissions…
-
RE: TFTP open timeout but it seems to work
Hello guys, thanks a lot for your answers. Yesterday i was home so i didn’t tested anything, now i’m here.
i tried to follow the ‘IP conflict’ way… i changed the reservation from DHCP to another ip that i was sure it was free (192.168.148.192) i updated the DHCP fog info (i put again the undionly.kpxe instead of the .kkpxe) and followed the first part of this wiki https://wiki.fogproject.org/wiki//index.php?title=Change_FOG_Server_IP_Address and fortunately i found also this page https://www.designwright.com.au/articles/update-a-fog-server-ip-address because it explain how to modify the default.ipxe file (maybe someone should update the wiki!) and finally i can get in the FOG menù at every boot.
…and YES there was an ip conflict! from the dhcp server i could see the 192.16.148.25 (old ip) was free but probably a client took it because after i changed the FOG server to the new ip i could still ping 192.16.148.25 and i see a device from a ip scanner
unfortunately i don’t know how to understand which device it is because i tried to do ‘ping -a 192.16.148.25’ but i only get the ip address and also from Spicework if i try to search the mac address i can’t find it. I also tried to search the mac address on the DHCP server but nothing. Anyway it is just a curiosity because now i don’t need that ip.
NOW i have another problem, but i hope this time it will be easier. Since i update FOG to 1.2.0 i noticed that i lost every host previously registered, not a big problem because i register only a few hosts because it was a pretty new installation… the problem is that i cannot register any new host. If i try from the pxe menù to do a quick or a full registration i get this error:
and also if i try to register a new host on the the website it says ‘Host added’ but if i i click on ‘List All Hosts’ i can’t see any host. do you have any idea?
thanks a lot -
RE: TFTP open timeout but it seems to work
the ip of the server is still the same (i also browse the FOG site with the ip in the address bar) and also in the dhcp server i see only it with his ip, maybe i can try to change it just for see what happen. thanks again
-
RE: TFTP open timeout but it seems to work
i forgot to say that the server was working well, than we moved our dhcp server to another machine (window server 2008) and FOG starts to has problems. at the start i thought the FOG has problems also with its site because i couldn’t reach it from my pc so i did many tries and i discovered my pc had a problem…many hours wasted but this is the best way to learn. so here the new configuration on the new dhcp server my colleague did. It seems ok for me, so i will try to do the TCPDump. Thanks again
-
RE: TFTP open timeout but it seems to work
Hi Wayne,
thanks for yours answer. unfortunately same error. -
TFTP open timeout but it seems to work
Hi guys, i love FOG but sometimes i hate it! it think our story is 1/2 love and 1/2 hate.
I have a problem, the site is working well but i cant register any host or download upload anything because i have this annoying TFTP timeout error. !
I’m on ubuntu server 14.04.2 LTS and i had the 1.0.0 version of FOG, i updated it yesterday because it was not working.
actually i have to manually start the mysql service after each reboot or i get the database error when i try to reach the FOG page, i fixed it before an ubuntu update.
i also noticed that many FOG settings are duplicate, here an example.
i also tried to do
sudo stop tftpd-hpa sudo start tftpd-hpa
and i can see the FOG ipxe menù but if i select something (like full registration) it give the TFTP open timeout screen.
here the Config.class.php
<?php /** * Class Name: Config * Initializes default settings. * Most notably the sql connection. */ class Config { /** * Calls the required functions to define the settings. * method db_settings() * method svc_setting() * method init_setting() */ public function __construct() { self::db_settings(); self::svc_setting(); self::init_setting(); } /** * db_settings() * Defines the database settings for FOG * @return void */ private static function db_settings() { define('DATABASE_TYPE', 'mysql'); // mysql or oracle define('DATABASE_HOST', 'localhost'); define('DATABASE_NAME', 'fog'); define('DATABASE_USERNAME', 'root'); define('DATABASE_PASSWORD', 'abff29'); } /** * svc_setting() * Defines the service settings. * (e.g. FOGMulticastManager, * FOGScheduler, * FOGImageReplicator) * @return void */ private static function svc_setting() { define( "UDPSENDERPATH", "/usr/local/sbin/udp-sender" ); define( "MULTICASTLOGPATH", "/opt/fog/log/multicast.log" ); define( "MULTICASTDEVICEOUTPUT", "/dev/tty2" ); define( "MULTICASTSLEEPTIME", 10 ); define( "MULTICASTINTERFACE", "eth0" ); define( "UDPSENDER_MAXWAIT", null ); define( "LOGMAXSIZE", "1000000" ); define( "REPLICATORLOGPATH", "/opt/fog/log/fogreplicator.log" ); define( "REPLICATORDEVICEOUTPUT", "/dev/tty3" ); define( "REPLICATORSLEEPTIME", 600 ); define( "REPLICATORIFCONFIG", "/sbin/ifconfig" ); define( "SCHEDULERLOGPATH", "/opt/fog/log/fogscheduler.log" ); define( "SCHEDULERDEVICEOUTPUT", "/dev/tty4" ); define( "SCHEDULERSLEEPTIME", 60 ); } /** * init_setting() * Initial values if fresh install are set here * NOTE: These values are only used on initial * installation to set the database values. * If this is an upgrade, they do not change * the values within the Database. * Please use FOG Configuration->FOG Settings * to change these values after everything is * setup. * @return void */ private static function init_setting() { define('TFTP_HOST', "192.168.148.25"); define('TFTP_FTP_USERNAME', "fog"); define('TFTP_FTP_PASSWORD', "abff29"); define('TFTP_PXE_KERNEL_DIR', '/var/www/fog/service/ipxe/'); define('PXE_KERNEL', 'bzImage'); define('PXE_KERNEL_RAMDISK',127000); define('USE_SLOPPY_NAME_LOOKUPS',true); define('MEMTEST_KERNEL', 'memtest.bin'); define('PXE_IMAGE', 'init.xz'); define('PXE_IMAGE_DNSADDRESS', "192.168.148.235"); define('STORAGE_HOST', "192.168.148.25"); define('STORAGE_FTP_USERNAME', "fog"); define('STORAGE_FTP_PASSWORD', "abff29"); define('STORAGE_DATADIR', '/images/'); define('STORAGE_DATADIR_UPLOAD', '/images/dev/'); define('STORAGE_BANDWIDTHPATH', '/fog/status/bandwidth.php'); define('UPLOADRESIZEPCT',5); define('WEB_HOST', "192.168.148.25"); define('WOL_HOST', "192.168.148.25"); define('WOL_PATH', '/fog/wol/wol.php'); define('WOL_INTERFACE', "eth0"); define('SNAPINDIR', "/opt/fog/snapins/"); define('QUEUESIZE', '10'); define('CHECKIN_TIMEOUT',600); define('USER_MINPASSLENGTH',4); define('USER_VALIDPASSCHARS', '1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_()^!#-'); define('NFS_ETH_MONITOR', "eth0"); define('UDPCAST_INTERFACE', "eth0"); define('UDPCAST_STARTINGPORT', 63100 ); // Must be an even number! recommended between 49152 to 65535 define('FOG_MULTICAST_MAX_SESSIONS',64); define('FOG_JPGRAPH_VERSION', '2.3'); define('FOG_REPORT_DIR', './reports/'); define('FOG_UPLOADIGNOREPAGEHIBER',true); define('FOG_DONATE_MINING', "0"); } }
and the .fogsettings
## Created by the FOG Installer ## Version: 1.2.0 ## Install time: Mon 22 Jun 2015 15:30:03 CEST ipaddress="192.168.148.25"; interface="eth0"; routeraddress=" option routers 192.168.148.251;"; plainrouter="192.168.148.251"; dnsaddress=" option domain-name-servers 192.168.148.235; "; dnsbootimage="192.168.148.235"; password="abff29"; osid="2"; osname="Debian"; dodhcp="n"; bldhcp="0"; installtype="N"; snmysqluser="root" snmysqlpass="abff29"; snmysqlhost="localhost"; installlang="1"; donate="0"; fogupdateloaded="1"
The firewall is disabled and if i try to do tftp x.x.x.x get undionly.kpxe from a windows pc it can download the file…
I don’t know what else i can do, do you have any suggestion?
thanks a lot for your work guys. -
RE: Fog TFTP problem (1.2.0)
Hello, sorry i forgot to update with the solution… what happened to me was the disk space on the storage was near to the end so when i uploaded the image of the new PC probably it uploaded it corrupted but it didn’t said anything so i thought it was everything ok with the image indeed it was 24gb… so when i tried to image a new pc the cloning process was skipped and i dind’t know why so i thought the fault was of FOG because it was fucking the HD partition on the new partition so everytime i had to use a partition manager for do again the mbr table on the hd. after that i played a bit with the option in the pxe menu and i set the option to go on the menu only if a specific key was pressed so thats was the cause it was not booting on the pxe menu. It was a really easy easy thing but like everything, it was easy just when you discover it. :mad:
ps. of course you have to have a dhcp server who say to the clients where to try the pxe boot!
-
RE: Fog TFTP problem (1.2.0)
thanks for your reply, anyway i resolved today after 2 weeks, tomorrow i will explain what happened.
-
Fog TFTP problem (1.2.0)
Hi all guys,
first of all i want to say Thanks for your work on FOG.I have a problem with fog that actually i cannot resolve. It was all working fine with the 0.33 since 2 weeks ago the new clients arrived and fog was not able to image them (the upload of image went fine but after was not possible to deploy it on clients). The model is the Optiplex 7010 and when i was googling for a solution i discovered there was a new version of fog so i installed the 1.2.0 and now nothing is working. I always get the TFTP PXE-MOF error like if they can’t find a good server for pxe boot.
[IMG]http://i.imgur.com/kSqQ6xyl.jpg[/IMG]
I changed the setting in the dhcp server to undionly.kpxe and i also tried other files.
After the upgrade i noticed that i have a fog.prev folder with inside the config.php instead of the directory /var/www/fog/commons/config.php so now the file is on /var/www/fog.prev/commons/config.php i tried to copy the config.php file in the /var/www/fog/commons/config.php just for try but nothing changed…[IMG]http://i.imgur.com/zCYWDQml.png[/IMG]
[url]http://imgur.com/zCYWDQm[/url]
Here the config screen/var/commons/config.php
[IMG]http://i.imgur.com/uj9qwa3l.png?2[/IMG]
[url]http://imgur.com/uj9qwa3[/url]
/var/www/fog/lib/fog/Config.class.php[IMG]http://i.imgur.com/kevxOmpl.png?1[/IMG]
[url]http://imgur.com/kevxOmp[/url][IMG]http://i.imgur.com/aUj6zRAl.png?1[/IMG]
[url]http://imgur.com/aUj6zRA[/url]Thanks for your help
alessandro -
Some Problems with FOG and dhcp
Hi all boys, first off all i love you and FOG. really, first i was using ghost from symantec, but FOG… is simpe FOG!
i’m new in linux, i did a ubuntu 12.04 server and i install fog, some problems at the start but at the end it is working really fine. i put the 2 strings on the windows 2003 dhcp server for do this. in this last week and the morning some pcs were not connecting to internet but were working only the local server like \server, i discovered in event viewer the ip of my ubuntu server, because they take an ip of we assigne only to server, like xxx.xxx.xxx.200<x<255. first of all i tried to shutdown the ubuntu server and alla client worked. then i seached online how to disable the dhcp server on ubuntu and run this command [CODE]update-rc.d -f dhcp3-server remove[/CODE], and fog start to doesn’t work! i searched again online how to put it back but i didn’t find anything, then i tried to install an isc-dhcp-server
following this tutorial [url]http://askubuntu.com/questions/140126/how-to-configure-a-dhcp-server-on-ubuntu-12-04[/url] but i make only a bad thing i think. then i update my fog server to 0.32 (from 0.30) and today i create a proxy dhcp server from a tuttorial on this site but nothing, same error. here the attached image.i have a bit of confusion on my head but i hope you can help me. i hope i was cleare with my description and sorry for my bad english.
thanks you all[url=“/_imported_xf_attachments/0/179_IMAG0027.jpg?:”]IMAG0027.jpg[/url]