I applied the cleanup edit and latest trunk 2933 and rebooted it seems stable I will keep an eye on it I did notice the bandwidth transmit is not showing anything but receive is any idea why it would stop tracking?
Posts made by Joseph Hales
-
RE: Climbing Server Load
-
RE: Climbing Server Load
Running Ubuntu 12.04 lts
SVN 2929fog install log follows
…#######:. …,#,… .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
[url]http://www.fogproject.org/[/url]
Developers:
Chuck Syperski
Jian Zhang
Peter Gilchrist
Tom Elliott
GNU GPL Version 3
###########################################
Version: 1.3.0 Installer/Updater
- Found FOG Settings from previous install at: /opt/fog/.fogsettings
- Performing upgrade using these settings…
Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
#####################################################################
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 Redhat or with sudo on Ubuntu.
** Notice ** Redhat users will need to disable SELinux and iptables in
order to use FOG
Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]Here are the settings FOG will use:
Base Linux: Debian
Detected Linux Distribution: Ubuntu
Installation Type: Normal Server
Server IP Address: 10.200.10.150
DHCP router Address:
DHCP DNS Address: 10.200.10.33
Interface: bond0
Using FOG DHCP: 0
Internationalization: 1
Image Storage Location: /images
Donate: 0DHCP 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 On a Windows DHCP server you must set: option 066 & 067 Option 066 is the IP of the FOG Server: (e.g. 10.200.10.150) Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
Are you sure you wish to continue (Y/N)
Installation Started…Installing required packages, if this fails
make sure you have an active internet connection.-
Preparing apt-get
-
Packages to be installed: apache2 php5 php5-json php5-gd php5-cli php5-mysql php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt language-pack-it language-pack-en language-pack-es language-pack-zh-hans
-
Skipping package: apache2 (Already installed)
-
Skipping package: php5 (Already installed)
-
Skipping package: php5-common (Already installed)
-
Skipping package: php5-gd (Already installed)
-
Skipping package: php5-cli (Already installed)
-
Skipping package: php5-mysql (Already installed)
-
Skipping package: php5-curl (Already installed)
-
Skipping package: mysql-server (Already installed)
-
Skipping package: mysql-client (Already installed)
-
Skipping package: tftpd-hpa (Already installed)
-
Skipping package: tftp-hpa (Already installed)
-
Skipping package: nfs-kernel-server (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: sysv-rc-conf (Already installed)
-
Skipping package: tar (Already installed)
-
Skipping package: gzip (Already installed)
-
Skipping package: build-essential (Already installed)
-
Skipping package: cpp (Already installed)
-
Skipping package: gcc (Already installed)
-
Skipping package: g++ (Already installed)
-
Skipping package: m4 (Already installed)
-
Skipping package: htmldoc (Already installed)
-
Skipping package: lftp (Already installed)
-
Skipping package: openssh-server (Already installed)
-
Skipping package: php-gettext (Already installed)
-
Skipping package: php5-mcrypt (Already installed)
-
Skipping package: language-pack-it (Already installed)
-
Skipping package: language-pack-en (Already installed)
-
Skipping package: language-pack-es (Already installed)
-
Skipping package: language-pack-zh-hans (Already installed)
Confirming package installation.
- Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-json…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: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: php5-mcrypt…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 and starting MySql…OK
-
Backing up user reports…OK
-
Setting up and starting Apache Web Server…OK
-
Changing permissions on apache log files…OK
-
Downloading kernels and inits…OK
-
Copying back any custom hook files.
-
Copying back any custom report files.
You still need to install/update your database schema.
This can be done by opening a web browser and going to:
Press [Enter] key when database is updated/installed.
- Setting up storage…OK
- Setting up and starting DHCP Server…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
- Installing init scripts…OK
- Setting up FOG Services…OK
- Setting up FOG Utils…OK
- Starting FOG Multicast Management Server…OK
- Starting FOG Image Replicator Server…OK
- Starting FOG Task Scheduler Server…OK
- Starting FOG Snapin Replicator Server…OK
- Configuring Fresh Clam…OK
- Setting up and starting NFS Server…OK
Setup complete!
You can now login to the FOG Management Portal using
the information listed below. The login information
is only if this is the first install.This can be done by opening a web browser and going to:
[url]http://10.200.10.150/fog/management[/url] Default User: Username: fog Password: password
-
RE: Climbing Server Load
Apache log last couple of entries
[Tue Jan 27 14:15:21 2015] [error] [client 10.41.50.243] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 60, referer: [url]http://10.200.10.150/fog/management/index.php?node=host[/url]
[Tue Jan 27 14:33:14 2015] [error] [client 10.200.32.7] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 44 bytes) in /var/www/fog/lib/fog/FOGController.class.php on line 60, referer: [url]http://fog/fog/management/index.php?node=host[/url]
[Tue Jan 27 14:38:07 2015] [error] [client 10.111.50.31] File does not exist: /var/www/favicon.ico
[Tue Jan 27 14:38:07 2015] [error] [client 10.111.50.31] File does not exist: /var/www/favicon.ico
[Tue Jan 27 14:43:29 2015] [error] [client 10.111.50.31] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 16, referer: [url]http://10.200.10.150/fog/management/index.php?node=host&sub=add[/url]
[Tue Jan 27 14:43:29 2015] [error] [client 10.111.50.31] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 16, referer: [url]http://10.200.10.150/fog/management/index.php?node=host&sub=add[/url]
[Tue Jan 27 14:46:29 2015] [error] [client 10.109.48.34] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 16, referer: [url]http://10.200.10.150/fog/management/index.php?node=host&sub=add[/url]
[Tue Jan 27 14:46:29 2015] [error] [client 10.109.48.34] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 16, referer: [url]http://10.200.10.150/fog/management/index.php?node=host&sub=add[/url]
[Tue Jan 27 14:47:07 2015] [error] [client 10.112.50.63] File does not exist: /var/www/favicon.ico
[Tue Jan 27 14:47:07 2015] [error] [client 10.112.50.63] File does not exist: /var/www/favicon.ico
[Tue Jan 27 14:50:57 2015] [error] [client 10.109.48.34] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 16, referer: [url]http://10.200.10.150/fog/management/index.php?node=host&sub=add[/url]
[Tue Jan 27 14:50:57 2015] [error] [client 10.109.48.34] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 16, referer: [url]http://10.200.10.150/fog/management/index.php?node=host&sub=add[/url] -
Climbing Server Load
since updating to 2929 my server load has been steadily climbing throughout the day. I upgraded early yesterday and by this morning the system was unresponsive to tftp and web access and console access was slow. I rebooted and was back to normal but at this point after 6.5 hours up time server load average is 32 to 33 and pages are slow to respond in the web interface.
-
RE: Deployment User
Would you consider posting your cron job to the how to forum or perhaps the wiki?
-
Deployment User
I remember in the lead up to the 1.1.0 release their was discussion of a more granular user rights setup and was wondering if this was any closer to becoming a reality. My main concern is almost every interface page has a delete all button now and it has me on edge just waiting for one of my lower level users to send me an email titled “Sorry I Deleted all the clients!” or something similar. Really the most common restriction I can think off would be a user limited to registering hosts, adding snapins, and deploying images. This would keep the more inept users out of uploading and deleting anything. Even mobile only access would work if they could add snapins to a host.
-
RE: Image Size: ON SERVER 0,00 iB
I have noticed old style part images do not show a size but part clones do.
-
RE: Fog active tasks will not display
I think this is the relevant one but I am not sure if its the exact log you are looking for. Feel free to direct me to a filename or directory.
[Mon Jan 26 10:39:58 2015] [error] [client 10.43.48.23] PHP Fatal error: Call to a member function __toString() on a non-object in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 423, referer: [url]http://10.200.10.150/fog/management/index.php[/url]
[Mon Jan 26 10:43:30 2015] [error] [client 10.102.50.38] PHP Fatal error: Call to a member function __toString() on a non-object in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 423, referer: [url]http://10.200.10.150/fog/management/index.php[/url]
[Mon Jan 26 10:43:32 2015] [error] [client 10.102.50.38] PHP Fatal error: Call to a member function __toString() on a non-object in /var/www/fog/lib/pages/TaskManagementPage.class.php on line 423 -
Fog active tasks will not display
SVN version 2912 upgraded from .32 running on Ubuntu 12.04 LTS
We have been running OK for a week at this version and today suddenly i am unable to access active tasks. The web browser just fails to load anything and the home page shows 5 active and 6 que’d tasks but the actual listing of active tasks is unresponsive. Any suggestions I found some older directions to remove all active tasks at [url]http://www.thelazysysadmin.net/2011/01/fog-deleting-all-current-active-tasks/[/url] but I was leery of messing directly with the database with so many revisions taking place. -
RE: Restore from backup
We are also looking for the database that currently has about 9800 entries of computers that were registered with fog before it crashed. Also we are trying to find the sql table that might have the users that have been created with their respective password.
-
Restore from backup
We recently lost our entire fog server. We used this as an opportunity to go from ubuntu 10 lts to 12.04 lts. Our main issue is we have a full backup of the file system but after reinstalling the os and fog .32 from scratch and restoring.
/opt/fog
/var/www/fog
/tftpboot
We are not back to normal I believe we are missing the actual sql database and since we have a copy of the file system and not a dump as created by mysqldump where is the file or files physically located and do i need to do anything special when I restore them from our backup.