Re: [CentOS] 5.0->5.1 upgrade problems

2007-12-18 Thread Andreas Kuntzagk
> > [EMAIL PROTECTED] ~]# yum update kernel
> 
> try running a yum update or a : yum update kernel e2fsprogs,
> so they both get updated in the same transaction.

Did that - to no avail. Shouldn't package dependencies take care for
them to update in the same transaction?

> > Loading "allowdowngrade" plugin
> 
> this might be whats causing the kernel package to not get updated..

Disabled all yum plugins to make sure, didn't help.

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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread John R Pierce

William L. Maltby wrote:

On Tue, 2007-12-18 at 16:12 -0800, John R Pierce wrote:
  
as I said prematurely, it appears the tracker is down, HOWEVER...  my 
uTorrent (MS Windows based) client is nicely finding 107 peers using 
distributed tracking techniques (which I don't fully understand)


I'm getting wire speeds just a few minutes after connecting.



Earlier, I tried using the rtorrent  "enable_trackers=no" setting, but
the man page says its useful for use with the scheduler. It had no
effect on my attempts.

Anybody know how I can do the equivalent "distributed" for CentOS on 4.6
or 5.1? ATM, trying what I can recognize in the rtorrent man page, I've
not seen anything that my knowledge allows me to interpret as being able
to run so far.
  



I believe azureus supports distributed tracking, as this is a java app, 
it should work on centos


otherwise, dunno what to suggest.

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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 16:12 -0800, John R Pierce wrote:
> as I said prematurely, it appears the tracker is down, HOWEVER...  my 
> uTorrent (MS Windows based) client is nicely finding 107 peers using 
> distributed tracking techniques (which I don't fully understand)
> 
> I'm getting wire speeds just a few minutes after connecting.

Earlier, I tried using the rtorrent  "enable_trackers=no" setting, but
the man page says its useful for use with the scheduler. It had no
effect on my attempts.

Anybody know how I can do the equivalent "distributed" for CentOS on 4.6
or 5.1? ATM, trying what I can recognize in the rtorrent man page, I've
not seen anything that my knowledge allows me to interpret as being able
to run so far.

> 

Off to eat, back shortly.

Thanks,
-- 
Bill


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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 16:10 -0800, John R Pierce wrote:
> William L. Maltby wrote:
> > On Tue, 2007-12-18 at 15:46 -0800, John R Pierce wrote:
> >   
> >> William L. Maltby wrote:
> >> 
> >>> I'm running a port scan right now. So far, http and rsync are the only
> >>> porst found open. The torrent file show port 6969 - but I don't know for
> >>> sure if that represents the source port or a port I'm supposed to use
> >>> because I don't have the layout of the torrent file. But I do see this
> >>> in the torrent file:
> >>>
> >>> d8:announce39:http://torrent.centos.org:6969/announce13: ...
> >>>   
> 
> ah. lets backup.
> 
> # nmap -sT -p6969 -vv torrent.centos.org
> ...
> Interesting ports on 66.147.238.146:
> PORT STATE  SERVICE
> 6969/tcp closed acmsoda
> 
> ...
> 
> appears the tracker is down.

OK. I can stop sweating that I screwed something up and will have to dig
much deeper into things with which I have only passing familiarity.

I ran your command and got the same results.

 nmap -sT -p6969 -vv torrent.centos.org

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2007-12-18 19:19
EST
Machine 66.147.238.146 MIGHT actually be listening on probe port 80
Initiating Connect() Scan against 66.147.238.146 [1 port] at 19:19
The Connect() Scan took 0.04s to scan 1 total ports.
Host 66.147.238.146 appears to be up ... good.
Interesting ports on 66.147.238.146:
PORT STATE  SERVICE
6969/tcp closed acmsoda

Nmap run completed -- 1 IP address (1 host up) scanned in 0.453 seconds

> 

Thanks again for the help. I'm gonna stash this command in my local bin
and RTFM on that. BTW, the port scan also did not show the port open.
But it sure took awhile, checking all those other ports too.

Thanks again,
-- 
Bill

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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread Kenneth Porter
--On Tuesday, December 18, 2007 3:06 PM -0800 Florin Andrei 
<[EMAIL PROTECTED]> wrote:



Is Comcast your Internet provider?


Not on the colocated host I'm connecting from. "telnet torrent.centos.org 
6969" fails as well:


Trying 66.147.238.146...
telnet: connect to address 66.147.238.146: Connection refused
telnet: Unable to connect to remote host: Connection refused

iptables is "off" (ie. empty rule lists and ACCEPT on all tables) so any 
firewalling must be outside my host.


I also get "Connection refused" from my system on Speakeasy.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread John R Pierce
as I said prematurely, it appears the tracker is down, HOWEVER...  my 
uTorrent (MS Windows based) client is nicely finding 107 peers using 
distributed tracking techniques (which I don't fully understand)


I'm getting wire speeds just a few minutes after connecting.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread John R Pierce

William L. Maltby wrote:

On Tue, 2007-12-18 at 15:46 -0800, John R Pierce wrote:
  

William L. Maltby wrote:


I'm running a port scan right now. So far, http and rsync are the only
porst found open. The torrent file show port 6969 - but I don't know for
sure if that represents the source port or a port I'm supposed to use
because I don't have the layout of the torrent file. But I do see this
in the torrent file:

d8:announce39:http://torrent.centos.org:6969/announce13: ...
  


ah. lets backup.

# nmap -sT -p6969 -vv torrent.centos.org
...
Interesting ports on 66.147.238.146:
PORT STATE  SERVICE
6969/tcp closed acmsoda

...

appears the tracker is down.


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


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Ross Cavanagh

Kai Schaetzl wrote:

Steve Thompson wrote on Tue, 18 Dec 2007 11:42:53 -0500 (EST):

  
Just remove the UUID from the config file and start the VM; no need to 
destroy it.



Well, I had to shut it down before it could use a different UUID. That's 
what I meant.

I removed the UUID from all config files now, thanks for the tip!

Kai

  
I use uuidgen to generate a random uuid, and then use this python script 
to generate a random mac address.


I think this was on a help page somewhere that I stumbled across.

#! /usr/bin/python
# macgen.py script generates a MAC address for Xen guests
#
import random
mac = [ 0x00, 0x16, 0x3e,
random.randint(0x00, 0x7f),
random.randint(0x00, 0xff),
random.randint(0x00, 0xff) ]
print ':'.join(map(lambda x: "%02x" % x, mac))

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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 15:46 -0800, John R Pierce wrote:
> William L. Maltby wrote:
> > I'm running a port scan right now. So far, http and rsync are the only
> > porst found open. The torrent file show port 6969 - but I don't know for
> > sure if that represents the source port or a port I'm supposed to use
> > because I don't have the layout of the torrent file. But I do see this
> > in the torrent file:
> >
> > d8:announce39:http://torrent.centos.org:6969/announce13: ...
> >   
> 
> your torrent client can use any port it wants to, it has to be able to 
> accept connections on that port, so whatever port you configure it for, 
> you enable in your firewall, (or port forward if you have a consumer 
> internet sharing appliance router)

I've got IPCop as my firewall/router, all default configs, no DMZ, just
internet side and private side.

I've not found a need to modify its settings in the past.

I use rtorrent and see it using ports 6490 (IIRC) and I get messages
saying I can't connect to the tracker. I don't even know if this is
important yet, but I'm assuming it provides some benefit to myself
and/or others since it seems to try to connect to it by default.

> 
> 
> the port in the torrent file is the tracker port, this is seperate.

Thanks for the start of education. If perused some of the docs at the
torrent site, but know very little as yet.

> 

Thanks again,
-- 
Bill


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


RE: [CentOS] Up2date issue today

2007-12-18 Thread Jason Pyeron



> 
> Jason Pyeron wrote:
> > If that is the case then we need to be able to pull from a 
> mirror without
> > those limits.
> 
> Without what limits?
> 
> > Cost? Schedule?
> 
> What are you talking about? 
> 


A very over worked day.

I misread bug 2549 as there were priorities on the mirror publishing. (based
on my crazy mind, and prior emails dancing in my head
http://lists.centos.org/pipermail/centos/2007-December/090345.html)

Sorry to confuse everyone.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Sr. Consultant10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 


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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread John R Pierce

William L. Maltby wrote:

I'm running a port scan right now. So far, http and rsync are the only
porst found open. The torrent file show port 6969 - but I don't know for
sure if that represents the source port or a port I'm supposed to use
because I don't have the layout of the torrent file. But I do see this
in the torrent file:

d8:announce39:http://torrent.centos.org:6969/announce13: ...
  


your torrent client can use any port it wants to, it has to be able to 
accept connections on that port, so whatever port you configure it for, 
you enable in your firewall, (or port forward if you have a consumer 
internet sharing appliance router)



the port in the torrent file is the tracker port, this is seperate.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5 x86 & Joysticks

2007-12-18 Thread Ioannis Vranos

OS: CentOS 5.1 x86.

Hi, has anyone used any joystick under CentOS 5?


Yumex shows the following joystick-related packages installed:

"freeglut 2.4.0-7.1.el5"
"joystick 1.2.15-20.2.2"
"xorg-x11-drv-joystick 1.1.0-1.1"

I am under XFCE 4.4.2 but I also have GNOME and KDE installed.

Any ideas on how to configure a joystick under this configuration?


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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 15:06 -0800, Florin Andrei wrote:
> William L. Maltby wrote:
> > Well, yesterday my 5.1 and 4.6 systems could connect to
> > 
> >   torrent.centos.org
> > 
> > OK. Today neither system can connect. I can ping, but that's all. No
> > changes were made to the firewall during this time.
> > 
> > Any tips on debugging this?
> 
> Is Comcast your Internet provider?
> 
P.S. I can also wget, which I tried after the port scan showed that was
an open port.

-- 
Bill

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


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 15:06 -0800, Florin Andrei wrote:
> William L. Maltby wrote:
> > Well, yesterday my 5.1 and 4.6 systems could connect to
> > 
> >   torrent.centos.org
> > 
> > OK. Today neither system can connect. I can ping, but that's all. No
> > changes were made to the firewall during this time.
> > 
> > Any tips on debugging this?
> 
> Is Comcast your Internet provider?
> 

No. Almost as bad? Time-Warner cable. But I suspect it's not them.
Yesterday was OK, today no. Also, for the 5.0 amd 4.5 releases, I was
able to download and share the stuff via torrent.

I guess they could have changed there blockings since then though.

I'm running a port scan right now. So far, http and rsync are the only
porst found open. The torrent file show port 6969 - but I don't know for
sure if that represents the source port or a port I'm supposed to use
because I don't have the layout of the torrent file. But I do see this
in the torrent file:

d8:announce39:http://torrent.centos.org:6969/announce13: ...

So I'm betting that's the source port.

Thanks for replying,
-- 
Bill

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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread Robert Arkiletian
On 12/18/07, Von <[EMAIL PROTECTED]> wrote:
>
> Brilliant. Thanks for the tip!

Thank Andrew Tridgell. He's the brilliant one that wrote rsync and Samba. :)

-- 
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada
Fl_TeacherTool http://www3.telus.net/public/robark/Fl_TeacherTool/
C++ GUI tutorial http://www3.telus.net/public/robark/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't connect to torrent tracker

2007-12-18 Thread Florin Andrei

William L. Maltby wrote:

Well, yesterday my 5.1 and 4.6 systems could connect to

  torrent.centos.org

OK. Today neither system can connect. I can ping, but that's all. No
changes were made to the firewall during this time.

Any tips on debugging this?


Is Comcast your Internet provider?

--
Florin Andrei

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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread Kenneth Porter
--On Tuesday, December 18, 2007 1:29 PM -0800 Robert Arkiletian 
<[EMAIL PROTECTED]> wrote:



rsync -Pv
rsync://mirrors.kernel.org/centos/5.1/isos/i386/CentOS-5.1-i386-bin-DVD.i
so .

You should get upto 50% savings. At least I did with the CD iso's in
the past. The capital P is --partial --progress.


My results:

CentOS-5.1-i386-bin-DVD.iso
 3845230592 100%4.93MB/s0:12:24 (xfer#1, to-check=0/1)

sent 487931 bytes  received 1797247739 bytes  2086750.63 bytes/sec
total size is 3845230592  speedup is 2.14



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


Re: [CentOS] 5.0->5.1 upgrade problems

2007-12-18 Thread Karanbir Singh
Andreas Kuntzagk wrote:
> [EMAIL PROTECTED] ~]# yum update kernel

try running a yum update or a : yum update kernel e2fsprogs,
so they both get updated in the same transaction.

> Loading "allowdowngrade" plugin

this might be whats causing the kernel package to not get updated..

> Loading mirror speeds from cached hostfile
> I'm a little bit confused about this error. Any hints?
> 


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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread Von


On Dec 18, 2007, at 4:29 PM, Robert Arkiletian wrote:


On 12/17/07, Von <[EMAIL PROTECTED]> wrote:


On Dec 17, 2007, at 10:05 PM, Robert Arkiletian wrote:


Also don't forget that many mirrors offer rsync. If you rename your
5.0 DVD to the 5.1 version and do an rsync it will save lots of
bandwidth.



I could be tired, but could you please elaborate how this is  
possible?


mv CentOS-5.0-i386-bin-DVD.iso CentOS-5.1-i386-bin-DVD.iso

Check out the public mirrors list. Only mirrors that offer full DVD
downloads and rsync will work. Hover your mouse over the rsync link to
see the rsync address.

For example, if I was to use the kernel.org mirror it's
rsync://mirrors.kernel.org/centos

then navigate the http or ftp directory structure to see the full path
to the iso. Then run rsync

rsync -Pv rsync://mirrors.kernel.org/centos/5.1/isos/i386/CentOS-5.1- 
i386-bin-DVD.iso

.

You should get upto 50% savings. At least I did with the CD iso's in
the past. The capital P is --partial --progress.


Brilliant. Thanks for the tip!



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


[CentOS] Checksum Error during update

2007-12-18 Thread John Hinton
I ran across this error on this mirror while doing updates. Only 
happened on this particular mirror. Others worked fine.


(2/196): system-config-printer-gui-0.6.116.10-1.2.i386.rpm 0 B 
00:00
ftp://mirror.daemonbox.net/pub/centos/4.6/os/i386/CentOS/RPMS/system-config-printer-gui-0.6.116.10-1.2.i386.rpm: 
[Errno -1] Package does not match checksum


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


Re: [CentOS] Logging into Windows 2003 Active Directory

2007-12-18 Thread [EMAIL PROTECTED]

- Original Message - 
From: "Joseph L. Casale" <[EMAIL PROTECTED]> 
To: "centos@centos.org"  
Sent: Wednesday, December 19, 2007 5:45:13 AM (GMT+1000) Australia/Brisbane 
Subject: [CentOS] Logging into Windows 2003 Active Directory 





I have been searching the net for directions on rhel and centos 5(1) to log in 
to a windows domain and have found many examples, all different and none work 
for me. 

Is there a hint to some documentation anyone here knows of that actually works? 



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


Checkout this mailing list archives, I posted a rough guide that works well. 

-- 
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] Up2date issue today

2007-12-18 Thread Ralph Angenendt
Jason Pyeron wrote:
> If that is the case then we need to be able to pull from a mirror without
> those limits.

Without what limits?

> Cost? Schedule?

What are you talking about? 

> Any other use of the email by you
> is prohibited. 

"you" being who out of several thousand list members?

Cheers,

Ralph


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


Re: [CentOS] Re: Torrent: reminder to use it folks!

2007-12-18 Thread Kenneth Porter
--On Tuesday, December 18, 2007 12:52 PM -0500 Tom Diehl 
<[EMAIL PROTECTED]> wrote:



If you are really curious about all of this magic have a look here:
http://rsync.samba.org/how-rsync-works.html


Ah, here's the critical verbiage, in the section titled "The Sender":


If a block checksum match is found it is considered a matching block and
any accumulated non-matching data will be sent to the receiver followed
by the offset and length in the receiver's file of the matching block and
the block checksum generator will be advanced to the next byte after the
matching block.

Matching blocks can be identified in this way even if the blocks are
reordered or at different offsets. This process is the very heart of the
rsync algorithm.


Because an ISO is actually an uncompressed filesystem and the files within 
it are going to be aligned on CD/DVD block boundaries, matching files from 
the 5.0 and 5.1 release will differ only in block-quantized offset, so 
there should be lots of common blocks. (This assumes that the ISO block 
size is some integral multiple of the rsync block size.)

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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread Robert Arkiletian
On 12/17/07, Von <[EMAIL PROTECTED]> wrote:
>
> On Dec 17, 2007, at 10:05 PM, Robert Arkiletian wrote:
> >
> > Also don't forget that many mirrors offer rsync. If you rename your
> > 5.0 DVD to the 5.1 version and do an rsync it will save lots of
> > bandwidth.
>
>
> I could be tired, but could you please elaborate how this is possible?

mv CentOS-5.0-i386-bin-DVD.iso CentOS-5.1-i386-bin-DVD.iso

Check out the public mirrors list. Only mirrors that offer full DVD
downloads and rsync will work. Hover your mouse over the rsync link to
see the rsync address.

For example, if I was to use the kernel.org mirror it's
rsync://mirrors.kernel.org/centos

then navigate the http or ftp directory structure to see the full path
to the iso. Then run rsync

rsync -Pv 
rsync://mirrors.kernel.org/centos/5.1/isos/i386/CentOS-5.1-i386-bin-DVD.iso
.

You should get upto 50% savings. At least I did with the CD iso's in
the past. The capital P is --partial --progress.

-- 
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada
Fl_TeacherTool http://www3.telus.net/public/robark/Fl_TeacherTool/
C++ GUI tutorial http://www3.telus.net/public/robark/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Can't connect to torrent tracker

2007-12-18 Thread William L. Maltby
Well, yesterday my 5.1 and 4.6 systems could connect to

  torrent.centos.org

OK. Today neither system can connect. I can ping, but that's all. No
changes were made to the firewall during this time.

Any tips on debugging this?

I successfully http downloaded all the ISO images from various mirrors
this morning, so I think my net and firewall are OK.

TIA
-- 
Bill

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


[CentOS] Re: Digest Subcriber needs help with SELinux file context setting

2007-12-18 Thread James B. Byrne
Filipe Brandenburger filbranden at gmail.com at Tue Dec 18 19:06:50 UTC
2007 wrote:

> Hi,
>
> I'm no SELinux expert, but I think the issue is that under SELinux's
> targeted policy, Apache will refuse to write to a directory with etc_t
> type.  It can, however, write to a directory with the httpd_log_t
> type, such as /var/log/httpd. Couldn't you just write the logs to
> /var/log/httpd instead? As these seem to be logs, writing them under
> the /var/log directory tree seems to be more appropriate.

True, very true, but these are rewrite logs and I only have the logging
turned on when I am developing and testing new rules (or debugging old
ones). So I find it convenient to have the log and the configuration file
in the same directory.

> Alternatively, you can change the type of the directory you're writing
> to by using "chcon -t httpd_log_t /etc/httpd/virtual.d", but if you
> have other files (other than these log files) on this directory you may
> have other unexpected collateral effects.

I will examine this aspect of policies further now that I have a starting
point.  I was very unclear as to what was going on here and this has
helped.

> Please note that I'm no SELinux expert though.

Never met one myself although I suppose that they exist in the wild. 
Thanks for the help.

Regards,
Jim


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


RE: [CentOS] Up2date issue today

2007-12-18 Thread Jason Pyeron


RHEL script compatibility.

No yum use here.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Sr. Consultant10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Johnny Hughes
> Sent: Tuesday, December 18, 2007 12:22
> To: CentOS mailing list
> Subject: Re: [CentOS] Up2date issue today
> 
> Jason Pyeron wrote:
> > Centos 4 i386
> > 
> > [EMAIL PROTECTED] ~]# up2date -u lynx
> > There was a fatal error communicating with the server. The 
> message was:
> > 
> > An HTTP error occurred:
> > URL: 
> http://mirror.centos.org/centos/4/extras/i386//headers/header.info
> > Status Code: 404
> > Error Message: Not Found
> 
> I have updated the extras now to have the older header info 
> for up2date
> ... HOWEVER, you are much better off using yum instead of up2date.
> 
> up2date is MUCH slower than yum (it works with individual header files
> instead of a combined metadata file) and up2date can not use plugins
> like fastestmirror or priorities.
> 
> Remember ... the part of up2date that el4 uses for RHN is 
> mcuh different
> than the part that is used for yum repos like in centos.  It is
> basically just a yum-2.0 that is built into up2date ... only it is not
> even all the yum-2.0 functionality.  The yum in centos-4 is 
> considerably
> better than up2date ... which is why the removed it from el5 :D
> 
> If you want a GUI ... yumex is in extras too.
> 
> Thanks,
> Johnny Hughes
> 
> 


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


RE: [CentOS] Up2date issue today

2007-12-18 Thread Jason Pyeron
If that is the case then we need to be able to pull from a mirror without
those limits.

Cost? Schedule?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Sr. Consultant10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bart Schaefer
> Sent: Tuesday, December 18, 2007 12:29
> To: CentOS mailing list
> Subject: Re: [CentOS] Up2date issue today
> 
> On Dec 18, 2007 9:21 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> > If you want a GUI ... yumex is in extras too.
> 
> See, however, http://bugs.centos.org/view.php?id=2549 ...
> ___
> 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] Logging into Windows 2003 Active Directory

2007-12-18 Thread John R Pierce

Joseph L. Casale wrote:


I have been searching the net for directions on rhel and centos 5(1) 
to log in to a windows domain and have found many examples, all 
different and none work for me.


Is there a hint to some documentation anyone here knows of that 
actually works?


 




thats a SAMBA issue, really, not a RHEL/CentOS issue, except in that 
RHEL/CentOS 5 has a particular version of SAMBA.   it works somewhat 
differently in each version of samba, and yes, ADS intergration is often 
a major pain. Look for directions on Samba 3.0 and Active Directory.

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


Re: [CentOS] possible bug 5.1 - possibly more of a package issue

2007-12-18 Thread Akemi Yagi
On Dec 18, 2007 10:30 AM, dnk <[EMAIL PROTECTED]> wrote:
> Hi there, not really sure if this is a bug, but more so rather a missing 
> file...
>
> I installed a fresh 5.1 copy very minimal - no desktop, etc. Now it
> came up later that I would need a desktop on this install. So I was
> going to just groupinstall in the Gnome Desktop.
>
> # yum groupinstall "GNOME Desktop Environment"
>
> Now while processing the dependencies, it fails out with a dependency
> for libgaim.so.0 (for package nautilus-sendto). So I tried...

In fact, this is a known upstream issue.  Please see:

http://bugs.centos.org/view.php?id=2483

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


Re: [CentOS] Logging into Windows 2003 Active Directory

2007-12-18 Thread Michael Semcheski
There are really two parts to what you are trying to do.

Part 1: Get the user information out of the AD LDAP schema.  As I
understand it, this requires modifying the Active Directory first.  I
haven't been able to get this to work, but don't control my active
directory either.

Part 2: Authenticate the user via Kerberos.  This is not too bad, as
long as you don't care if your desktop can't grant tickets.  Two
things you need to do:
Modify /etc/krb5.conf:
* Set the default realm to your AD Domain.
 e.g.: default_realm = MY.ACTIVEDIRECTORY.COM)
* Define as a domain_realm your default realm.
 e.g.: .my.activedirectory.com = MY.ACTIVEDIRECTORY.COM
* Define the realm.
 e.g.: MY.ACTIVEDIRECTORY.COM
{
  kdc = dc1.my.activedirectory.com
  kdc = dc2.my.activedirectory.com
  default_domain = my.activedirectory.com
  admin_server = dc1.my.activedirectory.com
}

Modify /etc/pam.d/system-auth -- not something I understand real well,
so don't treat this as definitive information.  Try:
authsufficient/lib/security/$ISA/pam_krb5.so use_first_pass

If you use that setup, and keep the username entries in /etc/passwd
consistent with the names of users in your active directory, you can
require the user to present their AD password in order to login.

On Dec 18, 2007 2:45 PM, Joseph L. Casale <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I have been searching the net for directions on rhel and centos 5(1) to log
> in to a windows domain and have found many examples, all different and none
> work for me.
>
> Is there a hint to some documentation anyone here knows of that actually
> works?
>
>
>
> Thanks!
>  jlc
> ___
> 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] Logging into Windows 2003 Active Directory

2007-12-18 Thread Craig White

On Tue, 2007-12-18 at 12:45 -0700, Joseph L. Casale wrote:
> I have been searching the net for directions on rhel and centos 5(1)
> to log in to a windows domain and have found many examples, all
> different and none work for me.
> 
> Is there a hint to some documentation anyone here knows of that
> actually works?

I would use the official samba documentation...

http://samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#ads-member

Craig

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


[CentOS] 5.0->5.1 upgrade problems

2007-12-18 Thread Andreas Kuntzagk
Hi,

I try to upgrade a 5.0 desktop to 5.1. Some packages give me errors.
Most important the kernel and e2fsprogs:

[EMAIL PROTECTED] ~]# yum update kernel
Loading "allowdowngrade" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
extras100% |=| 1.1 kB
00:00
updates   100% |=|  951 B
00:00
base  100% |=| 1.1 kB
00:00
addons100% |=|  951 B
00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.x86_64 0:2.6.18-53.1.4.el5 set to be installed
--> Running transaction check
--> Processing Conflict: kernel conflicts e2fsprogs < 1.37-4
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package e2fsprogs.x86_64 0:1.39-10.el5 set to be updated
--> Running transaction check
--> Processing Conflict: kernel conflicts e2fsprogs < 1.37-4
Error: No Package Matching kernel.x86_64

I'm a little bit confused about this error. Any hints?

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


[CentOS] Logging into Windows 2003 Active Directory

2007-12-18 Thread Joseph L. Casale
I have been searching the net for directions on rhel and centos 5(1) to log in 
to a windows domain and have found many examples, all different and none work 
for me.
Is there a hint to some documentation anyone here knows of that actually works?

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


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Kai Schaetzl
Steve Thompson wrote on Tue, 18 Dec 2007 11:42:53 -0500 (EST):

> Just remove the UUID from the config file and start the VM; no need to 
> destroy it.

Well, I had to shut it down before it could use a different UUID. That's 
what I meant.
I removed the UUID from all config files now, thanks for the tip!

Kai

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



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


Re: [CentOS] possible bug 5.1 - possibly more of a package issue

2007-12-18 Thread dnk
I had not tired installing it from the CD (yet), but the issue was
more when installing from a remote repo with the groupinstall command
(and the dependency failing). However I will try that other option you
mentioned.

regards,

dnk

On Dec 18, 2007 11:15 AM, William L. Maltby <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2007-12-18 at 10:30 -0800, dnk wrote:
> > Hi there, not really sure if this is a bug, but more so rather a missing 
> > file...
> >
> > I installed a fresh 5.1 copy very minimal - no desktop, etc. Now it
> > came up later that I would need a desktop on this install. So I was
> > going to just groupinstall in the Gnome Desktop.
> >
> > # yum groupinstall "GNOME Desktop Environment"
> >
> > Now while processing the dependencies, it fails out with a dependency
> > for libgaim.so.0 (for package nautilus-sendto). So I tried...
> >
> > # yum provides libgaim.so.0
> >
> > No results.
> >
> > Ideas?
> >
> > dnk
> > 
>
> My 5.0 DVD and 5.1 iso image show the packages gaim.i386 and gaim-
> devel.i386 provide this. They are beta-2:2.0.0* versions.
>
> command was
>
> yum --whatprovides libgaim.so.0
>
> HTH
> --
> Bill
>
> ___
> 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] possible bug 5.1 - possibly more of a package issue

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 10:30 -0800, dnk wrote:
> 
CORRECTION, not "--whatprovides". Drop the dashes.

-- 
Bill

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


Re: [CentOS] possible bug 5.1 - possibly more of a package issue

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 10:30 -0800, dnk wrote:
> Hi there, not really sure if this is a bug, but more so rather a missing 
> file...
> 
> I installed a fresh 5.1 copy very minimal - no desktop, etc. Now it
> came up later that I would need a desktop on this install. So I was
> going to just groupinstall in the Gnome Desktop.
> 
> # yum groupinstall "GNOME Desktop Environment"
> 
> Now while processing the dependencies, it fails out with a dependency
> for libgaim.so.0 (for package nautilus-sendto). So I tried...
> 
> # yum provides libgaim.so.0
> 
> No results.
> 
> Ideas?
> 
> dnk
> 

My 5.0 DVD and 5.1 iso image show the packages gaim.i386 and gaim-
devel.i386 provide this. They are beta-2:2.0.0* versions.

command was

yum --whatprovides libgaim.so.0

HTH
-- 
Bill

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


Re: [CentOS] Digest Subcriber needs help with SELinux file context setting

2007-12-18 Thread Filipe Brandenburger
Hi,

I'm no SELinux expert, but I think the issue is that under SELinux's
targeted policy, Apache will refuse to write to a directory with etc_t type.
It can, however, write to a directory with the httpd_log_t type, such as
/var/log/httpd. Couldn't you just write the logs to /var/log/httpd instead?
As these seem to be logs, writing them under the /var/log directory tree
seems to be more appropriate.

Alternatively, you can change the type of the directory you're writing to by
using "chcon -t httpd_log_t /etc/httpd/virtual.d", but if you have other
files (other than these log files) on this directory you may have other
unexpected collateral effects.

Please note that I'm no SELinux expert though.

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


[CentOS] possible bug 5.1 - possibly more of a package issue

2007-12-18 Thread dnk
Hi there, not really sure if this is a bug, but more so rather a missing file...

I installed a fresh 5.1 copy very minimal - no desktop, etc. Now it
came up later that I would need a desktop on this install. So I was
going to just groupinstall in the Gnome Desktop.

# yum groupinstall "GNOME Desktop Environment"

Now while processing the dependencies, it fails out with a dependency
for libgaim.so.0 (for package nautilus-sendto). So I tried...

# yum provides libgaim.so.0

No results.

Ideas?

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


[CentOS] Re: Torrent: reminder to use it folks!

2007-12-18 Thread Tom Diehl

On Mon, 17 Dec 2007, Kenneth Porter wrote:

On Monday, December 17, 2007 7:05 PM -0800 Robert Arkiletian 
<[EMAIL PROTECTED]> wrote:



Also don't forget that many mirrors offer rsync. If you rename your
5.0 DVD to the 5.1 version and do an rsync it will save lots of
bandwidth.


That surprises me. Won't similar RPM's in the two images likely be at 
different offsets in the iso? Can rsync deal with that? I didn't realize it 
could handle shifted differences.


Rsync has no concept of the contents of files within an iso. It only knows
about blocks of data. Rsync is real good at fixing/updating iso's. It will only
transfer the blocks of data that have changed. Typically you get a large 
bandwidth
savings when using a previous iso as a seed. Just make sure you get the name 
correct
AND you do not abort the download midstream. If you abort the download midstream
rsync will delete your seed iso and leave you with whatever it has succeeded in
downloading and running a checksum against.

If you are really curious about all of this magic have a look here:
http://rsync.samba.org/how-rsync-works.html

Most people do not realize just how cool rsync is.

Hope this helps.

Regards,

--
Tom Diehl   [EMAIL PROTECTED]   Spamtrap address [EMAIL 
PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "multi-boot" drive partitioning

2007-12-18 Thread Les Mikesell

Frank Cox wrote:



This was to be my point exactly ... what good does a machine that can
boot up into a file server with last months data or a web server with
last months data be if the current server just died?

If you have a backup system in place with the ability to push certain
directories onto this machine, then maybe.  Otherwise, this seems fairly
pointless.


All of the live data gets backed up every night to an offsite fileserver.

It will take a lot less time to copy the live data from the backup  than it
will to set up a new computer and then copy the live data from the backup.


It probably won't help in this case, but what has worked pretty well for 
me has been to use swappable drives and software raid1 on critical 
servers, and keep a spare chassis around.  If a single drive fails (the 
most likely failure), you just replace it and resync at a convenient 
time.  If a motherboard or power supply fails, you move the drives to 
the spare server and are back with a few minutes of downtime and no data 
loss.  You still need backups to cover some less likely modes of failure 
(like an admin typing 'rm -f *' in the wrong place...). This doesn't 
provide automatic failover or 100% uptime, but it avoids the complexity 
and additional failure modes that other schemes can introduce.  And a 
nice side effect is that you can do major upgrades by building your next 
version on the spare box, swap the new disks into place, change the IP 
address (you may have to clear your router's arp table here) and be 
running again in the time it takes to reboot.  Or, if you want to clone 
a server you can just pull one of the mirrored drives and resync to a 
new mate on both machines, changing the hostname and IP address on one 
of them - and both can be  running while the resync proceeds.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] Up2date issue today

2007-12-18 Thread Bart Schaefer
On Dec 18, 2007 9:21 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> If you want a GUI ... yumex is in extras too.

See, however, http://bugs.centos.org/view.php?id=2549 ...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Up2date issue today

2007-12-18 Thread Johnny Hughes
Jason Pyeron wrote:
> Centos 4 i386
> 
> [EMAIL PROTECTED] ~]# up2date -u lynx
> There was a fatal error communicating with the server. The message was:
> 
> An HTTP error occurred:
> URL: http://mirror.centos.org/centos/4/extras/i386//headers/header.info
> Status Code: 404
> Error Message: Not Found

I have updated the extras now to have the older header info for up2date
... HOWEVER, you are much better off using yum instead of up2date.

up2date is MUCH slower than yum (it works with individual header files
instead of a combined metadata file) and up2date can not use plugins
like fastestmirror or priorities.

Remember ... the part of up2date that el4 uses for RHN is mcuh different
than the part that is used for yum repos like in centos.  It is
basically just a yum-2.0 that is built into up2date ... only it is not
even all the yum-2.0 functionality.  The yum in centos-4 is considerably
better than up2date ... which is why the removed it from el5 :D

If you want a GUI ... yumex is in extras too.

Thanks,
Johnny Hughes



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


Re: [CentOS] "multi-boot" drive partitioning

2007-12-18 Thread Frank Cox
On Tue, 18 Dec 2007 08:39:42 -0600
Johnny Hughes <[EMAIL PROTECTED]> wrote:

> This was to be my point exactly ... what good does a machine that can
> boot up into a file server with last months data or a web server with
> last months data be if the current server just died?
> 
> If you have a backup system in place with the ability to push certain
> directories onto this machine, then maybe.  Otherwise, this seems fairly
> pointless.

All of the live data gets backed up every night to an offsite fileserver.

It will take a lot less time to copy the live data from the backup  than it
will to set up a new computer and then copy the live data from the backup.

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


[CentOS] CentOS 5: problem with samba as PDC

2007-12-18 Thread Alessio Cecchi

Hello all

i have successfully upgrade an old PDC samba server (debian woody) to a 
new centos 5.


Everything works fine except for one thing

1- i'm unable to add new computer to domain except with the root users. 
With others installations all users in the group "Domain Admins" was 
able, now i get tis error:


sh: /usr/sbin/useradd: Permission denied
[2007/12/18 17:33:26, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
  _samr_create_user: Running the command `/usr/sbin/useradd -g computer 
-c "Workstation (genoveffo2$)" -M -s /bin/false "genoveffo2$"' gave 126


After a new group map "Domain Admins" -> root group the error is:

useradd: unable to lock password file
[2007/12/18 17:42:49, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
  _samr_create_user: Running the command `/usr/sbin/useradd -g computer 
-c "Workstation (genoveffo2$)" -M -s /bin/false "genoveffo2$"' gave 1

useradd: unable to lock password file
[2007/12/18 17:47:10, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
  _samr_create_user: Running the command `/usr/sbin/useradd -g computer 
-c "Workstation (genoveffo2$)" -M -s /bin/false "genoveffo2$"' gave 1


The right of the users in "Domain Admins" (alessice) are not sufficient.

This is my groupmap:

[EMAIL PROTECTED] ~]# net groupmap list
System Operators (S-1-5-32-549) -> nobody
Replicators (S-1-5-32-552) -> nobody
Domain Users (S-1-5-21-2276015355-2619491448-3726653824-513) -> utenti
Guests (S-1-5-32-546) -> nobody
computer (S-1-5-21-2276015355-2619491448-3726653824-2117) -> computer
Power Users (S-1-5-32-547) -> nobody
Domain Admins (S-1-5-21-2276015355-2619491448-3726653824-512) -> root
Print Operators (S-1-5-32-550) -> nobody
Administrators (S-1-5-32-544) -> nobody
Domain Guests (S-1-5-21-2276015355-2619491448-3726653824-514) -> nobody
Contabilita (S-1-5-21-2276015355-2619491448-3726653824-2101) -> contabilita
Account Operators (S-1-5-32-548) -> nobody
Commerciale (S-1-5-21-2276015355-2619491448-3726653824-2099) -> commerciale
Backup Operators (S-1-5-32-551) -> nobody
Users (S-1-5-32-545) -> nobody

[EMAIL PROTECTED] ~]# head /etc/group
root:x:0:root,alessice
[...]

from smb.conf:

add machine script = /usr/sbin/useradd -g computer -c "Workstation (%u)" 
-M -s /bin/false "%u"


What is wrong?
Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Steve Thompson

On Tue, 18 Dec 2007, Kai Schaetzl wrote:


Steve Thompson wrote on Tue, 18 Dec 2007 10:25:30 -0500 (EST):


When I use a configuration file as a template, I always remove the uuid
line entirely and let Xen generate it.


So, I would destroy the machine, remove the UUID from  the config file and
then restart the VM and it writes a new one to it? Or does it just
generate a runtime UUID?


Just remove the UUID from the config file and start the VM; no need to 
destroy it. It just generates a runtime UUID; the config file does not get 
modified.


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


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Kai Schaetzl
Steve Thompson wrote on Tue, 18 Dec 2007 10:25:30 -0500 (EST):

> When I use a configuration file as a template, I always remove the uuid 
> line entirely and let Xen generate it.

So, I would destroy the machine, remove the UUID from  the config file and 
then restart the VM and it writes a new one to it? Or does it just 
generate a runtime UUID?

Kai

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



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


Re: [CentOS] How To increase RAMDISK in CENTOS 4

2007-12-18 Thread Ross S. W. Walker

Don't use the ram disk feature it was really intended for initrd images.

Use tmpfs instead which you can configure on the 'mount'.

-Ross


-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: centos@centos.org 
Sent: Tue Dec 18 10:30:08 2007
Subject: [CentOS] How To increase RAMDISK in CENTOS 4

Hi All, 

I am using Centos4.0 and running Squid Reverse Proxy for image caching , i have 
configured RAMDISK of 265 MB for one cache folder  in preproduction environment 
for testing now i have upgraded RAM upto 8GB, but when i change ramdisk_size 
parameter in grub.conf  and rebooted the server when i tried to format and 
mount it doesn't work. Can anyone please help me how to increase RAMDISK size 
upto 6GB.

Thanks
Abhishek








Now you can chat without downloading messenger. Click here 

  to know how.

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

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


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Alain Spineux
On Dec 18, 2007 4:25 PM, Steve Thompson <[EMAIL PROTECTED]> wrote:
> On Tue, 18 Dec 2007, Kai Schaetzl wrote:
>
> > How can I generate a new UUID? I assume there's some checksum in it, so
> > that I can't just make one up?
>
> When I use a configuration file as a template, I always remove the uuid
> line entirely and let Xen generate it. I've been doing this for a little
> over a year and have never had any problems because of it.

I do the same for the MAC addresses too.

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



-- 
Alain Spineux
aspineux gmail com
May the sources be with you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How To increase RAMDISK in CENTOS 4

2007-12-18 Thread abhishek singh
Hi All, 

I am using Centos4.0 and running Squid Reverse Proxy for image caching , i have 
configured RAMDISK of 265 MB for one cache folder  in preproduction environment 
for testing now i have upgraded RAM upto 8GB, but when i change ramdisk_size 
parameter in grub.conf  and rebooted the server when i tried to format and 
mount it doesn't work. Can anyone please help me how to increase RAMDISK size 
upto 6GB.

Thanks
Abhishek







  Chat on a cool, new interface. No download required. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Steve Thompson

On Tue, 18 Dec 2007, Kai Schaetzl wrote:


How can I generate a new UUID? I assume there's some checksum in it, so
that I can't just make one up?


When I use a configuration file as a template, I always remove the uuid 
line entirely and let Xen generate it. I've been doing this for a little 
over a year and have never had any problems because of it.


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


[CentOS] How to add Xen machine to xenstore?

2007-12-18 Thread Ross S. W. Walker

I have been looking at the docs, but can't seem to find a way to add a machine 
to the xenstore so it shows up in 'xm list' even when it is shutdown.

I can swear that there was a way to do this and the machine would appear in 
/var/lib/xen/xend-db/domains/

Was this feature removed in the upstram implementation?

-Ross

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

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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread Karanbir Singh

Kenneth Porter wrote:
--On Tuesday, December 18, 2007 12:30 AM + Karanbir Singh 
<[EMAIL PROTECTED]> wrote:



we've just had a long conversation on the list about exactly what a
centos minor release means, so keeping that in context - why exactly
would someone want to download 5.0 when 5.0 + updates is 5.1 ?


In my case the situation is reversed: Why share 5.1 when I already have 
a copy of 5.0?


because when you yum update, the delta is going to be a lot larger when 
you install machines with 5.0 - so why not install 5.1 and just get 
lesser number of updates ?


At the moment, if you install 5.0 and run a yum update, you can be 
downloading upto 1.6 GB of updates.. Not sure if you want to do that.


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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread William L. Maltby
On Tue, 2007-12-18 at 07:02 -0800, Benjamin Franz wrote:
> On Tue, 18 Dec 2007, William L. Maltby wrote:
> 
> [...]
> 
> > Both my systems are already up-to-date. I'm just getting the images for
> > backup, new installs and to share via torrent.
> >
> > I saw one poster mention rsync. I would expect the rebuilds had lots of
> > underlying lib changes along with some higher-level code. I suspect
> > rsync wouldn't match a lot.
> 
> More than you think. My local yum RPM repositories mirror rsync on 4.6 
> matched 60% of the existing stuff (exclusive of the ISOs, which I haven't 
> synced yet).  When you are talking gigabytes, that isn't anything to 
> sneeze at.
> 

That's right. I'm surprised so much matched up. I guess that I wasn't
thinking deep enough. A point release would tend to be less radically
changed than a new release.

Good to know.

Thx
-- 
Bill

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


Re: [CentOS] How to generate UUID for Xen?

2007-12-18 Thread Tim Verhoeven
On Dec 18, 2007 3:56 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
> The new virtual machine manager in Centos 5.1 displays some weird behavior
> here and I assume it's because the UUID of one running VM is the same as
> of a VM that is shut down. I used the same config file template for
> creating all my test VMs, so several have the same UUID. Didn't produce
> any problems with xm. But the new VM manager in Gnome shows active and
> inactive VMs and identifies them by UUID, which results in it trying to
> mix the status etc. of the active and of the inactive VM.
> How can I generate a new UUID? I assume there's some checksum in it, so
> that I can't just make one up?

In my experience, at least with Xen, is that you can generate the UUID
yourself. It suppose to be a unique number that identifies a VM.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Up2date issue today

2007-12-18 Thread Jason Pyeron
Centos 4 i386

[EMAIL PROTECTED] ~]# up2date -u lynx
There was a fatal error communicating with the server. The message was:

An HTTP error occurred:
URL: http://mirror.centos.org/centos/4/extras/i386//headers/header.info
Status Code: 404
Error Message: Not Found


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Sr. Consultant10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 



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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread Benjamin Franz

On Tue, 18 Dec 2007, William L. Maltby wrote:

[...]


Both my systems are already up-to-date. I'm just getting the images for
backup, new installs and to share via torrent.

I saw one poster mention rsync. I would expect the rebuilds had lots of
underlying lib changes along with some higher-level code. I suspect
rsync wouldn't match a lot.


More than you think. My local yum RPM repositories mirror rsync on 4.6 
matched 60% of the existing stuff (exclusive of the ISOs, which I haven't 
synced yet).  When you are talking gigabytes, that isn't anything to 
sneeze at.


--
Benjamin Franz

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


[CentOS] How to generate UUID for Xen?

2007-12-18 Thread Kai Schaetzl
The new virtual machine manager in Centos 5.1 displays some weird behavior 
here and I assume it's because the UUID of one running VM is the same as 
of a VM that is shut down. I used the same config file template for 
creating all my test VMs, so several have the same UUID. Didn't produce 
any problems with xm. But the new VM manager in Gnome shows active and 
inactive VMs and identifies them by UUID, which results in it trying to 
mix the status etc. of the active and of the inactive VM.
How can I generate a new UUID? I assume there's some checksum in it, so 
that I can't just make one up?

Kai

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



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


Re: [CentOS] "multi-boot" drive partitioning

2007-12-18 Thread Johnny Hughes
Kai Schaetzl wrote:
> Frank Cox wrote on Mon, 17 Dec 2007 22:55:49 -0600:
> 
>> A spare computer that can be swapped in to replace any of 4 other computers
>> without requiring a lot of setup between "the main machine died" and "the
>> spare is now online."
> 
> But what about the data? What is a "web sevrer" or a "file server" worth 
> without the current data?

This was to be my point exactly ... what good does a machine that can
boot up into a file server with last months data or a web server with
last months data be if the current server just died?

If you have a backup system in place with the ability to push certain
directories onto this machine, then maybe.  Otherwise, this seems fairly
pointless.

A live solution with Virtual Machines and something like DRBD might work
... though the machine would by fairly heavily loaded just keeping
everything updated if live for 4 other machines.

Thanks,
Johnny Hughes




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


RE: [CentOS] configure and assembler

2007-12-18 Thread Frank M. Ramaekers
Good call!   gcc-c++ wasn't installed!

Thanks,

Frank M. Ramaekers Jr.
Systems Programmer   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.Fax:   (254)741-5777
Waco, Texas  76701


 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Perrin
Sent: Monday, December 17, 2007 4:03 PM
To: CentOS mailing list
Subject: Re: [CentOS] configure and assembler

On Dec 17, 2007 4:55 PM, Frank M. Ramaekers <[EMAIL PROTECTED]>
wrote:

> gcc is installed:

Yep, but not the other bits to gcc. Do 'yum list gcc\*' to see all the
available gcc packages. It should become readily apparent which one
you need.

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

_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at [EMAIL 
PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "multi-boot" drive partitioning

2007-12-18 Thread Brent L. Bates
 One good thing about a spare UNPLUGGED machine is in case of a lightning
strike.  We had a customer site get hit by or near by lighting.  The unplugged
spare wasn't connect in any way shape or form to anything.  No power cord, no
network connections, nothing.  After the strike, they were having problems
with their industrial systems and blamed it on the computers we installed.  We
took the spare system that wasn't plugged into anything, started it up, and
things still didn't work.  This proved that our system wasn't the problem.  It
turned out to be their hardware that didn't have adequate surge protection.

-- 

  Brent L. Bates (UNIX Sys. Admin.)
  M.S. 912  Phone:(757) 865-1400, x204
  NASA Langley Research CenterFAX:(757) 865-8177
  Hampton, Virginia  23681-0001
  Email: [EMAIL PROTECTED]  http://www.vigyan.com/~blbates/

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


Re: [CentOS] "multi-boot" drive partitioning

2007-12-18 Thread William L. Maltby
On Mon, 2007-12-17 at 21:20 -0600, Frank Cox wrote:
> I want to set up a multiple "mode" computer with four separate Centos
> installations on it.  The objective here is to have a "spare computer" that I
> can boot up into any of four "modes" depending on what I'm swapping it in for 
> a
> the moment.  For example, I want to be able to boot it up as a webserver, or 
> as
> a fileserver, or as a LTSP-enabled application server.  And so on.
> 
> I have a computer here with two 300GB hard drives in it, which I plan to split
> into four 150GB partitions, one for each of my "modes".  And I want to install
> Centos separately and independently into each partition, so I can just tell
> Grub to boot up using whatever partition I choose.
> 
> What is the best way to accomplish this?  I have a bad feeling that the drive
> partitioning tool is going to complain about having multiple / partitions
> unless I take steps to avoid that.
> 

Fajar's post provides a simple way and seems to be what you're looking
for. The key is that one boot image can have different root file systems
specified using the same kernel. So, configurations can be "pre-loaded"
in each FS to look like the failed node. BTW, adding one more
configuration that has the sole purpose of acquiring and applying
changes to the other local images would be a good idea. It's only
natural that over time some configuration changes will occur and one
will forget or make an error when trying to replicate those changes to
the spare.

However, as mentioned by another poster, letting it set may lead to it
being non-operational when needed. Cmos batteries expire, things age,
dust collects, power surges get past various protections, etc.

I did something similar to this back in 199(twoish?) with a network
involved on a real UNIX 5.X system, that had NFS/RFS available, to
protect my client in case of HD failure (the most likely scenario then
IMO).

All nodes ran continuously and user databases were distributed. Each
node was sized to be able to hold both the OS and a copy of the largest
2 live data bases on any node (hoping that only one node would fail at
once, but allowing for two). A cron entry did cross-copy of any changed
components (excluding node-specific ones) during the wee hours of the
morning and a small report was generated that let us be sure the
"backups" had completed successfully. A tape backup of all that on the
least loaded node was then done in background at low priority.

It was not intended for the end-user to be able to automatically bring
the "spare" into the mix as a replacement for a failed unit, but it was
intended that I could quickly adjust it to do so. This would require
only changing shared stuff (using RFS at the time) on the replacement
and activating those shares. I think I also changed the node reference
on the "clients", IIRC. Anyway, with RFS, that was quick and easy. I
liked RFS a lot and was sorry to see it eventually go away.

Sure enough, a drive failed eventually and I came away looking like a
hero.

With todays equipment, you should be able to have the spare "sleep",
awaken, receive any changes you like, and go back to sleep. A small
report before re-sleeping will allow you to be sure that all is well
with it.

-- 
Bill

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


Re: [CentOS] Re: Home Theater Thing

2007-12-18 Thread William L. Maltby
On Mon, 2007-12-17 at 21:19 -0800, Scott Silva wrote:
> on 12/17/2007 7:09 AM [EMAIL PROTECTED] 
> spake the following:
> > What is a VCR? 
> > 
> It is a tivo with a tape drive  ;-P

Virtual Confusion Reactor!

Usually within a containment vessel constructed of locally available raw
materials, this reactor will be located somewhere near the center of the
vessel. As native fauna approach it, they begin to experience
uncertainty, apprehension and a strong fight-or-flight response.

These responses are heightened as they observe that there are more than
3 operational control buttons on it, and even worse, that the universal
controller often associated with it has a *zillion* control functions.

These phenomena are most pronounced in fauna over 40 years of age,
especially if the "User's Manual" has been perused.

The purpose of the containment vessel is to reduce the chances of being
carted off to an institution for rehabilitation by preventing the
neighbors from seeing the cursing, screaming hurling of miscellaneous
objects, falling on the floor and wailing and withdrawal into a semi-
catatonic state that often results in the "user".

The only known reliable preventative measure is for the fauna to
procreate and wait until the offspring attain an age of 3 or so. At that
time, all functional responsibility for the operation of the VCR is
assigned to said offspring and the "adult" fauna are rendered
irrelevant.

-- 
Bill

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


Re: [CentOS] Torrent: reminder to use it folks!

2007-12-18 Thread William L. Maltby
On Mon, 2007-12-17 at 20:24 -0800, John R Pierce wrote:
> [EMAIL PROTECTED] wrote:
> > Why use torrents? With torrents I get around 25Kb/sec. 

When I did 5.0 and 4.5, I got great results, but I saw lots of peers
then. This time I've seen many fewer and that is causing the abysmal
results I saw.

> >
> >   
> 
> the port your client is using for torrent should be enabled in any 
> firewalls (and if you're being NAT, it should be forwarded).   If i'm in 
> a corporate environment where this is impossible, I'll use a shell 
> server outside the company network, torrent from there, then rsync-slurp 
> it at night.

I think this is not my situation? At home, have an IPCop latest (same as
before, but latest release) and all private network. AFAIK, I don't need
to do any of that manually. No?

I saw in another post that a provider might be causing a problem. I'm on
TWC down south. Any way to test and tell?

> 
> torrents may start slow, but if its all working right, they generally 
> pick up speed pretty quickly and run at near wire speeds, especially one 
> as well seeded as this one   they transfer symetrically over the 
> sockets, sending and recieving data on all peer connections, this can 
> hammer a network connection, so most torrent clients have a feature to 
> bandwidth limit (I often choose a number around 60% of the pipe speed)

I don't throttle mine unless I'm in a big hurry (s  e  l  d  o  m
*(YAWN)*  ).

AFAICT, there just weren't many peers out there offering to participate.

> 

Both my systems are already up-to-date. I'm just getting the images for
backup, new installs and to share via torrent.

I saw one poster mention rsync. I would expect the rebuilds had lots of
underlying lib changes along with some higher-level code. I suspect
rsync wouldn't match a lot.

Anyway, doing a normal dnld ATM and will share the images ASAP.

-- 
Bill

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


Re: [CentOS] "multi-boot" drive partitioning

2007-12-18 Thread Kai Schaetzl
Frank Cox wrote on Mon, 17 Dec 2007 22:55:49 -0600:

> A spare computer that can be swapped in to replace any of 4 other computers
> without requiring a lot of setup between "the main machine died" and "the
> spare is now online."

But what about the data? What is a "web sevrer" or a "file server" worth 
without the current data?

Kai

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



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