[CentOS] Module i2c-piix4 for lm_sensors on CentOS 5 64 Bit

2008-03-05 Thread Sebastian Marten
Hi list,
 Where can i find the i2c-piix4 module for CentOs 5 64 Bit?
 If i say modprobe i2c-piix4 i get the error:
 FATAL: Module i2c_piix4 not found.

 Can you help me?

 Greetings

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


[CentOS] Error reading block x (Attempt to read block...)

2008-03-05 Thread Scott R. Ehrlich
A Centos 5 64-bit server reflected some SCSI kernel errors in the logs, so 
I opted to reboot, only to be prompted to perform a manual fsck, that an 
automatic fsck wouldn't be permitted.


As a result, the fsck is taking a long time, as I have to babysit the 
server for every bad block that is reported and needs a forced rewrite.


The exact error is "Error reading block x (Attempt to read block from 
filesystem resulted in short read) while doing inode scan.   Ignore 
error(y)?


Force rewrite(y)?"

I say yes to both.

Could I safely get away with booting from a CentOS 5 CD and performing a 
fsck with automatic system fixing to speed up the process, or do I need to 
be patient and just keep manually selecting Y for as long as it takes?


Thanks.

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


[CentOS] satisfying netdirector package dependencies

2008-03-05 Thread Greg Wallace
Hello,

we're looking at packaging up our current NetDirector bug fix release
and we want it available as .rpm

at this moment, the maintainers don't have a test environment for Centos

does anyone know whether the latest versions of and Centos can satisfy
Tomcat 5 and Java 1.4 JDK as dependencies?

thanks in advance!

-- 
Greg Wallace
Project:  www.netdirector.org
Blog:  www.jocsflorals.blogspot.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error reading block x (Attempt to read block...)

2008-03-05 Thread nate
Scott R. Ehrlich wrote:

> Could I safely get away with booting from a CentOS 5 CD and performing a
> fsck with automatic system fixing to speed up the process, or do I need to
> be patient and just keep manually selecting Y for as long as it takes?

Depends what's on the disk. Sounds like it's going, or has gone bad.
Disks have a bunch of blocks on them that the end user can't see and
they usually automatically re-map bad blocks into this region. So once
you start actually seeing bad blocks that means this region is
exhausted, and you have a LOT of bad blocks.

Hope you have a good backup. As it sounds like you may be looking at
massive data loss on that disk.

If it were me, and there was important data I needed I would try to
force mount the partition(in read only mode) and recover the data that
I wanted and then run the diagnostics provided by the manufacturer
of the disk and then RMA it. Even one bad block that is visible is
enough to authorize an RMA from any manufacturer that I've dealt
with in the past several years.

If it didn't mount, then try a automatic fsck and pray it doesn't
render the file system any more unusable.

nate

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


Re: [CentOS] /var/www/html group & owner (fwd)

2008-03-05 Thread Hiep Nguyen

On Tue, 4 Mar 2008, lists-centos wrote:


for apache to be able to serve the files under the document root it
needs (and should only have) read access to the files (and
read/execute for the directories). the directories/files under the
document root should **not** be owned (or writeable) by the
user/group that the web server is running as. if they are, you have a
security hole should someone break through the webserver (or more
likely poorly written scripts).

so, a good approach is to have the directories/files under
owner/group other than apache (assuming your web server is running as
the apache user), with read-only access given to "world".


assume that i have a user and group named "weber".  i'll use "weber" to upload 
(via ftp) directories/files to /var/www/html/


what should /var/www/html/ look like?

also, i have some php include files that i don't want anyone access except 
apache b/c they contain user/pw to mysql.  where should i place them?


i usually place them in /var/www/html/includes/

someone suggested i place them in /var/www/include/, but my question is what 
user/group /var/www/include/ belong to?


thanks
t. hiep




 - Rick

 Original Message 

Date: Tuesday, March 04, 2008 12:18:56 PM -0800
From: Hiep Nguyen <[EMAIL PROTECTED]>
To: centos@centos.org
Cc:
Subject: [CentOS] /var/www/html group & owner

hi again,

[EMAIL PROTECTED] ~]# ls -all /var/www/
total 64
drwxr-xr-x  8 root  root 4096 Mar  3 11:44 .
drwxr-xr-x 21 root  root 4096 Mar  3 11:44 ..
drwxr-xr-x  2 root  root 4096 Jan 15 20:36 cgi-bin
drwxr-xr-x  3 root  root 4096 Mar  3 11:43 error
drwxr-xr-x  2 root  root 4096 Jan 15 20:36 html
drwxr-xr-x  3 root  root 4096 Mar  3 11:44 icons
drwxr-xr-x 14 root  root 4096 Mar  3 11:44 manual
drwxr-xr-x  2 webalizer root 4096 Mar  3 11:44 usage

currently, html is belonging to root group/owner and httpd is
running under apache user/group.

what should i change html to, so that httpd can run safely under
apache user/group???

or should i change httpd to run under a different user/group???

if i keep httpd running on apache user/group, should i change html
to apache group/owner???

thank you for all your help.
t. hiep


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


-- End Original Message --



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


[CentOS] Problem compiling freeradius on x86_64

2008-03-05 Thread Sergio Belkin
Hi,
I can't compile freeradius-2.0.2 (Centos RPM is too old for what I
need) on Centos 5.1 x86_64. It outputs:

/usr/lib/libltdl.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status


I tried with no success with export CFLAGS=-m64


any idea?

thanks in advance!!

-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] satisfying netdirector package dependencies

2008-03-05 Thread Paul Heinlein

On Wed, 5 Mar 2008, Greg Wallace wrote:

we're looking at packaging up our current NetDirector bug fix 
release and we want it available as .rpm


at this moment, the maintainers don't have a test environment for 
Centos


does anyone know whether the latest versions of and Centos can 
satisfy Tomcat 5 and Java 1.4 JDK as dependencies?


I haven't had good luck with the java and tomcat that ship with 
CentOS. /usr/bin/java is GNU gij 4.1.2, and tomcat is compiled with 
it.


I ended up installing the Sun runtime and the tomcat binaries from 
apache.org to get our tomcat environment to work as expected.


Perhaps, however, other list members have more heartening stories to 
tell.


--
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Sean Carolan
Keychain is quite a useful tool for automating SSH logins without
having to use password-less keys:
http://www.gentoo.org/proj/en/keychain/

Normally it is used like this to set the SSH_AUTH_SOC and
SSH_AGENT_PID variables:
source ~/.keychain/hostname-sh

(This is what's in hostname-sh)
SSH_AUTH_SOCK=/tmp/ssh-XXn47DUn/agent.16721; export SSH_AUTH_SOCK;
SSH_AGENT_PID=16722; export SSH_AGENT_PID;

I would like these environment variables to be made available to a
Perl script so that any "system" commands contained in the perl script
will inherit them.  How do you do this in Perl?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] environment variables in kickstart

2008-03-05 Thread Jerry Geis
I have been looking for environment variables for the %post section of 
kickstart.


Namely if I start my kickstart command with "linux 
ks=http://serverip/ks.cfg";
is there an environment variable that has serverip that I can use in the 
%post section?


Also is there a way to pass a command line argument to the %post section 
when running

kickstart command as the above http://serverip/ks.cfg

Thanks,

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


[CentOS] permission on /var/www & /var/www/html

2008-03-05 Thread Hiep Nguyen

hi all,

assume apache runs under apache user/group and i have a user/group name 
"weber". i use "weber" user to upload files via ftp/sftp.


where should i place my include files so that no one can access except 
apache b/c these files contained user/pw for mysql.


i usually place them in /var/www/html/includes, but people can access to 
this folder, so i'm thinking place them in /var/www/includes.


what should the permission for /var/www/html and /var/www/inclues/? what 
group should these two directories belong to???


thanks,
t. hiep
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RESTORING THUNDERBIRD FILES

2008-03-05 Thread Karanbir Singh

Chris Geldenhuis wrote:

Thanks to your advice I have been able to reciver all of my mail folders.


You are welcome.

I am not sure why an update would have caused the profiles and the paths 
to change and cause an issue. I've been using thunderbird for a long 
time and changed versions etc and never had this issue ( although, I do 
only stick with the version in the distro )


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Filipe Brandenburger
On Wed, Mar 5, 2008 at 10:20 AM, Sean Carolan <[EMAIL PROTECTED]> wrote:
>  I would like these environment variables to be made available to a
>  Perl script so that any "system" commands contained in the perl script
>  will inherit them.  How do you do this in Perl?

If the variables are exported when you call Perl, they will be
available inside Perl. And, when you call "system", they will be
available for those processes as well. Are you having any specific
problems doing this? If you can't make it work, please send more
details on what exactly is not working as supposed to.

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


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Sean Carolan
>  If the variables are exported when you call Perl, they will be
>  available inside Perl. And, when you call "system", they will be
>  available for those processes as well. Are you having any specific
>  problems doing this? If you can't make it work, please send more
>  details on what exactly is not working as supposed to.

The variables are not exported when I call Perl.  This is what I am
trying to do.  How do I get those variables to be available to the
bash "system" commands within the script?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Filipe Brandenburger
On Wed, Mar 5, 2008 at 11:03 AM, Sean Carolan <[EMAIL PROTECTED]> wrote:
>  The variables are not exported when I call Perl.  This is what I am
>  trying to do.  How do I get those variables to be available to the
>  bash "system" commands within the script?

system("source ~/.keychain/hostname-sh; cmd");

Is this what you're looking for?

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


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Sean Carolan
>  The variables are not exported when I call Perl.  This is what I am
>  trying to do.  How do I get those variables to be available to the
>  bash "system" commands within the script?

Just so it is clear what I am trying to do, there are some scp and ssh
commands like:

system ("/usr/bin/scp /tmp/filename server1:/tmp/filename");

we want the scp command to use the running ssh-agent's credentials to
log onto the remote server.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz
This is a new Centos 5.1 install on a HP nc2400 (that use to run XP).  
Completely clean install; blew away the XP partitions...


After applying all the updates, and configuring for the rpmforge repo, I 
used yumex to install dkms and the dkms-ipw3945, ipw3945-firmware, and 
ipw3945d rpms.


lsmod|grep ipwshows:

ipw3945  180391   1
i80211  33417   1   ipw3945

and dmesg)grep ipw   shows:

well a bunch of lines about the card including one with the Radio 
Frequency Kill Swithc is On


But the card does not show in Network Manager.

I added to modprobe.conf:
alias wifi0 ipw3945
and rebooted (and power cycled) and no change.

ifconfig wifi0 up
gets: device not found

Oh, this notebook has a Broadcom ethernet adapter that is working just 
fine at bootup


But I have to get the wireless working today!  Well maybe by tomorrow.  
(off to IETF next week, and IEEE 802 the following).


ANy help would be greatly appreciated!


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


RE: [CentOS] environment variables in kickstart

2008-03-05 Thread Ross S. W. Walker
Jerry Geis wrote:
> 
> I have been looking for environment variables for the %post 
> section of 
> kickstart.
> 
> Namely if I start my kickstart command with "linux ks=http://serverip/ks.cfg";
> is there an environment variable that has serverip that I can use in the 
> %post section?
> 
> Also is there a way to pass a command line argument to the %post section 
> when running kickstart command as the above http://serverip/ks.cfg

There are no pre-assigned environment variables in kickstart, but
you can query kernel parameters from 'cat /proc/cmdline' and you
can setup your own environment variables early in the %post section
that you can use later.

You can probably use different userland utilities to acquire
different information and populate your own environment variables
with it. Just make sure the utilities are installed in the
%packages section. DHCP information would be handy in variables. I
set the architecture variable early with:

export ARCH="`uname -i`"


-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.



smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Stephen John Smoogen
On Wed, Mar 5, 2008 at 9:30 AM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
> This is a new Centos 5.1 install on a HP nc2400 (that use to run XP).
>  Completely clean install; blew away the XP partitions...
>
>  After applying all the updates, and configuring for the rpmforge repo, I
>  used yumex to install dkms and the dkms-ipw3945, ipw3945-firmware, and
>  ipw3945d rpms.
>
>  lsmod|grep ipwshows:
>
>  ipw3945  180391   1
>  i80211  33417   1   ipw3945
>
>  and dmesg)grep ipw   shows:
>
>  well a bunch of lines about the card including one with the Radio
>  Frequency Kill Swithc is On
>

Check to see if the physical switch is turned on. As long as the
system thinks the Kill Switch is on it won't show up in Network
Manager. [Having spent an hour debugging this a couple of months ago.]
Basically it comes down to the first question of support: Is it
plugged in? At the moment the computer does not think so.


>

-- 
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 5.0 -> 5.1

2008-03-05 Thread Ashley M. Kirchner


   Hi folks,

   I have a production server that's currently running 5.0 with all 
updates.  What's the easiest, or perhaps best way to upgrade it to 5.1, 
with minimal down time?  The downtime is critical, so I need to have it 
be a short as possible.  I can live with an hour or two, but larger is 
going to be a pain.


   Suggestions?

--
W | It's not a bug - it's an undocumented feature.
 +
 Ashley M. Kirchner    .   303.442.6410 x130
 IT Director / SysAdmin / Websmith . 800.441.3873 x130
 Photo Craft Imaging   . 3550 Arapahoe Ave. #6
 http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A. 


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


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Sean Carolan
>  system("source ~/.keychain/hostname-sh; cmd");
>
>  Is this what you're looking for?

Yes, this works.  Is there a way to only source the file once?  There
are a bit over a dozen scp and ssh commands in the script.
Unfortunately this is not my script, otherwise I'd have just done this
all in bash.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rsyslog repo?

2008-03-05 Thread Johnny Tan
Does anyone know of a CentOS-5 (el5) repo for rsyslog, 
that's being maintained on a relatively regular basis? I 
checked all the usual suspects (dag, karan, epel, etc.), but 
they either don't have rsyslog at all, or they have an old 
version.


Currently, I'm doing a rebuild of the Fedora-8 srpm, but 
it's at version 2.0.2. I wanted to move to 3.11.x for the 
disk-assisted buffering, and I was able to fix the spec file 
such that the package installs and runs. But I'm having 
other troubles with it (specifically with remote logging, 
which I was able to get working with the 2.0.2 version).


So, I'm troubleshooting those problems as I speak(type), but 
perhaps rather than reinvent the wheel, I just wanted to 
check if there's an existing 3.x repo for el5, or if there 
are people out there who've worked out these problems already.


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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Jim Perrin
On Wed, Mar 5, 2008 at 11:58 AM, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote:

> I have a production server that's currently running 5.0 with all
>  updates.  What's the easiest, or perhaps best way to upgrade it to 5.1,
>  with minimal down time?  The downtime is critical, so I need to have it
>  be a short as possible.  I can live with an hour or two, but larger is
>  going to be a pain.

If you've been running yum update, you're already at 5.1. You may just
need to reboot to load the new kernel.

If you're unsure if you actually are running centos 5.1, run 'rpm -q
centos-release' and you should see 5.1.0- in the release string.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Filipe Brandenburger
On Wed, Mar 5, 2008 at 11:15 AM, Sean Carolan <[EMAIL PROTECTED]> wrote:
>  Just so it is clear what I am trying to do, there are some scp and ssh
>  commands like:
>
>  system ("/usr/bin/scp /tmp/filename server1:/tmp/filename");
>
>  we want the scp command to use the running ssh-agent's credentials to
>  log onto the remote server.

One solution would be to "source ~/.keychain/hostname-sh" in the shell
before calling the perl script. That should work.

Another one would be to source it before calling scp:

system ("source ~/.keychain/hostname-sh; /usr/bin/scp /tmp/filename
server1:/tmp/filename");

The third one (if you don't use a shell to invoke the perl and you
don't want to change every "system" call) would be to parse the file
inside perl and to modify the %ENV variable to include these two
variables. What you want is the equivalent of:

$ENV{SSH_AUTH_SOCK} = "/tmp/ssh-XXn47DUn/agent.16721";
$ENV{SSH_AGENT_PID} = "16722";

But of course you'd have to parse the file to get the real values.
Anyway, if you set that in the begining of your code, every "system"
you use will have these two variables exported as well.

Does this answer your question?

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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Matt Hyclak
On Wed, Mar 05, 2008 at 09:58:27AM -0700, Ashley M. Kirchner enlightened us:
>Hi folks,
> 
>I have a production server that's currently running 5.0 with all 
> updates.  What's the easiest, or perhaps best way to upgrade it to 5.1, 
> with minimal down time?  The downtime is critical, so I need to have it 
> be a short as possible.  I can live with an hour or two, but larger is 
> going to be a pain.
> 
>Suggestions?

5.0 with all updates is equal to 5.1 with all updates. So probably all you
have to do is reboot to the latest kernel.

Unless you've changed the default yum repo files to stay at 5.0 for some
reason, you should already be at 5.1.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem compiling freeradius on x86_64

2008-03-05 Thread Mogens Kjaer

Sergio Belkin wrote:

Hi,
I can't compile freeradius-2.0.2 (Centos RPM is too old for what I
need) on Centos 5.1 x86_64. It outputs:

/usr/lib/libltdl.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status


Maybe it should look for /usr/lib64/libltdl.so ?

Can't you use the Centos SRPM file as a template for
the build process?

Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread John Plemons

Yum upgrade

john














Ashley M. Kirchner wrote:


   Hi folks,

   I have a production server that's currently running 5.0 with all 
updates.  What's the easiest, or perhaps best way to upgrade it to 
5.1, with minimal down time?  The downtime is critical, so I need to 
have it be a short as possible.  I can live with an hour or two, but 
larger is going to be a pain.


   Suggestions?


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


Re: [CentOS] Problem compiling freeradius on x86_64

2008-03-05 Thread Sergio Belkin
2008/3/5, Mogens Kjaer <[EMAIL PROTECTED]>:
> Sergio Belkin wrote:
>  > Hi,
>  > I can't compile freeradius-2.0.2 (Centos RPM is too old for what I
>  > need) on Centos 5.1 x86_64. It outputs:
>  >
>  > /usr/lib/libltdl.so: could not read symbols: File in wrong format
>  > collect2: ld returned 1 exit status
>
>
> Maybe it should look for /usr/lib64/libltdl.so ?
>
>  Can't you use the Centos SRPM file as a template for
>  the build process?
>
>  Mogens
>  --
>
> Mogens Kjaer, Carlsberg A/S, Computer Department
>  Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
>  Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
>  Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
>  ___
>  CentOS mailing list
>  CentOS@centos.org
>  http://lists.centos.org/mailman/listinfo/centos
>

Ooops  :S How can I do that?

Thanks in advance!
-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Sean Carolan
>  One solution would be to "source ~/.keychain/hostname-sh" in the shell
>  before calling the perl script. That should work.

Ok, can't do this because end-users will not like the extra step.

>  Another one would be to source it before calling scp:
>
>  system ("source ~/.keychain/hostname-sh; /usr/bin/scp /tmp/filename
>  server1:/tmp/filename");

Yep, this is what I did.  I have the source ~/.keychain/hostname-sh in
every command now.  This seems the simplest solution for the time
being.

>  The third one (if you don't use a shell to invoke the perl and you
>  don't want to change every "system" call) would be to parse the file
>  inside perl and to modify the %ENV variable to include these two
>  variables. What you want is the equivalent of:
>
>  $ENV{SSH_AUTH_SOCK} = "/tmp/ssh-XXn47DUn/agent.16721";
>  $ENV{SSH_AGENT_PID} = "16722";
>
>  But of course you'd have to parse the file to get the real values.
>  Anyway, if you set that in the begining of your code, every "system"
>  you use will have these two variables exported as well.

Yes, and for this simple one-off script probably too much trouble to
go parsing the .keychain file.  Its easier to just source it before
each bash command.

Thanks for all your help, Filipe.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

Progress...

Stephen John Smoogen wrote:

On Wed, Mar 5, 2008 at 9:30 AM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
  

This is a new Centos 5.1 install on a HP nc2400 (that use to run XP).
 Completely clean install; blew away the XP partitions...

 After applying all the updates, and configuring for the rpmforge repo, I
 used yumex to install dkms and the dkms-ipw3945, ipw3945-firmware, and
 ipw3945d rpms.

 lsmod|grep ipwshows:

 ipw3945  180391   1
 i80211  33417   1   ipw3945

 and dmesg)grep ipw   shows:

 well a bunch of lines about the card including one with the Radio
 Frequency Kill Swithc is On




Check to see if the physical switch is turned on. As long as the
system thinks the Kill Switch is on it won't show up in Network
Manager. [Having spent an hour debugging this a couple of months ago.]
Basically it comes down to the first question of support: Is it
plugged in? At the moment the computer does not think so.
There is NO physical switch. XP had some way of enabling the radio. So I 
went into the bios and played around a bit. Tried an option and now 
NetworkManager sees the card!


But when I enter my WPA passphrase, I keep going back to being asked for 
the passphrase :(


I noticed that NetworkManager is using eth1 for the the wireless 
interface, not wifi0 that I put into modprobe.conf (alias wifi0 ipw3945).


I tried to use wpa_supplicant deamon as I do on my nc4010 that has an 
atheros pci card. man wpa_supplicant lists ipw as a valid device, but 
when I supply this, i get


Unsupported driver 'ipw'

SO why does it not like my passphrase that works just fine with my 
nc4010 and its ahteros card? Granted theweak passphrase I am using fails 
password checkers, but still.


Or how to use wpa_supplicant instead of NetworkManager (which is pretty 
cool, where is its config files).





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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Les Mikesell

Ashley M. Kirchner wrote:


   Hi folks,

   I have a production server that's currently running 5.0 with all 
updates.  What's the easiest, or perhaps best way to upgrade it to 5.1, 
with minimal down time?  The downtime is critical, so I need to have it 
be a short as possible.  I can live with an hour or two, but larger is 
going to be a pain.


   Suggestions?



As others have mentioned, you are probably already there, but I'd do:
yum install yum-downloadonly
yum -y --downloadonly update
to pull in anything new but not install it.  You can repeat the 2nd 
command if it doesn't complete or if some time passes before you get 
around to doing the

yum install
which will go quickly with all the packages already downloaded.  You 
really only have downtime if you need to reboot and you only need to 
reboot if you pick up a new kernel in the update.


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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Ashley M. Kirchner

Jim Perrin wrote:

If you've been running yum update, you're already at 5.1. You may just
need to reboot to load the new kernel.
  
   Nope, I don't run yum.  I do manual updates.  So I've rsynced the 
updates to a local drives, and then ran rpm against them.  There's 
something about running un-attended updates on a life system.  I've had 
too many cases where I come into the office in the morning and the 
system is dead because of some update overnight.


--
W | It's not a bug - it's an undocumented feature.
 +
 Ashley M. Kirchner    .   303.442.6410 x130
 IT Director / SysAdmin / Websmith . 800.441.3873 x130
 Photo Craft Imaging   . 3550 Arapahoe Ave. #6
 http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A. 


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


Re: [CentOS] permission on /var/www & /var/www/html

2008-03-05 Thread Jan Welker
Hi Hiep,

user: apache group: apache

Cheers, Jan

On Wed, Mar 5, 2008 at 4:51 PM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:

> hi all,
>
> assume apache runs under apache user/group and i have a user/group name
> "weber". i use "weber" user to upload files via ftp/sftp.
>
> where should i place my include files so that no one can access except
> apache b/c these files contained user/pw for mysql.
>
> i usually place them in /var/www/html/includes, but people can access to
> this folder, so i'm thinking place them in /var/www/includes.
>
> what should the permission for /var/www/html and /var/www/inclues/? what
> group should these two directories belong to???
>
> thanks,
> t. hiep
> ___
> 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] RESTORING THUNDERBIRD FILES

2008-03-05 Thread Chris Geldenhuis

Karanbir Singh wrote:

Chris Geldenhuis wrote:
Thanks to your advice I have been able to reciver all of my mail 
folders.


You are welcome.

I am not sure why an update would have caused the profiles and the 
paths to change and cause an issue. I've been using thunderbird for a 
long time and changed versions etc and never had this issue ( 
although, I do only stick with the version in the distro )



Hi Karanbir,

Perhaps it was some other factor causing the problem with Thunderbird 
and it was a coincidence that it manifested at the same time as an 
update. I did not have the same problem on another CentOS 4 box updated 
at the same time. Just happy that I've got my history back.


Thanks again

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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Akemi Yagi
On Wed, Mar 5, 2008 at 9:17 AM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
> Progress...
>
>  There is NO physical switch. XP had some way of enabling the radio. So I
>  went into the bios and played around a bit. Tried an option and now
>  NetworkManager sees the card!
>
>  But when I enter my WPA passphrase, I keep going back to being asked for
>  the passphrase :(
>
>  I noticed that NetworkManager is using eth1 for the the wireless
>  interface, not wifi0 that I put into modprobe.conf (alias wifi0 ipw3945).
>
>  I tried to use wpa_supplicant deamon as I do on my nc4010 that has an
>  atheros pci card. man wpa_supplicant lists ipw as a valid device, but
>  when I supply this, i get
>
>  Unsupported driver 'ipw'
>
>  SO why does it not like my passphrase that works just fine with my
>  nc4010 and its ahteros card? Granted theweak passphrase I am using fails
>  password checkers, but still.
>
>  Or how to use wpa_supplicant instead of NetworkManager (which is pretty
>  cool, where is its config files).

Not sure if this helps but might be worthwhile reading the forum thread at:

http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=12881&forum=40
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Les Mikesell

Ashley M. Kirchner wrote:

Jim Perrin wrote:

If you've been running yum update, you're already at 5.1. You may just
need to reboot to load the new kernel.
  
   Nope, I don't run yum.  I do manual updates.  So I've rsynced the 
updates to a local drives, and then ran rpm against them.  There's 
something about running un-attended updates on a life system.  I've had 
too many cases where I come into the office in the morning and the 
system is dead because of some update overnight.


What is it about yum that make you think it needs to be unattended?

--
  Les Mikesell
[EMAIL PROTECTED]


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


Re: [CentOS] show all groups comand

2008-03-05 Thread Stephen Harris
On Wed, Mar 05, 2008 at 09:47:08AM -0800, Hiep Nguyen wrote:
> hi all,
> 
> how do i find out all users & groups existing on the system from command 
> line?

getent passwd
getent group

-- 

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


Re: [CentOS] Source keychain credentials in Perl?

2008-03-05 Thread Stephen Harris
On Wed, Mar 05, 2008 at 11:00:13AM -0600, Sean Carolan wrote:
> >  system("source ~/.keychain/hostname-sh; cmd");
> >
> >  Is this what you're looking for?
> 
> Yes, this works.  Is there a way to only source the file once?  There
> are a bit over a dozen scp and ssh commands in the script.
> Unfortunately this is not my script, otherwise I'd have just done this
> all in bash.

Create a wrapper script:
  source ~/.keychain/hostname-sh
  run_annoying_perl_program.pl

-- 

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


[CentOS] show all groups comand

2008-03-05 Thread Hiep Nguyen

hi all,

how do i find out all users & groups existing on the system from command 
line?


thanks,
t. hiep
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] show all groups comand

2008-03-05 Thread Bart

cat /etc passwd
cat /etc groups

getent passwd
getent groups

Good luck

Hiep Nguyen wrote:

hi all,

how do i find out all users & groups existing on the system from 
command line?


thanks,
t. hiep
___
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] ipw3945 wireless not working

2008-03-05 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:


> ANy help would be greatly appreciated!

I'm using the ipw3945 on CentOS 5.1 with the following packages:

ipw3945d-1.7.22-4.nodist.rf
ipw3945-firmware-1.14.2-1.nodist.rf
dkms-ipw3945-1.2.1-1.nodist.rf


I installed mine using this:

yum install dkms-ipw3945 NetworkManagerDispatcher
chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on

After installation, reboot your laptop and your wireless adapter should
now be seen by the NetworkManager application in Gnome. You can click on
it and then connect to it in the taskbar on the right-hand side. I was
successful at connecting to a WRT54G at G speed using WPA2 Pre-Shared
Key Only and AES encryption algorithms.

This is all that was needed to install and connect to the wireless
network. Also, the card is seeing 4 different neighbor's wireless
connection points, so it's probing and searching appropriately.

Not sure if this helps you or not.

Regards,
Max


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHzuDHIXSX/6LmsXkRAgGZAJ9FawGWNCbiDGSkszXe4JeDRiKfnQCgkQ/D
AeJwO9PfCJlvHxQjwKzdQnE=
=3jIc
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Max Hetrick wrote:

> This is all that was needed to install and connect to the wireless
> network. Also, the card is seeing 4 different neighbor's wireless
> connection points, so it's probing and searching appropriately.


Also, mine shows up and works as eth1 and not wifi0.

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHzuHNIXSX/6LmsXkRAswMAJsGv7Y2IEoRuhQIpmb8+cgXG2Q7bgCfRROu
+FmwqTPuj2/fioFbzEeu640=
=+4dZ
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

Thanks for helping.

Max Hetrick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:
  

ANy help would be greatly appreciated!



I'm using the ipw3945 on CentOS 5.1 with the following packages:

ipw3945d-1.7.22-4.nodist.rf
ipw3945-firmware-1.14.2-1.nodist.rf
dkms-ipw3945-1.2.1-1.nodist.rf
  

Save rpms off of rpmforge. Installed this morning.

I installed mine using this:

yum install dkms-ipw3945 NetworkManagerDispatcher
  

NetworkManager was part of the base install.

chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on
  
I did this via the gnome services app, turning on all runlevels so I 
could activate 3,4,&5

After installation, reboot your laptop and your wireless adapter should
now be seen by the NetworkManager application in Gnome. 
I got to this point. Had to play around with the bios for the radio to 
come on at boot. I think the item that did this was NOT to enable LAN 
power management.

You can click on
it and then connect to it in the taskbar on the right-hand side. I was
successful at connecting to a WRT54G at G speed using WPA2 Pre-Shared
Key Only and AES encryption algorithms.
  
My AP is WPA1 with TKIP. Even if I select TKIP (not go the auto route), 
I am not getting connected.

This is all that was needed to install and connect to the wireless
network. Also, the card is seeing 4 different neighbor's wireless
connection points, so it's probing and searching appropriately.
  
I should probably turn on one of my other APs. I do have a lot of them 
here when needed

Not sure if this helps you or not.
Just tells me it is my problem, not a general problem. Good to know it 
works for someone!


Where does NetworkManager keep its information? There was no 
/etc/sysconf/network-scripts/ifcfg-eth1 file. I made one (but don't know 
how to get PTK passphrases into the file). No change.


ARGH!


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


Re: [CentOS] rsyslog repo?

2008-03-05 Thread Karanbir Singh

Johnny Tan wrote:
Does anyone know of a CentOS-5 (el5) repo for rsyslog, that's being 
maintained on a relatively regular basis? I checked all the usual 
suspects (dag, karan, epel, etc.), but they either don't have rsyslog at 
all, or they have an old version.




I am maintaining rsyslog quite regularly, and if you find the version 
lag a bit in my repo its because I found something broken or something 
wrong with their release.


rsyslog is deployed on all my own machines ( about 30 odd ) and at 
pretty much every client I am working with :D


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsyslog repo?

2008-03-05 Thread Milton Calnek

So where is your repo (is it public access?)

I would have thought it would have been one of the CentOS repo's.

Karanbir Singh wrote:

Johnny Tan wrote:
Does anyone know of a CentOS-5 (el5) repo for rsyslog, that's being 
maintained on a relatively regular basis? I checked all the usual 
suspects (dag, karan, epel, etc.), but they either don't have rsyslog 
at all, or they have an old version.




I am maintaining rsyslog quite regularly, and if you find the version 
lag a bit in my repo its because I found something broken or something 
wrong with their release.


rsyslog is deployed on all my own machines ( about 30 odd ) and at 
pretty much every client I am working with :D




--
Milton Calnek BSc, A/Slt(Ret.)
[EMAIL PROTECTED]
306-717-8737


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] Re: rsyslog repo?

2008-03-05 Thread Scott Silva

on 3-5-2008 10:47 AM Milton Calnek spake the following:

So where is your repo (is it public access?)

I would have thought it would have been one of the CentOS repo's.


http://wiki.centos.org/Repositories
gives you a list of the major repos.


--
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] ipw3945 wireless not working

2008-03-05 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:

> 
> Where does NetworkManager keep its information? There was no
> /etc/sysconf/network-scripts/ifcfg-eth1 file. I made one (but don't know
> how to get PTK passphrases into the file). No change.


I'm not sure mine stores anything anywhere. Every time I connect it asks
me for my passphrase information when I attempt to connect.

When I go home and turn the wireless on, I can search my logs to see if
it's storing that anywhere and get back to you.

Regards,
Max
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHzumJIXSX/6LmsXkRAgpDAJ9CsQqGP9/ZYMtCABrvSEuagC4wIwCdEHoB
wvVGz3UwZXKCF9pfiPsQ/Vs=
=NcV3
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread MHR
On Wed, Mar 5, 2008 at 9:17 AM, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote:
>
> Jim Perrin wrote:
> > If you've been running yum update, you're already at 5.1. You may just
> > need to reboot to load the new kernel.
> >
>Nope, I don't run yum.  I do manual updates.  So I've rsynced the
> updates to a local drives, and then ran rpm against them.  There's
> something about running un-attended updates on a life system.  I've had
> too many cases where I come into the office in the morning and the
> system is dead because of some update overnight.
>

Fascinating - I've always had to run yum manually, and I've never seen
an overnight update on my system.

Are you sure you don't have rogue administrators sneaking in at night
and 'yup'ing?

(Okay, that wasn't a serious suggestion, but your issue seems kind of
strange...)

Just my $0.02.

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


[CentOS] Re: slow SMTP-AUTH

2008-03-05 Thread Ugo Bellavance

Sorry for top posting, but I found the "problem".

My laptop is part of a Win2000 domain, so the solution was to disable 
kerberos in thunderbird.


I found it was kerberos by sniffing the packets.

Thanks,

Ugo

Ugo Bellavance wrote:

Ray Van Dolson wrote:

On Wed, Jul 25, 2007 at 07:35:58PM -0400, Ugo Bellavance wrote:

Ugo Bellavance wrote:

Brett Schroeder wrote:

Ugo Bellavance wrote:

Hi,

   I installed sendmail on a centos-4 openvz VM.  I set up SMTP-AUTH
and when I try to send mail using this server, there is a big 
delay in
which my e-mail client (Mozilla Thunderbird) just hangs.  The 
server, on
the other hand, is idle at the same time.  It does that no matter 
if I
use no encryption, TLS, or SSL.  When the client is 'hung' 
sendmail, on

the server side haven't logged anything yet for this connection.

Any idea?


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


Re: [CentOS] rsyslog repo?

2008-03-05 Thread Johnny Tan

Karanbir Singh wrote:
I am maintaining rsyslog quite regularly, and if you find the version 
lag a bit in my repo its because I found something broken or something 
wrong with their release.


I'm definitely all for stable, non-broken software even if 
it lags behind -- even way behind.


But I'm specifically interested in rsyslog v3 for the 
disk-assisted buffering.


Basically, I want to be able to log locally AND remotely. 
AFAICT, I have to move to v3 to get this feature.



Do you use it for central logging? And if you do, how do you 
mitigate the risk of data loss if the clients can't contact 
the server?


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


Re: [CentOS] Re: rsyslog repo?

2008-03-05 Thread Akemi Yagi
On Wed, Mar 5, 2008 at 10:54 AM, Scott Silva <[EMAIL PROTECTED]> wrote:
> on 3-5-2008 10:47 AM Milton Calnek spake the following:
>
> > So where is your repo (is it public access?)
>  >
>  > I would have thought it would have been one of the CentOS repo's.
>  >
>  http://wiki.centos.org/Repositories
>  gives you a list of the major repos.

It's in the KBS-Extras repo.  The current version is still in Testing.

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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Les Mikesell

MHR wrote:



If you've been running yum update, you're already at 5.1. You may just
need to reboot to load the new kernel.


   Nope, I don't run yum.  I do manual updates.  So I've rsynced the
updates to a local drives, and then ran rpm against them.  There's
something about running un-attended updates on a life system.  I've had
too many cases where I come into the office in the morning and the
system is dead because of some update overnight.



Fascinating - I've always had to run yum manually, and I've never seen
an overnight update on my system.

Are you sure you don't have rogue administrators sneaking in at night
and 'yup'ing?

(Okay, that wasn't a serious suggestion, but your issue seems kind of
strange...)

Just my $0.02.


Yes, aside from being able to run yum manually while still letting it do 
all the work, when has anyone seen a Centos system die from an update? 
I know it's theoretically possible and I baby-sit the critical systems 
too (at least the first on each hardware type), but this stuff is pretty 
well tested before being pushed out.


--
   Les Mikesell
[EMAIL PROTECTED]

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


[CentOS] Re: 5.0 -> 5.1

2008-03-05 Thread Scott Silva

on 3-5-2008 9:17 AM Ashley M. Kirchner spake the following:

Jim Perrin wrote:

If you've been running yum update, you're already at 5.1. You may just
need to reboot to load the new kernel.
  
   Nope, I don't run yum.  I do manual updates.  So I've rsynced the 
updates to a local drives, and then ran rpm against them.  There's 
something about running un-attended updates on a life system.  I've had 
too many cases where I come into the office in the morning and the 
system is dead because of some update overnight.



Yum update "is" a manual process unless you specifically enable it to run 
nightly.

--
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] satisfying netdirector package dependencies

2008-03-05 Thread John R Pierce

Greg Wallace wrote:

Hello,

we're looking at packaging up our current NetDirector bug fix release and we 
want it available as .rpm

at this moment, the maintainers don't have a test environment for Centos


does anyone know whether the latest versions of and Centos can satisfy Tomcat 5 
and Java 1.4 JDK as dependencies?
  


as someone else said, the Java packaged with CentOS is GCJ, which is, 
imho, an abomination.   I uninstall GCJ and all its dependencies, and 
use the Jpackage.org RPMs to install Sun Java and anything else such as 
Tomcat (they have Tomcat 4.x, 5.0, and 5.5 available, it looks like)


Note that on jpackage.org, JPP 1.7 is based on Java 1.4.2, while JPP 5.0 
uses Java 5...   I reommend starting here -> 
http://www.jpackage.org/jppfaq.php


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


[CentOS] dag repo status

2008-03-05 Thread John Hinton
Looks like the repo's for 4 and 5 are back up... but 3 is still broken. 
For those who want to know.


I guess we might want to go easy on them though.

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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

thanks but I have a hunch

Max Hetrick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:

Where does NetworkManager keep its information? There was no
/etc/sysconf/network-scripts/ifcfg-eth1 file. I made one (but don't know
how to get PTK passphrases into the file). No change.


I'm not sure mine stores anything anywhere. Every time I connect it asks
me for my passphrase information when I attempt to connect.
  
Not good if you have a really good passphrase! You can be more secure if 
the passphrase is kept protected on your system and is hard to enter, 
than have one that is 'easy'to remember and enter.

When I go home and turn the wireless on, I can search my logs to see if
it's storing that anywhere and get back to you.

What is NetworkManager using for its 802.1X supplicant code?

I think I can see that it cannot be teh wpa_supplicant. It only supports 
the ipw2200, I have figured out. Not the ipw3945. So I will uninstall 
that. The xsupplicant rpm? or something internal?



BTW, I turned on an AP with no security, and connected right to it with 
NetworkManager. This really tends to narrow my problem to WPA support.



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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Stephen John Smoogen
On Wed, Mar 5, 2008 at 11:42 AM, Max Hetrick <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
>
>  Robert Moskowitz wrote:
>
>  >
>
> > Where does NetworkManager keep its information? There was no
>  > /etc/sysconf/network-scripts/ifcfg-eth1 file. I made one (but don't know
>  > how to get PTK passphrases into the file). No change.
>
>
>  I'm not sure mine stores anything anywhere. Every time I connect it asks
>  me for my passphrase information when I attempt to connect.
>
>  When I go home and turn the wireless on, I can search my logs to see if
>  it's storing that anywhere and get back to you.
>

If you have passphrases turned on in Gnome it stores them in


Network manager stores its data via dbus which gets its stuff usually
from user configs.

/home/$USER/.gconf/system/networking/wireless

Now I will say I had similar problems with the DAG ipw3945 and some
AP's. I had to recompile with some options turned off to get it to
work better. In the end, I switched to some Intel made rpms and tada
it all worked better. However, I can't use the device to do airsnort
etc so its a wash in my opinion.

-- 
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

More data

Robert Moskowitz wrote:

thanks but I have a hunch

Max Hetrick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:

Where does NetworkManager keep its information? There was no
/etc/sysconf/network-scripts/ifcfg-eth1 file. I made one (but don't 
know

how to get PTK passphrases into the file). No change.

I'm not sure mine stores anything anywhere. Every time I connect it asks
me for my passphrase information when I attempt to connect.
Not good if you have a really good passphrase! You can be more secure 
if the passphrase is kept protected on your system and is hard to 
enter, than have one that is 'easy'to remember and enter.

When I go home and turn the wireless on, I can search my logs to see if
it's storing that anywhere and get back to you.

What is NetworkManager using for its 802.1X supplicant code?

I think I can see that it cannot be teh wpa_supplicant. It only 
supports the ipw2200, I have figured out. Not the ipw3945. So I will 
uninstall that. The xsupplicant rpm? or something internal?



BTW, I turned on an AP with no security, and connected right to it 
with NetworkManager. This really tends to narrow my problem to WPA 
support. 

I yum erased wpa*

this not only removed wpa_supplicant and wpa_supplicant_gui, but also 
NetworkManager and its gnome interface. I then


yum install NetworkManager*


This added wpa_supplicant back in.

rebooted.

I can connect to the AP with no security, but not the one with PSK 
Passphrase (which needs wpa_supplicant). And the man pages only lists 
ipw2200, not ipw3945.


So I am suspecting that there is no wpa support for my card?


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


[CentOS] install webmin

2008-03-05 Thread Hiep Nguyen

hi all,

how do i install webmin using yum?

i tried: yum search webmin, but not found.

it must be on a different repos. what repos do i need to add to see this 
package.


thanks
t. hiep


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


[CentOS] Re: 5.0 -> 5.1

2008-03-05 Thread Scott Silva

on 3-5-2008 11:20 AM Les Mikesell spake the following:

MHR wrote:



If you've been running yum update, you're already at 5.1. You may just
need to reboot to load the new kernel.


   Nope, I don't run yum.  I do manual updates.  So I've rsynced the
updates to a local drives, and then ran rpm against them.  There's
something about running un-attended updates on a life system.  I've had
too many cases where I come into the office in the morning and the
system is dead because of some update overnight.



Fascinating - I've always had to run yum manually, and I've never seen
an overnight update on my system.

Are you sure you don't have rogue administrators sneaking in at night
and 'yup'ing?

(Okay, that wasn't a serious suggestion, but your issue seems kind of
strange...)

Just my $0.02.


Yes, aside from being able to run yum manually while still letting it do 
all the work, when has anyone seen a Centos system die from an update? I 
know it's theoretically possible and I baby-sit the critical systems too 
(at least the first on each hardware type), but this stuff is pretty 
well tested before being pushed out.


While I haven't seen an entire system go down from an update, I have seen 
software stop working due to a perl module update. But to be fair, that also 
involved a third-party repo.


--
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] install webmin

2008-03-05 Thread John Plemons
Just download from Webmin.com let the package manager do the work for 
you..  Use the basic RPM download


john











Hiep Nguyen wrote:

hi all,

how do i install webmin using yum?

i tried: yum search webmin, but not found.

it must be on a different repos. what repos do i need to add to see 
this package.


thanks
t. hiep


___
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] ipw3945 wireless not working

2008-03-05 Thread Joshua Baker-LePain

On Wed, 5 Mar 2008 at 3:09pm, Robert Moskowitz wrote


I yum erased wpa*

this not only removed wpa_supplicant and wpa_supplicant_gui, but also 
NetworkManager and its gnome interface. I then


yum install NetworkManager*

This added wpa_supplicant back in.

rebooted.

I can connect to the AP with no security, but not the one with PSK Passphrase 
(which needs wpa_supplicant). And the man pages only lists ipw2200, not 
ipw3945.


So I am suspecting that there is no wpa support for my card?


I've used WPA with my 3945 card (in a ThinkPad Z61t) on both Fedora 7 w/ 
ipw3945 and Fedora 8 w/ iwl3945.  So, it can work.  On F7, I did the whole 
config manually (I don't use any DE, so I tend to have to do things this 
way) -- including editing /etc/sysconfig/network/ifcfg-eth1 to have the 
correct ESSID and editing /etc/wpa_supplicant/wpa_wupplicant.conf with my 
PSK.  I'm *guessing* that would work for you.


I don't know how to get it working with NM -- sorry.

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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:

> What is NetworkManager using for its 802.1X supplicant code?

- From /usr/share/doc/NetworkManager-0.6.4/README:

The nm-applet provides a DBUS service called NetworkManagerInfo, which
should provide to NetworkManager the Preferred Networks lists upon
request.  It also should be able to display a dialog to retrieve a
WEP/WPA key or passphrase from the user when NetworkManager requests it.
 The GNOME version of NetworkManagerInfo, for example, stores Preferred
Networks in GConf and WEP/WPA keys in gnome-keyring, and proxies that
information to NetworkManager upon request.

gnome-keyring


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHzv+UIXSX/6LmsXkRAvz9AJ9O0i6jg2CgK97t1BnKpiGqvNR1ygCfQYvZ
ApVCtb5Qtntll8FtIuSzHIA=
=/2w0
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

Joshua Baker-LePain wrote:

On Wed, 5 Mar 2008 at 3:09pm, Robert Moskowitz wrote


I yum erased wpa*

this not only removed wpa_supplicant and wpa_supplicant_gui, but also 
NetworkManager and its gnome interface. I then


yum install NetworkManager*

This added wpa_supplicant back in.

rebooted.

I can connect to the AP with no security, but not the one with PSK 
Passphrase (which needs wpa_supplicant). And the man pages only lists 
ipw2200, not ipw3945.


So I am suspecting that there is no wpa support for my card?


I've used WPA with my 3945 card (in a ThinkPad Z61t) on both Fedora 7 
w/ ipw3945 and Fedora 8 w/ iwl3945. So, it can work.

Good news, that.
On F7, I did the whole config manually (I don't use any DE, so I tend 
to have to do things this way) -- including editing 
/etc/sysconfig/network/ifcfg-eth1 to have the correct ESSID and 
editing /etc/wpa_supplicant/wpa_wupplicant.conf with my PSK. I'm 
*guessing* that would work for you.
I copied my wpa_supplicant.conf file from my nc4010 that has an atheros 
card (but did not use NetworkManager). My key and everything was in the 
file and works perfectly on the nc4010. Not hte nc2400 with the ipw3945...
I don't know how to get it working with NM -- sorry. 


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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Joshua Baker-LePain

On Wed, 5 Mar 2008 at 4:35pm, Robert Moskowitz wrote


Joshua Baker-LePain wrote:


On F7, I did the whole config manually (I don't use any DE, so I tend to 
have to do things this way) -- including editing 
/etc/sysconfig/network/ifcfg-eth1 to have the correct ESSID and editing 
/etc/wpa_supplicant/wpa_wupplicant.conf with my PSK. I'm *guessing* that 
would work for you.


I copied my wpa_supplicant.conf file from my nc4010 that has an atheros card 
(but did not use NetworkManager). My key and everything was in the file and 
works perfectly on the nc4010. Not hte nc2400 with the ipw3945...


You may also want to have a look at /etc/sysconfig/wpa_supplicant and make 
sure that it is set up correctly.


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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

thanks

Max Hetrick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Moskowitz wrote:

hat is NetworkManager using for its 802.1X supplicant code?


- From /usr/share/doc/NetworkManager-0.6.4/README:

The nm-applet provides a DBUS service called NetworkManagerInfo, which
should provide to NetworkManager the Preferred Networks lists upon
request.  It also should be able to display a dialog to retrieve a
WEP/WPA key or passphrase from the user when NetworkManager requests it.
 The GNOME version of NetworkManagerInfo, for example, stores Preferred
Networks in GConf 

OK. I see this.

and WEP/WPA keys in gnome-keyring, and proxies that
information to NetworkManager upon request.
  
Well if I can ever get it to take my passphrase we will see how it 
stores things in the keyring...


Still no dice on wpa passphrase.

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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

Joshua Baker-LePain wrote:

On Wed, 5 Mar 2008 at 4:35pm, Robert Moskowitz wrote


Joshua Baker-LePain wrote:


On F7, I did the whole config manually (I don't use any DE, so I 
tend to have to do things this way) -- including editing 
/etc/sysconfig/network/ifcfg-eth1 to have the correct ESSID and 
editing /etc/wpa_supplicant/wpa_wupplicant.conf with my PSK. I'm 
*guessing* that would work for you.


I copied my wpa_supplicant.conf file from my nc4010 that has an 
atheros card (but did not use NetworkManager). My key and everything 
was in the file and works perfectly on the nc4010. Not hte nc2400 
with the ipw3945...


You may also want to have a look at /etc/sysconfig/wpa_supplicant and 
make sure that it is set up correctly. 

Define 'correctly' Mine has:

# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-iwlan0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"


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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Joshua Baker-LePain

On Wed, 5 Mar 2008 at 5:32pm, Robert Moskowitz wrote


Joshua Baker-LePain wrote:


You may also want to have a look at /etc/sysconfig/wpa_supplicant and make 
sure that it is set up correctly. 


Define 'correctly' Mine has:

# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-iwlan0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"


If you're using ipw3945, you're *not* using ndiswrapper.  That should be

DRIVERS="-Dwext"

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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Warren Young

Les Mikesell wrote:
when has anyone seen a Centos system die from an update? 


Just a few months ago, one of the Samba updates caused it to drop all 
our Windows systems' mapped drives every 10 minutes or so.  You'd be in 
the middle of a big copy, and boom, there goes your share, and you have 
to start again.  I don't remember what eventually fixed it.  If I hadn't 
been here to do fire fighting, it could have gotten ugly.

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


Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

Joshua Baker-LePain wrote:

On Wed, 5 Mar 2008 at 5:32pm, Robert Moskowitz wrote


Joshua Baker-LePain wrote:


You may also want to have a look at /etc/sysconfig/wpa_supplicant 
and make sure that it is set up correctly. 


Define 'correctly' Mine has:

# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-iwlan0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"


If you're using ipw3945, you're *not* using ndiswrapper. That should be

DRIVERS="-Dwext"

Where is this documented?

And what for the Interface line?


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


Working - Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Robert Moskowitz

YES

Joshua Baker-LePain wrote:

On Wed, 5 Mar 2008 at 5:32pm, Robert Moskowitz wrote


Joshua Baker-LePain wrote:


You may also want to have a look at /etc/sysconfig/wpa_supplicant 
and make sure that it is set up correctly. 


Define 'correctly' Mine has:

# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-iwlan0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"


If you're using ipw3945, you're *not* using ndiswrapper. That should be

DRIVERS="-Dwext" 

YES!!! this did it.

And I got prompted for a password for the gnome-keyring that was created 
to hold my passphrase.


Next week it will be trying to get onto the secure wireless at the IETF 
meeting, instead of the insecured... (BTW, all the secured wireless does 
there is stop wireless attacks. Does not stop IP level attacks).



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


[CentOS] NetworkManager order

2008-03-05 Thread Robert Moskowitz

How do I control the order in the network manager?

I have read the little doc on it.  And I want wireless before wired, for 
example.  If multiple wireless, I want to be at least asked, or to set 
my priority (like I could do in wpa_supplicant.conf).



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


Re: [CentOS] NetworkManager order

2008-03-05 Thread Garrick Staples
On Wed, Mar 05, 2008 at 06:09:11PM -0500, Robert Moskowitz alleged:
> How do I control the order in the network manager?
> 
> I have read the little doc on it.  And I want wireless before wired, for 
> example.  If multiple wireless, I want to be at least asked, or to set 
> my priority (like I could do in wpa_supplicant.conf).

Just click the icon and select the one you want.  It remembers your favorite
APs.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


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


Re: Working - Re: [CentOS] ipw3945 wireless not working

2008-03-05 Thread Joshua Baker-LePain

On Wed, 5 Mar 2008 at 6:07pm, Robert Moskowitz wrote


YES


Good to hear.

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


Re: [CentOS] install webmin

2008-03-05 Thread Ross Cavanagh

Hiep Nguyen wrote:

hi all,

how do i install webmin using yum?

i tried: yum search webmin, but not found.

it must be on a different repos. what repos do i need to add to see 
this package.


thanks
t. hiep


wget http://prdownloads.sourceforge.net/webadmin/webmin-1.400-1.noarch.rpm

rpm --import http://www.webmin.com/jcameron-key.asc

yum localinstall webmin-1.400-1.noarch.rpm

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


RE: [CentOS] install webmin

2008-03-05 Thread Alex
I was able to go to www.webmin.com and download the rpm file and install
I am using centos 5 I also was not able to install using yum but this
worked for me  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ross Cavanagh
Sent: Wednesday, March 05, 2008 7:12 PM
To: CentOS mailing list
Subject: Re: [CentOS] install webmin

Hiep Nguyen wrote:
> hi all,
>
> how do i install webmin using yum?
>
> i tried: yum search webmin, but not found.
>
> it must be on a different repos. what repos do i need to add to see 
> this package.
>
> thanks
> t. hiep
>
wget
http://prdownloads.sourceforge.net/webadmin/webmin-1.400-1.noarch.rpm

rpm --import http://www.webmin.com/jcameron-key.asc

yum localinstall webmin-1.400-1.noarch.rpm

___
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 compiling freeradius on x86_64

2008-03-05 Thread Johnny Hughes

Sergio Belkin wrote:

2008/3/5, Mogens Kjaer <[EMAIL PROTECTED]>:

Sergio Belkin wrote:
 > Hi,
 > I can't compile freeradius-2.0.2 (Centos RPM is too old for what I
 > need) on Centos 5.1 x86_64. It outputs:
 >
 > /usr/lib/libltdl.so: could not read symbols: File in wrong format
 > collect2: ld returned 1 exit status



That error means you are trying to link against i386 libraries with -m64 
... which you can't do. You need to remove all i[3,4,5,6]86 RPMS from an 
x86_64 build server except for glibc.i686 and glibc-devel.i386 (and 
those packages are only needed to build a couple packages).




Maybe it should look for /usr/lib64/libltdl.so ?

 Can't you use the Centos SRPM file as a template for
 the build process?




Ooops  :S How can I do that?


First thing is that building on x86_64 is quite a PITA.

You will need to either use mock with the appropriate configuration file 
  or you will need to create a build machine that has only x86_64 RPMS 
(otherwise you will either try (and fail) to link to i386 libraries ... 
or if you have enough i386 software actually installed (binutils, 
libgcc, glibc and glibc-devel) then you will actually link against i386 
libraries).


This will most likely make your binaries not work, or require mixed 
software on other installs.


So, I would recommend that you create a build VM or use mock.

Thanks,
Johnny Hughes



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


Re: [CentOS] 5.0 -> 5.1

2008-03-05 Thread Niki Kovacs

Ashley M. Kirchner a écrit :

   Nope, I don't run yum.  I do manual updates.  


In my native Austria, we call this: "To bear the church around the cross."

(Cultural context: during catholic processions, folks use to bear the 
cross around the church.)


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