Re: [CentOS] Yum - which repo did a package come from

2009-08-03 Thread John R Pierce
Linux Advocate wrote: > guys, > > i have installed mailscanner, spamassassin, etc on my machine. This was done > sometime ago. Some of these rpms i got not frm centos repos. > > What command ( or yum command ) can i use to find out which repo did this > installled package come from. > > yum inf

Re: [CentOS] Yum - which repo did a package come from

2009-08-03 Thread Frank Cox
On Mon, 03 Aug 2009 23:33:52 -0700 (PDT) Linux Advocate wrote: > What command ( or yum command ) can i use to find out which repo did this > installled package come from. rpm -qi packagename -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

[CentOS] Yum - which repo did a package come from

2009-08-03 Thread Linux Advocate
guys, i have installed mailscanner, spamassassin, etc on my machine. This was done sometime ago. Some of these rpms i got not frm centos repos. What command ( or yum command ) can i use to find out which repo did this installled package come from. yum info packagename just says; repo : ins

Re: [CentOS] help - batch account creation

2009-08-03 Thread Rajagopal Swaminathan
Greetings, On 8/3/09, David Leon wrote: > Hello guys > > I have a new Centos 5.3 running, and I have a text file with a bunch > of accounts (more than 100) that I should create > . > File format is like this > > user1 pasword1 > user2 passwrd2 > > > How can I do this task easier than creatin

Re: [CentOS] excessive DNS slows httpd

2009-08-03 Thread Mike -- EMAIL IGNORED
On Mon, 03 Aug 2009 20:23:18 -0500, Les Mikesell wrote: [...] > Are you doing any proxy passthrough's or rewrites resulting in a proxy? > Or client access permissions based on hostnames. These things might be > specified in a .htaccess file. Also, remember that all the > /etc/httpd/conf.d/*.co

Re: [CentOS] excessive DNS slows httpd

2009-08-03 Thread Les Mikesell
Mike -- EMAIL IGNORED wrote: > On Mon, 03 Aug 2009 20:11:09 -0400, Brian Mathis wrote: > >> What did you revise in your httpd.conf file? My guess is that you >> enabled DNS lookups for the connecting clients. >> > > HostnameLookups Off > > The changes were largely the removal of a lot of common

Re: [CentOS] excessive DNS slows httpd

2009-08-03 Thread Stephen Harris
On Tue, Aug 04, 2009 at 12:33:38AM +, Mike -- EMAIL IGNORED wrote: > On Mon, 03 Aug 2009 20:11:09 -0400, Brian Mathis wrote: > > > What did you revise in your httpd.conf file? My guess is that you > > enabled DNS lookups for the connecting clients. > > > > HostnameLookups Off Precisely. T

Re: [CentOS] excessive DNS slows httpd

2009-08-03 Thread Mike -- EMAIL IGNORED
On Mon, 03 Aug 2009 20:11:09 -0400, Brian Mathis wrote: > What did you revise in your httpd.conf file? My guess is that you > enabled DNS lookups for the connecting clients. > HostnameLookups Off The changes were largely the removal of a lot of common code for s and s to other files and the ad

Re: [CentOS] excessive DNS slows httpd

2009-08-03 Thread Brian Mathis
What did you revise in your httpd.conf file? My guess is that you enabled DNS lookups for the connecting clients. On Mon, Aug 3, 2009 at 7:48 PM, Mike -- EMAIL IGNORED wrote: > My web server is a CentOS box thus: > >   [root ~]# uname -a >   Linux mbrc21 2.6.18-92.1.22.el5 #1 SMP Tue >      Dec

[CentOS] excessive DNS slows httpd

2009-08-03 Thread Mike -- EMAIL IGNORED
My web server is a CentOS box thus: [root ~]# uname -a Linux mbrc21 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux root ~]# rpm -q httpd httpd-2.2.3-22.el5.centos.2 My development and standby is on a Fedora box thus: [root ~]# uname -a L

Re: [CentOS] Split dns issues

2009-08-03 Thread Robert Spangler
On Monday 03 August 2009 00:36, Les Mikesell wrote: > Drew wrote: > >> It's a bit of bad form to use NAT and private addresses at all because > >> the internet really wasn't designed to be segmented, but everyone does > >> it. > > > > Why is NAT bad form? > > I don't mean to imply it should

Re: [CentOS] firewall question

2009-08-03 Thread Lanny Marcus
On Mon, Aug 3, 2009 at 12:48 PM, Filipe Brandenburger wrote: > You might use lokkit -f to prevent reading options from that file, or > just edit that file manually and remove that specific option. > > You might want to look into a more complete and flexible firewall > management script such as sho

Re: [CentOS] Perl Module Question

2009-08-03 Thread Christoph Maser
Am Montag, den 03.08.2009, 23:09 +0200 schrieb Joseph L. Casale: > >There is tons of perl module RPMs in rpmforge. We also take requests > >there. > > Not the few I need. As I said we take request. State your request on repmforge suggest mailinglist. financial.com AG Munich head office/Haupt

Re: [CentOS] Grub fallback problem

2009-08-03 Thread Filipe Brandenburger
On Mon, Aug 3, 2009 at 17:06, Matthias Blankenhaus wrote: > BTW, a new grub2 is on its way and it will replace the current grub ... I think it's been "in development" for about 5 years now, and I still haven't seen anyone use it yet... Vaporware??? :-) Filipe _

Re: [CentOS] Perl Module Question

2009-08-03 Thread Joseph L. Casale
>There is tons of perl module RPMs in rpmforge. We also take requests >there. Not the few I need. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Grub fallback problem

2009-08-03 Thread Matthias Blankenhaus
--- On Mon, 8/3/09, Filipe Brandenburger wrote: > wrote: > > All I can say at this point is "Read the Source, > Luke!" > > I mean: "Use the Source, Luke!" > > Was thinking of "RTFS" when I wrote it before... > This is a new one :) However, I actually figured it out myself. The problem is

Re: [CentOS] Perl Module Question

2009-08-03 Thread Christoph Maser
Am Montag, den 03.08.2009, 21:59 +0200 schrieb Joseph L. Casale: > To safely make Perl modules from CPAN in Solaris, I used this procedure: > > mkdir /opt/cpan > chmod 777 /opt/cpan > chown joe:101 /opt/cpan > PERL5LIB=$PERL5LIB:/opt/cpan > export PERL5LIB > /usr/perl5/bin/perlgcc -MCPAN -e shell >

[CentOS] Perl Module Question

2009-08-03 Thread Joseph L. Casale
To safely make Perl modules from CPAN in Solaris, I used this procedure: mkdir /opt/cpan chmod 777 /opt/cpan chown joe:101 /opt/cpan PERL5LIB=$PERL5LIB:/opt/cpan export PERL5LIB /usr/perl5/bin/perlgcc -MCPAN -e shell Also, ~/.cpan/CPAN/MyConfig.pm specifically had 'makepl_arg' => q[LIB=/opt/cpan

Re: [CentOS] help - batch account creation

2009-08-03 Thread David Leon
thanks, I will try this, it looks like what I'm looking for On 8/3/09, a arias wrote: > Try this: > > while true > do >read username passwd >if [ "$username" == "" ] >then >exit >fi > passwd_hash=$(openssl passwd $passwd) > echo "Using the

Re: [CentOS] help - batch account creation

2009-08-03 Thread David Leon
I found this This command is intended to be used in a large system environment where many accounts are updated at a single time (batch mode). Since username and passwords are stored in clear text format make sure only root can read/write the file. Use chmod command: # touch /root/batch-user-add.

Re: [CentOS] help - batch account creation

2009-08-03 Thread a arias
Try this: while true do read username passwd if [ "$username" == "" ] then exit fi passwd_hash=$(openssl passwd $passwd) echo "Using the following password hash for user "$username": $passwd_hash" /usr/sbin/useradd $username -p "$passwd_hash";

Re: [CentOS] help - batch account creation

2009-08-03 Thread nate
David Leon wrote: > I'm trying to avoid typing every password manually. I just need an > script that makes the job. > > useradd creates the account but still need to setup accpunt's password. > from 'man passwd' --stdin This option is used to indicate that passwd should read

Re: [CentOS] help - batch account creation

2009-08-03 Thread Filipe Brandenburger
Hi, On Mon, Aug 3, 2009 at 14:49, David Leon wrote: > I'm trying to avoid typing every password manually. I just need an > script that makes the job. echo "$password" | passwd --stdin "$username" Obviously, this must be run as root. HTH, Filipe ___ Ce

Re: [CentOS] help - batch account creation

2009-08-03 Thread Dmitry
Use expect/autoexpect + apg tool. Thank you. On 03/08/09 21:49, David Leon wrote: I'm trying to avoid typing every password manually. I just need an script that makes the job. useradd creates the account but still need to setup accpunt's password. On 8/3/09, nate wrote: David Leon wrote

Re: [CentOS] help - batch account creation

2009-08-03 Thread David Leon
I'm trying to avoid typing every password manually. I just need an script that makes the job. useradd creates the account but still need to setup accpunt's password. On 8/3/09, nate wrote: > David Leon wrote: >> Hello guys >> >> I have a new Centos 5.3 running, and I have a text file with a bu

Re: [CentOS] help - batch account creation

2009-08-03 Thread Eduardo Grosclaude
On Mon, Aug 3, 2009 at 3:04 PM, David Leon wrote: > Hello guys > > I have a new Centos 5.3 running, and I have a text file with a bunch > of accounts (more than 100) that I should create > . > File format is like this > > user1 pasword1 > user2 passwrd2 > > > How can I do this task easier than

Re: [CentOS] help - batch account creation

2009-08-03 Thread nate
David Leon wrote: > Hello guys > > I have a new Centos 5.3 running, and I have a text file with a bunch > of accounts (more than 100) that I should create What's the question? How to do it? Parse the text file and use something like useradd to add the accounts, is probably the quickest way. nate

[CentOS] help - batch account creation

2009-08-03 Thread David Leon
Hello guys I have a new Centos 5.3 running, and I have a text file with a bunch of accounts (more than 100) that I should create . File format is like this user1 pasword1 user2 passwrd2 How can I do this task easier than creating user one by one by hand? Need some help for building an scrip

Re: [CentOS] Grub fallback problem

2009-08-03 Thread Filipe Brandenburger
On Mon, Aug 3, 2009 at 13:54, Filipe Brandenburger wrote: > All I can say at this point is "Read the Source, Luke!" I mean: "Use the Source, Luke!" Was thinking of "RTFS" when I wrote it before... Filipe ___ CentOS mailing list CentOS@centos.org http:/

Re: [CentOS] Grub fallback problem

2009-08-03 Thread Filipe Brandenburger
Hi, On Mon, Aug 3, 2009 at 13:44, Matthias Blankenhaus wrote: > I am running CentOS 5 (core pkgs) / x86_64 using grub 0.97 and I am trying to > configure a fallback between two partitions on my local disk, each installed > with a CentOS image.   The idea is to be able to install a new test OS im

Re: [CentOS] firewall question

2009-08-03 Thread Filipe Brandenburger
Hi, On Mon, Aug 3, 2009 at 13:33, Jerry Geis wrote: > This rule gets put in by default: > -A RH-Firewall-1-INPUT -i eth0 -j ACCEPT > > How do I prevent that? I'm not familiar with lokkit, but I believe it will read the file /etc/sysconfig/system-config-securitylevel on startup, so you might alrea

[CentOS] Grub fallback problem

2009-08-03 Thread Matthias Blankenhaus
Hi ! I am posting this again, since I still have the problem and have not been able to resolve this. Please, take a look and comment if you can. Thank you ! I am running CentOS 5 (core pkgs) / x86_64 using grub 0.97 and I am trying to configure a fallback between two partitions on my local disk

Re: [CentOS] firewall question

2009-08-03 Thread Jerry Geis
> > Hi Jerry, > > according your rules you have opened all incoming traffic to interface > eth0 and eth1. > I think that is the issue. Try to remove or modify them -- > > -A RH-Firewall-1-INPUT -i eth0 -j ACCEPT > -A RH-Firewall-1-INPUT -i eth1 -j ACCEPT > Thanks that does do it... I was using

Re: [CentOS] firewall question

2009-08-03 Thread a arias
This is because you have the following rules declared: -A RH-Firewall-1-INPUT -i eth0 -j ACCEPT -A RH-Firewall-1-INPUT -i eth1 -j ACCEPT You should not use these rules because iptables will mark this traffic as valid and will not even try to match any rule defined later in the table. If you want

Re: [CentOS] firewall question

2009-08-03 Thread Sergey Smirnov
Hi Jerry, according your rules you have opened all incoming traffic to interface eth0 and eth1. I think that is the issue. Try to remove or modify them -- -A RH-Firewall-1-INPUT -i eth0 -j ACCEPT -A RH-Firewall-1-INPUT -i eth1 -j ACCEPT Check how your other rules are working - take a look in the

[CentOS] firewall question

2009-08-03 Thread Jerry Geis
My firewall config is below... I am trying to figure out why another machine has access to port 5038 on my machine based on these firewall rules. I thought the reject at the bottom would take care of all other ports? It does not. I have restarted with "server iptables restart" and same thing. I

Re: [CentOS] Split dns issues

2009-08-03 Thread John R Pierce
Jason Pyeron wrote: >> CNAME's can only be used for things that only have an A record. for >> example, you can't use a CNAME for a domain, which needs a SOA, A, NS, MX >> record. >> > > > Not sure if you are ACKing or NAKing? > > Pdinc.us mx 1 smtprelay.pdinc.us > Smtprelay.pdinc.us cname s

Re: [CentOS] Web

2009-08-03 Thread Kenneth Porter
--On Sunday, August 02, 2009 10:31 PM +0200 Kai Schaetzl wrote: > Why? This questions is really not appropriate for this list. To follow up, the Apache web server mailing lists are here: For your other problems, find mailing lists, newsgroups or forums tha

Re: [CentOS] Split dns issues

2009-08-03 Thread Les Mikesell
Jason Pyeron wrote: > >> I'd expect the most common case to be mail user agents that >> have to be specifically configured for the forwarding smtp >> server anyway. > > In fact most are default configurations. An engineer will up an (vm) image, > give > it some tasks to do (temp website, so

Re: [CentOS] Split dns issues

2009-08-03 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of John R Pierce > Sent: Monday, August 03, 2009 12:34 > To: CentOS mailing list > Subject: Re: [CentOS] Split dns issues > > Jason Pyeron wrote: > > I like the idea about the cname. C

Re: [CentOS] Split dns issues

2009-08-03 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Les Mikesell > Sent: Monday, August 03, 2009 12:28 > To: CentOS mailing list > Subject: Re: [CentOS] Split dns issues > > Jason Pyeron wrote: > > > >> Personally, I don't like to

Re: [CentOS] Split dns issues

2009-08-03 Thread John R Pierce
Jason Pyeron wrote: > I like the idea about the cname. Can a cname be used as a host for a MX > record? > CNAME's can only be used for things that only have an A record. for example, you can't use a CNAME for a domain, which needs a SOA, A, NS, MX record. in general, CNAME's should be avo

Re: [CentOS] Split dns issues

2009-08-03 Thread Les Mikesell
Jason Pyeron wrote: > >> Personally, I don't like to rely on features that are >> vendor-specific like that but it might be a quick fix for >> this problem. The real solution would be to configure your >> sending sendmails to use a MAIL_HUB setting - at least any > > Not all of the systems

Re: [CentOS] Split dns issues

2009-08-03 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Les Mikesell > Sent: Monday, August 03, 2009 11:49 > To: CentOS mailing list > Subject: Re: [CentOS] Split dns issues > > Filipe Brandenburger wrote: > > > > On Mon, Aug 3, 2009 at

Re: [CentOS] Split dns issues

2009-08-03 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Filipe Brandenburger > Sent: Monday, August 03, 2009 10:40 > To: CentOS mailing list > Subject: Re: [CentOS] Split dns issues > > Hi, > > On Mon, Aug 3, 2009 at 10:27, Jason Pyeron w

Re: [CentOS] Split dns issues

2009-08-03 Thread Les Mikesell
Filipe Brandenburger wrote: > > On Mon, Aug 3, 2009 at 10:27, Jason Pyeron wrote: >> My worry is the A record for the outsourced mail service is out of our >> control, >> if it were to change it would be catastrophic. > > Well, if you *must* use a name like mx.google.com for your MX, you > could

Re: [CentOS] Split dns issues

2009-08-03 Thread Filipe Brandenburger
Hi, On Mon, Aug 3, 2009 at 10:27, Jason Pyeron wrote: > My worry is the A record for the outsourced mail service is out of our > control, > if it were to change it would be catastrophic. Well, if you *must* use a name like mx.google.com for your MX, you could also set up an mx.google.com domain

Re: [CentOS] server mirroring how to

2009-08-03 Thread Filipe Brandenburger
Hi, 2009/8/1 fabian : > Centos 5.0 server which is used as a If it really is 5.0, I suggest you schedule a maintenance window to apply all the security updates, you should be running the latest release which is 5.3 and apply updates regularly. If you don't, your server might be vulnerable to know

Re: [CentOS] Split dns issues

2009-08-03 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Filipe Brandenburger > Sent: Monday, August 03, 2009 10:10 > To: CentOS mailing list > Subject: Re: [CentOS] Split dns issues > > Hi, > > On Sun, Aug 2, 2009 at 15:16, Jason Pyeron

Re: [CentOS] Split dns issues

2009-08-03 Thread Filipe Brandenburger
Hi, On Sun, Aug 2, 2009 at 15:16, Jason Pyeron wrote: > Now we want to just override the MX records for pdinc.us without having to > merge > or manage all the records for every entry/subdoamin in the zone file for > pdinc.us. Why don't you just set the MX records of pdinc.us to something inside

Re: [CentOS] Weird permission

2009-08-03 Thread John Doe
From: muhammad panji > [r...@clarisa ~]# ls -lha > total 52K > drwxr-xr-x 4 root root 4.0K 2009-08-01 02:38 . > drwxr-xr-x. 23 root root 4.0K 2009-07-31 15:47 .. > drwxr-xr-x 2 root root 4.0K 2009-07-31 15:06 backup > -rw---. 1 root root 14K 2009-08-01 08:34 .bash_history > -rw-r--r--.

Re: [CentOS] State of KVM and CentOS

2009-08-03 Thread Ned Slider
Karanbir Singh wrote: > On 08/03/2009 10:28 AM, Johan Swensson wrote: >> Hi >> >> I was wondering, what is the state on getting a more updated version of KVM >> onto centos? >> I've found some 3rd party repos by I'm curious if one could expect a new >> supported KVM soon or will it not get in unt

Re: [CentOS] PDNS

2009-08-03 Thread Rick Barnes
Jason Pyeron wrote: > In particular do you have any complaints about doing complicated setups? We are using a clustered mysql setup and the pdns servers all connect to the same database. This means no worrying about master-slave XFRs. When changes occur to database such as adding/removing zones, a

[CentOS] CentOS village @ HAR

2009-08-03 Thread Didi
Hey I am just organizing the CentOS village at HAR and need a rough estimate of people who will be attending. What do people want? Shall the CentOS people have their own party tent? We are currently with the Fedora people. I will also post on the SL mailing list. Hope to see you all at HAR? Che

Re: [CentOS] CentOS on Acer Laptop

2009-08-03 Thread lostson
On Mon, 2009-08-03 at 01:11 +0100, Karanbir Singh wrote: > > Having the liveCD around is always a good idea anyway > Amen! -- LostSon http://lostsonsvault.org centOS its not just for servers... signature.asc Description: This is a digitally signed message part ___

Re: [CentOS] State of KVM and CentOS

2009-08-03 Thread Karanbir Singh
On 08/03/2009 10:28 AM, Johan Swensson wrote: > Hi > > I was wondering, what is the state on getting a more updated version of KVM > onto centos? > I've found some 3rd party repos by I'm curious if one could expect a new > supported KVM soon or will it not get in until EL6? > we are expecting KV

Re: [CentOS] State of KVM and CentOS

2009-08-03 Thread Kai Schaetzl
Johan Swensson wrote on Mon, 3 Aug 2009 11:28:32 +0200 (CEST): > I was wondering, what is the state on getting a more updated version of KVM > onto centos? > I've found some 3rd party repos by I'm curious if one could expect > a new supported KVM soon or will it not get in until EL6? upstream kn

[CentOS] State of KVM and CentOS

2009-08-03 Thread Johan Swensson
Hi I was wondering, what is the state on getting a more updated version of KVM onto centos? I've found some 3rd party repos by I'm curious if one could expect a new supported KVM soon or will it not get in until EL6? ___ CentOS mailing list CentOS@cen

Re: [CentOS] Can not modprobe acpi-cpufreq.ko in CentOS 5.2

2009-08-03 Thread Ian jonhson
On Mon, Aug 3, 2009 at 1:04 PM, Ian jonhson wrote: >> I had similar problem in the past. I used 586 kernel and it didn't work. >> Do you have 686 kernel? If yes, can you send us the output of the >> following commands: >> >> # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies >

[CentOS] Connection to Microsoft ISA 2006 via IPsec

2009-08-03 Thread Peter Hopfgartner
Dear list members, has anybody successfully established a VPN connection with CentOS to a VPN served by a Micorosft ISO 2006 server (IPsec + tunnel mode)? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart