• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Fernando Gietz
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 8
    • Topics 67
    • Posts 554
    • Best 52
    • Controversial 0
    • Groups 1

    Posts made by Fernando Gietz

    • Owner and permissions in /images

      Hi FOGers!!

      We have some strange issues when we upload images to the server and we don´t have find the reason of this behaivour.

      The issue appears when the server try to move the image from /images/dev/abcdefg12345 directory to the destiny, the FTP can´t move the file or the directory and the destiny directory appears empty.

      In the vsftpd log appears the error:

      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP command: Client "10.0.15.8", "LIST -a images"
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "150 Here comes the directory listing."
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "226 Directory send OK."
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP command: Client "10.0.15.8", "RNFR /images/dev/8cec4b6xxxxx"
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "550 RNFR command failed."
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FAIL RENAME: Client "10.0.15.8", "/images/dev/8cec4b6xxxxx"
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP command: Client "10.0.15.8", "QUIT"
      Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "221 Goodbye."
      
      

      The permissions in /images is:

      drwxrwxrwx  295 fogproject apache 16384 nov  3 09:40 images
      

      We have migrated the old server, fog 1.5.5, to the last one, fog 1.5.10, we made a fresh install but we migrated the storage from the old one to the new one. Then in /images we have a mix of owners XD:

      drwxrwxrwx    2 root       root     280 ago 24 10:27 aula-vc-filologia-aulavhm2-alumno3450
      drwxrwxrwx    2 fogproject apache   226 jul 26  2022 aula-vc-filologia-aulavhm2-profesor
      drwxrwxrwx    2 root       root     280 ago 24 14:52 aula-vc-filologia-aulavhm2-profesor3450
      drwxrwxrwx    2 root       root     226 jul 19 12:28 aula-vc-filologia-aulavhmm-docencia
      drwxrwxrwx    2 fogproject apache   226 mar  8  2023 aula-vc-filologia-aulavhmm-docencia-LTSC
      drwxrwxrwx    2 root       root     226 ago 25 12:36 aula-vc-filologia-aulavht1-cabina
      drwxrwxrwx    2 root       root     226 ago 28 09:55 aula-vc-filologia-aulavht1-profesor
      drwxrwxrwx    2 fogproject apache   226 abr 29  2021 aula-vc-filologia-aulavht1-roomserver
      
      

      The question is easy 🙂 Who is the owner of images directories?

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: Configuring LDAP Authentication

      @orborneee When I installed the new server on May, I had problems with the LDAP autentication. I don´t know if your problem is the same but you can test if works.
      Edit the /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php file and comment the line 235:

      //@$this->unbind();
      
      posted in FOG Problems
      F
      Fernando Gietz
    • RE: FOG server under RHEL 9 and PHP 8

      Hi @Sebastian-Roth,
      Yes, I think that the dev-branch solves the problem. I tried to install from master branch and the problem with the xinetd appeared, but with the dev-branch apparently works fine

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG server under RHEL 9 and PHP 8

      @Sebastian-Roth Hi Sebastian!
      I will try the dev-branch, the new server is the develop server. If the new release version has PHP 8 support then great 🙂
      The problem with the xinetd is more “special”, only affect to RHEL 9 and higher.

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: FOG server under RHEL 9 and PHP 8

      Workaround: Install php 7.4 in RHEL 9
      Install PHP 7.4 (https://www.linuxcapable.com/how-to-install-php-on-centos-stream/)

      # dnf upgrade –refresh
      # dnf config-manager --set-enabled crb
      # dnf install \
          https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
          https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
      # dnf install dnf-utils http://rpms.remirepo.net/enterprise/remi-release-9.rpm -y
      # dnf module list php
      # dnf module enable php:remi-7.4 –y
      # dnf install php php-cli php-common php-fpm php-gd php-json php-ldap php-mbstring php-mysqlnd php-process –y
      
      posted in Bug Reports
      F
      Fernando Gietz
    • FOG server under RHEL 9 and PHP 8

      Hi again! I am back 🙂
      I am installing a new server under RHEL 9, but I am having problems with the install process.

      Two big problems:

      • PHP version 8: the implode function is deprecated and have changed (https://www.php.net/manual/en/function.implode.php)
       implode(string $separator, array $array): string
      
      Alternative signature (not supported with named arguments):
      implode(array $array): string
      
      Legacy signature (deprecated as of PHP 7.4.0, removed as of PHP 8.0.0):
      implode(array $array, string $separator): string
      
      Join array elements with a separator string. 
      

      The order of the parameters is different. This affects to all calls of the implode function.

      *xinetd package is not available in RHEL 9
      From https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/pdf/considerations_in_adopting_rhel_9/red_hat_enterprise_linux-9-considerations_in_adopting_rhel_9-en-us.pdf

      The xinetd package is not available in RHEL
      9. Its functionality is now provided by
      systemd.
      
      posted in Bug Reports
      F
      Fernando Gietz
    • RE: NVRAM EFI bootorder

      @sebastian-roth Yes, I saw it. I am following it XD
      it can be the way to do it.

      posted in General
      F
      Fernando Gietz
    • RE: NVRAM EFI bootorder

      The problem are the dual images: windows + ubuntu or syspreped windows + ubuntu. And other type images too (multidisk, …)

      posted in General
      F
      Fernando Gietz
    • RE: NVRAM EFI bootorder

      @sebastian-roth I would like to customize the boot sequence , if is possible from the web UI and not custimize a script in the server.

      posted in General
      F
      Fernando Gietz
    • RE: NVRAM EFI bootorder

      Hi @Sebastian-Roth ,
      Then is not any global solution 😉 I need to devise one.

      posted in General
      F
      Fernando Gietz
    • NVRAM EFI bootorder

      Hi,
      Any advance about NVRAM and EFI or how update his variables when you deploy an image?
      I read the thread FOG does not copy NVRAM/EFI Bootorder but is two years old.

      I need to update the boot order when I deploy dual images (windows and linux) with syspreped windows partitions.

      Cheers

      posted in General
      F
      Fernando Gietz
    • RE: FOG client under Kubuntu 20.04

      Hi @Sebastian-Roth,

      Now works fine the FOG client 🙂

      Thanks for your fast reply

      posted in Linux Problems
      F
      Fernando Gietz
    • FOG client under Kubuntu 20.04

      Hi,
      I am trying to install the FOG client under Kubuntu 20.04 but something goes wrong when the daemon initiates. I follow the instructions of the wiki to install it.

      Mono version:

      # mono --version
      Mono JIT compiler version 6.12.0.122 (tarball Mon Feb 22 17:33:28 UTC 2021)
      Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
              TLS:           __thread
              SIGSEGV:       altstack
              Notifications: epoll
              Architecture:  amd64
              Disabled:      none
              Misc:          softdebug 
              Interpreter:   yes
              LLVM:          yes(610)
              Suspend:       hybrid
              GC:            sgen (concurrent by default)
      

      FOG Client version: 0.11.16
      FOG Server Version: 1.5.9
      FOG Client Log:

      14/10/2021 12:51 Middleware::Communication URL: http://10.A.B.C/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       14/10/2021 12:51 Middleware::Response Success
       14/10/2021 12:51 Service ERROR: Invalid promptTime, using default
       14/10/2021 12:51 Middleware::Communication URL: http://10.A.B.C/fog/management/index.php?sub=requestClientInfo&mac=XX:XX:XX:XX:XX:XX&newService&json
       14/10/2021 12:51 Middleware::Authentication Waiting for authentication timeout to pass
       14/10/2021 12:51 Middleware::Communication Download: http://10.A.B.C/fog/management/other/ssl/srvpublic.crt
       14/10/2021 12:51 Middleware::Authentication ERROR: Could not authenticate
       14/10/2021 12:51 Middleware::Authentication ERROR: Value cannot be null.
      Parameter name: authority
       14/10/2021 12:51 Middleware::Response Success
       14/10/2021 12:51 Middleware::Communication URL: http://10.A.B.C/fog/service/getversion.php?clientver&newService&json
       14/10/2021 12:51 Middleware::Communication URL: http://10.A.B.C/fog/service/getversion.php?newService&json
      
       14/10/2021 12:51 Service Creating user agent cache
       14/10/2021 12:51 Middleware::Response ERROR: Unable to get subsection
       14/10/2021 12:51 Middleware::Response ERROR: Object reference not set to an instance of an object
       14/10/2021 12:51 Middleware::Response ERROR: Unable to get subsection
       14/10/2021 12:51 Middleware::Response ERROR: Object reference not set to an instance of an object
       14/10/2021 12:51 Middleware::Response ERROR: Unable to get subsection
       14/10/2021 12:51 Middleware::Response ERROR: Object reference not set to an instance of an object
      
      ------------------------------------------------------------------------------
      ---------------------------------ClientUpdater--------------------------------
      ------------------------------------------------------------------------------
       14/10/2021 12:51 Client-Info Client Version: 0.11.16
       14/10/2021 12:51 Client-Info Client OS:      Linux
       14/10/2021 12:51 Client-Info Server Version: 1.5.9
       14/10/2021 12:51 Middleware::Response Success
      ------------------------------------------------------------------------------
      
      
      ------------------------------------------------------------------------------
      ----------------------------------TaskReboot----------------------------------
      ------------------------------------------------------------------------------
       14/10/2021 12:51 Client-Info Client Version: 0.11.16
       14/10/2021 12:51 Client-Info Client OS:      Linux
       14/10/2021 12:51 Client-Info Server Version: 1.5.9
       14/10/2021 12:51 Middleware::Response ERROR: Unable to get subsection
       14/10/2021 12:51 Middleware::Response ERROR: Object reference not set to an instance of an object
      

      Any ideas?

      posted in Linux Problems
      F
      Fernando Gietz
    • RE: Access Control Plugin

      You can see some information about it in this thread:

      https://forums.fogproject.org/topic/11402/how-to-use-accesscontrol-plugin

      Be careful if you implement a great number of rules, the behaviuor can be unstable.

      posted in General
      F
      Fernando Gietz
    • RE: Increase LDAP plugin logging

      You can only increase the debug log using checkpoints. You can use the error_log PHP function to debug the outputs.

      https://www.php.net/manual/en/function.error-log.php

      posted in General Problems
      F
      Fernando Gietz
    • RE: Unable to log on web ui

      Please check if you have free space in /var.
      I had this problem sometimes in the past.

      posted in FOG Problems
      F
      Fernando Gietz
    • RE: [Sites plugin] Bug when import CSV file

      @iteixido I will fix it as soon as possible

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: [Sites plugin] Hosts links in site menu

      @iteixido I will fix it as soon as possible

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: [Sites plugin] Sites shown when adding or editing a host

      Thanks @iteixido ! We will fix the bug as soon as possible

      posted in Bug Reports
      F
      Fernando Gietz
    • RE: New Plugin: Host Status plugin (1.5.6 FOG version)

      Hi @gn_ro ,

      I tested it in the last version 1.5.8 and works fine.

      FOG_PingHosts.png

      Take note that you must have opened the 445 TCP port in the client and you only see the status in the host page, not in the search page.

      posted in General
      F
      Fernando Gietz
    • 1
    • 2
    • 3
    • 4
    • 5
    • 27
    • 28
    • 1 / 28