Hey george1421,
Thanks for clearing that up mate
Posts made by Pikmin
-
fog memtest uefi
Server
- FOG Version: Running Version 1.4.0
SVN Revision: 6069 - OS: Ubuntu Server 16.04
Client
- Service Version:
- OS:
Description
When I netboot using UEFI the memtest doesn’t work
exec format error
chainloading failedDo you guys have a working memtest bin for the UEFI version?
- FOG Version: Running Version 1.4.0
-
RE: Fog IP Address change
It reinstalled okay by using Tom’s settings, sorry Ubuntu 14.04 and fog Version: 5666
When I try to click on the Log Viewer from the web interface I am still receiving an errorFatal error: Uncaught exception ‘Exception’ with message ‘FOGFTP: Login failed. Host: 192.168.158.10, Username: fog, Password: Uwzuif0chcH5, Error: ftp_login(): Login incorrect.’ in /var/www/html/fog/lib/fog/fogftp.class.php:29 Stack trace: #0 /var/www/html/fog/lib/pages/fogconfigurationpage.class.php(635): FOGFTP->connect() #1 [internal function]: FOGConfigurationPage->log() #2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array) #3 /var/www/html/fog/management/index.php(24): FOGPageManager->render() #4 {main} thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 29
I have also used your script in bashrc and specified my proxy username pass ip and port
-
RE: Fog IP Address change
I have found another topic by george 1421
Tom suggested to use something like this:
you could simplify the script for yourself.
run:
http_proxy=http://<proxy_server_ip>:<proxy_port> https_proxy=$http_proxy ftp_proxy=$http_proxy no_proxy=“localhost” ./installfog.sh -y
So far it works, need to test storage
Thanks -
Fog IP Address change
Hi all
I’ve changed my fog ip address and I can’t rerun the installer to pick up the updated settings because I’m behind a proxy
Installing required packages, if this fails
make sure you have an active internet connection.- Adding needed repository…Failed!
Any way to get past this, all the packages have already been installed and should just work. I had this problem last time I looked at fog, my storage nodes wouldn’t work properly.
-
RE: Ubuntu 14.04 Fog 1.20 updated to latest svn
@Tom-Elliott said:
@Pikmin Do you have separate storage nodes?
No, I don’t just the master which is on the fog server
@ch3i said:
FOG_STORAGENODE_MYSQLPASS is not a unix password, it’s stored in MySQL database (in nfsGroupMembers table), has said Tom, it’s only to communicate between FOG node storage.
Ensure that in you FOG settings (in web UI) the FOG_TFTP_FTP_PASSWORD has the password68c364
.
The password in there is already set to thatThanks so much, I kinda did check the tables in sql but was looking for one called users
+---------+---------+ | ngmUser | ngmPass | +---------+---------+ | fog | 68c364 | +---------+---------+
In the FOG_STORAGENODE_MYSQLUSER I had fogstorage, but shouldn’t that be just fog? I have tried with fog, same thing.
This is what the other place looks like
Thank you both for helping out, much appreciated -
RE: Ubuntu 14.04 Fog 1.20 updated to latest svn
Thanks Tom,
Is fogstorage meant to be a separate unix account used exclusively for connecting nodes together?
I would love to know how to fix this instead of reinstalling -
RE: Ubuntu 14.04 Fog 1.20 updated to latest svn
ch3i, thanks for clearing that part up. I’ve checked and fog unix pass is 68c364
Would I use the same password in the FOG Storage Nodes?
FOG_STORAGENODE_MYSQLUSER = fogstorage
FOG_STORAGENODE_MYSQLPASS = 68c364Management username and password under Nodes is just fog and password?
When I try to quick image I get this:
http://192.168.4.22/fog/service/ipxe/boot.php ... ok Could not find a Storage Node Is there one enabled within this Storage Group http://192.168.4.22/fog/service/ipxe/boot.php ... ok http://192.168.4.22/fog/service/ipxe/g.png ... ok```
-
Ubuntu 14.04 Fog 1.20 updated to latest svn
Hi,
I’ve updated to the latest SVN and now have issues with the master storage node, the only one i use at the moment
It doesn’t actually show up on the main graph
I’ve tried deleting and recreating no luck
When I try to Quick image I get
Couldn’t find a storage node (with the right ip)private static function init_setting() { define('TFTP_HOST', "192.168.4.22"); define('TFTP_FTP_USERNAME', "fog"); define('TFTP_FTP_PASSWORD', "68c364"); define('TFTP_PXE_KERNEL_DIR', '/var/www/html/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', ""); define('STORAGE_HOST', "192.168.4.22"); define('STORAGE_FTP_USERNAME', "fog"); define('STORAGE_FTP_PASSWORD', "68c364"); 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.4.22"); define('WOL_HOST', "192.168.4.22"); 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");
EDIT:
I’ve noticed just now the settings don’t have a password set for storageftp user, not sure if that’s normal.
One last thing I don’t understand
FOG_STORAGENODE_MYSQLUSER is fogstorage
where can I find the password for this, or how to test if working?Created by the FOG Installer
Version:
Install time: Thu 23 Jul 2015 07:38:18 AEST
ipaddress=“192.168.4.22”;
interface=“eth0”;
routeraddress=“# option routers x.x.x.x;”;
plainrouter=“”;
dnsaddress=“# option domain-name-servers x.x.x.x; “;
dnsbootimage=””;
password=‘68c364’;
osid=“2”;
osname=“Debian”;
dodhcp=“n”;
bldhcp=“0”;
installtype=“N”;
snmysqluser=“”
snmysqlpass=‘pass’;
snmysqlhost=“”;
installlang=“0”;
donate=“0”;
storageLocation=“/images”;
mysql_conntype=“MYSQLI_ASYNC”;
fogupdateloaded=“1”;
storageftpuser=“”;
storageftppass=‘’;
docroot=“/var/www/html/”;
webroot=“fog/”;
caCreated=“yes”; -
RE: Integrating Hirens Boot 15.2 into fog 1.2.0
Thanks aaoyagi, when I realised nfs mount was needed it was easy.
Do you happen to have a working menu for parted magic? I’ve tried both ways with the iso mounted and exported and just path to the iso
Throws an error both times.UPDATE: looked over it one more time and tried what Tom suggested- removed raw and iso
chain memdisk ||Working fine, thank you kindly
-
RE: Integrating Hirens Boot 15.2 into fog 1.2.0
I understand that, just don’t get what I’m doing wrong when following the steps in this thread
EDIT:
Okay all good now, no mention of having to export the path to the mount to NFS. I am new to this, didn’t know -
RE: Integrating Hirens Boot 15.2 into fog 1.2.0
This is what it looks like after vmlinuz.efi and initrd.lz get loaded
-
RE: Integrating Hirens Boot 15.2 into fog 1.2.0
I have mounted the iso from the server through a terminal, can’t give it 777 as it’s read only
root@fog:/var/www/fog/service/ipxe/iso# mount -t iso9660 ubuntu-15.04-desktop-amd64.iso ubuntu -o loop,uid=33,gid=33 mount: warning: ubuntu seems to be mounted read-only. root@fog:/var/www/fog/service/ipxe/iso# ls -l total 1467942 dr-xr-xr-x 1 www-data www-data 2048 Apr 22 22:30 ubuntu -rw-r--r-- 1 fog www-data 1150844928 Jun 24 08:12 ubuntu-15.04-desktop-amd64.iso
The above didn’t work, as in didn’t get as far, the owner needs to be fog.
I think the part I need to work out how to change is the nfs mount that points to /cdrom in the error message i posted below -
RE: Integrating Hirens Boot 15.2 into fog 1.2.0
Thanks Wayne,
I had to change the vmlinuz to vmlinuz.efi
It loads it and initrd.lz and gets to this partBegin: Trying netboot from 10.0.0.1:/var/www/fog/service/ipxe/iso/ubuntu ... Begin: Trying nfsmount -o nolock -o ro 10.0.0.1:/var/www/fog/service/ipxe/iso/ubuntu /cdrom ... mount call failed - server replied: Permission denied ...
I thought it was maybe because when the iso gets mounted root is the owner and group owner, tried to mount as fog (1001) no luck
mount -t iso9660 ubuntu-15.04-desktop-amd64.iso ubuntu -o loop,uid=1001,gid=1001 ro
Just to clarify I am mounting the iso to /var/www/fog/service/ipxe/iso/ubuntu, ubuntu15 iso is in /var/www/fog/service/ipxe/iso folder
-
RE: Integrating Hirens Boot 15.2 into fog 1.2.0
Hi everyone,
I have tried to create an advanced menu for ubuntu 15
Added the following to advanced menu:ubuntu15.04_64 initrd http://${fog-ip}/${fog-webroot}/service/ipxe/iso/ubuntu-15.04-desktop-amd64.iso chain memdisk iso raw || goto MENU
It loads the iso from the network, ubuntu splash comes up and starts loading then I get this error message
(initramfs) Unable to find a medium containing a live file system
The iso is located in
root@fog:/var/www/fog/service/ipxe# ls -lh iso/ total 1.4G -rw-r--r-- 1 fog www-data 336M Jun 24 08:27 pmagic_2013_08_01.iso -rw-r--r-- 1 fog www-data 1.1G Jun 24 08:12 ubuntu-15.04-desktop-amd64.iso
I’m looking at the menu below and it’s got extra options, does that mean I need to extract the iso to the ubuntu folder (in the example) or do I need to mount it to that folder on the fog server?
Thank you for your help and sorry for replying to an old thread but it’s relevant to my issue