• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Error Returned: Reattempting to update database...Failed

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    16
    8.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ttrammell
      last edited by ttrammell

      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.

      Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        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?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator
          last edited by

          Could you share the Apache Error logs?

          1 Reply Last reply Reply Quote 1
          • T
            ttrammell
            last edited by ttrammell

            @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.

            Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @ttrammell
              last edited by

              @ttrammell You can find them on the FOG WebGUI, under FOG Settings - Log viewer - Apache Error Logs

              1 Reply Last reply Reply Quote 1
              • T
                ttrammell
                last edited by ttrammell

                @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.

                Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @ttrammell
                  last edited by

                  @ttrammell https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  T 2 Replies Last reply Reply Quote 3
                  • T
                    ttrammell @Tom Elliott
                    last edited by ttrammell

                    … 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.

                    Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jason Shoemake
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • Raymond BellR
                        Raymond Bell Testers
                        last edited by

                        Same issue here with Release RC-3 r5941
                        Upload image fails with same errors as ttrammell

                        Raymond Bell
                        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          ttrammell @Tom Elliott
                          last edited by

                          @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 how passwd was changed in the first place (I probably had something to do with it). It works now, thank you.

                          Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                          1 Reply Last reply Reply Quote 0
                          • T
                            ttrammell @Raymond Bell
                            last edited by

                            @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.

                            Yes, I really did just ask that question and I am only /slightly/ ashamed of it.

                            Raymond BellR 1 Reply Last reply Reply Quote 0
                            • Raymond BellR
                              Raymond Bell Testers @ttrammell
                              last edited by

                              @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
                              WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                              Tom ElliottT 1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @Raymond Bell
                                last edited by

                                @Raymond-Bell Make sure ownership (chmod 777 -R /images) is correct please.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                Raymond BellR 1 Reply Last reply Reply Quote 0
                                • Raymond BellR
                                  Raymond Bell Testers @Tom Elliott
                                  last edited by

                                  @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

                                  Raymond Bell
                                  WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    Can you show us the logs verbatim then? You’re not seeing the exact same error if it’s not saying ‘ftp_login incorrect’

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post

                                    210

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project