Re: [CentOS] How can i share my WAN ip to my LAN?

2008-01-23 Thread Tolun ARDAHANLI
Hi again to everyone;

Guys your mails are very nice... i liked all of them...

let me give you about my system and my need(sorry for writing these late)...

I've got an IBM x3650 server which is open 7d/24h. It has got 2 ethernet
card. I would like to connect my LAN to WAN over this machine...

LAN(there are 3machines):
start ip:192.168.10.10
end ip: 192.168.10.12
gateway address of users:192.168.10.13(my server's LAN side ip address)
LAN side Server ip: 192.168.10.13

WAN(this ip comes from behind of swicth. the switch is behind of firewall
and firewall is behind of router):
WAN side Server ip: 10.10.1.223
gateway address of Server:10.10.1.111

this is my network chances...:( i cant change them cause our company has
strong rules for these addresses... I want to share my WAN side ip address
to my LAN side...

How can I do that on my CENTos installed server?

thanks a lot to everybody...




2008/1/22, Dennis McLeod <[EMAIL PROTECTED]>:
>
> I have an IPcop box setup at work. Using squidguard to keep customers from
> surfing porn while they are in our waiting room. (On a completely separate
> DSL connection..)
>
> I have an Astaro Security Gateway setup at home (on a Dell p3 precision
> 220). Free home license, do FAR more than your typical broadband router.
> Not
> a small learning curve, though. Wireless is through a D-link DWL-7100(I
> think) access point in the attic.
> I have a Linksys wrt54g (original version) with openWRT, but it's just
> there
> for backup.
>
> Any of the above will accomplish your goal...
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Alain Spineux
> Sent: Tuesday, January 22, 2008 6:52 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] How can i share my WAN ip to my LAN?
>
> On Jan 22, 2008 3:17 PM, William L. Maltby <[EMAIL PROTECTED]>
> wrote:
> > On Tue, 2008-01-22 at 14:49 +0100, Alain Spineux wrote:
> > > On Jan 22, 2008 8:46 AM, Tolun ARDAHANLI <[EMAIL PROTECTED]
> >
> wrote:
> > > > Hi everybody...
> > > >
> > > > How can I share my WAN ip to my LAN? How can I do that I really
> > > > dont know...:( I am using linux long time ago but this kind I
> > > > would like to do newly...
> > >
> > > Buy a small router/modem, ask your ISP for suggestions.
> > > This is cheap (<100$), no need to keep your computer always turned
> > > on, very easy to configure if you nead more features (port
> > > forwarding for skype, games, p2p, ), have some builtint feature
> > > (dhcp, DNS proxy). Also think about wireless ..
> > > This is probably more secure, not because centos/linux is not, but
> > > because you dont know what you are doing.
> > >
> > > Of course this is less fun
> >
> > Well, I wasn't going to suggest, but since the topic of alternatives
> > is open...
>
> :-)
>
> Of course the main idea is to avoid to have a non firewall dedicated linux
> (like centos is) configured by someone without to much network knowledge
> be
> in front of Internet.
>
> >
> > If you have an older available computer laying around, check out IPCop
> >
> > http://www.ipcop.org/
> >
> > free, has lots of features, runs reliably, I've been on it for years,
> > as have others on this list. Biggest gripe I have is docs could be a
> > little better - they tend to not get updated to stay up with the
> software.
> >
> > >
> > > Regards.
> > >
> > > >
> > > > Can anybody help me about IP sharing in Centos?
> > > >
> > > > thanks alot...
> > > >
> > > >
> > > > --
> > > > Tolun ARDAHANLI
> > > > Bilgisayar Muhendisi
> > > > E-posta:[EMAIL PROTECTED]
> > > > Icq:326600
> > > >
> > > > --
> > > > --
> > > >
> > > > Tolun ARDAHANLI
> > > > Computer Engineer
> > > > E-mail:[EMAIL PROTECTED]
> > > > Icq:326600
> > > >
> >
> > HTH
> > --
> > Bill
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
> ___
> 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
>



-- 
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta:[EMAIL PROTECTED]
Icq:326600



Tolun ARDAHANLI
Computer Engineer
E-mail:[EMAIL PROTECTED]
Icq:326600
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How can i share my WAN ip to my LAN?

2008-01-23 Thread John Bowden
On Tuesday 22 January 2008 14:52:19 Alain Spineux wrote:
> On Jan 22, 2008 3:17 PM, William L. Maltby <[EMAIL PROTECTED]> wrote:
> > On Tue, 2008-01-22 at 14:49 +0100, Alain Spineux wrote:
> > > On Jan 22, 2008 8:46 AM, Tolun ARDAHANLI <[EMAIL PROTECTED]> 
wrote:
> > > > Hi everybody...
> > > >
> > > > How can I share my WAN ip to my LAN? How can I do that I really dont
> > > > know...:( I am using linux long time ago but this kind I would like
> > > > to do newly...
> > >
> > > Buy a small router/modem, ask your ISP for suggestions.
> > > This is cheap (<100$), no need to keep your computer always turned on,
> > > very easy to configure
> > > if you nead more features (port forwarding for skype, games, p2p,
> > > ), have some builtint feature (dhcp, DNS proxy). Also think about
> > > wireless .. This is probably more secure, not because centos/linux
> > > is not, but because you dont know what you are doing.
> > >
> > > Of course this is less fun
> >
> > Well, I wasn't going to suggest, but since the topic of alternatives is
> > open...
> >
> :-)
>
> Of course the main idea is to avoid to have a non firewall dedicated
> linux (like centos is) configured by
> someone without to much network knowledge be in front of Internet.
>
> > If you have an older available computer laying around, check out IPCop
> >
> > http://www.ipcop.org/
> >
> > free, has lots of features, runs reliably, I've been on it for years, as
> > have others on this list. Biggest gripe I have is docs could be a little
> > better - they tend to not get updated to stay up with the software.
> >
> > > Regards.
> > >
> > > > Can anybody help me about IP sharing in Centos?
> > > >
> > > > thanks alot...
> > > >
> > > >
> > > > --
> > > > Tolun ARDAHANLI
> > > > Bilgisayar Muhendisi
> > > > E-posta:[EMAIL PROTECTED]
> > > > Icq:326600
> > > >
> > > > -
> > > >---
> > > >
> > > > Tolun ARDAHANLI
> > > > Computer Engineer
> > > > E-mail:[EMAIL PROTECTED]
> > > > Icq:326600
> > > >
> >
> > HTH
> > --
> > Bill
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos

Have a look at Smoothwall. Once its set up just keep an eye on the updates, 
via a web browser.
www.smoothwall.org  or .com if you want to put your hand inn your pocket.

-- 
Guy Fawkes, the only man to enter the house's of Parliament
with honest intentions, (he was going to blow them up!)
Registered Linux user number 414240
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Why iptables are not working?

2008-01-23 Thread Tolun ARDAHANLI
Hi;

in our server we dont have "iptables" command! and i am trying to install it
with that

yum -y install iptables

after this command it says that "...nothings to do". Do you have any
suggestion for installing the iptables?

thanks a lot

Note:
CENTos 5.1 is istalled...

-- 
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta:[EMAIL PROTECTED]
Icq:326600



Tolun ARDAHANLI
Computer Engineer
E-mail:[EMAIL PROTECTED]
Icq:326600
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Ralph Angenendt
Tolun ARDAHANLI wrote:
> Hi;
> 
> in our server we dont have "iptables" command! and i am trying to install it
> with that
> 
> yum -y install iptables
> 
> after this command it says that "...nothings to do". 

What does "ls -l /sbin/iptables" say? What is the output of "rpm -q
iptables"?

If both of those come back with nothing:

What is the output of "uname -a"?

Cheers,

Ralph


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


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Daniel de Kok
On 1/23/08, Tolun ARDAHANLI <[EMAIL PROTECTED]> wrote:
> in our server we dont have "iptables" command! and i am trying to install it
> with that
>
> yum -y install iptables
>
> after this command it says that "...nothings to do". Do you have any
> suggestion for installing the iptables?

Then it's probably installed, which you can check with:
rpm -q iptables

Note that iptables is in /sbin. So, if you are changing to root, use
su with a dash (-) to make sure that the PATH variable is updated:

su -

If not, you'll have to specify the full path to the iptables command.

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


[CentOS] Re: Why iptables are not working?

2008-01-23 Thread Tolun ARDAHANLI
hi;
the output of those commands are listed below... but i see that i cant reach
to iptables if i am opening a console in Gnome(however i give su- command
but still was the same problem)... But if I am opening directly the console
with pressing ctrl+f1 and giving root and password of it than i can use
iptables command!!!

# ls -l /sbin/iptables
-rwxr-xr-x 1 root root 57408 Jan  6  2007 /sbin/iptables
# rpm -q iptables
iptables-1.3.5-1.2.1

thanks to all



2008/1/23, Tolun ARDAHANLI <[EMAIL PROTECTED]>:
>
> Hi;
>
> in our server we dont have "iptables" command! and i am trying to install
> it with that
>
> yum -y install iptables
>
> after this command it says that "...nothings to do". Do you have any
> suggestion for installing the iptables?
>
> thanks a lot
>
> Note:
> CENTos 5.1 is istalled...
>
> --
> Tolun ARDAHANLI
> Bilgisayar Muhendisi
> E-posta:[EMAIL PROTECTED]
> Icq:326600
>
>
> 
>
> Tolun ARDAHANLI
> Computer Engineer
> E-mail:[EMAIL PROTECTED]
> Icq:326600




-- 
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta:[EMAIL PROTECTED]
Icq:326600



Tolun ARDAHANLI
Computer Engineer
E-mail:[EMAIL PROTECTED]
Icq:326600
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Wireless DELL M90 with CentOS 5.1

2008-01-23 Thread MOKRANI Rachid
Hi,

I have a laptop DELL M90 with an Intel PRO/Wireless 3945ABG card. 

After installed new rpm drivers (see below), my card is recognized and I can 
see my wireless acces point with (iwlist - iwconfig) but it's impossible to 
connect to it. It seem that I can't obtain an IP address. In the log message I 
have "dhclient : DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval )


The same laptop installed in Windows XP connect imediatly to my wireless acces 
point. Other Windows XP laptops can connect immediatly so. 

My laptop is installed with CentOS 5.1 - kernel 2.6.18-53.el5
 

Any help ?
Best Regards.


I have installed the following rpm :

ieee80211-kmdl-2.6.18-53.el5-1.2.18-21.el5.x86_64.rpm
ipw3945-ucode-1.14.2-4.at.noarch.rpm
ipw3945d-1.7.22-4.at.x86_64.rpm
ipw3945-kmdl-2.6.18-53.el5-1.2.0-18.4.el5.x86_64.rpm
ipw3945-1.2.0-18.4.el5.x86_64.rpm


I'm using the following script in the booting process for recognizd the card.


#! /bin/sh
#
# Intel Pro/wireless 3945BG:   ipw3945d deamon
#
#chkconfig: 35 20 86
#description: This is a daemon for automatically switching \
#ipw3945d on to get access to any AP.
#

# Source function library.
. /etc/rc.d/init.d/functions

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DESC="Intel PRO/Wireless 3945BG"
NAME=ipw3945d
SCRIPTNAME=/etc/init.d/ipw3945

# Hopefully exit if the package has been removed.
test -x $SCRIPTNAME || exit 0

# Loads the driver and starts the regulatory daemon
load() {
   /sbin/modprobe --ignore-install ipw3945
   /sbin/ipw3945d --timeout=-1 --quiet
}

# Unloads the driver (killing the regulatory daemon)
unload() {
   /sbin/ipw3945d --kill 2>/dev/null
   /sbin/modprobe -r --ignore-remove ipw3945
}

case "$1" in
 start|restart)
   echo -n "Starting $DESC: $NAME"
   unload
   sleep 3
   load
   sleep 3
   echo "."
   ;;
 stop)
   echo -n "Stopping $DESC: $NAME"
   unload
   echo "."
   ;;
 *)
   echo "Usage: $0 {start|stop|restart}"
   exit 1
esac

exit 0


__

Ce message (et toutes ses pièces jointes éventuelles) est confidentiel et 
établi à l'intention exclusive de ses destinataires. Toute utilisation de ce 
message non conforme à sa destination, toute diffusion ou toute publication, 
totale ou partielle, est interdite, sauf autorisation expresse. L'IFP décline 
toute responsabilité au titre de ce message.

This message and any attachments (the message) are confidential and intended 
solely for the addressees. Any unauthorised use or dissemination is prohibited. 
IFP should not be liable for this message.

Visitez notre site Web / Visit our web site : http://www.ifp.fr
__
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] glibc

2008-01-23 Thread Centos

Hello

Can we have different version of glibc on the same server ?

Thanks

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


[CentOS] Re: machine responsiveness with centos 5.1

2008-01-23 Thread Jerry Geis


I would recommend you install the systat rpm and then use sar and 
iostat commands to see if you can identify where the bottleneck is 
occurring.


  


I installed sysstat  and played with it a little - wasnt getting anywhere.
I did some looking last night and came across a kernel tweak
echo 10 > /proc/sys/vm/swappiness

This has help the responsiveness during the rsync to the external USB drive
which was the worst case.

Thanks,

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


Re: [CentOS] glibc

2008-01-23 Thread Ed Donahue
You can. just install it in a different location.

On Jan 23, 2008 8:44 AM, Centos <[EMAIL PROTECTED]> wrote:

> Hello
>
> Can we have different version of glibc on the same server ?
>
> Thanks
>
> ___
> 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


AW: [CentOS] Re: Why iptables are not working?

2008-01-23 Thread Marc Rebischke
Hi,

Does the Path "/sbin" exist in the File
".bash_profile" of User root ?

If not you may add the path to the file.
Maybe that could help you

The other way is, that you call iptables
With the full path "/sbin/iptables". That
Should also work well if you don't want
To edit .bash_profile (why ever).


Regards
Marc Rebischke

- Ursprüngliche Nachricht -
Von: Tolun ARDAHANLI <[EMAIL PROTECTED]>
Gesendet: Mittwoch, 23. Januar 2008 14:39
An: CentOS mailing list 
Betreff: [CentOS] Re: Why iptables are not working?

hi;
the output of those commands are listed below... but i see that i cant reach to 
iptables if i am opening a console in Gnome(however i give su- command but 
still was the same problem)... But if I am opening directly the console with 
pressing ctrl+f1 and giving root and password of it than i can use iptables 
command!!! 

# ls -l /sbin/iptables
-rwxr-xr-x 1 root root 57408 Jan  6  2007 /sbin/iptables
# rpm -q iptables
iptables-1.3.5-1.2.1

thanks to all



2008/1/23, Tolun ARDAHANLI < [EMAIL PROTECTED]>:
Hi;

in our server we dont have "iptables" command! and i am trying to install it 
with that

yum -y install iptables

after this command it says that "...nothings to do". Do you have any suggestion 
for installing the iptables?

thanks a lot

Note:
CENTos 5.1 is istalled...

--
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta: [EMAIL PROTECTED]
Icq:326600



Tolun ARDAHANLI
Computer Engineer
E-mail: [EMAIL PROTECTED] 
Icq:326600 


-- 
Tolun ARDAHANLI
Bilgisayar Muhendisi
E-posta:[EMAIL PROTECTED]
Icq:326600

 

Tolun ARDAHANLI
Computer Engineer
E-mail:[EMAIL PROTECTED]
Icq:326600___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recommend a mini or nano ITX system for Centos

2008-01-23 Thread Robert Moskowitz
I am looking into convising the boss to get me a mini-itx system to 
replace my workhorse notebook (I have to have a corp notebook and I can 
remote terminal into a Centos server from it).


So I have been playing with one mini-itx system (the decTOP) and am 
looking at my options.


I want a fast processor, 1Gb memory, LAN, 4USB, VGA.  Wireless and 
bluetooth optional USB dongles along with a second LAN interface).  PCI 
slot optional (for said wireless, bluetooth or LAN!).


Smallest footprint and power draw are the other key factors.  As well as 
being able to run Centos and maybe also being able to go into memory or 
swap suspend!  External power supply so I can use an alternate battery 
powerpak on the road.  It would be s neat if I could put it in a 
pocket!  The nano-itx boards almost make that possible.  For a drive I 
would be using either a 8gb CF micro harddrive or perhaps an ipod drive 
with an IDE interface (something I have to learn more about).


So what do you know about nano and mini ITX compatiblity to Centos.  And 
complete systems?



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


Re: [CentOS] Recommend a mini or nano ITX system for Centos

2008-01-23 Thread Ralph Angenendt
Robert Moskowitz wrote:
> I want a fast processor, 1Gb memory, LAN, 4USB, VGA.  Wireless and 
> bluetooth optional USB dongles along with a second LAN interface).  PCI 
> slot optional (for said wireless, bluetooth or LAN!).

For a mainboard, you might want to look into the Intel D201GLY2 -
. Although
the Xorg hardware driver needs a patch, AFAIR. Well, there is always
VESA if you don't need xvideo ...

Cheers,

Ralph


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


Re: [CentOS] MySQL and charsets: latin1 vs. utf8

2008-01-23 Thread Niki Kovacs

Warren Young a écrit :


I think what you mean to ask is, can you run the mysql command line tool 
in a different character set than the system default, so that when it 
prints out text, it goes to the terminal with the correct character set. 
 The answer is, yes:


$ LANG=fr_FR mysql -uDBUSER -p


Thanks for your reply! Your suggestion solved the problem partially. 
When I create tables manually and fill them manually, french characters 
get displayed correctly. Example:


mysql> select * from pet;
+--+-+-+--+++
| name | owner   | species | sex  | birth  | death  |
+--+-+-+--+++
| Fluffy   | Harold  | cat | f| 1993-02-04 | NULL   |
| Claws| Gwen| cat | m| 1994-03-17 | NULL   |
| Whistler | Gwen| bird| NULL | 1997-12-09 | NULL   |
| Bowser   | Diane   | dog | m| 1979-08-31 | 1995-07-29 |
| Bamboù   | Jérôme  | dog | m| 1999-01-20 | NULL   |
| Diégo| Héloïse | cat | m| 1998-01-21 | NULL   |


But when I try, for example, to restore a database from a latin1-encoded 
dumpfile, it results in a loss of all my special chars, e. g. "Hélène" 
becomes "Hlne", "Marylène" becomes "Marylne", and so on.


Any idea how this could work?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Internet usage monitoring

2008-01-23 Thread Dennis McLeod
You mean to audit where people are going?
We have a (vendor provided) Websense server. Contract was for 3 years
(longer than I've been here). It'll be up soon. At the current rate, it's
about a 12,000.00/year savings to go to squid.
I have already put up a Centos5 box with Squid, and squidguard for testing
(on an old IBM NetVista workstation P3). Sarge looks good for reports, I
really don't need the advanced reporting features, just the actual BLOCKING
part, and a little bit of auditing. We really just want the legal liability
issue covered.
I won't bother with the transparent part, just restrict access out to the
internet in the firewall to the squid box only, which will force the client
machines to use the proxy settings. I would dump those down to the machine
as part of a logon script. I'd probably set a few machines (the owner,
myself, and any server that DOES need to go to the internet) to be able to
go around the proxy too.

I also currently USE an IPcop box on my public internet access (we provide a
couple of pc's plus wireless access for customers) in our waiting areas.
It also has the squidguard add-in. We had a couple of instances where
customers were surfing porn in our waiting area. I put that up in less than
a day, on an old Compaq P3, with a 10g drive. I have a standalone D-Link
access point to provide the wireless. I can look through the squid and
squidguard logs to see where people have been. It goes out a completely
separate DSL account.

I also tried out Cyfin Reporter (Google: wavecrest) in anticipation, in
order to generate internet usage reports. I copied the squid logs, both from
the ipcop box and from my test box, over to my PC (XP), setup Cyfin
reporter, and got BEAUTIFUL reports. I used Cyblock ISA (an older product
that integrated with ISA Server 2000) at a previous employer, and can
honestly say I've never seen easier to read and understand reports
(especially when you need to send it to an HR person, you don't have to
explain everything.)

The ONLY issue I have to work out is the reporting method. It's a workgroup
environment on XP, with local logon. I am forced to report based on IP
address, vs logon name. I'm working on the domain logon part...

If you mean Traffic to the internet, I use MRTG to query my switches and
routers. I have a webpage on my intranet that puts all the graphs together.


Dennis

 


 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of dnk
Sent: Tuesday, January 22, 2008 4:48 PM
To: Centos List
Subject: [CentOS] Internet usage monitoring

I was just curious what other admins were using to monitor internet
usage just a squid transparent proxy with something like sarge?

Thanks!

dnk
___
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] Internet usage monitoring

2008-01-23 Thread Dennis McLeod
Sorry if my last reply was off base.

He said "internet usage" which I took as client machines surfing
webpages
I would have replied different if it was "internet traffic".
I guess I just "heard" it differently...
Anyway, I hope it was useful for someone
Dennis




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of John R Pierce
Sent: Tuesday, January 22, 2008 8:26 PM
To: CentOS mailing list
Subject: Re: [CentOS] Internet usage monitoring

jarmo wrote:
> How about webalizer?
> http://www.mrunix.net/webalizer/
>   

thats for analyzing a webserver's logs. poster dnk wanted to monitor 
his internet usage, which I assume is router traffic.
___
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] Is there any problem with updates repo ?????

2008-01-23 Thread Filipe Brandenburger
Hi,

I saw that yum solved the problem of getting metadata of old mirrors
recently:
http://devel.linux.duke.edu/gitweb/?p=yum.git;a=commit;h=c3d6b0458742a32caf36ff3c6f03f8ef2426

Any chance to get an updated yum in CentOS-plus?

I would report this upstream, if I knew how to...

Tks!
Filipe



On Jan 12, 2008 6:42 PM, Manuel Enrique Chavez Manzano <[EMAIL PROTECTED]>
wrote:

> when I tried to update my centos i got this message
> ...

Reading repository metadata in from local files
> primary.xml.gz100% |=| 834 kB
> 00:00
> ## 2400/2400
> primary.xml.gz100% |=|  87 kB
> 00:00
> http://mirror.centos.org/centos/5/updates/i386/repodata/primary.xml.gz:
> [Errno -1] Metadata file does not match checksum
> Trying other mirror.
> Error: failure: repodata/primary.xml.gz from updates: [Errno 256] No
> more mirrors to try.
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Worth upgrading desktop to 5.1?

2008-01-23 Thread Sean Carolan
I am using CentOS 5.0 on my desktop workstation.  Are there any deeply 
compelling reasons to upgrade to version 5.1?  I read through the release 
notes but didn't see any whiz-bang new features.  Perhaps some of you can 
share your personal experience letting us know if you have noticed any 
differences, etc.

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


Re: [CentOS] Worth upgrading desktop to 5.1?

2008-01-23 Thread Ralph Angenendt
Sean Carolan wrote:
> I am using CentOS 5.0 on my desktop workstation.  Are there any deeply 
> compelling reasons to upgrade to version 5.1?  I read through the release 
> notes but didn't see any whiz-bang new features.  Perhaps some of you can 
> share your personal experience letting us know if you have noticed any 
> differences, etc.

Want to have security updates?

5.0 does not exist anymore. 5.0 was CentOS 5 Update 0. 5.1 is CentOS 5
Update 1. 5.0 will not get any security updates.

 is worth a read.

Ah yes, and the next "yum update" will take you to 5.1.

Cheers,

Ralph


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


Re: [CentOS] Worth upgrading desktop to 5.1?

2008-01-23 Thread Sean Carolan

Want to have security updates?


That depends.  If the security update is for a local vulnerability on my own 
single-user workstation then I may think twice before installing it.  In other 
words, if the security risk is minimal then it may not be worth the hassle of 
upgrading my kernel and having to recompile custom drivers and programs.


I spent a lot of time tweaking my system to get it set up the way I like, and 
I don't completely trust yum not to screw things up.  For example, why not 
just disable the older kernel instead of deleting it:


--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.18-8.1.8.el5 set to be erased
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Wireless DELL M90 with CentOS 5.1

2008-01-23 Thread Scott Silva

on 1/23/2008 5:49 AM MOKRANI Rachid spake the following:

Hi,

I have a laptop DELL M90 with an Intel PRO/Wireless 3945ABG card.

After installed new rpm drivers (see below), my card is recognized and I 
can see my wireless access point with (iwlist - iwconfig) but it's 
impossible to connect to it. It seem that I can't obtain an IP address. 
In the log message I have "dhclient : DHCPDISCOVER on eth1 to 
255.255.255.255 port 67 interval )



The same laptop installed in Windows XP connect immediately to my wireless 
access point. Other Windows XP laptops can connect immediately so.


My laptop is installed with CentOS 5.1 - kernel 2.6.18-53.el5
 


Do you have any encryption on the access point?


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



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


Re: [CentOS] Worth upgrading desktop to 5.1?

2008-01-23 Thread Frank Cox
On Wed, 23 Jan 2008 11:48:20 -0600
Sean Carolan <[EMAIL PROTECTED]> wrote:

> For example, why not 
> just disable the older kernel instead of deleting it:

You can set that as an option in yum.conf .  However, you do run the chance of
running out of space in /boot if you get too many kernels piled up there.  The
default is to keep the last 2 (or 3?) kernels and delete the older ones.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Scott Silva

on 1/23/2008 9:05 AM Sean Carolan spake the following:
I am using CentOS 5.0 on my desktop workstation.  Are there any deeply 
compelling reasons to upgrade to version 5.1?  I read through the 
release notes but didn't see any whiz-bang new features.  Perhaps some 
of you can share your personal experience letting us know if you have 
noticed any differences, etc.
5.0 and 5.1 are not different versions. 5.1 is just 5.0 with the latest 
security patches.
Thinking that 5.0 and 5.1 are different is like thinking Windows XP wit 
service pack 2 is a different OS than Windows XP with service pack 1.


So, yes there are deeply compelling reasons to upgrade. If you want to have 
patches for several kernel buffer exploits, as well as many other security and 
functionality patches, you need to do one thing;


yum upgrade, and answer yes.

Or even easier;
yum -y upgrade.

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



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


Re: [CentOS] Recommend a mini or nano ITX system for Centos

2008-01-23 Thread Robert Moskowitz



Ralph Angenendt wrote:

Robert Moskowitz wrote:
  
I want a fast processor, 1Gb memory, LAN, 4USB, VGA.  Wireless and 
bluetooth optional USB dongles along with a second LAN interface).  PCI 
slot optional (for said wireless, bluetooth or LAN!).



For a mainboard, you might want to look into the Intel D201GLY2 -
. Although
the Xorg hardware driver needs a patch, AFAIR. Well, there is always
VESA if you don't need xvideo ...
  
If I am doing the gnome console via FreeNX (or VNC for that matter), am 
I using the video driver on the client (my Linux notebook) or my 
mini-ITX server?  I would think the former, so this should not be a 
concern

Cheers,

Ralph
  



___
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] Worth upgrading desktop to 5.1?

2008-01-23 Thread Sean Carolan

You can set that as an option in yum.conf .  However, you do run the chance of
running out of space in /boot if you get too many kernels piled up there.  The
default is to keep the last 2 (or 3?) kernels and delete the older ones.


I wonder why it is trying to delete a newer kernel than the one I'm using?  I 
generally put an exclude=kernel* line in my yum.conf to keep this from 
happening.

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


Re: [CentOS] Internet usage monitoring

2008-01-23 Thread dnk
Yup. One of my clients want to add this ability to their already in
place centos firewall.

Dnk

On Jan 22, 2008 6:11 PM, Craig Van Ham <[EMAIL PROTECTED]> wrote:
> Are you doing this for yourself or to monitor users on a network?
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of John R Pierce
> Sent: Tuesday, January 22, 2008 7:42 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Internet usage monitoring
>
> dnk wrote:
> > I was just curious what other admins were using to monitor internet
> > usage just a squid transparent proxy with something like sarge?
> >
>
>
> ntop for snapshot analysis
>
> cacti/rdtool for long term traffic graphing (this replaces the venerable
> mrtg)
>
>
> ___
> 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Worth upgrading desktop to 5.1?

2008-01-23 Thread Frank Cox
On Wed, 23 Jan 2008 12:24:42 -0600
Sean Carolan <[EMAIL PROTECTED]> wrote:

> I wonder why it is trying to delete a newer kernel than the one I'm using?

It won't delete the kernel that you're currently running.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Sean Carolan
So, yes there are deeply compelling reasons to upgrade. If you want to 
have patches for several kernel buffer exploits, as well as many other 
security and functionality patches, you need to do one thing;


yum upgrade, and answer yes.

Or even easier;
yum -y upgrade.


When I have some time to re-compile VMWare server modules, my graphics driver, 
vpn client and wifi driver I may consider updating.  If in the meantime a pack 
of ninjas breaks in and owns my box with a local buffer overrun exploit, well, 
you can't say I wasn't warned.

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


Re: [CentOS] Internet usage monitoring

2008-01-23 Thread dnk
Thanks to all for the pointers. I will likely go with a squid based
(transparent or some sort of iptables rules) proxy, as some of the
users there are on roaming laptops, and I do not want them to have to
reset proxy settings, etc.

Much appreciated.

dnk

On Jan 23, 2008 10:26 AM, dnk <[EMAIL PROTECTED]> wrote:
> Yup. One of my clients want to add this ability to their already in
> place centos firewall.
>
> Dnk
>
>
> On Jan 22, 2008 6:11 PM, Craig Van Ham <[EMAIL PROTECTED]> wrote:
> > Are you doing this for yourself or to monitor users on a network?
> >
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> > Of John R Pierce
> > Sent: Tuesday, January 22, 2008 7:42 PM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Internet usage monitoring
> >
> > dnk wrote:
> > > I was just curious what other admins were using to monitor internet
> > > usage just a squid transparent proxy with something like sarge?
> > >
> >
> >
> > ntop for snapshot analysis
> >
> > cacti/rdtool for long term traffic graphing (this replaces the venerable
> > mrtg)
> >
> >
> > ___
> > 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Why iptables are not working?

2008-01-23 Thread Steven Vishoot

--- Tolun ARDAHANLI <[EMAIL PROTECTED]>
wrote:

> hi;
> the output of those commands are listed below... but
> i see that i cant reach
> to iptables if i am opening a console in
> Gnome(however i give su- command
> but still was the same problem)... But if I am
> opening directly the console
> with pressing ctrl+f1 and giving root and password
> of it than i can use
> iptables command!!!
> 
> # ls -l /sbin/iptables
> -rwxr-xr-x 1 root root 57408 Jan  6  2007
> /sbin/iptables
> # rpm -q iptables
> iptables-1.3.5-1.2.1
> 
> thanks to all
> 
> 
> 
> 2008/1/23, Tolun ARDAHANLI
> <[EMAIL PROTECTED]>:
> >
> > Hi;
> >
> > in our server we dont have "iptables" command! and
> i am trying to install
> > it with that
> >
> > yum -y install iptables
> >
> > after this command it says that "...nothings to
> do". Do you have any
> > suggestion for installing the iptables?
> >
> > thanks a lot
> >
> > Note:
> > CENTos 5.1 is istalled...
> >
> > --
> > Tolun ARDAHANLI
> > Bilgisayar Muhendisi
> > E-posta:[EMAIL PROTECTED]
> > Icq:326600
> >
> >
> >
>

> >
> > Tolun ARDAHANLI
> > Computer Engineer
> > E-mail:[EMAIL PROTECTED]
> > Icq:326600
> 
> 
> 
> 
> -- 
> Tolun ARDAHANLI
> Bilgisayar Muhendisi
> E-posta:[EMAIL PROTECTED]
> Icq:326600
> 
>

> 
> Tolun ARDAHANLI
> Computer Engineer
> E-mail:[EMAIL PROTECTED]
> Icq:326600
> > ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
Hello,

It looks like you did not put a space between the su
and dash. It should be su - not su- this should solve
your su problems.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Barry Brimer
Quoting Sean Carolan <[EMAIL PROTECTED]>:

> > So, yes there are deeply compelling reasons to upgrade. If you want to
> > have patches for several kernel buffer exploits, as well as many other
> > security and functionality patches, you need to do one thing;
> >
> > yum upgrade, and answer yes.
> >
> > Or even easier;
> > yum -y upgrade.
>
> When I have some time to re-compile VMWare server modules, my graphics
> driver,
> vpn client and wifi driver I may consider updating.  If in the meantime a
> pack
> of ninjas breaks in and owns my box with a local buffer overrun exploit,
> well,
> you can't say I wasn't warned.

It may not work for all things, but have you looked at dkms?


Dag/rpmforge has packages as well.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Scott Silva

on 1/23/2008 10:43 AM Barry Brimer spake the following:

Quoting Sean Carolan <[EMAIL PROTECTED]>:


So, yes there are deeply compelling reasons to upgrade. If you want to
have patches for several kernel buffer exploits, as well as many other
security and functionality patches, you need to do one thing;

yum upgrade, and answer yes.

Or even easier;
yum -y upgrade.

When I have some time to re-compile VMWare server modules, my graphics
driver,
vpn client and wifi driver I may consider updating.  If in the meantime a
pack
of ninjas breaks in and owns my box with a local buffer overrun exploit,
well,
you can't say I wasn't warned.


It may not work for all things, but have you looked at dkms?


Dag/rpmforge has packages as well.

And 5.x has the newer weak-updates module options.

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



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


[CentOS] limiting cron's capability?

2008-01-23 Thread Scott Ehrlich
Is it possible to prevent cron from executing something in a world-readable 
directory, or a directory branching off a world-readable directory?


Thanks.

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


Re: [CentOS] Recommend a mini or nano ITX system for Centos

2008-01-23 Thread Ralph Angenendt
Robert Moskowitz wrote:
> If I am doing the gnome console via FreeNX (or VNC for that matter), am I 
> using the video driver on the client (my Linux notebook) or my mini-ITX 
> server?  I would think the former, so this should not be a concern

No, it shouldn't. I just wanted to make you (or others) aware of that.

Cheers,

Ralph


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


[CentOS] Had to POWER OFF CentOS 5.1!

2008-01-23 Thread Frank M. Ramaekers
I was running a simple script and the system became unresponsive.  I
went to the console and couldn't get it to respond, so I had to POWER
OFF!   Ugh!

(Note: this script, get-backup, ran fine on a CentOS 4.5 system)

Looking through /var/log/messages, I see:


Jan 23 12:52:14 DoyleBrunson kernel: ps invoked oom-killer:
gfp_mask=0xd0, order=0, oomkilladj=0
Jan 23 12:52:14 DoyleBrunson kernel:  []
out_of_memory+0x72/0x1a4
Jan 23 12:52:14 DoyleBrunson kernel:  []
__alloc_pages+0x201/0x282
Jan 23 12:52:14 DoyleBrunson kernel:  []
proc_info_read+0x0/0x96
Jan 23 12:52:14 DoyleBrunson kernel:  []
__get_free_pages+0x25/0x31
Jan 23 12:52:14 DoyleBrunson kernel:  []
proc_info_read+0x38/0x96
Jan 23 12:52:14 DoyleBrunson kernel:  []
proc_info_read+0x0/0x96
Jan 23 12:52:14 DoyleBrunson kernel:  [] vfs_read+0x9f/0x141
Jan 23 12:52:14 DoyleBrunson kernel:  [] sys_read+0x3c/0x63
Jan 23 12:52:14 DoyleBrunson kernel:  [] syscall_call+0x7/0xb
Jan 23 12:52:14 DoyleBrunson kernel:  ===
Jan 23 12:52:14 DoyleBrunson kernel: Mem-info:
Jan 23 12:52:14 DoyleBrunson kernel: DMA per-cpu:
Jan 23 12:52:19 DoyleBrunson kernel: cpu 0 hot: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 0 cold: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 1 hot: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 1 cold: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 2 hot: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 2 cold: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 3 hot: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: cpu 3 cold: high 0, batch 1 used:0
Jan 23 12:52:19 DoyleBrunson kernel: DMA32 per-cpu: empty
Jan 23 12:52:19 DoyleBrunson kernel: Normal per-cpu:
Jan 23 12:52:19 DoyleBrunson kernel: cpu 0 hot: high 186, batch 31
used:30
Jan 23 12:52:19 DoyleBrunson kernel: cpu 0 cold: high 62, batch 15
used:51
Jan 23 12:52:19 DoyleBrunson kernel: cpu 1 hot: high 186, batch 31
used:18
Jan 23 12:52:19 DoyleBrunson kernel: cpu 1 cold: high 62, batch 15
used:57
Jan 23 12:52:19 DoyleBrunson kernel: cpu 2 hot: high 186, batch 31
used:124
Jan 23 12:52:19 DoyleBrunson kernel: cpu 2 cold: high 62, batch 15
used:48
Jan 23 12:52:19 DoyleBrunson kernel: cpu 3 hot: high 186, batch 31
used:27
Jan 23 12:52:19 DoyleBrunson kernel: cpu 3 cold: high 62, batch 15
used:49
Jan 23 12:52:19 DoyleBrunson kernel: HighMem per-cpu:
Jan 23 12:52:19 DoyleBrunson kernel: cpu 0 hot: high 186, batch 31
used:26
Jan 23 12:52:19 DoyleBrunson kernel: cpu 0 cold: high 62, batch 15
used:58
Jan 23 12:52:19 DoyleBrunson kernel: cpu 1 hot: high 186, batch 31
used:34
Jan 23 12:52:19 DoyleBrunson kernel: cpu 1 cold: high 62, batch 15
used:52
Jan 23 12:52:19 DoyleBrunson kernel: cpu 2 hot: high 186, batch 31
used:10
Jan 23 12:52:19 DoyleBrunson kernel: cpu 2 cold: high 62, batch 15
used:49
Jan 23 12:52:19 DoyleBrunson kernel: cpu 3 hot: high 186, batch 31
used:29
Jan 23 12:52:19 DoyleBrunson kernel: cpu 3 cold: high 62, batch 15
used:32
Jan 23 12:52:19 DoyleBrunson kernel: Free pages:   63200kB (55988kB
HighMem)
Jan 23 12:52:19 DoyleBrunson kernel: Active:352452 inactive:210731
dirty:0 writeback:11 unstable:0 free:15800 slab:207608 mapped-file:8236
mapped-anon:538350 pagetables:249759
Jan 23 12:52:19 DoyleBrunson kernel: DMA free:3588kB min:68kB low:84kB
high:100kB active:0kB inactive:0kB present:16384kB pages_scanned:0
all_unreclaimable? yes
Jan 23 12:52:19 DoyleBrunson kernel: lowmem_reserve[]: 0 0 880 4272
Jan 23 12:52:19 DoyleBrunson kernel: DMA32 free:0kB min:0kB low:0kB
high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0
all_unreclaimable? no
Jan 23 12:52:19 DoyleBrunson kernel: lowmem_reserve[]: 0 0 880 4272
Jan 23 12:52:19 DoyleBrunson kernel: Normal free:3624kB min:3756kB
low:4692kB high:5632kB active:128kB inactive:68kB present:901120kB
pages_scanned:236678 all_unreclaimable? yes
Jan 23 12:52:19 DoyleBrunson kernel: lowmem_reserve[]: 0 0 0 27136
Jan 23 12:52:19 DoyleBrunson kernel: HighMem free:55988kB min:512kB
low:4132kB high:7756kB active:1409680kB inactive:842856kB
present:3473408kB pages_scanned:80861 all_unreclaimable? no
Jan 23 12:52:19 DoyleBrunson kernel: lowmem_reserve[]: 0 0 0 0
Jan 23 12:52:19 DoyleBrunson kernel: DMA: 1*4kB 0*8kB 0*16kB 0*32kB
0*64kB 0*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3588kB
Jan 23 12:52:19 DoyleBrunson kernel: DMA32: empty
Jan 23 12:52:19 DoyleBrunson kernel: Normal: 106*4kB 18*8kB 9*16kB
3*32kB 0*64kB 2*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB =
3624kB
Jan 23 12:52:19 DoyleBrunson kernel: HighMem: 5627*4kB 2159*8kB 507*16kB
89*32kB 10*64kB 6*128kB 9*256kB 3*512kB 0*1024kB 0*2048kB 0*4096kB =
55988kB
Jan 23 12:52:19 DoyleBrunson kernel: Swap cache: add 511830, delete
487616, find 8872/16819, race 0+0
Jan 23 12:52:19 DoyleBrunson kernel: Free swap  = 260420kB
Jan 23 12:52:19 DoyleBrunson kernel: Total swap = 2031608kB
Jan 23 12:52:19 DoyleBrunson kernel: Free swap:   260420kB
Jan 

Re: [CentOS] Had to POWER OFF CentOS 5.1!

2008-01-23 Thread Joshua Baker-LePain

On Wed, 23 Jan 2008 at 1:38pm, Frank M. Ramaekers wrote


I was running a simple script and the system became unresponsive.  I
went to the console and couldn't get it to respond, so I had to POWER
OFF!   Ugh!

(Note: this script, get-backup, ran fine on a CentOS 4.5 system)

Looking through /var/log/messages, I see:

Jan 23 12:52:14 DoyleBrunson kernel: ps invoked oom-killer:

*snip*

Ideas as to a methodology to diagnose the problem?


Figure out what part of your script is taking up so much memory.

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Garrick Staples
On Wed, Jan 23, 2008 at 12:29:52PM -0600, Sean Carolan alleged:
> When I have some time to re-compile VMWare server modules, my graphics 
> driver, vpn client and wifi driver I may consider updating.  If in the 

If this is a problem, then you are doing it wrong.

Either use one of the existing solutions like dkms or weak-modules, or just
put the necessary commands in a file and run it.



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


Re: [CentOS] Had to POWER OFF CentOS 5.1!

2008-01-23 Thread nate
Frank M. Ramaekers wrote:
> I was running a simple script and the system became unresponsive.  I
> went to the console and couldn't get it to respond, so I had to POWER
> OFF!   Ugh!
>
> (Note: this script, get-backup, ran fine on a CentOS 4.5 system)
>

> Ideas as to a methodology to diagnose the problem?

Monitor memory usage while the script is running, there is an apparent
leak somewhere. The system ran out of memory and tried to kill some stuff
but sometimes it isn't successful in killing enough in time and the system
will hang.

nate

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


Re: [CentOS] limiting cron's capability?

2008-01-23 Thread Garrick Staples
On Wed, Jan 23, 2008 at 02:02:38PM -0500, Scott Ehrlich alleged:
> Is it possible to prevent cron from executing something in a world-readable 
> directory, or a directory branching off a world-readable directory?

Aren't all cronjobs generally already in world-readable directories?



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


Re: [CentOS] Had to POWER OFF CentOS 5.1!

2008-01-23 Thread Les Mikesell

Frank M. Ramaekers wrote:

I was running a simple script and the system became unresponsive.  I
went to the console and couldn't get it to respond, so I had to POWER
OFF!   Ugh!

(Note: this script, get-backup, ran fine on a CentOS 4.5 system)

Looking through /var/log/messages, I see:

Jan 23 12:52:19 DoyleBrunson kernel: 249759 pages pagetables
Jan 23 12:52:19 DoyleBrunson kernel: Out of memory: Killed process 2757
(java).
Jan 23 12:52:19 DoyleBrunson kernel: get-backup invoked oom-killer:



Ideas as to a methodology to diagnose the problem?


You are out of RAM.  Did the other system have more RAM or swap 
available?  Also, if your backup is rsync based, it needs to put the 
entire directory listing for the transfer into memory before it starts 
with a certain amount needed per file.  Perhaps you can break the runs 
up into smaller sections.


--
  Les Mikesell
  [EMAIL PROTECTED]


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


[CentOS] Hot swapping sata drives

2008-01-23 Thread Jerry Geis
I have a two external USB drives only 1 is connected to centos 5.1 at a 
time.

the USB drive is SLOW compared to SATA.
The external drive suppots both connections USB and SATA.

I bought  a little $5 external SATA connector that goes into the
PCI slot area (does not actually take a PCI slot just the backpanel)
and just plugs back into one of the available SATA
ports on the motherboard.

When I turn off the external drive and put the other drive on
the connection and then power on will SATA handle that automatically?
Is there a command I need to run to tell it check for new disks?

Is this possible?
Will I have to reboot to get the swapped external disk detected.

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


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Les Mikesell

Sean Carolan wrote:
So, yes there are deeply compelling reasons to upgrade. If you want to 
have patches for several kernel buffer exploits, as well as many other 
security and functionality patches, you need to do one thing;


yum upgrade, and answer yes.

Or even easier;
yum -y upgrade.


When I have some time to re-compile VMWare server modules, my graphics 
driver, vpn client and wifi driver I may consider updating.  If in the 
meantime a pack of ninjas breaks in and owns my box with a local buffer 
overrun exploit, well, you can't say I wasn't warned.


If you want to keep your existing kernel for a while, just change the 
grub default back after the update installs the new one.  Then you can 
switch, reboot, and rebuild the necessary stuff whenever you have a chance.


--
   Les Mikesell
[EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Bobby
On Wednesday 23 January 2008 14:43:17 Garrick Staples wrote:
> On Wed, Jan 23, 2008 at 12:29:52PM -0600, Sean Carolan alleged:
> > When I have some time to re-compile VMWare server modules, my graphics
> > driver, vpn client and wifi driver I may consider updating.  If in the
>
> If this is a problem, then you are doing it wrong.
>
> Either use one of the existing solutions like dkms or weak-modules, or just
> put the necessary commands in a file and run it.

I'd find it odd that you would need to recompile your vpn client and wifi (not 
that I ever used or installed wifi.) nVidia -- yes, but that is soo smooth 
with dkms it's invisible these days.

VMWare does a simple rebuild to stay current and that's that. Without 
remembering the details and look it up each time I'm done inside 5 minutes. 

-- 

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


Re: [CentOS] Hot swapping sata drives

2008-01-23 Thread Les Mikesell

Jerry Geis wrote:
I have a two external USB drives only 1 is connected to centos 5.1 at a 
time.

the USB drive is SLOW compared to SATA.
The external drive suppots both connections USB and SATA.

I bought  a little $5 external SATA connector that goes into the
PCI slot area (does not actually take a PCI slot just the backpanel)
and just plugs back into one of the available SATA
ports on the motherboard.

When I turn off the external drive and put the other drive on
the connection and then power on will SATA handle that automatically?
Is there a command I need to run to tell it check for new disks?

Is this possible?
Will I have to reboot to get the swapped external disk detected.


This depends on the controller - some don't provide hotplug support. 
There is some info here http://linuxmafia.com/faq/Hardware/sata.html.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Sean Carolan
If you want to keep your existing kernel for a while, just change the 
grub default back after the update installs the new one.  Then you can 
switch, reboot, and rebuild the necessary stuff whenever you have a chance.


Thanks, this is probably what I will end up doing.  I tend to err on the side 
of caution when applying updates, especially a single-user box that is not 
exposing any inbound ports or services to the Internet.

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


Re: [CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Les Mikesell

Sean Carolan wrote:
If you want to keep your existing kernel for a while, just change the 
grub default back after the update installs the new one.  Then you can 
switch, reboot, and rebuild the necessary stuff whenever you have a 
chance.


Thanks, this is probably what I will end up doing.  I tend to err on the 
side of caution when applying updates, especially a single-user box that 
is not exposing any inbound ports or services to the Internet.


Updates are almost never cause problems in CentOS since they have been 
through fairly extensive testing and don't introduce big changes (that 
is they stay on the side of caution already).  Perhaps you are used to 
more aggressive update policies like you would see in fedora.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] limiting cron's capability?

2008-01-23 Thread Scott Ehrlich

On Wed, 23 Jan 2008, Garrick Staples wrote:


On Wed, Jan 23, 2008 at 02:02:38PM -0500, Scott Ehrlich alleged:

Is it possible to prevent cron from executing something in a world-readable
directory, or a directory branching off a world-readable directory?


Aren't all cronjobs generally already in world-readable directories?




My error - I meant preventing from world _writable_ directories, or 
subdirs of world writable dirs.


Thanks for any leads.

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


[CentOS] HA software advice

2008-01-23 Thread Scott McClanahan
We are in need of some very basic software that will give us the ability
to swing an ip address from one host to another during controlled
maintenance or host failure.  For now the IP address will be the only
resource that is shared and there will never be a need for shared
storage.  Eventually we may want to monitor processes for health
(probably just read in pid file) and it would be great if the
recommended software had this ability as well but not completely
necessary.  The process monitoring part is just me trying to think ahead
but it definitely wouldn't be needed in the near future.

Ideally, this should be light weight user land code that hopefully
already comes easily with the distribution :)

Any suggestions?  Thanks.

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


Re: [CentOS] HA software advice

2008-01-23 Thread Scott McClanahan
I neglected one obvious detail, this will running on 32 bit CentOS 5.1.

On Wed, 2008-01-23 at 15:51 -0500, Scott McClanahan wrote:
> We are in need of some very basic software that will give us the ability
> to swing an ip address from one host to another during controlled
> maintenance or host failure.  For now the IP address will be the only
> resource that is shared and there will never be a need for shared
> storage.  Eventually we may want to monitor processes for health
> (probably just read in pid file) and it would be great if the
> recommended software had this ability as well but not completely
> necessary.  The process monitoring part is just me trying to think ahead
> but it definitely wouldn't be needed in the near future.
> 
> Ideally, this should be light weight user land code that hopefully
> already comes easily with the distribution :)
> 
> Any suggestions?  Thanks.
> 
> ___
> 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] HA software advice

2008-01-23 Thread Tomas Ruprich
yum install heartbeat 

Very robust, very reliable, easy to configure, easy to use :-) We use it 
for almost every critical server for about 3 years without any problem.

http://www.linux-ha.org/

  Tomáš Ruprich <[EMAIL PROTECTED]>
  DCD IICT MUAF Brno 
  tel.: +420 545 132 885, +420 602 127 744
  [EMAIL PROTECTED]

Wed, Jan 23, 2008 ve 03:51:13PM -0500, Scott McClanahan napsal:
> We are in need of some very basic software that will give us the ability
> to swing an ip address from one host to another during controlled
> maintenance or host failure.  For now the IP address will be the only
> resource that is shared and there will never be a need for shared
> storage.  Eventually we may want to monitor processes for health
> (probably just read in pid file) and it would be great if the
> recommended software had this ability as well but not completely
> necessary.  The process monitoring part is just me trying to think ahead
> but it definitely wouldn't be needed in the near future.
> 
> Ideally, this should be light weight user land code that hopefully
> already comes easily with the distribution :)
> 
> Any suggestions?  Thanks.
> 
> ___
> 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] HA software advice

2008-01-23 Thread Scott McClanahan

On Wed, 2008-01-23 at 22:20 +0100, Tomas Ruprich wrote:
> yum install heartbeat 
> 
> Very robust, very reliable, easy to configure, easy to use :-) We use it 
> for almost every critical server for about 3 years without any problem.
> 
> http://www.linux-ha.org/
> 
>   Tomáš Ruprich <[EMAIL PROTECTED]>
>   DCD IICT MUAF Brno 
>   tel.: +420 545 132 885, +420 602 127 744
>   [EMAIL PROTECTED]
> 

I had originally considered heartbeat but just didn't know if version 2
was overkill.  It's a pretty capable package and I just didn't want to
get in over my head for this project.  Is version 2 still pretty simple
if you want it to be?

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


Re: [CentOS] HA software advice

2008-01-23 Thread Tomas Ruprich
Wed, Jan 23, 2008 ve 04:24:43PM -0500, Scott McClanahan napsal:
> 
> On Wed, 2008-01-23 at 22:20 +0100, Tomas Ruprich wrote:
> > yum install heartbeat 
> > 
> > Very robust, very reliable, easy to configure, easy to use :-) We use it 
> > for almost every critical server for about 3 years without any problem.
> > 
> > http://www.linux-ha.org/
> > 
> >   Tomáš Ruprich <[EMAIL PROTECTED]>
> >   DCD IICT MUAF Brno 
> >   tel.: +420 545 132 885, +420 602 127 744
> >   [EMAIL PROTECTED]
> > 
> 
> I had originally considered heartbeat but just didn't know if version 2
> was overkill.  It's a pretty capable package and I just didn't want to
> get in over my head for this project.  Is version 2 still pretty simple
> if you want it to be?
> 

Well, exactly as you say... if you want it to be, it can be still pretty 
simple :) 

I don't know any software which could be simplier and still so reliable
for mission critical usage.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Robert Spangler
On Wednesday 23 January 2008 06:25, Tolun ARDAHANLI wrote:

>  in our server we dont have "iptables" command! and i am trying to install
> it with that
>
>  yum -y install iptables
>
>  after this command it says that "...nothings to do". Do you have any
>  suggestion for installing the iptables?
>
>  thanks a lot

It is most likely installed as this is default unless you tell the install 
program not to install it.

To start IPTALBES:

 service iptables start

To ensure it starts all the time on reboot:

 chkconf --level 2345 iptables on


-- 

Regards
Robert

Smile... it increases your face value!
Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hot swapping sata drives

2008-01-23 Thread Timothy Selivanow

On Wed, 2008-01-23 at 14:14 -0600, Les Mikesell wrote:
> Jerry Geis wrote:
> > I have a two external USB drives only 1 is connected to centos 5.1 at a 
> > time.
> > the USB drive is SLOW compared to SATA.
> > The external drive suppots both connections USB and SATA.
> > 
> > I bought  a little $5 external SATA connector that goes into the
> > PCI slot area (does not actually take a PCI slot just the backpanel)
> > and just plugs back into one of the available SATA
> > ports on the motherboard.
> > 
> > When I turn off the external drive and put the other drive on
> > the connection and then power on will SATA handle that automatically?
> > Is there a command I need to run to tell it check for new disks?
> > 
> > Is this possible?
> > Will I have to reboot to get the swapped external disk detected.
> 
> This depends on the controller - some don't provide hotplug support. 
> There is some info here http://linuxmafia.com/faq/Hardware/sata.html.

Here's probably the same info and more, in a easier to read format
(feature matrix).  Plus has added bonus of coming from the proverbial
horse's mouth :)

http://linux-ata.org/driver-status.html#matrix


--Tim
 ___ 
/ Isn't it strange that the same people that laugh at gypsy fortune \
\ tellers take economists seriously?/
 --- 
  \
   \   \
\ /\
( )
  .( o ).

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


[CentOS] Re: Worth upgrading desktop to 5.1?

2008-01-23 Thread Scott Silva

on 1/23/2008 12:19 PM Sean Carolan spake the following:
If you want to keep your existing kernel for a while, just change the 
grub default back after the update installs the new one.  Then you can 
switch, reboot, and rebuild the necessary stuff whenever you have a 
chance.


Thanks, this is probably what I will end up doing.  I tend to err on the 
side of caution when applying updates, especially a single-user box that 
is not exposing any inbound ports or services to the Internet.
It is only safe if the machine has NO outside contact, incoming or outgoing. 
IE ... net cable unplugged, modem unplugged. Maybe even floppy and cd-rom 
unplugged.


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



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


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread John R Pierce

Robert Spangler wrote:

On Wednesday 23 January 2008 06:25, Tolun ARDAHANLI wrote:

  

 in our server we dont have "iptables" command! and i am trying to install
it with that

 yum -y install iptables

 after this command it says that "...nothings to do". Do you have any
 suggestion for installing the iptables?

 thanks a lot



It is most likely installed as this is default unless you tell the install 
program not to install it.


To start IPTALBES:

 service iptables start

To ensure it starts all the time on reboot:

 chkconf --level 2345 iptables on
  



that doesn't actually 'start iptables', rather that sets it so the 
system firewall scripts are run at startup.


/sbin/iptables isn't actually a service, its a command line tool for 
manipulating and displaying the kernel firewall rule tables.the 
/etc/init.d/iptables 'service' script runs the rules scripts in 
/etc/sysconfig/iptables and -config files, which in turn are configured 
by lokkit or whatever.



anyone building custom firewall rules, with smoothwall or whatever, will 
probably use a different startup script...  I frequently call mine 
/etc/rc.d/rc.firewall and invoke it from my own /etc/init.d/firewall 
'service' entry.

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


[CentOS] Amanda oddity (amcheck)

2008-01-23 Thread David G. Miller
I'm slowly getting everything back to normal here after swapping 
motherboards on my server.  I also took the opportunity to bring the 
server up to CentOS 5.  I'm still getting services working but I have 
one oddity with amanda.  Ever since I upgraded the server to CentOS 5, 
amcheck dies and gives me a backtrace if there are no available tapes.  
amcheck works fine if the expected next tape is in my tape changer.  If 
it's time to change tapes, I get:


*** glibc detected *** /usr/sbin/amcheck: double free or corruption (fasttop): 
0x09fb1a28 ***
=== Backtrace: =
/lib/libc.so.6[0x9e1aa6]
/lib/libc.so.6(cfree+0x90)[0x9e4fc0]
/usr/sbin/amcheck[0x820e03]
/usr/sbin/amcheck(main+0xc2d)[0x82291d]
/lib/libc.so.6(__libc_start_main+0xdc)[0x990dec]
/usr/sbin/amcheck[0x81da01]
=== Memory map: 
0011-00135000 r-xp  09:02 2378087/lib/libm-2.5.so
00135000-00136000 r-xp 00024000 09:02 2378087/lib/libm-2.5.so
00136000-00137000 rwxp 00025000 09:02 2378087/lib/libm-2.5.so
00137000-0014 r-xp  09:02 2378088/lib/libnss_files-2.5.so
0014-00141000 r-xp 8000 09:02 2378088/lib/libnss_files-2.5.so
00141000-00142000 rwxp 9000 09:02 2378088/lib/libnss_files-2.5.so
002cd000-002d8000 r-xp  09:02 2378249
/lib/libgcc_s-4.1.2-20070626.so.1
002d8000-002d9000 rwxp a000 09:02 2378249
/lib/libgcc_s-4.1.2-20070626.so.1
0046b000-0047a000 r-xp  09:02 2378128/lib/libresolv-2.5.so
0047a000-0047b000 r-xp e000 09:02 2378128/lib/libresolv-2.5.so
0047b000-0047c000 rwxp f000 09:02 2378128/lib/libresolv-2.5.so
0047c000-0047e000 rwxp 0047c000 00:00 0 
006ab000-006be000 r-xp  09:02 2378125/lib/libnsl-2.5.so

006be000-006bf000 r-xp 00012000 09:02 2378125/lib/libnsl-2.5.so
006bf000-006c rwxp 00013000 09:02 2378125/lib/libnsl-2.5.so
006c-006c2000 rwxp 006c 00:00 0 
0081c000-00825000 r-xp  09:02 4560646/usr/sbin/amcheck

00825000-00826000 rwxp 8000 09:02 4560646/usr/sbin/amcheck
008eb000-00904000 r-xp  09:02 2378079/lib/ld-2.5.so
00904000-00905000 r-xp 00019000 09:02 2378079/lib/ld-2.5.so
00905000-00906000 rwxp 0001a000 09:02 2378079/lib/ld-2.5.so
0093a000-0093b000 r-xp 0093a000 00:00 0  [vdso]
0097b000-00ab5000 r-xp  09:02 2378081/lib/libc-2.5.so
00ab5000-00ab7000 r-xp 0013a000 09:02 2378081/lib/libc-2.5.so
00ab7000-00ab8000 rwxp 0013c000 09:02 2378081/lib/libc-2.5.so
00ab8000-00abb000 rwxp 00ab8000 00:00 0 
00ae7000-00aea000 r-xp  09:02 2378258/lib/libtermcap.so.2.0.8

00aea000-00aeb000 rwxp 2000 09:02 2378258/lib/libtermcap.so.2.0.8
00dfb000-00e1b000 r-xp  09:02 4953736/usr/lib/libamserver-2.5.0p2.so
00e1b000-00e1d000 rwxp 0001f000 09:02 4953736/usr/lib/libamserver-2.5.0p2.so
00e1d000-00e1f000 rwxp 00e1d000 00:00 0 
00ed-00eda000 r-xp  09:02 4674895/usr/lib/libamtape-2.5.0p2.so

00eda000-00edb000 rwxp 9000 09:02 4674895/usr/lib/libamtape-2.5.0p2.so
00f9c000-00fbd000 r-xp  09:02 4675888/usr/lib/libamanda-2.5.0p2.so
00fbd000-00fbe000 rwxp 00021000 09:02 4675888/usr/lib/libamanda-2.5.0p2.so
00fbe000-00fdd000 rwxp 00fbe000 00:00 0 
09fab000-09fcc000 rw-p 09fab000 00:00 0 
b7e0-b7e21000 rw-p b7e0 00:00 0 
b7e21000-b7f0 ---p b7e21000 00:00 0 
b7f86000-b7f89000 rw-p b7f86000 00:00 0 
b7f92000-b7f94000 rw-p b7f92000 00:00 0 
bfa86000-bfa9b000 rw-p bfa86000 00:00 0  [stack]

Amanda Tape Server Host Check
-
Holding disk /share2/stage: 120193720 kB disk space available, using 120091320 
kB


Nothing jumps out at me when I Google for the error.  Tape drive and 
changer are:


[EMAIL PROTECTED] etc]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 04 Lun: 00
 Vendor: HP   Model: C1557A   Rev: U709
 Type:   Sequential-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 01
 Vendor: HP   Model: C1557A   Rev: U709
 Type:   Medium Changer   ANSI SCSI revision: 02

Everything appears to work correctly otherwise (tape changer changes 
tapes, backups get done, etc.).  Just amcheck and only when the next 
tape isn't in the changer is a problem.


Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

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


[CentOS] crontab - corrected version

2008-01-23 Thread Scott Ehrlich
So I want to see if there is a way to restrict crontab from running an 
executable or anything else from a world-writable directory, or subdirectory 
thereof.


Thanks.

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


Re: [CentOS] crontab - corrected version

2008-01-23 Thread Marko A. Jennings
On Wed, January 23, 2008 8:16 pm, Scott Ehrlich wrote:
> So I want to see if there is a way to restrict crontab from running an
> executable or anything else from a world-writable directory, or
> subdirectory thereof.

One way of accomplishing that is to mount the file system that holds the
directory in question with the noexec option.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Fedora user moving to CentOS

2008-01-23 Thread Tim Alberts
Greetings, I'm a Fedora user likely going to switch to CentOS in the 
next few days.  I'm wondering if anyone has some heads up advice for 
me?  I am very familiar with FC6 and before so I anticipate few problems 
I haven't already seen (and know were fixed).


The main reason for the move is so I don't have to re-install so 
frequently and hopefully not have to deal with so many daily updates.  I 
would use the 'upstream vendor' (respectfully), but I work under no IT $ 
budget.


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


Re: [CentOS] crontab - corrected version

2008-01-23 Thread Garrick Staples
On Wed, Jan 23, 2008 at 08:16:27PM -0500, Scott Ehrlich alleged:
> So I want to see if there is a way to restrict crontab from running an 
> executable or anything else from a world-writable directory, or 
> subdirectory thereof.

Not in any way I can think of.



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


Re: [CentOS] Why iptables are not working?

2008-01-23 Thread Robert Spangler
On Wednesday 23 January 2008 17:58, John R Pierce wrote:

>  >
>  > It is most likely installed as this is default unless you tell the
>  > install program not to install it.
>  >
>  > To start IPTALBES:
>  >
>  >  service iptables start
>  >
>  > To ensure it starts all the time on reboot:
>  >
>  >  chkconf --level 2345 iptables on
>
>  that doesn't actually 'start iptables', rather that sets it so the
>  system firewall scripts are run at startup.

Step 2 you are correct but you failed to look at step 1 which DOES START the 
firewall.


-- 

Regards
Robert

Smile... it increases your face value!
Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fedora user moving to CentOS

2008-01-23 Thread Jonathan Berry
On Jan 23, 2008 7:38 PM, Tim Alberts <[EMAIL PROTECTED]> wrote:
> Greetings, I'm a Fedora user likely going to switch to CentOS in the
> next few days.  I'm wondering if anyone has some heads up advice for
> me?  I am very familiar with FC6 and before so I anticipate few problems
> I haven't already seen (and know were fixed).
>
> The main reason for the move is so I don't have to re-install so
> frequently and hopefully not have to deal with so many daily updates.  I
> would use the 'upstream vendor' (respectfully), but I work under no IT $
> budget.

As I understand it, CentOS 5 is basically RHEL 5, which is based on
Fedora Core 6.  So I think it is safe to say that you will be at home
in CentOS.  Sounds like it is what you need.

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


[CentOS] Why Kudzu, Why?

2008-01-23 Thread Michael Semcheski
So I have a CentOS 5 machine, which I recently did a 'yum update' on.
Everything went fine, but I rebooted as a precaution (just to confront
any problems which might arise the first time after an update).

And sure enough, when the machine came back up, the network didn't
work.  Luckilly, someone said (and I quote) 'mv
/etc/sysconfig/networking-scripts/ifcfg-eth0.bak
/etc/sysconfig/networking-scripts/ifcfg-eth0 and blame kudzu'...

So, what did I do wrong, or what should I have done differently?
What's the reasoning behind this?  I'll bet there is some rationale,
and I'd like to understand it.

Thanks,

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


Re: [CentOS] Fedora user moving to CentOS

2008-01-23 Thread Michael A. Peters

Tim Alberts wrote:
Greetings, I'm a Fedora user likely going to switch to CentOS in the 
next few days.  I'm wondering if anyone has some heads up advice for 
me?  I am very familiar with FC6 and before so I anticipate few problems 
I haven't already seen (and know were fixed).


The main reason for the move is so I don't have to re-install so 
frequently and hopefully not have to deal with so many daily updates.  I 
would use the 'upstream vendor' (respectfully), but I work under no IT $ 
budget.




I moved from FC6 to CentOS 5 and almost everything is peachy as can be 
for me.
On my lan "utility" server, everything worked exactly as expected - it 
was the first time ever that I installed a new OS on that machine and 
never had to reboot into the previous install root until I ironed things 
out w/ new install. Everything just worked (except for tdfx driver for 
voodoo3 which I had to patch but that machine is actually headless most 
of the time).


On my laptop (IBM Thinkpad T20) - at the beginning of FC6 - it did not 
properly suspend, and when shutting down, sometimes it would power off 
the drive but fail to power off the laptop itself.


By the end of FC6 - suspend worked perfectly and powering down always 
worked perfectly. CentOS is currently like early FC6 in that respect - 
suspend does not work properly, and when shutting down, it sometimes 
does not power the laptop off.


Those are minor to me though - as I rarely want to use suspend and I can 
manually power it off if the acpi poweroff fails.

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


Re: [CentOS] Why Kudzu, Why?

2008-01-23 Thread Michael A. Peters

Michael Semcheski wrote:

So I have a CentOS 5 machine, which I recently did a 'yum update' on.
Everything went fine, but I rebooted as a precaution (just to confront
any problems which might arise the first time after an update).

And sure enough, when the machine came back up, the network didn't
work.  Luckilly, someone said (and I quote) 'mv
/etc/sysconfig/networking-scripts/ifcfg-eth0.bak
/etc/sysconfig/networking-scripts/ifcfg-eth0 and blame kudzu'...

So, what did I do wrong, or what should I have done differently?
What's the reasoning behind this?  I'll bet there is some rationale,
and I'd like to understand it.


I don't know but I always disable kudzu after initial install on 
machines that don't change hardware because I've had similar things 
happen to me in pre-fedora redhat. I leave it on my laptop though.

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


Re: [CentOS] Why Kudzu, Why?

2008-01-23 Thread John R Pierce

Michael Semcheski wrote:

So I have a CentOS 5 machine, which I recently did a 'yum update' on.
Everything went fine, but I rebooted as a precaution (just to confront
any problems which might arise the first time after an update).

And sure enough, when the machine came back up, the network didn't
work.  Luckilly, someone said (and I quote) 'mv
/etc/sysconfig/networking-scripts/ifcfg-eth0.bak
/etc/sysconfig/networking-scripts/ifcfg-eth0 and blame kudzu'...

So, what did I do wrong, or what should I have done differently?
What's the reasoning behind this?  I'll bet there is some rationale,
and I'd like to understand it.
  



I'd probably have diff'd the files before overwriting to see wtf was hosed.


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


Re: [CentOS] Why Kudzu, Why?

2008-01-23 Thread Michael Semcheski
On Jan 23, 2008 10:02 PM, John R Pierce <[EMAIL PROTECTED]> wrote:
> I'd probably have diff'd the files before overwriting to see wtf was hosed.

That was my first thought.

There was no ifcfg-eth0, only ifcfg-eth0.bak.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Why Kudzu, Why?

2008-01-23 Thread Michael Semcheski
On Jan 23, 2008 9:59 PM, Michael A. Peters <[EMAIL PROTECTED]> wrote:
> I don't know but I always disable kudzu after initial install on
> machines that don't change hardware because I've had similar things
> happen to me in pre-fedora redhat. I leave it on my laptop though.

The machine in question is a Xen virtual machine -- I don't anticipate
too many hardware changes, so I'll probably disable kudzu.  Will do a
little bit of diligence on it first.

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


Re: [CentOS] Why Kudzu, Why?

2008-01-23 Thread Benjamin Karhan

A little birdy told me that Michael A. Peters said:

] Michael Semcheski wrote:
] > So I have a CentOS 5 machine, which I recently did a 'yum update' on.
] > Everything went fine, but I rebooted as a precaution (just to confront
] > any problems which might arise the first time after an update).
] > 
] > And sure enough, when the machine came back up, the network didn't
] > work.  Luckilly, someone said (and I quote) 'mv
] > /etc/sysconfig/networking-scripts/ifcfg-eth0.bak
] > /etc/sysconfig/networking-scripts/ifcfg-eth0 and blame kudzu'...
] > 
] > So, what did I do wrong, or what should I have done differently?
] > What's the reasoning behind this?  I'll bet there is some rationale,
] > and I'd like to understand it.
] 
] I don't know but I always disable kudzu after initial install on machines that
] don't change hardware because I've had similar things happen to me in
] pre-fedora redhat. I leave it on my laptop though.

just as a quick mention...
i have noticed that when running the CentOS5 Xen kernel,
  with the default Xen configuration, "rebooting" had a 
  tendency to reset the hardware MAC address to the fictional
  MAC created by the "network-bridge" script.
  (this may not effect all hardware, but i have seen it
  definately effect the "tulip" driver)

this behavior only happened on reboots, and a complete
  poweroff/poweron always reset the MAC to it's original
  value.

i "solved" it (re: prevented this behavior) by changing the
  Xen configuration to use "network-route" instead of the
  default bridge behavior... but this, no doubt, has other
  ramifications beyond solving the problem.

just wanted to mention this in case it's causing anyone
  similar headaches...

B. Karhan
[EMAIL PROTECTED]
PRI/SSRI Unix Administrator
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Appreciate the help...

2008-01-23 Thread Scott Ehrlich
I received some interesting answers to my cron question.  Most people said it 
was not possible.  One person reviewed cron's source code and said the source 
would need to be modified.  One person said I should mount the filesystem with 
noexec.   I'll review and test the answers as best I can.


To answer several people's curiosities of why I keep pushing - when I'm tasked 
with a quest, I try to tap all my resources, including this list, to find a 
solution.  One never knows when an answer might be obvious, or perplexing, as 
this question seems to have been.   To some, an answer is obvious.  To others, 
it is perplexing.   It all depends on each person's level of knowledge.   The 
more one learns, the more things can become more obvious.  Thus, we grow.


In the end, like now, I try to provide my findings, and, if valid, may be of 
benefit to others.


I try not to wear out the list, but do what the list was created for - 
discussion and inquiry of UNIX and related topics.   This question proved to 
test people's knowledge, and I did get some good feedback.


Thanks to all, and until the next adventure...

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


Re: [CentOS] Appreciate the help...

2008-01-23 Thread Stephen Harris
On Wed, Jan 23, 2008 at 10:12:13PM -0500, Scott Ehrlich wrote:
> To answer several people's curiosities of why I keep pushing - when I'm 
> tasked with a quest, I try to tap all my resources, including this list, to 
> find a solution.  One never knows when an answer might be obvious, or 
> perplexing, as this question seems to have been.   To some, an answer is 

I've found, in the past, that questions like this are normally indicative
of the wrong question being asked.  People are trying to put controls in
the wrong place, thinking this is the solution to an underlying problem.

When this happens at work I ask people to take a step back and to describe
the problem they're trying to solve.  "No, you don't want cron to do
xyz...  explain what you think the problem is you're trying to solve in
non technical terms".  Very frequently there's alternate solutions to
the problem.  The "noexec" idea someone suggested was one such attempt.

Historically this has been called "thinking outside the box", but I
prefer to think of it as analysing the real problem, what are you trying
to solve; not "can this technology do blah".

-- 

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


Re: [CentOS] Appreciate the help...

2008-01-23 Thread Garrick Staples
On Wed, Jan 23, 2008 at 10:12:13PM -0500, Scott Ehrlich alleged:
> I received some interesting answers to my cron question.  Most people said 
> it was not possible.  One person reviewed cron's source code and said the 
> source would need to be modified.  One person said I should mount the 
> filesystem with noexec.   I'll review and test the answers as best I can.

In my own defense of not mentioning "modify the source", that is *always* an
option.  It is especially implied in the open source.  It is one of the
principle reasons for having open source in the first place!

That said, I quite like the general idea of adding some type of policy
enforcement to cron.  It reminds me of httpd' suexec.  It has several such
restrictions on the binary it executes.



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


Re: [CentOS] How can i share my WAN ip to my LAN?

2008-01-23 Thread Alain Spineux
On Jan 23, 2008 9:43 AM, Tolun ARDAHANLI <[EMAIL PROTECTED]> wrote:
> Hi again to everyone;
>
> Guys your mails are very nice... i liked all of them...
>
> let me give you about my system and my need(sorry for writing these late)...
>
> I've got an IBM x3650 server which is open 7d/24h. It has got 2 ethernet
> card. I would like to connect my LAN to WAN over this machine...
>
> LAN(there are 3machines):
> start ip:192.168.10.10
> end ip: 192.168.10.12
> gateway address of users:192.168.10.13(my server's LAN side ip address)
> LAN side Server ip: 192.168.10.13
>
> WAN(this ip comes from behind of swicth. the switch is behind of firewall
> and firewall is behind of router):
> WAN side Server ip: 10.10.1.223
> gateway address of Server:10.10.1.111
>
> this is my network chances...:( i cant change them cause our company has
> strong rules for these addresses... I want to share my WAN side ip address
> to my LAN side...
>
> How can I do that on my CENTos installed server?
>
> thanks a lot to everybody...

The short way, supposing your wan is secure and your wan interface is eth1:

Disable any firewall rules on your centos,

service iptables stop
chkconfig iptables off

try these commands, and if this is working put them in your /etc/init.d/rc.local

# enable forwarding of packet between all interfaces
echo 1 > /proc/sys/net/ipv4/ip_forward
# config masquerading, any packet leaving eth1 will be masqueraded,
taking eth1 address for source address.
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

Regards.

>
>
>
>
> 2008/1/22, Dennis McLeod <[EMAIL PROTECTED] >:
>
> > I have an IPcop box setup at work. Using squidguard to keep customers from
> > surfing porn while they are in our waiting room. (On a completely separate
> > DSL connection..)
> >
> > I have an Astaro Security Gateway setup at home (on a Dell p3 precision
> > 220). Free home license, do FAR more than your typical broadband router.
> Not
> > a small learning curve, though. Wireless is through a D-link DWL-7100(I
> > think) access point in the attic.
> > I have a Linksys wrt54g (original version) with openWRT, but it's just
> there
> > for backup.
> >
> > Any of the above will accomplish your goal...
> >
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On
> Behalf
> > Of Alain Spineux
> > Sent: Tuesday, January 22, 2008 6:52 AM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] How can i share my WAN ip to my LAN?
> >
> > On Jan 22, 2008 3:17 PM, William L. Maltby < [EMAIL PROTECTED]>
> wrote:
> > > On Tue, 2008-01-22 at 14:49 +0100, Alain Spineux wrote:
> > > > On Jan 22, 2008 8:46 AM, Tolun ARDAHANLI <
> [EMAIL PROTECTED]>
> > wrote:
> > > > > Hi everybody...
> > > > >
> > > > > How can I share my WAN ip to my LAN? How can I do that I really
> > > > > dont know...:( I am using linux long time ago but this kind I
> > > > > would like to do newly...
> > > >
> > > > Buy a small router/modem, ask your ISP for suggestions.
> > > > This is cheap (<100$), no need to keep your computer always turned
> > > > on, very easy to configure if you nead more features (port
> > > > forwarding for skype, games, p2p, ), have some builtint feature
> > > > (dhcp, DNS proxy). Also think about wireless ..
> > > > This is probably more secure, not because centos/linux is not, but
> > > > because you dont know what you are doing.
> > > >
> > > > Of course this is less fun
> > >
> > > Well, I wasn't going to suggest, but since the topic of alternatives
> > > is open...
> >
> > :-)
> >
> > Of course the main idea is to avoid to have a non firewall dedicated linux
> > (like centos is) configured by someone without to much network knowledge
> be
> > in front of Internet.
> >
> > >
> > > If you have an older available computer laying around, check out IPCop
> > >
> > > http://www.ipcop.org/
> > >
> > > free, has lots of features, runs reliably, I've been on it for years,
> > > as have others on this list. Biggest gripe I have is docs could be a
> > > little better - they tend to not get updated to stay up with the
> software.
> > >
> > > >
> > > > Regards.
> > > >
> > > > >
> > > > > Can anybody help me about IP sharing in Centos?
> > > > >
> > > > > thanks alot...
> > > > >
> > > > >
> > > > > --
> > > > > Tolun ARDAHANLI
> > > > > Bilgisayar Muhendisi
> > > > > E-posta: [EMAIL PROTECTED]
> > > > > Icq:326600
> > > > >
> > > > > --
> > > > > --
> > > > >
> > > > > Tolun ARDAHANLI
> > > > > Computer Engineer
> > > > > E-mail:[EMAIL PROTECTED]
> > > > > Icq:326600
> > > > >
> > >
> > > HTH
> > > --
> > > Bill
> > >
> > >
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > http://lists.centos.org/mailman/listinfo/centos
> > >
> >
> >
> >
> > --
> > Alain Spineux
> > aspineux gmail com
> > May the sources be with you
> > ___
> > CentOS mail

[CentOS] Problems with yum not updating properly

2008-01-23 Thread MHR
Has anyone else seen this?

I recently got the announcement about the xorg 1.5 update being available,
so I ran yum update to get it.

To my surprise, I found that yum did not see it at all.

With some help from Karanbir (thanks again), we decided there might be
something wrong with my repo path, so I checked it against the older one I
had from 5.0 (which I saved, for some reason) and found that the new ones
did not have protect or enable commands in them, so I added them to match my
5.0 ones.

Yum suddenyl found the xorg 1.5 updates and installed them.

But now, yum can't see the wireshark update, and although I probably don't
need it since I don't use that (AFAIK), yum does not see that one, but
suddenly it sees a kernel update (2.6.18-53.1.6).

Anyone have a clue why this might be (or what I should post here to help
clera it up)?

Here is my CentOS-Base.repo:

# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for
CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS
updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
protect=1
#enabled=1

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
protect=1
#enabled=1

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
protect=0
#enabled=0

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
protect=0
#enabled=0

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
protect=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

All help appreciated.

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


[CentOS] Problem installing the 53.1.6 kernel

2008-01-23 Thread MHR
On top of my previously (just now) difficulties with yum, now I find that
the 53.1.6 kernel is not installing properly.

When I run "yum update" to install it, the install hangs here:

Dependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Installing:
 kernel  x86_64 2.6.18-53.1.6.el5  updates15
M

Transaction Summary
=
Install  1 Package(s)
Update   0 Package(s)
Remove   0 Package(s)

Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-2.6.18-53.1 100% |=|  15 MB
03:26
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel   # [1/1]

If I kill this with ^C, it thinks it has installed the kernel, but the
kernel is not in my grub.conf.  Rpm also thinks it is installed.

I can remove it with rpm -e, but then rpm -ivh won't install it either.  It
also hangs, at the same point.

Here's what I see when I type ^C:

error: %post(kernel-2.6.18-53.1.6.el5.x86_64) scriptlet failed, signal 2

(Yes, I know, signal 2 is SIGINT, which is what ^C does.)

BUT rpm thinks it has installed the kernel even though the /boot partition
has not been updated and the grub.conf file also does not show it.

Any constructive assistance would be appreciated.

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


[CentOS] Re: Problem installing the 53.1.6 kernel

2008-01-23 Thread MHR
CORRECTION - please see below

On Jan 23, 2008 9:54 PM, MHR <[EMAIL PROTECTED]> wrote:
> On top of my previously (just now) difficulties with yum, now I find that
the 53.1.6 kernel is not installing properly.
>
> When I run "yum update" to install it, the install hangs here:
>
> Dependencies Resolved
>
>
=
>  Package Arch   Version  Repository
 Size
>
=

> Installing:
>  kernel  x86_64 2.6.18-53.1.6.el5  updates
 15 M
>
> Transaction Summary
>
=
> Install  1 Package(s)
> Update   0 Package(s)
> Remove   0 Package(s)
>
> Total download size: 15 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/1): kernel-2.6.18-53.1 100% |=|  15 MB03:26

> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Installing: kernel   # [1/1]

>
> If I kill this with ^C, it thinks it has installed the kernel, but the
kernel is not in my grub.conf.  Rpm also thinks it is installed.
>
> I can remove it with rpm -e, but then rpm -ivh won't install it either.
 It also hangs, at the same point.
>
> Here's what I see when I type ^C:
>
> error: %post( kernel-2.6.18-53.1.6.el5.x86_64) scriptlet failed, signal 2
>
> (Yes, I know, signal 2 is SIGINT, which is what ^C does.)
>
> BUT rpm thinks it has installed the kernel even though the /boot partition
has not been updated and the grub.conf file also does not show it.
>

CORRECTION: /boot was updated, just not the grub.conf

> Any constructive assistance would be appreciated.
>
> mhr
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] DVD support on CentOS 5.1

2008-01-23 Thread Sysadmin
Hello out there!

 

Been around the block trying to get DVD support for Totem, but I keep
running into dead ends everywhere I go. Looking for CentOS 5.1-compatible
xine and xine-lib packages as that seems to be the answer, but the only ones
I find (like on DAG) seem to be just dead links or I get a message that the
mirrors are unavailable when I try to run the rpm.

 

Can anyone provide a link for rpm's that will provide DVD support on CentOS
5.1 32bit? I installed the Gstream rpm's so at least I have mp3 and mpeg
support, I just really want DVD support as well.

 

Many thanks in advance,

Manuel Alvarez

 

P.S. If anyone can chime in the question below I would greatly appreciate
it. I still have no idea on this one.  L

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 22, 2008 5:14 PM
To: 'centos@centos.org'
Subject: Wireless PCMCIA/PC Card for CentOS 5.1?

 

Hello everyone,

 

I would really like to get wireless working on my CentOS 5.1 install. I have
a LinkSys WPC54G (I guess version 1 since no version is listed) but
everything I've read indicates that this would be a nightmare for a Linux
newbie like myself. I got as far as NDISWrapper, but right off the bat I am
getting issues with KBuild and I guess my kernel source so I can't even get
as far as compiling NDISWrapper.

 

My question is mainly: Can anyone recommend a PC Card for a laptop that will
work on CentOS without NDISWrapper? If not, is there an idiot guide for
installing NDISWrapper on Centos 5.1?

 

Thanks and best wishes,

Manuel Alvarez

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


Re: [CentOS] DVD support on CentOS 5.1

2008-01-23 Thread MHR
On Jan 23, 2008 10:08 PM, <[EMAIL PROTECTED]> wrote:
>
> Hello out there!

Hello.

> Been around the block trying to get DVD support for Totem, but I keep running 
> into dead ends everywhere I go. Looking for CentOS 5.1-compatible xine and 
> xine-lib packages as that seems to be the answer, but the only ones I find 
> (like on DAG) seem to be just dead links or I get a message that the mirrors 
> are unavailable when I try to run the rpm.
>
> Can anyone provide a link for rpm's that will provide DVD support on CentOS 
> 5.1 32bit? I installed the Gstream rpm's so at least I have mp3 and mpeg 
> support, I just really want DVD support as well.
>

I have found that using yum to install and update from rpmforge
(DAG's) works fairly well, for xine anyway.

However, that said, I have never been able to get Totem to work
properly - some things its plays, others not.

I have had better luck with Xine, which plays more DVDs, but still
balks at quite a few.

I've had the best results with MPlayer, and have yet to find an
uncorrupted, unencrypted sound or video file it can't play.  You can
get that from rpmforge as well, and it's my choice for the best.  The
only gripe I have about it is that it doesn't understand m3u play
lists unless you tell it that the file is aplaylist, and then it works
just fine.

My $0.02.

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


RE: [CentOS] DVD support on CentOS 5.1

2008-01-23 Thread Sysadmin
Thank you VERY much mhr! I appreciate your time and will go grab MPlayer
right now!

Take care,
Manuel


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of MHR
Sent: Wednesday, January 23, 2008 10:33 PM
To: CentOS mailing list
Subject: Re: [CentOS] DVD support on CentOS 5.1

On Jan 23, 2008 10:08 PM, <[EMAIL PROTECTED]> wrote:
>
> Hello out there!

Hello.

> Been around the block trying to get DVD support for Totem, but I keep
running into dead ends everywhere I go. Looking for CentOS 5.1-compatible
xine and xine-lib packages as that seems to be the answer, but the only ones
I find (like on DAG) seem to be just dead links or I get a message that the
mirrors are unavailable when I try to run the rpm.
>
> Can anyone provide a link for rpm's that will provide DVD support on
CentOS 5.1 32bit? I installed the Gstream rpm's so at least I have mp3 and
mpeg support, I just really want DVD support as well.
>

I have found that using yum to install and update from rpmforge
(DAG's) works fairly well, for xine anyway.

However, that said, I have never been able to get Totem to work
properly - some things its plays, others not.

I have had better luck with Xine, which plays more DVDs, but still
balks at quite a few.

I've had the best results with MPlayer, and have yet to find an
uncorrupted, unencrypted sound or video file it can't play.  You can
get that from rpmforge as well, and it's my choice for the best.  The
only gripe I have about it is that it doesn't understand m3u play
lists unless you tell it that the file is aplaylist, and then it works
just fine.

My $0.02.

mhr
___
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] Problem installing the 53.1.6 kernel

2008-01-23 Thread John R Pierce

MHR wrote:
On top of my previously (just now) difficulties with yum, now I find 
that the 53.1.6 kernel is not installing properly.


When I run "yum update" to install it, the install hangs here:

Dependencies Resolved

=
 Package Arch   Version  Repository
Size
= 


Installing:
 kernel  x86_64 2.6.18-53.1.6.el5  
updates15 M


Transaction Summary
=
Install  1 Package(s)
Update   0 Package(s)
Remove   0 Package(s)


Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-2.6.18-53.1 100% |=|  15 MB
03:26
Running Transaction Test

Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel   # 
[1/1]


fwiw, I just ran a full "yum update" on a 5.something that i haven't 
done much with other than install, and it ran clean,


.
Removed: kernel.i686 0:2.6.18-8.1.8.el5
Installed: kernel.i686 0:2.6.18-53.1.6.el5 sos.noarch 0:1.7-9.1.el5
Dependency Installed: device-mapper-multipath.i386 0:0.4.7-12.el5 
keyutils-libs.i386 0:1.2-1.el5 yum-metadata-parser.i386 0:1.0-8.fc6
Updated: Deployment_Guide-en-US.noarch 0:5.1.0-11.el5.centos.1 acl.i386 
0:2.2.39-2.1.el5 alsa-lib.i386 0:1.0.14-1.rc4.el5 audit.i386 
0:1.5.5-7.el5 audit-libs.i386 0:1.5.5-7.el5 audit-libs-python.i386 
0:1.5.5-7.el5 autofs.i386 1:5.0.1-0.rc2.55.el5.2 bind.i386 
30:9.3.3-10.el5 bind-chroot.i386 30:9.3.3-10.el5 bind-libs.i386 
30:9.3.3-10.el5 bind-utils.i386 30:9.3.3-10.el5 binutils.i386 
0:2.17.50.0.6-5.el5 cairo.i386 0:1.2.4-3.el5_1 centos-release.i386 
10:5-1.0.el5.centos.1 centos-release-notes.i386 0:5.1.0-2 conman.i386 
0:0.1.9.2-8.el5 coolkey.i386 0:1.1.0-5.el5 cpp.i386 0:4.1.2-14.el5 
cpuspeed.i386 1:1.2.1-1.48.el5 cracklib.i386 0:2.8.9-3.3 
cracklib-dicts.i386 0:2.8.9-3.3 crash.i386 0:4.0-4.6.1 cups.i386 
1:1.2.4-11.14.el5_1.3 cups-libs.i386 1:1.2.4-11.14.el5_1.3 
device-mapper.i386 0:1.02.20-1.el5 dhclient.i386 12:3.0.5-7.el5 
dmraid.i386 0:1.0.0.rc13-4.el5 e2fsprogs.i386 0:1.39-10.el5_1.1 
e2fsprogs-libs.i386 0:1.39-10.el5_1.1 fetchmail.i386 0:6.3.6-1.1.el5 
firstboot-tui.noarch 0:1.4.27.3-1.el5.centos fontconfig.i386 
0:2.4.1-7.el5 freetype.i386 0:2.2.1-19.el5 frysk.i686 
0:0.0.1.2007.06.21.rh2-4.el5 gcc.i386 0:4.1.2-14.el5 gcc-c++.i386 
0:4.1.2-14.el5 gcc-gfortran.i386 0:4.1.2-14.el5 gdb.i386 0:6.5-25.el5 
glibc.i686 0:2.5-18.el5_1.1 glibc-common.i386 0:2.5-18.el5_1.1 
glibc-devel.i386 0:2.5-18.el5_1.1 glibc-headers.i386 0:2.5-18.el5_1.1 
gtk2.i386 0:2.10.4-19.el5 hal.i386 0:0.5.8.1-25.el5_1.1 httpd.i386 
0:2.2.3-11.el5_1.centos.3 httpd-manual.i386 0:2.2.3-11.el5_1.centos.3 
hwdata.noarch 0:0.211-1 initscripts.i386 0:8.45.17.EL-1.el5.centos.1 
irqbalance.i386 2:0.55-6.el5 kernel-headers.i386 0:2.6.18-53.1.6.el5 
kpartx.i386 0:0.4.7-12.el5 krb5-libs.i386 0:1.6.1-17.el5 
krb5-workstation.i386 0:1.6.1-17.el5 kudzu.i386 
0:1.2.57.1.15-1.el5.centos libXfont.i386 0:1.2.2-1.0.3.el5_1 libacl.i386 
0:2.2.39-2.1.el5 libgcc.i386 0:4.1.2-14.el5 libgcj.i386 0:4.1.2-14.el5 
libgfortran.i386 0:4.1.2-14.el5 libgomp.i386 0:4.1.2-14.el5 
libselinux.i386 0:1.33.4-4.el5 libselinux-python.i386 0:1.33.4-4.el5 
libstdc++.i386 0:4.1.2-14.el5 libstdc++-devel.i386 0:4.1.2-14.el5 
libuser.i386 0:0.54.7-2.el5.2 libvolume_id.i386 0:095-14.9.el5 
libxml2.i386 0:2.6.26-2.1.2.1 libxml2-python.i386 0:2.6.26-2.1.2.1 
logrotate.i386 0:3.7.4-8 lvm2.i386 0:2.02.26-3.el5 man-pages.noarch 
0:2.39-10.el5 mcstrans.i386 0:0.2.6-1.el5_1.1 mesa-libGL.i386 
0:6.5.1-7.5.el5 microcode_ctl.i386 1:1.17-1.42.el5 mkinitrd.i386 
0:5.1.19.6-19 mod_ssl.i386 1:2.2.3-11.el5_1.centos.3 
module-init-tools.i386 0:3.3-0.pre3.1.34.el5 mysql.i386 
0:5.0.22-2.2.el5_1.1 nash.i386 0:5.1.19.6-19 nfs-utils.i386 
1:1.0.9-24.el5 nscd.i386 0:2.5-18.el5_1.1 nspr.i386 0:4.6.5-3.el5 
nss.i386 0:3.11.7-1.3.el5.centos nss-tools.i386 0:3.11.7-1.3.el5.centos 
nss_ldap.i386 0:253-5.el5 openldap.i386 0:2.3.27-8 openssh.i386 
0:4.3p2-24.el5 openssh-clients.i386 0:4.3p2-24.el5 openssh-server.i386 
0:4.3p2-24.el5 pam.i386 0:0.99.6.2-3.26.el5 pam_krb5.i386 0:2.2.14-1 
parted.i386 0:1.8.1-12.el5 pcre.i386 0:6.6-2.el5_1.7 pkinit-nss.i386 
0:0.7.3-1.el5 pm-utils.i386 0:0.99.3-6.el5.centos.17 
policycoreutils.i386 0:1.33.12-12.el5 popt.i386 0:1.10.2-47.el5 
postgresql.i386 0:8.1.11-1.el5_1.1 postgresql-libs.i386 
0:8.1.11-1.el5_1.1 postgresql-server.i386 0:8.1.11-1.el5_1.1 
prelink.i386 0:0.3.9-2.1 redhat-artwork.i386 0:5.1.0-26.el5.centos 
redhat-logos.noarch 0:4.9.99-8.el5.centos redhat-lsb.i386 
0:3.1-12.3.EL.el5.centos redhat-menus.noarch 0:6.7.8-2.el5 
redhat-rpm-config.noarch 0:8.0.45-22.el5.centos rpm.i386 0:4.4.2-47.el5 
rpm-build.i386 0:4.4.2-47.e

Re: [CentOS] Problem installing the 53.1.6 kernel

2008-01-23 Thread Steven Vishoot

--- MHR <[EMAIL PROTECTED]> wrote:

> On top of my previously (just now) difficulties with
> yum, now I find that
> the 53.1.6 kernel is not installing properly.
> 
> When I run "yum update" to install it, the install
> hangs here:
> 
> Dependencies Resolved
> 
>
=
>  Package Arch   Version 
> RepositorySize
>
=
> Installing:
>  kernel  x86_64
> 2.6.18-53.1.6.el5  updates15
> M
> 
> Transaction Summary
>
=
> Install  1 Package(s)
> Update   0 Package(s)
> Remove   0 Package(s)
> 
> Total download size: 15 M
> Is this ok [y/N]: y
> Downloading Packages:
> (1/1): kernel-2.6.18-53.1 100%
> |=|  15 MB
> 03:26
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Installing: kernel  
> # [1/1]
> 
> If I kill this with ^C, it thinks it has installed
> the kernel, but the
> kernel is not in my grub.conf.  Rpm also thinks it
> is installed.
> 
> I can remove it with rpm -e, but then rpm -ivh won't
> install it either.  It
> also hangs, at the same point.
> 
> Here's what I see when I type ^C:
> 
> error: %post(kernel-2.6.18-53.1.6.el5.x86_64)
> scriptlet failed, signal 2
> 
> (Yes, I know, signal 2 is SIGINT, which is what ^C
> does.)
> 
> BUT rpm thinks it has installed the kernel even
> though the /boot partition
> has not been updated and the grub.conf file also
> does not show it.
> 
> Any constructive assistance would be appreciated.
> 
> mhr
> > ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
How long were you waiting before ctrl ^c it? are you
sure you did not kill it too soon. this sounds to me
to be very inpatient person trying to update kernel
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos