Observium doesn't work from a subdirectory.
Also, FreeBSD is not really supported, as non of the development team use it, and Observium relies a little more heavily on userland than most PHP applications.
adam.
On 2013-10-10 05:04, Ron Wingfield wrote:
Ladies and Gentlemen:
I am at a loss to explain or otherwise understand what is happening regarding my fresh install of Observium.
The installation is on a prototype server platform, i.e., no registered (FQDN) domain name available; therefore, using a static IP address on the LAN (i.e, not assigned by DHCP).
If I execute HTTP://192.168.1.75/OBSERVIUM/HTML/INDEX.PHP [1] from a browser, the following html code is generated: (or from a command line, # PHP INDEX.PHP > INDEX.HTML (_also as copied from browser's show source window_)
<!DOCTYPE html>
<html lang="en"> <head>
<base href="" /> <link href="css/bootstrap.css" rel="stylesheet" type="text/css" /> <link href="css/bootstrap-select.css" rel="stylesheet" type="text/css" /> <link href="css/bootstrap-hacks.css" rel="stylesheet" type="text/css" /> <link href="css/google-code-prettify.css" rel="stylesheet" type="text/css" /> <link href="css/jquery.qtip.min.css" rel="stylesheet" type="text/css" /> <link href="css/mktree.css" rel="stylesheet" type="text/css" /> <link href="css/sprite.css" rel="stylesheet" type="text/css" /> <link href="css/flags.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/google-code-prettify.js"></script>
<title>Observium :: Network Observation and Monitoring</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="content-language" content="en-us" /> <meta http-equiv="refresh" content="300" /> <link rel="shortcut icon" href="images/observium-icon.png" /> </head><body> <div class="container">
<div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="well" style="padding: 50px; background-image: url('/images/login-hamster-large.png'); background-position: left 10px top -65px; background-repeat: no-repeat;"> <div class="row"> <div class="col-md-3"> </div> <div class="col-md-9"> <form action="" method="post" name="logonform" class="form-horizontal"> <fieldset> <div class="control-group"> <div class="controls"> <h3>Please log in:</h3> </div> </div>
<div class="control-group"> <label class="control-label" for="username">Username</label> <div class="controls"> <input type="text" class="input-xlarge" id="username" name="username"> </div> </div>
<div class="control-group"> <label class="control-label" for="password">Password</label> <div class="controls"> <input type="password" class="input-xlarge" id="password" name="password"> </div> </div>
<div class="control-group"> <label class="control-label" for="optionsCheckbox2"></label> <div class="controls"> <label class="checkbox"> <input type="checkbox" id="remember" name="remember"> Remember my login on this computer </label> </div> </div> <div class="controls"> <button type="submit" class="btn-large btn"> <i class="icon-lock"></i> Log in </button> </div> </table> </fieldset> </form> </div> </div> </div> </div> </div>
<div class=row><div class="col-md-6 col-md-offset-3"><div style="margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000;">Unauthorised access or use shall render the user liable to criminal and/or civil prosecution.</div></div></div><script type="text/javascript"> <!-- document.logonform.username.focus(); // --> </script>
</div> </div> . . .and the displayed results in a browser is:
Obviously, some functionality is failing; for example:
- At this point, the login fails to authenticate. I have used
_PHPMYADMIN_ to add a user id to the USER table. Of note, the ADDUSER.PHP utility will report that the user already exists if I attempt to add the same (via adduser.php); however, if I attempt the add another user, then the utility fails to add the user.
- Also note that the expected images, such as LOGIN-HAMSTER-LARGE.PNG
are not displayed.
- Also, see this FreeBSD Forum thread:
http://forums.freebsd.org/showthread.php?t=42319 [2]
- I suspect that there are $PATH issues in play here. Any suggestions
will be greatly appreciated.
OTTF, [3] Ron W.
Links:
[1] http://192.168.1.75/observium/html/index.php [2] http://forums.freebsd.org/showthread.php?t=42319 [3] http://archaxis.net/htdocs/RTWingfield/htdocs/humor/OTTF/OTTF.html
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium