LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-20-2002, 11:26 PM   #1
bobo_daclown
Member
 
Registered: Dec 2002
Location: NC (no comment)
Distribution: Psyche (RH8.0) / LFS / OS X.2 / MDK 9.0 / Win2k Server
Posts: 49

Rep: Reputation: 15
/sbin/setsysfont error thrown.


Okay, here's my error from /var/log/boot.log:

Dec 18 21:41:53 DaClown keytable: utf8: No such file or directory

Checked Google to no avail. Then, I traced the boot process. Checked keytable which runs loadkeys and setsysfont.

The variable $SYSFONT =
The variable $SYSFONTACM =
I checked set via bash and got nothing on these two???
If you see anything I can fix, please let me know. Thanks in advance.

/sbin/setsysfont is below. The line that throws an error is emboldened.

[marc@DaClown marc]$ cat /sbin/setsysfont
#!/bin/sh

PATH=/bin:/usr/bin

if [ -f /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
fi

case "$LANG" in
*.utf8|*.UTF-8)
exec unicode_start $SYSFONT $SYSFONTACM
;;
esac

if [ -x /bin/consolechars -o -x /usr/bin/consolechars ]; then
if [ -n "$SYSFONT" ]; then
ARGS=$SYSFONT
if [ -n "$UNIMAP" ]; then
ARGS="$ARGS --sfm $UNIMAP"
fi
if [ -n "$SYSFONTACM" ]; then
ARGS="$ARGS --acm $SYSFONTACM"
fi
consolechars -f $ARGS
fi
elif [ -x /bin/setfont ]; then
if [ -n "$SYSFONT" -a -n "$UNIMAP" ]; then
/bin/setfont $SYSFONT -u $UNIMAP
elif [ -n "$SYSFONT" ]; then
/bin/setfont $SYSFONT
# else
# /bin/setfont
fi
else
echo $"can't set font"
exit 1
fi

exit 0

Last edited by bobo_daclown; 12-20-2002 at 11:27 PM.
 
Old 12-23-2002, 09:34 AM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Oky. The problem is it's not finding any font files...

the error isn't the emoldened one, it's the one before it - where it says 'case $LANG in *.utf8 blah..

Check your LANG setting. You should see something like this :

# echo $LANG
en_US.UTF-8

depending on your location, of course.

After which you can check for your particular location's font tables.

Slick.
 
Old 12-23-2002, 12:46 PM   #3
bobo_daclown
Member
 
Registered: Dec 2002
Location: NC (no comment)
Distribution: Psyche (RH8.0) / LFS / OS X.2 / MDK 9.0 / Win2k Server
Posts: 49

Original Poster
Rep: Reputation: 15
Okay, here's what I've done to correct the problem: Opened /etc/sysconfig/i18n (which is where it gets those variables):
Quote:
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="LatArCyrHeb-16"
SYSFONTACM="utf8"
And replaced it with:
Quote:
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en_US"
That seems to work. Then, I checked one of my other computers and replaced the script above with a copy from another RH8 machine:
Quote:
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF.8"
SYSFONT="latarcyrheb-sun16"
No problems from a terminal window. The next time I drop out of X, I'll find out if it worked for sure.
 
Old 12-23-2002, 01:28 PM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
I think this is an Anaconda(RH installer) issue with Psyche.

I had problems with this too, but in my man pages.

http://www.linuxquestions.org/questi...?postid=179443
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/sbin/rc: line 271: /sbin/devfsd: No such file or directory Alexander.s Linux - General 3 04-22-2005 04:44 PM
Want2use /sbin cmds undr non-root account w/o sudo. Is it safe 2 add /sbin 2 my PATH? kornerr Linux - General 4 02-25-2005 09:29 AM
/usr/sbin and /sbin world read/executable... why? lazlow69 Slackware 3 04-29-2004 05:06 PM
/usr/sbin/named error? TongueTied Linux - Networking 5 08-29-2003 07:35 AM
'running sbin/loader' error curiouskouts Linux - Software 14 07-23-2001 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration