Hey Folks,
I have a v7 install that's been chugging along with no issues for a while. Tried to hit Webconfig to it today and I am getting a 500 Error in the browser and this in the log:
Applicable line from the listed file:
SSH and all servers working just fine - only Webconfig impacted.
As far as I know nothing has changed. No updates pending and a reboot did not help. Clearing browser cache/fresh browser still results in the same error.
Hoping someone here can shed some light on the issue?
Appreciate any thoughts.
Jim
I have a v7 install that's been chugging along with no issues for a while. Tried to hit Webconfig to it today and I am getting a 500 Error in the browser and this in the log:
[Thu Nov 16 09:43:35.832434 2017] [:error] [pid 1717] [client 10.101.1.215:54481] PHP Fatal error: Call to a member function where() on a non-object in /usr/clearos/framework/system/libraries/Session.php on line 288
Applicable line from the listed file:
// Run the update query
$this->CI->db->where('session_id', $this->userdata['session_id']);
SSH and all servers working just fine - only Webconfig impacted.
As far as I know nothing has changed. No updates pending and a reboot did not help. Clearing browser cache/fresh browser still results in the same error.
Hoping someone here can shed some light on the issue?
Appreciate any thoughts.
Jim
Share this post:
Accepted Answer
Jim,
Can you run:
Yes...it's OK to confirm the removal of a large list of packages...these are duplicates (older) that have already been replaced by the newer ones, but somehow (I'll be asking Pete to see if he has any insights) a yum upgrade left your server (and a few others apparently) in a state where the upgrade wasn't completed.
And report back here...I think this will solve your issues.
Ben
Can you run:
package-cleanup --cleandupes
service webconfig restart
Yes...it's OK to confirm the removal of a large list of packages...these are duplicates (older) that have already been replaced by the newer ones, but somehow (I'll be asking Pete to see if he has any insights) a yum upgrade left your server (and a few others apparently) in a state where the upgrade wasn't completed.
And report back here...I think this will solve your issues.
Ben
Responses (25)
-
Accepted Answer
Do you get this on all pages in webconfig or just some? Try these:
https://serverip:81/app/dns
https://serverip:81/app/users
https://serverip:81/app/network -
Accepted Answer
Hiya
I am getting exactly the same problem and error. I have no access to the webconfig, none of the pages. The standard http 'congratulations your web server is running' page is fine. the line 288 error is in my logs as well.
It has been running fine ever since install (over a year ago).
This has been like this for the past week or so. Does anyone have any suggestions that I can try to get it back ?
Steve -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
I don't know if this will help diagnose the issue but if I comment out lines 288 and 289 of /usr/clearos/framework/system/libraries/Session.php I can get to the login page. However it won't let me log in (presumably because the session is not being passed forward). Un-commenting the two lines brings back the "unable to handle this request" error page.
Steve -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Just in case this helps, I have had a look through the error logs and the
PHP Fatal error: Call to a member function where() on a non-object in /usr/clearos/framework/system/libraries/Session.php on line 288
error listed against every client ip address on the network, even though only one is ever used to connect to the webconfig. So I am guessing this is not limited to webconfig access but that is the one it is affecting.
Steve -
Accepted Answer
Glad I didn't cause this with mail archive update.
Need one volunteer to give me remote access... please create a support ticket and mention this post and request SSH remote login on the ticket.
I'll figure out what's happened and report back here for anyone else who might have this issue.
B -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
It is much easier not to use the console if you can avoid it. My server is in the attic and effectively runs headless. If you use Windows, get yourself a copy of PuTTy and WinSCP - they are both free. PuTTy will give you a remote terminal. You can copy from it by selecting text and paste into it by right-clicking. WinSCP will give you a graphical file manager and a basic text editor (or you can configure it to use a text editor of your choice like Notepad++). WinSCP even has a button to launch PuTTy.
There is no obvious reason for bash not to find those commands and you can copy them from the forum and paste them into PuTTy.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »