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

    FOG Replication saying login incorrect

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    9
    2.6k
    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.
    • C
      chris.dees
      last edited by

      Server
      • FOG Version: 1.3.3
      • OS: Ubuntu 14
      Client
      • Service Version:
      • OS:
      Description

      I have 1 storage group and 2 storage nodes, the 1 node is the default node that was created when I installed FOG. The 2nd node is one that was created when I installed the Storage server (different IP).

      I can see both storage nodes on the GUI home page. But every time the replication process starts, I get this in the log:
      [03-07-17 8:04:43 pm] * Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 172.31.161.251, Username: fog
      [03-07-17 8:04:38 pm] | Image Name: Optiplex_3040_Jail
      [03-07-17 8:04:38 pm] * Found Image to transfer to 1 node
      [03-07-17 8:04:38 pm] * Attempting to perform Group -> Nodes image replication.
      [03-07-17 8:04:38 pm] | There are no other members to sync to.
      [03-07-17 8:04:38 pm] | Image Name: Optiplex_3040_Patrol
      [03-07-17 8:04:38 pm] * Not syncing Image between groups
      [03-07-17 8:04:38 pm] | There are no other members to sync to.
      [03-07-17 8:04:38 pm] | Image Name: Optiplex_3040_Jail
      [03-07-17 8:04:38 pm] * Not syncing Image between groups
      [03-07-17 8:04:38 pm] * Attempting to perform Group -> Group image replication.
      [03-07-17 8:04:38 pm] * We are node ID: 1. We are node name: Parkway_Storage_Node
      [03-07-17 8:04:38 pm] * We are group ID: 1. We are group name: Parkway_Storage_Group
      [03-07-17 8:04:38 pm] * Starting Image Replication.

      Which Password do I need to change? where should I look? I did look in the .fogsettings file of each server and the password there is different, is this the problem?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        is it safe to assume 172.31.161.251 is the IP address of your storage node?

        If so you need to ensure the user name and password listed for this storage node (on the main fog server. Storage Management->Edit Storage node-Field: Management Username and Field: Management Password) is consistent with the linux user fog on the storage node.

        FOG uses FTP to move files from the Master server to all storage nodes. So it (FOG Master node) needs to know the remote ftp user ID and password for each storage node.

        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!

        1 Reply Last reply Reply Quote 1
        • C
          chris.dees
          last edited by

          I updated the password setting. I simply copied and pasted the password from the fog storage node to the password field on the main fog server. It still gives me Login Incorrect.

          [03-07-17 8:34:54 pm] * Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 172.31.161.251, Username: fog
          [03-07-17 8:34:50 pm] | Image Name: Optiplex_3040_Jail
          [03-07-17 8:34:50 pm] * Found Image to transfer to 1 node
          [03-07-17 8:34:50 pm] * Attempting to perform Group -> Nodes image replication.
          [03-07-17 8:34:50 pm] | There are no other members to sync to.
          [03-07-17 8:34:50 pm] | Image Name: Optiplex_3040_Patrol
          [03-07-17 8:34:50 pm] * Not syncing Image between groups
          [03-07-17 8:34:50 pm] | There are no other members to sync to.
          [03-07-17 8:34:50 pm] | Image Name: Optiplex_3040_Jail
          [03-07-17 8:34:50 pm] * Not syncing Image between groups
          [03-07-17 8:34:50 pm] * Attempting to perform Group -> Group image replication.
          [03-07-17 8:34:50 pm] * We are node ID: 1. We are node name: Parkway_Storage_Node
          [03-07-17 8:34:50 pm] * We are group ID: 1. We are group name: Parkway_Storage_Group
          [03-07-17 8:34:50 pm] * Starting Image Replication.

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @chris.dees
            last edited by

            @chris.dees Ok then from a third system (windows could be) see if you can log into the storage node via ssh (putty) using the fog credentials, if you can log in via ssh, then try ftp, with the same linux user ID and password. The error message is still indicating the storage node password is not matching the linux fog user on the storage node.

            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!

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

              There’s also this: 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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 1
              • C
                chris.dees @george1421
                last edited by

                @george1421 ok. I will try this first thing in the morning. Just to clarify, I am just trying to make sure the replication services work on the two machines I set up. This will eventually turn into a bigger multi site setup. The end result will be to have our main FOG management server at our Parkway building, and then to have different storage nodes setup at each of our precincts, North, South, East, West, and our Jail. The images for the precincts will all replicate from our Parkway server out to the 4 precincts and the images for our jail will only replicate out to the jail. Any ideas on if I am heading down the wrong path? I plan to set a location for each storage node but do I need a different storage group too?

                george1421G Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @chris.dees
                  last edited by george1421

                  @chris.dees No this IS the right path here. Its not clear why this is being difficult (It shouldn’t be).

                  I might recommend that you update to 1.3.5RC11 too. If I remember right 1.3.2 and 1.3.3 had some inherent flaws that were overcome with 1.3.4. And then 1.3.5RC11 fixed a bunch of issues with resizable images.

                  FWIW: You need to update the master node first then all storage nodes connected to the master fog node.

                  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!

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @chris.dees
                    last edited by

                    @chris.dees I would recommend these two reads:
                    https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin
                    https://wiki.fogproject.org/wiki/index.php?title=Replication

                    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/

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      chris.dees @Wayne Workman
                      last edited by

                      @Wayne-Workman I got it working. I must have messed up the passwords. I fixed it so the user pass matched the .fogsettings password and replication started working. Thank you.

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

                      281

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project