[CentOS] Squid proxy as a Gateway Server

2009-05-21 Thread Ashish Gangani
Hi all, Good Day for all, I need Help to Setup Squid proxy as a Gateway Server. The Idea is to use the (Server and Gateway) configured with Squid to run using AUTH_Pam or AUTH_ncsa , but additionally we need to filter some access via group, following the standard filter group used Filter Group 1

Re: [CentOS] Send syslog to a remote server

2009-05-21 Thread Helmut Drodofsky
Hi, my logging server needs a touch if I define a new logfile. Helmut -Ursprüngliche Nachricht- Von: centos-boun...@centos.org [mailto:centos-boun...@centos.org] Im Auftrag von hce Gesendet: Donnerstag, 21. Mai 2009 05:25 An: CentOS mailing list Betreff: [CentOS] Send syslog to a remot

Re: [CentOS] help with rebuilding md0 (Raid5)

2009-05-21 Thread Daniel Bird
>> dd is a good idea. I'll dd these disks and try with the images. >> >> > > If you DD the entire drive, here is a howto I found for mounting the partition > you want from the image. > > http://www.nerdparadise.com/tech/linux/diskbackup/ Thanks Scott, That was going to be my next question! ;-

[CentOS] web filtering for remote computers

2009-05-21 Thread Dhaval Thakar
Hi, I am using Squid for local users since two years & is working fine. I am trying to implement web filtering for remote computers e.g few laptops & branch / franchise computers on dynamic ips. I do not want to use Squid proxy for it, if all remote computers will use Squid from my public ip, b

Re: [CentOS] Auto-installing security updates?

2009-05-21 Thread Ralph Angenendt
przemol...@poczta.fm wrote: > Use debian stable (currently 'lenny'). The philosophy behind stable > releases of debian is release updates for packages only if you have > security bugs. That way when you run 'apt-get update && apt-get > upgrade' you download and install only those already _installe

[CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread Peter Hopfgartner
Dear ML We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then the server rebooted 3 times without external cause (it is located in a server farm with redundant power supply etc.). Looking at the servers monitoring infrastructure with Dell's own OpenManage tools, I get strange

Re: [CentOS] Send syslog to a remote server

2009-05-21 Thread Dag Wieers
On Wed, 20 May 2009, nate wrote: > hce wrote: > >> I am running CentOS 5 and I tried to config flowing statement in >> syslog.conf to send syslog messages to a remote server running on FC >> 9, but it did not work. There was nothing send to the FC9. >> >> "*.info;mail.none;authpriv.none;cron.none

Re: [CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread Ian Forde
On Thu, 2009-05-21 at 15:13 +0200, Peter Hopfgartner wrote: > Dear ML > > We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then > the server rebooted 3 times without external cause (it is located in a > server farm with redundant power supply etc.). Looking at the servers > mo

[CentOS] magic.mime dependency problem between file and httpd

2009-05-21 Thread Marko Vojinovic
Hi everyone! :-) While doing a regular manual yum update on my ContOS 5.3 server, yum complained as follows: [r...@sith ~]# yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * epel: ftp.icm.edu.pl * rpmforge: ftp-stud.fht-esslingen.de * base: cento

[CentOS] CentOS-announce Digest, Vol 51, Issue 8

2009-05-21 Thread centos-announce-request
...@iki.fi - http://pasi.pirhonen.eu/ Top-postings silently ignored -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachme

Re: [CentOS] help with rebuilding md0 (Raid5)

2009-05-21 Thread Scott Silva
on 5-21-2009 1:18 AM Daniel Bird spake the following: >>> dd is a good idea. I'll dd these disks and try with the images. >>> >>> >> If you DD the entire drive, here is a howto I found for mounting the >> partition >> you want from the image. >> >> http://www.nerdparadise.com/tech/linux/diskb

Re: [CentOS] magic.mime dependency problem between file and httpd

2009-05-21 Thread Ralph Angenendt
Marko Vojinovic wrote: > ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated > --> Processing Dependency: /usr/share/magic.mime for package: httpd > --> Finished Dependency Resolution > httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems > --> Missing Dependency: /usr/sha

Re: [CentOS] Auto-installing security updates?

2009-05-21 Thread JohnS
On Wed, 2009-05-20 at 13:20 +0200, Equinox86 wrote: > yes centos is not for desktop it's guaranteee, if you don't have much > time and want a distro updated at last release, if you have much time > to spend to recompile dependences i advice use slackware, is fast and > desktop friendly, similar to

Re: [CentOS] Auto-installing security updates?

2009-05-21 Thread JohnS
On Wed, 2009-05-20 at 09:30 -0400, Ross Walker wrote: > On May 20, 2009, at 6:46 AM, Ralph Angenendt > wrote: > > > Lanny Marcus wrote: > >> The NSA manual suggests disabling yum-updatesd and doing it with a > >> cron job. update yum and then update. > > > > a) That manual was written at the t

Re: [CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread Peter Hopfgartner
Ian Forde wrote: > On Thu, 2009-05-21 at 15:13 +0200, Peter Hopfgartner wrote: > >> Dear ML >> >> We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then >> the server rebooted 3 times without external cause (it is located in a >> server farm with redundant power supply etc.).

Re: [CentOS] web filtering for remote computers

2009-05-21 Thread John R Pierce
Dhaval Thakar wrote: > Hi, > > I am using Squid for local users since two years & is working fine. > I am trying to implement web filtering for remote computers e.g few laptops & > branch / franchise computers on dynamic ips. > > I do not want to use Squid proxy for it, if all remote computers wil

[CentOS] Couldn't recognize the image file format for file /usr/share/gdm/themes/Default/background.png error

2009-05-21 Thread Dale - Ehome
Hello All, I am getting the following error on re-booting my CentOS 4.5 server: "There was an error loading the theme *Default*" "Couldn't recognize the image file format for file '/*usr*/*share*/*gdm*/*themes*/*Default*/*background*.*png*'" It appears that when I click on the OK dialog the s

[CentOS] xen kernel can't boot

2009-05-21 Thread cjzjm100
I had installed the kernel-xen-2.6.18-128.1.10.el5 .However ,when i chosed that,the system could't boot.It just always reboot!When i chosed the kernel-2.6.18-128.1.10.el5,there was nothing wrong! What's the problem? ___ CentOS mailing list CentOS@cento

Re: [CentOS] magic.mime dependency problem between file and httpd

2009-05-21 Thread Marko Vojinovic
On Thu, May 21, 2009 at 5:00 PM, Ralph Angenendt wrote: > Marko Vojinovic wrote: >> ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated >> --> Processing Dependency: /usr/share/magic.mime for package: httpd >> --> Finished Dependency Resolution >> httpd-2.2.3-22.el5.centos.i386 from install

Re: [CentOS] xen kernel can't boot

2009-05-21 Thread Scott Silva
on 5-21-2009 9:52 AM cjzjm100 spake the following: > I had installed the kernel-xen-2.6.18-128.1.10.el5 .However ,when i > chosed that,the system could't boot.It just always reboot!When i chosed > the kernel-2.6.18-128.1.10.el5,there was nothing wrong! > What's the problem? > Corrupt kernel? Virtu

[CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Michael Casey
How can I cd into a dir, when it contains spaces, and I need to use it in a script? the directory: /home/user/this is a folder/something normally I would use: cd /home/user/this\ is\ a\ folder/something/ but in a script I cant just add the "\" like: find . -type d | while read FOLDER; do cd $FO

Re: [CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Marcelo Roccasalva
On Thu, May 21, 2009 at 2:40 PM, Michael Casey wrote: > How can I cd into a dir, when it contains spaces, and I need to use it in a > script? > > the directory: > /home/user/this is a folder/something > > normally I would use: > cd /home/user/this\ is\ a\ folder/something/ > > but in a script I ca

Re: [CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread Lanny Marcus
On Thu, May 21, 2009 at 11:13 AM, Peter Hopfgartner wrote: >>> We upgraded a Dell Poweredge PE 1950 Server the 8th of May. Since then >>> the server rebooted 3 times without external cause (it is located in a >>> server farm with redundant power supply etc.). Looking at the servers >>> monitoring

Re: [CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Rob Hutten
> How can I cd into a dir, when it contains spaces, and I need to use it in a script? Quote it: cd "/home/user/this is a folder/whatever" -Rob ** This communication contains information which is confidential and may also be le

Re: [CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread Ralph Angenendt
Lanny Marcus wrote: > It would have been helpful, if the error message told you which system > software. :-) The Upgrade from 5.2 to 5.2 seems to have been > problematic for some people on this list. When you did the Upgrade, > did you follow this sequence, per the CentOS 5.3 Release Notes? > y

Re: [CentOS] Double packages

2009-05-21 Thread Eduardo Silvestre
Hello Johan, thanks but i know that. I just want keep im my system packages x86_64. Why yum return packages i386 when $basearch is x86_64? Regards, --- Eduardo Silvestre nfsi telecom, lda. eduardo.silves...@nfsi.pt Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301 http://www.nfsi.pt/ - Ori

Re: [CentOS] Double packages

2009-05-21 Thread Ralph Angenendt
Eduardo Silvestre wrote: > Hello Johan, > > thanks but i know that. I just want keep im my system packages > x86_64. Why yum return packages i386 when $basearch is x86_64? Welcome to multiarch hell. Ralph pgpMLX5Lkut0D.pgp Description: PGP signature ___

[CentOS] Samba Question

2009-05-21 Thread Bo Lynch
Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined to a windows domain to another box. What samba or winbind files do I need so that this will resolve to names rather than UID and GID. For example drwxr-x--- 1049 10926

Re: [CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread William L. Maltby
On Thu, 2009-05-21 at 20:07 +0200, Ralph Angenendt wrote: > Lanny Marcus wrote: > > It would have been helpful, if the error message told you which system > > software. :-) The Upgrade from 5.2 to 5.2 seems to have been > > problematic for some people on this list. When you did the Upgrade, >

Re: [CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Michael Casey
yeah, SOLVED: :)) clear; find . -type d | while read FOLDERNAME; do $(cd "$FOLDERNAME"); done Thank you!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Samba Question

2009-05-21 Thread JohnS
On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: > Hopefully very easy question to answer. I am trying to migrate data of of > a samba server that is using winbind joined to a windows domain to another > box. What samba or winbind files do I need so that this will resolve to > names rather than

Re: [CentOS] Samba Question

2009-05-21 Thread JohnS
On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: > What samba or winbind files do I need so that this will resolve to > names rather than UID and GID. For example > drwxr-x--- 1049 10926 10005 36864 May 15 11:46 Student --- Ok lets take away AD. To use regular name auth

Re: [CentOS] Samba Question

2009-05-21 Thread Bo Lynch
On Thu, May 21, 2009 2:43 pm, JohnS wrote: > > On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: >> Hopefully very easy question to answer. I am trying to migrate data of >> of >> a samba server that is using winbind joined to a windows domain to >> another >> box. What samba or winbind files do

[CentOS] MySql Query Cache

2009-05-21 Thread James Matthews
Hi, One of the servers I run is a VPS running Lighttpd fcgi which I am running a simple wordpress blog off of. Since RAM is the biggest limitation I have disabled the query cache on MySql. Now I have the following questions. 1. What does the FCGI server cache now? 2. How can I speed up this setup

Re: [CentOS] Random server reboot after update to CentOS 5.3

2009-05-21 Thread Robert Heller
At Thu, 21 May 2009 14:30:42 -0400 CentOS mailing list wrote: > > > On Thu, 2009-05-21 at 20:07 +0200, Ralph Angenendt wrote: > > Lanny Marcus wrote: > > > It would have been helpful, if the error message told you which system > > > software. :-) The Upgrade from 5.2 to 5.2 seems to have be

[CentOS] [OT] Oracle->MySQL ODBC via SSL using: stock MySQL, mysql-connect or-odbc-3.51.27-0, Oracle XE

2009-05-21 Thread Jason Pyeron
I know this is very off topic, but getting MySQL and unix ODBC to play nice via SSL on Centos has been a battle. I finally have it working via isql but when I connect via Oracle I get an error. If I use the mysql odbc connector directly: ORA-28500: connection from ORACLE to a non-Oracle system r

Re: [CentOS] Samba Question

2009-05-21 Thread Toby Bluhm
Bo Lynch wrote: > On Thu, May 21, 2009 2:43 pm, JohnS wrote: >> On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: >>> Hopefully very easy question to answer. I am trying to migrate data of >>> of >>> a samba server that is using winbind joined to a windows domain to >>> another >>> box. What samba

Re: [CentOS] Samba Question

2009-05-21 Thread Bo Lynch
On Thu, May 21, 2009 3:33 pm, Toby Bluhm wrote: > Bo Lynch wrote: >> On Thu, May 21, 2009 2:43 pm, JohnS wrote: >>> On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: Hopefully very easy question to answer. I am trying to migrate data of of a samba server that is using winbind joined

Re: [CentOS] Samba Question

2009-05-21 Thread Toby Bluhm
>>> The situation I'm in is that this box is joining to a win2000 PDC using >>> samba+winbind for setting permissions on files and dir with domain >>> users/groups. When I do a ls -l I just see the uid or gid instead of the >>> domainame+_user domainname+group which is causing samba not to kn

Re: [CentOS] Samba Question

2009-05-21 Thread JohnS
On Thu, 2009-05-21 at 14:48 -0400, Bo Lynch wrote: > On Thu, May 21, 2009 2:43 pm, JohnS wrote: > > > > On Thu, 2009-05-21 at 14:16 -0400, Bo Lynch wrote: > >> Hopefully very easy question to answer. I am trying to migrate data of > >> of > >> a samba server that is using winbind joined to a windo

Re: [CentOS] [OT] Oracle->MySQL ODBC via SSL using: stock MySQL, mysql-connect or-odbc-3.51.27-0, Oracle XE [SOLVED]

2009-05-21 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Jason Pyeron > Sent: Thursday, May 21, 2009 15:23 > To: CentOS mailing list > Subject: [CentOS] [OT] Oracle->MySQL ODBC via SSL using: > stock MySQL,mysql-connect or-odbc-3.51.27-0,

Re: [CentOS] Samba Question

2009-05-21 Thread JohnS
On Thu, 2009-05-21 at 15:39 -0400, Toby Bluhm wrote: > > >>> The situation I'm in is that this box is joining to a win2000 PDC using > >>> samba+winbind for setting permissions on files and dir with domain > >>> users/groups. When I do a ls -l I just see the uid or gid instead of the > >>> do

[CentOS] 32bit vs 64bit memory usage

2009-05-21 Thread George Negoita
Hi! I ran the following test on 3 different setups: #!/usr/bin/php ...and I got the following results: 32bit kernel & 32bit php - 18875368/19136512 64bit kernel & 64bit php - 35654376/35913728 64bit kernel & 32bit php - 18875368/19136512 Some client has a 64bit xen-based VPS with 512MB RAM us

[CentOS] Firefox 3, Sun jre1.6.0_12_x86_64 and enabling a plugin

2009-05-21 Thread James B. Byrne
SOMEbody on this list must have this combination working by now. How does one enable the firefox jre plugin for Sun's x86_64 distribution? Every site that I can find refers to making a link to a now non-existent plugins directory under the jre installation directory. The official firefox plugin

Re: [CentOS] 32bit vs 64bit memory usage

2009-05-21 Thread Robert Heller
At Thu, 21 May 2009 23:30:44 +0300 CentOS mailing list wrote: > > Hi! > > I ran the following test on 3 different setups: > > #!/usr/bin/php > $n=1024*256; > > $usage1=memory_get_usage(); > $rusage1=memory_get_usage(true); > $a=array(); > for($i=0;$i<$n;$i++) > $a[

Re: [CentOS] Firefox 3, Sun jre1.6.0_12_x86_64 and enabling a plugin

2009-05-21 Thread JohnS
On Thu, 2009-05-21 at 16:40 -0400, James B. Byrne wrote: > SOMEbody on this list must have this combination working by now. > > How does one enable the firefox jre plugin for Sun's x86_64 > distribution? Every site that I can find refers to making a link to > a now non-existent plugins directory

Re: [CentOS] 32bit vs 64bit memory usage

2009-05-21 Thread Joshua Baker-LePain
On Thu, 21 May 2009 at 4:59pm, Robert Heller wrote > No, you are not wrong. All x86 flavered 64-bit processors will run as > 32-bit (i686) processors and when running in 32-bit mode are > effectively just a i686 as far as any 32-bit program can tell. There > is no reason NOT to just install a str

Re: [CentOS] magic.mime dependency problem between file and httpd

2009-05-21 Thread Kevin Krieser
On May 21, 2009, at 12:08 PM, Marko Vojinovic wrote: > On Thu, May 21, 2009 at 5:00 PM, Ralph Angenendt > wrote: >> Marko Vojinovic wrote: >>> ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated >>> --> Processing Dependency: /usr/share/magic.mime for package: httpd >>> --> Finished Depen

Re: [CentOS] Video on (video-capable digital) still camera not accessible

2009-05-21 Thread MHR
On Wed, May 20, 2009 at 11:28 AM, Frank Cox wrote: > On Wed, 20 May 2009 11:16:44 -0700 > MHR wrote: > >> Yesterday, I tried to download a video off of one of my digital still >> cameras that also takes videos (Canon Powershot SX10 iS) on my CentOS >> x86_64 5.3 system.  When I plugged the camera

Re: [CentOS] Video on (video-capable digital) still camera not accessible

2009-05-21 Thread MHR
On Thu, May 21, 2009 at 3:20 PM, MHR wrote: > On Wed, May 20, 2009 at 11:28 AM, Frank Cox wrote: >> On Wed, 20 May 2009 11:16:44 -0700 >> MHR wrote: >> >>> Yesterday, I tried to download a video off of one of my digital still >>> cameras that also takes videos (Canon Powershot SX10 iS) on my Cent

[CentOS] CentOS5 Desktops authenticating to 389 Directory Server

2009-05-21 Thread Clint Dilks
Hi Everyone. I am doing some LDAP testing. I have setup a 389 Directory Server on CentOS 5 and using the default schema I have populated it with a couple of users. I then did the configuration on the client that I thought was needed to make it authenticate. To test this I expected to be able

[CentOS] Problems with latest 5.3 yum update and grub

2009-05-21 Thread Scott Ehrlich
I recently updated two 64-bit CentOS 5.3 systems via yum update. - One system had two physical SATA hard drives - drive 0 was Windows XP w/SP3 w/NTFS, drive 1 was CentOS; - The other system had two physical SATA hard drives, configured via a hardware mirror of RAID 1 (mirroring) After the lates

Re: [CentOS] Auto-installing security updates?

2009-05-21 Thread Ross Walker
On Thu, May 21, 2009 at 12:13 PM, JohnS wrote: > On Wed, 2009-05-20 at 09:30 -0400, Ross Walker wrote: >> I wonder if yum-updatesd might cache repo data separate from yum >> cache, in which case some older incompatible cached data from the >> previous version may still be around causing yum-update

Re: [CentOS] Send syslog to a remote server

2009-05-21 Thread hce
On Fri, May 22, 2009 at 12:59 AM, Dag Wieers wrote: > On Wed, 20 May 2009, nate wrote: > >> hce wrote: >> >>> I am running CentOS 5 and I tried to config flowing statement in >>> syslog.conf to send syslog messages to a remote server running on FC >>> 9, but it did not work. There was nothing send

Re: [CentOS] Auto-installing security updates?

2009-05-21 Thread JohnS
On Thu, 2009-05-21 at 21:06 -0400, Ross Walker wrote: > On Thu, May 21, 2009 at 12:13 PM, JohnS wrote: > > On Wed, 2009-05-20 at 09:30 -0400, Ross Walker wrote: > >> I wonder if yum-updatesd might cache repo data separate from yum > >> cache, in which case some older incompatible cached data from