2017-03-09 - Grase crashed after power issues.

Header Data

From: David Wilson <da***e@argyle.com.au>
Message Hash: 28d78e865fd31c54c37edea7b09e78dc8321c492708e5e3a064b69eebf838a1b
Message ID: <9753C18E-33A7-4CD3-9EBD-35A4C9B9435A@argyle.com.au>
Reply To: N/A
UTC Datetime: 2017-03-09 03:25:15 UTC
Raw Date: Thu, 09 Mar 2017 21:25:15 +1100

Raw message

Hi

Need some urgent help. 
We have a grade server running very well for quite some time, but earlier today there were major power issues causing surges and outages for several hours. 
The server, router and everything are on UPS’s but because there were so many outages and so frequently, the systems went up and down a few times. 

Anyway - the OS seems stable and working reasonably well but I could not log into Grase. 
Was getting admin login screen but no further. 
If i tried logging it it would just re-display the login page. 
Initially I though I had miss-typed the password but then I noticed that any wrong combination of username / password would display the Red error. 
But the correct combination would simply red display the login page without the error - but I still could not get in.

It was a while since it was all updated and everyone was off-air anyway so i run some updates. 
OS is now fully up to date Welcome to Ubuntu 14.04.5 LTS

I tried to take a look around and found 

ubuntu@wifi:/usr/share/grase/www/radmin$ ls -l
total 4
drwxrwxrwx 2 root www-data 4096 Mar  9 19:13 templates_c
ubuntu@wifi:/usr/share/grase/www/radmin$ 


That does not look good - so I want to reinstall totally. 
This is where I am stuck. 

I tried 

sudo apt-get install --reinstall grase-www-portal
got 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package grase-www-portal is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  grase-conf-apache2


So I purged all three packages 

	sudo apt-get purge grase-www-portal
	sudo apt-get purge grase-conf-freeradius
	sudo apt-get purge grase-conf-openvpn

Reboot then tried re-installing 

sudo apt-get install grase-www-portal grase-conf-freeradius grase-conf-openvpn
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package grase-www-portal is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  grase-conf-apache2

E: Package 'grase-www-portal' has no installation candidate
E: Unable to locate package grase-conf-freeradius
E: Unable to locate package grase-conf-openvpn



So I am stuck - I can’t seem t be able to find the package.


Dave 



























Thread