Nice! I’m exited to try it out. Thank you guys for tremendous support and time spent working on this.
Posts made by DrNatas
-
RE: FOG 1.1.0 Released
-
RE: CentOS 6.5 x86_64 Installation process & failure with FOGFTP
[quote=“Tom Elliott, post: 29258, member: 7271”]The date.timezone error you’re seeing, is this still an issue?
Edit the php.ini file and place your timezone setting there.[/quote]
Found the file and edited according & no more errors.
File path:
/etc/php.ini[code]
Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = ‘America/Los_Angeles’
[/code] -
RE: CentOS 6.5 x86_64 Installation process & failure with FOGFTP
[quote=“Tom Elliott, post: 29258, member: 7271”]The date.timezone error you’re seeing, is this still an issue?
Edit the php.ini file and place your timezone setting there.[/quote]
I was able to use the following code to address the timezone settings so far tail /var/log/httpd/error_log has reported anything. I’ll keep making notes.
[code]
tzselect
[/code] -
RE: CentOS 6.5 x86_64 Installation process & failure with FOGFTP
My iptables were disabled before I installed FOG.
[code]
[root@localhost drnatas]# /etc/init.d/iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destinationChain FORWARD (policy ACCEPT)
num target prot opt source destinationChain OUTPUT (policy ACCEPT)
num target prot opt source destination
[/code] -
RE: CentOS 6.5 x86_64 Installation process & failure with FOGFTP
[quote=“Tom Elliott, post: 29217, member: 7271”]And this is why we ask you to turn off SElinux[/quote]
It’s all good I copied and pasted the code to disabled the SELINUX, I assumed it was disabled instead of checking it.
Once I’m done with perfecting the installation I will love to assist you guys with the wiki. Once again thanks for your enormous support.
[code]
[root@localhost drnatas]# sestatus -v
SELinux status: disabled
[/code] -
CentOS 6.5 x86_64 Installation process & failure with FOGFTP
*Most of this came from [url]http://www.fogproject.org/wiki/index.php/Installation_on_CentOS_6.4[/url] *
After a Fully updated && upgraded OS.*Static IP Address setup:
system-config-networkDownloading FOG
(I like putting everything on my Download folder)
[code]
cd /home/user/Downloads/
svn co https://svn.code.sf.net/p/freeghost/code/tags/1.0.1/ fog_1.0.1
cd /fog_1.0.1/bin
./installfog.sh
[/code]Installing FOG, user appropriate settings.
If you setup your network configurations with system-config-network you should be able to press enter all the way down.
Error during installation: (DON’T PANIC YET)
Don’t close your current terminal
[code]
Configuring services.- Setting up fog user…OK
- Setting up and starting MySQL…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…OK
- Restoring user reports…OK
- Configuring Fresh Clam…Skipped (See wiki for installation instructions)
- Setting up storage…OK
- Setting up and starting NFS Server…OK
- Setting up and starting DHCP Server…OK
- 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
- Starting FOG Multicast Management Server…OK
- Starting FOG Image Replicator Server…Failed!
[/code]
Launch your browser and go to your server IP address
Then select the “Install/Upgrade Now”
[code]
http://YOUR-SERVER-IP/fog/commons/schemaupdater/index.php?redir=1
[/code]Go back to your terminal & relaunch your ./install.sh file.
Installation should be good after this.
[code]
Configuring services.- Setting up fog user…Exists
- Setting up and starting MySQL…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…OK
- Restoring user reports…OK
- Configuring Fresh Clam…Skipped (See wiki for installation instructions)
- Setting up storage…OK
- Setting up and starting NFS Server…OK
- Setting up and starting DHCP Server…OK
- 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
- Starting FOG Multicast Management Server…OK
- Starting FOG Image Replicator Server…OK
- Starting FOG Task Scheduler Server…OK
- Setting up FOG Utils…OK
Would you like to notify the FOG group about this installation?
* This information is only used to help the FOG group determine
if FOG is being used. This information helps to let us know
if we should keep improving this product.Send notification? (Y/N)
[/code]Log in to your FOG manager GUI
Create an image,
create a host & add to image.Another problem that I encounter.
[ATTACH]897[/ATTACH]
I tried the following but failed.
[code]
chown -R fog:root /tftpboot
[/code]
I found this on a website.
[code]
[root@localhost bin]# restorecon -Rv /tftpboot
restorecon reset /tftpboot context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/all-wcprops context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/text-base context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/props context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/entries context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/tmp context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/tmp/text-base context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/tmp/props context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/tmp/prop-base context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/tftpboot/.svn/prop-base context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/default.ipxe context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/vesamenu.c32 context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/boot.txt context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/ipxe.krn context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/undionly.kpxe context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/memdisk context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/snponly.efi context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
restorecon reset /tftpboot/pxelinux.0.old context unconfined_u:object_r:default_t:s0->unconfined_u:object_r:tftpdir_t:s0
[root@localhost bin]# /etc/init.d/vsftpd restore
Usage: /etc/init.d/vsftpd {start|stop|restart|try-restart|force-reload|status}
[root@localhost bin]# /etc/init.d/vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
[/code]
FOG starts imaging.
Then it fails, and this is as far as I gone.Another error that I found in /var/log/httpd/error_log
[code]
[Wed Jun 04 11:55:35 2014] [error] [client 192.168.106.130] PHP Warning: date_default_timezone_get(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘America/Los_Angeles’ for ‘PDT/-7.0/DST’ instead in /var/www/html/fog/commons/system.php on line 11, referer: http://192.168.106.130/fog/management/index.php?node=tasks&sub=active
[/code][url=“/_imported_xf_attachments/0/897_Windows 8-2014-06-02-12-05-42.png?:”]Windows 8-2014-06-02-12-05-42.png[/url][url=“/_imported_xf_attachments/0/898_Windows 8-2014-06-03-08-24-36.png?:”]Windows 8-2014-06-03-08-24-36.png[/url]
-
RE: CentOS 6.5 and FOG 1.0.1 Install Problem
I was able to get past this issue by rebooting and re-running the install file. That seem to get the software installed.
-
RE: Error received from TFTP server
Yeah, one of the things that I read was from the Wiki. Is one of the first steps to pre-installing Fog project.
Source: [url]http://www.fogproject.org/wiki/index.php/Installation_on_CentOS_6.4[/url] -
RE: Error received from TFTP server
I wasn’t able to connect to my box using ftp, because it wasn’t installed for some reason. After I installed it I was able to connect to the server but I need to reset the password. I’ll keep working on that.
[code]
cted to 192.168.106.130 (192.168.106.130).
220 (vsFTPd 2.2.2)
Name (192.168.106.130:root): fog
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.[/code]Checking for vsftpd.
[code][root@localhost ipxe]# /etc/init.d/vsftpd status
vsftpd (pid 38063) is running…[/code]Checking chkconfig list
[code][root@localhost ipxe]# chkconfig --list vsftpd
vsftpd 0:off1:off2:on3:on4:on5:on6:off[/code]Source::
[url]http://www.fogproject.org/wiki/index.php/Password_Central[/url] -
RE: Error received from TFTP server
[quote=“Tom Elliott, post: 27410, member: 7271”]My guess as to the issue. Did you change the file that the DHCP server looks for on tftp? In 33b and up, it’s should be set to undionly.kpxe.
On Windows DHCP server you much change the Option 67 part to look for this new file. In the past it was pxelinux.0, now it’s undionly.kpxe.
Also, make sure the permissions are correct as the file in /tftpboot should be owned by the FOG user which can be ensured by running, as root user, the command:
[code]chown -R fog:root /tftpboot[/code]
Hopefully this helps.[/quote]
There is problem that I saw with this folder path. For some reason. [code]chown -R fog:root /tftpboot[/code] didn’t work, so I came across this in. [code]restorecon -Rv /tftproot[/code][COLOR=#000000] so I was able to get to upload an image up to 99.80% when it fails. There is a problem I haven’t figured out how to setup the proper ownership on this folder (/tftpd). At the moment I’m trying to add the fog user and my local accounts to the root folder to see if that makes any difference. [/COLOR]
[COLOR=#000000]Here is my ls -Zal output[/COLOR][COLOR=#000000][code][/COLOR]
[COLOR=#000000]root@localhost /]# ls -Zal[/COLOR]
[COLOR=#000000]total 118[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 25 system_u:object_r:root_t:s0 root root 4096 Jun 3 10:33 [/COLOR]
[COLOR=#000000]dr-xr-xr-x. 25 system_u:object_r:root_t:s0 root root 4096 Jun 3 10:33 [/COLOR]
[COLOR=#000000]-rw-r–r–. 1 system_u:object_r:etc_runtime_t:s0 root root 0 Jun 3 10:33 .autofsck[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 2 system_u:object_r:bin_t:s0 root root 4096 Jun 2 13:22 bin[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 5 system_u:object_r:boot_t:s0 root root 1024 May 21 15:55 boot[/COLOR]
[COLOR=#000000]drwxr-xr-x. 18 system_u:object_r:device_t:s0 root root 3720 Jun 3 10:33 dev[/COLOR]
[COLOR=#000000]drwxr-xr-x. 105 system_u:object_r:etc_t:s0 root root 12288 Jun 3 10:34 etc[/COLOR]
[COLOR=#000000]drwxr-xr-x. 4 system_u:object_r:home_root_t:s0 root root 4096 Jun 2 11:29 home[/COLOR]
[COLOR=#000000]drwxrwxrwx. 3 unconfined_u:object_r:default_t:s0 root root 4096 Jun 2 11:29 images[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 10 system_u:object_r:lib_t:s0 root root 4096 May 21 02:31 lib[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 9 system_u:object_r:lib_t:s0 root root 12288 Jun 2 13:22 lib64[/COLOR]
[COLOR=#000000]drwx------. 2 system_u:object_r:lost_found_t:s0 root root 16384 May 21 02:27 lost+found[/COLOR]
[COLOR=#000000]drwxr-xr-x. 2 system_u:object_r:mnt_t:s0 root root 4096 Jun 2 13:56 media[/COLOR]
[COLOR=#000000]drwxr-xr-x. 3 system_u:object_r:mnt_t:s0 root root 4096 May 21 02:36 mnt[/COLOR]
[COLOR=#000000]drwxr-xr-x. 4 system_u:object_r:usr_t:s0 root root 4096 Jun 2 11:29 opt[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 184 system_u:object_r:proc_t:s0 root root 0 Jun 3 10:33 proc[/COLOR]
[COLOR=#000000]dr-xr-x—. 3 system_u:object_r:admin_home_t:s0 root root 4096 Jun 3 10:37 root[/COLOR]
[COLOR=#000000]dr-xr-xr-x. 2 system_u:object_r:bin_t:s0 root root 12288 Jun 2 13:22 sbin[/COLOR]
[COLOR=#000000]drwxr-xr-x. 7 system_u:object_r:security_t:s0 root root 0 Jun 3 10:33 selinux[/COLOR]
[COLOR=#000000]drwxr-xr-x. 2 system_u:object_r:var_t:s0 root root 4096 Sep 23 2011 srv[/COLOR]
[COLOR=#000000]drwxr-xr-x. 13 system_u:object_r:sysfs_t:s0 root root 0 Jun 3 10:33 sys[/COLOR]
[COLOR=#000000]drwxrwxrwx. 3 unconfined_u:object_r:tftpdir_t:s0 drnatas root 4096 Jun 2 14:21 tftpboot[/COLOR]
[COLOR=#000000]drwxr-xr-x. 3 unconfined_u:object_r:tftpdir_t:s0 fog drnatas 4096 Jun 2 14:05 tftpboot.prev[/COLOR]
[COLOR=#000000]drwxrwxrwt. 23 system_u:object_r:tmp_t:s0 fog root 4096 Jun 3 10:37 tmp[/COLOR]
[COLOR=#000000]-rw-r–r–. 1 unconfined_u:object_r:etc_runtime_t:s0 root root 0 Jun 2 14:08 undionly.kpxe[/COLOR]
[COLOR=#000000]-rw-r–r–. 1 unconfined_u:object_r:etc_runtime_t:s0 root root 0 Jun 2 14:07 unidionly.kpxe[/COLOR]
[COLOR=#000000]drwxr-xr-x. 13 system_u:object_r:usr_t:s0 root root 4096 May 21 02:27 usr[/COLOR]
[COLOR=#000000]drwxr-xr-x. 22 system_u:object_r:var_t:s0 root root 4096 Jun 2 11:29 var[/COLOR]
[COLOR=#000000][/code][ATTACH=full]881[/ATTACH][/COLOR][url=“/_imported_xf_attachments/0/881_Windows 8-2014-06-03-08-24-36.png?:”]Windows 8-2014-06-03-08-24-36.png[/url]
-
Error received from TFTP server
OS: CentOS 6.5 64x (VMware 10)
I keep getting the following error.
I tried the following.
[url]http://www.fogproject.org/wiki/index.php/Unable_to_connect_to_TFTP[/url]
Then I downloaded the VMFogServer .30v file and it ran properly but I need to image windows 8 computers. So this solution didn’t work. I tried this solution just in cased my network setting were incorrect.I need to run this Fog Server from my laptop using CentOS 6.5 x86_64 in a VMware environment.
I also, found these error codes.
[url]http://www.fogproject.org/wiki/index.php/PXE_error_code[/url]
any help would be great. Thanks.[ATTACH=full]791[/ATTACH][url=“/_imported_xf_attachments/0/791_Windows 8 x64-2014-05-19-00-16-18.png?:”]Windows 8 x64-2014-05-19-00-16-18.png[/url]