• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. 30000MONKEYS
    3
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 7
    • Best 1
    • Controversial 0
    • Groups 0

    30000MONKEYS

    @30000MONKEYS

    1
    Reputation
    436
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    30000MONKEYS Unfollow Follow

    Best posts made by 30000MONKEYS

    • RE: Error 500 on Host Configuration after Upgrade

      @Sebastian-Roth the package ist called

      php7.0-mcrypt
      

      but the problem still exists after installing.

      I’m working on a fresh install in parallel, so I think I won’t touch this one anymore. Thanks so far!

      posted in FOG Problems
      3
      30000MONKEYS

    Latest posts made by 30000MONKEYS

    • RE: Error 500 on Host Configuration after Upgrade

      @Sebastian-Roth the package ist called

      php7.0-mcrypt
      

      but the problem still exists after installing.

      I’m working on a fresh install in parallel, so I think I won’t touch this one anymore. Thanks so far!

      posted in FOG Problems
      3
      30000MONKEYS
    • RE: FOG on Ubuntu 16.04 (php7)?

      @Wayne-Workman Well, without setting a password it didn’t work at all, and the apache logs don’t show authentification problems as far as I can see…

      posted in Linux Problems
      3
      30000MONKEYS
    • RE: FOG on Ubuntu 16.04 (php7)?

      @Tom-Elliott Thanks for the quick reply. I tried your first suggestion, which seems to install php7.0 just fine. However, I am facing another problem now. The installer stops at ‘Updating Database’:

       * Resetting SSL Permissions...................................OK
       * Setting up SSL FOG Server...................................OK
       * Restarting Apache2 for fog vhost............................OK
       * Changing permissions on apache log files....................OK
       * Backing up database.........................................OK
       * Updating Database...........................................Failed!
      

      This is the Error Log:
      0_1460446291738_fog_error_7142.log

      UPDATE:
      The ‘-y’ option was the problem, because it didn’t ask for the MySQL Password. Without the option we did the following:

      • Follow the installer to the point where it asks for the MySQL-Password

      • Manually set the root password via MySQL

      • Enter the password in the FOG installation process

      Now we’re stuck at Updating the database. When we click ‘Update’ in the web management, it leads to an Error 500.

      Apache Log:

      [Tue Apr 12 10:53:43.790626 2016] [mpm_prefork:notice] [pid 31869] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
      [Tue Apr 12 10:53:43.854389 2016] [core:notice] [pid 31869] AH00094: Command line: '/usr/sbin/apache2'
      [Tue Apr 12 10:54:38.980451 2016] [:error] [pid 31875] [client 192.168.0.139:54785] PHP Fatal error:  Uncaught Error: Call to a member function save() on null in /var/www/fog/lib/pages/schemaupdaterpage.class.php:51\nStack trace:\n#0 /var/www/fog/lib/fog/fogpagemanager.class.php(73): SchemaUpdaterPage->index_post()\n#1 /var/www/fog/management/index.php(24): FOGPageManager->render()\n#2 {main}\n  thrown in /var/www/fog/lib/pages/schemaupdaterpage.class.php on line 51, referer: http://192.168.0.60/fog/management/?node=schemaupdater
      

      PHP Info File:
      0_1460451784179_phpinfo.html

      Any ideas?

      posted in Linux Problems
      3
      30000MONKEYS
    • FOG on Ubuntu 16.04 (php7)?

      Hi,

      I’m trying to install FOG Git on an Ubuntu 16.04 Xenial Xerus Server.

      php5 seems to be no longer supported by Ubuntu, the Repo has actually been deleted - so the FOG installation ends with

      Installing package: php5.....Failed!
      

      In another thread I read that FOG is able to handle php7, so is there a way to install it without using php5?

      posted in Linux Problems
      3
      30000MONKEYS
    • RE: Error 500 on Host Configuration after Upgrade

      @Tom-Elliott
      Edit: a2enmod still sais that Module mcrypt wouldn’t exist

      dpkg-query -l mcrypt
      

      and

      dpkg-query -l php5-mcrypt
      

      said it wan’t installed. i used

      apt-get install mcrypt
      

      , but the problem still exists. I also tried

      apt-get install php5-mcrypt
      

      , but it doesn’t find the package…

      posted in FOG Problems
      3
      30000MONKEYS
    • RE: Error 500 on Host Configuration after Upgrade
      root@FOGSERVER:~# a2enmod php5-mcrypt
      ERROR: Module php5-mcrypt does not exist!
      root@FOGSERVER:~# a2enmod mcrypt
      ERROR: Module mcrypt does not exist!
      

      Do I have to install php5-mcrypt?

      posted in FOG Problems
      3
      30000MONKEYS
    • Error 500 on Host Configuration after Upgrade

      Hi,

      I recently upgraded FOG from 1.2 to the Git Version (7100). the Database upgrade worked fine.

      Now, when I click a Host in the Hosts-List, I’m getting an HTTP 500 Error, even on newly registered Hosts.

      It’s running on Ubuntu Server Xenial Xerus.

      Any ideas?

      EDIT: Apache2 Error.log

      [Thu Apr 07 10:37:56.758840 2016] [:error] [pid 1720] [client XX.XX.XX.XX:xxxx] PHP Fatal error:  Call to undefined function mcrypt_get_iv_size() in /var/www/html/fog/lib/fog/fogbase.class.php on line 406, referer: http://fogserver/fog/management/index.php?node=host&sub=list
      
      posted in FOG Problems
      3
      30000MONKEYS