This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Webadmin hangs in login procedure

Hello;
I have tried to find a resolution through previous posts, but nothing applied. I need some troubleshooting guidance. I have Astaro firewall home edition installed for some time, confugured and running w/o too much problems, or supervison from my part. Once in a while I open Webadmin to check some of the dashboard indicators. Last time I did this was a couple of weeks ago, and today I tried to do the same, but I cannot get past webadmin screen. I enter admin and password, the screen goes into processing, and never returns success or error. The firewall is working (traffic is going through - and I'm able to post this message) but I cannot get to the management interface. 
I've found somewhere how to reset webadmin password using cc etc, and done that (from the console, as root). 
Apparently that process worked as designed, but as soon as I went back to the login screen, that hung again. Not sure how to find what the problem is. Any suggestions are hignly appreciated.
hg


This thread was automatically locked due to age.
  • You're right that this isn't a "normal" problem.  

    One possibility is that your browser's cache has a problem, so try from another PC.  If that works, then you definitely will want to delete the temporary files in your browser (close all windows, open a new window, and then (in IE) Tools, Internet Options, etc.).

    You can try restoring a recent backup next.  Get an unencrypted configuration backup that's from before your last, successful login and copy it to the root directory of a USB memory stick.  Reboot the device with the USB memory stick inserted and it will restore automatically.

    Finally, if those don't resolve your issue, a new install seems necessary to fix you up; also, I think you might want to replace the hard drive if you have a spare.

    Cheers - Bob
  • I agree with bob that more than likely this is a browser cache problem. You can just do
    /etc/init.d/httpd restart

    to restart webadmin. But more than likely the problem lies somewhere else.

    Edit: Forgot to add, FF works the best most of the time with astaro for maximum compatibility.
  • Hi, I've had this happen once or twice in the many years I've been using Astaro. Rebooting should help, unless the database has become corrupt (due to disk full or other problems).

    I haven't had it happen since upgrading to version 7.5.

    Barry
  • Hello All;

    Thanks for your feedback. I should have mentioned a #df -h on the console, showed the space is fine on all partitions (that was my thought as well in the monring).  Rebooting was the next step, and I've done it, as usually this clears things up, restarts defunct processes, etc., but it didn't change anything. 
    I have a couple of notebooks at home, and connected to it from all of them, and the interface hung the same way each time. No hope with the browser cache, I guess. I've tried from IE and Chrome. I deinstalled FF a few days ago, and have not had the time to reinstall. 

    Given the fact that I had to go to work, I have left the "pleasure" of tinkering with it for later in the evening, or in the weekend. I'm not sure what is going on, since the firewall started complaining also about dyndns not running, and having it restarted every hour. It is sending notifications to my email account, that's how I know. W/o the management interface I'm not able to do much, however.

    Now - regarding the backup restore... I have to confess that I have not taken any backup of the computer running it. I saw some messages at some point, I believe that a backup of the config was taken by the firewall (probably an automated procedure?), but I have no idea where those are stored on the hdd. Since I have root access, if there is a config which is saved somewhere, I can copy it to a USB drive and try to use it. I've been pretty lazy and not got too deep in the system's administration, beyond what I needed to set it up. Where do I find more detail relaed to the recovery Bob was mentioning? or, if it is not a too long story, can you just guide me here, while we are at it?
    Much appreciated.
  • Look in the manual under 'Management >> Backup/Restore'.  On "actively-managed" Astaros, I like to get a daily email with a  backup.  For others that just sit there and do their job, since this is only a configuration backup, once a week is fine.

    Here's a KnowedgeBase article describing how to restore from the command line.

    Cheers - Bob
  • If you've never logged into the console, try 'root' with a blank password; that should work if you never set a password for root and SSH access.

    Barry
  • Hi everybody,

    is there anything new on this topic? For a couple of days I've been experiencing the same problem.
    The system is working just fine, internet, email, everything is running as it's supposed to.

    The only thing that stopped working a some month ago is scheduled up2date installations. I've never taken the effort to take a look at logs, because manual installation of the packages (meaning going to Webadmin and clicking the install button) did work.

    Now suddenly I can't login anymore. Neither with the preinstalled admin user, nor with any remote users (Active Directory). Authentications are working though. If I enter wrong credentials I get an error message about that (and curiously the associated email notifications). But if the credentials are correct I end up with "Please wait, logging in".

    astaro:/var/log # df -h
    
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda6             5.3G  1.5G  3.7G  29% /
    udev                  502M   84K  502M   1% /dev
    /dev/sda1             342M   20M  305M   6% /boot
    /dev/sda5             4.7G  630M  3.8G  14% /var/storage
    /dev/sda7             6.2G  388M  5.5G   7% /var/log
    /dev/sda8             711M   29M  646M   5% /tmp
    tmpfs                 502M   64K  502M   1% /var/storage/chroot-smtp/tmp/ram


    Then suddenly I got an error message via email yesterday:
    Firmware Up2Date installation failed: Errors during the package installation, installation failed (10)
    
    Please check the up2date log file for detailed information.


    Can someone tell me where to find the archived logs? /var/log only seems to contain today's logfiles.

    Reboot has been tried of course.

    By the way: End User Portal is working just fine...
  • SOunds like it´s the f*cking news feed problem again.

    Try deleting/var/sec/chroot-httpd/var/webadmin/var/feed.xml
      
      
    after this, execute /etc/init.d/httpd restart
      
    after this, quickly log in and disbale the "marketing news feed" under "webadmin settings - user preferences"
  • Hi Ölm,

    took me some time to try your suggestion because I had already reinstalled the buggy installation. But I had a backup of the virtual machine and tried it. Didn't help I'm afraid.

    During reinstallation it didn't work when I imported a 8.003 config backup, only when I imported an 8.002 backup. I assume the installation got broken with the installation of the 8.003 update. It appears that also destroyed all upcoming config backup files.