View previous topic :: View next topic |
Author |
Message |
zxyqvod n00b
Joined: 14 Nov 2014 Posts: 64 Location: zh_CN
|
Posted: Sun Apr 03, 2016 10:32 am Post subject: sysklogd: /dev/xconsole: No such file or directory |
|
|
Who can help me solve this problem? 3q!(Thank you!) |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sun Apr 03, 2016 5:52 pm Post subject: |
|
|
Ok, xconsole is an old/ancient X11 application that is like a console that you can dump text to.
Normally /dev/xconsole is a named pipe that the xconsole application will read, and sysklogd will dump text to this named pipe.
You'll have to hack your config files if you're not using this setup. As I don't use this, I have no idea how this is set up, probably in /etc/syslog.conf there's an "xconsole" somewhere that you should rename...
Or you can go old school and set up an xconsole... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Fri Sep 08, 2017 5:29 am Post subject: |
|
|
Is it too late for a reply? On a long ago subject matter...
This very basic but is the purpose of having such named pipes for tools like the system logging capabilities. I'm using it right now and it's really pretty good.
I think it beats having to switch terminals to see the output to another console.
Code: | mkfifo /dev/xconsole |
Then simply make sure the section of your syslog.conf file are uncommented, and then restart the daemon for that process (sysklogd)
If you've already opened up a console window, pointed at the pipe with,
Code: | $ xconsole -file /dev/xconsole
|
then you should have immediate logging to the output of the xconsole. Happy logging...thanks by the way when I came across this old post it helped me to discover the need for the pipe when creating the xconsole in this case. |
|
Back to top |
|
|
GenHeDi Tux's lil' helper
Joined: 02 Jan 2016 Posts: 132
|
Posted: Sun Jul 29, 2018 2:34 pm Post subject: |
|
|
Hello,
Although I followed LIsLinuxIsSogood his instructions, I still get the following error messages:
Code: | syslogd: unknown priority name
syslogd: /dev/xconsole : no such file or directory |
It mainly appears when I am working in the console and do not have X11 and KDE active.
Does anyone have an idea how I can solve this? _________________ Nulla tenaci invia est via |
|
Back to top |
|
|
P.Kosunen Guru
Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Sun Jul 29, 2018 4:08 pm Post subject: |
|
|
/etc/syslog.conf:
Code: |
#daemon.*;mail.*;\
# news.err;\
# *.=debug;*.=info;\
# *.=notice;*.=warn |/dev/xconsole |
I always comment out some lines from syslog.conf, might be those. |
|
Back to top |
|
|
GenHeDi Tux's lil' helper
Joined: 02 Jan 2016 Posts: 132
|
Posted: Mon Jul 30, 2018 5:53 pm Post subject: |
|
|
Hello P.Kosunen
Here is a part of my /etd/syslog.conf
Code: | # The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
# you must invoke `xconsole' with the `-file' option:
#
# $ xconsole -file /dev/xconsole [...] original
$ xconsole -file /dev/xconsole
#
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
# busy site..
#
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
|
It is almost the original configuration after installing syslogd. The only changes are according to LIsLinuxIsSogood his instructions. _________________ Nulla tenaci invia est via |
|
Back to top |
|
|
GenHeDi Tux's lil' helper
Joined: 02 Jan 2016 Posts: 132
|
Posted: Mon Aug 13, 2018 7:35 pm Post subject: |
|
|
I have commented following lines out:
Code: | $ xconsole -file /dev/xconsole |
and
Code: |
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
|
If I understand it correctly the messages will be sent to /dev/xconsole anymore. _________________ Nulla tenaci invia est via |
|
Back to top |
|
|
|