I can't login at pfsense 2.2.3



  • I can see login webpage.It's will show this error when I login it.

    Warning: session_start(): open(/tmp//sess_5368442a74b3b90bd2286e707dff8a1c, O_RDWR) failed: Device not configured (6) in /etc/inc/auth.inc on line 1359

    And it's can't login it.How to fix it?



  • It seems like the /tmp filesystem is not there. Login to the console and reboot for a start, that fixes things in the computer world :)
    Watch the console during boot for problem messages about /tmp
    If it still happens, then get out of the console menu (option 8) to command line and see if /tmp is there:

    ls -l /tmp
    

    What pfSense version?

    Full install or nanoBSD?



  • If you keep having problems, often a complete wipe and reinstall is the best most expedient thing to do if the system is not highly configured with alot of rules etc etc.



  • Hello,
    I use pfsense 2.2.3 and Full installed.
    I got system logs

    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 40 (UNC )
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): RES: 51 40 21 35 7d 14 14 00 00 00 00
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): Retrying command
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): READ_DMA48. ACB: 25 00 0f 35 7d 40 14 00 00 00 40 00
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): CAM status: ATA Status Error
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 40 (UNC )
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): RES: 51 40 21 35 7d 14 14 00 00 00 00
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): Retrying command
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): READ_DMA48. ACB: 25 00 0f 35 7d 40 14 00 00 00 40 00
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): CAM status: ATA Status Error
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 40 (UNC )
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): RES: 51 40 21 35 7d 14 14 00 00 00 00
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): Retrying command
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): READ_DMA48. ACB: 25 00 0f 35 7d 40 14 00 00 00 40 00
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): CAM status: ATA Status Error
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 40 (UNC )
    Jul 3 11:05:33 kernel: (ada0:ata2:0:0:0): RES: 51 40 21 35 7d 14 14 00 00 00 00

    Maybe hdd or sata connect have error?



  • Yes, you have a disk problem.
    Did you just upgrade from 2.1.* to 2.2.3?
    That is a FreeBSD version change 8.3->10.1 and it is possible to have ATA Status Error stuff reported like that. There are different loader.conf.local things that can be set - there are threads on that that a search should find easily.

    Otherwise if it has been running fine on 2.2.* for a while and this has just started then probably a real hardware issue.



  • I was upgrade pfsense 2.2.2 to 2.2.3
    So,I will test hdd or sata line.



  • Hello,
    I will upgrade from 2.1.5 to 2.2.3 at other server.
    What is this problem about loader.conf.local file?
    Could you tell me what's problem and how to fix it?



  • @akong:

    Hello,
    I will upgrade from 2.1.5 to 2.2.3 at other server.
    What is this problem about loader.conf.local file?
    Could you tell me what's problem and how to fix it?

    It is only if you happen to have certain hardware where there seem to have been some regressions in disk things somewhere betwen FreeBSD 8.3 and 10.1. Since you have been running fine already on 2.2.* then you do not have hardware like that.
    For reference an example thread is:
    https://forum.pfsense.org/index.php?topic=87364.0