I have done a new install on a Freebsd box using the instructions here: http://www.observium.org/wiki/FreeBSD_SVN_Installation
I have everything installed, but when I go to the webpage I run into this:
*Fatal error*: Call to undefined function simplexml_load_string() in * /usr/local/share/observium/includes/definitions.inc.php* on line *1144* * *
I do show the xml.so extension installed in php.
Any ideas what to check? No errors show up in the logs. * * * *
Yes, you ended up with observium from the top of the tree (the very latest version), which means you may end up with some broken stuff. You want the latest stable version, which is given on observium.org's homepage, which as of this writing is 3067. So, you want to do your checkout like this:
svn co –r 3067 http://www.observium.org/svn/observer/trunk observium
-- Andrew Beals Cell: 913-787-7538 Desk: 913-948-8782 E-mail: ABeals@mersoft.com
From: Mike Hyde <mike.hyde1@gmail.commailto:mike.hyde1@gmail.com> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Tuesday, May 22, 2012 2:18 PM To: "observium@observium.orgmailto:observium@observium.org" <observium@observium.orgmailto:observium@observium.org> Subject: [Observium] New install problems
I have done a new install on a Freebsd box using the instructions here: http://www.observium.org/wiki/FreeBSD_SVN_Installation
I have everything installed, but when I go to the webpage I run into this:
Fatal error: Call to undefined function simplexml_load_string() in /usr/local/share/observium/includes/definitions.inc.php on line 1144
I do show the xml.so extension installed in php.
Any ideas what to check? No errors show up in the logs.
The error is *very* clear, checking out older code isn't going to magically install the php extension is it?
simplexml != xml, they're different extensions. Install php5[23]-simplexml, success.
Andrew Beals wrote:
Yes, you ended up with observium from the top of the tree (the very latest version), which means you may end up with some broken stuff. You want the latest stable version, which is given on observium.org's homepage, which as of this writing is 3067. So, you want to do your checkout like this:
svn co –r 3067 http://www.observium.org/svn/observer/trunk observium
-- Andrew Beals Cell: 913-787-7538 Desk: 913-948-8782 E-mail: ABeals@mersoft.com
From: Mike Hyde <mike.hyde1@gmail.com mailto:mike.hyde1@gmail.com> Reply-To: Observium Network Observation System <observium@observium.org mailto:observium@observium.org> Date: Tuesday, May 22, 2012 2:18 PM To: "observium@observium.org mailto:observium@observium.org" <observium@observium.org mailto:observium@observium.org> Subject: [Observium] New install problems
I have done a new install on a Freebsd box using the instructions here: http://www.observium.org/wiki/FreeBSD_SVN_Installation
I have everything installed, but when I go to the webpage I run into this:
*Fatal error*: Call to undefined function simplexml_load_string() in */usr/local/share/observium/includes/definitions.inc.php* on line *1144*
I do show the xml.so extension installed in php.
Any ideas what to check? No errors show up in the logs.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Actually, we recommend the latest svn revision, as it's less likely to have bugs (no, really).
The "stable target" is only there for people with unwieldy company policies and/or a love of stuffed animals.
adam.
On 22/05/2012 20:22, Andrew Beals wrote:
Yes, you ended up with observium from the top of the tree (the very latest version), which means you may end up with some broken stuff. You want the latest stable version, which is given on observium.org's homepage, which as of this writing is 3067. So, you want to do your checkout like this:
svn co --r 3067http://www.observium.org/svn/observer/trunk observium
Andrew Beals Cell: 913-787-7538 Desk: 913-948-8782 E-mail: ABeals@mersoft.com
From: Mike Hyde <mike.hyde1@gmail.com mailto:mike.hyde1@gmail.com> Reply-To: Observium Network Observation System <observium@observium.org mailto:observium@observium.org> Date: Tuesday, May 22, 2012 2:18 PM To: "observium@observium.org mailto:observium@observium.org" <observium@observium.org mailto:observium@observium.org> Subject: [Observium] New install problems
I have done a new install on a Freebsd box using the instructions here: http://www.observium.org/wiki/FreeBSD_SVN_Installation
I have everything installed, but when I go to the webpage I run into this:
*Fatal error*: Call to undefined function simplexml_load_string() in */usr/local/share/observium/includes/definitions.inc.php* on line *1144*
I do show the xml.so extension installed in php.
Any ideas what to check? No errors show up in the logs.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Please note that the FreeBSD install is not supported, and probably hasn't had its instructions updated for a long time.
You're almost certainly missing the PHP module that provides simplexml. You're pretty much on your own on how to install it, though. It's default on Ubuntu/Debian, our development platform.
Running Observium on something untypical as FreeBSD will mean you'll almost certainly hit other random problems in the future. We very strongly recommend you run it on Ubuntu/Debian, or at the very least CentOS 6.
adam.
On 22/05/2012 20:18, Mike Hyde wrote:
I have done a new install on a Freebsd box using the instructions here: http://www.observium.org/wiki/FreeBSD_SVN_Installation
I have everything installed, but when I go to the webpage I run into this:
*Fatal error*: Call to undefined function simplexml_load_string() in */usr/local/share/observium/includes/definitions.inc.php* on line *1144*
I do show the xml.so extension installed in php.
Any ideas what to check? No errors show up in the logs.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi,
I run observium with more than 100 devices on FreeBSD. You miss at least "php5-simplexml".
Running Observium on something untypical as FreeBSD will mean you'll almost certainly hit other random problems in the future.
FreeBSD isn't that untypical in the isp world, besides debian. However observium changes every day and I run twice into installation troubles which are not operating system related.
We very strongly recommend you run it on Ubuntu/Debian, or at the very least CentOS 6.
I think it would make more sense to list all php modules and tools which are needed, cause the linux distros are changing the packages aswell. In this case everyone could decide for them self which operating system they have to use.
Regards Erich
participants (5)
-
Adam Armstrong
-
Andrew Beals
-
Erich Hohermuth
-
Joe Holden
-
Mike Hyde