• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. EStegenburgs
    3. Posts
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by EStegenburgs

    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth So, in the end, I have entirely switched to a bridged network solution, and everything is working fine now. It seems that the problem was, in fact, as you mentioned, about the issue in the installer script with network adapter enumeration. But that also means it is some type of bug - all captures of an image were successful, only failed at the very end trying to update the database.

      The difference that I noticed between bridged and internal NAT configuration is that in the latter one, the FOG installer script at the very beginning complains that net-tools is not installed. When it asked about the network adapters, it couldn’t get an IP at first because it tried to use a network adapter enp0s3 enp0s8 (NAT adapter for internet connection and internal NAT adapter), at which point I had to specify to use enp0s8 adapter manually.

      posted in FOG Problems
      E
      EStegenburgs
    • Imaging History of Unregistered Hosts

      I have noticed that the web dashboard shows the imaging history graph only for the hosts who performed image capturing or deploying that were registered. I am not going to set up the FOG client on the host machines, and I would like to skip the registration process; however, I would like to see at least the total number of deployments for all hosts, registered and unregistered. Where is it possible to see such a metric? Preferably, it would be good also to know the host MAC addresses and the chosen image for deployment.

      posted in Feature Request
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth What FOG installation settings did you use? It looks like you are not using FOG DHCP, in such case you would need to configure an external server for PXE boot, right? Also, did you do any vsFTPd configuration? ftp localhost on CentOS worked but I am struggling with the remote FileZilla connection.

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      When I meant “isolated”, FOG is set up to use the internal network through the second adapter enp0s8.

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth said in Image capturing: Updating Database...Failed:

      What exactly do you mean by “isolated network in the VirtualBox environment”? Is it set to host only, NAT, NAT network, bridged?

      The first network adapter is NAT (enp0s3), and the second one is VM internal (enp0s8).

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth CentOS 7. I am using the systems as described in the first post.
      Also, yes, I have an isolated network in the VirtualBox environment.

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth I just performed two clean installations. There was a bug on the first try. The Storage Management Password did not match with TFTP Server password, the former being \\f|-(u%33Wr and the later f|-(u%33Wr.

      I did the following before FOG installation:

      vi /etc/selinux/config
      ... SELINUX=disabled
      systemctl disable firewalld
      systemctl stop firewalld
      reboot
      

      Then FOG installer did not ask to disable the firewall.
      Used the settings as here: https://wiki.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network

      But now I have the same situation as before.

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth Does anything happen if I try to SSH login to fogproject even though I cannot do anything there because I am logged out?

      The firewall is not disabled, I followed this guide:
      https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

      While trying bunch of things, I have tried to disable the firewall and setting SELINUX=disabled, but haven’t seen any improvements so far. Should I try again?

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth I am able to login through VM locally and PuTTY remotely with fogproject account, however, I am immediately logged out.

      This is what I am getting with FileZilla:

      Status:	Resolving address of localhost
      Status:	Connecting to [::1]:21...
      Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server", trying next address.
      Status:	Connecting to 127.0.0.1:21...
      Status:	Connection established, waiting for welcome message...
      Status:	Insecure server, it does not support FTP over TLS.
      Status:	Logged in
      Status:	Retrieving directory listing...
      Command:	PWD
      Response:	257 "/home/fogproject"
      Command:	TYPE I
      Response:	200 Switching to Binary mode.
      Command:	PASV
      Response:	227 Entering Passive Mode (10,0,2,15,160,161).
      Command:	LIST
      Error:	Connection timed out after 20 seconds of inactivity
      Error:	Failed to retrieve directory listing
      
      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth I haven’t altered any username/password settings, except for the root of CentOS.

      The Management Password already was set and it matches with TFTP_FTP_PASSWORD in /var/www/html/fog/lib/fog/config.class.php, as well as with the password under WEB GUI -> FOG Configuration -> FOG Settings -> TFTP Server. Also, the usernames match (fogproject).

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      @Sebastian-Roth This seems very suspicious:

      /var/log/php-fpm/www-error.log (11 rows like that)

      [01-Dec-2019 06:40:33 UTC] PHP Warning:  ftp_login(): Please specify the password. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464
      

      I deleted all log files and verified that the above appeared only after the image capture.
      Should I edit the given file by the log?

      posted in FOG Problems
      E
      EStegenburgs
    • RE: Image capturing: Updating Database...Failed

      Legacy BIOS mode.

      Network configuration:
      Server - the first network adapter is NAT, and the second one is VM internal.
      Client - the first network adapter is VM internal, and the second one is NAT.

      posted in FOG Problems
      E
      EStegenburgs
    • Image capturing: Updating Database...Failed

      I have set up FOG Server 1.5.7 on CentOS 7.0.1908 Minimal via VirtualBox. All seems to work - host registration, image capture/upload, but then I get this:
      020e87c0-2b4b-4335-8a6e-96052086a688-image.png

      It just tries to do the last process several times for a few minutes until the system reboots. Checking the WEB GUI Task Management panel, the task never finishes with the status being in-progess.

      Does the client need any other network connection somewhere, or what is the problem?

      posted in FOG Problems
      E
      EStegenburgs
    • 1 / 1