This was uploaded with the Zstd image type (as a test), but it cannot restore the GPT partition tables.
Posts made by ttrammell
-
RE: MacOS + BootCamp - Does it work?
-
RE: MacOS + BootCamp - Does it work?
@Wayne-Workman
I am trying the other image type right now, and I did try the RAW/DD type before.@Tom-Elliott
No problem about the Mac imaging - this probably wouldn’t even be a problem if we did not have the 22 macs that made up the lab.I’ll still do some playing around. The ‘problem’ that I am getting is that it will either (a) take the image, but fail to install on another device or (b) not take the image at all.
So far, from what I see, the image makes up something like this (What FOG sees):
/dev/sda1 200MB Windows Reserve FAT32 /dev/sda2 20GB Macintosh HFS /dev/sda3 620GB Windows (C:) RAW
However, what the Macintosh Disk Utility sees:
/dev/sda1 20GB Macintosh HFS /dev/sda2 100GB Windows MS-DOS Free Space 480GB
Looking at it now, even I am confused. It seems to be taking the entire space of /dev/sda3 (which is the Windows BootCamp Partition) and counting it separate from the entire drive, with the Macintosh and separate Windows Reserve Partition being added onto it.
So, it’s getting /dev/sda1, /dev/sda2, and /dev/sda (as /dev/sda3) - if that makes any sense.
*Edit: I can send you guys an
ls -lhrt /images/MacU
when the upload is done, if you want? -
MacOS + BootCamp - Does it work?
Server
- FOG Version: 1.3.5 SVN 6067
- OS: CentOS 6.7
Client
- Service Version: N/A
- OS: Macintosh
Description
This is a similar question to this older post: https://forums.fogproject.org/topic/7629/macos-with-bootcamp/16
I have tried to perform a DD image, a single disk (non-resizable) partition, and am currently trying to perform a 4-part partition installation to see if it will take. (MBR, Part 1, Part 2, Part 3)
Am I doing it wrong; is there a better way to approach it?
I mean, the Macintosh partition takes perfectly fine but when the Windows BootCamp partition rolls around it begins to have issues.
I have also noticed, while Macintosh sees a 100 GB drive (20 GB Mac + 80 GB Windows), FOG sees 20 GB Mac + 580 GB Windows. Even if the rest of the drive is empty, it grabs the entire partition and empty space.
**I should point out that the drive size is 600GB (give or take 20), but the partition is shrunk to 100GB.
-
RE: Auto-Associate to Group on Image
Alright, I’ll look into that.
Thanks, guys!
-
Auto-Associate to Group on Image
I don’t know if such a beast already exists on the furthest update revision, if this has been asked for, or if it’s been deemed impossible, or if it’s even in development (I didn’t see anything when looking for this similar topic on the forums). Quick and full image setup is great, don’t get me wrong; however, could there be an option when on the image edit page for placing something in a group?
Like this page:
Except there is another option to set it in a group; which will expunge all other groups it’s associated to.If you have a computer in HR and are transferring it to IT, then apply the IT image and it deletes the computer from the HR group and places it in the IT group.
Of course, there is an empty option, like an switch-check-box that when checked will do nothing and only image the computer - it won’t expunge the computer from a group, nor put it in one.
Edit: As I read over this, I should specify:
This will not change new clients; full inventory/quick inventory will still need to be done because the computer is not in the FOG database yet - this would be more of just shifting computers that are currently in the database around. It’s more of a touch-less reconfiguration/edit, I guess.
-
RE: FOG 1.3.0 - SVN 6050 - "Please enter tftp server:"
Tom fixed me up; at least for now.
He can probably give you a much more elaborate explanation as to why it didn’t work; I kind of just watched in awe as he figured it out.
Edit: BTW, thanks again, Tom. Will post more on this if the issue comes back.
-
RE: FOG 1.3.0 - SVN 6050 - "Please enter tftp server:"
@Tom-Elliott Running that on the server came back with an error.
# service dhcpd stop dhcpd: unrecognized service
As far as everyone I work with knows, we haven’t introduced another DHCP server; will dig around and see if something is hiding on the network.
I will also take a look at Option 66 and 67 to make sure they are still set right.
Any other ideas to try while I am looking into this?
-
RE: FOG 1.3.0 - SVN 6050 - "Please enter tftp server:"
@Tom-Elliott We only have one; we have two DNS servers. I use an automated script where it activates fog with
installfog.sh -y
. Could it have possibly enabled DHCP through that? If so, is there a way to check or fix it easily? -
FOG 1.3.0 - SVN 6050 - "Please enter tftp server:"
Server
- FOG Version: 1.3.0 - SVN 6050
- OS: Centos 6.8
Client
- Service Version: N/A
- OS: Windows
Description
I know this isn’t very descriptive, but this just started happening January 5th, 2017; I believe I updated from 6030 to 6050 on the day before, and I have not been able to image. I first thought that our stateful-firewall was blocking this, but we disabled it for testing and we still had this problem.
Typing in the TFTP server - our FOG server - will attempt to connect it to (tftp://X.X.X.X/default.pxe).
tftp://X.X.X.X/default.ipxe. . . . . . . . . . .Connection timed out (http://ipxe.org/4c126835).
Will reboot in ‘10’ seconds. Press ‘s’ to enter iPXE shell.Any ideas?
It was not doing this on SVN 6030, only after the update to SVN 6050. -
RE: Rudimentary Shell Script (Done) - SVN Update for CentOS 6.7
@Wayne-Workman said in Rudimentary Shell Script - SVN Update for CentOS 6.7:
The best suggestion still stands though - move to CentOS 7. There’s no reason not to, it’s a free and open OS.
I would be totally for it, although this server does nothing but sit there and run fog – which is what a server is supposed to do, now that I think about it.
That main reason is redoing the hardware RAID and making sure that is all set right as rain, and that all of our images make the transfer. It’s one of those too much to do in too little of a time frame – I mean this server has been here about 4 years before I got this position and it was still running FOG .29 (While the most updated version was 1.2.0).
More or less, I am stuck with it for the time being.
In place upgrade probably should not mess anything up, but the should is what I am skeptical about.
-
RE: Rudimentary Shell Script (Done) - SVN Update for CentOS 6.7
@Wayne-Workman Sadly, running
php_ver='5.5' php_verAdds='55u' ./installfog.sh -y
– at the very least without having any other version of php running, it does not work (for me).Will take a look at editing package listings later.
-
RE: Rudimentary Shell Script (Done) - SVN Update for CentOS 6.7
@Quazz Your guess would be as good as mine, but that makes some sense since
yum update
could never find updates for PHP without those special repositories (fedoraproject / iuscommunity). -
RE: Rudimentary Shell Script (Done) - SVN Update for CentOS 6.7
@Quazz Recently, when I have been installing FOG it has only ever put on PHP 5.3, so – minimally – I’m installing 5.5 manually.
I have to uninstall php-common everytime I want to update FOG, whether that is a problem officially or just something on my side, I am not sure.
-
Rudimentary Shell Script (Done) - SVN Update for CentOS 6.7
It ain’t pretty, but I am getting a little flustered and having to constantly do all that typing to update FOG, regardless if I am just using a small call portion or not.
I have tested this, and yes, it is VERY rudimentary and is currently usable.
Automated - always up to date - script#!/bin/bash # Enter root and uninstall php-common to install FOG yum -y remove php-common # Update FOG to the latest SVN version (Can be replaced with GIT, I assume) cd /root/fogproject # Change this to your fog directory svn up # Can be replaced with <git pull>? cd bin ./installfog.sh -y # Requires no input (Thanks, Wayne) # Reinstall php-common so that you can actually load the FOG page with the proper PHP version (5.6) yum -y remove php-common yum -y update yum -y install epel-release wget https://dl.fedoraproject.org/pub/epel-release-latest-6.noarch.rpm wget https://centos6.iuscommunity.org/ius-release.rpm rpm -Uvh ius-release*.rpm yum -y update yum -y install php56u php56u-common php56u-opcache php56u-xml php56u-mcrypt php56u-gd php56u-devel php56u-mysql php56u-intl php56u-mbstring php56u-bcmath # Configure PHP Options using Stream EDitor # php.ini default location = /etc/php.ini # Change the last part of the meta-data to the value you want and change your file directory to match the correct file sed -i 's/date.timezone =.*/date.timezone = Chicago\/America/' /etc/php.ini # Change this to meet your settings sed -i 's/memory_limit =.*/memory_limit = 2G/' /etc/php.ini # Change this to meet your settings sed -i 's/always_populate_raw_post_data =.*/always_populate_raw_post_data = Off/' /etc/php.ini # Change this to meet your settings sed -i 's/asp_tags =.*/asp_tags = Off/' /etc/php.ini # Change this to meet your settings # Restart Apache Service service httpd restart
Make sure that your values are changed to what you need, and that you are changing the correct file. Values are within the last part of the sed string, in the metadata section:
's/entry =.*/replaced_entry = <value>/' <php.ini>
If you need to add in special characters in your strings such as
/
you can set it likeChicago\/America
and it will look likeChicago/America
on your edited file - for those that are unfamiliar with sed.References:
FOG Setup: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk
PHP Setup for CentOS: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html#instgde-prereq-php55-install-centos
sed assistance: http://stackoverflow.com/questions/16790793/how-to-replace-strings-containing-slashes-with-sed , http://stackoverflow.com/questions/8822097/how-to-replace-whole-line-with-sed , http://unix.stackexchange.com/questions/112023/how-can-i-replace-a-string-in-a-files -
RE: Error Returned: Reattempting to update database...Failed
@Raymond-Bell I would say take a look at what @Tom-Elliott posted :https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP
and just double-check EVERYTHING. Because it turned out the local user on the server is what was my problem because the
passwd fog
didn’t match my Storage Node or my TFTP Server settings - after changing that, it was fixed. -
RE: Error Returned: Reattempting to update database...Failed
@Tom-Elliott said in Error Returned: Reattempting to update database...Failed:
@ttrammell https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP
It was
sudo passwd fog
that saved the day as everything else had the same credentials - don’t know howpasswd
was changed in the first place (I probably had something to do with it). It works now, thank you. -
RE: Error Returned: Reattempting to update database...Failed
… and it hit me like a freight truck.
The network admin recently implemented a new stateful firewall and it is also blocking internal ports.
I’ll get him to add exceptions to the rule and see if that fixes it.
That was not the issue. I will head back and try the FTP troubleshooting guide you posted.
-
RE: Error Returned: Reattempting to update database...Failed
@Quazz Apache error log (error_log): 50 lines - reverse file (newest first).
BFD: /var/www/html/fog/service/ipxe/bzImage32: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss BFD: /var/www/html/fog/service/ipxe/bzImage: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss [Wed Jul 27 15:01:44 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:44 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:39 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:39 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:34 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:34 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:30 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:30 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:25 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:25 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:21 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:21 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:17 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:17 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:13 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:13 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:09 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:09 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:04 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:04 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 15:01:00 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 15:01:00 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:33 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:33 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:29 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:29 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:25 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:25 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:20 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:20 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:16 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:16 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:12 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:12 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:08 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:08 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:04 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:04 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:40:00 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:40:00 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:39:56 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:39:56 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:39:52 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:39:52 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:19:32 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:19:32 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108 [Wed Jul 27 14:19:27 2016] [error] [client <ClientIP>] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 108, Message: ftp_login(): Login incorrect., Host: <ServerIP>, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:52\nStack trace:\n#0 /var/www/html/fog/lib/reg-task/taskqueue.class.php(105): FOGFTP->connect()\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(124): TaskQueue->move_upload()\n#2 /var/www/html/fog/service/Post_Stage2.php(3): TaskQueue->checkout()\n#3 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 52 [Wed Jul 27 14:19:27 2016] [error] [client <ClientIP>] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 108
I left this computer on over-night. That is why there are so many of the same log.
-
RE: Error Returned: Reattempting to update database...Failed
@Wayne-Workman What I meant was that I have had images that were already made and haven’t been updated since I brought the server up to trunk - don’t know if that is anything to take into consideration. We only have one FOG server, and our DHCP is through a Windows 2012 R2 server - and should have the option set to
undionly.kpxe
.@Quazz Don’t know my way around Apache; do you know the commands that I put in on a CentOS machine?
–
I would also like to point out that when we capture our images they are not overwriting the old one - in the past it overwrote the image, even if it failed and it is not doing that now. Not sure if that is a new feature or not. -
Error Returned: Reattempting to update database...Failed
This is the error that I am currently experiencing when trying to upload images from 1.2.0 stable onto 1.3.0-RC-3 - download worked fine but the upload is failing and causing the computer to simply restart the capture process.
Cloned successfully * Image Captured * Restoring Original Partition Layout.................................................Done * Not expanding (/dev/sda1) fixed size * Resizing ntfs volume (/dev/sda2)....................................................Done * Clearing ntfs flag..................................................................Done * Stopping FOG Status Reporter........................................................Done * Task Complete * Updating Database...................................................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: * Reattempting to update database...................................Failed * Error Returned: ################################################################################################# ################ # # # An error has been detected # # # ################################################################################################################## Could not complete tasking (/bin/fog.upload) Args Passed: ################################################################################################################## # # # Computer will reboot in 1 minute # # # ##################################################################################################################
I am working with a x64-CentOS 6.7 Server, trying to update a Windows 7 client image - I have tried with one other image, but it is the same result.