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.
-
Can you please elaborate on what you mean by uploading from 1.2.0 onto rc-3? Do you have two separate fog servers right now? What is doing DHCP?
-
Could you share the Apache Error logs?
-
@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. -
@ttrammell You can find them on the FOG WebGUI, under FOG Settings - Log viewer - Apache Error Logs
-
@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.
-
-
… 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.
-
I’m having the same error message when updating an image. The image appears to get stuck in the dev folder. Running through the ftp fixes in the wiki did nothing for me. On a side note I had a similar issue with RC1, appeared to be fixed in RC2 or RC3. Attempting to upload the image as new at the moment.
-
Same issue here with Release RC-3 r5941
Upload image fails with same errors as ttrammell -
@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. -
@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. -
@ttrammell said in 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.This is not the case in my issue that was one of the first things i checked…
This only happens when Capturing a image that already exists,
If i create a new image and capture to it everything works fine… -
@Raymond-Bell Make sure ownership (
chmod 777 -R /images
) is correct please. -
@Tom-Elliott said in Error Returned: Reattempting to update database...Failed:
@Raymond-Bell Make sure ownership (
chmod 777 -R /images
) is correct please.Yes it is 777
-
Can you show us the logs verbatim then? You’re not seeing the exact same error if it’s not saying ‘ftp_login incorrect’