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

Issue add computer to AD after inventory (latest SVN 3014)

Scheduled Pinned Locked Moved
FOG Problems
2
7
1.8k
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
    pijltje
    last edited by Feb 16, 2015, 10:28 AM

    We are having a issue with the latest SVN (3014),
    Did a full inventory and forget to add the computer to a AD (Y)
    now we try to add the computer to the AD with the menu option (active directory)
    after pressing update the screen blanks out and noting is happening …

    Am I doing something wrong?

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 16, 2015, 11:02 AM

      what’s in your apache error logs?

      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
      • P
        pijltje
        last edited by Feb 16, 2015, 11:08 AM

        Sorry forgot to add the log

        foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 538, referer: [url]http://192.168.48.80/fog/management/index.php?node=host[/url]
        [Mon Feb 16 12:04:57.186801 2015] [:error] [pid 24309] [client 192.168.48.150:58637] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 620, referer: [url]http://192.168.48.80/fog/management/index.php?node=host[/url]
        [Mon Feb 16 12:04:57.186933 2015] [:error] [pid 24309] [client 192.168.48.150:58637] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 669, referer: [url]http://192.168.48.80/fog/management/index.php?node=host[/url]
        [Mon Feb 16 12:04:57.187713 2015] [:error] [pid 24309] [client 192.168.48.150:58637] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 716, referer: [url]http://192.168.48.80/fog/management/index.php?node=host[/url]
        [Mon Feb 16 12:04:57.187784 2015] [:error] [pid 24309] [client 192.168.48.150:58637] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 751, referer: [url]http://192.168.48.80/fog/management/index.php?node=host[/url]
        [Mon Feb 16 12:05:02.314630 2015] [:error] [pid 24309] [client 192.168.48.150:58637] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 284, referer: [url]http://192.168.48.80/fog/management/index.php?node=host&sub=edit&id=601[/url]
        [Mon Feb 16 12:05:06.633518 2015] [:error] [pid 24309] [client 192.168.48.150:58666] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 538
        [Mon Feb 16 12:05:06.647646 2015] [:error] [pid 24309] [client 192.168.48.150:58666] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 620
        [Mon Feb 16 12:05:06.647782 2015] [:error] [pid 24309] [client 192.168.48.150:58666] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 669
        [Mon Feb 16 12:05:06.648504 2015] [:error] [pid 24309] [client 192.168.48.150:58666] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 716
        [Mon Feb 16 12:05:06.648545 2015] [:error] [pid 24309] [client 192.168.48.150:58666] PHP Warning: Invalid argument supplied for foreach() in /var/www/fog/lib/pages/HostManagementPage.class.php on line 751
        [Mon Feb 16 12:06:00.471200 2015] [core:notice] [pid 11785] AH00051: child pid 24497 exit signal Segmentation fault (11), possible coredump in /etc/apache2

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 16, 2015, 11:09 AM

          It seems, to me, you don’t have the php5-mcrypt utility. Maybe try installing it:

          [quote]PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/fog/lib/fog/FOGBase.class.php on line 284, referer:[/quote]

          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
          • P
            pijltje
            last edited by Feb 16, 2015, 11:11 AM

            strange, according to Ubuntu and get-apt
            php5-mcrypt is already the newest version. ??

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 16, 2015, 11:18 AM

              [url]http://stackoverflow.com/questions/12479983/cant-find-mcrypt-call-to-undefined-function-laravel-mcrypt-create-iv[/url]

              Apparently, then, you may need to also enable the module in the php.ini file(s).

              Maybe from
              /etc/php5/apache2/php.ini

              Loolk for the mcrypt.so, make sure it’s not commented (prepended with semicolon).

              Save file, and restart apache services.

              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
              • P
                pijltje
                last edited by Feb 16, 2015, 11:24 AM

                I did some google ling, php5-mcrypt seem Ubuntu 14.04 has some issue with it…

                The solution (for me) :
                updatedb
                locate mcrypt.ini
                Should show it located at /etc/php5/mods-available
                locate mcrypt.so
                Edit mcrypt.ini and change extension to match the path to mcrypt.so, example:
                extension=/usr/lib/php5/20121212/mcrypt.so [B](this path is missing) [/B]
                Now this:
                php5enmod mcrypt - (optional since its already enabled during phpmyadmin setup)
                Verify that new files exists here (they should be auto created from the issue above)
                ls -al /etc/php5/cli/conf.d/20-mcrypt.ini
                ls -al /etc/php5/apache2/conf.d/20-mcrypt.ini
                Otherwise do the following
                Create symbol links now
                ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini
                ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini
                Restart Apacahe
                service apache2 restart

                and we have a working system again…
                Thanks for the support

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

                146

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project