Re: [CentOS] RPM verify weirdness

2008-03-18 Thread Gavin Carr
On Wed, Mar 19, 2008 at 01:41:39AM -0400, Ignacio Vazquez-Abrams wrote:
> > > > I thought verify was supposed to check every file in the package?
> > > 
> > > From the spec file:
> > > 
> > > %verify(not md5 size mtime) %config(noreplace) /etc/exports
> > > 
> > > rpm has been explicitly told to *not* check certain traits.
> > 
> > Ah, very cool, thanks. Any pointers to why one would do this?
> 
> Verifying against a stock /etc/bashrc is useful, since it influences
> system behavior. Verifying against a stock /etc/exports is not, beyond
> who owns the file and what permissions it has.

Thanks Ignacio. I guess that makes sense, for certain values of 'verify'.

I'm trying to use this for backup though, so I really _want_ to know if 
the md5sum has changed. Anyone know of some kind of undocumented 
--forcefiles option to rpm -V, or am I going to by rolling it myself via 
--dump?

Cheers,
Gavin

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


Re: [CentOS] Intel SATA controller (cmiiw) not recognized by Centos5.1 installation?

2008-03-18 Thread Yu-Hui Jin
On Tue, Mar 18, 2008 at 4:35 PM, bruce <[EMAIL PROTECTED]> wrote:

> hi...
>
> you might want to look at some of the past threads/sites for centos and
> optiplex 300/320 systems from dell...
>

Thank you! I will download the threads and grep for this info.


-Hui






>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf
> Of Yu-Hui Jin
> Sent: Tuesday, March 18, 2008 3:03 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Intel SATA controller (cmiiw) not recognized by
> Centos5.1 installation?
>
>
> Anyone can help?
>
> Many thanks!
>
> -Hui
>
>
> On Mon, Mar 17, 2008 at 11:21 PM, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:
>
> Hi, Jason,
>
> Thanks and I tried the first method to start with the parameter, but it
> was
> extremely slow loading each screen. one time I got to the testing media
> page
> and i chose Test. and it seemed stuck there for ever so I forced shutdown
> my
> box.
>
> I also tried to download and install the AHCI driver following this
> article:
> http://www.bleedinedge.com/forum/showthread.php?t=30865
>
> But the installation failed; it said The computer does not meet the
> minimum
> requirements for installing this software.
>
> It seemed that no trick has worked yet... any new suggestion or advice?
>
>
> Thanks,
>
> -Hui
>
>
>
>
>
> On Mon, Mar 17, 2008 at 10:16 AM, Jason <[EMAIL PROTECTED]> wrote:
>
> boot with
>
> linux all-generic-ide
>
> or try to change your bios sata emulation to ahci
>
>
> Yu-Hui Jin wrote:
> > Hi, there,
> >
> > I tried to install Centos 5.1 on a Dell Inspiron 530 box I just bought,
> > but failed due to invalid drive. The installation did not recognize
> > either the DVD nor the hard disk.  Joseph from the community said it is
> > likely that Centos can't recognize the controller -- Intel SATA
> > controller (cmiiw).
> >
> > Did anyone solve this problem before?  How did you do it?
> >
> > Here's the related configuration for my box:
> > Inspiron 530 Intel Core2 processor Q6600 (2.40Ghz 1066FSB) w/Quad Core
> > Technology and 8MB cache
> > SATA 0: Samsung HD501LJ(500GB Serial ATA II Hard Drive(7200RPM))
> > SATA 1: PDBS DVD +/- RW DH-16W1S   (16X DVD+/-RW Drive)
> >
> >
> > Many thanks!
> >
> >
> > regards,
> > -Hui
> >
> >
>
> > 
> >
> > ___
> > 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
>
>
>
>
>
> --
> Regards,
>
> -Hui
>
>
>
> --
> Regards,
>
> -Hui
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Regards,

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


Re: [CentOS] Intel SATA controller (cmiiw) not recognized by Centos5.1 installation?

2008-03-18 Thread Yu-Hui Jin
> Here ya go
> 5 minutes
>
>
> http://www.dellcommunity.com/supportforums/board/message?board.id=sw_linux&message.id=12701&query.id=104245#M12701
>
>
Thanks!   I tried network installation (using HTTP though), but the harddisk
can't be recognized during the partitioning step.  It seems to me this NFS
network described in this article would have the same problem.

am I wrong in thinking this way? (i don't have a second linux to do the NFS
install so I'm suspicious about whether i should really give this a try.)

It seems installing AHCI is the only way to go to me


-Hui





>
> -Hui
>
> On Mon, Mar 17, 2008 at 11:21 PM, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:
>
> > Hi, Jason,
> >
> > Thanks and I tried the first method to start with the parameter, but it
> > was extremely slow loading each screen. one time I got to the testing media
> > page and i chose Test. and it seemed stuck there for ever so I forced
> > shutdown my box.
> >
> > I also tried to download and install the AHCI driver following this
> > article:
> > http://www.bleedinedge.com/forum/showthread.php?t=30865
> >
> > But the installation failed; it said The computer does not meet the
> > minimum requirements for installing this software.
> >
> > It seemed that no trick has worked yet... any new suggestion or advice?
> >
> >
> > Thanks,
> >
> > -Hui
> >
> >
> >
> >
> > On Mon, Mar 17, 2008 at 10:16 AM, Jason <[EMAIL PROTECTED]> wrote:
> >
> > > boot with
> > >
> > > linux all-generic-ide
> > >
> > > or try to change your bios sata emulation to ahci
> > >
> > > Yu-Hui Jin wrote:
> > > > Hi, there,
> > > >
> > > > I tried to install Centos 5.1 on a Dell Inspiron 530 box I just
> > > bought,
> > > > but failed due to invalid drive. The installation did not recognize
> > > > either the DVD nor the hard disk.  Joseph from the community said it
> > > is
> > > > likely that Centos can't recognize the controller -- Intel SATA
> > > > controller (cmiiw).
> > > >
> > > > Did anyone solve this problem before?  How did you do it?
> > > >
> > > > Here's the related configuration for my box:
> > > > Inspiron 530 Intel Core2 processor Q6600 (2.40Ghz 1066FSB) w/Quad
> > > Core
> > > > Technology and 8MB cache
> > > > SATA 0: Samsung HD501LJ(500GB Serial ATA II Hard Drive(7200RPM))
> > > > SATA 1: PDBS DVD +/- RW DH-16W1S   (16X DVD+/-RW Drive)
> > > >
> > > >
> > > > Many thanks!
> > > >
> > > >
> > > > regards,
> > > > -Hui
> > > >
> > > >
> > > >
> > > 
> > > >
> > > > ___
> > > > 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
> > >
> >
> >
> >
> > --
> > Regards,
> >
> > -Hui
>
>
>
>
> --
> Regards,
>
> -Hui
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


-- 
Regards,

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


Re: [CentOS] Re: Intel SATA controller (cmiiw) not recognized by Centos 5.1 installation?

2008-03-18 Thread Yu-Hui Jin
I was told to try two methods:
1)  linxu all-generic-ide
2)  install ahci  and config to use it in BIOS.

#1 is too slow;  #2,  I checked my BIOS, there's no ahci option.   That's
why i'm following the article which tells how to install it for XP and get
it into BIOS.


thanks,
-Hui


On Tue, Mar 18, 2008 at 4:17 PM, Scott Silva <[EMAIL PROTECTED]> wrote:

> on 3-17-2008 11:21 PM Yu-Hui Jin spake the following:
> > Hi, Jason,
> >
> > Thanks and I tried the first method to start with the parameter, but it
> > was extremely slow loading each screen. one time I got to the testing
> > media page and i chose Test. and it seemed stuck there for ever so I
> > forced shutdown my box.
> >
> > I also tried to download and install the AHCI driver following this
> > article:
> > http://www.bleedinedge.com/forum/showthread.php?t=30865
> >
> > But the installation failed; it said The computer does not meet the
> > minimum requirements for installing this software.
> >
> > It seemed that no trick has worked yet... any new suggestion or advice?
> >
> That article is for Windows XP. How does it relate to CentOS?
> Did you actually go into your bios and see if you could change the sata
> emulation to legacy or ahci?
>
>
>
> --
> MailScanner is like deodorant...
> You hope everybody uses it, and
> you notice quickly if they don't
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


-- 
Regards,

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


Re: [CentOS] RPM verify weirdness

2008-03-18 Thread Ignacio Vazquez-Abrams
On Wed, 2008-03-19 at 16:32 +1100, Gavin Carr wrote:
> On Wed, Mar 19, 2008 at 12:08:50AM -0400, Ignacio Vazquez-Abrams wrote:
> > On Wed, 2008-03-19 at 14:48 +1100, Gavin Carr wrote:
> > > Can anyone explain this to me? (CentOS 4/5)
> > > 
> > >   # rpm -qf /etc/exports
> > >   setup
> > >   # rpm -V setup
> > >   S.5T c /etc/bashrc
> > >   S.5T c /etc/printcap
> > >   ..?. c /etc/securetty
> > >   # echo ' foo' > /etc/exports
> > >   # cat /etc/exports
> > >    foo
> > >   # rpm -V setup
> > >   S.5T c /etc/bashrc
> > >   S.5T c /etc/printcap
> > >   ..?. c /etc/securetty
> > > 
> > > I thought verify was supposed to check every file in the package?
> > 
> > From the spec file:
> > 
> > %verify(not md5 size mtime) %config(noreplace) /etc/exports
> > 
> > rpm has been explicitly told to *not* check certain traits.
> 
> Ah, very cool, thanks. Any pointers to why one would do this?

Verifying against a stock /etc/bashrc is useful, since it influences
system behavior. Verifying against a stock /etc/exports is not, beyond
who owns the file and what permissions it has.

-- 
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RPM verify weirdness

2008-03-18 Thread Gavin Carr
On Wed, Mar 19, 2008 at 12:08:50AM -0400, Ignacio Vazquez-Abrams wrote:
> On Wed, 2008-03-19 at 14:48 +1100, Gavin Carr wrote:
> > Can anyone explain this to me? (CentOS 4/5)
> > 
> >   # rpm -qf /etc/exports
> >   setup
> >   # rpm -V setup
> >   S.5T c /etc/bashrc
> >   S.5T c /etc/printcap
> >   ..?. c /etc/securetty
> >   # echo ' foo' > /etc/exports
> >   # cat /etc/exports
> >    foo
> >   # rpm -V setup
> >   S.5T c /etc/bashrc
> >   S.5T c /etc/printcap
> >   ..?. c /etc/securetty
> > 
> > I thought verify was supposed to check every file in the package?
> 
> From the spec file:
> 
> %verify(not md5 size mtime) %config(noreplace) /etc/exports
> 
> rpm has been explicitly told to *not* check certain traits.

Ah, very cool, thanks. Any pointers to why one would do this?

Cheers,
Gavin

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


Re: [CentOS] Server to server communication

2008-03-18 Thread Les Mikesell

D Steward wrote:
How often does the data change and how critical is it to have real-time 
results.  Web sites often have thousands of people getting copies of the 
same thing, or at least computed from the same values even if they are 
the same only for a short period of time. 

The servers will exchange sensitive data hopefully with a latency of <
50ms.
Ping time between them is 20ms.


That's not the relevant question.  How often does the data change 
relative to the number of times you re-use it?


One approach is to put 
memcached between your web application and the database for extremely 
fast repeated access to the same data. It is just a cache layer, though, 
you still need a persistent database underneath. 
http://www.danga.com/memcached/



Ahh, thanks. I forgot about memcached. I am presently using some
in-memory MySQL tables, but I'll have to benchmark this against
memcached.
But the 2nd server was procured to relieve the CPU load on the main one.
Even with a 16-way Opteron, this situation would have had to be faced
eventually.


The big advantage of memcached is that you can distribute it over as 
many servers as you need to keep everything in RAM - and have it shared 
by any number of clients.


--
  Les Mikesell
   [EMAIL PROTECTED]


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


Re: [CentOS] Server to server communication

2008-03-18 Thread D Steward
> How often does the data change and how critical is it to have real-time 
> results.  Web sites often have thousands of people getting copies of the 
> same thing, or at least computed from the same values even if they are 
> the same only for a short period of time. 
The servers will exchange sensitive data hopefully with a latency of <
50ms.
Ping time between them is 20ms.

> One approach is to put 
> memcached between your web application and the database for extremely 
> fast repeated access to the same data. It is just a cache layer, though, 
> you still need a persistent database underneath. 
> http://www.danga.com/memcached/
> 
Ahh, thanks. I forgot about memcached. I am presently using some
in-memory MySQL tables, but I'll have to benchmark this against
memcached.
But the 2nd server was procured to relieve the CPU load on the main one.
Even with a 16-way Opteron, this situation would have had to be faced
eventually.

It looks to me like OpenAMQ will be the ultimate solution
I'm amazed that RedHat with a finger in almost every opensource pie
hasn't backed this or come out with their own competing option, since it
appears to tie in very nicely with clusters.


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


Re: [CentOS] Server to server communication

2008-03-18 Thread D Steward
On Tue, 2008-03-18 at 07:41 -0700, John R Pierce wrote:
> you can pass 1K of info on a URL as arguments to a http 'page' which 
> invokes your program in whatever web-language its written in.

Well, the data is rather sensitive - authentication tokens, IPs and
possibly cookies and/or password hashes, so doing a POST is more prudent
than putting it in the URL.
I forgot about the possibility of invoking an app or script via use of
PHP so thanks for giving me a hint.

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


Re: [CentOS] RPM verify weirdness

2008-03-18 Thread Ignacio Vazquez-Abrams
On Wed, 2008-03-19 at 14:48 +1100, Gavin Carr wrote:
> Can anyone explain this to me? (CentOS 4/5)
> 
>   # rpm -qf /etc/exports
>   setup
>   # rpm -V setup
>   S.5T c /etc/bashrc
>   S.5T c /etc/printcap
>   ..?. c /etc/securetty
>   # echo ' foo' > /etc/exports
>   # cat /etc/exports
>    foo
>   # rpm -V setup
>   S.5T c /etc/bashrc
>   S.5T c /etc/printcap
>   ..?. c /etc/securetty
> 
> I thought verify was supposed to check every file in the package?

From the spec file:

%verify(not md5 size mtime) %config(noreplace) /etc/exports

rpm has been explicitly told to *not* check certain traits.

-- 
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RPM verify weirdness

2008-03-18 Thread Gavin Carr
On Tue, Mar 18, 2008 at 08:55:16PM -0700, Bill Campbell wrote:
> On Wed, Mar 19, 2008, Gavin Carr wrote:
> >Can anyone explain this to me? (CentOS 4/5)
> >
> >  # rpm -qf /etc/exports
> >  setup
> >  # rpm -V setup
> >  S.5T c /etc/bashrc
> >  S.5T c /etc/printcap
> >  ..?. c /etc/securetty
> >  # echo ' foo' > /etc/exports
> >  # cat /etc/exports
> >   foo
> >  # rpm -V setup
> >  S.5T c /etc/bashrc
> >  S.5T c /etc/printcap
> >  ..?. c /etc/securetty
> >
> >I thought verify was supposed to check every file in the package?
> 
> It does, only displaying changes.  The ones with ? are most
> likely zero length.
> 
> The ``c'' characters in the middle indicate configuration files,
> and changes are often normal.

Yes, but my point is I just changed /etc/exports, and yet it doesn't
show up in the rpm -V.

Cheers,
Gavin

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


Re: [CentOS] RPM verify weirdness

2008-03-18 Thread Bill Campbell
On Wed, Mar 19, 2008, Gavin Carr wrote:
>Hi all,
>
>Can anyone explain this to me? (CentOS 4/5)
>
>  # rpm -qf /etc/exports
>  setup
>  # rpm -V setup
>  S.5T c /etc/bashrc
>  S.5T c /etc/printcap
>  ..?. c /etc/securetty
>  # echo ' foo' > /etc/exports
>  # cat /etc/exports
>   foo
>  # rpm -V setup
>  S.5T c /etc/bashrc
>  S.5T c /etc/printcap
>  ..?. c /etc/securetty
>
>I thought verify was supposed to check every file in the package?

It does, only displaying changes.  The ones with ? are most
likely zero length.

The ``c'' characters in the middle indicate configuration files,
and changes are often normal.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

A child can go only so far in life without potty training.  It is not
mere coincidence that six of the last seven presidents were potty
trained, not to mention nearly half of the nation's state legislators.
-- Dave Barry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RPM verify weirdness

2008-03-18 Thread Gavin Carr
Hi all,

Can anyone explain this to me? (CentOS 4/5)

  # rpm -qf /etc/exports
  setup
  # rpm -V setup
  S.5T c /etc/bashrc
  S.5T c /etc/printcap
  ..?. c /etc/securetty
  # echo ' foo' > /etc/exports
  # cat /etc/exports
   foo
  # rpm -V setup
  S.5T c /etc/bashrc
  S.5T c /etc/printcap
  ..?. c /etc/securetty

I thought verify was supposed to check every file in the package?

Cheers,
Gavin


-- 
Gavin Carr
- http://www.openfusion.com.au - Linux, Perl, and Web Consulting
- http://www.openfusion.net- Hackery, the Blog
* Fashion is a variable, but style is a constant - Programming Perl

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


Re: [CentOS] remote command execution

2008-03-18 Thread Les Mikesell

Joseph L. Casale wrote:

I just tried:

% cat /tmp/test.sh
nohup /usr/bin/tail -f /tmp/test.in > /tmp/test.out 2>&1 &

(note that all output is redirected)

C:\> plink [EMAIL PROTECTED] /tmp/test.sh
...
C:\>

on the remote host
% echo "10" >> /tmp/test.in
% cat /tmp/test.out
...
10
% ps ax|grep tail
...  /usr/bin/tail -f /tmp/test.in




Right, but do something that takes a while, like a large dd from /dev/random 
and see what plink does :)


Can you give an actual example of something that fails?

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


RE: [CentOS] Intel SATA controller (cmiiw) not recognized by Centos5.1 installation?

2008-03-18 Thread Dennis McLeod
Here ya go
5 minutes
 
http://www.dellcommunity.com/supportforums/board/message?board.id=sw_linux

&message.id=12701&query.id=104245#M12701

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Yu-Hui Jin
Sent: Tuesday, March 18, 2008 4:03 PM
To: CentOS mailing list
Subject: Re: [CentOS] Intel SATA controller (cmiiw) not recognized by
Centos5.1 installation?


Anyone can help? 

Many thanks!

-Hui


On Mon, Mar 17, 2008 at 11:21 PM, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:


Hi, Jason,

Thanks and I tried the first method to start with the parameter, but it was
extremely slow loading each screen. one time I got to the testing media page
and i chose Test. and it seemed stuck there for ever so I forced shutdown my
box.

I also tried to download and install the AHCI driver following this article:

http://www.bleedinedge.com/forum/showthread.php?t=30865

But the installation failed; it said The computer does not meet the minimum
requirements for installing this software. 

It seemed that no trick has worked yet... any new suggestion or advice? 


Thanks,

-Hui 

 



On Mon, Mar 17, 2008 at 10:16 AM, Jason <[EMAIL PROTECTED]> wrote:


boot with

linux all-generic-ide

or try to change your bios sata emulation to ahci


Yu-Hui Jin wrote:
> Hi, there,
>
> I tried to install Centos 5.1 on a Dell Inspiron 530 box I just bought,
> but failed due to invalid drive. The installation did not recognize
> either the DVD nor the hard disk.  Joseph from the community said it is
> likely that Centos can't recognize the controller -- Intel SATA
> controller (cmiiw).
>
> Did anyone solve this problem before?  How did you do it?
>
> Here's the related configuration for my box:
> Inspiron 530 Intel Core2 processor Q6600 (2.40Ghz 1066FSB) w/Quad Core
> Technology and 8MB cache
> SATA 0: Samsung HD501LJ(500GB Serial ATA II Hard Drive(7200RPM))
> SATA 1: PDBS DVD +/- RW DH-16W1S   (16X DVD+/-RW Drive)
>
>
> Many thanks!
>
>
> regards,
> -Hui
>
>

> 
>
> ___
> 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





-- 
Regards,

-Hui 




-- 
Regards,

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


RE: [CentOS] Intel SATA controller (cmiiw) not recognized by Centos5.1 installation?

2008-03-18 Thread bruce
hi...

you might want to look at some of the past threads/sites for centos and
optiplex 300/320 systems from dell...


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Yu-Hui Jin
Sent: Tuesday, March 18, 2008 3:03 PM
To: CentOS mailing list
Subject: Re: [CentOS] Intel SATA controller (cmiiw) not recognized by
Centos5.1 installation?


Anyone can help?

Many thanks!

-Hui


On Mon, Mar 17, 2008 at 11:21 PM, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:

Hi, Jason,

Thanks and I tried the first method to start with the parameter, but it was
extremely slow loading each screen. one time I got to the testing media page
and i chose Test. and it seemed stuck there for ever so I forced shutdown my
box.

I also tried to download and install the AHCI driver following this article:
http://www.bleedinedge.com/forum/showthread.php?t=30865

But the installation failed; it said The computer does not meet the minimum
requirements for installing this software.

It seemed that no trick has worked yet... any new suggestion or advice?


Thanks,

-Hui





On Mon, Mar 17, 2008 at 10:16 AM, Jason <[EMAIL PROTECTED]> wrote:

boot with

linux all-generic-ide

or try to change your bios sata emulation to ahci


Yu-Hui Jin wrote:
> Hi, there,
>
> I tried to install Centos 5.1 on a Dell Inspiron 530 box I just bought,
> but failed due to invalid drive. The installation did not recognize
> either the DVD nor the hard disk.  Joseph from the community said it is
> likely that Centos can't recognize the controller -- Intel SATA
> controller (cmiiw).
>
> Did anyone solve this problem before?  How did you do it?
>
> Here's the related configuration for my box:
> Inspiron 530 Intel Core2 processor Q6600 (2.40Ghz 1066FSB) w/Quad Core
> Technology and 8MB cache
> SATA 0: Samsung HD501LJ(500GB Serial ATA II Hard Drive(7200RPM))
> SATA 1: PDBS DVD +/- RW DH-16W1S   (16X DVD+/-RW Drive)
>
>
> Many thanks!
>
>
> regards,
> -Hui
>
>

> 
>
> ___
> 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





--
Regards,

-Hui



--
Regards,

-Hui

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


[CentOS] Re: Intel SATA controller (cmiiw) not recognized by Centos 5.1 installation?

2008-03-18 Thread Scott Silva

on 3-17-2008 11:21 PM Yu-Hui Jin spake the following:

Hi, Jason,

Thanks and I tried the first method to start with the parameter, but it 
was extremely slow loading each screen. one time I got to the testing 
media page and i chose Test. and it seemed stuck there for ever so I 
forced shutdown my box.


I also tried to download and install the AHCI driver following this 
article:

http://www.bleedinedge.com/forum/showthread.php?t=30865

But the installation failed; it said The computer does not meet the 
minimum requirements for installing this software.


It seemed that no trick has worked yet... any new suggestion or advice?


That article is for Windows XP. How does it relate to CentOS?
Did you actually go into your bios and see if you could change the sata 
emulation to legacy or ahci?




--
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] Intel SATA controller (cmiiw) not recognized by Centos 5.1 installation?

2008-03-18 Thread Yu-Hui Jin
Anyone can help?

Many thanks!

-Hui

On Mon, Mar 17, 2008 at 11:21 PM, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:

> Hi, Jason,
>
> Thanks and I tried the first method to start with the parameter, but it
> was extremely slow loading each screen. one time I got to the testing media
> page and i chose Test. and it seemed stuck there for ever so I forced
> shutdown my box.
>
> I also tried to download and install the AHCI driver following this
> article:
> http://www.bleedinedge.com/forum/showthread.php?t=30865
>
> But the installation failed; it said The computer does not meet the
> minimum requirements for installing this software.
>
> It seemed that no trick has worked yet... any new suggestion or advice?
>
>
> Thanks,
>
> -Hui
>
>
>
>
> On Mon, Mar 17, 2008 at 10:16 AM, Jason <[EMAIL PROTECTED]> wrote:
>
> > boot with
> >
> > linux all-generic-ide
> >
> > or try to change your bios sata emulation to ahci
> >
> > Yu-Hui Jin wrote:
> > > Hi, there,
> > >
> > > I tried to install Centos 5.1 on a Dell Inspiron 530 box I just
> > bought,
> > > but failed due to invalid drive. The installation did not recognize
> > > either the DVD nor the hard disk.  Joseph from the community said it
> > is
> > > likely that Centos can't recognize the controller -- Intel SATA
> > > controller (cmiiw).
> > >
> > > Did anyone solve this problem before?  How did you do it?
> > >
> > > Here's the related configuration for my box:
> > > Inspiron 530 Intel Core2 processor Q6600 (2.40Ghz 1066FSB) w/Quad Core
> > > Technology and 8MB cache
> > > SATA 0: Samsung HD501LJ(500GB Serial ATA II Hard Drive(7200RPM))
> > > SATA 1: PDBS DVD +/- RW DH-16W1S   (16X DVD+/-RW Drive)
> > >
> > >
> > > Many thanks!
> > >
> > >
> > > regards,
> > > -Hui
> > >
> > >
> > >
> > 
> > >
> > > ___
> > > 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
> >
>
>
>
> --
> Regards,
>
> -Hui




-- 
Regards,

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


RE: [CentOS] remote command execution

2008-03-18 Thread Joseph L. Casale
> I just tried:
>
> % cat /tmp/test.sh
> nohup /usr/bin/tail -f /tmp/test.in > /tmp/test.out 2>&1 &
>
> (note that all output is redirected)
>
> C:\> plink [EMAIL PROTECTED] /tmp/test.sh
> ...
> C:\>
>
> on the remote host
> % echo "10" >> /tmp/test.in
> % cat /tmp/test.out
> ...
> 10
> % ps ax|grep tail
> ...  /usr/bin/tail -f /tmp/test.in
>
>

Right, but do something that takes a while, like a large dd from /dev/random 
and see what plink does :)

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


Re: [CentOS] rpm build machines

2008-03-18 Thread Bill Campbell
On Tue, Mar 18, 2008, Johnny Tan wrote:
>How similar should my rpm build machine be to my target 
>deploy machines? Like, do you have to build on a multi-core 
>machine if you plan to run on a multi-core machine? Or as 
>long as the arch is the same, nothing else matters?

IHMO, it's always best to build on identical machines.

In theory they should work, but I have had problems when building
packages where 32-bit AMD and 32-bit Intel systems had some
incompatibilties that resulted in illegal instruction traps.

One package I know gave me this was gmp, GNU Arbitrary Precision
Arithmetic Library, required by clamav.

Pretty much everything we build, we do with the OpenPKG portable
package management system where the basic philosophy is to make
it easy to build on the target machines thus avoiding this type
of problem.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

If the future navigation system [for interactive networked services on
the NII] looks like something from Microsoft, it will never work.
(Chairman of Walt Disney Television & Telecommunications)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpm build machines

2008-03-18 Thread Karanbir Singh

Johnny Tan wrote:
How similar should my rpm build machine be to my target deploy machines? 
Like, do you have to build on a multi-core machine if you plan to run on 
a multi-core machine? Or as long as the arch is the same, nothing else 
matters?



Sounds like a question for a more rpm specific list.

For CentOS, I'd recommend you just match the arch, and use mock to setup 
buildroots to build in. And make sure redhat-rpm-configs is installed in 
the buildroot. Apart from that you should be fine.


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


[CentOS] rpm build machines

2008-03-18 Thread Johnny Tan
How similar should my rpm build machine be to my target 
deploy machines? Like, do you have to build on a multi-core 
machine if you plan to run on a multi-core machine? Or as 
long as the arch is the same, nothing else matters?


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


Re: [CentOS] remote command execution

2008-03-18 Thread mouss

Joseph L. Casale wrote:

put everything in a shell script, and run the script.



Yea, I tried that but neglected to see how it behaved from inside an ssh 
session. It works there but with plink :(
Back to the drawing board...


I just tried:

% cat /tmp/test.sh
nohup /usr/bin/tail -f /tmp/test.in > /tmp/test.out 2>&1 &

(note that all output is redirected)

C:\> plink [EMAIL PROTECTED] /tmp/test.sh
...
C:\>

on the remote host
% echo "10" >> /tmp/test.in
% cat /tmp/test.out
...
10
% ps ax|grep tail
...  /usr/bin/tail -f /tmp/test.in





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


Re: [CentOS] Should I update to DRBD 82?

2008-03-18 Thread Johnny Hughes

Amos Shapira wrote:

On Mon, Mar 17, 2008 at 11:04 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:


Amos Shapira wrote:


As far as I'm aware DRBD works fine for me. Is there a way I can find

out

about the new release and weather I should upgrade?

Basically, see the details here:

http://www.drbd.org/releases.html



According to this link, drbd 8 is the "stable" one and 8.2 is still in
development.



That is up to you :D .. but drbd82 (which is currently drbd-8.2.5) is a
replacement for drbd-8.0.x for CentOS-5.

If you look at the drbd.org site, drbd-7 is really no longer getting any
updates and is moving towards EOL in October 2008, and drbd-8.0.x is
feature frozen and not getting any more features, though it will get
security only updates from linbit.



Sounds like just what I need - it (8.0) works for me, stable, and gets
security updates.



Not in CentOS ... centos is running the drbd82 branch, it is an update 
for drbd-8 and I won't be puttin gany more drbd-8 stuff in centos-5 extras.



So now - more of a "yum" question - what can I put in some file to prevent
yum from trying to upgrade drbd8 to drbd82 for now?

Thanks very much for your reply.


Please see this discussion thread with one of the drbd devels where they 
say 8.2 is the one to use:


http://www.gossamer-threads.com/lists/drbd/users/13764









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


Re: [CentOS] DRBD question.

2008-03-18 Thread Johnny Hughes

Steve Campbell wrote:



Fabian Arrotin wrote:

On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
 
I'm going to have to be a little vague on this one, but hope I 
provide enough to make the question clear. I'm not doing the work on 
this server, a co-worker is, but I said I would ask for him.


He is trying to get DRBD installed. He's using Centos 5.1 and the yum 
repos, but is getting problems with things like the kernel, drbd.so, 
and the likes. All install fine, but I'm not sure he is getting the 
proper kernel with the drbd stuff. Almost sounds like he needs a dev 
rpm from somewhere because drbd.so isn't on the machine after 
installing the RPMs. (Can't do the insmod drbd.so).


Does anyone have a quick and easy(?) step by step to get it 
installed? 

Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd  ?

 
He'll figure out the config if he can get it installed properly. 
Right now, he's running from source OK, but you all know the 
arguements for source versus rpm.


Everything is included in the Extras repositories .. no need to compile
from source
 
Thanks for any help. I'll try and get caught up on what he's doing to 
better answer any questions presented.



A quick check with him this morning while he was rushing to take a call 
from the hospital - He says the drbd8.2 rpm has conflicts when trying to 
yum install.


if you are already running drbd-0.7.2x on centos-4 then you must upgrade 
to drbd82 ...


http://fghaas.wordpress.com/2007/10/03/step-by-step-upgrade-from-drbd-07-to-drbd-8/

If you are installing on centos-5 there should not be any "conflicts"






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


Re: [CentOS] offtopic : sharepoint alternative question

2008-03-18 Thread Johnny Hughes

David Hláčik wrote:

Hi,

i am sorry for little oftopic - but i am looking for M$ Sharepoint
open-source alternative. I allready tought it could  be Alfresco, but i need
something more - wiki . Or  i will install also some wiki and connect it
trought ldap.

But, i am asking you friends - maybe you have some experiencies in your
enviroment.

Thanks in advance!

David,


David,

I have been meaning to look at dimdim:

http://www.dimdim.com/

Thanks,
Johnny Hughes



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


[CentOS] php-pear-SOAP

2008-03-18 Thread Kanwar Ranbir Sandhu
Hi All,

Anyone know of a CentOS 5 package for php-pear-SOAP?  I'm installing
Centreon, and that's the only pear package I have not been able to find
packaged as a RPM for CentOS 5.

I did find this, though:

http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/repoview/php-pear-SOAP.html

I should be able to just install the Fedora 6 package, but I'd rather
use one built on CentOS 5.

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.22.14-72.fc6 i686 GNU/Linux 
17:15:43 up 14 days, 5:20, 0 users, load average: 0.30, 0.31, 0.21 


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


Re: [CentOS] Linux drivers for HP C7710a Scanner?

2008-03-18 Thread Anne Wilson
On Tuesday 18 March 2008 20:32:16 Pam Astor wrote:
> Hi,
>
> Does anyone know if there exist drivers for the Hewlett Packard  C7710a
> scanner?  I checked HP, Sourceforge and SANE sites, so far, no luck.
>
As you say, it doesn't seem to be on anyone's list.  I'd recommend that you 
try vuescan from http://www.hamrick.com/.  It's closed source, but it works 
with a great number of scanners.  It costs a few dollars, but you can 
download it for free, and only pay if it works.  One my film-scanner it 
produced better scans than SANE.

Anne




signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] remote command execution

2008-03-18 Thread Joseph L. Casale
> > put everything in a shell script, and run the script.
>
> Yea, I tried that but neglected to see how it behaved from inside an ssh
> session. It works there but with plink :(
> Back to the drawing board...
> jlc

For those that followed, a working solution came from a helpful soul in an ssh 
list when looking for putty/plink help!
`echo "command" | at now` when sent via plink returned control back immediately 
and allowed execution to take place making the Windows script side happy.
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Linux drivers for HP C7710a Scanner?

2008-03-18 Thread Pam Astor
Hi,

Does anyone know if there exist drivers for the Hewlett Packard  C7710a 
scanner?  I checked HP, Sourceforge and SANE sites, so far, no luck.






  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


SOLVED: [CentOS] CDRW-DVD Mount Problem, Centos 5.1, Intel board...

2008-03-18 Thread Pam Astor
Problem has been solved: "sudo mount -t iso9660 /dev/cdrom /mnt/cdrom -o" 
mounted the drive after adding "mount /mnt/cdrom" to /etc/festab.



- Original Message 
From: Pam Astor <[EMAIL PROTECTED]>
To: centos@centos.org
Sent: Monday, March 17, 2008 1:45:16 PM
Subject: [CentOS] CDRW-DVD Mount Problem, Centos 5.1, Intel board...



I'm having a problem mounting my new
CDRW DVD in my new machine I just built.  The motherboard is an Intel
DP35DP, and I connected the CDRW DVD via ribbon cable into the
motherboard  IDE slot.  Centos 5.1 is installed and functioning fine
so far (other than this problem).


I can't mount the CDRW-DVD unit.  I was
able to run cdrecord with the command:
cdrecord -v speed=2 dev=6,0,0 -data
/home/mydir/Desktop/backup_bootimage.iso to copy a file that I
downloaded, apparently the data copy went fine, but when I ejected
the CD and then tried to re mount the same CD to read the file, it would not
mount.  So then I tried mounting the Centos 5.1 distro disk that I used to 
install the OS, and am having the same problem with the distro disk.  If anyone 
could give me some suggestions or insights I'd
appreciate it.  I have provided some data below.


I tried the below commands after
ejecting the CD and then executing the commands while the drawer is
open, and I got the below outputs:


# sudo mount -t iso9660 /dev/sr0
/mnt/cdrom
mount: special device /dev/sr0 does not
exist


And:


# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is
write-protected, mounting read-only
mount: you must specify the filesystem
type


And:


# mount /dev/scd0 /mnt/cdrom
mount: block device /dev/scd0 is
write-protected, mounting read-only
mount: you must specify the filesystem
type


And:


#sudo mount -t iso9660 /dev/scd0
/mnt/cdrom
mount: block device /dev/scd0 is
write-protected, mounting read-only
mount: wrong fs type, bad option, bad
superblock on /dev/scd0,
   missing codepage or other error
   In some cases useful info is
found in syslog - try
   dmesg | tail  or so


And:


sudo mount -t iso9660 /dev/scd0
/mnt/cdrom -o ro,unhide
mount: wrong fs type, bad option, bad
superblock on /dev/scd0,
   missing codepage or other error
   In some cases useful info is
found in syslog - try
   dmesg | tail  or so
And:


sudo mount -t iso9660 /dev/sr0
/mnt/cdrom -o ro,unhide
mount: special device /dev/sr0 does not
exist




Here is info from cat /etc/fstab, cat
/proc/mounts, fdisk -l, and cdrecord -scanbus and
dmesg | grep -i -e CD -e CD-ROM
respectively:


>From cat/etc/fstab:
/dev/VolGroup00/LogVol00 / ext3 defaults 11
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfsdefaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs/sys sysfs defaults 0 0
proc /proc proc defaults 00
/dev/VolGroup00/LogVol01 swap swap defaults 0 0


>From cat /proc/mounts:
[EMAIL PROTECTED]/]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw0 0
/sys /sys sysfs rw 0 0
none /selinux selinuxfs rw 00
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/ptsdevpts rw 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
tmpfs/dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 00
/etc/auto.misc /misc 
autofsrw,fd=6,pgrp=2758,timeout=300,minproto=5,maxproto=5,indirect 00
-hosts /net autofsrw,fd=11,pgrp=2758,timeout=300,minproto=5,maxproto=5,indirect 
00

fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016bytes
255 heads, 63 sectors/track, 60801 cylinders
Units =cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start EndBlocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 1460801 488279610 8e Linux LVM

Disk /dev/sdb: 500.1 GB,500107862016 bytes
255 heads, 63 sectors/track, 60801cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

DeviceBoot Start End Blocks Id System
/dev/sdb1 * 1 60801 488384001 8eLinux LVM


>From  cdrecord -scanbus:
scsibus6:
6,0,0 600) 'TSSTcorp''CDDVDW SH-S202J ' 'SB00' Removable CD-ROM
6,1,0 601) *
6,2,0602) *
6,3,0 603) *
6,4,0 604) *
6,5,0 605) *
6,6,0 606)*
6,7,0 607) *


>From dmesg | grep -i -e CD -e CD-ROM:


[EMAIL PROTECTED] etc]# dmesg | grep -i
-e CD -e CD-ROM
uhci_hcd :00:1a.0: UHCI Host
Controller
uhci_hcd :00:1a.0: new USB bus
registered, assigned bus number 1
uhci_hcd :00:1a.0: irq 193, io base
0x30e0
uhci_hcd :00:1a.1: UHCI Host
Controller
uhci_hcd :00:1a.1: new USB bus
registered, assigned bus number 2
uhci_hcd :00:1a.1: irq 74, io base
0x30c0
uhci_hcd :00:1a.2: UHCI Host
Controller
uhci_hcd :00:1a.2: new USB bus
registered, assigned bus number 3
uhci_hcd :00:1a.2: irq 177, io base
0x30a0
uhci_hcd :00:1d.0: UHCI Host
Controller
uhci_hcd :00:1d.0: new USB bus
registered, assigned bus number 4
uhci_hcd :00:1d.0: irq 82, io base
0x3080
uhci_hcd :00:1d.1: UHCI Host
Controller
uhci_hcd :00:1d.1: new USB bus
registered, assign

[CentOS] offtopic : sharepoint alternative question

2008-03-18 Thread David Hláčik
Hi,

i am sorry for little oftopic - but i am looking for M$ Sharepoint
open-source alternative. I allready tought it could  be Alfresco, but i need
something more - wiki . Or  i will install also some wiki and connect it
trought ldap.

But, i am asking you friends - maybe you have some experiencies in your
enviroment.

Thanks in advance!

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


Re: [CentOS] can i copy /proc

2008-03-18 Thread Ashley M. Kirchner

chloe K wrote:

yes.

but i want to copy this file to have the parameter setting in this 
computer

eg: cpuinfo ... interrupt

   cat /proc/whatever > /somefolder/whatever

   You can't copy /proc.

--
H | 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] Which sasl?

2008-03-18 Thread Anne Wilson
On Tuesday 18 March 2008 18:00:03 Brian wrote:
> Anne Wilson wrote:
> > I'm trying to set up imap resources in kmail, and from the logs it looks
> > as though I have to set up sasldb.  I've found some documentation, but it
> > seems that I need to know whether I'm using sasl or sasl2.  How can I
> > tell?  I seem to have several packages installed that are returned with I
> > query yum, and both versions get mentions.
> >
> > Anne
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> Following some errors of my own I came across this link.
>
> http://postfix.state-of-mind.de/patrick.koetter/saslfinger/
>
> Seems quite informative.
>
Definitely I'll give that a try, thanks.  I had found this site (though not 
that page) yesterday evening.  It looks immensely informative, but there's a 
lot of it.  It will take a while to get to grips with all of it.

Anne


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Which sasl?

2008-03-18 Thread Anne Wilson
On Tuesday 18 March 2008 17:38:27 Paul Heinlein wrote:
> On Tue, 18 Mar 2008, Anne Wilson wrote:
> > On Tuesday 18 March 2008 12:25, Anne Wilson wrote:
> >> I'm trying to set up imap resources in kmail, and from the logs it
> >> looks as though I have to set up sasldb.  I've found some
> >> documentation, but it seems that I need to know whether I'm using
> >> sasl or sasl2.  How can I tell? I seem to have several packages
> >> installed that are returned with I query yum, and both versions get
> >> mentions.
> >
> > On further investigation, it looks as though it is sasl2.
>
> Yep. Application configs go in /etc/sasl2 in CentOS 5, but they belong
> in /usr/lib/sasl2 in CentOS 4.

Thanks for confirming that.

Anne


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can i copy /proc

2008-03-18 Thread Milton Calnek

mkdir proc
cp /proc/cpuinfo proc

works for me.

So just out of curiosity, what do you hope to accomplish?

John R Pierce wrote:

chloe K wrote:

yes.

but i want to copy this file to have the parameter setting in this 
computer

eg: cpuinfo ... interrupt

how can I copy this file?



which part of THEY ARE NOT FILES are you missing here?


everything in linux is a file: directories, printers, sockets, named pipes etc.



thats the kernel reporting the ACTUAL cpuinfo. you can''t change that.  
ditto interrupts, etc.


$ cat /proc/interrupts
  CPU0   0: 2214281030  XT-PIC  timer
 1:  2  XT-PIC  i8042
 2:  0  XT-PIC  cascade
 6:  6  XT-PIC  floppy
 7:  1  XT-PIC  parport0
 8:  1  XT-PIC  rtc
 9:  1  XT-PIC  acpi, uhci_hcd:usb2
11: 218548  XT-PIC  eth0
12:  1  XT-PIC  uhci_hcd:usb1
14:4659843  XT-PIC  ide0
15:   19337609  XT-PIC  ide1
NMI:  0
LOC:  0
ERR:  0
MIS:  0

what possible sense would 'copying' that to another system make?  I go 
to a different computer...


 # cat /proc/interrupts
  CPU0   0: 1078260604  XT-PIC  timer
 1:  3  XT-PIC  keyboard
 2:  0  XT-PIC  cascade
 7:  0  XT-PIC  usb-ohci
 8:  1  XT-PIC  rtc
 9:   75485990  XT-PIC  aic7xxx
10: 1754046926  XT-PIC  eth0
14:131  XT-PIC  ide0
NMI:  0
ERR:  0

and the different devices are on different IRQs, never mind the IRQ 
counts being different.


anyways, most of whats in /proc is readonly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



--
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


Re: [CentOS] can i copy /proc

2008-03-18 Thread John R Pierce

chloe K wrote:

yes.

but i want to copy this file to have the parameter setting in this 
computer

eg: cpuinfo ... interrupt

how can I copy this file?



which part of THEY ARE NOT FILES are you missing here?

thats the kernel reporting the ACTUAL cpuinfo. you can''t change that.  
ditto interrupts, etc.


$ cat /proc/interrupts
  CPU0  
 0: 2214281030  XT-PIC  timer

 1:  2  XT-PIC  i8042
 2:  0  XT-PIC  cascade
 6:  6  XT-PIC  floppy
 7:  1  XT-PIC  parport0
 8:  1  XT-PIC  rtc
 9:  1  XT-PIC  acpi, uhci_hcd:usb2
11: 218548  XT-PIC  eth0
12:  1  XT-PIC  uhci_hcd:usb1
14:4659843  XT-PIC  ide0
15:   19337609  XT-PIC  ide1
NMI:  0
LOC:  0
ERR:  0
MIS:  0

what possible sense would 'copying' that to another system make?  I go 
to a different computer...


 # cat /proc/interrupts
  CPU0  
 0: 1078260604  XT-PIC  timer

 1:  3  XT-PIC  keyboard
 2:  0  XT-PIC  cascade
 7:  0  XT-PIC  usb-ohci
 8:  1  XT-PIC  rtc
 9:   75485990  XT-PIC  aic7xxx
10: 1754046926  XT-PIC  eth0
14:131  XT-PIC  ide0
NMI:  0
ERR:  0

and the different devices are on different IRQs, never mind the IRQ 
counts being different.


anyways, most of whats in /proc is readonly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] can i copy /proc

2008-03-18 Thread chloe K
yes. 

but i want to copy this file to have the parameter setting in this computer
eg: cpuinfo ... interrupt

how can I copy this file?

thank you again


"Ross S. W. Walker" <[EMAIL PROTECTED]> wrote: /proc isn't a real folder 
but a view of the process/kernel  status information.
  
 Just skip /proc, /sys and /dev when copying  /
  
 -Ross
  

   
-
   From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] On Behalf Of chloe K
Sent:Tuesday, March 18, 2008 1:11 PM
To: CentOS mailinglist
Subject: [CentOS] can i copy /proc


   
Hi all

i am trying to copy this folder /proc to othercomputer

but all parameter are gone 

how can I copyit?

thank you
  

-
   All new Yahoo! Mail-
-
   Get a sneak peak at messages with a handy reading  pane. 
 
-
 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.  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


   
-
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can i copy /proc

2008-03-18 Thread John R Pierce

chloe K wrote:

Hi all

i am trying to copy this folder /proc to other computer

but all parameter are gone

how can I copy it?



its not a folder, its a virtual file system thats a view into various 
kernel internals.


for instance, /proc/kcore is a readonly view of all of physical 
memory.   /proc/scsi/scsi is a list of currently installed SCSI class 
devices. /proc/(pid)/... is a bunch of info about a running process.   etc.





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


RE: [CentOS] can i copy /proc

2008-03-18 Thread Ross S. W. Walker
/proc isn't a real folder but a view of the process/kernel status information.
 
Just skip /proc, /sys and /dev when copying /
 
-Ross
 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chloe K
Sent: Tuesday, March 18, 2008 1:11 PM
To: CentOS mailing list
Subject: [CentOS] can i copy /proc


Hi all

i am trying to copy this folder /proc to other computer

but all parameter are gone 

how can I copy it?

thank you





All new Yahoo! Mail -  


Get a sneak peak at messages with a handy reading pane.


__
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.

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


[CentOS] can i copy /proc

2008-03-18 Thread chloe K
Hi all

i am trying to copy this folder /proc to other computer

but all parameter are gone 

how can I copy it?

thank you

   
-
 All new Yahoo! Mail - 
-
Get a sneak peak at messages with a handy reading pane.___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Which sasl?

2008-03-18 Thread Brian

Anne Wilson wrote:
I'm trying to set up imap resources in kmail, and from the logs it looks as 
though I have to set up sasldb.  I've found some documentation, but it seems 
that I need to know whether I'm using sasl or sasl2.  How can I tell?  I seem 
to have several packages installed that are returned with I query yum, and 
both versions get mentions.


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

  

Following some errors of my own I came across this link.

http://postfix.state-of-mind.de/patrick.koetter/saslfinger/

Seems quite informative.

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


Re: [CentOS] Which sasl?

2008-03-18 Thread Paul Heinlein

On Tue, 18 Mar 2008, Anne Wilson wrote:


On Tuesday 18 March 2008 12:25, Anne Wilson wrote:
I'm trying to set up imap resources in kmail, and from the logs it 
looks as though I have to set up sasldb.  I've found some 
documentation, but it seems that I need to know whether I'm using 
sasl or sasl2.  How can I tell? I seem to have several packages 
installed that are returned with I query yum, and both versions get 
mentions.



On further investigation, it looks as though it is sasl2.


Yep. Application configs go in /etc/sasl2 in CentOS 5, but they belong 
in /usr/lib/sasl2 in CentOS 4.


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


RE: [CentOS] remote command execution

2008-03-18 Thread Joseph L. Casale
> put everything in a shell script, and run the script.

Yea, I tried that but neglected to see how it behaved from inside an ssh 
session. It works there but with plink :(
Back to the drawing board...
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Which sasl?

2008-03-18 Thread Anne Wilson
On Tuesday 18 March 2008 12:25, Anne Wilson wrote:
> I'm trying to set up imap resources in kmail, and from the logs it looks as
> though I have to set up sasldb.  I've found some documentation, but it
> seems that I need to know whether I'm using sasl or sasl2.  How can I tell?
>  I seem to have several packages installed that are returned with I query
> yum, and both versions get mentions.
>
On further investigation, it looks as though it is sasl2.

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


RE: [CentOS] md5sum errors in rpms

2008-03-18 Thread Hoy, Mark
Thanks Peter, I didn't know about the --checksig option of rpm.  

Mark

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Peter Kjellstrom
> Sent: Tuesday, March 04, 2008 2:41 AM
> To: centos@centos.org
> Subject: Re: [CentOS] md5sum errors in rpms
> 
> On Friday 29 February 2008, Hoy, Mark wrote:
> > I just noticed that a couple of the updated RPMS have incorrect
md5sums
> > compared to the original email.
> 
> I can't comment on this.
> 
> > This exists on at least two mirrors:
> > http://centos.take2hosting.com/5.1/updates/i386/RPMS/
> > http://altruistic.lbl.gov/mirrors/centos/5.1/updates/i386/RPMS/
> >
> > # md5sum perl-*
> > 7a3f9c4f7c35c23a0751f2b9fc196a21  perl-5.8.8-10.el5_0.2.i386.rpm
> > 135fb1abc0f83fc85885b286ad268a7c
> > perl-suidperl-5.8.8-10.el5_0.2.i386.rpm
> >
> > Is there a list of the md5sums for the entire updates directory?
> 
> Even better, rpms have integrated checksums and signatures:
> $ rpm --checksig perl-5.8.8-10.el5_0.2.i386.rpm
> perl-5.8.8-10.el5_0.2.i386.rpm: (sha1) dsa sha1 md5 gpg OK
> 
> /Peter
> 
> > Suggestions welcome.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] internal messages problem with postfix

2008-03-18 Thread Anne Wilson
On Monday 17 March 2008 11:29, Mufit Eribol wrote:
>
> It looks names are configured correctly. I am stumped!
>
Mufit, I don't know cyrus-imapd at all, but in dovecot it is the transport 
maps that separates internal from external mail.  Does that help?

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


[CentOS] Which sasl?

2008-03-18 Thread Anne Wilson
I'm trying to set up imap resources in kmail, and from the logs it looks as 
though I have to set up sasldb.  I've found some documentation, but it seems 
that I need to know whether I'm using sasl or sasl2.  How can I tell?  I seem 
to have several packages installed that are returned with I query yum, and 
both versions get mentions.

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


Re: [CentOS] Boot from FC SAN CentOS 5.1 x86-64

2008-03-18 Thread nate
Jim Perrin wrote:

> Use the 'mpath' when you're installing, and that should pretty much
> take care of it. The one issue that we had is that the Centos/RHEL
> mpath option defaults to active/active pathing, so storage systems
> that use active/passive (like our DS4700) can get angry unless you
> change the configuration after install. Also, I've heard reports of
> some folks having delays with older HBAs like the qla23xx, needed a
> longer timeout than the 250 listed in /proc/scsi/scsi. I've not
> confirmed this, and it could simply be related to the way the san is
> cabled up or how the zones are defined.

Cool thanks! Our array is active-active so that's good to know.
I have a theory on why the system failed to boot in CentOS, the system
actually has a pair of internal disks connected to a SATA controller,
we turned the SATA controller off in the bios but the installer still
may of seen it and installed stuff to it. With VMWare it doesn't
support that SATA controller so it never touched the internal disks.

nate

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


Re: [CentOS] remote command execution

2008-03-18 Thread mouss

Joseph L. Casale wrote:

nohup will allow you to run a command that is not connected to the shell:

nohup command >> nohup.log &



Devin,
What is the correct way to encapsulate the command if its rather long. Just as 
a test, I am trying to run `dd if=/dev/random of=~/test bs=1024 count=5` so 
that I can disconnect and watch it run...

A possible caveat is that I was using plink.exe to connect and execute the 
command and I suspect the syntax issue might be a windows shell issue.
  



put everything in a shell script, and run the script.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] remote command execution

2008-03-18 Thread Joseph L. Casale
> nohup will allow you to run a command that is not connected to the shell:
>
> nohup command >> nohup.log &

Devin,
What is the correct way to encapsulate the command if its rather long. Just as 
a test, I am trying to run `dd if=/dev/random of=~/test bs=1024 count=5` so 
that I can disconnect and watch it run...

A possible caveat is that I was using plink.exe to connect and execute the 
command and I suspect the syntax issue might be a windows shell issue.

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


Re: [CentOS] Server to server communication

2008-03-18 Thread Les Mikesell

D Steward wrote:

On Tue, 2008-03-18 at 10:06 +0100, mouss wrote:
it depends on what you want to exchange. you don't need to design server 
software. you can use http (if running an http server is ok), stunnel, 
ssh, ... you can even use mysql!

Hi, the amount of data being exchanged is very small (<1k), but it
*must* be low-latency. Communicating via http/mysql would mean both
servers polling for changes to a database or flatfile db/logfile, which
would be highly undesirable.


How often does the data change and how critical is it to have real-time 
results.  Web sites often have thousands of people getting copies of the 
same thing, or at least computed from the same values even if they are 
the same only for a short period of time. One approach is to put 
memcached between your web application and the database for extremely 
fast repeated access to the same data. It is just a cache layer, though, 
you still need a persistent database underneath. 
http://www.danga.com/memcached/


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


Re: [CentOS] Server to server communication

2008-03-18 Thread John R Pierce

D Steward wrote:

On Tue, 2008-03-18 at 10:06 +0100, mouss wrote:
  
it depends on what you want to exchange. you don't need to design server 
software. you can use http (if running an http server is ok), stunnel, 
ssh, ... you can even use mysql!


Hi, the amount of data being exchanged is very small (<1k), but it
*must* be low-latency. Communicating via http/mysql would mean both
servers polling for changes to a database or flatfile db/logfile, which
would be highly undesirable.
  


you can pass 1K of info on a URL as arguments to a http 'page' which 
invokes your program in whatever web-language its written in.







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


Re: [CentOS] DRBD question.

2008-03-18 Thread Gary Richardson
Hey,
The last time I built the RPM's for DRDB, two RPM's were generated. One was
the toolset, the other was the kernel module.

On systems that were running custom or older kernels, I would have to
rebuild the RPM on those machines so that the kernel version numbers matched
properly. Make sense?

On Tue, Mar 18, 2008 at 4:30 AM, Steve Campbell <[EMAIL PROTECTED]>
wrote:

> Gary, thanks for the reply and info.
>
> Gary Richardson wrote:
> > I think the last time I did it, I got the tarball. I either did an
> > rpmbuild -ta on it, or there was an rpm target in the makefile.
>
> I didn't think of the rpmbuild was. I'll suggest that to him. I do
> rkhunter that way now and it works like a charm. Not sure what you mean
> by an rpm target in the makefile, though.
> >
> > Regardless, I ended up with two RPM's -- a kernel module and the
> > tools. On any systems that had different kernels, I had to recompile
> > to get the kernel module.
> Can you elaborate a little on the last sentence above, please? Again,
> not sure if you are saying to do something after the rpmbuild or that
> you just used the resultant rpms.
>
> >
> > On Mon, Mar 17, 2008 at 1:40 PM, Steve Campbell <[EMAIL PROTECTED]
> > > wrote:
> >
> > I'm going to have to be a little vague on this one, but hope I
> provide
> > enough to make the question clear. I'm not doing the work on this
> > server, a co-worker is, but I said I would ask for him.
> >
> > He is trying to get DRBD installed. He's using Centos 5.1 and the
> yum
> > repos, but is getting problems with things like the kernel,
> > drbd.so, and
> > the likes. All install fine, but I'm not sure he is getting the
> proper
> > kernel with the drbd stuff. Almost sounds like he needs a dev rpm
> from
> > somewhere because drbd.so isn't on the machine after installing the
> > RPMs. (Can't do the insmod drbd.so).
> >
> > Does anyone have a quick and easy(?) step by step to get it
> installed?
> > He'll figure out the config if he can get it installed properly.
> Right
> > now, he's running from source OK, but you all know the arguements
> for
> > source versus rpm.
> >
> > Thanks for any help. I'll try and get caught up on what he's doing
> to
> > better answer any questions presented.
> >
> > Steve Campbell
> >
> >
>
> Steve
>
> ___
> 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] radius WPA

2008-03-18 Thread David G. Miller

David Hl??ik <[EMAIL PROTECTED]> wrote:


Hi , will be someone so kind and will provide mi howto, or working
configuration of Acess Point WPA authentification using Radius Server . I
have followed a lot of howtos, unfortunatelly no one works for me. 

Using Centos 5.1 . 

I put up a blog entry on what I did to get WPA Radius working for me:

http://davenjudy.org/wordpress/?p=22

That's with CentOS 5.1 for both the client (HP Laptop) and my server.  
If you run into something that needs to be different for your setup, 
post a comment and I'll do my best to find an answer.


Cheers,
Dave

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

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


Re: [CentOS] DRBD question.

2008-03-18 Thread Steve Campbell



Fabian Arrotin wrote:

On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
  
I'm going to have to be a little vague on this one, but hope I provide 
enough to make the question clear. I'm not doing the work on this 
server, a co-worker is, but I said I would ask for him.


He is trying to get DRBD installed. He's using Centos 5.1 and the yum 
repos, but is getting problems with things like the kernel, drbd.so, and 
the likes. All install fine, but I'm not sure he is getting the proper 
kernel with the drbd stuff. Almost sounds like he needs a dev rpm from 
somewhere because drbd.so isn't on the machine after installing the 
RPMs. (Can't do the insmod drbd.so).


Does anyone have a quick and easy(?) step by step to get it installed? 


Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd  ?

  
He'll figure out the config if he can get it installed properly. Right 
now, he's running from source OK, but you all know the arguements for 
source versus rpm.


Everything is included in the Extras repositories .. no need to compile
from source
  
Thanks for any help. I'll try and get caught up on what he's doing to 
better answer any questions presented.



A quick check with him this morning while he was rushing to take a call 
from the hospital - He says the drbd8.2 rpm has conflicts when trying to 
yum install. 


  



___
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] Server to server communication

2008-03-18 Thread Jim Wildman

On Tue, 18 Mar 2008, D Steward wrote:


On Tue, 2008-03-18 at 05:08 -0400, Jim Wildman wrote:

Check out the OpenAMQ project for a secure, scaleable messaging engine and
protocol.  It may be overkill for what you want (maybe not), but should
look good on the resume.

http://www.theserverside.com/news/thread.tss?thread_id=41008

http://www.openamq.org/

Wow, this looks good! thanks Jim :)

For now, it might be overkill, but if it scales well, the effort to
adopt it will be well worth it.



It scales VERY well.  Industrial strength.


Jim Wildman, CISSP, RHCE   [EMAIL PROTECTED] http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DRBD question.

2008-03-18 Thread Steve Campbell

Fabian, thanks.

Fabian Arrotin wrote:

On Mon, 2008-03-17 at 16:40 -0400, Steve Campbell wrote:
  
I'm going to have to be a little vague on this one, but hope I provide 
enough to make the question clear. I'm not doing the work on this 
server, a co-worker is, but I said I would ask for him.


He is trying to get DRBD installed. He's using Centos 5.1 and the yum 
repos, but is getting problems with things like the kernel, drbd.so, and 
the likes. All install fine, but I'm not sure he is getting the proper 
kernel with the drbd stuff. Almost sounds like he needs a dev rpm from 
somewhere because drbd.so isn't on the machine after installing the 
RPMs. (Can't do the insmod drbd.so).


Does anyone have a quick and easy(?) step by step to get it installed? 


Have you read the wiki : http://wiki.centos.org/HowTos/Ha-Drbd  ?
  


Didn't realize there was an entry. I don't use the wiki that much since 
the Centos systems we run here just seem to work. Not much problem. I'll 
read it and pass on the link to the installer too. It  doesn't address 
the original problem of getting it installed, though, from a quick 
glance. Looks like configuration is pretty well covered.
  
He'll figure out the config if he can get it installed properly. Right 
now, he's running from source OK, but you all know the arguements for 
source versus rpm.


Everything is included in the Extras repositories .. no need to compile
from source
  
I'm assuming he used the Extras repos since he had Centos rpms. Again, 
I'll get caught up with what he's done, and confirm.
Thanks for any help. I'll try and get caught up on what he's doing to 
better answer any questions presented.



  


Thanks,

Steve

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


Re: [CentOS] DRBD question.

2008-03-18 Thread Steve Campbell

Gary, thanks for the reply and info.

Gary Richardson wrote:
I think the last time I did it, I got the tarball. I either did an 
rpmbuild -ta on it, or there was an rpm target in the makefile.


I didn't think of the rpmbuild was. I'll suggest that to him. I do 
rkhunter that way now and it works like a charm. Not sure what you mean 
by an rpm target in the makefile, though.


Regardless, I ended up with two RPM's -- a kernel module and the 
tools. On any systems that had different kernels, I had to recompile 
to get the kernel module.
Can you elaborate a little on the last sentence above, please? Again, 
not sure if you are saying to do something after the rpmbuild or that 
you just used the resultant rpms.




On Mon, Mar 17, 2008 at 1:40 PM, Steve Campbell <[EMAIL PROTECTED] 
> wrote:


I'm going to have to be a little vague on this one, but hope I provide
enough to make the question clear. I'm not doing the work on this
server, a co-worker is, but I said I would ask for him.

He is trying to get DRBD installed. He's using Centos 5.1 and the yum
repos, but is getting problems with things like the kernel,
drbd.so, and
the likes. All install fine, but I'm not sure he is getting the proper
kernel with the drbd stuff. Almost sounds like he needs a dev rpm from
somewhere because drbd.so isn't on the machine after installing the
RPMs. (Can't do the insmod drbd.so).

Does anyone have a quick and easy(?) step by step to get it installed?
He'll figure out the config if he can get it installed properly. Right
now, he's running from source OK, but you all know the arguements for
source versus rpm.

Thanks for any help. I'll try and get caught up on what he's doing to
better answer any questions presented.

Steve Campbell




Steve

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


Re: [CentOS] Boot from FC SAN CentOS 5.1 x86-64

2008-03-18 Thread Jim Perrin
On Mon, Mar 17, 2008 at 5:56 PM, nate <[EMAIL PROTECTED]> wrote:

>  I see in the release notes that SAN boot is supported, but
>  doesn't give any special instructions.
>
>  Anyone else booting CentOS directly from a FC SAN ? Any
>  special considerations needed for multipathing and
>  stuff when booting ?

Use the 'mpath' when you're installing, and that should pretty much
take care of it. The one issue that we had is that the Centos/RHEL
mpath option defaults to active/active pathing, so storage systems
that use active/passive (like our DS4700) can get angry unless you
change the configuration after install. Also, I've heard reports of
some folks having delays with older HBAs like the qla23xx, needed a
longer timeout than the 250 listed in /proc/scsi/scsi. I've not
confirmed this, and it could simply be related to the way the san is
cabled up or how the zones are defined.



-- 
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] Server to server communication

2008-03-18 Thread D Steward
On Tue, 2008-03-18 at 05:08 -0400, Jim Wildman wrote:
> Check out the OpenAMQ project for a secure, scaleable messaging engine and
> protocol.  It may be overkill for what you want (maybe not), but should
> look good on the resume.
> 
> http://www.theserverside.com/news/thread.tss?thread_id=41008
> 
> http://www.openamq.org/
Wow, this looks good! thanks Jim :)

For now, it might be overkill, but if it scales well, the effort to
adopt it will be well worth it.

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


Re: [CentOS] Server to server communication

2008-03-18 Thread D Steward
On Tue, 2008-03-18 at 10:06 +0100, mouss wrote:
> it depends on what you want to exchange. you don't need to design server 
> software. you can use http (if running an http server is ok), stunnel, 
> ssh, ... you can even use mysql!
Hi, the amount of data being exchanged is very small (<1k), but it
*must* be low-latency. Communicating via http/mysql would mean both
servers polling for changes to a database or flatfile db/logfile, which
would be highly undesirable.

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


Re: [CentOS] Server to server communication

2008-03-18 Thread Jim Wildman

Check out the OpenAMQ project for a secure, scaleable messaging engine and
protocol.  It may be overkill for what you want (maybe not), but should
look good on the resume.

http://www.theserverside.com/news/thread.tss?thread_id=41008

http://www.openamq.org/

On Tue, 18 Mar 2008, D Steward wrote:


I prefer the communication to be secure, low latency, scalable and
two-way ie. either server can initiate communication with the other. As
the number of users increase, I will need to add more quad-core servers.
What would be the easiest/quickest-to-implement way to do this?



Jim Wildman, CISSP, RHCE   [EMAIL PROTECTED] http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server to server communication

2008-03-18 Thread mouss

D Steward wrote:

Hi all,
I have 2 servers online and wish them to communicate and exchange
information with each other at times.

I have been developing a web application which is extremely
CPU-intensive, and since I don't want to overload the main server which
deals with the apache/php/mysql stuff, I got a separate server (a
phenom) to deal with it.

I prefer the communication to be secure, low latency, scalable and
two-way ie. either server can initiate communication with the other. As
the number of users increase, I will need to add more quad-core servers.
What would be the easiest/quickest-to-implement way to do this?

Is there a daemon I could use to do this, or would I need to develop my
own?

Since I have only ever had a single server, I have never had to do this
before, so wouldn't have a clue as to where to start.
(I Googled "server communication" but got a pile of semi-useless links)
  


it depends on what you want to exchange. you don't need to design server 
software. you can use http (if running an http server is ok), stunnel, 
ssh, ... you can even use mysql!

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


Re: [CentOS] Should I update to DRBD 82?

2008-03-18 Thread William L. Maltby
On Tue, 2008-03-18 at 13:47 +1100, Amos Shapira wrote:
> On Tue, Mar 18, 2008 at 10:50 AM, Joseph L. Casale
> <[EMAIL PROTECTED]> wrote:
> >So now - more of a "yum" question - what can I put in some
> file to prevent yum from trying to upgrade drbd8 to drbd82 for
> now?
> 
> Edit your /etc/yum.conf and add the following:
> exclude=drbd* kmod-drbd*
> 
> Thanks.
> I suppose that tells "yum" to avoid upgrading drbd at all. I can
> probably do:
> exclude=drbd82* kmod-drbd82*
> to avoide the drbd82 packages.
> 
> Can I tell yum to ignore "drbd" packages from the extras repository
> only, so it'll keep updating drbd 8.0 for security fixes?

Yes. Put the exclude lines in the .repo file for extras. See "man yum"
for the format.

> 
> Cheers,
> 
> --Amos
> 


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


[CentOS] Server to server communication

2008-03-18 Thread D Steward
Hi all,
I have 2 servers online and wish them to communicate and exchange
information with each other at times.

I have been developing a web application which is extremely
CPU-intensive, and since I don't want to overload the main server which
deals with the apache/php/mysql stuff, I got a separate server (a
phenom) to deal with it.

I prefer the communication to be secure, low latency, scalable and
two-way ie. either server can initiate communication with the other. As
the number of users increase, I will need to add more quad-core servers.
What would be the easiest/quickest-to-implement way to do this?

Is there a daemon I could use to do this, or would I need to develop my
own?

Since I have only ever had a single server, I have never had to do this
before, so wouldn't have a clue as to where to start.
(I Googled "server communication" but got a pile of semi-useless links)

TIA

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