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



  • 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?



  • 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


  • Senior Developer

    [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.



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


  • Senior Developer

    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]



  • 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


  • Senior Developer

    what’s in your apache error logs?


 

334
Online

41.4k
Users

11.8k
Topics

112.2k
Posts