[CentOS] Suggested yum priorities settings for 3rd party repos

2008-12-07 Thread Vandaman
In the  yum priorities page on the wiki Akemi Yagi suggests 
http://wiki.centos.org/PackageManagement/Yum/Priorities

[base], [addons], [updates], [extras] ... priority=1 

[centosplus],[contrib] ... priority=2

Third Party Repos ... priority=N  (where N is  10 and 
based on your preference)

If you have rpmforge, kbs, epel all set up at 10 then wouldn't 
those also potentially overwrite each other if the same package
exists in all of them?

Who has got several 3rd party repos and what are your yum priority
for those?

Regards,
Vandaman.



  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] HAL automount luks device

2008-12-07 Thread Marcus Moeller
Hi all,

I have set up an encrypted partition on a usb key and can now
successfully mount it using:

cryptsetup luksOpen /dev/DEVICENODE cryptousb
mount /dev/mapper/cryptousb /mountpoint

My aim is now to do this using HAL and GNOME's Luks integration. I am
already asked for the pass phrase after plugging in the device, but I
seem to be not allowed to mount it.

Do I need to add an fstab entry for the crypto container? Or do I need
to modify some udev rules to allow unprivileged users to mount the
container?

Best Regards
Marcus
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Firefox loses plugins, anyone else? Bug? Known?

2008-12-07 Thread William L. Maltby
Same _bad_ behavior occurs on first attempt after doing below! Details
below.

On Sat, 2008-12-06 at 14:58 -0500, William L. Maltby wrote:
 On Sat, 2008-12-06 at 14:16 +0100, Matej Cepl wrote:
  On 2008-12-05, 23:48 GMT, William L. Maltby wrote:
   I was able to _start_ a comparison process, not completed yet. 
  
  What is the output of the command
  
  mozilla-plugin-config -l
  
 
 # mozilla-plugin-config -l
 -bash: mozilla-plugin-config: command not found
 
 Hmm... after an updatedb, did this
 
 # locate mozilla-plug
 
 No results.
 
  ? And if you have flash-plugin in ~/.mozilla then many bad things 
 
 Looks like I'm OK there.
 
 $ cd .mozilla;find . -iname '*plug*'
 ./firefox/9be8vroz.default/pluginreg.dat-
 ./firefox/9be8vroz.default/pluginreg.dat-2
 ./firefox/9be8vroz.default/pluginreg.dat
 
 # locate flash-plugin
 /home/hardtolove/Desktop/flash-plugin-9.0.124.0-release.i386.rpm
 /usr/lib/flash-plugin
 /usr/lib/flash-plugin/LICENSE
 /usr/lib/flash-plugin/README
 /usr/lib/flash-plugin/homecleanup
 /usr/lib/flash-plugin/libflashplayer.so
 /usr/lib/flash-plugin/setup
 /usr/share/doc/flash-plugin-10.0.12.36
 /usr/share/doc/flash-plugin-10.0.12.36/readme.txt
 
 This is the one from the adobe site.
 
 # rpm -qv flash-plugin
 flash-plugin-10.0.12.36-release
 
 
  will happen to you. Remove it and install the one from Adobe yum 
  repo together with nspluginwrapper from CentOS repos.
 
 Did it.
 
 # rpm -q nspluginwrapper
 nspluginwrapper-0.9.91.5-22.el5
 
 However, when I restart FF, this plugin does _not_ appear in the
 tools-add-ons plugins tab window. Should it? The pluginreg.dat seems to
 have been updated and the nspluginwrapper is in there.
 
 ]$ cd .mozilla
 [EMAIL PROTECTED] .mozilla]$ find . -iname '*plug*' -ls
 16285943   12 -rw---   1 hardtolove hardtolove 5267 Nov 20
 19:55 ./firefox/9be8vroz.default/pluginreg.dat-
 162885268 -rw---   1 hardtolove hardtolove   65 Dec  5
 17:37 ./firefox/9be8vroz.default/pluginreg.dat-2
 16288502   12 -rw---   1 hardtolove hardtolove 5859 Dec  6
 14:32 ./firefox/9be8vroz.default/pluginreg.dat
 [EMAIL PROTECTED] .mozilla]$ date
 Sat Dec  6 14:44:38 EST 2008
 
 $ grep nsplug ./firefox/9be8vroz.default/pluginreg.dat
 /usr/lib/nspluginwrapper/npwrapper.so:$
 a
 href=http://gwenole.beauchesne.info/projects/nspluginwrapper/;nspluginwrapper/a
   is a cross-platform NPAPI plugin viewer, in particular for linux/i386 
 plugins.brThis is bbeta/b software available under the terms of the GNU 
 General Public License.br:$
 
  
  Does it help?
 
 Might be hard to tell since the behavior is inconsistent. But everything
 is now set the way we think it should be.
 
  
  Matěj
 
 Since missing stuff reappeared during testing, I guess there will
  be a delay while I see if the behavior occurs again.

I went to the login that first exhibited the problem (that's the one
that had a beta version locally installed in the past and had been
manually manipulated at various times while I tried to help solve
another's problem with FF plugins).

$ cd .mozilla/firefox/9be8vroz.default
$ cp -a pluginreg.dat pluginreg.dat-3

Started up T'bird: no instances of FF were running on the system.
Clicked a link that opened FF.

$ ls -ltr plug*
-rw--- 1 hardtolove hardtolove 5267 Nov 20 19:55 pluginreg.dat-
-rw--- 1 hardtolove hardtolove   65 Dec  5 17:37 pluginreg.dat-2
-rw--- 1 hardtolove hardtolove 5859 Dec  6 14:32 pluginreg.dat-3
-rw--- 1 hardtolove hardtolove   65 Dec  6 18:07 pluginreg.dat

This was the situation before and after I exited FF. As you can see, the
-3 version (made with the cp -a) had lots in it. The real file is now
again empty.

$ cat pluginreg.dat
Generated File. Do not edit.

[HEADER]
Version:0.09:$

[PLUGINS]

Clicked the URL again in T'bird and FF starts up and shows additional
plugins are needed to ... well, you know.

An ls showed everything as above.

I started FF from the desktop and everything magically returns.

$ ls -ltr plug*
-rw--- 1 hardtolove hardtolove 5267 Nov 20 19:55 pluginreg.dat-
-rw--- 1 hardtolove hardtolove   65 Dec  5 17:37 pluginreg.dat-2
-rw--- 1 hardtolove hardtolove 5859 Dec  6 14:32 pluginreg.dat-3
-rw--- 1 hardtolove hardtolove 5859 Dec  6 18:23 pluginreg.dat

A diff of the .dat-3 and .dat shows they are identical.

All this leads me to believe there is something related to firing it up
from T'bird. Environmental variables? The launcher shows firefox %u. I
examined T'bird's account settings and preferences. Didn't see anything
there that looked like it might be similar to this.

I looked at FF preferences, nothing promising. It does check to see if
it's the default browser on start-up.

The JAVA console shows 8 warnings, but no errors. I'll take another look
at this after a launch from T'bird again.

Testing, testing, ...

Clicked on URL, .dat is 65 bytes again. Error console shows _many_ more
warnings (mostly undefined property zoom, subsequent unexpected
terminators, etc.). I don't 

Re: [CentOS] Suggested yum priorities settings for 3rd party repos

2008-12-07 Thread Akemi Yagi
On Sun, Dec 7, 2008 at 3:47 AM, Vandaman [EMAIL PROTECTED] wrote:
 In the  yum priorities page on the wiki Akemi Yagi suggests
 http://wiki.centos.org/PackageManagement/Yum/Priorities

 [base], [addons], [updates], [extras] ... priority=1

 [centosplus],[contrib] ... priority=2

 Third Party Repos ... priority=N  (where N is  10 and
 based on your preference)

I did not write/suggest that particular part (but that does not really matter).

 If you have rpmforge, kbs, epel all set up at 10 then wouldn't
 those also potentially overwrite each other if the same package
 exists in all of them?

 Who has got several 3rd party repos and what are your yum priority
 for those?

One of my systems have these entries:

rpmforge.repo:priority=40
kbsingh-CentOS-Extras.repo:priority=50
kbsingh-CentOS-Misc.repo:priority=50
atrpms.repo:priority=85
epel.repo:priority=90
CentOS-Testing.repo:priority=99

(not a complete list)

I do use different sets of numbers depending on what a given system
runs.  In addition to the priority scores, use of exclude= etc is also
important if you aim at getting certain packages from a repository of
your choice.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggested yum priorities settings for 3rd party repos

2008-12-07 Thread Kai Schaetzl
Vandaman wrote on Sun, 7 Dec 2008 11:47:28 + (GMT):

 Third Party Repos ... priority=N  (where N is  10 and 
 based on your preference)
 
 If you have rpmforge, kbs, epel all set up at 10 then wouldn't 
 those also potentially overwrite each other if the same package
 exists in all of them?

This is not what he suggests. You choose from above 10 according to your 
*preference*. e.g. rpmforge = 11, epel = 12 etc.
That's also what I do, by accident. But I have the base repo's at 0 and 
not 1.
And usually you want to have some gap between the figures, so you can 
easily rearrange (use 10, 15, 20 instead of 10,11,12).

I think it's quite clear, but following your question I suggest a small 
edit:
Third Party Repos ... priority=N  (where N is  10 and 
based on your preference for that repo)

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 46, Issue 5

2008-12-07 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. CEBA-2008:0962  CentOS 5 i386 glibc Update (Karanbir Singh)
   2. CEBA-2008:0962  CentOS 5 x86_64 glibc Update (Karanbir Singh)
   3. CEBA-2008:0997  CentOS 5 i386 evolution Update (Karanbir Singh)
   4. CEBA-2008:0997 CentOS 5 x86_64 evolution Update (Karanbir Singh)
   5. CEBA-2008:0996 CentOS 5 i386  evolution-data-server Update
  (Karanbir Singh)
   6. CEBA-2008:0996 CentOS 5 x86_64evolution-data-server Update
  (Karanbir Singh)
   7. CESA-2008:0981 Moderate CentOS 5 i386 ruby Update (Karanbir Singh)
   8. CESA-2008:0981 Moderate CentOS 5 x86_64 ruby  Update
  (Karanbir Singh)


--

Message: 1
Date: Sun, 7 Dec 2008 02:52:50 +
From: Karanbir Singh [EMAIL PROTECTED]
Subject: [CentOS-announce] CEBA-2008:0962  CentOS 5 i386 glibc Update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2008:0962 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2008-0962.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
c199bc2dea22c79376899ecbb67733c0  glibc-2.5-24.el5_2.2.i386.rpm
ecb1076dd19d681d1a71714d111310a3  glibc-2.5-24.el5_2.2.i686.rpm
487d1b80cd40fce9f0a728596c56a37b  glibc-common-2.5-24.el5_2.2.i386.rpm
91d785a0e4717fad7acb5758336df39e  glibc-devel-2.5-24.el5_2.2.i386.rpm
90a37835bb787d49d044482dbdb8b58b  glibc-headers-2.5-24.el5_2.2.i386.rpm
a92f5dc01e2d21f93f9a52766ed9d478  glibc-utils-2.5-24.el5_2.2.i386.rpm
4a33057c00efc49908e9270d35983d77  nscd-2.5-24.el5_2.2.i386.rpm

Source:
33b8bb72b30a7e38e0c7163da6621e2a  glibc-2.5-24.el5_2.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, [EMAIL PROTECTED]



--

Message: 2
Date: Sun, 7 Dec 2008 02:52:52 +
From: Karanbir Singh [EMAIL PROTECTED]
Subject: [CentOS-announce] CEBA-2008:0962  CentOS 5 x86_64 glibc
Update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2008:0962 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2008-0962.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
a5a866c691e6a00182b6c3225b64d832  glibc-2.5-24.el5_2.2.i686.rpm
bc21fc15422881f47eb38d96b34023b2  glibc-2.5-24.el5_2.2.x86_64.rpm
7b2b9a9bf05200ef1ed9c01d960bf479  glibc-common-2.5-24.el5_2.2.x86_64.rpm
ccd85de8111dd331c2b24e59d76aaf33  glibc-devel-2.5-24.el5_2.2.i386.rpm
429087eccc950aa01ceaac656c0292e0  glibc-devel-2.5-24.el5_2.2.x86_64.rpm
803cc58030a79fbf76db890a142ea41f  glibc-headers-2.5-24.el5_2.2.x86_64.rpm
bb5d22b6b1e325fc245623a161d9a8c6  glibc-utils-2.5-24.el5_2.2.x86_64.rpm
39086e5de16b193007c6ef1150ae65b7  nscd-2.5-24.el5_2.2.x86_64.rpm

Source:
33b8bb72b30a7e38e0c7163da6621e2a  glibc-2.5-24.el5_2.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, [EMAIL PROTECTED]



--

Message: 3
Date: Sun, 7 Dec 2008 03:08:41 +
From: Karanbir Singh [EMAIL PROTECTED]
Subject: [CentOS-announce] CEBA-2008:0997  CentOS 5 i386 evolution
Update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2008:0997 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2008-0997.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
93bcffc593432e79d836aba8b23623d9  evolution-2.12.3-8.el5_2.3.i386.rpm
b61158f5c6c10af69c65d88a510ca5d8  evolution-devel-2.12.3-8.el5_2.3.i386.rpm
bac2f7c32ce75726db2023ee0538f41e  evolution-help-2.12.3-8.el5_2.3.i386.rpm

Source:
d912c9560173bff1bf0a99d4a20a71d6  evolution-2.12.3-8.el5_2.3.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, [EMAIL PROTECTED]



--

Message: 4
Date: Sun, 7 Dec 2008 03:08:44 +
From: Karanbir Singh [EMAIL PROTECTED]
Subject: [CentOS-announce] CEBA-2008:0997 CentOS 5 x86_64 evolution
Update
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2008:0997 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2008-0997.html

The following updated files have been uploaded and are currently 

Re: [CentOS] --=Getting OTer by the sec=-- Web Filter

2008-12-07 Thread Scott Silva
on 12-5-2008 2:15 PM Lanny Marcus spake the following:
 On Fri, Dec 5, 2008 at 4:35 PM, Andrew Hull list-lr4zqxr38cVWk0Htik3J/[EMAIL 
 PROTECTED] wrote:
 
 I've never used IPCop (opting for m0n0wall instead), but I was under the
 impression that IPCop lacked any content filtering features requested by
 the OP.

 A quick perusing of the website leads me to believe its trying to be a
 kick-ass beige-box firewall/router (and most-likely succeeding), but it
 seems like a content filter it is not. Did I miss some glaring features?
 
 I use IPCop for our Firewall/Router at home, but there are people on
 this list (Scott, etc.) who use it in the Enterprise. If you check out
 the IPCop web site http://www.ipcop.org  possibly you will find
 there is an Add On available that will do what you need to do.

There are several good addons for ipcop, and I do use it in the enterprise,
but if you want something CentOS based, Clarkconnect is just as good. I think
it is CentOS 4 based currently and it has a decent content filter and also
scans for viruses.  The only reason I don't use it in the enterprise was the
poor reliability if its Ipsec tunnels that I also need running on the same 
boxes.
-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] New to Centos and have question about updating packages

2008-12-07 Thread Darrell Betts
I have been using Freebsd for along time. I have a client of mine that  
wants me to use Centos for his email server and web server. Anyway  
with Freebsd to update the packages file you use the following commands.
portsnap fetch fetches all the current port trees
portsnap update adds all the new ports to the tree on the server
portupgrade -arR will install all the ports that are installed on the  
server.
  Now my question is what are the commands for Centos to fetch ,update  
and install, all the packages installed on the server. I would like to  
use Yum. Any help would be great.

Thanks

Darrell Betts
[EMAIL PROTECTED]
---
Looks like I Picked the Wrong Week to Stop Sniffing Glue.
-- Steve McCroskey --

Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web Filter

2008-12-07 Thread Tosh
Joseph L. Casale wrote:
 I've also been using Untangle (untangle.com) and just love it.

 This machine is nearly stock with all the nat/firewall done in a simple
 hand written script, it also serves as an Asterisk PBX so I couldnt use
 an appliance.

 I'm not sure if the latest has all the features OP is seeking, but I've
 been using IPCop for ages with NP (which means I've not really visited
 the site and browsed as I should).

 I suppose but the firewall is adequate. I figure its a toss between DG or
 squid/squidproxy and it looks like the later would do what I need at another
 location with a bigger AD infrastructure much easier so I might be inclined to
 to give it a whirl. Hopefully rpm's exists for squid somewhere...

 Thanks for all the suggestions!
 jlc
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
squid is standard in centos so just yum install
or you could use privoxy it has a lot of ad blocking features enabled by 
default and is in also in centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding RAM

2008-12-07 Thread Scott Silva
on 12-5-2008 4:18 PM Rainer Duffner spake the following:
 Am 06.12.2008 um 01:02 schrieb Ignacio Vazquez-Abrams:
 
 On Fri, 2008-12-05 at 23:57 +, Michael Holmes wrote:
 2008/12/5 Matt [EMAIL PROTECTED]:
 I have a server running Centos 4.7 32bit.  Will moving from 4Gig of
 RAM to 8Gig do any good?  Since its 32bit I assume it will only be
 able to address the first 4Gig not?
 As long as you are using a SMP kernel you can use up to 64GB of RAM
 (though each proccess can only address 4GB of this). So if you can
 find any trace of  SMP in the uname (grep is your friend) then it
 should work fine.
 PAE, not SMP.

 
 
 He should be able to replace the kernel via rpm -e and rpm -i
 
 That said, I doubt he'll actually see a benefit.
 PAE is slow.
 If you want to see a real performance-gain, install 5.2 x86-64.
 
You will only see a gain if the machine is swapping, otherwise more ram
through PAE could even be slower. Maybe up to 5% slower depending on the
machines bios and memory bus speed.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread Tosh
Darrell Betts wrote:
 I have been using Freebsd for along time. I have a client of mine that
 wants me to use Centos for his email server and web server. Anyway
 with Freebsd to update the packages file you use the following commands.
 portsnap fetch fetches all the current port trees
 portsnap update adds all the new ports to the tree on the server
 portupgrade -arR will install all the ports that are installed on the
 server.
Now my question is what are the commands for Centos to fetch ,update
 and install, all the packages installed on the server. I would like to
 use Yum. Any help would be great.

 Thanks

 Darrell Betts
 [EMAIL PROTECTED]
 ---
 Looks like I Picked the Wrong Week to Stop Sniffing Glue.
 -- Steve McCroskey --

 Live ATC Feed from Toledo Express Airport 
 http://audio.liveatc.net:8012/ktol.m3u




 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
simply yum update, this compares your packages with the package server 
(repo) and downloads and updates all packages to the latest version
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread Lanny Marcus
On Sun, Dec 7, 2008 at 12:17 PM, Darrell Betts [EMAIL PROTECTED] wrote:
 I have been using Freebsd for along time. I have a client of mine that
 wants me to use Centos for his email server and web server. Anyway
 with Freebsd to update the packages file you use the following commands.
 portsnap fetch fetches all the current port trees
 portsnap update adds all the new ports to the tree on the server
 portupgrade -arR will install all the ports that are installed on the
 server.
  Now my question is what are the commands for Centos to fetch ,update
 and install, all the packages installed on the server. I would like to
 use Yum. Any help would be great.

yum update will do it for you. Normally, you will not need to reboot
after updating, unless you update the kernel or several other packages
that require a reboot.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread Barry Brimer
  Now my question is what are the commands for Centos to fetch ,update
 and install, all the packages installed on the server. I would like to
 use Yum. Any help would be great.

Welcome Darrell.  Here is the summary version:

To install a specific package, such as postfix from a repository that 
you are configured to get packages from use:

yum install postfix

To update to the newest version of postfix that is in your configured 
repositories use:

yum update postfix

To update everything in repositories that are configured on your machine 
use:

yum update

If you are moving between point releases (CentOS 5.1 to CentOS 5.2) use:

yum upgrade

Hope this helps.

Barry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread Niki Kovacs
Darrell Betts a écrit :

   Now my question is what are the commands for Centos to fetch ,update  
 and install, all the packages installed on the server. I would like to  
 use Yum. Any help would be great.
 

I wrote an abstract on basic Yum usage. It's in French, but it's not 
hard to guess what the command line bits mean:

http://www.microlinux.fr/article.php3?id_article=40

Knowing how to handle RPM can also come in quite useful sometimes:

http://www.microlinux.fr/article.php3?id_article=39

Cheers,

Niki Kovacs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-07 Thread Stephen Harris
Has anyone had any luck getting this to work?  The kernel provide skge,
sky2 and sk98lin modules all fail to load.

I was able to download the latest version from the syskonnect.de site,
and with some hacking/klduging of their install script managed to
compile the module in there (a newer version of sk98lin, it seems)
which recognised the card...  but this isn't really sustainable 'cos
new kernels will cause problems.

Any ideas?

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Missing grub functionality on CentOS 5

2008-12-07 Thread Kai Schaetzl
There's grub 0.97 on CentOS 5. The manual at 
http://www.gnu.org/software/grub/manual/html_node/index.html says it is 
for 0.97. However, it mentions for instance a program grub-set-default 
that is not present in grub-0.97-13.2. It also mentions grub.conf options 
savedefault and fallback. Are these available in the CentOS grub?

I tried with savedefault and it does not create a /boot/grub/default as it 
should. So I have to assume that fallback isn't there either.
The CentOS 5 grub is the same as the CentOS 4 grub and I would assume that 
it's the latest legacy grub, so it should include all that.
Anyone knows why it doesn't? Anyone knows if it includes savedefault and 
fallback functionality? If so, how to make use of it?

I downloaded the source and built (but not installed) it, that includes a 
grub-set-default file. I created a default file with it, but it's still 
not getting used by savedefault. So I must assume the functionality is not 
built in the CentOS grub.


Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread Vandaman
Darrell Betts  wrote:

   Now my question is what are the commands for Centos to
 fetch ,update  
 and install, all the packages installed on the server. I
 would like to  
 use Yum. Any help would be great.
 

Try yum --help and man yum which have a lot of info. Also the 
CentOS docs on http://www.centos.org/docs/ has yum docs.

So if you for just install CentOS 4.7 from the ServerCD and do

# yum check-update

it will give you a list of packages to be updated, which you can
do by

# yum update

and then say yes or no. Welcome to CentOS BTW.

Regards,
Vandaman.


  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggested yum priorities settings for 3rd party repos

2008-12-07 Thread Vandaman
Akemi Yagi wrote:
 
 One of my systems have these entries:
 
 rpmforge.repo:priority=40
 kbsingh-CentOS-Extras.repo:priority=50
 kbsingh-CentOS-Misc.repo:priority=50
 atrpms.repo:priority=85
 epel.repo:priority=90
 CentOS-Testing.repo:priority=99
 
 (not a complete list)
 
 I do use different sets of numbers depending on what a
 given system
 runs.  In addition to the priority scores, use of exclude=
 etc is also
 important if you aim at getting certain packages from a
 repository of
 your choice.
 

It is this exclude=foo that I'm interested in. If you have 
the setup you have described, then one would not need exclude 
as the yum priority should take care of versions shouldn't it?

If you have say webmin from webmin.com and there is webmin 
in all those repos then it might be good to use exclude but shouldn't
the plugin handle versions between repos?

Regards,
Vandaman.


  

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding RAM

2008-12-07 Thread Morten Torstensen
Kevin Krieser wrote:

 At least with regard to the upstream provider, on X86 the desktop  
 version has a limit of 4GB of RAM, regardless of how much more memory  
 you have.  And they removed the hugemem version, so instead of up to  
 64GB of RAM on 32 bit, you can only get to 16GB for server versions.

With PAE you can access up to 64GB memory. It works much the same way as 
XMS memory in DOS, where high mem is mapped to a low mem window. It is 
just addresses that are mapped, there is no physical copying of memory 
that you had with EMS memory.

Generally, PAE would not make much sense on 16GB memory machines, as 
you still need the space in the 4GB range to address it. Personally I 
would use PAE on machines with up to 8-12GB memory (assuming x86_64 
wasn't an option). With more than 16GB I would recommend against it, as 
you get a lot of remapping and/or limited space in the 4GB range.

YMMV depending on specific workload of course.

-- 

//Morten Torstensen
//Email: [EMAIL PROTECTED]
//IM: [EMAIL PROTECTED]

I can't listen to that much Wagner. I start getting the urge to conquer 
Poland.
-- Woody Allen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggested yum priorities settings for 3rd party repos

2008-12-07 Thread Akemi Yagi
On Sun, Dec 7, 2008 at 11:05 AM, Vandaman [EMAIL PROTECTED] wrote:
 Akemi Yagi wrote:

 I do use different sets of numbers depending on what a
 given system
 runs.  In addition to the priority scores, use of exclude=
 etc is also
 important if you aim at getting certain packages from a
 repository of
 your choice.


 It is this exclude=foo that I'm interested in. If you have
 the setup you have described, then one would not need exclude
 as the yum priority should take care of versions shouldn't it?

 If you have say webmin from webmin.com and there is webmin
 in all those repos then it might be good to use exclude but shouldn't
 the plugin handle versions between repos?

You can find some useful examples here:

http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus

It's case by case.  You need to find a good combined use of the
priorities plugin and exclude=, includepkgs=, etc.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Matt
 I have a 500GB Sata drive about 15% used I would like to make an exact
 copy of too another Sata 500GB drive as a spare.  That way if
 something happens to the one in service I can plug in the spare
 quickly and restore one of the weekly backups without reinstalling the
 entire OS and all the little tweaks of setup on this mail/web server.

 How do I do this?  That is make an exact bootable copy of a linux
 drive.  Its running Centos 4.6 if that matters.



 brute force approach...

   dd if=/dev/sda of=/dev/sdb bs=16384

 that will copy the whole physical drive.   I would do this in single user
 mode (init 1) for best results, as any changes to the file system while a
 copy is in progress will be inconsistent

Can I use this to copy from a single 500GB SATA drive with only 54GB
in use to a hardware RAID 1 drive of 300GB?  The RAID will be two
300GB SATA drives.

Matt
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread William L. Maltby

On Sun, 2008-12-07 at 12:21 -0500, Lanny Marcus wrote:
 snip

   Now my question is what are the commands for Centos to fetch ,update
  and install, all the packages installed on the server. I would like to
  use Yum. Any help would be great.
 
 yum update will do it for you. Normally, you will not need to reboot
 after updating, unless you update the kernel or several other packages
 that require a reboot.

Also, if a package that is currently running has been updated, or that
package is currently using a package which has been updated and you want
the currently running things to start using the new stuff _now_, you'll
want to restart those packages. Until those packages end, disk space and
ram memory is not finally freed.

Sometimes it is hard to tell if that situation exists and a re-boot is
just faster and certainly simpler than identifying, stopping, starting
tons of stuff.

Often, in a desktop environment, just a telnet 3, telnet 5 command
sequence will get most of that done. Faster than reboot, takes care of
desktop related stuff without the manual investigate, kill, start steps.

 snip sig stuff

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Firefox loses plugins, anyone else? Bug? Known?

2008-12-07 Thread William L. Maltby
On Sun, 2008-12-07 at 08:42 -0500, William L. Maltby wrote:
 snip

 I ran an rpm --verify, as root. I didn't see anything that _I_ could
 relate to the problem, but my insight is limited here. I do note that
 some errors have crept in over time that I will now need to pursue.

Started checking some of the rpm --verify errors. Google returned a link
that mentioned libgtkembedmoz.so in relation to an xulrunner error when
trying to prelink. Discovered this. Big size and date difference.

# locate libgtkembedmoz
/usr/lib/esc-1.0.0/xulrunner/libgtkembedmoz.so
/usr/lib/thunderbird-2.0.0.18/libgtkembedmoz.so

# ls -l `locate libgtkembedmoz`
-rwxr-xr-x 1 root root  97612 May 24
2008 /usr/lib/esc-1.0.0/xulrunner/libgtkembedmoz.so
-rwxr-xr-x 1 root root 121172 Nov 20
09:12 /usr/lib/thunderbird-2.0.0.18/libgtkembedmoz.so

Since ATM I don't know what these libraries do, I wondered if it might
be related to the problem.

# rpm -q --whatprovides /usr/lib/esc-1.0.0/xulrunner/libgtkembedmoz.so
esc-1.0.0-33.el5
# rpm -q --whatprovides /usr/lib/thunderbird-2.0.0.18/libgtkembedmoz.so
thunderbird-2.0.0.18-1.el5.centos

I didn't want to re-install xulrunner just to fix the prelink as it
would muddy the waters.

# rpm -q --whatrequires xulrunner
firefox-3.0.4-1.el5.centos


 snip

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding RAM

2008-12-07 Thread John R Pierce
Morten Torstensen wrote:
 With PAE you can access up to 64GB memory. It works much the same way as 
 XMS memory in DOS, where high mem is mapped to a low mem window. It is 
 just addresses that are mapped, there is no physical copying of memory 
 that you had with EMS memory.
   

thats not at all an accurate description (other than the 64GB part)

ALL virtual memory systems use page tables to map virtual addresses to 
physical addresses.  x86 systems (and many others) use a 2-level page 
table where a the high bits of a virtual address is used to look up a 
page table entry in the page directory, then this in turn is used with 
middle address bits to look up an actual physical page address.in 
32bit x86, this system allows addressing 4GB of physical memory for as 
many 4GB virtual address spaces as you care to maintain tables for.. 
the page directory and each page table occupies a single 4K page of 
memory, which holds 1024 entries of 32 bits each.   a process that uses 
a full 4GB of virtual would require the 1 4K page directory and 1024 4K 
page tables (although in Linux systems the top 1GB of the 4GB address 
space is the kernel space, which is shared by all processes).   in 
practice, most page directories and page tables are only partially 
populated as most processes only use a small part of their address space.

PAE uses a modified page table where each page table instead has 512 x 
64bit entries, which provide the larger physical address bits, and it 
adds a 3rd level page directory so each page fault has to go through 
three levels of page tables rather than two.

(side note, this is assuming 4K pages...  x86 also supports 4M pages, 
which reduce the lookups by one level, however, I don't think this is 
used much)

see 
http://en.wikipedia.org/wiki/Physical_Address_Extension#Page_table_structures  
for a pretty good summary of this.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] New to Centos and have question about updating packages

2008-12-07 Thread John R Pierce
William L. Maltby wrote:
 Also, if a package that is currently running has been updated, or that
 package is currently using a package which has been updated and you want
 the currently running things to start using the new stuff _now_, you'll
 want to restart those packages. Until those packages end, disk space and
 ram memory is not finally freed.
   

many service RPMs seem to do the restart automatically, I've noticed 
this with Postgres servers, at least.   of course, restarting a database 
server can interrupt any running processes that are using it... 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread John R Pierce
Matt wrote:
 I have a 500GB Sata drive about 15% used I would like to make an exact
 copy of too another Sata 500GB drive as a spare.  That way if
 something happens to the one in service I can plug in the spare
 quickly and restore one of the weekly backups without reinstalling the
 entire OS and all the little tweaks of setup on this mail/web server.

 How do I do this?  That is make an exact bootable copy of a linux
 drive.  Its running Centos 4.6 if that matters.

   
 brute force approach...

   dd if=/dev/sda of=/dev/sdb bs=16384

 that will copy the whole physical drive.   I would do this in single user
 mode (init 1) for best results, as any changes to the file system while a
 copy is in progress will be inconsistent
 

 Can I use this to copy from a single 500GB SATA drive with only 54GB
 in use to a hardware RAID 1 drive of 300GB?  The RAID will be two
 300GB SATA drives.

   

no, as dd is a raw block copy of the storage device.   i dont actually 
recommend usinig DD on file systems at all

instead, assuming the raid is freshly formatted, and temporarily mounted 
as /mnt I would use something like...

dump 0vf - /dev/sda1 | (cd /mnt; restore -rf - )

if there's more than one file system on the source, repeat this for each 
one.   note that the source file systems must be unmounted when you do 
this, hence you would need to do this from a CD boot if its the system 
drive.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-07 Thread Ian Forde
On Sun, 2008-12-07 at 13:44 -0500, Stephen Harris wrote:
 Has anyone had any luck getting this to work?  The kernel provide skge,
 sky2 and sk98lin modules all fail to load.
 
 I was able to download the latest version from the syskonnect.de site,
 and with some hacking/klduging of their install script managed to
 compile the module in there (a newer version of sk98lin, it seems)
 which recognised the card...  but this isn't really sustainable 'cos
 new kernels will cause problems.

Um... I've been using DGE-530T (PCI-Express) cards in a couple of boxes
running CentOS for a couple of years now... I'm using the sk98lin module
from the atrpms.net rpm... http://atrpms.net/dist/el5/sk98lin/

-I

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-07 Thread Akemi Yagi
On Sun, Dec 7, 2008 at 12:52 PM, Ian Forde [EMAIL PROTECTED] wrote:
 On Sun, 2008-12-07 at 13:44 -0500, Stephen Harris wrote:
 Has anyone had any luck getting this to work?  The kernel provide skge,
 sky2 and sk98lin modules all fail to load.

 I was able to download the latest version from the syskonnect.de site,
 and with some hacking/klduging of their install script managed to
 compile the module in there (a newer version of sk98lin, it seems)
 which recognised the card...  but this isn't really sustainable 'cos
 new kernels will cause problems.

 Um... I've been using DGE-530T (PCI-Express) cards in a couple of boxes
 running CentOS for a couple of years now... I'm using the sk98lin module
 from the atrpms.net rpm... http://atrpms.net/dist/el5/sk98lin/

I was just about to suggest the same thing when I saw this reply.  The
OP is running CentOS-4, so this link may be relevant:

http://atrpms.net/dist/el4/sk98lin/

If their driver works, set up the atrpms repository on the system so
that the driver update takes place automatically.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-07 Thread Stephen Harris
On Sun, Dec 07, 2008 at 12:57:05PM -0800, Akemi Yagi wrote:

 I was just about to suggest the same thing when I saw this reply.  The
 OP is running CentOS-4, so this link may be relevant:
 
 http://atrpms.net/dist/el4/sk98lin/
 
 If their driver works, set up the atrpms repository on the system so
 that the driver update takes place automatically.

Won't I have an issue, though, were the new kernel might be available before
the ATrpms module is updated?  I was hoping for some sort of dkms solution.

Otherwise I can always just recompile the module myself if there's no
automatic version solution available.

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.2 on Vmware Server: Disk space not preallocated - no disk found by installer

2008-12-07 Thread Alexander Farber
CentOS 5.2 and 4.7 work for me at the latest
VMWare Workstation, Server and ESX :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-07 Thread Ian Forde
On Sun, 2008-12-07 at 16:04 -0500, Stephen Harris wrote:
 On Sun, Dec 07, 2008 at 12:57:05PM -0800, Akemi Yagi wrote:
 
  I was just about to suggest the same thing when I saw this reply.  The
  OP is running CentOS-4, so this link may be relevant:
  
  http://atrpms.net/dist/el4/sk98lin/
  
  If their driver works, set up the atrpms repository on the system so
  that the driver update takes place automatically.
 
 Won't I have an issue, though, were the new kernel might be available before
 the ATrpms module is updated?  I was hoping for some sort of dkms solution.

Yep - that would be an issue... But since I also use quite a few other
modules from atrpms, I always check first...

 Otherwise I can always just recompile the module myself if there's no
 automatic version solution available.

You could, but I prefer the simplicity of rpms... this way I don't have
to do my own QA..

-I

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dlink DGE-530T on CentOS 4.7

2008-12-07 Thread Akemi Yagi
On Sun, Dec 7, 2008 at 1:04 PM, Stephen Harris [EMAIL PROTECTED] wrote:
 On Sun, Dec 07, 2008 at 12:57:05PM -0800, Akemi Yagi wrote:

 I was just about to suggest the same thing when I saw this reply.  The
 OP is running CentOS-4, so this link may be relevant:

 http://atrpms.net/dist/el4/sk98lin/

 If their driver works, set up the atrpms repository on the system so
 that the driver update takes place automatically.

 Won't I have an issue, though, were the new kernel might be available before
 the ATrpms module is updated?  I was hoping for some sort of dkms solution.

 Otherwise I can always just recompile the module myself if there's no
 automatic version solution available.

Right, the solution will then be either dkms or kernel
version-independent kmod.  While CentOS does not provide either, the
dkms version might become available if you ask dag  :-D  Try the
rpmforge mailing list.  If you'd rather go for the kmod way, Alan
Bartlett has been offering kABI-tracking kmods for several NIC drivers
here:

http://centos.toracat.org/ajb/

I'm quite certain he will be happy to build one for sk98lin.

Akemi / toracat
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding RAM

2008-12-07 Thread Kevin Krieser

On Dec 7, 2008, at 1:37 PM, Morten Torstensen wrote:

 Kevin Krieser wrote:

 At least with regard to the upstream provider, on X86 the desktop
 version has a limit of 4GB of RAM, regardless of how much more memory
 you have.  And they removed the hugemem version, so instead of up to
 64GB of RAM on 32 bit, you can only get to 16GB for server versions.

 With PAE you can access up to 64GB memory. It works much the same  
 way as
 XMS memory in DOS, where high mem is mapped to a low mem window.  
 It is
 just addresses that are mapped, there is no physical copying of memory
 that you had with EMS memory.

 Generally, PAE would not make much sense on 16GB memory machines, as
 you still need the space in the 4GB range to address it. Personally I
 would use PAE on machines with up to 8-12GB memory (assuming x86_64
 wasn't an option). With more than 16GB I would recommend against it,  
 as
 you get a lot of remapping and/or limited space in the 4GB range.

 YMMV depending on specific workload of course.


I'm just going by what the redhat site says for EL 5.  On this  
version, they don't provide the hugemem version for server anymore, on  
the assumption that if you really need to use more than 16GB of RAM  
you should be running 64 bits.  I assume that this also helps with  
reducing sizes of page tables, and testing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread William L. Maltby
On Sun, 2008-12-07 at 12:36 -0800, John R Pierce wrote:
 Matt wrote:
  I have a 500GB Sata drive about 15% used I would like to make an exact
  copy of too another Sata 500GB drive as a spare.  That way if
 snip

 no, as dd is a raw block copy of the storage device.   i dont actually 
 recommend usinig DD on file systems at all
 
 instead, assuming the raid is freshly formatted, and temporarily mounted 
 as /mnt I would use something like...
 
 dump 0vf - /dev/sda1 | (cd /mnt; restore -rf - )
 
 if there's more than one file system on the source, repeat this for each 
 one.   note that the source file systems must be unmounted when you do 
 this, hence you would need to do this from a CD boot if its the system 
 drive.

I've always wondered why so many folks use the above construct when a
_fast_ less expensive solution STM to be something like

cd your source mount point ; find . other params you desire \
   | cpio -pother params you want /mnt

Am I missing something? Just old fashioned? Cpio has all the params you
want and can be _very_ fast with the righ parameters. Similar to the
above dump/restore set I've seen many use tar/untar equivalents.

Just curious is all.

 snip sig stuff

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Les Mikesell
William L. Maltby wrote:
 On Sun, 2008-12-07 at 12:36 -0800, John R Pierce wrote:
 Matt wrote:
 I have a 500GB Sata drive about 15% used I would like to make an exact
 copy of too another Sata 500GB drive as a spare.  That way if
 snip
 
 no, as dd is a raw block copy of the storage device.   i dont actually 
 recommend usinig DD on file systems at all

 instead, assuming the raid is freshly formatted, and temporarily mounted 
 as /mnt I would use something like...

 dump 0vf - /dev/sda1 | (cd /mnt; restore -rf - )

 if there's more than one file system on the source, repeat this for each 
 one.   note that the source file systems must be unmounted when you do 
 this, hence you would need to do this from a CD boot if its the system 
 drive.
 
 I've always wondered why so many folks use the above construct when a
 _fast_ less expensive solution STM to be something like
 
 cd your source mount point ; find . other params you desire \
| cpio -pother params you want /mnt
 
 Am I missing something? Just old fashioned? Cpio has all the params you
 want and can be _very_ fast with the righ parameters. Similar to the
 above dump/restore set I've seen many use tar/untar equivalents.

Or, on everything that has gnu cp (which would be at least every linux 
distro), 'cp -a . /mnt' should work.   However, I usually use rsync 
since you can stop and restart keeping the completed work or repeat to 
get updates, and it works the same over ssh if the drive in question is 
on a different machine.

-- 
   Les Mikesell
[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Prelink woes: libs not found that are (apparently) present.

2008-12-07 Thread William L. Maltby
Pursuing some rpm verify errors exposed while investigating my T'bird/FF
problem, a prelink -am gives this, and other, error.

prelink: /usr/lib/esc-1.0.0/xulrunner/xulrunner-bin: Could not find one
of the dependencies

Ran

# ldd /usr/lib/esc-1.0.0/xulrunner/xulrunner-bin|grep 'not found'
libmozjs.so = not found
libxpcom.so = not found
libxul.so = not found

Ran

# locate libmozjs
/usr/lib/esc-1.0.0/xulrunner/libmozjs.so
/usr/lib/thunderbird-2.0.0.18/libmozjs.so
/usr/lib/xulrunner-1.9/libmozjs.so

# locate libxpcom.so
/usr/lib/esc-1.0.0/xulrunner/libxpcom.so
/usr/lib/thunderbird-2.0.0.18/libxpcom.so
/usr/lib/xulrunner-1.9/libxpcom.so

# locate libxul.so
/usr/lib/esc-1.0.0/xulrunner/libxul.so
/usr/lib/xulrunner-1.9/libxul.so

And then confirmed existence with

# ls -dl \
 /usr/lib/esc-1.0.0/xulrunner/libmozjs.so \
 /usr/lib/xulrunner-1.9/libmozjs.so \
 /usr/lib/thunderbird-2.0.0.18/libmozjs.so \
 /usr/lib/esc-1.0.0/xulrunner/libxpcom.so \
 /usr/lib/thunderbird-2.0.0.18/libxpcom.so \
 /usr/lib/xulrunner-1.9/libxpcom.so \
 /usr/lib/esc-1.0.0/xulrunner/libxul.so \
 /usr/lib/xulrunner-1.9/libxul.so
-rwxr-xr-x 1 root root   634720 May 24
2008 /usr/lib/esc-1.0.0/xulrunner/libmozjs.so
-rwxr-xr-x 1 root root  May 24
2008 /usr/lib/esc-1.0.0/xulrunner/libxpcom.so
-rwxr-xr-x 1 root root 13751232 May 24
2008 /usr/lib/esc-1.0.0/xulrunner/libxul.so
-rwxr-xr-x 1 root root   747032 Nov 20
09:12 /usr/lib/thunderbird-2.0.0.18/libmozjs.so
-rwxr-xr-x 1 root root13396 Nov 20
09:12 /usr/lib/thunderbird-2.0.0.18/libxpcom.so
-rwxr-xr-x 1 root root   771976 Nov 13
19:33 /usr/lib/xulrunner-1.9/libmozjs.so
-rwxr-xr-x 1 root root17536 Nov 13
19:33 /usr/lib/xulrunner-1.9/libxpcom.so
-rwxr-xr-x 1 root root 20273336 Nov 13
19:33 /usr/lib/xulrunner-1.9/libxul.so

My /etc/ld.so.conf has

$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf

and that has

 /etc/ld.so.conf.d/nvidia.conf 
/usr/lib/nvidia
 /etc/ld.so.conf.d/qt4-i386.conf 
/usr/lib/qt4/lib
 /etc/ld.so.conf.d/qt-i386.conf 
/usr/lib/qt-3.3/lib

Man for ldconfig says that /lib and /usr/lib are included by default. I
ran ldconfig with a -p and looked at the output. Sub-directories
mentioned in the above config files were seen and some of the
standard /lib and /usr/lib sub-directories. However, none of the
directories from the ls -dl above (/usr/lib/esc-1.0.0/xulrunner/,
/usr/lib/xulrunner-1.9/, /usr/lib/thunderbird-2.0.0.18) appeared in
there.

With the age of these things, I would have expected them to show.

Do I need to add files in /etc/ld.so.conf.d for these?

Were they supposed to be in there already?

The questions are prompted by investigation of google results, related
to my T'bird/FF problem, that yielded some statements that some needed
libraries were not found and adding entries to /etc/ld.so.conf would fix
it - but those were old posts, not RH or CentOS centric and generally I
considered them unreliable for now.

But once I saw ldd show not found, I reconsidered.

TIA
-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread William L. Maltby

On Sun, 2008-12-07 at 16:04 -0600, Les Mikesell wrote:
 William L. Maltby wrote:
 snip

  Am I missing something? Just old fashioned? Cpio has all the params you
  want and can be _very_ fast with the righ parameters. Similar to the
  above dump/restore set I've seen many use tar/untar equivalents.
 
 Or, on everything that has gnu cp (which would be at least every linux 
 distro), 'cp -a . /mnt' should work.   However, I usually use rsync 
 since you can stop and restart keeping the completed work or repeat to 
 get updates, and it works the same over ssh if the drive in question is 
 on a different machine.

Yep. I've recently began using rsync for several types of local copy,
usually back-up related. I can't recall if the cp -a detects and
handles hard-links to minimize space requirements though. I know cpio
can/does. I guess I'll have to read up on cp some more and see if it
leaves the access times alone (cpio parameter allows retaining that) and
handles hard-links efficiently.

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing grub functionality on CentOS 5

2008-12-07 Thread Kai Schaetzl
Vandaman wrote on Sun, 7 Dec 2008 22:22:03 + (GMT):

 The CentOS 4 grub is not the same as the CentOS 5 grub.

Right, I was on the wrong machine for checking the version. But this is 
not the point of my posting, it's irrelevant. ;-) Suggest reading full 
posting before replies.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Les Mikesell
William L. Maltby wrote:
 On Sun, 2008-12-07 at 16:04 -0600, Les Mikesell wrote:
 William L. Maltby wrote:
 snip
 
 Am I missing something? Just old fashioned? Cpio has all the params you
 want and can be _very_ fast with the righ parameters. Similar to the
 above dump/restore set I've seen many use tar/untar equivalents.
 Or, on everything that has gnu cp (which would be at least every linux 
 distro), 'cp -a . /mnt' should work.   However, I usually use rsync 
 since you can stop and restart keeping the completed work or repeat to 
 get updates, and it works the same over ssh if the drive in question is 
 on a different machine.
 
 Yep. I've recently began using rsync for several types of local copy,
 usually back-up related. I can't recall if the cp -a detects and
 handles hard-links to minimize space requirements though. I know cpio
 can/does. I guess I'll have to read up on cp some more and see if it
 leaves the access times alone (cpio parameter allows retaining that) and
 handles hard-links efficiently.

Rsync -a covers most options except hardlinks - you need to add -H for 
that because it adds significant overhead to track them.

-- 
   Les Mikesell
[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] telnet isssue

2008-12-07 Thread Indunil Jayasooriya
Hi team ,

We are runnig  a system on CentOS 4.5 where we use a testing ERP
system. Users have to login to it with telnet. When it reches about 60
telnet users, the remaing users will NOT be able to login.

Hardware is , HP Pentium 4 Server with 4 Gb RAM .

Pls Note we used the same system on a lower Machine with Redhat EL 3
until yesterday. But , it worked fine. @ that time, more than 100
users logined with telnet.

Now, only it gves such error even when we have better Hardware and Software.

Any ideas?




-- 
Thank you
Indunil Jayasooriya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] telnet isssue

2008-12-07 Thread Barry Brimer
 We are runnig  a system on CentOS 4.5 where we use a testing ERP
 system. Users have to login to it with telnet. When it reches about 60
 telnet users, the remaing users will NOT be able to login.

 Hardware is , HP Pentium 4 Server with 4 Gb RAM .

 Pls Note we used the same system on a lower Machine with Redhat EL 3
 until yesterday. But , it worked fine. @ that time, more than 100
 users logined with telnet.

 Now, only it gves such error even when we have better Hardware and Software.

 Any ideas?

What does the client see that can not log in via telnet?  What does 
/var/log/messages say when additional users attempt to log in?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Any Alternative for X window System

2008-12-07 Thread karthikeyan subbannan
hi ,
I have one problem in centos4.4.That is when i run a java Swing
Based application(non stop Application ie ,24/7) in centos4.4 the X Window
system takes 100% of cpu usageWhen i restart the system it will come
down.After few hours it will again go to 100%...please tell me solution.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Strange error on login: $HOME/.dmrc?

2008-12-07 Thread Niki Kovacs
Hi,

Since this morning, when I login, GDM gives me an error message on login 
(it's in french, so I try to translate roughly):

$HOME/.dmrc has been ignored, but it is responsible for saving sessions. 
It should not be writable for other users, and permissions should be 644.

Now I had a look at this ~/.dmrc, and permissions were rw---. So I 
did a chmod 644 on it (rw-r--r--) and logged back out... but the problem 
still persists. I'm puzzled.

Any suggestions?

Cheers,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange error on login: $HOME/.dmrc?

2008-12-07 Thread Niki Kovacs
Niki Kovacs a écrit :
 Hi,
 
 Since this morning, when I login, GDM gives me an error message on login 
 (it's in french, so I try to translate roughly):
 
 $HOME/.dmrc has been ignored, but it is responsible for saving sessions. 
 It should not be writable for other users, and permissions should be 644.
 
 Now I had a look at this ~/.dmrc, and permissions were rw---. So I 
 did a chmod 644 on it (rw-r--r--) and logged back out... but the problem 
 still persists. I'm puzzled.
 
 Any suggestions?
 
I'll answer this myself, as I just found the solution. Suddenly my 
user's home directory went from 700 to 777. I chmodded it back to 700, 
and now everything seems alright. I had a power outage this night, and I 
have no other explanation that my home directory mysteriously changed 
permissions.

Go figure.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Is 4GB memory the 64bit switch tipping point?

2008-12-07 Thread Kenneth Burgener
I am curious what should be the benchmark for making the choice of 
switching from 32bit to 64bit Linux?  I have a few assumptions below. 
Is my logic sound?  (This is a follow up to the Adding RAM thread)

Assumptions:

1.  4GB Memory.  The main benefit of 64bit mode is the ability to 
address more than 4GB of RAM.  I assume that you use 64bit mode if you 
want to *efficiently* have more than 4GB of RAM, or intend to upgrade 
past 4GB in the foreseeable future.  (I emphasize efficiently because 
PAE is an option, if you are desperate to keep 32bit mode with more RAM)

2.  Overhead.  It is my assumption that 64bit has more overhead, being 
that the registers are now 64bits long, instead of 32bit, which would 
mean more bits to pass around the system.  So if you have less than 4GB 
of RAM, 32bit mode would perform better than 64bit mode.

3.  Compatibility.  Linux has made incredible strides to make 64bit 
Linux very robust and compatible, but I still occasionally see binary 
applications/plugins/drivers that popup which are 32bit mode only.  This 
is usually only a problem with Desktop systems that want bleeding edge, 
or not as well supported software.

4.  Desktop vs Servers.  Current desktops machines generally have 
around 2GB of RAM, or less.  Current server machines generally have 
around 2GB of RAM, or more (much more).  Because of the overhead (#2) 
and compatibility (#3) I would think that Desktops would benefit from 
using 32bit mode, and Servers would benefit from 64bit mode.

Is my logic sound?


Thanks,
Kenneth

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] telnet isssue

2008-12-07 Thread Ian Blackwell
Indunil Jayasooriya wrote:
 When it reches about 60
 telnet users, the remaing users will NOT be able to login.

   
Look at /etc/xinetd.conf.  In this file, you will find an entry for
instances.  On CentOS and RHEL, telnet is launched by xinetd and is
governed by the instances limit in the /etc/xinetd.conf file.  Change
the limit and use service xinetd reload to reload the config file.

Cheers,

Ian
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] telnet isssue (SOLVED)

2008-12-07 Thread Indunil Jayasooriya
Hi everyone,

By Now, I have solved this issue.

yes,  /etc/xinetd.conf is the file. Below Doc helped me

http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/Reference_Guide/s2-tcpwrappers-xinetd-config-conf.html




-- 
Thank you
Indunil Jayasooriya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is 4GB memory the 64bit switch tipping point?

2008-12-07 Thread Ignacio Vazquez-Abrams
On Sun, 2008-12-07 at 23:06 -0700, Kenneth Burgener wrote:
 Assumptions:
 
 1.  4GB Memory.

 2.  Overhead.

 3.  Compatibility.

 4.  Desktop vs Servers.

 Is my logic sound?

Number 1 is a bit off. But just a bit. Number 2 is solid. Number 3 is...
mostly irrelevant with CentOS. Number 4 is not specific enough.

First, The 4GB limit. Yes, 64-bit allows the OS access to more than 4GB
of *physical* memory. However, it *also* allows (64-bit) processes to
access more than 4GB of *virtual* memory. This can be invaluable in
applications that process a lot of data.

Second, compatibility. Upstream's use of multilib allows 32-bit
applications to be run on a 64-bit system without much trouble. Plugins,
specifically Firefox plugins, have the better part of a solution in the
form of nspluginwrapper. Drivers not much can be done about; fortunately
there aren't too many of those.

Third, desktop versus server. Let's ignore the 4GB limit discussed above
while we examine this one. For PPC versus PPC64 your argument is valid.
For IA-32 versus X86-64, you need to look at what the desktop will be
used for. One of the benefits X86-64 gives you over IA-32 is more
registers within the CPU. Operations involving registers are *much*
faster than operations involving memory, allowing X86-64 apps to be up
to about 15% faster than IA-32 in mathematical, scientific, or
multimedia applications.

-- 
Ignacio Vazquez-Abrams [EMAIL PROTECTED]

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Amos Shapira
2008/12/8 William L. Maltby [EMAIL PROTECTED]:
 Yep. I've recently began using rsync for several types of local copy,
 usually back-up related. I can't recall if the cp -a detects and
 handles hard-links to minimize space requirements though. I know cpio

Yes, it seems that cp -a is designed just for that kind of job.
Might have to add -x to limit it to one file system if you are
interested.

I noticed that, to my surprise, rsync is sometimes faster than a plain
scp even when the destination is empty, and as someone else said it's
nice to be able to stop/start and redo.

 can/does. I guess I'll have to read up on cp some more and see if it
 leaves the access times alone (cpio parameter allows retaining that) and
 handles hard-links efficiently.

I'm not sure why you should care about atime so much - more and more
people around (including Linus Torvalds) recommend to get rid of it
altogether. Ubunut comes with relatime as a default config already.

According to Linus, disabling atime updates will give the single
largest performance gain (in dozens of percentages, as far as I
remember).

But back to the question - am I missing something too by not using
dump/restore or cpio? dump/restore is so BSD 4/'80's :)

Cheers,

--Amos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos