RE: [CentOS] Faking RHEL with CentOS

2008-10-01 Thread [EMAIL PROTECTED]
NiftyClusters T Mitchell wrote:
>
> If there are 1 files it might look at 1 different places
> including device names kernel names, shell features, kernel
> modules and more. 
> i.e all the things that 'configure' might know about and more.

Yeah, that's my main worry.

 
> /etc/redhat-release is the most common.   N.B. You may need to restore
> the CentOS words often to permit CentOS updates to do the right thing.

I've been thinking about that too, ever since I did a yum update yesterday on
my test machine. I had the centos-line commented out and instead had a
rhel-line in there. AFAICT, the update went through fine, incl a kernel
update. But this might be a potential gotcha'.


> If /etc/redhat-release is not the answer you may have to look harder
> at the failing process with strace  or even SELinux tricks to see
> what it does look at.

Use SELinux tricks even if I don't have it installed? I'm not that familiar
with SELinux, except for knowing it's a security hardened something or other.


> If it is Oracle, Given the price of Oracle -- just purchase the RH
> product. 
> It is common that the expensive packages are the most restrictive and
> putative. 

Nah, not Oracle. We run Orcacle on Windows here. It's a constant pain for our
db-admin. Main concern are a handful of proprietary molecular building and
calculation suites. The *nix-group here uses computer aided drug design. There
are db's involved but they are installed and run from each software suite, w/o
involvement of Oracle or some such.


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


RE: [CentOS] Faking RHEL with CentOS

2008-10-01 Thread [EMAIL PROTECTED]
John wrote:
>> From CentOS /etc/redhat-release:
> CentOS release 5.2 (Final)
> 
>> From RHEL3 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 3 (Taroon Update 9)
> 
>> From RHEL4 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
> 
> Has anybody maybe actually done this already and can tell if it'd
> work? 
> 
> What other places may a software look into to check the computer runs
> the correct OS?
> 
> JohnStanley Writes:
> 
> Yes that will work. Replace the appropriate string. Also do cat
> /etc/issue. 
> One more and it is called programatically "rpm --whatprovides"

Nice! Thx, will investigate the suggested files and rpm stuff.


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


[CentOS] Re: XDMCP - no GDM login, only gray screen with X

2008-10-01 Thread Sean Carolan
A bit more info if it's helpful:  I have tried kdm as well and get the
exact same results, gray screen with an X cursor, no login window or
greeter at all.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Half-OT: Modify several ldap entries

2008-10-01 Thread Sergio Belkin
Hi,

I want to fix several entries of mail attribute mail that have an
error something like this:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

and so on.

I want to to change them to:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

(Delete asterisks)

How can I perform it in one (or at least few) steps?

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


[CentOS] Re: XDMCP - no GDM login, only gray screen with X

2008-10-01 Thread Sean Carolan
> I should add to this that I'm able to run X-windows programs on my
> local workstation, such as gnome-terminal, xclock, etc.  Xming opens
> them up with no issues whatsoever.  It's just that I can't get a gdm
> login screen when trying to connect via xdmcp.

If it's any help here is what I see in the /var/log/messages file with
debug turned on.  IP address and hostname have been changed to protect
the innocent:

Oct  1 20:24:22 server gdm[14790]: gdm_xdmcp_decode: Received opcode
QUERY from client 10.10.10.10
Oct  1 20:24:22 server gdm[14790]: gdm_xdmcp_handle_query: Opcode 2
from 10.10.10.10
Oct  1 20:24:22 server gdm[14790]: gdm_xdmcp_send_willing: Sending
WILLING to 10.10.10.10
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_decode: Received opcode
REQUEST from client 10.10.10.10
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_handle_request: Got
REQUEST from 10.10.10.10
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_handle_request:
xdmcp_pending=0, MaxPending=4, xdmcp_sessions=0, MaxSessions=16,
ManufacturerID=
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_display_dispose_check
(cpe-10-10-10-10.austin.res.rr.com:0)
Oct  1 20:24:23 server gdm[14790]: gdm_auth_secure_display: Setting up
access for cpe-10-10-10-10.austin.res.rr.com:0
Oct  1 20:24:23 server gdm[14790]: gdm_auth_secure_display: Setting up access
Oct  1 20:24:23 server gdm[14790]: gdm_auth_secure_display: Setting up
access for cpe-10-10-10-10.austin.res.rr.com:0 - 1 entries
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_display_alloc:
display=cpe-10-10-10-10.austin.res.rr.com:0, session id=-246206558,
xdmcp_pending=1
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_send_accept: Sending
ACCEPT to 10.10.10.10 with SessionID=-246206558
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_decode: Received opcode
MANAGE from client 10.10.10.10
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_handle_manage: Got MANAGE
from 10.10.10.10
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_handle_manage: Got
Display=0, SessionID=-246206558 Class=MIT-unspecified from 10.10.10.10
Oct  1 20:24:23 server gdm[14790]: gdm_xdmcp_handle_manage: Looked up
cpe-10-10-10-10.austin.res.rr.com:0
Oct  1 20:24:23 server gdm[14790]: gdm_choose_indirect_lookup: Host
10.10.10.10 not found
Oct  1 20:24:23 server gdm[14790]: gdm_forward_query_lookup: Host
10.10.10.10 not found
Oct  1 20:24:23 server gdm[14790]: gdm_display_manage: Managing
cpe-10-10-10-10.austin.res.rr.com:0
Oct  1 20:24:23 server gdm[14790]: loop check: last_start 0, last_loop
0, now: 1222907063, retry_count: 0
Oct  1 20:24:23 server gdm[14790]: Resetting counts for loop of death detection
Oct  1 20:24:23 server gdm[14790]: gdm_display_manage: Forked slave: 14864
Oct  1 20:24:23 server gdm[14864]: gdm_slave_start: Starting slave
process for cpe-10-10-10-10.austin.res.rr.com:0
Oct  1 20:24:23 server gdm[14864]: gdm_slave_start: Loop Thingie
Oct  1 20:24:23 server gdm[14864]: gdm_slave_run: Opening display
cpe-10-10-10-10.austin.res.rr.com:0
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: XDMCP - no GDM login, only gray screen with X

2008-10-01 Thread Sean Carolan
On Wed, Oct 1, 2008 at 6:04 PM, Sean Carolan <[EMAIL PROTECTED]> wrote:
> I'm having trouble getting the GDM login screen to show up when I
> connect from a remote host.

I should add to this that I'm able to run X-windows programs on my
local workstation, such as gnome-terminal, xclock, etc.  Xming opens
them up with no issues whatsoever.  It's just that I can't get a gdm
login screen when trying to connect via xdmcp.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread Jeff Kinz

Hi, for the sake of the the CentOS email servers, would you
please turn off attaching the additional copy of your email in
HTML format?

You are sending your email out in both plain text and HTML
format, which more than doubles the size of your email, thereby
doubling the amount of bandwidth the CentOS email server has
to use to send it to the many many people on the list.  This
increases the cost of sending out your email by almost 100% but
doesn't provide any more actual content.

to see how to turn off HTML in many email clients look at
this web page:
http://expita.com/nomime.html#programs

This is desired by the CentOS mailing list rules. per:

1. Please turn off HTML in your e-mail client for these mailing
lists.  We have several subscribers who read the list with
text only readers and they can't easily read HTML formatted
e-mails. There is a place (somewhere) for the flowery stationary
and themes that some mail clients offer ... but this is not
it. Again, please only post text e-mails to these mailing lists.

Quoted from:
http://www.centos.org/modules/tinycontent/index.php?id=16
(near the bottom)


Thanks,
Jeff Kinz



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


Re: [CentOS] Re: question about software Raid 1

2008-10-01 Thread Kanwar Ranbir Sandhu
On Wed, 2008-10-01 at 12:09 -0400, Toby Bluhm wrote: 
> cat /proc/mdstat gives progress
> 
> cat /sys/block/md0/md/sync_action gives current mode

Of course!  I guess when I ran the check on md0, it finished before I
had the opportunity to watch the progress, so I wasn't sure what to
check.

Also, I just noticed this:

Oct  1 11:02:48 ranbir kernel: md: md0: data-check done.

Whoops!  It was right there in the log, and I completely missed it.

Regards,

Ranbir

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


Re: [CentOS] Re: setting timezone from kickstart

2008-10-01 Thread NiftyClusters T Mitchell
On Tue, Sep 30, 2008 at 5:54 AM, Jerry Geis <[EMAIL PROTECTED]> wrote:
>>
>> >/I used to do manual installs so I would set the timezone each time.
>> />/I have now migrated to kickstart and I wish to use a command line (at
>> />/boot) parameter
>> />/to set the needed timezone.
>> /
>> What's wrong with the KS Timezone command? Why do it via cmdline or w/
>> symbolic
>> links??
>>
>
> On first thought I didnt want to have X different KS files for setting the
> timezone... however, I can use the command
> line method I was thinking about... then use the %pre section to make use of
> the KS timezone
> command.
>
> Thanks - I just wasnt thinking straight yet this morning.

If you have lots of KS files you can use %include

   %include mysite-standard-stuff.ks

In that file add standard stuff like:

timezone US/Los_Angeles
lang en_US.UTF-8
keyboard us
auth --useshadow --enablemd5
selinux --enforcing

Keep it simple.
There is a tool to flatten KS files out there that can be of help
(used it once).
Use a revision control system for your KS files too.



-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vmcore

2008-10-01 Thread NiftyClusters T Mitchell
On Tue, Sep 30, 2008 at 2:50 AM, Mag Gam <[EMAIL PROTECTED]> wrote:
> I would like to analyze a kernel vmcore. Are there any docs you can
> recommend for me to read to  understand the process?

The kernel is a massive C program.
Download the source that matches your kernel and make yourself a set of  tags
(ctags or gtags what ever you like).

When it blew up you should have some points in the stack with symbol names.
Walk through the call stack and look at the input and output of each
function with
the source in front of you.
See where that (and a good search on the web) takes you

   http://www.linuxsymposium.org/2006/kdump_slides.pdf

If you made any source changes look for errors in your code  ;-)

If you are running stock mainline code -- file a bug and if you find the source
of the bug first do an add to the report with what you  think the error is.


-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] XDMCP - no GDM login, only gray screen with X

2008-10-01 Thread Sean Carolan
I'm having trouble getting the GDM login screen to show up when I
connect from a remote host.  I'm using Xming on the local Windows
machine, but every time I connect to the remote server all I get is a
gray window with the X cursor.  I have "Enable=true" in the [xdmcp]
section of /etc/gdm/custom.conf.  IPtables is disabled.  I've googled
around and read through the xdmcp page on tldp.org but have not come
up with anything.  Can anyone help with this issue?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xboard rpm for CentOS 4 SOLVED

2008-10-01 Thread Karanbir Singh

[EMAIL PROTECTED] wrote:

Ralph Angenendt <[EMAIL PROTECTED]> wrote:


All those would be available in CentOS 5 >:)
If you still can find xboard for Fedora 3/4 somewhere - that should be 
rebuildable.


Thanks I found the Fedora 4 SRPM and its now rebuilding.



the latest version of xboard is now also in kbs-centos-extras-testing 
for centos-5 ( based on the fedora10 rpm )


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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread Ramon Nieto


--- El mié 1-oct-08, Karanbir Singh <[EMAIL PROTECTED]> escribió:
De:: Karanbir Singh <[EMAIL PROTECTED]>
Asunto: Re: [CentOS] 10 Gb with CentOS
A: "CentOS mailing list" 
Fecha: miércoles, 1 octubre, 2008, 4:21 pm

Ramon Nieto wrote:
> Hello all,
> 
> Is 10 Gb supported by CentOS 4 and 5? Anyone using it?
> 
> i'll appreciate any information on this subject.

yes, some 10gb cards are, yes there are people using them. I dont see 
what the issue is, are you conducting a random survey of some sorts ?

I'll like to know from others their experience using 10 Gb LAN with CentOS 4 & 
5.

There is a chance here at work to change our backbone network to 10 Gb LAN if 
this get approved (by the CIO) i'll like to include to this project some 10 Gb 
Network Cards for our CentOS servers in order to connect them directly to the 
new backbone.

Thank you in advance

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



  ¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.   
http://mx.mujer.yahoo.com/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xboard rpm for CentOS 4 SOLVED

2008-10-01 Thread vandaman2002-rt
Ralph Angenendt <[EMAIL PROTECTED]> wrote:

> All those would be available in CentOS 5 >:)
> If you still can find xboard for Fedora 3/4 somewhere - that should be 
> rebuildable.

Thanks I found the Fedora 4 SRPM and its now rebuilding.





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


Re: [CentOS] Faking RHEL with CentOS

2008-10-01 Thread NiftyClusters T Mitchell
On Wed, Oct 1, 2008 at 11:06 AM, John <[EMAIL PROTECTED]> wrote:
> >From CentOS /etc/redhat-release:
> CentOS release 5.2 (Final)
>
> >From RHEL3 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 3 (Taroon Update 9)
>
> >From RHEL4 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
>
> Has anybody maybe actually done this already and can tell if it'd work?
>
> What other places may a software look into to check the computer runs the
> correct OS?
>
> JohnStanley Writes:
>
> Yes that will work. Replace the appropriate string. Also do cat /etc/issue.
> One more and it is called programatically "rpm --whatprovides"
>

If there are 1 files it might look at 1 different places including
device names kernel names, shell features, kernel modules and more.
i.e all the things that 'configure' might know about and more.

/etc/redhat-release is the most common.   N.B. You may need to restore
the CentOS words often to permit CentOS updates to do the right thing.

If /etc/redhat-release is not the answer you may have to look harder at the
failing process with strace  or even SELinux tricks to see what it does
look at.

If it is Oracle, Given the price of Oracle -- just purchase the RH product.
It is common that the expensive packages are the most restrictive and putative.




-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xboard rpm for CentOS 4

2008-10-01 Thread Ralph Angenendt
[EMAIL PROTECTED] wrote:
> You did not read my post properly? Fedora rpm needs a lot of things updating.
> 
> $ rpmbuild -bb xboard.spec
> error: Failed build dependencies:
> xorg-x11-xbitmaps is needed by xboard-4.2.7-16.i386
> libICE-devel is needed by xboard-4.2.7-16.i386
> libXmu-devel is needed by xboard-4.2.7-16.i386
> libSM-devel is needed by xboard-4.2.7-16.i386
> libXaw-devel is needed by xboard-4.2.7-16.i386
> libXt-devel is needed by xboard-4.2.7-16.i386
> xorg-x11-proto-devel is needed by xboard-4.2.7-16.i386
> libXpm-devel is needed by xboard-4.2.7-16.i386
> libXext-devel is needed by xboard-4.2.7-16.i386

All those would be available in CentOS 5 >:)

If you still can find xboard for Fedora 3/4 somewhere - that should be 
rebuildable.

Ralph

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


Re: [CentOS] OT: C++ Newbie "Hello World" problem SOLVED

2008-10-01 Thread vandaman2002-rt
Lanny Marcus wrote:

> Note: This began in the thread "[CentOS] Probably a bad setup but
> which one?" but I don't want to hijack that thread.  "tech" began with
> a similar problem, with the Perl "Hello World" script.

Oh no not another n00b. n00bs should probably have to go to boot camp or :-

1. Don't top post.
2. Don't hijack another thread with new unrelated info.
3. Trim your responses.




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


Re: [CentOS] Xboard rpm for CentOS 4

2008-10-01 Thread Karanbir Singh

[EMAIL PROTECTED] wrote:
Has anyone built an rpm for xboard for CentOS 4? I looked in the EPEL 
repo, KBS repo
and rpmforge but none exist. The KBS repo has gnuchess in testing but 
what good is
gnuchess without xboard? As usual the fedora SRPM for Fedora 6 and 
Fedora 9 cannot
build on CentOS 4- they might build on CentOS 6 but i have no time 
machine :).


let me look

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


Re: [CentOS] Xboard rpm for CentOS 4

2008-10-01 Thread vandaman2002-rt
Filipe Brandenburger wrote:

> There is an RPM for Fedora Cors 9.
> http://rpmfind.net//linux/RPM/fedora/devel/src/xboard-4.2.7-17.fc9.src.html
> 
> You can try to rebuild it from the source RPM yourself.
> 
> See here for help on how to do this:
> http://wiki.centos.org/HowTos/RebuildSRPM
> 
> Let us know how that goes!
> 
You did not read my post properly? Fedora rpm needs a lot of things updating.

$ rpmbuild -bb xboard.spec
error: Failed build dependencies:
xorg-x11-xbitmaps is needed by xboard-4.2.7-16.i386
libICE-devel is needed by xboard-4.2.7-16.i386
libXmu-devel is needed by xboard-4.2.7-16.i386
libSM-devel is needed by xboard-4.2.7-16.i386
libXaw-devel is needed by xboard-4.2.7-16.i386
libXt-devel is needed by xboard-4.2.7-16.i386
xorg-x11-proto-devel is needed by xboard-4.2.7-16.i386
libXpm-devel is needed by xboard-4.2.7-16.i386
libXext-devel is needed by xboard-4.2.7-16.i386





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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread NiftyClusters T Mitchell
Bottom post list,  reply below.
2008/10/1 Ramon Nieto <[EMAIL PROTECTED]>:
> Hello all,
>
> Is 10 Gb supported by CentOS 4 and 5? Anyone using it?
>
> i'll appreciate any information on this subject.
>

Some but not all 10 Gb network cards are supported.
Some driver support is better than other...

You can download the latest CentOS and look at the driver
list for out of the box support.   Since CentOS is built from redhat
packaged source you can also inspect the release note on both
the CentOS and Red Hat web pages.

One caution is that a current kernel may support your card
but the kernel in the install media may not if it is a very new
part.   This is easy to solve if you understand it but a road block
if you do not.

Do some bandwidth arithmetic and make sure that the slot you
plug your card into can support the bandwidth you expect.
Same for system memory  I do know that the bandwidth of
my little KIM-1 6502 processor based system cannot support 10Gb.

Do some homework there are some good/ better/ best 10Gb parts out there now.

One example:
  http://service.chelsio.com/site-bin/readme.cgi?FILE=linux/t3/README-cxgb3toe
Since RHEL is supported CentOS is 'supportable'.

Other vendors have cards and support too but a Chelsio  driver
engineer bought me a beer last month
or did I buy him one. so much beer, so much good tequila and so
little time.  well never mind.

-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to use CentOS 5.2 to make a WAN Router

2008-10-01 Thread Paul Heinlein

On Wed, 1 Oct 2008, Michael Peterson wrote:

I have a CIDR block of IP addresses that I need to pass through to a 
WAN.


I am trying to have a CentOS 5.2 basic install with 2 NICs be the 
router/gateway between the WAN and the public IP CIDR block.


Has anyone done this?

Other than turning on IP forwarding what did you have to do?


If you're going to do any packet filtering, I've had good luck with 
Shorewall for handling iptables rules.


Otherwise, assuming there's no NAT lurking somewhere in your request, 
turning on IP forwarding should do it.


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


Re: [CentOS] Xboard rpm for CentOS 4

2008-10-01 Thread Filipe Brandenburger
On Wed, Oct 1, 2008 at 17:45,  <[EMAIL PROTECTED]> wrote:
> Has anyone built an rpm for xboard for CentOS 4?

There is an RPM for Fedora Cors 9.
http://rpmfind.net//linux/RPM/fedora/devel/src/xboard-4.2.7-17.fc9.src.html

You can try to rebuild it from the source RPM yourself.

See here for help on how to do this:
http://wiki.centos.org/HowTos/RebuildSRPM

Let us know how that goes!

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


[CentOS] Xboard rpm for CentOS 4

2008-10-01 Thread vandaman2002-rt
Has anyone built an rpm for xboard for CentOS 4? I looked in the EPEL repo, KBS 
repo
and rpmforge but none exist. The KBS repo has gnuchess in testing but what good 
is 
gnuchess without xboard? As usual the fedora SRPM for Fedora 6 and Fedora 9 
cannot 
build on CentOS 4- they might build on CentOS 6 but i have no time machine :).




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


[CentOS] Trying to use CentOS 5.2 to make a WAN Router

2008-10-01 Thread Michael Peterson

I have a CIDR block of IP addresses that I need to pass through to a WAN.

I am trying to have a CentOS 5.2 basic install with 2 NICs be the
router/gateway between the WAN and the public IP CIDR block.

Has anyone done this?

Other than turning on IP forwarding what did you have to do?


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


[CentOS] JFS in CentOS

2008-10-01 Thread Hal Martin

Hello all,

I'm relatively new to CentOS, but I've been using linux as my main 
operating system on both the desktop and server ends for the past 4 years.


I currently have a PIII server with two 160GB IDE hard drives in it, in 
a virtual RAID 1 array. At the time of installation, the only FS choices 
for the largest partition, 120GB, were ext2 and ext3. I chose ext3, but 
now am wishing to reformat the partition as JFS to skip long file system 
check times.


I've done Google searches regarding the topic, which lead me to added 
centos.plus to my repo list, and installed the only kernel I see as 
being available from CentOSPlus, and yet I still have no JFS modules 
loaded or anywhere in /lib/modules/. I installed JFSUtils from the 
CentOSPlus repo, but have no way to use the partition that has been 
created (by myself, using mkfs.jfs). Short of compiling a kernel with 
JFS support from the source package provided with CentOS, I don't know 
what to do.


Has anyone else used JFS on CentOS 5.2 successfully? How did you do it?

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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread MHR
On Wed, Oct 1, 2008 at 2:20 PM, Karanbir Singh <[EMAIL PROTECTED]> wrote:
>
> If you dont know what he is asking about, there is a good chance that you
> wont know the answer either.
>

My point, as I'm sure you guessed or deduced, was that requests for
help on this list should be at least a little more descriptive than a
single FLA.

And yes, I didn't know the answer, although I did understand the
question.  It's like the bottom posters, the "let's include the whole
25 message thread" posters, and the "guess what _I_ want" posters, and
also for those on the list who really don't know enough to understand
minimalistic requests like this.

(P.S.: 10Gb LAN, for those who don't know)

:-)

HTH

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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread Karanbir Singh

Ramon Nieto wrote:

Hello all,

Is 10 Gb supported by CentOS 4 and 5? Anyone using it?

i'll appreciate any information on this subject.


yes, some 10gb cards are, yes there are people using them. I dont see 
what the issue is, are you conducting a random survey of some sorts ?


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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread Karanbir Singh

MHR wrote:

2008/10/1 Ramon Nieto <[EMAIL PROTECTED]>:

Hello all,

Is 10 Gb supported by CentOS 4 and 5? Anyone using it?


10Gb what?


If you dont know what he is asking about, there is a good chance that 
you wont know the answer either.


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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread MHR
2008/10/1 Ramon Nieto <[EMAIL PROTECTED]>:
> Hello all,
>
> Is 10 Gb supported by CentOS 4 and 5? Anyone using it?
>

10Gb what?

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


Re: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread Lanny Marcus
On Wed, Oct 1, 2008 at 3:23 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 1, 2008 at 11:35 AM, MHR <[EMAIL PROTECTED]> wrote:
>> This morning I noticed that my (new in July) monitor was behaving
>> strangely.  At first, it was odd parts of web page graphics that
>> didn't show up unless I scrolled up and down in the window, and then
>> they weren't displayed with any consistency.
> 
> Mark: Hook up another monitor and see if it has the same behavior. If
> so, get an RMA for the video card. If not, change the video card and
> see what happens. Since this was working properly and you do not seem
> to have changed any software, my impression is that you have a HW
> problem. The monitor or the video card or possibly even a cable. There
> are great diagnostics for video that run on MS Windows (Yuk), called
> "DisplayMate", put out by Displaymate Technologies Corp. Hopefully,
> you can Download a Trial version and you will know whether or not
> your monitor and video are working and set up correctly. I don't know
> if there is something like that that will run on Linux. The
> manufacturer of the monitor and video card might have Diagnostics on
> their web sites that you can Download an run.  HTH,  Lanny
>
Follow on to my first reply. DisplayMate is not only Diagnostics. It
helps you set up your monitor and video card correctly. This is
professional quality stuff, but if your box isn't dual boot with
Windows, it won't run. Maybe they have a version that will run on
Linux now. I bought it, years ago.  If you can run it, they are *the*
experts.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread Lanny Marcus
On Wed, Oct 1, 2008 at 11:35 AM, MHR <[EMAIL PROTECTED]> wrote:
> This morning I noticed that my (new in July) monitor was behaving
> strangely.  At first, it was odd parts of web page graphics that
> didn't show up unless I scrolled up and down in the window, and then
> they weren't displayed with any consistency.

Mark: Hook up another monitor and see if it has the same behavior. If
so, get an RMA for the video card. If not, change the video card and
see what happens. Since this was working properly and you do not seem
to have changed any software, my impression is that you have a HW
problem. The monitor or the video card or possibly even a cable. There
are great diagnostics for video that run on MS Windows (Yuk), called
"DisplayMate", put out by Displaymate Technologies Corp. Hopefully,
you can Download a Trial version and you will know whether or not
your monitor and video are working and set up correctly. I don't know
if there is something like that that will run on Linux. The
manufacturer of the monitor and video card might have Diagnostics on
their web sites that you can Download an run.  HTH,  Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread John
""If I do downgrade (which I may well do), where do I get the right
driver?  I pulled these from rpmforge after my old driver didn't seem
to like the new monitor.""

DKMS: http://linux.dell.com/dkms/manpage.html
You should use "dkms remove " first. Reconfigure the standard
graphics. What is advisable to you is that you use the newest non beta dkms
driver for your card. You may have to hand fetch it. The reason I say this
because I do not your Unix/Linux skill level. It will be a lot easier on you
doing this because you will not have to hand build the driver module every
kernel upgrade. Or copy over to the new kernel modules dir.


http://wiki.centos.org/HardwareList/Nvidia_Graphics
This is a tutorial by me and Akemi Yagi.This method will work confirmed on
all centos/rhel versions 4.6 - 5.2. Be warned it is not finished but it will
give you a general idea of how to go about doing it.
http://www.nvidia.com/Download/index.aspx?lang=en-us 

JohnStanley

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


Re: [CentOS] problem with yum -y update

2008-10-01 Thread Kai Schaetzl
<[EMAIL PROTECTED]> wrote on Wed, 1 Oct 2008 10:53:18 -0500:

> But, no package is installed in spite of yum added 141 new packages.

That doesn't mean they are necessary updates for your system. If you don't 
have these packages installed they won't be updated ...

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] 10 Gb with CentOS

2008-10-01 Thread Lanny Marcus
2008/10/1 Ramon Nieto <[EMAIL PROTECTED]>:
> Is 10 Gb supported by CentOS 4 and 5? Anyone using it?
>
> i'll appreciate any information on this subject.
>
> Thank you
>
__
> ¡Todo sobre Amor y Sexo!
> La guía completa para tu vida en Mujer de Hoy:
> http://mx.mujer.yahoo.com/

Ramon: You may want to think again, about using Yahoo Mail, to send
email to this mailing list. Interesting what they add to your
emails For those who cannot read Spanish, it says, more or less,
"Everything about Love and Sex! The complete guide for the life of
todays woman". Many of the people on the list use Gmail and Google
does not add stuff like that to our emails. I am going to send you an
invitation to get a Gmail account.  Saludos desde Colombia, Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread John
MHR wrote:
> The video card is an nvidia ge7100gs and I have the beta driver from
> rpmforge (under dkms).

Are you sure that you are using that driver and *not* the "nv" driver which
comes with XOrg? With that one I've seen similar issues.

Ralph

JohnStanley Writes:

That is a good question for him, maybe better to post his xorg config file.
The standard driver will at times want to kind of like lag behind. Guess im
gonna do a DKMS only machine to see how it works out with video drivers.

John

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


Re: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread MHR
On Wed, Oct 1, 2008 at 12:01 PM, John <[EMAIL PROTECTED]> wrote:
> MHR wrote:
>> The video card is an nvidia ge7100gs and I have the beta driver from
>> rpmforge (under dkms).
>
> Are you sure that you are using that driver and *not* the "nv" driver which
> comes with XOrg? With that one I've seen similar issues.
>
> Ralph
>
> JohnStanley Writes:
>
> That is a good question for him, maybe better to post his xorg config file.
> The standard driver will at times want to kind of like lag behind. Guess im
> gonna do a DKMS only machine to see how it works out with video drivers.
>

Well, when the nVIDIA screen pops up (before login and between
logins), it says "BETA DRIVER" right below the nVIDIA logo.

If I do downgrade (which I may well do), where do I get the right
driver?  I pulled these from rpmforge after my old driver didn't seem
to like the new monitor.

I'm all for not stressing the monitor - it's stressing me!

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


Re: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread Ralph Angenendt
MHR wrote:
> The video card is an nvidia ge7100gs and I have the beta driver from
> rpmforge (under dkms).

Are you sure that you are using that driver and *not* the "nv" driver which 
comes with XOrg? With that one I've seen similar issues.

Ralph



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


Re: [CentOS] [Fwd: Certified GoDaddy.com Renewal Notice]

2008-10-01 Thread Ruslan Sivak

Apologies to the list.  I somehow managed to fat finger the cc address.

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


[CentOS] Question on Wireless Setup

2008-10-01 Thread Ashish Vijaywargiya
Hello Akemi & Others,

Today I reformated my laptop Dell Precision M90 and installed the
Fresh version of CentOs 5.2 and then took all the available update.
In that update I got Kernel version update and now I am on
Kernel-2.6.18-92.1.10.el5.centos.plus.

I kept a file iwlwifi-3945-1.ucode into the /lib/firmware/

Now after restarting the computer my computer it is giving the
following message on the startup.
Bringing up interface wmaster :
Determining IP information for wmaster  SIOCSIFLAGS : Operation
not supported.

In the network manager it is showing my device i.e Intel Pro 3945
adapter but in the Inactive state.
Please give me some suggestion so that I can figure out this problem.

Thanks in advance.

--
Ashish Vijaywargiya
Indore (M.P), India
http://en.wikipedia.org/wiki/Indore
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread John
The video card is an nvidia ge7100gs and I have the beta driver from
rpmforge (under dkms).


JohnStanley Writes:

Get rid of the BETA Driver. Period! The beta driver is what is called a hot
driver (excerts to much stress on the vidieo card). DKMS is Nice but down
grade the driver. Im not much of a DKMS fan so I build my own nvidia drivers
as modules. Hopefully the card is still good.

JohnStanley

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


Re: [CentOS] scp and key login

2008-10-01 Thread Phil Schaffner
On Wed, 2008-10-01 at 11:37 -0400, Tony Schreiner wrote:
...
> As far as I know that's right. Though it can be scripted into your  
> login.

Been doing it so long I can't remember whom to credit, but I use the
following snippet added to the end of ~/.bash_profile:

#*#
AGENTFILE=$HOME/.ssh/current-ssh-agent
test -f $AGENTFILE && . $AGENTFILE
if test -n "$SSH_AGENT_PID" \
  && ps xo pid,comm | grep -q "$SSH_AGENT_PID ssh-agent$"; then
  if ssh-add -l >/dev/null; then
# Everything seems OK.
:
  else
# Agent is running but knows no identities.
echo SSH-AGENT:  No identities.  Remember to run ssh-add!
  fi
else
  # No agent is running or AGENTFILE is lost - start a new one.
  if ps xo comm | grep -q "^ssh-agent$"; then
echo SSH-AGENT:  Stray ssh-agent\?  Killing it.
killall -TERM ssh-agent
  fi
  echo SSH-AGENT:  A new agent started.  Remember to run ssh-add!
  ssh-agent | grep -v '^echo' >$AGENTFILE
fi
. $AGENTFILE
unset AGENTFILE
#*#

and this to ~/.bash_logout:

#*#
if test $(w -hsf $(id -un) | wc -l) = 1; then ssh-add -D fi
#*#

For KDE one can use a script "ssh-add.sh" containing the following in
~/.kde/Autostart to prompt for the passphrase:

#!/bin/bash
sleep 5
konsole --vt_sz 60x4--noframe  --nomenubar --notoolbar --noscrollbar  -e ssh-add

Watch for line-wraps on the above, and remember to
$ chmod +x ~/.kde/Autostart/ssh-add.sh

Phil


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


RE: [CentOS] Faking RHEL with CentOS

2008-10-01 Thread John
>From CentOS /etc/redhat-release:
CentOS release 5.2 (Final)

>From RHEL3 /etc/redhat-release:
Red Hat Enterprise Linux WS release 3 (Taroon Update 9)

>From RHEL4 /etc/redhat-release:
Red Hat Enterprise Linux WS release 4 (Nahant Update 7)

Has anybody maybe actually done this already and can tell if it'd work?

What other places may a software look into to check the computer runs the
correct OS?

JohnStanley Writes:

Yes that will work. Replace the appropriate string. Also do cat /etc/issue.
One more and it is called programatically "rpm --whatprovides"

JohnStanley

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


Re: [CentOS] scp and key login

2008-10-01 Thread Kai Schaetzl
Matt Hyclak wrote on Wed, 1 Oct 2008 11:52:14 -0400:

> Keychain handles that for you.
> 
> http://www.gentoo.org/proj/en/keychain

Thanks for the info, no need for it anymore, though. I use Putty on 
Windows and connect to machine A and then scp from B to C. (That's why I 
said "no GUI".) So I needed agent forwarding from A to B to C. I just 
realized that Pageant (from Putty) provides agent forwarding if I set the 
sessions to allow this. So, I now connect directly to B and scp to C and 
don't need to run the agent on B anymore as the chain is short enough.
The few times I need a forwarded session directly from the console I'll 
use the method Tony explained. Thank you both!

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Re: Moving folder just vanished??

2008-10-01 Thread Stewart Williams

MHR wrote:

On Tue, Sep 30, 2008 at 2:15 PM, Stewart Williams
<[EMAIL PROTECTED]> wrote:

Also that is odd, is when I drag anything to the Trash icon, and open it,
there are no files. However when I use a terminal and look in ~/.Trash all
deleted files are show.



This could be a synchronization issue, but I have another thought
about your missing files.

What file systems do you have mounted?  Is there any chance that your
files got moved to a mount point that is now hiding any files that are
actually located under it?  Try unmounting any file system you don't
need and see what's there underneath.

It's probably not the case, but it doesn't hurt to look.

mhr


Thanks, but I have tried already. The partition is an LVM volume, 
formatted and mounted as ext3. Then I have fuse-encfs mounted over that.

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


Re: [CentOS] Request for additional patch in CentOS Plus kernel

2008-10-01 Thread Filipe Brandenburger
On Wed, Oct 1, 2008 at 12:57, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> You picked a good day to ask, I am getting ready to build the new plus
> kernel for c5 right now :D

Great to know! :-D

> I will put that patch in there too if it applies cleanly for me.

Let me know if it doesn't. I included it in the specfile as
Patch40 to go after the Patch9 (last one in CentOS Plus), but
I don't think that's needed.

In any case, if you look at the patch you will see it's one line only,
so it's really trivial.

Let me know if I can help with anything else to get this patch included!

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


Re: [CentOS] Request for additional patch in CentOS Plus kernel

2008-10-01 Thread Johnny Hughes
Filipe Brandenburger wrote:
> Hi,
> 
> I have an Adaptec eSATA card, model 1225SA:
> http://www.adaptec.com/en-US/products/Controllers/Hardware/sata/entry/AAR-1225SA/
> 
> Although the chipset is sata_sil24, it is not recognized by default by
> the kernel because its PCI ID is different than the ones recognized by
> this driver on the CentOS kernel. The driver recognizes PCI IDs such
> as 0x3132, 0x0242, 0x3131, but not 0x0244, which is the one this card
> has.
> 
> I found out that it works with the latest kernel, and that the patch
> to make it work only adds the 0x0244 PCI ID to the list of IDs
> recognized by the sata_sil24 driver. Here is the patch:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=464b3286b4aa459059c6fda85ba55185fd21d9fc;hp=70a3143af87c6ca188107cbd49ab5eec2c86c456
> 
> Following the instructions on the Wiki, I built a custom kernel based
> on the CentOS Plus kernel, but adding this patch. The adapter worked
> as expected with that kernel.
> 
> So I ask: Would it be possible to incorporate this patch to the
> default set of patches applied on the CentOS Plus kernel? I would
> really appreciate it since that would make it easier for me to keep
> updated without worrying about the card.
> 

You picked a good day to ask, I am getting ready to build the new plus
kernel for c5 right now :D

I will put that patch in there too if it applies cleanly for me.

Thanks,
Johnny Hughes



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


RE: RE: [CentOS] Faking RHEL wit h CentOS

2008-10-01 Thread Sorin Srbu
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>mcclnx mcc
>Sent: Wednesday, October 01, 2008 4:47 PM
>To: CentOS mailing list
>Subject: RE: [CentOS] Faking RHEL with CentOS
>
>Yes.  it will work on some softwares.  I have been use this way several times 
>and
>successfully "cheating" ORACLE DB installation and DELL OPMN installation.
>
>But it failed to "cheating" on "Veritas Netbackup" installation.

So it works with some software, but not generally. Ok, thx.


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


[CentOS] 10 Gb with CentOS

2008-10-01 Thread Ramon Nieto
Hello all,

Is 10 Gb supported by CentOS 4 and 5? Anyone using it? 

i'll appreciate any information on this subject.

Thank you



  ¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.   
http://mx.mujer.yahoo.com/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Request for additional patch in CentOS Plus kernel

2008-10-01 Thread Filipe Brandenburger
Hi,

I have an Adaptec eSATA card, model 1225SA:
http://www.adaptec.com/en-US/products/Controllers/Hardware/sata/entry/AAR-1225SA/

Although the chipset is sata_sil24, it is not recognized by default by
the kernel because its PCI ID is different than the ones recognized by
this driver on the CentOS kernel. The driver recognizes PCI IDs such
as 0x3132, 0x0242, 0x3131, but not 0x0244, which is the one this card
has.

I found out that it works with the latest kernel, and that the patch
to make it work only adds the 0x0244 PCI ID to the list of IDs
recognized by the sata_sil24 driver. Here is the patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=464b3286b4aa459059c6fda85ba55185fd21d9fc;hp=70a3143af87c6ca188107cbd49ab5eec2c86c456

Following the instructions on the Wiki, I built a custom kernel based
on the CentOS Plus kernel, but adding this patch. The adapter worked
as expected with that kernel.

So I ask: Would it be possible to incorporate this patch to the
default set of patches applied on the CentOS Plus kernel? I would
really appreciate it since that would make it easier for me to keep
updated without worrying about the card.

Thanks a lot!
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Flaky graphics - need help nailing down the cause

2008-10-01 Thread MHR
This morning I noticed that my (new in July) monitor was behaving
strangely.  At first, it was odd parts of web page graphics that
didn't show up unless I scrolled up and down in the window, and then
they weren't displayed with any consistency.

Then I noticed that the screensaver failed to appear (computer was
locked, but graphics never showed on the monitor).  I tried running
mplayer to play a movie I have on the system, and the window remained
black (sound was fine).

When I move a window, parts of it (pixels scattered across the window)
don't refresh during the move OR even when it is done, unless I run
the mouse over them or, in the case of the menu bar, click on one of
the options.  The nautilus window that sometimes comes up after a
reboot was not fully painted with the text parts of the entries below
the mouse cursor on the screen until I ran the mouse over them, and
then only the ones I "touched" refreshed properly.

During the system shutdown and restart, the text is scrambled beyond
recognition, although the graphics during the boot, driver init and
login screen are fine.  Most of the screen after I log in shows up,
unless the default terminal and nautilus windows show up, and then
they're not all there (as above).

DVI-VGA: same problem either way
2.6.18-92.1.10 - 92.1.13: likewise (makes no difference)

The video card is an nvidia ge7100gs and I have the beta driver from
rpmforge (under dkms).  The base system is an ECS nFORCE4M-A with an
AMD Athlon 64x2 and 4GB of OCZ main memory.  The newest parts are the
main memory (upgraded from 2GB about two months ago) and the monitor
(new in July).  The m/b, COU and graphics card are all about 18 months
old.  I recently upgraded to the new 92.1.13 kernel.

Question:  Is this the monitor (most likely), the video card, the OS
or the base system, or something else I have not considered?  Is there
a good video test program I can use to diagnose this properly?

I have a two-year replacement warranty on the monitor, so I will use
it if I need to, and I think it's still under the manufacturer's
warranty anyway.

Thanks.

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


Re: [CentOS] scp and key login

2008-10-01 Thread Matt Hyclak
On Wed, Oct 01, 2008 at 05:31:43PM +0200, Kai Schaetzl enlightened us:
> Tony Schreiner wrote on Wed, 1 Oct 2008 11:01:23 -0400:
> 
> > ssh-agent $SHELL
> > 
> > which will not need the above step, but will start another shell, so  
> > you will need to exit twice to logout.
> 
> This works, thanks. There's nothing of that mentioned in man ssh-agent.
> That also means I have to execute ssh-agent $SHELL and ssh-add each time I 
> login and want to use forwarding, right?
> 

Keychain handles that for you.

http://www.gentoo.org/proj/en/keychain/

Matt

-- 
Matt Hyclak
Systems and Operations 
Office of Information Technology
Ohio University
(740) 593-1222


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


[CentOS] [Fwd: Certified GoDaddy.com Renewal Notice]

2008-10-01 Thread Ruslan Sivak

Brian,

I think you said we can let these go, correct?

Russ


--- Begin Message ---
24/7 Sales & Support: (480) 505-8877

   
Renewal Notice
  Renewal Notice
  
Customer Number for this Account: 17286407


Dear Ruslan Sivak,

The following domain name(s) are set to automatically renew on the
expiration date(s) listed:


FINNEGAN08.COM - Nov. 30, 2008
FINNEGAN2008.ORG - Nov. 30, 2008
FINNEGAN4CONGRESS.COM - Nov. 30, 2008
MIKEFINNEGAN.COM - Nov. 30, 2008
MIKEFINNEGAN.ORG - Nov. 30, 2008
MIKEFINNEGAN2008.COM - Nov. 30, 2008
MIKEFINNEGANFORCONGRESS.COM - Nov. 30, 2008
MIKEFINNEGANFORCONGRESS.ORG - Nov. 30, 2008
IMPORTANT: If the credit card we have on file for you has expired or
been closed, we will not be able to automatically renew your domain(s).
To review and update your credit card information, log in to your
account at GoDaddy.com by entering your customer number or user name and
password and then clicking "My Account." When you have accessed the
account management area, click the "My Account" button on the left hand
side of the screen. Then click the "Credit Cards and Payment Info" link.



OR renew your domain(s) right now and qualify for bonus savings by going
to http://www.godaddy.com/gdshop/
 
myportal/default.asp?myid=17286407&
 
shopperid=17286407&
 
pg=dom&isc=gd49bbnd60&ci=7867
 .

You may be asked to log in with your login name or customer number and
password before you can view your expiring item(s).

You can also follow these steps to renew: 

1.  On the GoDaddy.com home page, from the Domains menu, select
Renew Domains.
2.  If prompted, log in with your username or customer number and
password.

To retrieve your customer number or password hint or to reset your
password, click the "Forgot Your Password?" hyperlink in the login area
on the home page.



BONUS SAVINGS: If you renew your domain(s) now, you can take 10% off
your order of $50 or more.* Simply enter "gd49bbnd60" in your shopping
cart or mention the offer code when you call (480) 505-8877. 

Thanks for choosing Go Daddy for your domain name registration needs.

Sincerely,
 Bob Parsons 
Bob Parsons
CEO and Founder
GoDaddy.com 
 
  
www.GoDaddy.com
 

24/7 Customer Support
Call: (480) 505-8877
[EMAIL PROTECTED]
  

Hosting** w/ Web Site Builder, Quick Blogcast, Personalized Email and
more! Click to learn more!
 
  
Free** with every
domain renewal...
  
 
Hosting w/Site Builder   
 
Quick Blogcast   
 
Personalized Email   
 
Starter Web Page 
 
Internet Guide   
 
"For Sale" Page  
 
Change of Registration   
 
Domain Locking   
 
Status Alerts
 
Forwarding/Masking   
 
Total DNS Control
 
100 Email Forwards
  

Renewal Pricing
(per domain)

.com  
$10.69*** 

Re: [CentOS] quarantine mail

2008-10-01 Thread Ray Leventhal


kcc wrote:
> Hi
>
> In my mailscanner, i have mail in quarantine folder.
>
> How can I get back attachement in quarantine folder?
>
> I use mail user < message. but the attachment is just coding not the
> attachment
>
> thank you
I'm not certain this is *the* way to do it, but...assuming you've
allowed the attachments in your MailScanner.conf and rules files and
want to resend them:

install sharutils via yum (this set includes uuencode which is used in
the next step
once that's done, this should send the stuff to the recipient:

# uuencode filename filename | mail -s "subject" [EMAIL PROTECTED]


I'm sure that someone who knows more than I will post, but this worked
for me on CentOS 5.2 in my shared hosting environment.

There's a setting in MailScanner.conf which will allow saving the actual
queue files, not just the attachments...I changed this setting to 'yes'
to enable a more simple method (moving the qf* and df* files back to the
queue)
Quarantine Whole Messages As Queue Files = yes

YMMV..
HTH,
-Ray

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


Re: [CentOS] Re: question about software Raid 1

2008-10-01 Thread Toby Bluhm

Kanwar Ranbir Sandhu wrote:
.
.
.


You said above, "When this finishes...", but how do you know the check
is completed?  I saw this in /var/log/messages: 



cat /proc/mdstat gives progress

cat /sys/block/md0/md/sync_action gives current mode


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


Re: [CentOS] Re: question about software Raid 1

2008-10-01 Thread nate
Kanwar Ranbir Sandhu wrote:

> You said above, "When this finishes...", but how do you know the check
> is completed?  I saw this in /var/log/messages:

cat /proc/mdstat ? That at least shows status of RAID rebuilds, not
sure about other types of tasks.

nate



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


RE: [CentOS] Re: Faking RHEL with CentOS

2008-10-01 Thread Sorin Srbu
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>Scott Silva
>Sent: Wednesday, October 01, 2008 5:35 PM
>To: centos@centos.org
>Subject: [CentOS] Re: Faking RHEL with CentOS
>
>No amount of faking will make software for RHEL3 or 4 install on CentOS 5.
>You can only do it on equal releases IE... RHEL 3 to CentOS 3 etc.

Of course. It's implied. Should've mentioned it though. 8-)


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


Re: [CentOS] scp and key login

2008-10-01 Thread Tony Schreiner


On Oct 1, 2008, at 11:31 AM, Kai Schaetzl wrote:


Tony Schreiner wrote on Wed, 1 Oct 2008 11:01:23 -0400:


ssh-agent $SHELL

which will not need the above step, but will start another shell, so
you will need to exit twice to logout.


This works, thanks. There's nothing of that mentioned in man ssh- 
agent.
That also means I have to execute ssh-agent $SHELL and ssh-add each  
time I

login and want to use forwarding, right?




As far as I know that's right. Though it can be scripted into your  
login.

Tony

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


[CentOS] Re: Faking RHEL with CentOS

2008-10-01 Thread Scott Silva
on 10-1-2008 6:53 AM [EMAIL PROTECTED] spake the following:
> Hi all,
> 
> I'm looking to test out a solution with CentOS instead of our venerable
> RHEL3-servers. Some of the software we use and need, requires for it to run on
> RHEL. Figuring that CentOS is binary compatible with RHEL this should work
> anyway. I also found out using Google that many programs look in
> /etc/redhat-release file to check that the right OS is there.
> 
> After checking the contents on a CentOS machine I have available, as well as
> one running RHEL3 and 4, my guess would be that adding the "correct" text in
> the redhat-release file on CentOS would enable picky software requiring RHEL
> to run in CentOS instead.
> 
>>From CentOS /etc/redhat-release:
> CentOS release 5.2 (Final)
> 
>>From RHEL3 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 3 (Taroon Update 9)
> 
>>From RHEL4 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
> 
> Has anybody maybe actually done this already and can tell if it'd work?
> 
> What other places may a software look into to check the computer runs the
> correct OS?
> 
> Ideas and comments are welcome! TIA.
No amount of faking will make software for RHEL3 or 4 install on CentOS 5.
You can only do it on equal releases IE... RHEL 3 to CentOS 3 etc.

-- 
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] scp and key login

2008-10-01 Thread Kai Schaetzl
Tony Schreiner wrote on Wed, 1 Oct 2008 11:01:23 -0400:

> ssh-agent $SHELL
> 
> which will not need the above step, but will start another shell, so  
> you will need to exit twice to logout.

This works, thanks. There's nothing of that mentioned in man ssh-agent.
That also means I have to execute ssh-agent $SHELL and ssh-add each time I 
login and want to use forwarding, right?

> If you are running GNOME, there is also the gnome-ssh-askpass

Not using a GUI.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread John R Pierce

Rudi Ahlers wrote:

I got lynx to work with the --dump option, and now the errors are
gone, and the cronjob works well. wget downloaded the whole website
which was like 23MB everytime, whereas lynx gave me the output, which
is more usable for trouble shooting the cronjob.
  


wget should only download 'the whole website' if you specify a -r 
(recursive) option, otherwise it would just fetch the one file you 
specified.

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


Re: [CentOS] Re: question about software Raid 1

2008-10-01 Thread Kanwar Ranbir Sandhu
On Sun, 2008-09-21 at 21:01 +0200, Kay Diederichs wrote:
> Fact is that with CentOS-5 kernels (but not with CentOS-4, as this 
> functionality became available in kernel 2.6.17) you could (or rather 
> _should_ regularly)
> echo check > /sys/block/mdX/md/sync_action
> to check agreement between the two (or more) copies. When this finishes, 
> /sys/block/mdX/md/mismatch_cnt shows you the number of mismatches. You 
> can fix these with
> echo repair > /sys/block/mdX/md/sync_action

Interesting.  I'll give this a go on my own desktop system which is
running RAID 1.

You said above, "When this finishes...", but how do you know the check
is completed?  I saw this in /var/log/messages: 

Oct  1 11:02:47 ranbir kernel: md: data-check of RAID array md0
Oct  1 11:02:47 ranbir kernel: md: minimum _guaranteed_  speed: 1000 
KB/sec/disk.
Oct  1 11:02:47 ranbir kernel: md: using maximum available idle IO bandwidth 
(but not more than 20 KB/sec) for data-check.
Oct  1 11:02:47 ranbir kernel: md: using 128k window, over a total of 104320 
blocks.
Oct  1 11:02:48 ranbir kernel: md: md0: data-check done.
Oct  1 11:02:48 ranbir kernel: RAID1 conf printout:
Oct  1 11:02:48 ranbir kernel: --- wd:2 rd:2
Oct  1 11:02:48 ranbir kernel: disk 0, wo:0, o:1, dev:sda1
Oct  1 11:02:48 ranbir kernel: disk 1, wo:0, o:1, dev:sdb1

There was nothing else after the last line.  I don't know exactly what
the "disk" lines mean.

Regards,

Ranbir

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


Re: [CentOS] problem with yum -y update

2008-10-01 Thread Ralph Angenendt
[EMAIL PROTECTED] wrote:
> When I run yum -y update I see that:
> Repository base is listed more than once in the configuration
[...]
> This is my repo file:
> [EMAIL PROTECTED]:/etc/yum.repos.d]# cat centos4.repo
> 
> [base]
[...]
> Where's the problem?

What about /etc/yum.repos.d/CentOS-Base.repo?

Ralph


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


Re: [CentOS] scp and key login

2008-10-01 Thread Tony Schreiner


On Oct 1, 2008, at 9:31 AM, Kai Schaetzl wrote:


Bent Terp wrote on Wed, 1 Oct 2008 13:53:44 +0200:


Short version:


Thanks for that! I seem to be doing something wrong.

chacha:~ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-pqqvN24337/agent.24337; export SSH_AUTH_SOCK;
SSH_AGENT_PID=24338; export SSH_AGENT_PID;
echo Agent pid 24338;
chacha:~ ssh-add
Could not open a connection to your authentication agent.
chacha:~ ssh-agent -k
SSH_AGENT_PID not set, cannot kill agent


Kai

--  
Kai Schätzl, Berlin, Germany

Get your web at Conactive Internet Services: http://www.conactive.com



You need to either:

select and paste (to execute) the first two lines generated by the  
ssh-agent command


or run

ssh-agent $SHELL

which will not need the above step, but will start another shell, so  
you will need to exit twice to logout.


If you are running GNOME, there is also the gnome-ssh-askpass

Tony Schreiner



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


[CentOS] problem with yum -y update

2008-10-01 Thread israel.garcia
When I run yum -y update I see that:

 

[EMAIL PROTECTED]:/etc/yum.repos.d]# yum -y update

Repository base is listed more than once in the configuration

Setting up Update Process

Setting up repositories

base  100% |=|  951 B
00:00

update100% |=|  951 B
00:00

updates   100% |=|  951 B
00:00

Reading repository metadata in from local files

primary.xml.gz100% |=| 390 kB
00:05

base  : ## 1171/1171

Added 1171 new packages, deleted 0 old in 8.48 seconds

primary.xml.gz100% |=| 174 kB
00:04

update: ## 493/493

Added 493 new packages, deleted 0 old in 4.12 seconds

primary.xml.gz100% |=|  34 kB
00:00

updates   : ## 141/141

Added 141 new packages, deleted 0 old in 0.83 seconds

No Packages marked for Update/Obsoletion

 

But, no package is installed in spite of yum added 141 new packages. Yum
-y upgrade does not work either.

 

This is my repo file:

 

[EMAIL PROTECTED]:/etc/yum.repos.d]# cat centos4.repo

[base]

name=CentOS-$releasever - Base

baseurl=ftp://local_repo_server/centos/4/os/i386

timeout=1800

gpgcheck=1

gpgkey=ftp://local_repo_server /centos/4/os/i386/RPM-GPG-KEY-centos4

priority=1

protect=1

 

[updates]

name=CentOS-$releasever - Updates

baseurl=ftp:// local_repo_server /centos/4/updates

timeout=1800

gpgcheck=1

gpgkey=ftp:// local_repo_server /centos/4/os/i386/RPM-GPG-KEY-centos4

priority=1

protect=1

 

My local repo server is a mirror to centos internet servers and is
up2date with centos 4.7.

 

Where's the problem?

 

Regards,

Israel.

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


RE: [CentOS] Faking RHEL with CentOS

2008-10-01 Thread mcclnx mcc
Yes.  it will work on some softwares.  I have been use this way several times 
and successfully "cheating" ORACLE DB installation and DELL OPMN installation.  

But it failed to "cheating" on "Veritas Netbackup" installation. 

--- 08/10/1 (星期三)[EMAIL PROTECTED] <[EMAIL PROTECTED]> 寫道:
寄件者: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
主旨: [CentOS] Faking RHEL with CentOS
收件者: "'CentOS mailing list'" 
日期: 2008 10 1 星期三 上午 9:53

Hi all,

I'm looking to test out a solution with CentOS instead of our venerable
RHEL3-servers. Some of the software we use and need, requires for it to run on
RHEL. Figuring that CentOS is binary compatible with RHEL this should work
anyway. I also found out using Google that many programs look in
/etc/redhat-release file to check that the right OS is there.

After checking the contents on a CentOS machine I have available, as well as
one running RHEL3 and 4, my guess would be that adding the "correct"
text in
the redhat-release file on CentOS would enable picky software requiring RHEL
to run in CentOS instead.

>From CentOS /etc/redhat-release:
CentOS release 5.2 (Final)

>From RHEL3 /etc/redhat-release:
Red Hat Enterprise Linux WS release 3 (Taroon Update 9)

>From RHEL4 /etc/redhat-release:
Red Hat Enterprise Linux WS release 4 (Nahant Update 7)

Has anybody maybe actually done this already and can tell if it'd work?

What other places may a software look into to check the computer runs the
correct OS?

Ideas and comments are welcome! TIA.
-- 
Best Wishes
  Sorin
-
http://home-skynet.servehttp.com/
Proud member of TEAM OS/2.
Mountainbiker [Kona Kilauea - Member of Equipe Les Cafards VTT]
Motorcyclist [Honda VFR750F-'97]
MCSE, MCP+I, MCP, A+ [Knowledge is power!]
-
()  ascii ribbon campaign - against html e-mail 
/\

MotD:
This is an adware tagline. Please visit our sponsors to continue helping the
development of this tagline.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] quarantine mail

2008-10-01 Thread Rob Taylor

--On 01 October 2008 09:18 -0400 kcc <[EMAIL PROTECTED]> wrote:

> 
> Hi
> 
> In my mailscanner, i have mail in quarantine folder.
> 
> How can I get back attachement in quarantine folder?
> 
> I use mail user < message. but the attachment is just coding not the 
> attachment
> 
> thank you
>  

Hi

You can move the attachment to another directory, change ownership to 'admin' 
and then FTP the file down and re-email to recipient, obviously if it you will 
have to send to an address that won't go through MainScanner!

For a more permanent solution edit /etc/MailScanner/MailScanner.conf, find the 
following lines:

Quarantine Whole Message = no
Quarantine Whole Messages As Queue Files = no

..and change them both to 'yes', now when emails are quarantined it will store 
them as message files (dfm and qfmxx) which you can just copy 
back to the /var/spool/mqueue directory (You don't need to copy the attachment 
file), the message will not go through MainScanner again and will be delivered 
to the recipient.

This may vary depending on your setup etc but should point you in the correct 
direction)!

Thanks
Rob


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


Re: [CentOS] quarantine mail

2008-10-01 Thread Kai Schaetzl
Kcc wrote on Wed, 1 Oct 2008 09:18:50 -0400:

> In my mailscanner, i have mail in quarantine folder.

You should direct this question to the MailScanner list. But first read 
the archives there as this is a fairly common question!
http://gmane.org/info.php?group=gmane.mail.virus.mailscanner

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] Faking RHEL with CentOS

2008-10-01 Thread [EMAIL PROTECTED]
Hi all,

I'm looking to test out a solution with CentOS instead of our venerable
RHEL3-servers. Some of the software we use and need, requires for it to run on
RHEL. Figuring that CentOS is binary compatible with RHEL this should work
anyway. I also found out using Google that many programs look in
/etc/redhat-release file to check that the right OS is there.

After checking the contents on a CentOS machine I have available, as well as
one running RHEL3 and 4, my guess would be that adding the "correct" text in
the redhat-release file on CentOS would enable picky software requiring RHEL
to run in CentOS instead.

>From CentOS /etc/redhat-release:
CentOS release 5.2 (Final)

>From RHEL3 /etc/redhat-release:
Red Hat Enterprise Linux WS release 3 (Taroon Update 9)

>From RHEL4 /etc/redhat-release:
Red Hat Enterprise Linux WS release 4 (Nahant Update 7)

Has anybody maybe actually done this already and can tell if it'd work?

What other places may a software look into to check the computer runs the
correct OS?

Ideas and comments are welcome! TIA.
-- 
Best Wishes
  Sorin
-
http://home-skynet.servehttp.com/
Proud member of TEAM OS/2.
Mountainbiker [Kona Kilauea - Member of Equipe Les Cafards VTT]
Motorcyclist [Honda VFR750F-'97]
MCSE, MCP+I, MCP, A+ [Knowledge is power!]
-
()  ascii ribbon campaign - against html e-mail 
/\

MotD:
This is an adware tagline. Please visit our sponsors to continue helping the
development of this tagline.


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


Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Rudi Ahlers
On Wed, Oct 1, 2008 at 2:55 PM, Les Mikesell <[EMAIL PROTECTED]> wrote:
> Rudi Ahlers wrote:
>>
>> On Wed, Oct 1, 2008 at 7:06 AM, Les Mikesell <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Rudi Ahlers wrote:

 On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger
 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers <[EMAIL PROTECTED]>
> wrote:
>>
>> I simply need to call 2 php scripts via a website - very simple todo,
>> but cron tends to give me these errors for some odd reason, and the
>> scripts doesn't run on the remote website.
>
> How are you calling these scripts from cron? lynx? wget? curl? Maybe
> the problem is with the tool you are using to do that. If you give us
> more details, we might be able to help you better.
>
> HTH,
> Filipe
> ___

 Hi, yes sorry I should have added that :)

 I'm using lynx, as follows:

 9 0 * * * /usr/bin/lynx http://billing/admin/cron.php
 */5 * * * * /usr/bin/lynx http://billing/pipe/pop.php

>>> Lynx wants to do cursor positioning which is fairly useless in
>>> non-interactive mode.  You can give it a terminal type on the command
>>> line
>>> with the -term= option, but it would probably be better to use wget
>>> instead
>>> for non-interactive work.
>>>
>
>
>> wget downloads the whole page every time, which wastes bandwidth & HDD
>> space. Apart from using the "> /dev/null" option, is there any other
>> way to use it?
>
> Lynx is going to send the page to stdout, which cron will collect and email
> to you unless you have redirected to /dev/null also, so I don't see a big
> difference there.  For static pages wget can use -N to only get copies after
> they change, and the -O option to control where it goes, which could be
> /dev/null if you really never want to see it.
>
>> And with lynx, do I just issue lynx -term=vt100
>> http://billing/admin/cron.php ?
>
> Yes, but I'd recommend doing 'man lynx', 'man wget', and 'man curl' so you
> understand the options and features of each.
>
> --
>  Les Mikesell
>   [EMAIL PROTECTED]
>
>
>

I got lynx to work with the --dump option, and now the errors are
gone, and the cronjob works well. wget downloaded the whole website
which was like 23MB everytime, whereas lynx gave me the output, which
is more usable for trouble shooting the cronjob.

Thanx for all your help



-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp and key login

2008-10-01 Thread Kai Schaetzl
Bent Terp wrote on Wed, 1 Oct 2008 13:53:44 +0200:

> Short version:

Thanks for that! I seem to be doing something wrong.

chacha:~ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-pqqvN24337/agent.24337; export SSH_AUTH_SOCK;
SSH_AGENT_PID=24338; export SSH_AGENT_PID;
echo Agent pid 24338;
chacha:~ ssh-add
Could not open a connection to your authentication agent.
chacha:~ ssh-agent -k
SSH_AGENT_PID not set, cannot kill agent


Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] quarantine mail

2008-10-01 Thread kcc
Hi

In my mailscanner, i have mail in quarantine folder.

How can I get back attachement in quarantine folder?

I use mail user < message. but the attachment is just coding not the
attachment

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


Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Les Mikesell

Rudi Ahlers wrote:

On Wed, Oct 1, 2008 at 7:06 AM, Les Mikesell <[EMAIL PROTECTED]> wrote:

Rudi Ahlers wrote:

On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger
<[EMAIL PROTECTED]> wrote:

Hi,

On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers <[EMAIL PROTECTED]> wrote:

I simply need to call 2 php scripts via a website - very simple todo,
but cron tends to give me these errors for some odd reason, and the
scripts doesn't run on the remote website.

How are you calling these scripts from cron? lynx? wget? curl? Maybe
the problem is with the tool you are using to do that. If you give us
more details, we might be able to help you better.

HTH,
Filipe
___


Hi, yes sorry I should have added that :)

I'm using lynx, as follows:

9 0 * * * /usr/bin/lynx http://billing/admin/cron.php
*/5 * * * * /usr/bin/lynx http://billing/pipe/pop.php


Lynx wants to do cursor positioning which is fairly useless in
non-interactive mode.  You can give it a terminal type on the command line
with the -term= option, but it would probably be better to use wget instead
for non-interactive work.





wget downloads the whole page every time, which wastes bandwidth & HDD
space. Apart from using the "> /dev/null" option, is there any other
way to use it?


Lynx is going to send the page to stdout, which cron will collect and 
email to you unless you have redirected to /dev/null also, so I don't 
see a big difference there.  For static pages wget can use -N to only 
get copies after they change, and the -O option to control where it 
goes, which could be /dev/null if you really never want to see it.



And with lynx, do I just issue lynx -term=vt100 http://billing/admin/cron.php ?


Yes, but I'd recommend doing 'man lynx', 'man wget', and 'man curl' so 
you understand the options and features of each.


--
  Les Mikesell
   [EMAIL PROTECTED]



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


Re: [CentOS] Re: question about software Raid 1

2008-10-01 Thread Les Mikesell

Alexander Georgiev wrote:

2008/9/30 Les Mikesell <[EMAIL PROTECTED]>:

BTW, there is - even with current kernels - no speed gain in using RAID1 -
see http://kernelnewbies.org/KernelProjects/Raid1ReadBalancing .

I don't think I believe that - you can see the reads alternating drives by
watching the lights.


Indeed, there is a patch linux-2.6-dm-mirroring.patch in Centos5.2
kernel sources which implements a proper body of choose-mirror()
function.


Which also explains why, once my mirror was corrupt, that a new problem 
would show up every few weeks even after the cause (bad RAM) was fixed.


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


Re: [CentOS] script

2008-10-01 Thread Karanbir Singh

Mad Unix wrote:

Thanks all



if you are going to be posting to this list, I recommend you read up on 
what the general guidelists are. Eg. trim your posts atleast and dont 
top post.


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


Re: [CentOS] Re: question about software Raid 1

2008-10-01 Thread Alexander Georgiev
2008/9/30 Les Mikesell <[EMAIL PROTECTED]>:
>
>> BTW, there is - even with current kernels - no speed gain in using RAID1 -
>> see http://kernelnewbies.org/KernelProjects/Raid1ReadBalancing .
>
> I don't think I believe that - you can see the reads alternating drives by
> watching the lights.

Indeed, there is a patch linux-2.6-dm-mirroring.patch in Centos5.2
kernel sources which implements a proper body of choose-mirror()
function.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Bent Terp
On Wed, Oct 1, 2008 at 1:29 PM, Rudi Ahlers <[EMAIL PROTECTED]> wrote:
> wget downloads the whole page every time, which wastes bandwidth & HDD
> space. Apart from using the "> /dev/null" option, is there any other
> way to use it?

wget -O- and then devnull :-)

curl --silent is quite nice as well
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp and key login

2008-10-01 Thread Bent Terp
Short version:
[EMAIL PROTECTED] ~]$ ssh-add
Enter passphrase for /home/user/.ssh/id_dsa:
Identity added: /home/user/.ssh/id_dsa (/home/user/.ssh/id_dsa)
[EMAIL PROTECTED] ~]$ ssh -A [EMAIL PROTECTED]
Last login: Wed Sep  31 25:74:52 2008 from 127.0.0.1
[EMAIL PROTECTED] ~]$ scp /tmp/CentOS.iso [EMAIL PROTECTED]:/tmp

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


Re: [CentOS] scp and key login

2008-10-01 Thread Kai Schaetzl
Bent Terp wrote on Wed, 1 Oct 2008 12:11:53 +0200:

> nono, you need the agent forwarding for the first login (ssh -A ),
> then then scp will (should) work, using the forwarded credentials to
> contact the agent on the initial machine.

Ok, then I have to read that article again, thanks!

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Rudi Ahlers
On Wed, Oct 1, 2008 at 7:06 AM, Les Mikesell <[EMAIL PROTECTED]> wrote:
> Rudi Ahlers wrote:
>>
>> On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers <[EMAIL PROTECTED]> wrote:

 I simply need to call 2 php scripts via a website - very simple todo,
 but cron tends to give me these errors for some odd reason, and the
 scripts doesn't run on the remote website.
>>>
>>> How are you calling these scripts from cron? lynx? wget? curl? Maybe
>>> the problem is with the tool you are using to do that. If you give us
>>> more details, we might be able to help you better.
>>>
>>> HTH,
>>> Filipe
>>> ___
>>
>>
>> Hi, yes sorry I should have added that :)
>>
>> I'm using lynx, as follows:
>>
>> 9 0 * * * /usr/bin/lynx http://billing/admin/cron.php
>> */5 * * * * /usr/bin/lynx http://billing/pipe/pop.php
>>
>
> Lynx wants to do cursor positioning which is fairly useless in
> non-interactive mode.  You can give it a terminal type on the command line
> with the -term= option, but it would probably be better to use wget instead
> for non-interactive work.
>
> --
>  Les Mikesell
>   [EMAIL PROTECTED]
> ___

wget downloads the whole page every time, which wastes bandwidth & HDD
space. Apart from using the "> /dev/null" option, is there any other
way to use it?


And with lynx, do I just issue lynx -term=vt100 http://billing/admin/cron.php ?
-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp and key login

2008-10-01 Thread Bent Terp
On Tue, Sep 30, 2008 at 6:31 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
> Thanks, the agent without forwarding might be enough. The article is a bit
> general, though. I hope I can actually make this work with the few details

nono, you need the agent forwarding for the first login (ssh -A ),
then then scp will (should) work, using the forwarded credentials to
contact the agent on the initial machine.

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


Re: [CentOS] script

2008-10-01 Thread Mad Unix
Thanks all

On 10/1/08, Chris Geldenhuis <[EMAIL PROTECTED]> wrote:
>
> MHR wrote:
>
> > On Tue, Sep 30, 2008 at 3:08 PM, Chris Geldenhuis
> > <[EMAIL PROTECTED]> wrote:
> >
> >
> > > How about:
> > >
> > > find  -exec sed "s/10.5.1.10/127.128.1.10/" \{\} \;
> > >
> > >
> > >
> >
> > First, the '\' characters are unnecessary and confusing, except the
> > one that precedes the semi-colon.
> >
> > Second, that won't work.  Sed does not perform on files in place - its
> > output is sent to stdout unless it is redirected, and you can't
> > redirect it back to the original file.  To do something this way,
> > you'd need a script that replaced the input file and used 'sed' to
> > generate the new one (and then the script would have to rename it).
> >
> > mhr
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> >
> Apologies I should have included the -i switch for sed to modify file in 
> place.
>
> ChrisG
>
> ___
> 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] mount UFS partition on CentOS 5.

2008-10-01 Thread Tru Huynh
On Tue, Sep 30, 2008 at 08:25:09PM -0400, Daniel Bruno wrote:
> Hi Tru,

Hi Daniel,

please don't top post and trimm your replies in this mailing list (even if you
use gmail ;) )
> 
> I installed rpmforge, dkms and dmks-ufs, how you can see below:
> 
...
> but I still can't mount the partition:
> 
> # mount -t ufs -o ro,ufstype=44bsd /dev/hdb1 /part
> mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>missing codepage or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
> 
> in the dmes, show this error:
> 
> ufs_read_super: bad magic number
That probably means that your are targetting the wrong partition/slice
of your BSD partition.

I can't guess your setup but you have probably a primary partition
on the slave IDE drive and some BSD slices inside (a/b/c/...)
hdb1 is the whole partition and probably not your BSD slice you
want to mount... Depending on the other primary/extended partitions
on hdb, you might need to try hdb{2...15}.

-> sfdisk -d /dev/hdb
-> fdisk -l /dev/hdb
-> grep hdb /var/log/messages 

Cheers

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


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


Re: [CentOS] mount UFS partition on CentOS 5.

2008-10-01 Thread Rainer Duffner
Daniel Bruno schrieb:
> Hi Tru,
>
> I installed rpmforge, dkms and dmks-ufs, how you can see below:
>
> [EMAIL PROTECTED] ~]# rpm -qva |grep dkms
> dkms-2.0.20.4-1.el5.rf
> dkms-ufs-2.6.18_8.1.8.el5-3.c5
>
> [EMAIL PROTECTED] ~]# lsmod |grep ufs
> ufs64644  0
>
> but I still can't mount the partition:
>
> # mount -t ufs -o ro,ufstype=44bsd /dev/hdb1 /part
> mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
>missing codepage or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
>
> in the dmes, show this error:
>
>
> ufs_read_super: bad magic number




Can anyone comment on wether it is actually possible to mount an UFS2
(FreeBSD 5+) vs. an UFS1 (FreeBSD upto 4.x) partition.
I tried that yesterday (mounting a pfSense CF-card) and it would more or
less crash OpenSuSE 11...

Try a "real" BSD to mount it



Rainer

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