[prev in list] [next in list] [prev in thread] [next in thread] 

List:       npaci-rocks-discussion
Subject:    Re: [Rocks-Discuss] fontconfig problem on the compute nodes
From:       Dan-Gabriel Calugaru <dan.calugaru () univ-fcomte ! fr>
Date:       2008-09-30 13:02:09
Message-ID: 20080930150209.ysho1uaz0g40ok8k () webmail ! univ-fcomte ! fr
[Download RAW message or body]

Dear Bart,

That did indeed do the trick.

Yes, because X-windows has been installed on compute nodes, the  
default runlevel was configured to 5, and therefore the line "sed ...  
" in the <post> section is necessary.

Thanks very much for your help.


Quoting Bart Brashers <bbrashers@Environcorp.com>:

> Try adding a line to your extend-compute.xml file that looks like this:
>
> <package type="meta">base-x</package>
>
> That will install the fonts, the X font server (xfs, not to be confused
> with the xfs file system) and indeed the whole X-windows system on the
> compute nodes.
>
> You may also want to include a line like this in your <post> section:
>
> sed -i "s/id:5:initdefault/id:3:initdefault/" /etc/inittab
>
> though I'm not sure if a compute node install would default to runlevel
> = 5 just because X-windows is installed.  I know that NAS nodes default
> to runlevel = 5, something that I find to be undesirable.  As long as
> you have runlevel = 3, I don't think there's any performance penalty to
> a compute node to have X-windows installed.
>
> Bart Brashers
>
>> -----Original Message-----
>> From: npaci-rocks-discussion-bounces@sdsc.edu
> [mailto:npaci-rocks-discussion-bounces@sdsc.edu] On
>> Behalf Of Dan-Gabriel Calugaru
>> Sent: Friday, September 26, 2008 6:46 AM
>> To: npaci-rocks-discussion@sdsc.edu
>> Subject: [Rocks-Discuss] fontconfig problem on the compute nodes
>>
>> Hi all,
>>
>> Sorry for my previous message (yesterday) which has not been correctly
> send.
>>
>> I had the following problem when I installed the last version of
>> scilab 5.0.1 on our Rocks 5.0 cluster :
>>
>> On the frontend, all is OK (scilab command opens correctly the GUI)
>>
>> But on the compute node, this error message appears :
>>
>> ----------
>> No fonts found; this probably means that the fontconfig
>> library is not correctly configured. You may need to
>> edit the fonts.conf configuration file. More information
>> about fontconfig can be found in the fontconfig(3) manual
>> page and on http://fontconfig.org
>> ----------
>>
>> I verified that on the compute node, fontconfig rpm is installed and
>> the fonts.conf file (in /etc/fonts) is identical as on the frontend
> one.
>>
>> However, on the frontend, there are several rpms containing the word
>> "font" in their name:
>>
>> [root@cluster-math ~]# rpm -qa | grep font
>> bitstream-vera-fonts-1.10-7
>> bitmap-fonts-0.3-5.1.1
>> dejavu-lgc-fonts-2.10-1
>> libXfontcache-devel-1.0.2-3.1
>> libXfontcache-1.0.2-3.1
>> libfontenc-devel-1.0.2-2.2.el5
>> fontconfig-devel-2.4.1-7.el5
>> chkfontpath-1.10.1-1.1
>> xorg-x11-fonts-truetype-7.1-2.1.el5
>> libXfont-1.2.2-1.0.3.el5_1
>> xorg-x11-font-utils-7.1-2
>> xorg-x11-fonts-Type1-7.1-2.1.el5
>> xorg-x11-fonts-75dpi-7.1-2.1.el5
>> tetex-fonts-3.0-33.2.el5_1.2
>> fontconfig-2.4.1-7.el5
>> xorg-x11-fonts-base-7.1-2.1.el5
>> urw-fonts-2.3-6.1.1
>> xorg-x11-fonts-misc-7.1-2.1.el5
>> xorg-x11-fonts-100dpi-7.1-2.1.el5
>> ghostscript-fonts-5.50-13.1.1
>> xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5
>> xorg-x11-fonts-ISO8859-1-100dpi-7.1-2.1.el5
>> libfontenc-1.0.2-2.2.el5
>> libXfont-devel-1.2.2-1.0.3.el5_1
>>
>> while on the compute node, we have only one (fontconfig):
>>
>> [root@compute-0-0 ~]# rpm -qa | grep font
>> fontconfig-2.4.1-7.el5
>>
>> Therefore, I think that one or several rpms are missing on the nodes
>> and my first question is which would be these rpms ?
>>
>> I started by installing (manually) the following rpms on the compute
> node :
>>    libXfont-1.2.2-1.0.3.el5_1
>>    libXfont-devel-1.2.2-1.0.3.el5_1 (needed by
> libXfont-1.2.2-1.0.3.el5_1 )
>>    xorg-x11-font-utils-7.1-2
>> but the above error message persists.
>>
>> Then, I have seen that most of other rpms in the above list need
>> chkfontpath-1.10.1-1.1 dependence, which in its turn, needs xfs. The
>> problem is that xfs need also /usr/sbin/chkfontpath (which should be
>> provided by chkfontpath-1.10.1-1.1).
>>
>> Then, my second question is how solve this vicious circle :
>>
>> rpm -ivh xorg-x11-xfs-1.0.2-4.i386.rpm
>> error: Failed dependencies:
>>          /usr/sbin/chkfontpath is needed by xorg-x11-xfs-1.0.2-4.i386
>>
>> rpm -ivh chkfontpath-1.10.1-1.1.i386.rpm
>> error: Failed dependencies:
>>          xfs is needed by chkfontpath-1.10.1-1.1.i386
>>
>> Thanks in advance,
>> Dan Calugaru
>> Research Engineer in Scientific Computing
>> University of Franche-Comte, France
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>
>
>
> This message contains information that may be confidential,   
> privileged or otherwise protected by law from disclosure. It is   
> intended for the exclusive use of the Addressee(s). Unless you are   
> the addressee or authorized agent of the addressee, you may not   
> review, copy, distribute or disclose to anyone the message or any   
> information contained within. If you have received this message in   
> error, please contact the sender by electronic reply to   
> email@environcorp.com and immediately delete all copies of the   
> message.
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic