Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#749 500 - Internal Server Error

v0.7
open
nobody
Others (142)
5
2012-10-28
2010-01-24
rus adrian
No

After installing wordpress dpkg -r wordpress in FreeNAS-i386-LiveCD-0.7.1.4982 everything is gone wild
error on boot: /libexec/ld-elf.so.1 /usr/local/lib/libxml2.so.5: version LIBXML2_2.6.0 required by /usr/local/bin/xml not defined [: -eq :Argument expected
Fatal error: Call to undefined function gettext () in /etc/inc/globals.inc on lines 68
also the console menu disabled and the web interface is broken with the error 500 - Internal Server Error

Discussion

  • rus adrian
    rus adrian
    2010-01-24

    in fact the hole system is broken no ssh no webserver nothing after installing wordpress...the good news is that i first test the system in VirtualBox :) . Keep the good working.Loving FreeNas :)

     
  • Willy Tenner
    Willy Tenner
    2010-01-25

    I had done some tests with installing additional packages in FreeNAS and found that is very dangerious to install packages into the default path. A better way is to install these packages into a separate path like this:

    1. Create separate path for packages:

    mkdir /opt

    1. Optional add proxy:

    setenv http_proxy "http://<your_http_proxy_name>:<proxy_port>"

    1. Install packages into the alternate path:

    pkg_add -r -P /opt <package_name>

    Do not forget to rehash after installing any package:

    rehash

    Change path environment:

    nano ~/.cshrc

    set path = (..... /opt/bin /opt/sbin ....)
    setenv LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/lib:/opt/lib/perl5/5.8.9/mach/CORE

    A list of many ported packages can be found here:

    http://www.freebsd.org/ports/master-index.html

    Kind regards,
    willy