@tom-elliott Any way to resolve the issue before the new version is out as I’ve got a bunch machines arriving that will need to be imaged?
Posts made by Kagashe
-
RE: Slow UI High RAM usage.
-
RE: Slow UI High RAM usage.
Thanks @george1421 will give it a go, hopefully will fix the error highlighted by @Wayne-Workman.
-
RE: Slow UI High RAM usage.
Tried to do an upgrade but seems to be failing right at the end.
root@fogserver:~/fogproject/bin# ./installfog.sh Installing LSB_Release as needed * Attempting to get release information.......................Done systemd +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.2 Installer/Updater * Found FOG Settings from previous install at: /opt/fog/.fogsettings * Performing upgrade using these settings Starting Debian based Installation ###################################################################### # FOG now has everything it needs for this setup, 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. # # It will prepend the running with sudo if root is not set # ###################################################################### # ** Notice ** FOG is difficult to setup securely # # SELinux and IPTables are usually asked to be disabled # # There have been strides in adding capabilities # # The recommendations would now be more appropriate # # to set SELinux to permissive and to disable firewall for now. # # You can find some methods to enable SELinux and maintain firewall # # settings and ports. If you feel comfortable doing so please do # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Server IP Address: 192.168.1.7 * Server Subnet Mask: 255.255.255.0 * Interface: enp3s0 * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * 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-server and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.1.7) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * 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. * Adding needed repository....................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldoc isolinux lftp libapache2-mod-php7.1 libc6 libcurl3 liblzma-dev m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g * Skipping package: apache2.................................(Already Installed) * Skipping package: bc......................................(Already Installed) * Skipping package: build-essential.........................(Already Installed) * Skipping package: cpp.....................................(Already Installed) * Skipping package: curl....................................(Already Installed) * Skipping package: g++.....................................(Already Installed) * Skipping package: gawk....................................(Already Installed) * Skipping package: gcc.....................................(Already Installed) * Skipping package: genisoimage.............................(Already Installed) * Skipping package: gzip....................................(Already Installed) * Skipping package: htmldoc.................................(Already Installed) * Skipping package: isolinux................................(Already Installed) * Skipping package: lftp....................................(Already Installed) * Skipping package: libapache2-mod-php7.1...................(Already Installed) * Skipping package: libc6...................................(Already Installed) * Skipping package: libcurl3................................(Already Installed) * Skipping package: liblzma-dev.............................(Already Installed) * Skipping package: m4......................................(Already Installed) * Skipping package: mysql-client............................(Already Installed) * Skipping package: mysql-server............................(Already Installed) * Skipping package: net-tools...............................(Already Installed) * Skipping package: nfs-kernel-server.......................(Already Installed) * Skipping package: openssh-server..........................(Already Installed) * Skipping package: php7.1..................................(Already Installed) * Skipping package: php7.1-bcmath...........................(Already Installed) * Skipping package: php7.1-cli..............................(Already Installed) * Skipping package: php7.1-curl.............................(Already Installed) * Skipping package: php7.1-fpm..............................(Already Installed) * Skipping package: php7.1-gd...............................(Already Installed) * Skipping package: php7.1-json.............................(Already Installed) * Skipping package: php7.1-ldap.............................(Already Installed) * Skipping package: php7.1-mbstring.........................(Already Installed) * Skipping package: php7.1-mcrypt...........................(Already Installed) * Skipping package: php7.1-mysql............................(Already Installed) * Skipping package: php-gettext.............................(Already Installed) * Skipping package: sysv-rc-conf............................(Already Installed) * Skipping package: tar.....................................(Already Installed) * Skipping package: tftpd-hpa...............................(Already Installed) * Skipping package: tftp-hpa................................(Already Installed) * Skipping package: unzip...................................(Already Installed) * Skipping package: vsftpd..................................(Already Installed) * Skipping package: wget....................................(Already Installed) * Skipping package: xinetd..................................(Already Installed) * Skipping package: zlib1g..................................(Already Installed) * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................OK * Checking package: bc........................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gawk......................................OK * Checking package: gcc.......................................OK * Checking package: genisoimage...............................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: isolinux..................................OK * Checking package: lftp......................................OK * Checking package: libapache2-mod-php7.1.....................OK * Checking package: libc6.....................................OK * Checking package: libcurl3..................................OK * Checking package: liblzma-dev...............................OK * Checking package: m4........................................OK * Checking package: mysql-client..............................OK * Checking package: mysql-server..............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php7.1....................................OK * Checking package: php7.1-bcmath.............................OK * Checking package: php7.1-cli................................OK * Checking package: php7.1-curl...............................OK * Checking package: php7.1-fpm................................OK * Checking package: php7.1-gd.................................OK * Checking package: php7.1-json...............................OK * Checking package: php7.1-ldap...............................OK * Checking package: php7.1-mbstring...........................OK * Checking package: php7.1-mcrypt.............................OK * Checking package: php7.1-mysql..............................OK * Checking package: php-gettext...............................OK * Checking package: sysv-rc-conf..............................OK * Checking package: tar.......................................OK * Checking package: tftpd-hpa.................................OK * Checking package: tftp-hpa..................................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: xinetd....................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fog user.........................................Already setup * Setting up fog password.....................................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Setting up and starting MySQL...............................OK * Backing up user reports.....................................Done * Stopping web service........................................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Setting up and starting MySQL...............................OK * Setting up Apache and PHP files.............................OK * Testing and removing symbolic links if found................OK * Backing up old data.........................................OK * Copying new files to web folder.............................OK * Creating config file........................................OK * Unzipping the binaries......................................Done * Copying binaries where needed...............................Failed!
-
RE: Slow UI High RAM usage.
I was running fog 1.5.0 RC 10 I think not sure now because the web ui isn’t even loading up anymore. OS was Ubuntu 16.04 LTS Fog clients used were 0.11.12.
Here is the output of top
top - 14:36:05 up 2 min, 1 user, load average: 0.98, 0.71, 0.29 Tasks: 177 total, 1 running, 176 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.5 us, 4.2 sy, 0.0 ni, 91.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 16301456 total, 14480044 free, 464332 used, 1357080 buff/cache KiB Swap: 4061180 total, 4061180 free, 0 used. 15494376 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1344 www-data 20 0 460980 21300 13144 S 7.3 0.1 0:01.37 apache2 2981 www-data 20 0 460984 21120 12960 S 5.3 0.1 0:00.64 apache2 1170 mysql 20 0 1795904 197548 23628 S 2.0 1.2 0:04.07 mysqld 996 root 20 0 24044 2432 2068 S 0.3 0.0 0:00.01 vsftpd 1316 root 20 0 430756 23568 13752 S 0.3 0.1 0:00.40 FOGMulticastMan 1318 root 20 0 430756 23680 13864 S 0.3 0.1 0:00.09 FOGTaskSchedule 1320 root 20 0 430756 23668 13856 S 0.3 0.1 0:00.36 FOGImageReplica 3379 al 20 0 41804 3832 3192 R 0.3 0.0 0:00.04 top
-
Slow UI High RAM usage.
Hi guys have had fog running for a few months now, loving so far of late though the Web UI is very slow in loading sometimes taking up to 5 minutes to load have also noticed ram usage is always high using all 16 GB of ram even when not imaging or replicating, any idea on how I can solve this?
-
RE: A valid Database Connection could not be made
Fixed! thanks for the prompt responses, love this forum, you guys are always so helpful!
-
RE: A valid Database Connection could not be made
I suspected something like that so initially just for testing I set a password for root, enabled remote root access in mysql and then chnged the credentials in fogsettings but still had the same error. I am able to access mysql with those credentials from the command line on the node.
-
A valid Database Connection could not be made
Hi guys I have setup and additional node on my WAN, setup went relatively smoothly but am now getting this error message on the dashboard.
Any Ideas on how I can solve it?
both machines running up to date Ubuntu 16.04 one on version 1.5.0 the other on 1.5.0-RC-10 -
How do I add Multifuntion Printers so that people can scan as well?
Hi Guys,
I’v managed to successfully add TCP/IP printers with an IP_ port but none of the hosts can scan from that printer now, is there a way to add that functionality in?
-
Error after image is captured.
Hi Guys,
I get an error that fog can’t update the database after the image capture process is completed after which the machine switches off and the task remains incomplete.
I saw another thread where the issue was the permissions in the /images folder so I tried that to no avail, not sure what has changed as I have captured multiple images prior to this. -
RE: DHCP Setup with Locations Plugin
@george1421 Ya sorry was struggling to explain, mainly I was wondering on the remote site dhcp server do I set options 066 067 to point to the master node or the mirror node, If I point it to the master node, will the master node forward the request to the mirror?
-
DHCP Setup with Locations Plugin
Hi Guys,
I have the locations plugin installed and configured, and I’m not using FOG servers for DHCP at any of my sites but am the Windows DHCP, at the remote sites do I set the server to be my master node or the node that is in that location?
-
RE: Can't Create Locations
Updated to dev branch and all working as it should now. Thanks again for the help!
+1 to the devs the new GUI is looking amazing! -
RE: Can't Create Locations
Thanks, I think I’ve already sorted the FTP issue yesterday as I can now capture and deploy images which I couldn’t initially. Will try and upgrade to the dev branch now to sort the locations issue.
Thanks for the help!
-
Can't Create Locations
Hi Guys,
New to FOG and loving it so far!
Getting an error (ID Must be set to edit) when trying to create a new Location.
Using FOG 1.4.4 on a clean install of Ubuntu 16.10.
Apache error log below.[Thu Jan 25 13:21:43.401974 2018] [php7:warn] [pid 1148] [client 192.168.1.19:41834] PHP Warning: ftp_chmod(): SITE CHMOD command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 136
[Thu Jan 25 12:03:12.521737 2018] [core:notice] [pid 1142] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Jan 25 12:03:12.521252 2018] [mpm_prefork:notice] [pid 1142] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Thu Jan 25 12:02:47.463004 2018] [mpm_prefork:notice] [pid 1137] AH00169: caught SIGTERM, shutting down
[Thu Jan 25 11:53:42.102717 2018] [core:notice] [pid 1137] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Jan 25 11:53:42.099300 2018] [mpm_prefork:notice] [pid 1137] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Thu Jan 25 11:53:16.366711 2018] [mpm_prefork:notice] [pid 1159] AH00169: caught SIGTERM, shutting down
[Wed Jan 24 16:49:40.944002 2018] [php7:warn] [pid 1161] [client 192.168.1.19:44956] PHP Warning: ftp_chmod(): SITE CHMOD command failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 136
[Wed Jan 24 16:28:25.249680 2018] [php7:warn] [pid 1470] [client 192.168.1.19:48484] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:22.002661 2018] [php7:warn] [pid 1211] [client 192.168.1.19:48482] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:18.292985 2018] [php7:warn] [pid 1160] [client 192.168.1.19:48480] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:14.122962 2018] [php7:warn] [pid 1162] [client 192.168.1.19:48478] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:11.087423 2018] [php7:warn] [pid 1211] [client 192.168.1.19:48476] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:07.213195 2018] [php7:warn] [pid 1160] [client 192.168.1.19:48474] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:03.750236 2018] [php7:warn] [pid 1212] [client 192.168.1.19:48472] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:28:00.699926 2018] [php7:warn] [pid 1164] [client 192.168.1.19:48470] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:27:57.269678 2018] [php7:warn] [pid 1211] [client 192.168.1.19:48468] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:27:53.846381 2018] [php7:warn] [pid 1161] [client 192.168.1.19:48466] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:27:50.349864 2018] [php7:warn] [pid 1164] [client 192.168.1.19:48464] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463
[Wed Jan 24 16:24:39.569176 2018] [php7:warn] [pid 1470] [client 192.168.1.33:59557] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 463, referer: http://192.168.1.37/fog/management/index.php?node=snapin&sub=add -
RE: Issues after upgrading from 1.4.3 to 1.4.4
I also have this issue after a clean install, tried the script to patch the new file in but doesn’t seem to have worked anything else i can try?