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

Can't save master password or update PXE menu (Ubuntu 13.10 x64)

Scheduled Pinned Locked Moved
Linux Problems
2
4
2.1k
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.
  • P
    PaulTR
    last edited by Feb 20, 2014, 4:48 PM

    Hi,

    I’m just working on a proof-of-concept install of a FOG server for work and I’m having some issues.

    The first problem is I can’t save the master password in the PXE menu screen. I get an error saying the encrypted password is null. The most common explanation I’ve seen for this is the md5 bindings being missing. I’ve checked and libcrypt-passwdmd5-perl is installed.

    I’m not sure if part of the problem is that I’m running 64-bit Ubuntu 13.10 but there doesn’t seem to be a 32-bit version of the passwdmd5-perl package. To make the server take image uploads I had to remove the & references from &$tmp in tasks.confirm.include.php so I appear to be running a newer version of PERL than the one FOG was written against.

    I would be grateful of any suggestions you might have.

    Thank you,
    Paul.

    1 Reply Last reply Reply Quote 0
    • P
      PaulTR
      last edited by Feb 20, 2014, 7:03 PM

      I fixed it 🙂

      Note: I’d previously done an [B][I]apt-get install udpcast[/I][/B] to fix a complaint while debugging about the program udp-sender being missing. Don’t know if I should have done this or not because I thought UDPCast was installed by the FOG installer.

      I put a full screen terminal on the server, ran [B][I]tail -f /var/log/apache2/error.log[/I][/B] so I could see the errors in real time. Almost hidden in the deluge of index and undefined variable errors, I found a couple of errors.[B][I] [/I][/B]

      [B][I]PHP Fatal error: Call to undefined function json_encode()[/I][/B]
      [INDENT=1]A bit of Googling revealed the same error in a different program being caused by the package php5-json not being installed. This was fixed by the command [B][I]apt-get install php5-json[/I][/B][/INDENT]
      [INDENT=1]This fixed a number of performance issues including sluggish responses and the version number checker on the login screen being broken.[/INDENT]

      [B][I]sh: 1: /opt/fog/utils/md5pass: not found[/I][/B].
      [INDENT=1]I looked with the file manager and /opt/fog/utils/md5pass was indeed missing. In fact the whole /opt/fog/utils folder wasn’t there. Since it appeared the installer hadn’t correctly done its job, I re-ran [B][I]installfog.sh[/I][/B] and the contents of /opt/fog appeared correctly.[/INDENT]
      [INDENT=1] [/INDENT]
      I’ve still got various complaints in the Apache error log about undefined variables and indices but FOG now seems to work.

      Bests,
      Paul.

      1 Reply Last reply Reply Quote 0
      • P
        PaulTR
        last edited by Feb 20, 2014, 7:09 PM

        For some reason, I can’t edit the above post…

        Just wanted to add that it appears that the installer may not complete successfully unless all the runtime prerequisites are already installed.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 20, 2014, 10:35 PM

          Thanks for posting back what ended up fixing it.

          I have seen that sometimes some things don’t install properly.

          Over the last few days, it seems people who are having problems simply re-run the installer and they’re good to go after that. I don’t know why.

          I haven’t seen it so much in 0.33b but that’s not to say it won’t happen once we release.

          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
          1 / 1
          • First post
            1/4
            Last post

          174

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project