Can't login (ssh, web)



  • Hi,
    I am very pleased with the RC so far event if I have some crash dump from times to times (4 until now). Today, I dot this bug: I was unable to login on the web interface nor using ssh. On the web page login, I got this messages:

    Warning: fopen(/tmp/config.lock): failed to open stream: Device not configured in /etc/inc/util.inc on line 127 Warning: flock() expects parameter 1 to be resource, null given in /etc/inc/util.inc on line 164 Warning: fclose() expects parameter 1 to be resource, null given in /etc/inc/util.inc on line 165 Warning: session_start(): open(/tmp//sess_1c01aae6588329daeca2ea6ffe370b5c, O_RDWR) failed: No space left on device (28) in /etc/inc/auth.inc on line 1362 Warning: fopen(/tmp/config.lock): failed to open stream: Device not configured in /etc/inc/util.inc on line 127 Warning: flock() expects parameter 1 to be resource, null given in /etc/inc/util.inc on line 164 Warning: fclose() expects parameter 1 to be resource, null given in /etc/inc/util.inc on line 165
    

    This is the first time I got this error message.
    No big deal: a reboot and all is working again. Just want to let you know about the error.

    Romain


  • Rebel Alliance Developer Netgate



  • Hi,
    Thanks for the link :)

    I have checked the filesystem usage and all seems to be fine:

    df -hi
    Filesystem    Size    Used  Avail Capacity iused ifree %iused  Mounted on
    /dev/ad2s1a    34G    2.3G    29G    7%    50k  4.6M    1%  /
    devfs          1.0K    1.0K      0B  100%      0    0  100%  /dev
    /dev/md0      3.4M    172K    3.0M    5%      55  967    5%  /var/run
    devfs          1.0K    1.0K      0B  100%      0    0  100%  /var/dhcpd/dev
    procfs        4.0K    4.0K      0B  100%      1    0  100%  /proc

    I have also performed a short smart test on the drive and no errors are reported on the reports. I will try an extended test to dig deeper the drive status.

    Thanks!
    Romain


  • Rebel Alliance Developer Netgate

    S.M.A.R.T. is not good at finding these types of problems. The controller often wedges or the disk disappears entirely (the fault of the disk), S.M.A.R.T. wouldn't have any way to test for that or to know it happened.



  • Thanks for the info.
    Hmm in this case how can I check if my drive is starting to fail? It's just a simple ATA drive.
    The good news is that I bought 2 spare disk recently :)

    Romain


Log in to reply