![](https://secure.gravatar.com/avatar/8c08b35489ca15be88cd84a4a47b7ebd.jpg?s=120&d=mm&r=g)
Sorry if this is the wrong channel to send this to.
Not sure what happened, but after syncing to the latest version the web portal seems to be broken. Checking the logs the poller is still working, I just can't access the web page any more.
Checking the error logs the only two events that keep popping up when I try to load the page are:
[Wed Sep 25 09:29:53 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 212 [Wed Sep 25 09:52:04 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 215
Line 212 points to the start of what I pasted in below. The only part that stood out to me (I honestly have no idea what I am doing, just trying to troubleshoot) is what I highlighted below:
{
// Warn about lack of mcrypt unless told not to. <<<<<<< .mine <<<<<<< .mine <<<<<<< .mine if($config['login_remember_me'] = FALSE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) ======= if($config['login_remember_me'] = TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))
> .r4532 > .r4471 > .r4532
{ print_error('Observium now requires mcrypt to be installed for use by the "remember me" function. Please install the php5-mcrypt package on Ubuntu/Debian or the php-mcrypt package on RHEL/Centos. Alternatively, you can disable this $ }
// Authenticated. Print a page. if (isset($vars['page']) && !strstr("..", $vars['page']) && is_file("pages/" . $vars['page'] . ".inc.php")) { include("pages/" . $vars['page'] . ".inc.php"); } else { if (isset($config['front_page']) && is_file($config['front_page'])) { include($config['front_page']); } else { include("pages/front/default.php"); } } }
}
Once I commented those lines out, the page was able to load without any problems.
// <<<<<<< .mine // <<<<<<< .mine // <<<<<<< .mine if($config['login_remember_me'] = FALSE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // ======= if($config['login_remember_me'] = TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // >>>>>>> .r4532 // >>>>>>> .r4471 // >>>>>>> .r4532
Also, once I did the sync, there was an error (wish I wrote it down first) when running the "./discovery.php -h none" command. I had to follow the following article to fix the problem: http://stackoverflow.com/questions/16677558/startup-unable-to-load-dynamic-l...
Andrew
[Description: Description: Description: email_web address]
Andrew Hunstiger - Network Administrator I 1500 N. Greenville Ave., Suite 500 Richardson, TX 75081 Phone: 972.866.3545 Fax: 972.866.3301 Email: Andrew.Hunstiger@argodata.commailto:Andrew.Hunstiger@argodata.com
--------------------------------------------------- Confidentiality Notice: This electronic mail transmission is confidential, may be privileged and should be read or retained only by the intended recipient. If you have received this transmission in error, please immediately notify the sender and delete it from your system.
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Looks like svn fucked up your index file, did you modify it yourself?
The hilighted lines are not in our code, they were added by a merge problem when you updated.
Tom
On 09/25/2013 05:51 PM, Andrew Hunstiger wrote:
Sorry if this is the wrong channel to send this to.
Not sure what happened, but after syncing to the latest version the web portal seems to be broken. Checking the logs the poller is still working, I just can't access the web page any more.
Checking the error logs the only two events that keep popping up when I try to load the page are:
[Wed Sep 25 09:29:53 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 212
[Wed Sep 25 09:52:04 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 215
Line 212 points to the start of what I pasted in below. The only part that stood out to me (I honestly have no idea what I am doing, just trying to troubleshoot) is what I highlighted below:
*{*
**
- // Warn about lack of mcrypt unless told not to.*
*<<<<<<< .mine*
*<<<<<<< .mine*
*<<<<<<< .mine*
- if($config['login_remember_me'] = FALSE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*=======*
- if($config['login_remember_me'] == TRUE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*=======*
- if($config['login_remember_me'] = TRUE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*=======*
- if($config['login_remember_me'] == TRUE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*>>>>>>> .r4532*
*>>>>>>> .r4471*
*>>>>>>> .r4532*
{*
print_error('Observium now requires mcrypt to be installed for
use by the "remember me" function. Please install the php5-mcrypt package on Ubuntu/Debian or the php-mcrypt package on RHEL/Centos. Alternatively, you can disable this $*
- }*
**
// Authenticated. Print a page.*
if (isset($vars['page']) && !strstr("..", $vars['page']) &&
is_file("pages/" . $vars['page'] . ".inc.php"))*
{*
include("pages/" . $vars['page'] . ".inc.php");*
} else {*
if (isset($config['front_page']) && is_file($config['front_page']))*
{*
include($config['front_page']);*
} else {*
*include("pages/front/default.php");*
}*
}*
}*
**
*}*
Once I commented those lines out, the page was able to load without any problems.
*//<<<<<<< .mine*
*//<<<<<<< .mine*
*//<<<<<<< .mine*
- if($config['login_remember_me'] = FALSE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*//=======*
- if($config['login_remember_me'] == TRUE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*//=======*
- if($config['login_remember_me'] = TRUE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*//=======*
- if($config['login_remember_me'] == TRUE &&
(!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))*
*//>>>>>>> .r4532*
*//>>>>>>> .r4471*
*//>>>>>>> .r4532*
Also, once I did the sync, there was an error (wish I wrote it down first) when running the "./discovery.php -h none" command. I had to follow the following article to fix the problem: http://stackoverflow.com/questions/16677558/startup-unable-to-load-dynamic-l...
Andrew
Description: Description: Description: email_web address
Andrew Hunstiger -- Network Administrator I
1500 N. Greenville Ave., Suite 500
Richardson, TX 75081
Phone: 972.866.3545
Fax: 972.866.3301
Email: Andrew.Hunstiger@argodata.com mailto:Andrew.Hunstiger@argodata.com
--------------------------------------------------- Confidentiality Notice: This electronic mail transmission is confidential, may be privileged and should be read or retained only by the intended recipient. If you have received this transmission in error, please immediately notify the sender and delete it from your system.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Also, why do you see changes from 4532? None of those changes are in trunk! oO
subversion is weird.
adam.
On 2013-09-25 16:56, Tom Laermans wrote:
Looks like svn fucked up your index file, did you modify it yourself?
The hilighted lines are not in our code, they were added by a merge problem when you updated.
Tom
On 09/25/2013 05:51 PM, Andrew Hunstiger wrote:
Sorry if this is the wrong channel to send this to.
Not sure what happened, but after syncing to the latest version the web portal seems to be broken. Checking the logs the poller is still working, I just can't access the web page any more.
Checking the error logs the only two events that keep popping up when I try to load the page are:
[Wed Sep 25 09:29:53 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 212
[Wed Sep 25 09:52:04 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 215
Line 212 points to the start of what I pasted in below. The only part that stood out to me (I honestly have no idea what I am doing, just trying to troubleshoot) is what I highlighted below:
{
// WARN ABOUT LACK OF MCRYPT UNLESS TOLD NOT TO.
<<<<<<< .MINE
<<<<<<< .MINE
<<<<<<< .MINE
IF($CONFIG['LOGIN_REMEMBER_ME'] = FALSE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
=======
IF($CONFIG['LOGIN_REMEMBER_ME'] == TRUE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
=======
IF($CONFIG['LOGIN_REMEMBER_ME'] = TRUE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
=======
IF($CONFIG['LOGIN_REMEMBER_ME'] == TRUE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
.R4532
.R4471
.R4532
{
PRINT_ERROR('OBSERVIUM NOW REQUIRES MCRYPT TO BE INSTALLED FOR USE BY THE "REMEMBER ME" FUNCTION. PLEASE INSTALL THE PHP5-MCRYPT PACKAGE ON UBUNTU/DEBIAN OR THE PHP-MCRYPT PACKAGE ON RHEL/CENTOS. ALTERNATIVELY, YOU CAN DISABLE THIS $
}
// AUTHENTICATED. PRINT A PAGE.
IF (ISSET($VARS['PAGE']) && !STRSTR("..", $VARS['PAGE']) && IS_FILE("PAGES/" . $VARS['PAGE'] . ".INC.PHP"))
{
INCLUDE("PAGES/" . $VARS['PAGE'] . ".INC.PHP");
} ELSE {
IF (ISSET($CONFIG['FRONT_PAGE']) && IS_FILE($CONFIG['FRONT_PAGE']))
{
INCLUDE($CONFIG['FRONT_PAGE']);
} ELSE {
INCLUDE("PAGES/FRONT/DEFAULT.PHP");
}
}
}
}
Once I commented those lines out, the page was able to load without any problems.
// <<<<<<< .MINE
// <<<<<<< .MINE
// <<<<<<< .MINE
IF($CONFIG['LOGIN_REMEMBER_ME'] = FALSE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
// =======
IF($CONFIG['LOGIN_REMEMBER_ME'] == TRUE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
// =======
IF($CONFIG['LOGIN_REMEMBER_ME'] = TRUE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
// =======
IF($CONFIG['LOGIN_REMEMBER_ME'] == TRUE && (!FUNCTION_EXISTS('MCRYPT_DECRYPT') || !FUNCTION_EXISTS('MCRYPT_ENCRYPT')))
// >>>>>>> .R4532
// >>>>>>> .R4471
// >>>>>>> .R4532
Also, once I did the sync, there was an error (wish I wrote it down first) when running the "./discovery.php -h none" command. I had to follow the following article to fix the problem: http://stackoverflow.com/questions/16677558/startup-unable-to-load-dynamic-l... [2]
Andrew
Andrew Hunstiger - Network Administrator I
1500 N. Greenville Ave., Suite 500
Richardson, TX 75081
Phone: 972.866.3545
Fax: 972.866.3301
Email: Andrew.Hunstiger@argodata.com
--------------------------------------------------- Confidentiality Notice: This electronic mail transmission is confidential, may be privileged and should be read or retained only by the intended recipient. If you have received this transmission in error, please immediately notify the sender and delete it from your system.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [1]
Links:
[1] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [2] http://stackoverflow.com/questions/16677558/startup-unable-to-load-dynamic-l...
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/8c08b35489ca15be88cd84a4a47b7ebd.jpg?s=120&d=mm&r=g)
Sorry, our inbound e-mail has been down most of today.
When I ran the update it asked me if I wanted to replace the index file, so I said yes. Never used SVN before so I would have thought it would have just replaced the file, not modified it (strange).
Also to Adam's question, I have no idea. I just run "svn update" from the install location once I see any changes on the Jira site I am interested in looking at. It usually bumps me up to the current revision number.
Andrew
[Description: Description: Description: email_web address]
Andrew Hunstiger - Network Administrator I 1500 N. Greenville Ave., Suite 500 Richardson, TX 75081 Phone: 972.866.3545 Fax: 972.866.3301 Email: Andrew.Hunstiger@argodata.commailto:Andrew.Hunstiger@argodata.com
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: Wednesday, September 25, 2013 10:57 AM To: Observium Network Observation System Subject: Re: [Observium] Problems after sync to 4532
Looks like svn fucked up your index file, did you modify it yourself?
The hilighted lines are not in our code, they were added by a merge problem when you updated.
Tom
On 09/25/2013 05:51 PM, Andrew Hunstiger wrote: Sorry if this is the wrong channel to send this to.
Not sure what happened, but after syncing to the latest version the web portal seems to be broken. Checking the logs the poller is still working, I just can't access the web page any more.
Checking the error logs the only two events that keep popping up when I try to load the page are:
[Wed Sep 25 09:29:53 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 212 [Wed Sep 25 09:52:04 2013] [error] [client xxx.xxx.xxx.xxx] PHP Parse error: syntax error, unexpected T_SL in /opt/observium/html/index.php on line 215
Line 212 points to the start of what I pasted in below. The only part that stood out to me (I honestly have no idea what I am doing, just trying to troubleshoot) is what I highlighted below:
{
// Warn about lack of mcrypt unless told not to. <<<<<<< .mine <<<<<<< .mine <<<<<<< .mine if($config['login_remember_me'] = FALSE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) ======= if($config['login_remember_me'] = TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt')))
> .r4532 > .r4471 > .r4532
{ print_error('Observium now requires mcrypt to be installed for use by the "remember me" function. Please install the php5-mcrypt package on Ubuntu/Debian or the php-mcrypt package on RHEL/Centos. Alternatively, you can disable this $ }
// Authenticated. Print a page. if (isset($vars['page']) && !strstr("..", $vars['page']) && is_file("pages/" . $vars['page'] . ".inc.php")) { include("pages/" . $vars['page'] . ".inc.php"); } else { if (isset($config['front_page']) && is_file($config['front_page'])) { include($config['front_page']); } else { include("pages/front/default.php"); } } }
}
Once I commented those lines out, the page was able to load without any problems.
// <<<<<<< .mine // <<<<<<< .mine // <<<<<<< .mine if($config['login_remember_me'] = FALSE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // ======= if($config['login_remember_me'] = TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // ======= if($config['login_remember_me'] == TRUE && (!function_exists('mcrypt_decrypt') || !function_exists('mcrypt_encrypt'))) // >>>>>>> .r4532 // >>>>>>> .r4471 // >>>>>>> .r4532
Also, once I did the sync, there was an error (wish I wrote it down first) when running the "./discovery.php -h none" command. I had to follow the following article to fix the problem: http://stackoverflow.com/questions/16677558/startup-unable-to-load-dynamic-l...
Andrew
[Description: Description: Description: email_web address]
Andrew Hunstiger - Network Administrator I 1500 N. Greenville Ave., Suite 500 Richardson, TX 75081 Phone: 972.866.3545 Fax: 972.866.3301 Email: Andrew.Hunstiger@argodata.commailto:Andrew.Hunstiger@argodata.com
--------------------------------------------------- Confidentiality Notice: This electronic mail transmission is confidential, may be privileged and should be read or retained only by the intended recipient. If you have received this transmission in error, please immediately notify the sender and delete it from your system.
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--------------------------------------------------- Confidentiality Notice: This electronic mail transmission is confidential, may be privileged and should be read or retained only by the intended recipient. If you have received this transmission in error, please immediately notify the sender and delete it from your system.
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
On 2013-09-25 19:18, Andrew Hunstiger wrote:
Sorry, our inbound e-mail has been down most of today.
When I ran the update it asked me if I wanted to replace the index file, so I said yes. Never used SVN before so I would have thought it would have just replaced the file, not modified it (strange).
Also to Adam's question, I have no idea. I just run "svn update" from the install location once I see any changes on the Jira site I am interested in looking at. It usually bumps me up to the current revision number.
It was because tom had committed to /trunk/ and i hadn't noticed. :)
adam.
![](https://secure.gravatar.com/avatar/56a0ccba32f52613f3bd8f5b9df33eb9.jpg?s=120&d=mm&r=g)
I just updated to 4541 and the problem with the port charts has been fixed.
On Wed, Sep 25, 2013 at 6:55 PM, Adam Armstrong adama@memetic.org wrote:
On 2013-09-25 19:18, Andrew Hunstiger wrote:
Sorry, our inbound e-mail has been down most of today.
When I ran the update it asked me if I wanted to replace the index file, so I said yes. Never used SVN before so I would have thought it would have just replaced the file, not modified it (strange).
Also to Adam's question, I have no idea. I just run "svn update" from the install location once I see any changes on the Jira site I am interested in looking at. It usually bumps me up to the current revision number.
It was because tom had committed to /trunk/ and i hadn't noticed. :)
adam.
______________________________**_________________ observium mailing list observium@observium.org http://postman.memetic.org/**cgi-bin/mailman/listinfo/**observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/596df2eb40eb45cea0d6291bc6b4860e.jpg?s=120&d=mm&r=g)
Hi,
Just FYI. After revision 4540, when I run an rrdtool command from the site all the graphs show up as empty images. See attached.
Best Regards,
Mike Y.
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Zach Underwood Sent: Wednesday, September 25, 2013 7:10 PM To: Observium Network Observation System Subject: Re: [Observium] Problems after sync to 4532
I just updated to 4541 and the problem with the port charts has been fixed.
On Wed, Sep 25, 2013 at 6:55 PM, Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> wrote: On 2013-09-25 19:18, Andrew Hunstiger wrote: Sorry, our inbound e-mail has been down most of today.
When I ran the update it asked me if I wanted to replace the index file, so I said yes. Never used SVN before so I would have thought it would have just replaced the file, not modified it (strange).
Also to Adam's question, I have no idea. I just run "svn update" from the install location once I see any changes on the Jira site I am interested in looking at. It usually bumps me up to the current revision number.
It was because tom had committed to /trunk/ and i hadn't noticed. :)
adam.
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Zach Underwood (RHCE,RHCSA,RHCT,UACA) My websitehttp://zachunderwood.me My photoshttp://zunder1990.openphoto.me
________________________________ ARDEN A Global Company Celebrating over 48 years of making your life more comfortable!
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.
This OUTBOUND E-mail and Document(s) has been scanned by an Antivirus Server.
participants (5)
-
Adam Armstrong
-
Andrew Hunstiger
-
Micah Young
-
Tom Laermans
-
Zach Underwood