Logspam: [ Error opening file for writing; filename='/dev/console' ]

Sjaak112

Cadet
Joined
Aug 2, 2017
Messages
5
Hello all,

I have changed my motherboard + cpu + mem because i wanted ECC memory. In this new setup i have a Xeon without integrated GPU. The point is my old installation was installed as UEFI boot. I wanted to boot without external GPU and have read that i need to make a new installation with just BIOS boot. All is working great with my new USB stick and BIOS boot but i'm getting the following message every 1 min in my console.

Sep 30 20:29:22 server syslog-ng[1495]: Error opening file for writing; filename='/dev/console', error='Device not configured (6)'
Sep 30 20:30:22 server syslog-ng[1495]: Error opening file for writing; filename='/dev/console', error='Device not configured (6)'
Sep 30 20:31:22 server syslog-ng[1495]: Error opening file for writing; filename='/dev/console', error='Device not configured (6)'

I have imported my volume on my new USB installation and reuploaded the config, then rebooted and everything was normal again except for this message.
Have tried switching the checkboxes in System Dataset menu but it's not resolved by that. Also searched online but could only find people with older installations of Freenas.

My current Freenas version is the latest 11.0U4.

Build FreeNAS-11.0-U4 (54848d13b)
Platform Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz
Memory 16309MB

I hope you guys can help me.
Thanks already
 

Tim1962

Patron
Joined
Feb 26, 2015
Messages
281
Hi, Nt a specific solution for you but I got this error almost simultaneously to you and google seems to indicate a lack of solutions even by Freenas devs on the bug tracker. I was 11U2 and a simple ugrade to U4 didn't help.

My personal solution was to wind back to a version 2w ago and do a new manual upgrade.

Good luck
 

Sjaak112

Cadet
Joined
Aug 2, 2017
Messages
5
First of all thank you for your reply, appreciated.

You mean with go back just download release *.iso and make new installation on USB stick?
Or is it possible to downgrade using Freenas when i don't have old installed releases in System -> Boot

Maybe i should post this again in the bugtracker
 

Tim1962

Patron
Joined
Feb 26, 2015
Messages
281
Not quite.
And it looks like this is where we differ as I had previous installed versions but
For me, I went to system/boot

Download latest version e.g.
FreeNAS-11.0-U4-manual-update.tar

Select a boot environment from 2w ago.
Activate
Reboot into that version (having backed up etc and noted down your current settings)
When rebooted
Go to system/update
Manual update to downloaded version

Sorry if this isn't available to you
Tim
 

Sjaak112

Cadet
Joined
Aug 2, 2017
Messages
5
Ah well i did clean install with U4 already so cannot roll back to older version as my previous version is U4.
Maybe download release ISO and start over.
 

Sjaak112

Cadet
Joined
Aug 2, 2017
Messages
5
Also did found this messages in log when booting. Maybe someone has an idea.

Code:
Oct  8 23:28:51 server syslog-ng[1473]: Error opening file for writing; filename='/dev/console', error='Device not configured (6)'
Oct  8 23:28:51 server getty[8845]: open /dev/ttyv6: No such file or directory
Oct  8 23:28:51 server getty[8844]: open /dev/ttyv5: No such file or directory
Oct  8 23:28:51 server getty[8840]: open /dev/ttyv1: No such file or directory
Oct  8 23:28:51 server getty[8842]: open /dev/ttyv3: No such file or directory
Oct  8 23:28:51 server getty[8843]: open /dev/ttyv4: No such file or directory
Oct  8 23:28:51 server getty[8846]: open /dev/ttyv7: No such file or directory
Oct  8 23:28:51 server getty[8839]: open /dev/ttyv0: No such file or directory
Oct  8 23:28:51 server getty[8841]: open /dev/ttyv2: No such file or directory
 

Andres Biront

Dabbler
Joined
Sep 3, 2013
Messages
17
I have the exact same issue.

Replaced a Xeon X3430 with 32GB RAM for a Xeon E5-2640 64GB RAM, on another board, without VGA output (headless).

Same FreeNAS installation, just swapped the USB drives. It worked flawlessly and mounted the volume perfectly.

Now on the console I constantly have:

freenas syslog-ng[2355]: Error opening file for writing; filename='/dev/console', error='Device not configured (6)'

Running FreeNAS 11.1U4

Did you find a solution?
 

Sjaak112

Cadet
Joined
Aug 2, 2017
Messages
5
I have the exact same issue.

Replaced a Xeon X3430 with 32GB RAM for a Xeon E5-2640 64GB RAM, on another board, without VGA output (headless).

Same FreeNAS installation, just swapped the USB drives. It worked flawlessly and mounted the volume perfectly.

Now on the console I constantly have:

freenas syslog-ng[2355]: Error opening file for writing; filename='/dev/console', error='Device not configured (6)'

Running FreeNAS 11.1U4

Did you find a solution?


I have a headless server (no GPU / graphic card) so it couldn't output it's console to it. I have solved the issue to enable the serial port in the bios and set the freenas option in [system -> advanced -> Enable Serial Console] selected the port and 9600 baud speed.

Hope that i helped you
 
Top