[CentOS] Text file manipulation in CentOS?

2010-05-11 Thread hadi motamedi
Dear All
>From my previous posts , I learned from you to make use of 'sort' , 'grep' ,
and 'grep -v' to manipulate text files . At now, I have generated a large
text file from my autoexpect script. To be more specific, I need to find how
many distinct records are there in say column#1? How can I filter out the
distinct records with number of occurances less than a pre-determined
threshold?Can you please show my the power of CentOS in manipulating text
files?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread sheraznaz
Can you sample input and expected result.


Sent from my Verizon Wireless BlackBerry

-Original Message-
From: hadi motamedi 
Date: Tue, 11 May 2010 09:09:23 
To: CentOS mailing list
Subject: [CentOS] Text file manipulation in CentOS?

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



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


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread sheraznaz
>>To be more specific, I need to find how many distinct records are there in 
>>say column#1?

awk '{print $1}' filename | sort -u | wc -l

This will show how many unique entries are present in column one (use awk -F to 
change delimiter e.g awk -F ":" for : delimiter)

>> How can I filter out the distinct records with number of occurances less 
>> than a pre-determined threshold?

I don't quite understand this part.

awk '{print $1}' filename | sort | uniq -c | sort -rn

Will give you a number of occurrences (reverse numerically sorted) of uniq data 
from column one. 

Now I think you want to put that through a loop and only show those that are 
less than threshold?

Thanks
Sheraz


--Original Message--
From: sheraz...@yahoo.com
Sender: centos-boun...@centos.org
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re: [CentOS] Text file manipulation in CentOS?
Sent: May 11, 2010 1:14 AM

Can you sample input and expected result.


Sent from my Verizon Wireless BlackBerry

-Original Message-
From: hadi motamedi 
Date: Tue, 11 May 2010 09:09:23 
To: CentOS mailing list
Subject: [CentOS] Text file manipulation in CentOS?

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



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


Sent from my Verizon Wireless BlackBerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread hadi motamedi
I don't quite understand this part.
>
> Thank you very much for your reply.Please find below a segment  of the
file:
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1 5)  Tru (0 3
0)
CallId 94  State TK Bts 7  Bt 1  Tr (8 0x0c)  E1 (7 0 15)  Tru (0 0
2)
CallId 94  State TK Bts 7  Bt 1  Tr (8 0x0c)  E1 (7 0 15)  Tru (0 0
2)
CallId 94  State TK Bts 7  Bt 1  Tr (8 0x0c)  E1 (7 0 15)  Tru (0 0
2)
CallId 94  State TK Bts 7  Bt 1  Tr (8 0x0c)  E1 (7 0 15)  Tru (0 0
2)
CallId 94  State TK Bts 7  Bt 1  Tr (8 0x0c)  E1 (7 0 15)  Tru (0 0
2)
CallId 94  State TK Bts 7  Bt 1  Tr (6 0x0f)  E1 (7 0 15)  Tru (0 0
2)
CallId 94  State TK Bts 7  Bt 1  Tr (6 0x0f)  E1 (7 0 15)  Tru (0 0
2)
CallId 92  State TK Bts 7  Bt 1  Tr (7 0x08)  E1 (3 1 22)  Tru (0 0
0)
CallId 92  State TK Bts 7  Bt 1  Tr (7 0x08)  E1 (3 1 22)  Tru (0 0
0)
CallId 92  State TK Bts 7  Bt 1  Tr (7 0x08)  E1 (3 1 22)  Tru (0 0
0)
CallId 92  State TK Bts 7  Bt 1  Tr (7 0x08)  E1 (3 1 22)  Tru (0 0
0)
CallId 92  State IH Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1 22)  Tru (0 0
0)
CallId 92  State IH Bts 7  Bt 1  Tr (7 0x08)  E1 (3 1 22)  Tru (0 0
0)
CallId 92  State CL Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1 22)  Tru (0 0
0)
CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0 18)  Tru (0 1
1)
CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0 18)  Tru (0 1
1)
CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0 18)  Tru (0 1
1)
CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0 18)  Tru (0 1
1)
Your first comment on using 'awk' enabled me to find how many distinct
'CallId' exists in my log. For the second part, please imagine that I need
to filter out that 'CallId' that have occured for say less than three
times.Please help me on accomplishing the second part.
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mail server best practices question

2010-05-11 Thread Coert
Benjamin Franz wrote:
> On 05/10/2010 01:30 PM, Les Mikesell wrote:
>> On 5/10/2010 2:51 PM, Benjamin Franz wrote:
>>> Actually, they do (break when updating, that is).
>>>
>>> The problem is at least one of the packagers for clamd/amavisd-new
>>> blindly overrides the path to clamd.sock by overwriting the config file
>>> leaving the two out-of-sync (and so unable to function).
>>>
>>> It is easily fixed by resetting the path - but you do have to watch out
>>> for it on upgrades.
>>>  
>> Is this a result of having multiple uncoordinated 3rd party repositories
>> enabled during an update and flipping repositories as the version
>> numbering jumps (more or less expected behavior...) or are you saying
>> that a single packager flipped the format in an incompatible way?
>>
>>
> This is using rpmforge/Dag (only). That is the only 3rd party repo I use 
> for my production systems. Updates of clamd has replaced /etc/clamd.conf 
> twice on me in the last year or two, each time breaking my mail system 
> until I fixed it. Most recently in April of this year.
> 

Should I be worried if the only clamd.conf on the mail server is in 
/usr/share/doc?

Virus scanning is working.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mail server best practices question

2010-05-11 Thread Coert
Coert wrote:
> Benjamin Franz wrote:
>> On 05/10/2010 01:30 PM, Les Mikesell wrote:
>>> On 5/10/2010 2:51 PM, Benjamin Franz wrote:
 Actually, they do (break when updating, that is).

 The problem is at least one of the packagers for clamd/amavisd-new
 blindly overrides the path to clamd.sock by overwriting the config file
 leaving the two out-of-sync (and so unable to function).

 It is easily fixed by resetting the path - but you do have to watch out
 for it on upgrades.
  
>>> Is this a result of having multiple uncoordinated 3rd party repositories
>>> enabled during an update and flipping repositories as the version
>>> numbering jumps (more or less expected behavior...) or are you saying
>>> that a single packager flipped the format in an incompatible way?
>>>
>>>
>> This is using rpmforge/Dag (only). That is the only 3rd party repo I use 
>> for my production systems. Updates of clamd has replaced /etc/clamd.conf 
>> twice on me in the last year or two, each time breaking my mail system 
>> until I fixed it. Most recently in April of this year.
>>
> 
> Should I be worried if the only clamd.conf on the mail server is in 
> /usr/share/doc?
> 
> Virus scanning is working.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

Sorry about that, false alarm.
It runs via amavis currently and its config is in /etc/clamd.d/amavisd.conf
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Installing Firestarter

2010-05-11 Thread Vijay Shanker Dubey
Hi,

I am planning to use  to manage the incoming and outgoing
network connections. Please give me some valuable read abouts and tips about
this package.

- Will it be a good choice for network management? What are the other
options?



If i choose to install Firestarter :

- Have you installed and used Firestarter in CentO 5.5? If yes,Please share
the process of installation.








Regards,
Vijay Shanker Dubey
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread Eduardo Grosclaude
On Tue, May 11, 2010 at 5:51 AM, hadi motamedi  wrote:
>
>
>> I don't quite understand this part.
>>
> Thank you very much for your reply.Please find below a segment  of the file:

If you give the following command:

sort YOUR_FILE | uniq -c | sort -n | perl -ne 'print unless /(\d+)/ and $1 < 3'

where YOUR_FILE's contents are exactly the lines you pasted earler you
will get:


  3 CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0
18)  Tru (0 1 1)
  4 CallId 92  State TK Bts 7  Bt 1  Tr (7 0x08)  E1 (3 1
22)  Tru (0 0 0)
  5 CallId 94  State TK Bts 7  Bt 1  Tr (8 0x0c)  E1 (7 0
15)  Tru (0 0 2)
  7 CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1
5)  Tru (0 3 0)

The first number is the number of occurrences of each CallId
Does this help?

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mail server best practices question

2010-05-11 Thread Coert
Ned Slider wrote:
> Coert wrote:
>> Hello all,
>>
>> About a year ago I set up a mail server on CentOS using this howto:
>> http://wanderingbarque.com/howtos/mailserver/mailserver.html
>> I managed to add amavisd-new with clamav and spamassassin.
>> It runs very well, but it runs on CentOS 5.2, and if I try to upgrade, 
>> amavisd-new and clamav break.
>> we are now also at the point where a backup mx will need to be implemented.
>>
>> If necessary I am willing to implement a new mail server and a new 
>> backup mx.
>>
>> What I would like to know is what solution you guys would recommend for 
>> the mail server and the backup MX?
>>
>> Any pointers would be greatly appreciated.
>>
>> Regards,
>> Coert
> 
> I would follow the CentOS Wiki HowTo docs for Postfix, which are 
> currently maintained for CentOS 5:
> 
> http://wiki.centos.org/HowTos#head-0facb50d5796bee0bd394636c32ffa9a997a6ab5
> 
> http://wiki.centos.org/HowTos/postfix
> http://wiki.centos.org/HowTos/Amavisd
> 
> If things break, report it and I'll fix the documentation. I'm running 
> that setup so I do tend to notice when things break.
> 
> I've recently updated to the latest amavisd-new, clamav and spamassassin 
> - all largely without issue but I would always advise you read the 
> release notes and track their respective mailing lists for potential issues.
> 
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

Hello Ned,

Thank you for the links, and all the work you put in!

I also obtained Oreilly's Definitive Guide to Postfix, for some extra 
reading, also because I will need virtual domains..

Kind regards,
Coert
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread hadi motamedi
Does this help?
> The first number is the number of occurrences of each CallId
>
Thank you for your help. It is very important for me to how the number of
occurances of each CallId# . But can you please let me know why the number
obtained from your code does not match with manual counting on say one of
the CallId#? Can you please correct me?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread Eduardo Grosclaude
On Tue, May 11, 2010 at 8:12 AM, hadi motamedi  wrote:
>
>
>> Does this help?
>> The first number is the number of occurrences of each CallId
>
> Thank you for your help. It is very important for me to how the number of
> occurances of each CallId# . But can you please let me know why the number
> obtained from your code does not match with manual counting on say one of
> the CallId#? Can you please correct me?

Oh, that's because uniq thinks that two lines are different if your
characters TK,CL... and the rest of the line are different. If you
want to count lines only by the number following CallId you should
tell uniq to compare only the first characters in the line:

$ cat hadi | sort | uniq -c -w 9 | sort -n | perl -ne 'print unless
/(\d+)/ and $1 < 3'
  4 CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0
18)  Tru (0 1 1)
  7 CallId 92  State CL Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1
22)  Tru (0 0 0)
  7 CallId 94  State TK Bts 7  Bt 1  Tr (6 0x0f)  E1 (7 0
15)  Tru (0 0 2)
  7 CallId  9  State TK Bts 7  Bt 2  Tr (13 0x09)  E1 (4 1
5)  Tru (0 3 0)

(note -w 9).

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Jussi Hirvi
On 11.5.2010 3.40, Gordon Messmer wrote:
> Routing policy is definitely required for a multi-homed system such as
> Jussi presented, but NAT is totally superfluous.  It adds an extra layer
> of complexity that makes the system more difficult to diagnose and
> configure, and contributes nothing of value in return.

Funny, this morning I came to the same conclusion after some googling. A 
xen box with two bridges should be considered normal, and it should not 
break anything inside or outside the box.

There are good instructions on the net for installing 2 virtual bridges 
on a xen box. But I have found no mention of this specific dual-bridge 
problem I have: that ip traffic goes in ok through any physical nic to 
the dom0 or domUs, but all replies are routed to only one nic (the 
default gateway). (I verified this with tcpdump.)

> John Pierce's advice was simple and correct.  If you don't want to set
> up ifup-post scripts of your own, you can use shorewall.  Shorewall is
> actually more complex, but you don't have to understand much about the
> "ip" tool to use it.

I am going to try this first without Shorewall (simpler, I hope).

John, could you elaborate a little on this (I never had to adjust 
routing before):

On 10.5.2010 21.15, John R Pierce wrote:
 > something like...
 >
 > [after setting up network 1 the 'normal' way, we add these rules for
 > network 2...]
 >
 >  NET2=xxx.yyy.zzz.www/26
 >  NET2GWY=xxx.yyy.zzz.wwx
 >
 >  ip rule add from $NET2 table 200
 >  ip route add default via $NET2GWY dev eth1 table 200
 >  ip route flush cache
 >
 > so... any packet thats 'from' the subnet $NET2 is tagged to use ip
 > routing table '200' (quite arbitrary), and in turn route table 200
 > specifies a different default gateway.

Where should I put that script? network-scripts/ifup-post?
What would your "table 200" look like, and where should I put that?

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Les Mikesell
Jussi Hirvi wrote:
> On 11.5.2010 3.40, Gordon Messmer wrote:
>> Routing policy is definitely required for a multi-homed system such as
>> Jussi presented, but NAT is totally superfluous.  It adds an extra layer
>> of complexity that makes the system more difficult to diagnose and
>> configure, and contributes nothing of value in return.
> 
> Funny, this morning I came to the same conclusion after some googling. A 
> xen box with two bridges should be considered normal, and it should not 
> break anything inside or outside the box.
> 
> There are good instructions on the net for installing 2 virtual bridges 
> on a xen box. But I have found no mention of this specific dual-bridge 
> problem I have: that ip traffic goes in ok through any physical nic to 
> the dom0 or domUs, but all replies are routed to only one nic (the 
> default gateway). (I verified this with tcpdump.)

That's not xen or bridge related.  Unless you do policy-based routing, packets 
always follow the destination route regardless of where the input was received. 
  That's a feature, not a bug.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] Installing Firestarter

2010-05-11 Thread Ron Loftin

On Tue, 2010-05-11 at 16:15 +0530, Vijay Shanker Dubey wrote:
> Hi,
> 
> I am planning to use  to manage the incoming and outgoing
> network connections. Please give me some valuable read abouts and tips
> about this package.
> 
> - Will it be a good choice for network management? What are the other
> options?
> 
I used Firestarter for a while a few years ago.  After less than a year
I migrated to the Shoreline Firewall ( Shorewall ) for a couple of
reasons.

First is that Firestarter is limited in what it will allow you to do
with your firewall configuration.  Shorewall is much more powerful and
flexible.

Second, the last time I looked, Firestarter was not being actively
maintained.  As I recall, the latest version of Firestarter is about 3
years old, and the mailing list and forums show very little traffic.  By
comparison, Shorewall is much more active -- both in
maintenance/enhancement and the mailing list.

This is just my opinion, and as always, YMMV.

> 
> 
> If i choose to install Firestarter :
> 
> - Have you installed and used Firestarter in CentO 5.5? If yes,Please
> share the process of installation.
> 
> 
> 
> 
> 
> 
> 
> 
> Regards,
> Vijay Shanker Dubey
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin  relof...@twcny.rr.com

"God, root, what is difference ?"   Piter from UserFriendly

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


Re: [CentOS] setup firewall with 3 nic cards

2010-05-11 Thread Jerry Geis
>
> You need to make source routing on 74.223.8.176 and eth1. Please, read
> this: http://linux-ip.net/html/adv-multi-internet.html
>
> -- 
> Dominik Zyla
I read through the document. I dont see what I have done wrong still.

Do my routing rules not look correct from my previous post?

Sorry I am not catching on. Thanks for your assistance.

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


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Jussi Hirvi
> Jussi Hirvi wrote:
>> But I have found no mention of this specific dual-bridge
>> problem I have: that ip traffic goes in ok through any physical nic to
>> the dom0 or domUs, but all replies are routed to only one nic (the
>> default gateway). (I verified this with tcpdump.)

On 11.5.2010 16.08, Les Mikesell wrote:
> That's not xen or bridge related.  Unless you do policy-based routing, packets
> always follow the destination route regardless of where the input was 
> received.
>That's a feature, not a bug.

Ok. But this error does not occur on my other CentOS 5 box (mailserver, 
non-xen) which also has 2 nics for 2 public ip segments. There input-nic 
is always = outputnic. And I have done nothing special to achieve this 
(pure "linux magic"). That's why I "blame" bridges - they are the most 
notable difference between these two machines.



- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disable autofs timeout

2010-05-11 Thread Arun Khan
On Sat, May 8, 2010 at 8:42 PM, Brian Mathis  wrote:

>
> A simple solution would be to setup a cron job that runs every 5
> minutes and does
>    ls /mount/point > /dev/null

I had to something on the same line at a client.  On Mac OS X (10.5)
workstation, users were complaining that "network files"  (NFS export
from Linux file server) were visible in the "finder" but on clicking
it would not open.   I asked them to open a terminal with a couple of
tabs and showed them how to use "cd" to the paths that had the NFS
mounts.  The problem went away.

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


Re: [CentOS] disable autofs timeout

2010-05-11 Thread Rudi Ahlers
On Sat, May 8, 2010 at 5:12 PM, Brian Mathis  wrote:

>
>
>
> A simple solution would be to setup a cron job that runs every 5
> minutes and does
>ls /mount/point > /dev/null
>  ___
>
>

How would this fix the problem though? I'm asking cause I sit with the same
problem, and haven't figured out yet to tell a remote server what todo if
the NFS server is unavailable (be it network problems, maintenance,
incorrect password, etc)


>
> --
> Kind Regards
> Rudi Ahlers
> SoftDux
>
> Website: http://www.SoftDux.com
> Technical Blog: http://Blog.SoftDux.com
> Office: 087 805 9573
> Cell: 082 554 7532
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disable autofs timeout

2010-05-11 Thread Brian Mathis
On Tue, May 11, 2010 at 10:01 AM, Rudi Ahlers  wrote:
> On Sat, May 8, 2010 at 5:12 PM, Brian Mathis  wrote:
>>
>> A simple solution would be to setup a cron job that runs every 5
>> minutes and does
>>    ls /mount/point > /dev/null
>
> How would this fix the problem though? I'm asking cause I sit with the same
> problem, and haven't figured out yet to tell a remote server what todo if
> the NFS server is unavailable (be it network problems, maintenance,
> incorrect password, etc)
>
> Rudi Ahlers

It doesn't fix it -- it's an ugly workaround -- but it works to keep
them mounted.  I don't know of an elegant solution if the NFS server
goes away.  I've seen it hang the clients until they timeout.  Maybe
an NFS expert on the list will be able to provide a better solution.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] clients obtaining dhcp addys slowly

2010-05-11 Thread aurfalien
Hi all,

This is unusual for me to observe.

I've a dhcp server running on Centos 5.3 and it takes a while to  
answer clients asking for an address.

This is playing some havoc with certain scripts at startup not fully  
working because of the address delay.

I've even used a dhcp helper address type function in my Juniper  
router but nothing has changed.

Any ideas?


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


Re: [CentOS] disable autofs timeout

2010-05-11 Thread aurfalien
On May 11, 2010, at 10:35 AM, Brian Mathis wrote:

> On Tue, May 11, 2010 at 10:01 AM, Rudi Ahlers   
> wrote:
>> On Sat, May 8, 2010 at 5:12 PM, Brian Mathis  
>>  wrote:
>>>
>>> A simple solution would be to setup a cron job that runs every 5
>>> minutes and does
>>>ls /mount/point > /dev/null
>>
>> How would this fix the problem though? I'm asking cause I sit with  
>> the same
>> problem, and haven't figured out yet to tell a remote server what  
>> todo if
>> the NFS server is unavailable (be it network problems, maintenance,
>> incorrect password, etc)
>>
>> Rudi Ahlers
>
> It doesn't fix it -- it's an ugly workaround -- but it works to keep
> them mounted.  I don't know of an elegant solution if the NFS server
> goes away.  I've seen it hang the clients until they timeout.  Maybe
> an NFS expert on the list will be able to provide a better solution.

I did a cron on a client who is also an OSX 10.5 server and then  
killed the NFS server that it had automounted.

No hangs on the client but I haven't tested this on my Centos clients  
yet which is actually my main concern.

I was actually surprised that OSX behaved for once.

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


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Gordon Messmer
On 05/11/2010 06:32 AM, Jussi Hirvi wrote:
> Ok. But this error does not occur on my other CentOS 5 box (mailserver,
> non-xen) which also has 2 nics for 2 public ip segments. There input-nic
> is always = outputnic. And I have done nothing special to achieve this
> (pure "linux magic"). That's why I "blame" bridges - they are the most
> notable difference between these two machines.

That's odd.  Is there any output on that host from "ip rule show"?  What 
about:

# ip rule show
# ip rule show | awk '{print $NF}' | sort | uniq | \
   while read table ; do echo ; echo "  $table" ;
   ip route show table "$table" ; done

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


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Les Mikesell
On 5/11/2010 8:32 AM, Jussi Hirvi wrote:
>> Jussi Hirvi wrote:
>>> But I have found no mention of this specific dual-bridge
>>> problem I have: that ip traffic goes in ok through any physical nic to
>>> the dom0 or domUs, but all replies are routed to only one nic (the
>>> default gateway). (I verified this with tcpdump.)
>
> On 11.5.2010 16.08, Les Mikesell wrote:
>> That's not xen or bridge related.  Unless you do policy-based routing, 
>> packets
>> always follow the destination route regardless of where the input was 
>> received.
>> That's a feature, not a bug.
>
> Ok. But this error does not occur on my other CentOS 5 box (mailserver,
> non-xen) which also has 2 nics for 2 public ip segments. There input-nic
> is always = outputnic. And I have done nothing special to achieve this
> (pure "linux magic"). That's why I "blame" bridges - they are the most
> notable difference between these two machines.

That doesn't make much (any?) sense.  IP traffic is always 
destination-routed unless you do something unusual.  On the other hand, 
even if you send out to the 'wrong' internet gateway following your 
default route, any internet connection should be able to deliver to any 
internet destination.  Asymmetrical routing is both permitted and 
normal, although not necessarily desirable and it may not make it 
through stateful firewalls.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] clients obtaining dhcp addys slowly

2010-05-11 Thread nate
aurfal...@gmail.com wrote:
> Hi all,
>
> This is unusual for me to observe.
>
> I've a dhcp server running on Centos 5.3 and it takes a while to
> answer clients asking for an address.

You happen to be running STP at the edge switch ports? If so then
disable it.

nate


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


Re: [CentOS] clients obtaining dhcp addys slowly

2010-05-11 Thread aurfalien
On May 11, 2010, at 12:09 PM, nate wrote:

> aurfal...@gmail.com wrote:
>> Hi all,
>>
>> This is unusual for me to observe.
>>
>> I've a dhcp server running on Centos 5.3 and it takes a while to
>> answer clients asking for an address.
>
> You happen to be running STP at the edge switch ports? If so then
> disable it.
>
> nate

Funny you mention that, i was just about to disable that.

Just a note, the only thing thats changed is my switch, I was using a  
Foundry and everything ran fine, now I'm using some POS DLINK (it  
actually ran some poor fool $1,400).

I don't really have a choice with the DLINK for now had to invest $  
elsewhere.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] setup firewall with 3 nic cards

2010-05-11 Thread Dominik Zyla
On Tue, May 11, 2010 at 09:24:53AM -0400, Jerry Geis wrote:
> >
> > You need to make source routing on 74.223.8.176 and eth1. Please, read
> > this: http://linux-ip.net/html/adv-multi-internet.html
> >
> > -- 
> > Dominik Zyla
> I read through the document. I dont see what I have done wrong still.
> 
> Do my routing rules not look correct from my previous post?
> 
> Sorry I am not catching on. Thanks for your assistance.

Try to add iproute2 rules for eth1. You only paste iptables rules.

-- 
Dominik Zyla



pgpvArtoEbxYr.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Jussi Hirvi
On 11.5.2010 18.36, Gordon Messmer wrote:
> That's odd.  Is there any output on that host from "ip rule show"?  What
> about:
>
> # ip rule show
> # ip rule show | awk '{print $NF}' | sort | uniq | \
> while read table ; do echo ; echo "  $table" ;
> ip route show table "$table" ; done

Interesting commands, and revealing, it seems to me.

Here's the results, first from a "healthy" (non-xen) host ("ordinary" 
(?) CentOS 5.4 with two nics, each connecting to their own public 
network segment:

[r...@mail ~]# ip rule show
0:  from all lookup 255
500:from 62.236.221.70 lookup 2
600:from 62.220.237.110 lookup 1
32766:  from all lookup main
32767:  from all lookup default


[r...@mail ~]# ip rule show | awk '{print $NF}' | sort | uniq | \
 >while read table ; do echo ; echo "  $table" ;
 >ip route show table "$table" ; done

   1
default via 62.220.237.126 dev eth0

   2
default via 62.236.221.65 dev eth1

   255
broadcast 127.255.255.255 dev lo  proto kernel  scope link  src 127.0.0.1
local 62.236.221.70 dev eth1  proto kernel  scope host  src 62.236.221.70
broadcast 62.220.237.127 dev eth0  proto kernel  scope link  src 
62.220.237.110
broadcast 62.236.221.64 dev eth1  proto kernel  scope link  src 
62.236.221.70
local 62.220.237.110 dev eth0  proto kernel  scope host  src 62.220.237.110
local 192.168.122.1 dev virbr0  proto kernel  scope host  src 192.168.122.1
broadcast 62.236.221.79 dev eth1  proto kernel  scope link  src 
62.236.221.70
broadcast 62.220.237.96 dev eth0  proto kernel  scope link  src 
62.220.237.110
broadcast 127.0.0.0 dev lo  proto kernel  scope link  src 127.0.0.1
local 127.0.0.1 dev lo  proto kernel  scope host  src 127.0.0.1
local 127.0.0.0/8 dev lo  proto kernel  scope host  src 127.0.0.1

   default

   main
62.236.221.64/28 dev eth1  proto kernel  scope link  src 62.236.221.70
62.220.237.96/27 dev eth0  proto kernel  scope link  src 62.220.237.110
169.254.0.0/16 dev eth1  scope link
default via 62.236.221.65 dev eth1
[r...@mail ~]#


Now the "sick" host, the CentOS 5.4 xen box (dom0)  with two nics, each 
connecting to their own public network segment (there should be 
something more in "ip rule show", right?):

[r...@farm1 ~]# ip rule show
0:  from all lookup 255
32766:  from all lookup main
32767:  from all lookup default


[r...@farm1 ~]# ip rule show | awk '{print $NF}' | sort | uniq | \
 >while read table ; do echo ; echo "  $table" ;
 >ip route show table "$table" ; done

   255
broadcast 127.255.255.255 dev lo  proto kernel  scope link  src 127.0.0.1
local 62.220.237.104 dev eth1  proto kernel  scope host  src 62.220.237.104
broadcast 62.220.237.127 dev eth1  proto kernel  scope link  src 
62.220.237.104
broadcast 62.236.221.64 dev eth0  proto kernel  scope link  src 
62.236.221.67
local 192.168.122.1 dev virbr0  proto kernel  scope host  src 192.168.122.1
local 62.236.221.67 dev eth0  proto kernel  scope host  src 62.236.221.67
broadcast 192.168.122.0 dev virbr0  proto kernel  scope link  src 
192.168.122.1
broadcast 62.236.221.79 dev eth0  proto kernel  scope link  src 
62.236.221.67
broadcast 62.220.237.96 dev eth1  proto kernel  scope link  src 
62.220.237.104
broadcast 127.0.0.0 dev lo  proto kernel  scope link  src 127.0.0.1
broadcast 192.168.122.255 dev virbr0  proto kernel  scope link  src 
192.168.122.1
local 127.0.0.1 dev lo  proto kernel  scope host  src 127.0.0.1
local 127.0.0.0/8 dev lo  proto kernel  scope host  src 127.0.0.1

   default

   main
62.236.221.64/28 dev eth0  proto kernel  scope link  src 62.236.221.67
62.220.237.96/27 dev eth1  proto kernel  scope link  src 62.220.237.104
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
169.254.0.0/16 dev eth1  scope link
default via 62.220.237.126 dev eth1
[r...@farm1 ~]#

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread Dominik Zyla
On Tue, May 11, 2010 at 08:25:43AM +, sheraz...@yahoo.com wrote:
> >>To be more specific, I need to find how many distinct records are there in 
> >>say column#1?
> 
> awk '{print $1}' filename | sort -u | wc -l
> 
> This will show how many unique entries are present in column one (use awk -F 
> to change delimiter e.g awk -F ":" for : delimiter)
> 
> >> How can I filter out the distinct records with number of occurances less 
> >> than a pre-determined threshold?
> 
> I don't quite understand this part.
> 
> awk '{print $1}' filename | sort | uniq -c | sort -rn
> 
> Will give you a number of occurrences (reverse numerically sorted) of uniq 
> data from column one. 
> 
> Now I think you want to put that through a loop and only show those that are 
> less than threshold?

If I understand correctly, you can pipe your output to: `awk '{a=$1} {if
(a > 3)   print a}''. `a' is awk variable. `$1' is first column of awk
input so you probably need to change it.

-- 
Dominik Zyla



pgp8kTia5mitm.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Openbravo on CentOS

2010-05-11 Thread Joseph L. Casale
Anyone here supporting Openbravo in CentOS, opinions or comments
wrt how it runs or nuances from the os side would be appreciated!

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


Re: [CentOS] Formatting file system too slow on CentOS

2010-05-11 Thread Christoph Maser
Am Dienstag, den 11.05.2010, 11:38 +0530 schrieb Rajagopal Swaminathan:
> Greetings,
> 
> On Tue, May 11, 2010 at 8:08 AM, David Suhendrik  wrote:
> > @Rajagopal:
> >
> > This result:
> > # hdparm -tT /dev/hda5
> >
> > /dev/hda5:
> >  Timing buffered disk reads:8 MB in  3.08 seconds =   2.60 MB/sec
> >
> 
> First of all it should report /dev/sda and not /dev/hda
> 
> It is a horrible speed for modern disks.
> 
> 
> Modern SATA disks show around 50-80 MB/Sec
> 
> I am sure ide0noprobe=no (or zero -- check docs) in the kernel mline
> will surely speed up in addition to other suggestions will
> dramatically speed up.


As will setting the operation mode in mode in BIOS from compatible to
SATA. First thing i do on all HP servers when they are shipped.

Chris

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


[CentOS] SAMS (Squid Account Management)

2010-05-11 Thread Test

Anyone with experience with the SAMS package for managing squid ?

I am looking for a webbased squid admin tool for centos, but so far no
luck...


-- 
Test 

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


Re: [CentOS] SAMS (Squid Account Management)

2010-05-11 Thread Lucian
On Tue, May 11, 2010 at 9:55 PM, Test  wrote:
>
> Anyone with experience with the SAMS package for managing squid ?
>
> I am looking for a webbased squid admin tool for centos, but so far no
> luck...
>

Webmin?

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


[CentOS] create volumn

2010-05-11 Thread ann kok
Hi

How can I create volumn in the new installation?

I can't find any documents to help

Thank you


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


Re: [CentOS] create volumn

2010-05-11 Thread Karanbir Singh
On 05/11/2010 11:25 PM, ann kok wrote:
> Hi
>
> How can I create volumn in the new installation?

http://www.centos.org/docs/5/html/5.2/Deployment_Guide/ch-lvm.html


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


Re: [CentOS] disable autofs timeout

2010-05-11 Thread Todd Denniston
Brian Mathis wrote, On 05/11/2010 10:35 AM:
> On Tue, May 11, 2010 at 10:01 AM, Rudi Ahlers  wrote:
>> On Sat, May 8, 2010 at 5:12 PM, Brian Mathis  wrote:
>>> A simple solution would be to setup a cron job that runs every 5
>>> minutes and does
>>>ls /mount/point > /dev/null
>> How would this fix the problem though? I'm asking cause I sit with the same
>> problem, and haven't figured out yet to tell a remote server what todo if
>> the NFS server is unavailable (be it network problems, maintenance,
>> incorrect password, etc)
>>
>> Rudi Ahlers
> 
> It doesn't fix it -- it's an ugly workaround -- but it works to keep
> them mounted.  I don't know of an elegant solution if the NFS server
> goes away.  I've seen it hang the clients until they timeout.  Maybe
> an NFS expert on the list will be able to provide a better solution.

not an expert, only a user who has been singed a few times.
in the options for the mount I suggest: hard,intr

hard because soft has had some data loss issues for me.
intr because sometimes you need to be able to interrupt a process while a 
server is down (say to be
able to reboot the client box).


BTW, keeping the mount point busy pretty much invalidates the use of autofs IAW 
the OP, i.e., the
only benefit that you get from autofs at this point is that if the server is 
down at client boot
then the client will be able to finish booting (which could have been 
accomplished by using the bg
flag in the fstab (man 5 nfs)).
The OP wrote:
"2) utilize the benefits of autofs so that when an NFS resource becomes
unavailable, the system doesn't hang."


If the file system IS mounted, then the system will hang until you can 
interrupt processes (why you
need the intr option).
If the file system is not needed then it should be unmounted so it can't hang 
the client.

A less drastic option for autocompletion issues would be to set a longer 
timeout, i.e., in
auto.master change the line
from:
/misc  /etc/auto.misc
to:
/misc  /etc/auto.misc --timeout=3600
to get an hour between disuse and unmount (the default is 600 (man 
auto.master)).



If you really want permanent mounts, then I suggest going back to using fstab 
with the bg & intr
options and ignore autofs, because it appears autofs only causes trouble for 
you.

If you want the benefits of autofs (no hung mounts if not mounted during server 
interruptions, less
net traffic/connections when clients don't need remote file systems), you might 
be better served by
using a longer timeout and re-reading James Pearson's email.


BTW what applications are you having autocompletion issues with?  I have been 
using autofs for ~15
years and have only had issues with soft mounting causing data corruption.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link

2010-05-11 Thread a arias
I have been getting the following error when trying to run ldconfig:

ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link


# ll /usr/lib64/libfreebl3.so

-rwxr-xr-x 1 root root 312336 Mar 28 11:13 /usr/lib64/libfreebl3.so


I've used "yum whatprovides /usr/lib64/libfreeb13.so" to determine that this
file belongs to nss. I have tried to reinstall nss but that does not fix the
problem.

Any ideas? How can I fix this?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disable autofs timeout

2010-05-11 Thread aurfalien
On May 11, 2010, at 6:49 PM, Todd Denniston wrote:

> Brian Mathis wrote, On 05/11/2010 10:35 AM:
>> On Tue, May 11, 2010 at 10:01 AM, Rudi Ahlers  
>>  wrote:
>>> On Sat, May 8, 2010 at 5:12 PM, Brian Mathis  
>>>  wrote:
 A simple solution would be to setup a cron job that runs every 5
 minutes and does
   ls /mount/point > /dev/null
>>> How would this fix the problem though? I'm asking cause I sit with  
>>> the same
>>> problem, and haven't figured out yet to tell a remote server what  
>>> todo if
>>> the NFS server is unavailable (be it network problems, maintenance,
>>> incorrect password, etc)
>>>
>>> Rudi Ahlers
>>
>> It doesn't fix it -- it's an ugly workaround -- but it works to keep
>> them mounted.  I don't know of an elegant solution if the NFS server
>> goes away.  I've seen it hang the clients until they timeout.  Maybe
>> an NFS expert on the list will be able to provide a better solution.
>
> BTW, keeping the mount point busy pretty much invalidates the use of  
> autofs

My critical servers are autofs and don't slam the nfs server.

However my clients do peg it so you are right.

> If you really want permanent mounts, then I suggest going back to  
> using fstab with the bg & intr
> options and ignore autofs, because it appears autofs only causes  
> trouble for you.
>

Already do.

> BTW what applications are you having autocompletion issues with?  I  
> have been using autofs for ~15
> years and have only had issues with soft mounting causing data  
> corruption.
>

Command line tab completion and a custom 3D script.

I think I'll do KISS on this one and just use fstab was I've been  
doing with bg, hard, intr.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link

2010-05-11 Thread Dominik Zyla
On Tue, May 11, 2010 at 07:22:05PM -0400, a arias wrote:
> I have been getting the following error when trying to run ldconfig:
> 
> 
> ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link
> 
> 
> # ll /usr/lib64/libfreebl3.so
> 
> -rwxr-xr-x 1 root root 312336 Mar 28 11:13 /usr/lib64/libfreebl3.so
> 
> 
> I've used "yum whatprovides /usr/lib64/libfreeb13.so" to determine that this
> file belongs to nss. I have tried to reinstall nss but that does not fix the
> problem.
> 
> Any ideas? How can I fix this?

Try to reinstall glibc.

-- 
Dominik Zyla



pgpHgs5t2nQnE.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link

2010-05-11 Thread a arias
That did not work. It fact, i got the following message during the yum
reinstall process:

/sbin/ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link


On Tue, May 11, 2010 at 7:39 PM, Dominik Zyla  wrote:

> On Tue, May 11, 2010 at 07:22:05PM -0400, a arias wrote:
> > I have been getting the following error when trying to run ldconfig:
> >
> >
> > ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link
> >
> >
> > # ll /usr/lib64/libfreebl3.so
> >
> > -rwxr-xr-x 1 root root 312336 Mar 28 11:13 /usr/lib64/libfreebl3.so
> >
> >
> > I've used "yum whatprovides /usr/lib64/libfreeb13.so" to determine that
> this
> > file belongs to nss. I have tried to reinstall nss but that does not fix
> the
> > problem.
> >
> > Any ideas? How can I fix this?
>
> Try to reinstall glibc.
>
> --
> Dominik Zyla
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link

2010-05-11 Thread Dominik Zyla
On Tue, May 11, 2010 at 07:50:05PM -0400, a arias wrote:
> That did not work. It fact, i got the following message during the yum
> reinstall process:
> 
> /sbin/ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link

According to `yum deplist glibc-2.5-42.el5_4.3.x86_64' you may also try
with reinstalling `libgcc' and `glibc-common'.

-- 
Dominik Zyla



pgp8Lhq5QAvMd.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Gordon Messmer
On 05/11/2010 10:21 AM, Jussi Hirvi wrote:
>
> Interesting commands, and revealing, it seems to me.

Well, there you go.  Something set up policy routing on the working 
host.  Do you have any files like /etc/sysconfig/network-scripts/route-* 
or /etc/sysconfig/network-scripts/rule-* ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Openbravo on CentOS

2010-05-11 Thread Bob Taylor
BOB TAYLOR HAS DIED  PLEASE TAKE HIS NAME OFF YOUR MAIL OUT LIST  THANKS ...

On Tue, May 11, 2010 at 11:03 AM, Joseph L. Casale <
jcas...@activenetwerx.com> wrote:

> Anyone here supporting Openbravo in CentOS, opinions or comments
> wrt how it runs or nuances from the os side would be appreciated!
>
> Thanks,
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [CentOS-announce] CESA-2010:0112 Critical CentOS 5 i386 firefox Update

2010-05-11 Thread Bob Taylor
BOB TAYLOR HAS DIED  PLEASE TAKE HIS NAME OFF YOUR MAIL OUT LIST  THANKS ...










On Mon, Feb 22, 2010 at 5:17 PM, Karanbir Singh  wrote:

>
> CentOS Errata and Security Advisory 2010:0112 Critical
>
> Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0112.html
>
> The following updated files have been uploaded and are currently
> syncing to the mirrors: ( md5sum Filename )
>
> i386:
> af85d2bab4fd84678522fa921ad7c65d  firefox-3.0.18-1.el5.centos.i386.rpm
> 17a22cb02ee8ac264f6f5f169266443f  xulrunner-1.9.0.18-1.el5_4.i386.rpm
> 5fc996913fdba522974579cd9ee499a0  xulrunner-devel-1.9.0.18-1.el5_4.i386.rpm
> 35c5944fa6938f15ea52081b31171c6b
>  xulrunner-devel-unstable-1.9.0.18-1.el5_4.i386.rpm
>
> Source:
> 3cbf15ad8683b5788a970e834419a99b  firefox-3.0.18-1.el5.centos.src.rpm
> 626aa5b68835c685a3e899732d5a7970  xulrunner-1.9.0.18-1.el5_4.src.rpm
>
>
> --
> Karanbir Singh
> CentOS Project { http://www.centos.org/ }
> irc: z00dax, #cen...@irc.freenode.net
>
> ___
> CentOS-announce mailing list
> centos-annou...@centos.org
> http://lists.centos.org/mailman/listinfo/centos-announce
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link

2010-05-11 Thread a arias
Zyla, that did not work either.

I was able to work around this by doing the following:

mv /usr/lib64/libfreebl3.so /usr/lib64/libfreebl3.so.0.1; ln -snf
/usr/lib64/libfreebl3.so.0.1 /usr/lib64/libfreel3.so


I wonder if I am the only one who is experiencing this. What could have
caused this?

Thanks,

On Tue, May 11, 2010 at 8:12 PM, Dominik Zyla  wrote:

> On Tue, May 11, 2010 at 07:50:05PM -0400, a arias wrote:
> > That did not work. It fact, i got the following message during the yum
> > reinstall process:
> >
> > /sbin/ldconfig: /usr/lib64/libfreebl3.so is not a symbolic link
>
> According to `yum deplist glibc-2.5-42.el5_4.3.x86_64' you may also try
> with reinstalling `libgcc' and `glibc-common'.
>
> --
> Dominik Zyla
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [CentOS-announce] CESA-2010:0394 Important CentOS 4 x86_64 kernel security, bug fix, and enhancement update

2010-05-11 Thread Christopher Chan
Any list admins out there that can give Mrs. Taylor a hand?

On Wednesday, May 12, 2010 10:08 AM, Bob Taylor wrote:
> BOB TAYLOR HAS DIED  PLEASE TAKE HIS NAME OFF YOUR MAIL OUT LIST  THANKS
> ...
>
>
> On Fri, May 7, 2010 at 3:12 PM, Tru Huynh  > wrote:
>
> entOS Errata and Security Advisory CESA-2010:0394
>
> kernel security, bug fix, and enhancement update security update for
> CentOS 4 x86_64:
> https://rhn.redhat.com/errata/RHSA-2010-0394.html
>
> The following updated file has been uploaded and is currently syncing to
> the mirrors:
>
> x86_64:
> updates/x86_64/RPMS/kernel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-devel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-doc-2.6.9-89.0.25.EL.noarch.rpm
> updates/x86_64/RPMS/kernel-largesmp-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-largesmp-devel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-smp-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-smp-devel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-xenU-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-xenU-devel-2.6.9-89.0.25.EL.x86_64.rpm
>
> source:
> updates/SRPMS/kernel-2.6.9-89.0.25.EL.src.rpm
>
> You may update your CentOS-4 x86_64 installations by running the
> command:
>
> yum update kernel\*
>
> Tru
> --
> Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
> 
>
> ___
> CentOS-announce mailing list
> centos-annou...@centos.org 
> http://lists.centos.org/mailman/listinfo/centos-announce
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] [CentOS-announce] CESA-2010:0394 Important CentOS 4 x86_64 kernel security, bug fix, and enhancement update

2010-05-11 Thread Bob Taylor
BOB TAYLOR HAS DIED  PLEASE TAKE HIS NAME OFF YOUR MAIL OUT LIST  THANKS ...



















On Fri, May 7, 2010 at 3:12 PM, Tru Huynh  wrote:

> entOS Errata and Security Advisory CESA-2010:0394
>
> kernel security, bug fix, and enhancement update security update for CentOS
> 4 x86_64:
> https://rhn.redhat.com/errata/RHSA-2010-0394.html
>
> The following updated file has been uploaded and is currently syncing to
> the mirrors:
>
> x86_64:
> updates/x86_64/RPMS/kernel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-devel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-doc-2.6.9-89.0.25.EL.noarch.rpm
> updates/x86_64/RPMS/kernel-largesmp-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-largesmp-devel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-smp-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-smp-devel-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-xenU-2.6.9-89.0.25.EL.x86_64.rpm
> updates/x86_64/RPMS/kernel-xenU-devel-2.6.9-89.0.25.EL.x86_64.rpm
>
> source:
> updates/SRPMS/kernel-2.6.9-89.0.25.EL.src.rpm
>
> You may update your CentOS-4 x86_64 installations by running the command:
>
>yum update kernel\*
>
> Tru
> --
> Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
>
> ___
> CentOS-announce mailing list
> centos-annou...@centos.org
> http://lists.centos.org/mailman/listinfo/centos-announce
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread hadi motamedi
$ cat hadi | sort | uniq -c -w 9 | sort -n | perl -ne 'print unless
> /(\d+)/ and $1 < 3'
>   4 CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0
> 18)  Tru (0 1 1)
>   7 CallId 92  State CL Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1
>
Thank you for your reply. To just have one 'State' for the CallId , I
created one new logfile as the following:
#more logfile1 | grep "State TK" >> logfile2
Then in the logfile2 , I tried to count the number of occurances of each
distinct CallId with the aid of your proposed command . But in the output, I
see differences between the number obtained from counting them manually with
the one generated from your command. Can you please correct me?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread hadi motamedi
>
> If I understand correctly, you can pipe your output to: `awk '{a=$1} {if
> (a > 3)   print a}''. `a' is awk variable. `$1' is first column of awk
> input so you probably need to change it.
>
>
> Thank you for your message . Yes , you are right . I really need to filter
out that CallId with number of occurances say less than three. But your
command is not getting through on my centos . Please correct me.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread Eduardo Grosclaude
On Wed, May 12, 2010 at 1:12 AM, hadi motamedi  wrote:
>
>
>> $ cat hadi | sort | uniq -c -w 9 | sort -n | perl -ne 'print unless
>> /(\d+)/ and $1 < 3'
>>      4 CallId 91  State TK         Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0
>> 18)  Tru (0 1 1)
>>      7 CallId 92  State CL         Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1
>
> Thank you for your reply. To just have one 'State' for the CallId , I
> created one new logfile as the following:
> #more logfile1 | grep "State TK" >> logfile2
> Then in the logfile2 , I tried to count the number of occurances of each
> distinct CallId with the aid of your proposed command . But in the output, I
> see differences between the number obtained from counting them manually with
> the one generated from your command. Can you please correct me?

Please enclose a copy of your commands and the output.

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread John R. Dennison
On Wed, May 12, 2010 at 05:12:48AM +0100, hadi motamedi wrote:
> $ cat hadi | sort | uniq -c -w 9 | sort -n | perl -ne 'print unless
> > /(\d+)/ and $1 < 3'
> >   4 CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0
> > 18)  Tru (0 1 1)
> >   7 CallId 92  State CL Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1
> >
> Thank you for your reply. To just have one 'State' for the CallId , I
> created one new logfile as the following:
> #more logfile1 | grep "State TK" >> logfile2
> Then in the logfile2 , I tried to count the number of occurances of each
> distinct CallId with the aid of your proposed command . But in the output, I
> see differences between the number obtained from counting them manually with
> the one generated from your command. Can you please correct me?

I'm likely to get in trouble for this, but frankly I don't
really care.

This list doesn't exist to do *your* job for you.  We are
not here to do *your* work.  In the past few months you've
done nothing but use the members of this list as your personal
"please come do my job for me" group because you choose not to
do any research or learning on your own.  While members of the
list are quite happy to help people, you're taking advantage of
their kindness and patience.  Why should you be paid or earn
class credit based on our expertise?  It is not clear whether
you are a paid IT person, consultant or just a student learning
about the IT field.  But it is also not relevant, as you are
just depending on us to do your work.

There are a bazillion resources on the web, starting with google,
that will help you learn *basic* shell scripting as is needed
to solve your most current issue.  There exist *many* excellent
books on shell scripting; there is also "man bash"; "man awk";
"man cut"; "man sed"; etc.  READ THEM.

Have you taken the time to make use of any of these resources?
Have you decided to resort to this list every time something
basic is needed that you refuse to take the time to learn so
you are able to put together solutions yourself?

DO YOUR OWN RESEARCH ONCE IN A WHILE.

You might be amazed at what you can learn when you do so.

At some point you *will* be in a position where you have a task
that needs to be done and you will not have this list to fall
back on.  What are you going to do then?  Cry to your boss or your
professor that you can't do it because all the people that have
been doing your work for you up to that point aren't available?

If you were working for me I'd terminate you for not making
any effort on your own.  If you were a student of mine I would
fail you for not expending any effort at learning the material.
If you were a consultant I'd make sure you never worked for any
company I was a part of and also blacklist you on top of it.

Really, enough is just enough.

Enough is also enough with the spoon-feeding.  I realize that most
of you are kindhearted souls that delight in helping people and
that is, in most cases, to be commended.  But this never-ending
spoon-feeding doing Hadi's job for him is not helping him in
the least.  Make him stand on his own two feet for a change.
It is *obvious* he has made no attempt at resolving the problems
he has brought to this list on his own and it has been obvious
since his first post.  And yes, I know, we all started somewhere,
blah, blah, blah.  While this is indeed true it is *also* true
that we spent the time to learn what we needed in order to do
our jobs, including the most important of all: how to find the
information we need which in this day and age is google or some
other search engine.

(http://stuff.gerdesas.com/images/spoon.png)

To any on the list *other* than Hadi that I've offended by this
post you have my most sincere apologies.  Sorry for wasting your
time but this has been building up for a long time.




-- 
Never, never be afraid to do what's right, especially if the well-being of
a person or animal is at stake.  Society's punishments are small compared
to the wounds we inflict on our soul when we look the other way.

-- Martin Luther King Jr. (1929-1968), civil-rights leader


pgp4IgLSnsikN.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread hadi motamedi
   I'm likely to get in trouble for this, but frankly I don't
>really care.
>
> Sorry. I just provided the data that the Gentlemen were asking me . I
thought that they are interested in my case and want to check out my
mistakes.
Sorry bothering you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting file system too slow on CentOS

2010-05-11 Thread David Suhendrik

I tried to change the configuration of a compatible sata in bios to AHCI, but 
my hard drive is not detected.
I do not have a smart array controller. I do this AHCI features need smart 
array controller? I've been looking for a reference, but did not find.

Any suggestions?

--
Best regards,
David
http://blog.pnyet.web.id


On 05/12/2010 02:52 AM, Christoph Maser wrote:

Am Dienstag, den 11.05.2010, 11:38 +0530 schrieb Rajagopal Swaminathan:

Greetings,

On Tue, May 11, 2010 at 8:08 AM, David Suhendrik  wrote:

@Rajagopal:

This result:
# hdparm -tT /dev/hda5

/dev/hda5:
  Timing buffered disk reads:8 MB in  3.08 seconds =   2.60 MB/sec



First of all it should report /dev/sda and not /dev/hda

It is a horrible speed for modern disks.


Modern SATA disks show around 50-80 MB/Sec

I am sure ide0noprobe=no (or zero -- check docs) in the kernel mline
will surely speed up in addition to other suggestions will
dramatically speed up.



As will setting the operation mode in mode in BIOS from compatible to
SATA. First thing i do on all HP servers when they are shipped.

Chris

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

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


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Jussi Hirvi
On 12.5.2010 3.25, Gordon Messmer wrote:
> On 05/11/2010 10:21 AM, Jussi Hirvi wrote:
>>
>> Interesting commands, and revealing, it seems to me.
>
> Well, there you go.  Something set up policy routing on the working
> host.  Do you have any files like /etc/sysconfig/network-scripts/route-*
> or /etc/sysconfig/network-scripts/rule-* ?

None. But I found these (standard CentOS files):

[r...@farm1 network-scripts]# grep -rl "ip rule" .
./ifdown-routes
./ifup-routes

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] REMOVE NAME FROM YOUR EMAIL LIST

2010-05-11 Thread Thom Paine
LOL, so who is checking his email?


On Tue, May 11, 2010 at 11:07 PM, Bob Taylor  wrote:
> BOB TAYLOR HAS DIED PLEASE REMOVE HIS NAME FROM YOUR E MAIL LIST   THANKS
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
-=/>Thom
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Not firewall, but what?

2010-05-11 Thread Jussi Hirvi
> On 05/11/2010 10:21 AM, Jussi Hirvi wrote:
>> Interesting commands, and revealing, it seems to me.

On 12.5.2010 3.25, Gordon Messmer wrote:
> Well, there you go.  Something set up policy routing on the working
> host.  Do you have any files like /etc/sysconfig/network-scripts/route-*
> or /etc/sysconfig/network-scripts/rule-* ?

BTW, the same grep result both on the working and non-working (xen) 
machine.

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Text file manipulation in CentOS?

2010-05-11 Thread Chris Geldenhuis
John R. Dennison wrote:
> On Wed, May 12, 2010 at 05:12:48AM +0100, hadi motamedi wrote:
>   
>> $ cat hadi | sort | uniq -c -w 9 | sort -n | perl -ne 'print unless
>> 
>>> /(\d+)/ and $1 < 3'
>>>   4 CallId 91  State TK Bts 5  Bt 1  Tr (4 0x0f)  E1 (4 0
>>> 18)  Tru (0 1 1)
>>>   7 CallId 92  State CL Bts 7  Bt 1  Tr (6 0x0a)  E1 (3 1
>>>
>>>   
>> Thank you for your reply. To just have one 'State' for the CallId , I
>> created one new logfile as the following:
>> #more logfile1 | grep "State TK" >> logfile2
>> Then in the logfile2 , I tried to count the number of occurances of each
>> distinct CallId with the aid of your proposed command . But in the output, I
>> see differences between the number obtained from counting them manually with
>> the one generated from your command. Can you please correct me?
>> 
>
>   I'm likely to get in trouble for this, but frankly I don't
>   really care.
>
>   This list doesn't exist to do *your* job for you.  We are
>   not here to do *your* work.  In the past few months you've
>   done nothing but use the members of this list as your personal
>   "please come do my job for me" group because you choose not to
>   do any research or learning on your own.  While members of the
>   list are quite happy to help people, you're taking advantage of
>   their kindness and patience.  Why should you be paid or earn
>   class credit based on our expertise?  It is not clear whether
>   you are a paid IT person, consultant or just a student learning
>   about the IT field.  But it is also not relevant, as you are
>   just depending on us to do your work.
>
>   There are a bazillion resources on the web, starting with google,
>   that will help you learn *basic* shell scripting as is needed
>   to solve your most current issue.  There exist *many* excellent
>   books on shell scripting; there is also "man bash"; "man awk";
>   "man cut"; "man sed"; etc.  READ THEM.
>
>   Have you taken the time to make use of any of these resources?
>   Have you decided to resort to this list every time something
>   basic is needed that you refuse to take the time to learn so
>   you are able to put together solutions yourself?
>
>   DO YOUR OWN RESEARCH ONCE IN A WHILE.
>
>   You might be amazed at what you can learn when you do so.
>
>   At some point you *will* be in a position where you have a task
>   that needs to be done and you will not have this list to fall
>   back on.  What are you going to do then?  Cry to your boss or your
>   professor that you can't do it because all the people that have
>   been doing your work for you up to that point aren't available?
>
>   If you were working for me I'd terminate you for not making
>   any effort on your own.  If you were a student of mine I would
>   fail you for not expending any effort at learning the material.
>   If you were a consultant I'd make sure you never worked for any
>   company I was a part of and also blacklist you on top of it.
>
>   Really, enough is just enough.
>
>   Enough is also enough with the spoon-feeding.  I realize that most
>   of you are kindhearted souls that delight in helping people and
>   that is, in most cases, to be commended.  But this never-ending
>   spoon-feeding doing Hadi's job for him is not helping him in
>   the least.  Make him stand on his own two feet for a change.
>   It is *obvious* he has made no attempt at resolving the problems
>   he has brought to this list on his own and it has been obvious
>   since his first post.  And yes, I know, we all started somewhere,
>   blah, blah, blah.  While this is indeed true it is *also* true
>   that we spent the time to learn what we needed in order to do
>   our jobs, including the most important of all: how to find the
>   information we need which in this day and age is google or some
>   other search engine.
>
>   (http://stuff.gerdesas.com/images/spoon.png)
>
>   To any on the list *other* than Hadi that I've offended by this
>   post you have my most sincere apologies.  Sorry for wasting your
>   time but this has been building up for a long time.
>
>   
>
>
>   
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
+1

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


[CentOS] Adding Repositories and using yum to download packages

2010-05-11 Thread Jatin Davey
Hi

I am using CentOS 5.3 and after installing the OS i scrolled to the 
/etc/yum.repos.d directory and i could not find any repositories being 
present there. So i googled a bit on adding the repositories and found 
the link:

http://www.osresources.com/index.php?action=artikel&cat=11&id=6&artlang=en

then when i try to install the net-snmp package that i require to 
monitor my box i get the following error:

[r...@sc-devld-1 etc]# yum install net-snmp
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Repository base is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - 5Client is not a 
valid release or hasnt been released yet
Error: Cannot find a valid baseurl for repo: update

Please let me know what needs to be done.

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


Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-11 Thread John R Pierce
Jatin Davey wrote:
> Hi
>
> I am using CentOS 5.3 and after installing the OS i scrolled to the 
> /etc/yum.repos.d directory and i could not find any repositories being 
> present there. So i googled a bit on adding the repositories and found 
> the link:
>
> http://www.osresources.com/index.php?action=artikel&cat=11&id=6&artlang=en
>   

thats some *really* bad advice.  really really bad.  undo everything 
yuou did there, and follow this instead...
http://wiki.centos.org/AdditionalResources/Repositories




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


Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-11 Thread Jatin Davey
On 5/12/2010 11:49 AM, John R Pierce wrote:
> Jatin Davey wrote:
>
>> Hi
>>
>> I am using CentOS 5.3 and after installing the OS i scrolled to the
>> /etc/yum.repos.d directory and i could not find any repositories being
>> present there. So i googled a bit on adding the repositories and found
>> the link:
>>
>> http://www.osresources.com/index.php?action=artikel&cat=11&id=6&artlang=en
>>
>>  
> thats some *really* bad advice.  really really bad.  undo everything
> yuou did there, and follow this instead...
> http://wiki.centos.org/AdditionalResources/Repositories
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

I follwed the link that you have given but in it the explanation is 
given assuming that the Base repo is already present in the 
/etc/yum.repos.d directory but in my box i dont have any files in the 
/etc/yum.repos.d directory.

So how do i add these basic needed repositories. In all my other boxes i 
do have it in the yum/repos.d directory. Please guide me in this regard.

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


Re: [CentOS] Adding Repositories and using yum to download packages

2010-05-11 Thread John R. Dennison
On Wed, May 12, 2010 at 12:18:59PM +0530, Jatin Davey wrote:
> 
> I follwed the link that you have given but in it the explanation is 
> given assuming that the Base repo is already present in the 
> /etc/yum.repos.d directory but in my box i dont have any files in the 
> /etc/yum.repos.d directory.
> 
> So how do i add these basic needed repositories. In all my other boxes i 
> do have it in the yum/repos.d directory. Please guide me in this regard.

You are running some VPS-incarnation of CentOS, aren't you?

Try the following link and follow the applicable steps:

http://wiki.centos.org/TipsAndTricks/BrokenVserver




John
-- 
Most people hate the idea of evolution because they realize that if it were
working properly, they'd be dead.

-- Anonymous


pgpbde57V4s6O.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos