Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Ralph Angenendt
Rudi Ahlers wrote:
> Hi all
>
> I was wondering if someone could answer this one for me. How do I host a  
> different Linux OS repository(s) on my CentOS server?

Have you looked at the click-through EULA when you installed CentOS? I
think our Licensing does not allow you to do that.

Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.

Ralph


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


Re: [CentOS] pci-x v2 detect on command line

2008-07-15 Thread Peter Kjellstrom
On Monday 14 July 2008, Tony Schreiner wrote:
> On Jul 14, 2008, at 12:28 PM, Bo Lynch wrote:
> > On Mon, July 14, 2008 11:43 am, Tony Schreiner wrote:
> >> Is there a way to tell from the OS whether the PCI-X bus is version 2
> >> or not?

You basically have two ways to go. 1) Google the PCI bridge 2) run lspci with 
a few -v options and attempt to decode the output.

The first approach would have told you that the AMD bridge does indeed support 
PCI-X version 2 but only to 266 MHz (assuming the board/bios etc. supports 
it). The cheap intel chip you mentioned below wont even likely run 133 MHz 
version 1 very fast...

But at this point it's probably relevant to ask why do you care? I have seen 
many high performance PCI, PCI-X and PCI-express cards but PCI-X-2? ...that 
hasn't seen any wide use at all. Do you really have a card that is PCI-X-2? 
As I understand it it's quite dead in the water and everyone has moved on to 
PCI-express.

/Peter


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


[CentOS] CentOS-announce Digest, Vol 41, Issue 7

2008-07-15 Thread centos-announce-request
uez-libs-devel-2.10-3.x86_64.rpm
bluez-utils-2.10-2.4.x86_64.rpm
bluez-utils-cups-2.10-2.4.x86_64.rpm

src:
bluez-libs-2.10-3.src.rpm
bluez-utils-2.10-2.4.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080714/10475a31/signature-0001.bin

--

Message: 12
Date: Mon, 14 Jul 2008 17:45:15 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0561 Moderate CentOS 4 x86_64
rubyUpdate
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0561

Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0561.html

The following updated files have been uploaded and are currently
syncing to the mirrors:


x86_64:
irb-1.8.1-7.el4_6.1.x86_64.rpm
ruby-1.8.1-7.el4_6.1.x86_64.rpm
ruby-devel-1.8.1-7.el4_6.1.x86_64.rpm
ruby-docs-1.8.1-7.el4_6.1.x86_64.rpm
ruby-libs-1.8.1-7.el4_6.1.i386.rpm
ruby-libs-1.8.1-7.el4_6.1.x86_64.rpm
ruby-mode-1.8.1-7.el4_6.1.x86_64.rpm
ruby-tcltk-1.8.1-7.el4_6.1.x86_64.rpm

src:
ruby-1.8.1-7.el4_6.1.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080714/c23c7194/signature-0001.bin

--

Message: 13
Date: Mon, 14 Jul 2008 17:45:29 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0561 Moderate CentOS 4 i386 ruby
Update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Skipped content of type multipart/mixed-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080714/80915282/signature-0003.bin

--

Message: 14
Date: Tue, 15 Jul 2008 09:50:47 +1000
From: John Newbigin <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0562-01: Moderate CentOS 2 i386
rubysecurity update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

The following errata for CentOS-2 have been built and uploaded to the
centos mirror:

RHSA-2008:0562-01 Moderate: ruby security update

Files available:
irb-1.6.4-6.el2.i386.rpm
ruby-1.6.4-6.el2.i386.rpm
ruby-devel-1.6.4-6.el2.i386.rpm
ruby-docs-1.6.4-6.el2.i386.rpm
ruby-libs-1.6.4-6.el2.i386.rpm
ruby-tcltk-1.6.4-6.el2.i386.rpm

More details are available from the RedHat web site at
https://rhn.redhat.com/errata/rh21as-errata.html

The easy way to make sure you are up to date with all the latest patches
is to run:
# yum update

-- 
John Newbigin
ITS Senior Analyst / Programmer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin










--

Message: 15
Date: Tue, 15 Jul 2008 11:37:50 +0200
From: Tru Huynh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0562 Moderate CentOS 3 i386 ruby
-   security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2008:0562

ruby security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2008-0562.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/irb-1.6.8-12.el3.i386.rpm
updates/i386/RPMS/ruby-1.6.8-12.el3.i386.rpm
updates/i386/RPMS/ruby-devel-1.6.8-12.el3.i386.rpm
updates/i386/RPMS/ruby-docs-1.6.8-12.el3.i386.rpm
updates/i386/RPMS/ruby-libs-1.6.8-12.el3.i386.rpm
updates/i386/RPMS/ruby-mode-1.6.8-12.el3.i386.rpm
updates/i386/RPMS/ruby-tcltk-1.6.8-12.el3.i386.rpm

source:
updates/SRPMS/ruby-1.6.8-12.el3.src.rpm

You may update your CentOS-3 i386 installations by running the command:

    yum update ruby

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080715/e4df2b0b/attachment-0001.bin

--

Message: 16
Date: Tue, 15 Jul 2008 11:38:26 +0200
From: Tru Huynh <[EMAIL PROTECT

[CentOS] background process

2008-07-15 Thread David Hláčik
Sorry for such lame question but ..

When i am connected to server using SSH . How can i fetch process to
background and close ssh session and not kill that process? And how can i
later connect to server and fetch process from background to console?

All years i have been using "screen" for this.

Thanks in advance!

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


Re: [CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-15 Thread Lanny Marcus
On Mon, Jul 14, 2008 at 12:19 PM, Scott Silva <[EMAIL PROTECTED]> wrote:
>>> I just played with one of my test vmware ipcop images and set it to dhcp
>>> on
>>> our internal network (which should simulate your natted connection
>>> through
>>> your adsl modem) for the red interface and I was able to dig +trace
>>> google.com
>>> with proper answers. So it is possible to get it working unless your ISP
>>> blocks DNS queries to anywhere else but their own servers.

> Just played with the vmware box again. It won't resolve to itself, so forget
> putting the localhost address in the dns servers box. The other box I played
> with had a secondary address as a fallback and that is why it was working.
>
> I think for the dig +trace to work for you you need a box that will do full
> recursion as your upstream DNS server. I had mine pointed to our caching
> resolver and I saw the queries log there.
>
> I would forget about setting nameservers in your adsl modem as I doubt it
> has a very large cache so it will expire entries quickly. If you point your
> ipcop's dns entries to opendns or another free resolver you should be good
> to go.

I have it working, with one glitch (cannot get to the IPCop web
interface from my Desktop) in the Backup IPCop box.
Yesterday, I installed a different HD, ran Diagnostics on that, ran
Memtest 86 and then did a clean install of IPCop 1.4.16 from the CD I
made last year. Last night, with some difficulty, I was able to
connect to the IPCop box with the web browser, change the settings for
SSH in it, but I could not browse. There was no resolution. This
morning, I noticed when it booted there was a message, "Bad Default
Gateway". Previously, "Default Gateway" was blank. In the IPCop box,
where it has "DNS & Gateway" settings, I have the 2 IP addresses to
access the opendns.com DNS service (they have DNS servers in 4 U.S.
cities and in London as I recall) and after I changed "Default
Gateway" to 192.168.1.1 (the ADSL modem) I was online.:-)

Not sure why I am not able to get to it via the web browser on my
Desktop.  Also, last night, when I was able to access the IPCop box
with the web browser, I noticed that it is on IPCop v.1.4.16, but it
said that there are no updates available. I know there are two (2)
updates available, to bring it up to 1.4.18.

So, with your help and the help of others, all greatly appreciated, I
have a Caching DNS Server working on my IPCop box and I have also
discontinued using the problematic DNS Servers at my ISP.  :-)  Thanks
much, to everyone who provided ideas. and guidance!

It's running Headless now and I think the HW in that box is OK, with
the probable exception of the Floppy Drive. Once I can get to it via
the web browser, I can backup to my Desktop.  dig +trace does not work
the same for me as it does for you, per your explanation.

[EMAIL PROTECTED]:~ # dig +trace gmail.com

; <<>> DiG 9.4.0 <<>> +trace gmail.com
;; global options:  printcmd
;; Received 17 bytes from 127.0.0.1#53(127.0.0.1) in 118 ms

[EMAIL PROTECTED]:~ #


[EMAIL PROTECTED]:~ # dig gmail.com

; <<>> DiG 9.4.0 <<>> gmail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27531
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;gmail.com. IN  A

;; ANSWER SECTION:
gmail.com.  30  IN  A   209.85.171.83
gmail.com.  30  IN  A   64.233.171.83
gmail.com.  30  IN  A   64.233.161.83

;; Query time: 170 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jul 15 07:34:22 2008
;; MSG SIZE  rcvd: 75

[EMAIL PROTECTED]:~ #
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] background process

2008-07-15 Thread William L. Maltby

On Tue, 2008-07-15 at 14:34 +0200, David Hláčik wrote:
> Sorry for such lame question but ..
>  
> When i am connected to server using SSH . How can i fetch process to
> background and close ssh session and not kill that process? And how
> can i later connect to server and fetch process from background to
> console?
> 
> All years i have been using "screen" for this.

IIUC your question, the bash job control facility should allow what you
need. "Man bas:, see JOB CONTROL.

>  
> Thanks in advance!
> 
> David
> 

HTH
-- 
Bill

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


Re: [CentOS] background process

2008-07-15 Thread Mogens Kjaer

David Hlác(ik wrote:

Sorry for such lame question but ..

When i am connected to server using SSH . How can i fetch process to
background and close ssh session and not kill that process? And how can i
later connect to server and fetch process from background to console?

All years i have been using "screen" for this.


Why not continue with screen on CentOS?

yum install screen

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


Re: [CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-15 Thread William L. Maltby

On Tue, 2008-07-15 at 07:41 -0500, Lanny Marcus wrote:
> 

> I have it working, with one glitch (cannot get to the IPCop web
> interface from my Desktop) in the Backup IPCop box.

Did you remember to use the alternate port? E.g on my local net

   https://homegroanfirewall:445/cgi-bin/index.cgi

I think the cgi... stuff is not needed, but that's where I bookmarked at
for fast access.

> 

-- 
Bill

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


Re: [CentOS] background process

2008-07-15 Thread Filipe Brandenburger
On Tue, Jul 15, 2008 at 08:34, David Hláčik <[EMAIL PROTECTED]> wrote:
> When i am connected to server using SSH . How can i fetch process to
> background and close ssh session and not kill that process? And how can i
> later connect to server and fetch process from background to console?

Ctrl-Z will suspend the process, then run the "bg" command to continue
running it on background, then run "disown %1" to make your shell
"forget" about the job and not send it a HUP (Hang-Up) signal when you
log out from it.

I works, unless your process will try to read from stdin, in that case
it might be killed because there is no controlling tty (or something
to that effect).

In general, though, running it on a "screen" session is a much better
alternative, because you then can detach (Ctrl-A, d) and reattach
(screen -xRR) to continue watching the output. The only problem is
that you must remember to use "screen" *before* you start running your
process...

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


Re: [CentOS] background process

2008-07-15 Thread Johnny Hughes

Mogens Kjaer wrote:

David Hlác(ik wrote:

Sorry for such lame question but ..

When i am connected to server using SSH . How can i fetch process to
background and close ssh session and not kill that process? And how can i
later connect to server and fetch process from background to console?

All years i have been using "screen" for this.


Why not continue with screen on CentOS?

yum install screen


Screen is certainly the best method to do this that I have found ... is 
there a reason why you DON'T want to use screen.


you can use the '&' to put things in the background and use the command 
'fg' to bring it to the foreground ... but screen also redirects stdout 
and stderr for you, so I would still use it unless there is a specific 
problem you are trying to address.




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


Re: [CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-15 Thread Johnny Hughes

William L. Maltby wrote:

On Tue, 2008-07-15 at 07:41 -0500, Lanny Marcus wrote:





I have it working, with one glitch (cannot get to the IPCop web
interface from my Desktop) in the Backup IPCop box.


Did you remember to use the alternate port? E.g on my local net

   https://homegroanfirewall:445/cgi-bin/index.cgi

I think the cgi... stuff is not needed, but that's where I bookmarked at
for fast access.


Also, on most ipcop setups, port 81 redirects to the ssh port as well:

http://:81/





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


Updated bluez - Re: [CentOS] CentOS-announce Digest, Vol 41, Issue 7

2008-07-15 Thread Robert Moskowitz

[EMAIL PROTECTED] wrote:

   9. CESA-2008:0581 Moderate CentOS 5 i386 bluez-utils Update
  (Johnny Hughes)


  

How do I find out what was changed?


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


Re: [CentOS] background process

2008-07-15 Thread Les Mikesell

Johnny Hughes wrote:



Sorry for such lame question but ..

When i am connected to server using SSH . How can i fetch process to
background and close ssh session and not kill that process? And how 
can i

later connect to server and fetch process from background to console?

All years i have been using "screen" for this.


Why not continue with screen on CentOS?

yum install screen


Screen is certainly the best method to do this that I have found ... is 
there a reason why you DON'T want to use screen.


you can use the '&' to put things in the background and use the command 
'fg' to bring it to the foreground ... but screen also redirects stdout 
and stderr for you, so I would still use it unless there is a specific 
problem you are trying to address.


Or if you want a more modern approach - use freenx on the server and the 
NX client from www.nomachine.com.  This will give you a complete GUI 
desktop that you can suspend when you disconnect and you can simply 
leave each process running it its own window so it is easy to find.


And - you can run the whole session over an ssh connection mananged by 
the client and it is very efficient even when run remotely.


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


Re: [CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-15 Thread Lanny Marcus
On Tue, Jul 15, 2008 at 8:08 AM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
> On Tue, 2008-07-15 at 07:41 -0500, Lanny Marcus wrote:
>> 
>
>> I have it working, with one glitch (cannot get to the IPCop web
>> interface from my Desktop) in the Backup IPCop box.
>
> Did you remember to use the alternate port? E.g on my local net
>
>   https://homegroanfirewall:445/cgi-bin/index.cgi
>
> I think the cgi... stuff is not needed, but that's where I bookmarked at
> for fast access.

Yes, I have been using it with Port 445 and couldn't get into it. But,
after reading your post, I tried it again and I am connected to the
new IPCop box. :-)  It may be an intermittent  problem.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Updated bluez - Re: [CentOS] CentOS-announce Digest, Vol 41, Issue 7

2008-07-15 Thread Johnny Hughes

Robert Moskowitz wrote:

[EMAIL PROTECTED] wrote:

   9. CESA-2008:0581 Moderate CentOS 5 i386 bluez-utilsUpdate
  (Johnny Hughes)


  

How do I find out what was changed?


https://rhn.redhat.com/errata/RHSA-2008-0581.html



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


Re: [CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-15 Thread Lanny Marcus
On Tue, Jul 15, 2008 at 8:24 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> William L. Maltby wrote:
>> On Tue, 2008-07-15 at 07:41 -0500, Lanny Marcus wrote:
>>> I have it working, with one glitch (cannot get to the IPCop web
>>> interface from my Desktop) in the Backup IPCop box.
>>
>> Did you remember to use the alternate port? E.g on my local net
>>
>>   https://homegroanfirewall:445/cgi-bin/index.cgi
>>
>> I think the cgi... stuff is not needed, but that's where I bookmarked at
>> for fast access.
>
> Also, on most ipcop setups, port 81 redirects to the ssh port as well:
>> http://:81/

Thanks Johnny.. I just got into it, on Port 445 and am connected to
the web interface now.

Question: Did you find  that X crashed, in RHEL 5.2,  on that SME
Server documentation page, as it does in CentOS 5.2? Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?

2008-07-15 Thread Lanny Marcus
On Tue, Jul 15, 2008 at 8:49 AM, Lanny Marcus <[EMAIL PROTECTED]> wrote:

 I have it working, with one glitch (cannot get to the IPCop web
 interface from my Desktop) in the Backup IPCop box.

It's working fine now!:-)   I have the 2 updates installed and I
backed it up to  my Desktop. Trying to backup to a different floppy
disk at this time. The floppy drive is probably sick. Otherwise, it is
up and running!   :-)

I will make the changes to our other (older) IPCop box, in a day or
two. Running memtest86 on that one now.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bug-buddy and bug reports for GNOME 2.16...

2008-07-15 Thread Lanny Marcus
On Mon, Jul 14, 2008 at 9:20 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:

>> On CentOS 5.2 (and 5.1 and 5.0, and Red Hat Enterprise Linux of the
>> same versions, which happen to be the most current ones available),
>> the bug buddy "tool" consistently refuses to report any bugs because
>> it claims that the version of Gnome is too old.

I've run into is, multiple times, when the Evolution Calendar (which I
never use) crashed, when I closed Evolution.


> Well ... we will do whatever upstream does.
>
> I can see why the GNOME project could care less though.
>
> However, the fact is that bug buddy is NOT required to make bugzilla entries
> for RHEL.  If you have a bug, file a bug against the component that is the
> problem.  The fact that bug buddy does not file it directly to gnome is
> really irrelevant as they are no longer providing any support for 2.16.x.
>
> So, when you have a problem (ignoring bug buddy, which is to gnome and not
> to RH), then just file the bug against the thing that is broken.
>
The next time Evolution Calendar crashes on me, I will write it up in
CentOS Bugzilla.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Tomasz 'Zen' Napierala
Tuesday 15 July 2008 08:55:43 Rudi Ahlers napisał(a):
> Hi all
>
> I was wondering if someone could answer this one for me. How do I host a
> different Linux OS repository(s) on my CentOS server?

Repository is just ftp or httpd server, so as long as you are able to 
configure httpd or ftpd, you can host repositories.

Regards,
-- 
Tomasz 'Zen' Napierala
Systems Architecture Engineer
IT Infrastructure Department
Allegro Team
http://www.allegro.pl/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vncviewer via gateway option question

2008-07-15 Thread Robert Moskowitz

Jim Perrin wrote:

On Mon, Jul 14, 2008 at 9:18 PM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:

  

How do I set up this environment variable on my notebook.  Would I modify my
.bash_profile file, and is the format of the added line:\
VNC_VIA_CMD=/usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20



You could actually do this a little bit easier, by defining a user ssh
config file in ~/.ssh

You could do something similar to:

Host myvncgateway
HostName server.com
User backupuser #default username
Port  # Use this port instead of 22.

neat, but...

This simplified my ssh commands, not having to include the -p 

But I could not get vncviewer working. For the command:

vncviewer gate.foo.com:5902 -via gate.foo.com

I get:

VNC Viewer Free Edition 4.1.2 for X - built Mar 14 2007 22:51:02
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
[EMAIL PROTECTED]'s password:

Tue Jul 15 07:54:27 2008
CConn: connected to host localhost port 5599
channel 3: open failed: connect failed: Connection refused
main: End of stream



Where did port 5599 come from?

So I kind of gave up, I set up a SSH port forwarding and ran through that.

All this to make a change to my firewall rules. My firewall would not 
accept an external admin connection, so I had to get an internal Firefox 
client running on this system. Hop, Hop, Hop



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


Re: [CentOS] pci-x v2 detect on command line

2008-07-15 Thread Tony Schreiner


On Jul 15, 2008, at 5:45 AM, Peter Kjellstrom wrote:


On Monday 14 July 2008, Tony Schreiner wrote:

On Jul 14, 2008, at 12:28 PM, Bo Lynch wrote:

On Mon, July 14, 2008 11:43 am, Tony Schreiner wrote:
Is there a way to tell from the OS whether the PCI-X bus is  
version 2

or not?


You basically have two ways to go. 1) Google the PCI bridge 2) run  
lspci with

a few -v options and attempt to decode the output.

The first approach would have told you that the AMD bridge does  
indeed support
PCI-X version 2 but only to 266 MHz (assuming the board/bios etc.  
supports
it). The cheap intel chip you mentioned below wont even likely run  
133 MHz

version 1 very fast...

But at this point it's probably relevant to ask why do you care? I  
have seen
many high performance PCI, PCI-X and PCI-express cards but PCI- 
X-2? ...that
hasn't seen any wide use at all. Do you really have a card that is  
PCI-X-2?
As I understand it it's quite dead in the water and everyone has  
moved on to

PCI-express.

/Peter


Thanks for the pointers. The reason I asked the question is I'm  
investigating some Fibre Channel HBA's and was asked if I had if I  
had PCI-X v2 available. I agree that I have not seen it mentioned in  
the press or anywhere else very much.


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


Re: [CentOS] pci-x v2 detect on command line

2008-07-15 Thread Peter Kjellstrom
On Tuesday 15 July 2008, Tony Schreiner wrote:
> On Jul 15, 2008, at 5:45 AM, Peter Kjellstrom wrote:
...
> > But at this point it's probably relevant to ask why do you care? I
> > have seen
> > many high performance PCI, PCI-X and PCI-express cards but PCI-
> > X-2? ...that
> > hasn't seen any wide use at all. Do you really have a card that is
> > PCI-X-2?
> > As I understand it it's quite dead in the water and everyone has
> > moved on to
> > PCI-express.
> >
> > /Peter
>
> Thanks for the pointers. The reason I asked the question is I'm
> investigating some Fibre Channel HBA's and was asked if I had if I
> had PCI-X v2 available. I agree that I have not seen it mentioned in
> the press or anywhere else very much.
>
> Tony Schreiner

I see, for FC I'd go with a 8x PCI-express HBA.

/Peter


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] vncviewer via gateway option question

2008-07-15 Thread Filipe Brandenburger
On Tue, Jul 15, 2008 at 10:36, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
>>> VNC_VIA_CMD=/usr/bin/ssh -p 7722 -f -L "$L":"$H":"$R" "$G" sleep 20
>>
>> You could actually do this a little bit easier, by defining a user ssh
>> config file in ~/.ssh
>
> This simplified my ssh commands, not having to include the -p 

Actually that will be the default for VNC_VIA_CMD, so if you don't
need to specify the port number you don't need to include that
variable specification in your .bashrc/.bash_profile.

> vncviewer gate.foo.com:5902 -via gate.foo.com

Actually it seems to me you are specifying a port number after the
server name, when it should in fact be a *display* number.

When you start the vncserver, you specify which display you want it to
bind, or it will tell you which one it used. That is the number you
have to use on your vncviewer command.

Probably something like:

$ vncviewer gate.foo.com:2 -via gate.foo.com

The 5599 port is probably the local port chosen by the -via option, it
will probably look up a free port in that range.

Let us know how that works for you.

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


[CentOS] Re: Miredo relay port question

2008-07-15 Thread Scott Silva

on 7-14-2008 5:44 PM Robert Moskowitz spake the following:

I am bringing up a Miredo server and relay on my new iPv6 network.

I have been reading the RFC and the man pages.

One of the many vague points is the udp port used by the Miredo client 
in relay mode.  Is it 'random' or is it 3545?  How do I find out what it 
is?


Plus how do I set up my server so that the Miredo server and client 
relay start as part of the system boot?  They do now work with the 
service command, but just running them from the command line starts the 
server.  My digging so far has not given me these answers

The service command only works if the prog has an init script.


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



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


[CentOS] Yun Update problem

2008-07-15 Thread Tony Molloy

Hi, 
I've just done a clean install of centos-5.2 x86-64. When I do a update I get 
the following errors


=
 Package Arch   Version  RepositorySize 
=
Updating:
 yum noarch 3.2.8-9.el5.centos.2.1  update
582 k
Installing for dependencies:
 yum-fastestmirror   noarch 1.1.10-9.el5.centos  base   13 
k

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

Total download size: 595 k
Downloading Packages:
(1/2): yum-3.2.8-9.el5.ce 100% |=| 582 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/yum-3.2.8-9.el5.centos.2.1.noarch.rpm:
 
[Errno -1] Package does not match intended download


I also get similar errors for some selinux rpms.


(34/92): selinux-policy-2 100% |=| 381 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-2.4.6-137.1.el5.noarch.rpm:
 
[Errno -1] Package does not match intended download


(70/92): selinux-policy-t 100% |=| 911 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-targeted-2.4.6-137.1.el5.noarch.rpm:
 
[Errno -1] Package does not match intended download

The rpm packages are in my local repo.

Is this just a case of my local upstream mirrors being out of sync or have I 
got a bigger problem.


Thanks,

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


Re: [CentOS]thnkss: off topic question plss need ur help

2008-07-15 Thread fabian dacunha

>> on 7-14-2008 1:45 PM fabian dacunha spake the following:
>>> Dear All,
>>>
>>> I have been using centos 5.1 for quite some time as out DNS and mail
>>> server
>>> and been workin fine
>>>
>>> i use sendmail as my mail server
>>>
>>> i did setup a backup mail server as per docs and ran th dns test from
>>> http://www.checkdns.net
>>>
>>> and it says both the mail servers are fine
>>>
>>>
>>> but i would like to know the following
>>>
>>> how would i really know if my main primary server is down all my mails
>>> r
>>> goin to my secondary mail server
>>>
>>> and when my primary is up are the mails copied back to my primary
>>>
>>> i did put down my mail server for abt 3 hrs cause cant keep it down for
>>> long but did not really see anything
>>>
>>> also are there any websites that can chec both my mail servers
>>> correctly
>>>
>>>
>>> apprecite and thnaks
>>>
>>>
>>>
>>>
>> A real simple test would be to bring down the primary and send yourself
>> something from an outside address like yahoo or gmail. give it 10 or 15
>> minutes, bring the primary up and when you see the message to yourself,
>> it
>> should have a header from your backup server also.

Thanks scott
i did test my mail setup by sending 2 emails from outside address
by shutting down my primary mail server

and i could see that the mail was queued to my secondary

and after abt 20 min which is wht the queue time set by me the mail was
perfectly delivered to my inbox

apprecite n thnks

actually my queue time ealier was set to 1 hr and hence i never waitied
for 1 hr
jus w8ed for 20 min to 30 min n hence was confused

thnks once again


regards
fabian



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



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

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


[CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Sean Carolan
I would like to block all DNS queries that come from one particular ip
address.  I used TCPdump to verify that the queries were in fact,
coming from this IP:

[EMAIL PROTECTED]:~]$ sudo tcpdump -n udp port 53 and src 10.100.1.1
tcpdump: listening on eth0
11:12:17.162100 10.100.1.1.19233 > 10.100.1.61.domain:  14270+ A?
server.domain.com. (32) (DF)

Could someone help with the proper syntax for an IPtables rule to
block port 53 udp traffic from this IP?  I tried this rule but it
doesn't work:

-A RH-Firewall-1-INPUT -s 10.100.1.1 -m udp -p udp --dport 53 -j REJECT
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Robert Moskowitz

Sean Carolan wrote:

I would like to block all DNS queries that come from one particular ip
address.  I used TCPdump to verify that the queries were in fact,
coming from this IP:

[EMAIL PROTECTED]:~]$ sudo tcpdump -n udp port 53 and src 10.100.1.1
tcpdump: listening on eth0
11:12:17.162100 10.100.1.1.19233 > 10.100.1.61.domain:  14270+ A?
server.domain.com. (32) (DF)
  


Looks to me that you have a larger problem. Is this an rfc1918 address 
coming from the outside? You should be blocking ALL rfc1918 addresses 
from the Internet, as they are by definition an attack.


If this is from an internal source, go to that source and figure out 
what it is doing.


rfc1918 defines PRIVATE ipv4 addresses. These are not routed over the 
Internet. A packet with a source address in 'Net1' will never route out 
back to the sender. It is intended to attack (in some way) the destination.



Could someone help with the proper syntax for an IPtables rule to
block port 53 udp traffic from this IP?  I tried this rule but it
doesn't work:

-A RH-Firewall-1-INPUT -s 10.100.1.1 -m udp -p udp --dport 53 -j REJECT
___
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] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Sean Carolan
> Looks to me that you have a larger problem. Is this an rfc1918 address
> coming from the outside? You should be blocking ALL rfc1918 addresses from
> the Internet, as they are by definition an attack.

Hi Robert, thanks for the reply.  This is in fact what I am trying to
do.  We have a load-balancing device in front of this DNS server.  It
is configured so that all Internet traffic that comes through appears
to originate from 10.100.1.1.

> rfc1918 defines PRIVATE ipv4 addresses. These are not routed over the
> Internet. A packet with a source address in 'Net1' will never route out back
> to the sender. It is intended to attack (in some way) the destination.

Yep, these are internal DNS servers that were mis-configured by the
previous admin.  I'm trying to do some cleanup and make sure that they
are not available to the public internet.

What is confusing me is why my iptables rule is not working correctly.
 TCPdump shows that the source is correct.  Any ideas?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread nate
Sean Carolan wrote:

> What is confusing me is why my iptables rule is not working correctly.
>  TCPdump shows that the source is correct.  Any ideas?

try blocking tcp as well, most name servers listen on both tcp and
udp.

portal:~# netstat -anp | grep :53 | grep named
tcp0  0 10.10.10.1:53   0.0.0.0:*   LISTEN  
  12978/named
tcp0  0 127.0.0.1:530.0.0.0:*   LISTEN  
  12978/named
tcp0  0 216.39.174.24:530.0.0.0:*   LISTEN  
  12976/named
udp0  0 10.10.10.1:53   0.0.0.0:*   
  12978/named
udp0  0 127.0.0.1:530.0.0.0:*   
  12978/named
udp0  0 216.39.174.24:530.0.0.0:*   
  12976/named



nate

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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread MHR
On Tue, Jul 15, 2008 at 2:20 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
>
> Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
> frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
> or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.
>

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


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Sean Carolan
On Tue, Jul 15, 2008 at 11:55 AM, nate <[EMAIL PROTECTED]> wrote:
> Sean Carolan wrote:
>
>> What is confusing me is why my iptables rule is not working correctly.
>>  TCPdump shows that the source is correct.  Any ideas?
>
> try blocking tcp as well, most name servers listen on both tcp and
> udp.

I do have a rule for blocking TCP, forgot to mention that.  You can
see from my tcpdump output above that the inbound packet is UDP
though.  I wonder why iptables doesn't block it even with this rule?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Ralph Angenendt
MHR wrote:
> On Tue, Jul 15, 2008 at 2:20 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
> >
> > Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
> > frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
> > or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.
> >
> 
> Eh?

Military grade caesar cipher.

Ralph


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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Jim Perrin
On Tue, Jul 15, 2008 at 5:20 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:

> Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
> frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
> or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.

Dammit, how many times have I told you that ROT13 is *NOT* secure!

You have to double it to make it even marginally secure.

Here, let me help you out:

Just look at *how* other distributions want to have their repositories
set up and follow that. Normally mirroring a complete repository should
be enough. So you better ask that on a Ubuntu or Gentoo list


There. see how secure that is! No one will EVER suspect Ubuntu/Gentoo
help on the CentOS list.


-- 
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] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Sean Carolan
> I do have a rule for blocking TCP, forgot to mention that.  You can
> see from my tcpdump output above that the inbound packet is UDP
> though.  I wonder why iptables doesn't block it even with this rule?

The really strange part about this is, if I remove the ACCEPT rules
that are further down in my iptables config, NO dns traffic gets
through at all, due to the final REJECT rule:

ACCEPT tcp  --  anywhere anywhere   tcp
dpt:domain state NEW
ACCEPT udp  --  anywhere anywhere   udp
dpt:domain state NEW
...
...
REJECT all  --  anywhere anywhere
reject-with icmp-host-prohibited

So iptables does seem to be able to properly recognize udp port 53
traffic, it's just not filtering correctly against the source IP
address.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread kfx

Sean Carolan wrote:

I would like to block all DNS queries that come from one particular ip
address.  I used TCPdump to verify that the queries were in fact,
coming from this IP:

[EMAIL PROTECTED]:~]$ sudo tcpdump -n udp port 53 and src 10.100.1.1
tcpdump: listening on eth0
11:12:17.162100 10.100.1.1.19233 > 10.100.1.61.domain:  14270+ A?
server.domain.com. (32) (DF)

Could someone help with the proper syntax for an IPtables rule to
block port 53 udp traffic from this IP?  I tried this rule but it
doesn't work:

-A RH-Firewall-1-INPUT -s 10.100.1.1 -m udp -p udp --dport 53 -j REJECT
  

Strange...your rule seems ok to me. Try with DROP instead of REJECT ?

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


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Sean Carolan
> Strange...your rule seems ok to me. Try with DROP instead of REJECT ?

Nice!  it works  :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread MHR
On Tue, Jul 15, 2008 at 10:03 AM, Ralph Angenendt
<[EMAIL PROTECTED]> wrote:
>
> Military grade caesar cipher.
>

Oops!  I had a syntax error in my decipher command

Thanks, Jim.

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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Kenneth Burgener

On 7/15/2008 3:20 AM, Ralph Angenendt wrote:

Rudi Ahlers wrote:
Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.

Ralph



Why the need to cypher the comment?

"Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
 just look at  how  other distributions want to have their repositories

frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
set up and follow that  normally mirroring a complete repository should

or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.
be enough  so you better ask that on a ubuntu or gentoo list"

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


[CentOS] r8169-driver CentOS5.2

2008-07-15 Thread Simen Timian Thoresen

Hi all,

Another FYI-mail (and just to verify that I'm not going insane here);

I recently purchased an ASUS M3A78-EMH HDMI -board with a tri-core 
Phenom. This is a small uATX-board with all the garnish integrated 
motherboards are supposed to come with, and fairly well supported in 
CentOS 5 and other modern distros. When I installed it (~2 months ago) 
the NIC was not supported;


Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 02)


...but Realtek provided a 2.6-kernel compatible r8168-driver;
r8168-8.006.00

When the CentOS 5.2 updates were published, I saw to my happiness that 
the kernel-supplied r8169-driver now handled the NIC, and I had no 
reason to rebuild the r8168-driver to support the new kernel.


Last time I rebooted, was July 2nd, to the 2.6.19-92.1.6.el5 kernel.

Since then, the kernel supplied r8169-driver worked like a charm. The 
machine is a home file-server, serving files over NFS and SMB, and runs 
my torrent downloads. It also pulls CentOS updates. I would have noticed 
if it did not work.


Today, I got around to replacing a failed disk, and after rebooting I 
had no network connectivity. The NIC displayed 'weird' symptoms; 10Mbps 
link as shown by ethtool, 100Mbps link as shown by the link-indicator on 
the switch, ifconfig showed no TX-packets, some RX-packets, /billions/ 
of dropped packets - increasing by millions every second. The kernel log 
showed multiple 'Link down' entries.


After digging around a little, swapping switch-ports, yattayatta, I 
unloaded the r8169-module (rmmod) and built and loaded the 
Realtek-supplied r8168-module.


Link up, packtes going in and out, no dropped packets, GigE link, etc etc.

At this point I have no idea what actually happened. I'm thinking some 
weird state on the PHY of the NIC (I've seen this on the Nvidia NICs) 
that was not flushed due to a too short power-loss, or possibly that the 
r8168-driver sets some PHY-state that was not lost at the kernel-update 
that brought me the 'working' r8169-driver, or something similar.


I'm taking suggestions, tho.

Anyone else with this same board, CentOS 5.2 (x86_64) and using the 
r8169-driver?


-S


--
Simen Thoresen, Dolphin ICS
Systems Administration and Wulfkit Support
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yun Update problem

2008-07-15 Thread Kenneth Burgener

On 7/15/2008 9:57 AM, Tony Molloy wrote:
(34/92): selinux-policy-2 100% |=| 381 kB00:00 
http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-2.4.6-137.1.el5.noarch.rpm: 
[Errno -1] Package does not match intended download


The rpm packages are in my local repo.

Is this just a case of my local upstream mirrors being out of sync or have I 
got a bigger problem.



I have seen this error before.  I am not sure if the local cache is 
corrupted or my local repository is corrupted/out of sync.  To fix this 
in the past I usually do a "yum clean all" and try again.  If that 
doesn't work I delete the problem packages from my local repository, and 
do a repository sync.



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


Re: [CentOS] Bug-buddy and bug reports for GNOME 2.16...

2008-07-15 Thread Johnny Hughes

Lanny Marcus wrote:

On Mon, Jul 14, 2008 at 9:20 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:


On CentOS 5.2 (and 5.1 and 5.0, and Red Hat Enterprise Linux of the
same versions, which happen to be the most current ones available),
the bug buddy "tool" consistently refuses to report any bugs because
it claims that the version of Gnome is too old.


I've run into is, multiple times, when the Evolution Calendar (which I
never use) crashed, when I closed Evolution.



Well ... we will do whatever upstream does.

I can see why the GNOME project could care less though.

However, the fact is that bug buddy is NOT required to make bugzilla entries
for RHEL.  If you have a bug, file a bug against the component that is the
problem.  The fact that bug buddy does not file it directly to gnome is
really irrelevant as they are no longer providing any support for 2.16.x.

So, when you have a problem (ignoring bug buddy, which is to gnome and not
to RH), then just file the bug against the thing that is broken.


The next time Evolution Calendar crashes on me, I will write it up in
CentOS Bugzilla.


I am currently using thunderbird for my e-mail ... but I have setup a 
test evolution instance and it is not failing here when I exit.


But there is not a whole lot of mail there, so that might be part of it.

Lots of details will also be good if they are provided by the crash.



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


Re: [CentOS] Yun Update problem

2008-07-15 Thread Tony Molloy
On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote:
> On 7/15/2008 9:57 AM, Tony Molloy wrote:
> > (34/92): selinux-policy-2 100% |=| 381 kB   
> > 00:00
> > http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-po
> >licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> > intended download
> >
> > The rpm packages are in my local repo.
> >
> > Is this just a case of my local upstream mirrors being out of sync or
> > have I got a bigger problem.
>
> I have seen this error before.  I am not sure if the local cache is
> corrupted or my local repository is corrupted/out of sync.  To fix this
> in the past I usually do a "yum clean all" and try again.  If that
> doesn't work I delete the problem packages from my local repository, and
> do a repository sync.
>
>
> Kenneth

Thanks for the reply,

That's exactly what I did but till have the same problem. It may be that the 2 
upstream repos that I sync my local repo to are corrupted. This is the first 
time I've used the x86_64 repos. When I get a chance I'll try and use a 
different repo and see what happens.

Tony
> ___
> 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] Bug-buddy and bug reports for GNOME 2.16...

2008-07-15 Thread MHR
On Tue, Jul 15, 2008 at 10:44 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
>
> I am currently using thunderbird for my e-mail ... but I have setup a test
> evolution instance and it is not failing here when I exit.
>
> But there is not a whole lot of mail there, so that might be part of it.
>

Could be that or time up - I rarely log out, and I have evo up all the
time.  I exit all my windows before a log out, and the longer I've
been up, the more likely it seems that a crash will occur, although
that might not be directly related.  I do have a fair amount of email
there, too

> Lots of details will also be good if they are provided by the crash.
>

Yeah, if only I could get them - any idea where Evo stashes its data
when it crashes _and_ if it saves it even after a bug-buddy attempt?
When I was having problems with SeaMonkey crashes, if the report got
sent, the data disappeared  Of course, I can just tell bug-buddy
to abort when it asks what I was doing, but I still need to know where
the data lives.

Thanks.

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


[CentOS] Re: thnkss: off topic question plss need ur help

2008-07-15 Thread Scott Silva

on 7-15-2008 9:34 AM fabian dacunha spake the following:

on 7-14-2008 1:45 PM fabian dacunha spake the following:

Dear All,

I have been using centos 5.1 for quite some time as out DNS and mail
server
and been workin fine

i use sendmail as my mail server

i did setup a backup mail server as per docs and ran th dns test from
http://www.checkdns.net

and it says both the mail servers are fine


but i would like to know the following

how would i really know if my main primary server is down all my mails
r
goin to my secondary mail server

and when my primary is up are the mails copied back to my primary

i did put down my mail server for abt 3 hrs cause cant keep it down for
long but did not really see anything

also are there any websites that can chec both my mail servers
correctly


apprecite and thnaks





A real simple test would be to bring down the primary and send yourself
something from an outside address like yahoo or gmail. give it 10 or 15
minutes, bring the primary up and when you see the message to yourself,
it
should have a header from your backup server also.


Thanks scott
i did test my mail setup by sending 2 emails from outside address
by shutting down my primary mail server

and i could see that the mail was queued to my secondary

and after abt 20 min which is wht the queue time set by me the mail was
perfectly delivered to my inbox

apprecite n thnks

actually my queue time ealier was set to 1 hr and hence i never waitied
for 1 hr
jus w8ed for 20 min to 30 min n hence was confused

thnks once again


regards
fabian

Glad I could be of assistance!



--
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] r8169-driver CentOS5.2

2008-07-15 Thread Miguel Filho
On Tue, Jul 15, 2008 at 2:33 PM, Simen Timian Thoresen
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Another FYI-mail (and just to verify that I'm not going insane here);
>
> Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
> Express Gigabit Ethernet controller (rev 02)


There was recent conversation about this Realtek card last week.

http://lists.centos.org/pipermail/centos/2008-July/102988.html

This card is absolutely temperamental, IMHO.

Miguel

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


Re: [CentOS] Yun Update problem

2008-07-15 Thread Tony Molloy
On Tuesday 15 July 2008 18:47:51 Tony Molloy wrote:
> On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote:
> > On 7/15/2008 9:57 AM, Tony Molloy wrote:
> > > (34/92): selinux-policy-2 100% |=| 381 kB
> > > 00:00
> > > http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-
> > >po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> > > intended download
> > >
> > > The rpm packages are in my local repo.
> > >
> > > Is this just a case of my local upstream mirrors being out of sync or
> > > have I got a bigger problem.
> >
> > I have seen this error before.  I am not sure if the local cache is
> > corrupted or my local repository is corrupted/out of sync.  To fix this
> > in the past I usually do a "yum clean all" and try again.  If that
> > doesn't work I delete the problem packages from my local repository, and
> > do a repository sync.
> >
> >
> > Kenneth
>
> Thanks for the reply,
>
> That's exactly what I did but till have the same problem. It may be that
> the 2 upstream repos that I sync my local repo to are corrupted. This is
> the first time I've used the x86_64 repos. When I get a chance I'll try and
> use a different repo and see what happens.
>
> Tony

These are internal machines so I had to set up a proxy to get external access.

Then I removed my local repos  and used the "mirrorlist" line in the repos 
definitions and the "fastestmirror" plugin and the update went OK. So it must 
be a problem with my 2 upstream mirrors. I'll get onto the mirror masters and 
try and sort it out with them.

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


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


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread nate
Sean Carolan wrote:

> I do have a rule for blocking TCP, forgot to mention that.  You can
> see from my tcpdump output above that the inbound packet is UDP
> though.  I wonder why iptables doesn't block it even with this rule?

Try to insert the rule (-I) instead of append (-A). I recall encountering
weirdness between using the two different methods for adding a rule.
I don't know why, but it seems to make a difference in some cases.
The man page doesn't make it clear to me what the difference is and why
it (might) cause a change of behavior.

I'm not an iptables expert, for my real firewalls I use OpenBSD.

nate


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


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Sean Carolan
On Tue, Jul 15, 2008 at 1:43 PM, nate <[EMAIL PROTECTED]> wrote:
> Sean Carolan wrote:
>
>> I do have a rule for blocking TCP, forgot to mention that.  You can
>> see from my tcpdump output above that the inbound packet is UDP
>> though.  I wonder why iptables doesn't block it even with this rule?
>
> Try to insert the rule (-I) instead of append (-A). I recall encountering
> weirdness between using the two different methods for adding a rule.
> I don't know why, but it seems to make a difference in some cases.
> The man page doesn't make it clear to me what the difference is and why
> it (might) cause a change of behavior.

I might try this on a dev box, but I'm actually happy with the new
DROP rule.  It may be better just to drop the traffic and not let the
world know a DNS server even exists at this address.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] r8169-driver CentOS5.2

2008-07-15 Thread Simen Timian Thoresen

Miguel Filho wrote:

On Tue, Jul 15, 2008 at 2:33 PM, Simen Timian Thoresen
<[EMAIL PROTECTED]> wrote:

Hi all,

Another FYI-mail (and just to verify that I'm not going insane here);

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller (rev 02)



There was recent conversation about this Realtek card last week.

http://lists.centos.org/pipermail/centos/2008-July/102988.html

This card is absolutely temperamental, IMHO.


Ah! Thank you. 'temperamental' covers it nicely, thank you.

Ok, I'll put a e1000-card on my list for my next hw-upgrade.

-S


Miguel




--
Simen Thoresen, Dolphin ICS
Systems Administration and Wulfkit Support
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with mod_proxy_ajp.so

2008-07-15 Thread Sergio Belkin
Hi,

After updating httpd package it outputs an error when restarting
apache. Problem was "workarounded" commenting out line 2 of
/etc/httpd/modules/mod_proxy_ajp.so

Starting httpd: httpd: Syntax error on line 210 of
/etc/httpd/conf/httpd.conf: Syntax error on line 3 of
/etc/httpd/conf.d/proxy_ajp.conf: Cannot load
/etc/httpd/modules/mod_proxy_ajp.so into server:
/etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module.

When I issue /etc/httpd/conf.d/proxy_ajp.conf, it outputs:

httpd-2.2.3-11.el5_1.centos.3

I am using Centos 5 and and httpd-2.2.3-11.el5_1.centos.3

Could you help me to find a better solution?

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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Rudi Ahlers



  - Message from [EMAIL PROTECTED] -
    Date: Tue, 15 Jul 2008 13:10:00 -0400
    From: Jim Perrin <[EMAIL PROTECTED]>
Reply-To: CentOS mailing list 
Subject: Re: [CentOS] can I host a Ubuntu / Gentoo repository on a  
CentOS server?

      To: CentOS mailing list 

On Tue, Jul 15, 2008 at 5:20 AM, Ralph Angenendt   
<[EMAIL PROTECTED]> wrote:



Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.


Dammit, how many times have I told you that ROT13 is *NOT* secure!

You have to double it to make it even marginally secure.

Here, let me help you out:

Just look at *how* other distributions want to have their repositories
set up and follow that. Normally mirroring a complete repository should
be enough. So you better ask that on a Ubuntu or Gentoo list

There. see how secure that is! No one will EVER suspect Ubuntu/Gentoo
help on the CentOS list.




  Sure, but my main OS is CentOS, and I want to know what I need to  
change on CentOS to allow other distro's repositories on to be hosted  
on it. Do I need to do anything special?


  --

Kind Regards
Rudi Ahlers


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


[CentOS] Stopping a server not controled by service

2008-07-15 Thread Robert Moskowitz

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make a 
change to the config file.



And once I get this as I want it, how do I run it at system boot?


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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Johnny Hughes

Rudi Ahlers wrote:



  - Message from [EMAIL PROTECTED] -
Date: Tue, 15 Jul 2008 13:10:00 -0400
From: Jim Perrin <[EMAIL PROTECTED]>
Reply-To: CentOS mailing list 
Subject: Re: [CentOS] can I host a Ubuntu / Gentoo repository on a 
CentOS server?

  To: CentOS mailing list 

On Tue, Jul 15, 2008 at 5:20 AM, Ralph Angenendt  
<[EMAIL PROTECTED]> wrote:



Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.


Dammit, how many times have I told you that ROT13 is *NOT* secure!

You have to double it to make it even marginally secure.

Here, let me help you out:

Just look at *how* other distributions want to have their repositories
set up and follow that. Normally mirroring a complete repository should
be enough. So you better ask that on a Ubuntu or Gentoo list

There. see how secure that is! No one will EVER suspect Ubuntu/Gentoo
help on the CentOS list.




  Sure, but my main OS is CentOS, and I want to know what I need to 
change on CentOS to allow other distro's repositories on to be hosted on 
it. Do I need to do anything special?


That totally depends on the mirrors you are hosting, how their metadata 
is generated, etc.


But the process to mirror them should just be to rsync some files into a 
web or ftp directory




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


[CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Chris Geldenhuis

Hi All,

I have been Googling my head off but cannot find a method to stream edit 
all the images in a directory and to resize them. I have a large number 
of images of up to 3GB in size that I want to put in albums on a 
website, but before I do this I need to resize them to a more realistic 
configuration.


I know how to do this manually with the GIMP but it becomes tedious for 
more than a few images.


Running CentOS 5 as virtualised under XEN as a web server.

TIA

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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Rudi Ahlers

- Message from [EMAIL PROTECTED] -
    Date: Tue, 15 Jul 2008 14:46:00 -0500
    From: Johnny Hughes <[EMAIL PROTECTED]>
Reply-To: CentOS mailing list 
Subject: Re: [CentOS] can I host a Ubuntu / Gentoo repository on a  
CentOS server?

      To: CentOS mailing list 


Rudi Ahlers wrote:



  - Message from [EMAIL PROTECTED] -
    Date: Tue, 15 Jul 2008 13:10:00 -0400
    From: Jim Perrin <[EMAIL PROTECTED]>
Reply-To: CentOS mailing list 
Subject: Re: [CentOS] can I host a Ubuntu / Gentoo repository on a   
CentOS server?

      To: CentOS mailing list 


On Tue, Jul 15, 2008 at 5:20 AM, Ralph Angenendt   
<[EMAIL PROTECTED]> wrote:


Whfg ybbx ng *ubj* bgure qvfgevohgvbaf jnag gb unir gurve ercbfvgbevrf
frg hc naq sbyybj gung. Abeznyyl zveebevat n pbzcyrgr ercbfvgbel fubhyq
or rabhtu. Fb lbh orggre nfx gung ba n Hohagh be Tragbb yvfg.


Dammit, how many times have I told you that ROT13 is *NOT* secure!

You have to double it to make it even marginally secure.

Here, let me help you out:

Just look at *how* other distributions want to have their repositories
set up and follow that. Normally mirroring a complete repository should
be enough. So you better ask that on a Ubuntu or Gentoo list

There. see how secure that is! No one will EVER suspect Ubuntu/Gentoo
help on the CentOS list.




  Sure, but my main OS is CentOS, and I want to know what I need  
to  change on CentOS to allow other distro's repositories on to be   
hosted on it. Do I need to do anything special?


That totally depends on the mirrors you are hosting, how their metadata
is generated, etc.

But the process to mirror them should just be to rsync some files into
a web or ftp directory


- End message from [EMAIL PROTECTED] -
It's that simple, hey? Thanx :)
--

Kind Regards
Rudi Ahlers  

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


[CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Scott Silva

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make a 
change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably use an 
existing script and edit it to suit your program, or there is example in 
/usr/share/doc/initscripts-xx directory that you should be able to hack 
at. That will also help you to get lock files and pid files going for it if 
you need them.


The other choice is to add a line to /etc/rc.d/rc.local, but that won't give 
you control with the system command.


--
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] Bug-buddy and bug reports for GNOME 2.16...

2008-07-15 Thread William L. Maltby

On Tue, 2008-07-15 at 10:57 -0700, MHR wrote:
> On Tue, Jul 15, 2008 at 10:44 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> >
> > I am currently using thunderbird for my e-mail ... but I have setup a test
> > evolution instance and it is not failing here when I exit.
> >
> > But there is not a whole lot of mail there, so that might be part of it.
> >
> 
> Could be that or time up - I rarely log out, and I have evo up all the
> time.  I exit all my windows before a log out, and the longer I've
> been up, the more likely it seems that a crash will occur, although
> that might not be directly related.  I do have a fair amount of email
> there, too

JIC it useful: I've been using evo from 4.x up to now 5.2. Never had
this problem. But I did have one that might be involved. I used to get
an evo crap out that spawned a bug buddy instance. Eventually saw enough
detail to identify it as being related to spell checking. Something to
do with dictionaries. Over time, I added/upgraded dictionaries and
haven't seen the problem for a long time now.

It never crashed calendar on me - I also do not* use it.

I did have the advantage that the bug buddy did aprove of the gnome
version at the time, so I was able to see the issues when I filled out
the submission form. You don't have that advantage. The only thing I can
think of might be to see if there is anything in the /var/log/gdm/*
logs, although it would surprise me if there was something.

> 

> mhr
> 

-- 
Bill

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


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Rainer Duffner


Am 15.07.2008 um 21:47 schrieb Chris Geldenhuis:


Hi All,

I have been Googling my head off but cannot find a method to stream  
edit all the images in a directory and to resize them. I have a  
large number of images of up to 3GB in size that I want to put in  
albums on a website, but before I do this I need to resize them to a  
more realistic configuration.


I know how to do this manually with the GIMP but it becomes tedious  
for more than a few images.


Running CentOS 5 as virtualised under XEN as a web server.





Install ImageMagick and learn about the programs associated with it  
(convert(1), mogrify(1) etc).





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


Re: [CentOS] Stopping a server not controled by service

2008-07-15 Thread Alex
On Tue, 15 Jul 2008 13:33:41 -0600
Robert Moskowitz <[EMAIL PROTECTED]> took out a #2 pencil and
scribbled:

> Miredo is run as a server from the command line:
> 
> /usr/sbin/miredo
> 
> The man page says the signal SIGTERM stops the server.
> 
> How do I send SIGTERM to the server?  Or SIGHUP, as I want to
> make a change to the config file.

If you want to terminate the process you can find the PID via 'ps
aux' and issue the command 'kill -9 pidofprocess'. If you know the
name of the process you may use 'killall -9 processname'.

SIGHUP I always call 'kill -HUP pidofprocess'. Or 'killall -HUP
processname'.

SIGHUP will restart the process after it has died. Such as one does
with gdm-binary when meeting some unfortunate driver issue and you
want to restart the process rather than kill it off entirely.

> And once I get this as I want it, how do I run it at system boot?

You could put it in /etc/rc.local

Simply append '/usr/sbin/miredo to the end of /etc/rc.local

HTH

Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Stephen John Smoogen
On Tue, Jul 15, 2008 at 1:47 PM, Chris Geldenhuis
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have been Googling my head off but cannot find a method to stream edit all
> the images in a directory and to resize them. I have a large number of
> images of up to 3GB in size that I want to put in albums on a website, but
> before I do this I need to resize them to a more realistic configuration.
>
> I know how to do this manually with the GIMP but it becomes tedious for more
> than a few images.
>

imagemagick is what you want.

http://www.imagemagick.org/Usage/resize/

for i in *.. blah.

> Running CentOS 5 as virtualised under XEN as a web server.
>
> TIA
>
> ChrisG
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



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


Re: [CentOS] Stopping a server not controled by service

2008-07-15 Thread Marcelo Roccasalva
On Tue, Jul 15, 2008 at 4:33 PM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
>
> Miredo is run as a server from the command line:
>
> /usr/sbin/miredo
>
> The man page says the signal SIGTERM stops the server.
>

Supposing that miredo is a binary, you can:

killall -TERM miredo

If it's a script, I think the man page should tell you what to look for...

--
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread John R Pierce

Chris Geldenhuis wrote:

Hi All,

I have been Googling my head off but cannot find a method to stream 
edit all the images in a directory and to resize them. I have a large 
number of images of up to 3GB in size that I want to put in albums on 
a website, but before I do this I need to resize them to a more 
realistic configuration.


I know how to do this manually with the GIMP but it becomes tedious 
for more than a few images.


imagemagick can do this, its a command line batch image editor.  its a 
little tricky to figure out.   I note its in the base Centos5 repository.


docs on http://www.imagemagick.org/script/index.php
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Toby Bluhm

Chris Geldenhuis wrote:

Hi All,

I have been Googling my head off but cannot find a method to stream 
edit all the images in a directory and to resize them. I have a large 
number of images of up to 3GB in size that I want to put in albums on 
a website, but before I do this I need to resize them to a more 
realistic configuration.


I know how to do this manually with the GIMP but it becomes tedious 
for more than a few images.


Running CentOS 5 as virtualised under XEN as a web server.




Try ImageMagick - yum info ImageMagick. It has lots of slick tools for 
image manipulation.



--
Toby Bluhm
Alltech Medical Systems America, Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
440-424-2240 ext203


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


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Chris Payne
On Tue, Jul 15, 2008 at 09:47:26PM +0200, Chris Geldenhuis wrote:
> I have been Googling my head off but cannot find a method to stream edit 
> all the images in a directory and to resize them. I have a large number of 
> images of up to 3GB in size that I want to put in albums on a website, but 
> before I do this I need to resize them to a more realistic configuration.
> 
> I know how to do this manually with the GIMP but it becomes tedious for 
> more than a few images.
> 
> Running CentOS 5 as virtualised under XEN as a web server.

I wrote a shell script to do just that, attached below. It requires a couple 
of readily available command line tools from the packages:

netpbm-progs
libjpeg

And of course you can tune the scaling and quality to suit your needs.

HTH
Chris
--
Chris Payne [EMAIL PROTECTED]
TRIUMF ATLAS Tier-1 System Administrator - Networking
TRIUMF  +1 604 222 7554
4004 Wesbrook Mall, Vancouver, BC, V6T2A3, CANADA



#!/bin/sh
  for file in $* ; do
base=`basename $file`
# change depending on your camera file extension
prefix=`echo $base | sed -e "s/\.jpg//i"`
#   prefix=`echo $base | sed -e "s/\.jpeg//i"`
if [ -f $prefix.small.jpeg ] ; then
echo skippin $file
else
echo shrinkin $file 
jpegtopnm $file | pnmscale .35 | cjpeg -quality 75 > $prefix.small.jpg
   fi
   done

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


Re: [CentOS] Stopping a server not controled by service

2008-07-15 Thread William L. Maltby

On Tue, 2008-07-15 at 13:33 -0600, Robert Moskowitz wrote:
> Miredo is run as a server from the command line:
> 
> /usr/sbin/miredo
> 
> The man page says the signal SIGTERM stops the server.
> 
> How do I send SIGTERM to the server?  Or SIGHUP, as I want to make a 
> change to the config file.

kill -TERM   # or -HUP

You can also use the numeric equivalents. I forget them all but a man
kill should lead you down the primrose path to total confusion!  :-)


> 
> 
> And once I get this as I want it, how do I run it at system boot?

I would suggest a look at /etc/rc.local or /etc/rc.d/rc.local might do.
However, it runs late and so you may need to generate an init script,
stick it in /etc/rc/init.d and provide an appropriately named symlink.

If you choose this method, read up on chkconfig et al.

> 

HTH
-- 
Bill

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


[CentOS] Re: SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Scott Silva

on 7-15-2008 12:47 PM Chris Geldenhuis spake the following:

Hi All,

I have been Googling my head off but cannot find a method to stream edit 
all the images in a directory and to resize them. I have a large number 
of images of up to 3GB in size that I want to put in albums on a 
website, but before I do this I need to resize them to a more realistic 
configuration.


I know how to do this manually with the GIMP but it becomes tedious for 
more than a few images.


Running CentOS 5 as virtualised under XEN as a web server.


Have you looked at Jalbum?
http://jalbum.net/
I think it is java, and they have it for windows, linux and mac.
It can even do the thumbnails.

And please don't yell at me with your subject!  ;-P





--
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] SERIOUSLY OT STREAM EDITING IMAGES - SOLVED

2008-07-15 Thread Chris Geldenhuis

Chris Geldenhuis wrote:

Hi All,

I have been Googling my head off but cannot find a method to stream 
edit all the images in a directory and to resize them. I have a large 
number of images of up to 3GB in size that I want to put in albums on 
a website, but before I do this I need to resize them to a more 
realistic configuration.


I know how to do this manually with the GIMP but it becomes tedious 
for more than a few images.


Running CentOS 5 as virtualised under XEN as a web server.

TIA

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


OOPS - Found it using different keywords "gimp command line"

Thanks

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


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread William L. Maltby

On Tue, 2008-07-15 at 21:49 +0200, Rudi Ahlers wrote:
> - Message from [EMAIL PROTECTED] -
> 

> >
> > That totally depends on the mirrors you are hosting, how their
> metadata
> > is generated, etc.
> >
> > But the process to mirror them should just be to rsync some files
> into
> > a web or ftp directory
> 
> 
> - End message from [EMAIL PROTECTED] -
> It's that simple, hey? Thanx :)

Sometimes when you finally get to the right person you get what is known
as a "straight answer". Sometimes that is harder than solving the
problem on your own though!  :-)

> 

-- 
Bill

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


Re: [CentOS] Problem with mod_proxy_ajp.so

2008-07-15 Thread Johnny Hughes

Sergio Belkin wrote:

Hi,

After updating httpd package it outputs an error when restarting
apache. Problem was "workarounded" commenting out line 2 of
/etc/httpd/modules/mod_proxy_ajp.so

Starting httpd: httpd: Syntax error on line 210 of
/etc/httpd/conf/httpd.conf: Syntax error on line 3 of
/etc/httpd/conf.d/proxy_ajp.conf: Cannot load
/etc/httpd/modules/mod_proxy_ajp.so into server:
/etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module.



Have you built any "Non-RPM" apache modules.

Is this an i386 or x86_64 version of CentOS-5 ... and if it is x86_64, 
do you have both versions of apache installed?


I have checked both the i386 and x86_64 versions and they start by 
default with no undefined symbols.



When I issue /etc/httpd/conf.d/proxy_ajp.conf, it outputs:

httpd-2.2.3-11.el5_1.centos.3

I am using Centos 5 and and httpd-2.2.3-11.el5_1.centos.3

Could you help me to find a better solution?




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


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Chris Geldenhuis

Stephen John Smoogen wrote:

On Tue, Jul 15, 2008 at 1:47 PM, Chris Geldenhuis
<[EMAIL PROTECTED]> wrote:
  

Hi All,

I have been Googling my head off but cannot find a method to stream edit all
the images in a directory and to resize them. I have a large number of
images of up to 3GB in size that I want to put in albums on a website, but
before I do this I need to resize them to a more realistic configuration.

I know how to do this manually with the GIMP but it becomes tedious for more
than a few images.




imagemagick is what you want.

http://www.imagemagick.org/Usage/resize/

for i in *.. blah.

  

Running CentOS 5 as virtualised under XEN as a web server.

TIA

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






  

Thanks I will investigate

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


Re: [CentOS] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Max Hetrick

Chris Geldenhuis wrote:

I have been Googling my head off but cannot find a method to stream edit 
all the images in a directory and to resize them. I have a large number 
of images of up to 3GB in size that I want to put in albums on a 
website, but before I do this I need to resize them to a more realistic 
configuration.


I know how to do this manually with the GIMP but it becomes tedious for 
more than a few images.




Install ImageMagick and use convert. Something like this will get you 
started.


# cd /path/to/pics; mkdir resized
# for i in *.jpg; do convert -resize 50% $i resized/$i; done

Regards,
Max

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


Re: [CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Robert Moskowitz

Scott Silva wrote:

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make a 
change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably use 
an existing script and edit it to suit your program, or there is 
example in /usr/share/doc/initscripts-xx directory that you should 
be able to hack at. That will also help you to get lock files and pid 
files going for it if you need them.
Thanks.   Something else to learn.  I have been trying to document all 
that I have been using (skipping what I have discarded, as I don't know 
if I know it).


It has pid files:  /var/run/miredo.pid

How would I get lock files?
The other choice is to add a line to /etc/rc.d/rc.local, but that 
won't give you control with the system command.
I MUST include this in my docs.  I keep forgetting the file name.  This 
will probably be good enough, as once I get it working, it will be an 
auto start.  And less effort than the first point.







___
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


Got it - Re: [CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Robert Moskowitz

NOW I remember:  kill -s # pid

where pid is learned from /var/run/program.pid

..

Scott Silva wrote:

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make a 
change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably use 
an existing script and edit it to suit your program, or there is 
example in /usr/share/doc/initscripts-xx directory that you should 
be able to hack at. That will also help you to get lock files and pid 
files going for it if you need them.


The other choice is to add a line to /etc/rc.d/rc.local, but that 
won't give you control with the system command.




___
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] SERIOUSLY OT STREAM EDITING IMAGES

2008-07-15 Thread Tony Placilla


>>> On Tue, Jul 15, 2008 at  3:57 PM, in message <[EMAIL PROTECTED]>,
John R Pierce <[EMAIL PROTECTED]> wrote: 
> Chris Geldenhuis wrote:
>> Hi All,
>>
>> I have been Googling my head off but cannot find a method to stream 
>> edit all the images in a directory and to resize them. I have a large 
>> number of images of up to 3GB in size that I want to put in albums on 
>> a website, but before I do this I need to resize them to a more 
>> realistic configuration.
>>
>> I know how to do this manually with the GIMP but it becomes tedious 
>> for more than a few images.
> 
> imagemagick can do this, its a command line batch image editor.  its a 
> little tricky to figure out.   I note its in the base Centos5 repository.
> 
> docs on http://www.imagemagick.org/script/index.php


for example:

mogrify -size 480x320 *.jpg

will convert all the jpgs to 480x320

mogrify -size 480x320> *.jpg

will resize everything bigger than 480x320 down & leave the smaller stuff alone.


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


Re: [CentOS] Stopping a server not controled by service

2008-07-15 Thread Filipe Brandenburger
On Tue, Jul 15, 2008 at 15:54, Alex <[EMAIL PROTECTED]> wrote:
> If you want to terminate the process you can find the PID via 'ps
> aux' and issue the command 'kill -9 pidofprocess'. If you know the
> name of the process you may use 'killall -9 processname'.

Why the hell -9?

TERM is -15 and HUP is -1 (but I would stick to the names).

Using -9 is almost always the wrong answer. It's a last resort when
everything else failed, and it should be reserved for such.

One should never use this command on a day-to-day basis, much less
teach it or suggest it in a mailing list like this one.

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


[CentOS] Bonding and Xen

2008-07-15 Thread Victor Padro
Does anyone has implemented this sucessfully?

I am asking this because we are implementing Xen on our test lab machines,
which they hold up to three 3com and intel Nics 10/100mbps based.

These servers are meant to replace MS messaging and intranet webservers
which holds up to 5000 hits per day and thousands of mails, and probably the
Dom0 could not handle this kind of setup with only one 100mbps link, and
could not afford changing all the networking hardware to gigabit, at least
not yet.

Any pointers perhaps?

Greetings from Mexico.


-- 
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente
servidas"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Stopping a server not controled by service

2008-07-15 Thread Alex
On Tue, 15 Jul 2008 16:25:17 -0400
"Filipe Brandenburger" <[EMAIL PROTECTED]> took out a #2 pencil
and scribbled:

> On Tue, Jul 15, 2008 at 15:54, Alex <[EMAIL PROTECTED]>
> wrote:
> > If you want to terminate the process you can find the PID via
> > 'ps aux' and issue the command 'kill -9 pidofprocess'. If you
> > know the name of the process you may use 'killall -9
> > processname'.
> 
> Why the hell -9?
> 
> TERM is -15 and HUP is -1 (but I would stick to the names).
> 
> Using -9 is almost always the wrong answer. It's a last resort
> when everything else failed, and it should be reserved for such.
> 
> One should never use this command on a day-to-day basis, much less
> teach it or suggest it in a mailing list like this one.
> 
> Filipe

You sir, are totally correct, I was thinking kill while reading
TERM. I was going to go back and correct this, but saw it was
already stated. So, yah. Don't run around killing processes like
that.

I swear I'm not as dippy as I sound lol

Sincerely,


Alex White

-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread Robert Spangler
On Tuesday 15 July 2008 14:43, nate wrote:

>  Try to insert the rule (-I) instead of append (-A). I recall encountering
>  weirdness between using the two different methods for adding a rule.
>  I don't know why, but it seems to make a difference in some cases.
>  The man page doesn't make it clear to me what the difference is and why
>  it (might) cause a change of behavior.

(-A) Appends the new rule at the end of the chain.

(-I) will insert it at the beginning when no line number is given.

Man iptables for this information

   -A, --append chain rule-specification
 Append  one  or more rules to the end of the selected chain.
 When the source and/or destination  names resolve to more than one address, a
 rule will be added for each possible address  combination.

   -I, --insert chain [rulenum] rule-specification
 Insert one or more rules in the selected chain as the given rule number.  So,
 if the rule number is 1, the rule or rules are inserted at the head of the
 chain.  This is also the default  if  no rule number is specified.


-- 

Regards
Robert

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


Re: [CentOS] Help with iptables rule for blocking UDP port 53

2008-07-15 Thread nate
Robert Spangler wrote:

> (-A) Appends the new rule at the end of the chain.
>
> (-I) will insert it at the beginning when no line number is given.
>
> Man iptables for this information


I read the man page and it didn't make sense I guess because my
rules aren't setup the standard way, I have no idea what line number
my rules are at. My firewall scripts call iptables explicitly,
and in some cases the rules are dynamic. Just adapted the same scripts
over the years from ipfwadm to ipchains to iptables.

in any case it doesn't matter, packet filter is more friendly for me.

nate


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


Re: [CentOS] Bug-buddy and bug reports for GNOME 2.16...

2008-07-15 Thread Lanny Marcus
On Tue, Jul 15, 2008 at 12:44 PM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
.
>>Lanny:
>> I've run into is, multiple times, when the Evolution Calendar (which I
>> never use) crashed, when I closed Evolution.
>>
>> 
>> The next time Evolution Calendar crashes on me, I will write it up in
>> CentOS Bugzilla.
>
> I am currently using thunderbird for my e-mail ... but I have setup a test
> evolution instance and it is not failing here when I exit.
>
> But there is not a whole lot of mail there, so that might be part of it.
>
> Lots of details will also be good if they are provided by the crash.

Johnny: It is an intermittent thing. Strangely, it seemed to happen
more frequently, after I updated from CentOS 5.1 to 5.2, than it does
now.
Possibly one of the 15-20 updates I've gotten since then has decreased
the frequency of the crashes. The next time Evolution Calendar
crashes, I will provide as much information as I can. I never use
Evolution Calendar, but I do use Evolution for email and when I shut
Evolution down, then, sometimes, Evolution Calendar crashes.  Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Scott Silva

on 7-15-2008 1:05 PM Robert Moskowitz spake the following:

Scott Silva wrote:

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make a 
change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably use 
an existing script and edit it to suit your program, or there is 
example in /usr/share/doc/initscripts-xx directory that you should 
be able to hack at. That will also help you to get lock files and pid 
files going for it if you need them.
Thanks.   Something else to learn.  I have been trying to document all 
that I have been using (skipping what I have discarded, as I don't know 
if I know it).


It has pid files:  /var/run/miredo.pid

How would I get lock files?


You create lock files as a simple way to not run a process more than one at a 
time.
The other choice is to add a line to /etc/rc.d/rc.local, but that 
won't give you control with the system command.
I MUST include this in my docs.  I keep forgetting the file name.  This 
will probably be good enough, as once I get it working, it will be an 
auto start.  And less effort than the first point.


Yes, rc.local will be easier to get the service running, but if you are 
creating something for distribution, service miredo restart can be easier for 
a noobie then kill -HUP (what was that pid# again?)


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



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


[CentOS] Re: Bonding and Xen

2008-07-15 Thread Scott Silva

on 7-15-2008 1:34 PM Victor Padro spake the following:

Does anyone has implemented this sucessfully?

I am asking this because we are implementing Xen on our test lab 
machines, which they hold up to three 3com and intel Nics 10/100mbps based.


These servers are meant to replace MS messaging and intranet webservers 
which holds up to 5000 hits per day and thousands of mails, and probably 
the Dom0 could not handle this kind of setup with only one 100mbps link, 
and could not afford changing all the networking hardware to gigabit, at 
least not yet.


Any pointers perhaps?

Greetings from Mexico.

How fast is your incoming connection? If you have a data line from the outside 
world that can saturate a 100 Mbit network card, you can afford new cards.


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



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


[CentOS] question regarding mx servers with same priority

2008-07-15 Thread fabian dacunha

Dear ALL

I have the following setup running good for quite sometime and i wd really
apprecite if someone wd help or give some suggestions

centos 5.1
sendmail
dns server

now recently our mail usage has increased considerably and moreover Mails
have become a utmost top priority

i have 2 options now

1) have a backup server with lower higher MX

i tested this setup n had some queries earlier n thanks to guys like scott
for some prfect advise i did manage to check it out n it works beautiful

2) have another server with same value of MX so it cd load balance and
also doc says if one server is down or unavaliable the oher server would
receive mail

now my query is ... if i now configure a second mail server with same MX
priority .

a) do i have to create all the existing user accounts on my existing email
server to this new server
cause i already hav about 300+ email users already

b) incase my first email server fails are the emails on the first server lost

c) alos apprecite if someone can help me with any links or docs for the
above setup


apprecite and really thnks in advance


regards
Fabian





-- 
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] Re: Stopping a server not controled by service

2008-07-15 Thread Robert Moskowitz



Scott Silva wrote:

on 7-15-2008 1:05 PM Robert Moskowitz spake the following:

Scott Silva wrote:

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make 
a change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably 
use an existing script and edit it to suit your program, or there is 
example in /usr/share/doc/initscripts-xx directory that you 
should be able to hack at. That will also help you to get lock files 
and pid files going for it if you need them.
Thanks.   Something else to learn.  I have been trying to document 
all that I have been using (skipping what I have discarded, as I 
don't know if I know it).


It has pid files:  /var/run/miredo.pid

How would I get lock files?


You create lock files as a simple way to not run a process more than 
one at a time.


I was asking how I make/control a lock file when the rpm provides a 
binary run module and the man page does not mention a lock file.  How do 
I find out if there is a lock file?  How do I get one working?  Do I 
necessarily need one, perhaps the binary determines its running status 
before trying to start a second copy?  Actually, I think I discovered 
that miredo will not start a second copy, oops.


The other choice is to add a line to /etc/rc.d/rc.local, but that 
won't give you control with the system command.
I MUST include this in my docs.  I keep forgetting the file name.  
This will probably be good enough, as once I get it working, it will 
be an auto start.  And less effort than the first point.


Yes, rc.local will be easier to get the service running, but if you 
are creating something for distribution, service miredo restart can be 
easier for a noobie then kill -HUP (what was that pid# again?)

Miredo comes from sourceforge.  Fortunately, I do not have to create it.




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

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


Re: [CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread William L. Maltby

On Tue, 2008-07-15 at 15:36 -0600, Robert Moskowitz wrote:
> 

> >>
> >> How would I get lock files?
> >
> > You create lock files as a simple way to not run a process more than 
> > one at a time.
> 
> I was asking how I make/control a lock file when the rpm provides a 
> binary run module and the man page does not mention a lock file.  How do 
> I find out if there is a lock file?  How do I get one working?  Do I 
> necessarily need one, perhaps the binary determines its running status 
> before trying to start a second copy?  Actually, I think I discovered 
> that miredo will not start a second copy, oops.

If you still need to make a lockfile, it loocks like "man lockfile"
might be what is needed. There are other ways using standard bash
scripts (giving due consideration to possible race conditions), but
lockfile looks like it might do nicely.

> 

HTH
-- 
Bill

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


[CentOS] Test - you don't need to read it

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


Re: [CentOS] Bonding and Xen

2008-07-15 Thread Luke S Crawford
"Victor Padro" <[EMAIL PROTECTED]> writes:
> Does anyone has implemented this sucessfully?

I have not used bonding with xen, but once you have a bonded interface in the 
Dom0 it should be trivial.  setup your bonded interface as usual, then in
/etc/xend-config.sxp where it says (network-script network-bridge) 
set it to

(network-script 'network-bridge netdev=bond0')

it should just work.


> These servers are meant to replace MS messaging and intranet webservers
> which holds up to 5000 hits per day and thousands of mails, and probably the
> Dom0 could not handle this kind of setup with only one 100mbps link, and
> could not afford changing all the networking hardware to gigabit, at least
> not yet.


100Mbps is a whole lot of bandwidth for a webserver unless you are serving 
video or large file downloads or something. 100Mbps is enough to choke a
very powerful mailserver, nevermind exchange.

I suspect that if you are using windows on Xen, disk and network I/O to and
from the windows DomU will be a bigger problem than network speeds.  Are
you using the paravirtualized windows drivers?  without them, network and
disk IO is going to feel pretty slow in windows, no matter how fast the
actual network or disk is.  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question regarding mx servers with same priority

2008-07-15 Thread nate
fabian dacunha wrote:

> a) do i have to create all the existing user accounts on my existing email
> server to this new server
> cause i already hav about 300+ email users already

Depends what you want to accomplish, for the simplest of setups,
no. You can (depending on the MTA of course), simply route all mail
for a particular domain or host name to another system.

In postfix this is accomplished like this:
(snip the usual basic config)
transport_maps = hash:/etc/postfix/transport
local_recipient_maps = proxy:unix:passwd.byname, $alias_maps,
hash:/etc/postfix/local_recipient

then in /etc/postfix/local_recipient:
@mydomain.com THIS VALUE MUST BE PRESENT BUT IS IGNORED

and in /etc/postfix/transport:
mydomain.com smtp:name_of_other_smtp_server

run postmap hash:/etc/postfix/local_recipient
run postmap hash:/etc/postfix/transport
restart postfix and off you go.

If you want to reject mails for invalid users at the backup MX then
you can probably put the user names in the local_recipient file above,
create the accounts on the system, or use a distributed authentication
database like SQL, LDAP etc. My preference is the above blind forward
method, if the user is invalid then the server will reject it, I don't
care if it sits in the queue for a few days on the backup system.

> b) incase my first email server fails are the emails on the first server
> lost

Depends on what you mean by fail and depends if the mail on the first
server is stored there or if that system simply forwards on to another
host for delivery to users. If the users that read mail access it from
that system, and that system bursts into flames, and the mails happen
to sit on internal storage inside the system(as opposed to a NAS or
a SAN) then yes mail stored on that system is lost. If the system
simply crashes and needs to be rebooted then it is likely nothing
is lost.

nate

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


[CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Scott Silva

on 7-15-2008 2:36 PM Robert Moskowitz spake the following:



Scott Silva wrote:

on 7-15-2008 1:05 PM Robert Moskowitz spake the following:

Scott Silva wrote:

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to make 
a change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably 
use an existing script and edit it to suit your program, or there is 
example in /usr/share/doc/initscripts-xx directory that you 
should be able to hack at. That will also help you to get lock files 
and pid files going for it if you need them.
Thanks.   Something else to learn.  I have been trying to document 
all that I have been using (skipping what I have discarded, as I 
don't know if I know it).


It has pid files:  /var/run/miredo.pid

How would I get lock files?


You create lock files as a simple way to not run a process more than 
one at a time.


I was asking how I make/control a lock file when the rpm provides a 
binary run module and the man page does not mention a lock file.  How do 
I find out if there is a lock file?  How do I get one working?  Do I 
necessarily need one, perhaps the binary determines its running status 
before trying to start a second copy?  Actually, I think I discovered 
that miredo will not start a second copy, oops.


The other choice is to add a line to /etc/rc.d/rc.local, but that 
won't give you control with the system command.
I MUST include this in my docs.  I keep forgetting the file name.  
This will probably be good enough, as once I get it working, it will 
be an auto start.  And less effort than the first point.


Yes, rc.local will be easier to get the service running, but if you 
are creating something for distribution, service miredo restart can be 
easier for a noobie then kill -HUP (what was that pid# again?)
Miredo comes from sourceforge.  Fortunately, I do not have to create 
it.



Here is an easier option.
http://dag.wieers.com/rpm/packages/miredo/



--
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] question regarding mx servers with same priority

2008-07-15 Thread Bill Campbell
On Wed, Jul 16, 2008, fabian dacunha wrote:
>
>Dear ALL
>
>I have the following setup running good for quite sometime and i wd really
>apprecite if someone wd help or give some suggestions
>
>centos 5.1
>sendmail
>dns server
>
>now recently our mail usage has increased considerably and moreover Mails
>have become a utmost top priority
>
>i have 2 options now
>
>1) have a backup server with lower higher MX
>
>i tested this setup n had some queries earlier n thanks to guys like scott
>for some prfect advise i did manage to check it out n it works beautiful
>
>2) have another server with same value of MX so it cd load balance and
>also doc says if one server is down or unavaliable the oher server would
>receive mail
>
>now my query is ... if i now configure a second mail server with same MX
>priority .

Having multiple servers with the same MX priority works fine (I prefer to
think of this as distance as the lower ones have higher priority).  There's
no good reason to have multiple distances other than the shortest for final
delivery and one or more with higher in case the primary is not available
for some reason.

>a) do i have to create all the existing user accounts on my existing email
>server to this new server
>cause i already hav about 300+ email users already

No, the secondary MX server(s) don't need any user accounts.  Using
postfix, we do generate a virtual file for each secondary MX server
containing all the valid addresses for the domain(s) served by the primary
server, allowing the MX servers to reject invalid accounts without having
real user accounts.

There are some good arguments for having a single MX server rather than
multiple MX servers as it prevents spammers from attempting to deliver mail
through the higher distance MX servers which may well not have the same
anti-spam rules.  At one of our regional ISP customers with about 10,000 e-
mail accounts, we use a single MX server to accept incoming messages,  This
server runs postfix, amavisd-new, and clamav to pre-screen incoming
messages for worms (Windows is the Virus) and phishing messages, then it
forwards clean messages to a cluster of systems that do spamassassin
checking and message delivery to the user's Maildir message stores which
are NFS mounted on a central server.

The MX server in this case rejects about 2,000,000 messages a day using a
variety of IP filters, and delivers about 250,000 messages a day.  It has a
load average less than 1.00 except during the daily maintenance and
security audits.

It actually is the primary MX server for two distinct groups of domains,
each with a separate user base.  Each machine that is home to the user's
home directories updates its own section of the postfix virtual table,
using rsync to update the MX server whenever anything changes with the
users.  The MX server uses the postfix transport file to direct mail to the
appropriate cluster servers to deliver mail.

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

People from East Germany have found the West so confusing. It's so much
easier when you have only one party. -- Linus Torvalde, Linux Expo Canada
when asked about confusion over many Linux distributions.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Bonding and Xen

2008-07-15 Thread Victor Padro
>
>
>>  How fast is your incoming connection? If you have a data line from the
> outside world that can saturate a 100 Mbit network card, you can afford new
> cards.
>
>
We got 2 T1 and 3 ADSL 4mbps lines we're not too worry about the incoming
connections, because most of the traffic it's generated inside, we cannot
afford changing the whole network structure, that will be changing cisco
10/100mbps switches, routers, nics, wiring infrastructure(we're on Cat5),
maybe some server Nics and the boss way of seeing things (the hardest part I
think).
It WAS a really sucess that the test lab to be approved you know...  :)

We have like 200 actively users that generates mails, web based reports,
Siebel access, etc.
We have had certain bottlenecks on the mailgateways and in the sugarcrm
domU's, that's why I am trying to figure it out how to use bonding or even
using one dedicated nic for mailgateway, crm, and so on, but we're limited
to 3-4 nics per machine.

Any Idea?


-- 
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente
servidas"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Rudi Ahlers

Ralph Angenendt wrote:

Rudi Ahlers wrote:
  

Hi all

I was wondering if someone could answer this one for me. How do I host a  
different Linux OS repository(s) on my CentOS server?



Have you looked at the click-through EULA when you installed CentOS? I
think our Licensing does not allow you to do that.


Ralph
  


Please explain to me why not?

--

Kind Regards
Rudi Ahlers


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


Re: [CentOS] Bonding and Xen

2008-07-15 Thread Victor Padro
> I have not used bonding with xen, but once you have a bonded interface in
> the
> Dom0 it should be trivial.  setup your bonded interface as usual, then in
> /etc/xend-config.sxp where it says (network-script network-bridge)
> set it to
>
> (network-script 'network-bridge netdev=bond0')
>
> it should just work.
>

Somewhere I read that a while ago...will make notes about that, thank you.

100Mbps is a whole lot of bandwidth for a webserver unless you are serving
> video or large file downloads or something. 100Mbps is enough to choke a
> very powerful mailserver, nevermind exchange.
>

Webservers are used to upload video and audio conferences and even stream
them across the LAN and access SugarCRM to download/view reports, etc.
If we use only one M$ exchange server sometimes gets bottlenecked with all
those kinds of mails sent. avi's mpeg's videos, wav's, mp3's, excel and
powerpoint docs, etc.
But we have 2 backups that can handle all just fine, so we're trying to
replace them with a Xen cluster based on Centos and postfix.


> I suspect that if you are using windows on Xen, disk and network I/O to and
> from the windows DomU will be a bigger problem than network speeds.  Are
> you using the paravirtualized windows drivers?  without them, network and
> disk IO is going to feel pretty slow in windows, no matter how fast the
> actual network or disk is.
>

We're not using windows under Xen, we're trying to get rid of M$(reducing
licensing fees mostly).
We use CentOS for SugarCRM and Debian for DNS, but want to use CentOS for
everything if we could.

-- 
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente
servidas"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can I host a Ubuntu / Gentoo repository on a CentOS server?

2008-07-15 Thread Rainer Duffner


Am 16.07.2008 um 00:29 schrieb Rudi Ahlers:


Ralph Angenendt wrote:

Rudi Ahlers wrote:


Hi all

I was wondering if someone could answer this one for me. How do I  
host a  different Linux OS repository(s) on my CentOS server?




Have you looked at the click-through EULA when you installed  
CentOS? I

think our Licensing does not allow you to do that.


Ralph
  


Please explain to me why not?




http://en.wikipedia.org/wiki/Irony




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


Re: [CentOS] Re: Stopping a server not controled by service

2008-07-15 Thread Robert Moskowitz

oops

Scott Silva wrote:

on 7-15-2008 2:36 PM Robert Moskowitz spake the following:



Scott Silva wrote:

on 7-15-2008 1:05 PM Robert Moskowitz spake the following:

Scott Silva wrote:

on 7-15-2008 12:33 PM Robert Moskowitz spake the following:

Miredo is run as a server from the command line:

/usr/sbin/miredo

The man page says the signal SIGTERM stops the server.

How do I send SIGTERM to the server?  Or SIGHUP, as I want to 
make a change to the config file.



And once I get this as I want it, how do I run it at system boot?
You will have to make a sys V init script for it. You can probably 
use an existing script and edit it to suit your program, or there 
is example in /usr/share/doc/initscripts-xx directory that you 
should be able to hack at. That will also help you to get lock 
files and pid files going for it if you need them.
Thanks.   Something else to learn.  I have been trying to document 
all that I have been using (skipping what I have discarded, as I 
don't know if I know it).


It has pid files:  /var/run/miredo.pid

How would I get lock files?


You create lock files as a simple way to not run a process more than 
one at a time.


I was asking how I make/control a lock file when the rpm provides a 
binary run module and the man page does not mention a lock file.  How 
do I find out if there is a lock file?  How do I get one working?  Do 
I necessarily need one, perhaps the binary determines its running 
status before trying to start a second copy?  Actually, I think I 
discovered that miredo will not start a second copy, oops.


The other choice is to add a line to /etc/rc.d/rc.local, but that 
won't give you control with the system command.
I MUST include this in my docs.  I keep forgetting the file name.  
This will probably be good enough, as once I get it working, it 
will be an auto start.  And less effort than the first point.


Yes, rc.local will be easier to get the service running, but if you 
are creating something for distribution, service miredo restart can 
be easier for a noobie then kill -HUP (what was that pid# again?)
Miredo comes from sourceforge.  Fortunately, I do not have to create 
it.



Here is an easier option.
http://dag.wieers.com/rpm/packages/miredo/ 
I ment rpmforge which is how I access dag's stuff per the Centos wiki, 
giving me:


miredo-1.0.6-1.el5.rf.i386.rpm

So I am running it.  I am now fighting with routing.  All eth1 has is a 
Scope:Link address, yet ::/0 is has a metric of 1024 to it, while the 
Teredo route has a metric of 1029, so I am not getting to Teredo relay.  
Only can access other Teredo hosts over the Teredo interface.  Something 
is not right yet:


route -A inet6 -n

Kernel IPv6 routing table
Destination Next 
HopFlags Metric RefUse Iface
2001::/32   
::  U 25600 teredo 
fe80::/64   
::  U 25600 eth1   
fe80::/64   
::  U 25600 teredo 
::/0
fe80::a180:bc7:2364:5febUGDA  1024   126   0 eth1   
::/0
::  U 1029   00 teredo 
::1/128 
::  U 0  01 lo 
2001:0:53aa:64c:0:7741:b75b:47b9/128
::  U 0  01 lo 
fe80::::/128
::  U 0  01 lo 
fe80::21b:77ff:fe43:978/128 
::  U 0  37   1 lo 
ff02::1/128 
ff02::1 UC0  10 eth1   
ff02::2/128 
ff02::2 UC0  50 eth1   
ff02::c/128 
ff02::c UC0  29   0 eth1   
ff02::16/128
ff02::16UC0  33   0 eth1   
ff02::fb/128
ff02::fbUC0  114   0 eth1   
ff02::1:2/128   
ff02::1:2   UC0  699   0 eth1   
ff02::1:3/128   
ff02::1:3   UC0  2905   0 eth1   
ff02::1:ff03:10a7/128   
ff02::1:ff03:10a7   UC0  10 eth1   
ff02::1:ff10:497/128
ff02::1:ff10:497UC0  10 eth1   
ff02::1:ff1d:a753/128   
ff02

[CentOS] Documentation file for ifcfg options

2008-07-15 Thread Robert Moskowitz
Sometime in the past two weeks, Some kind person pointed me to a GREAT 
document file that explained all those commands you find in the ifcfg-* 
files and the network file (and others, I believe).


It was a great help to me, and now I need it again, and I did not write 
down the file location, nor can I find that original note.  My bad, I am 
busy documenting everything I can now.


But I really need that info.  Can someone point me to file again?



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


[CentOS] RADVD and default IPv6 gateway

2008-07-15 Thread Robert Moskowitz

the man page for RADVD says:

  radvd is the router advertisement daemon for IPv6. It listens to 
router
  solicitations and sends router advertisements as described in 
"Neighbor
  Discovery  for  IP Version 6 (IPv6)" (RFC 2461).  With these 
advertise-
  ments hosts can automatically configure their addresses and some  
other
  parameters. They also can choose a default router based on these 
adver-

  tisements.


But there is nothing I see in man radvd.conf that answers how hosts 
choose a default router, nor can I find anything else about this.


Anyone know the answer or where to get the information???


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


Re: [CentOS] Documentation file for ifcfg options

2008-07-15 Thread Matthew Kent
On Tue, 2008-07-15 at 17:03 -0600, Robert Moskowitz wrote:
> Sometime in the past two weeks, Some kind person pointed me to a GREAT 
> document file that explained all those commands you find in the ifcfg-* 
> files and the network file (and others, I believe).
> 
> It was a great help to me, and now I need it again, and I did not write 
> down the file location, nor can I find that original note.  My bad, I am 
> busy documenting everything I can now.
> 
> But I really need that info.  Can someone point me to file again?

Interesting timing, I was just looking at :) 

It's part of the initscripts package and on CentOS 5.2 it's in
/usr/share/doc/initscripts-8.45.19.EL/sysconfig.txt
-- 
Matthew Kent \ SA \ bravenet.com

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


[CentOS] Re: Documentation file for ifcfg options

2008-07-15 Thread Robert Nichols

Robert Moskowitz wrote:
Sometime in the past two weeks, Some kind person pointed me to a GREAT 
document file that explained all those commands you find in the ifcfg-* 
files and the network file (and others, I believe).


It was a great help to me, and now I need it again, and I did not write 
down the file location, nor can I find that original note.  My bad, I am 
busy documenting everything I can now.


But I really need that info.  Can someone point me to file again?


Running "find /usr/share/doc -type f | xargs grep -l ifcfg" turns up
a few candidates, the most likely being:

  /usr/share/doc/initscripts-*/sysconfig.txt

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


  1   2   >