[CentOS] openldap-server 'TLSVerifyClient demand' fails on centos 6.2?

2012-04-23 Thread Robinson Tiemuqinke
ldapsearch -x -ZZ works fine on clients, when the server side slapd.conf has 
'TLSVerifyClient' is set to 'try'. But after I changed that the 'demand' all 
clients'  ldapsearch -x -ZZ command fails immediately. I run the 'slapd -d3' 
at server side too.

It looks like maybe  'ldapsearch -x -zz' didn't send out client certificates, 
even though it should with '-ZZ' options -- from ldap.conf manual?

My client side /etc/openldap/ldap.conf is like below:

BASE dc=example,dc=com
URI ldap://ldapmaster.example.com

## working
TLS_CACERT /etc/openldap/myca.crt
TLS_CERT /etc/openldap/ldapclient01.crt
TLS_KEY /etc/openldap/ldapclient01.key


My server side setup is:

## now using my own CA
## and it works!
TLSCACertificateFile /etc/openldap/myca.crt
TLSCertificateFile /etc/openldap/ldapmaster.crt
TLSCertificateKeyFile /etc/openldap/ldapmaster.key


#TLSVerifyClient allow
TLSVerifyClient demand   ## testing client TLS keys and my own CA setup, 
'demand' failed for ldapsearch
#TLSCipherSuite HIGH:MEDIUM:LOW:+SSLv2
TLSCipherSuite HIGH:MEDIUM:+SSLv2


The logs on server is attahed below as well, Thanks.
...
connection_get(14): got connid=1000
connection_read(14): checking for input on id=1000
TLS: loaded CA certificate file /etc/openldap/myca.crt.
TLS: certificate 
[E=ad...@example.com,CN=ldapmaster.example.com,OU=techOps,O=Pegaclouds 
Inc.,L=San Mateo,ST=CA,C=US] is valid
tls_read: want=3, got=3
  :  16 03 01   ...
tls_read: want=2, got=2
  :  00 41  .A
tls_read: want=65, got=65
  :  01 00 00 3d 03 01 4f 95  c1 e0 a9 10 22 30 25 4b   ...=..O.0%K
  0010:  f8 da a5 27 64 9e 25 60  35 d0 5c 28 30 74 a8 40   ...'d.%`5.\(0t.@
...

tls_read: want=5 error=Resource temporarily unavailable
connection_get(14): got connid=1000
connection_read(14): checking for input on id=1000
tls_read: want=5, got=5
  :  16 03 01 01 0d .
tls_read: want=269, got=269
  :  0b 00 00 03 00 00 00 10  00 01 02 01 00 ac 64 b8   ..d.
  0010:  bd bf 20 46 b8 14 e7 38  9a a1 40 2c 36 3a 78 fa   .. F...8..@,6:x.
  0020:  8a 12 61 3d e3 5e bf 02  f2 f9 a1 70 4e 7f 4e 11   ..a=.^.pN.N.
  0030:  cd e6 ba 6d ee 1e 91 95  c7 9f c7 b3 e0 21 ea bb   ...m.!..
  0040:  11 78 cc 58 c1 b1 37 f4  d5 18 ff 59 ad df 48 52   .x.X..7Y..HR
  0050:  a7 cd 26 0a fe d8 09 bb  7e 70 16 d2 b7 35 de 9f   ...~p...5..
  0060:  b3 0a ee 1e aa 42 e4 20  ed 8d 2f 31 f2 5d e9 d7   .B. ../1.]..
  0070:  82 4c 78 30 48 5d 54 5c  cf c2 cc c9 33 31 50 c5   .Lx0H]T\31P.
  0080:  56 62 f8 ea dd 34 32 ff  a1 81 e3 2f f7 a4 0e 58   Vb...42/...X
  0090:  ff 84 39 0a fe 74 20 18  a6 ac 18 00 dc 8c 0e fd   ..9..t .
  00a0:  5d 2e a3 87 4e 0b e8 51  66 85 8a 60 2e b7 01 a2   ]...N..Qf..`
  00b0:  4a 5c d9 74 9b 32 04 16  57 2e f2 60 2d 45 3d 30   J\.t.2..W..`-E=0
  00c0:  e3 39 c9 a3 af 7b 86 4b  f0 f0 7e 34 f8 bf cf 4c   .9...{.K..~4...L
  00d0:  73 57 df e5 11 0a 41 de  7f 78 ed f4 cf 9b e8 10   sWA..x..
  00e0:  ce 1a b1 73 ff 76 ec ff  23 46 85 24 02 b9 aa 4b   ...s.v..#F.$...K
  00f0:  fe c9 2a c6 06 ff 54 94  25 5d cc 3d de 5b 1d 9f   ..*...T.%].=.[..
  0100:  03 a1 36 da 3b 69 95 67  21 b5 61 d7 e9    ..6.;i.g!.a..
tls_write: want=7, written=7
  :  15 03 01 00 02 02 2a   ..*
TLS: error: accept - force handshake failure: errno 11 - moznss error -12285
TLS: can't accept: TLS error -12285:Unable to find the certificate or key 
necessary for authentication..
connection_read(14): TLS accept failure error=-1 id=1000, closing
connection_close: conn=1000 sd=14
...
--Robinson






 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:20 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 

I've tried with cr kernel, not it moves much faster but still fails -- fails at 
the partition failure, this setup is S3 backed image.

root (hd0)
 Filesystem type is ext2fs, using whole disk
kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1 rd_NO_LUKS rd
_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTY
PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img

close blk: backend at /local/domain/0/backend/vbd/8/2049
close blk: backend at /local/domain/0/backend/vbd/8/2064
close blk: backend at /local/domain/0/backend/vbd/8/2080
close blk: backend at /local/domain/0/backend/vbd/8/2096
close blk: backend at
 /local/domain/0/backend/vbd/8/2112
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-131.17.1.el6.x86_64 (mockbu...@c6b5.bsys.dev.centos.org) 
(gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) ) #1 SMP Thu Oct 6 19:24:09 
BST 2011
Command line: ro root=/dev/sda1 rd_NO_LUKS rd_NO_LVM rd_NO_MD

[CentOS] Probelm solved -- Re: openldap-server 'TLSVerifyClient demand' fails on centos 6.2?

2012-04-23 Thread Robinson Tiemuqinke
Found the problem and solved. 


I accidently copied the file /etc/openldap/ldap.conf accidently to under /root 
account as .ldaprc file and immediately the problem goes away. Read manual 
again and found that the tls_cert and tls_key are USER_ONLY option!

So now the problem goes away, and sure I'lll change the TLSVerifyClient option 
back to 'try'. It is of no immediate uses if TLS client authentication is only 
user-option.

Thanks.





 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: CentOS mailing list centos@centos.org 
Sent: Monday, April 23, 2012 2:42 PM
Subject: openldap-server 'TLSVerifyClient demand' fails on centos 6.2?
 

ldapsearch -x -ZZ works fine on clients, when the server side slapd.conf has 
'TLSVerifyClient' is set to 'try'. But after I changed that the 'demand' all 
clients'  ldapsearch -x -ZZ command fails immediately. I run the 'slapd -d3' 
at server side too.

It looks like maybe  'ldapsearch -x -zz' didn't send out client certificates, 
even though it should with '-ZZ' options -- from ldap.conf manual?

My client side /etc/openldap/ldap.conf is like below:

BASE dc=example,dc=com
URI ldap://ldapmaster.example.com

## working
TLS_CACERT /etc/openldap/myca.crt
TLS_CERT /etc/openldap/ldapclient01.crt
TLS_KEY
 /etc/openldap/ldapclient01.key


My server side setup is:

## now using my own CA
## and it works!
TLSCACertificateFile /etc/openldap/myca.crt
TLSCertificateFile /etc/openldap/ldapmaster.crt
TLSCertificateKeyFile /etc/openldap/ldapmaster.key


#TLSVerifyClient allow
TLSVerifyClient demand   ## testing client TLS keys and my own CA setup, 
'demand' failed for ldapsearch
#TLSCipherSuite HIGH:MEDIUM:LOW:+SSLv2
TLSCipherSuite HIGH:MEDIUM:+SSLv2


The logs on server is attahed below as well, Thanks.
...
connection_get(14): got connid=1000
connection_read(14): checking for input on id=1000
TLS: loaded CA certificate file /etc/openldap/myca.crt.
TLS: certificate 
[E=ad...@example.com,CN=ldapmaster.example.com,OU=techOps,O=Pegaclouds 
Inc.,L=San Mateo,ST=CA,C=US] is valid
tls_read: want=3, got=3
  :  16 03 01   ...
tls_read: want=2, got=2
  :  00 41  .A
tls_read: want=65,
 got=65
  :  01 00 00 3d 03 01 4f 95  c1 e0 a9 10 22 30 25 4b   ...=..O.0%K
  0010:  f8 da a5 27 64 9e 25 60  35 d0 5c 28 30 74 a8 40   ...'d.%`5.\(0t.@
...

tls_read: want=5 error=Resource temporarily unavailable
connection_get(14): got connid=1000
connection_read(14): checking for input on id=1000
tls_read: want=5, got=5
  :  16 03 01 01 0d .
tls_read: want=269, got=269
  :  0b 00 00 03 00 00 00 10  00 01 02 01 00 ac 64 b8   ..d.
  0010:  bd bf 20 46 b8 14 e7 38  9a a1 40 2c 36 3a 78 fa   .. F...8..@,6:x.
  0020:  8a 12 61 3d e3 5e bf 02  f2 f9
 a1 70 4e 7f 4e 11   ..a=.^.pN.N.
  0030:  cd e6 ba 6d ee 1e 91 95  c7 9f c7 b3 e0 21 ea bb   ...m.!..
  0040:  11 78 cc 58 c1 b1 37 f4  d5 18 ff 59 ad df 48 52   .x.X..7Y..HR
  0050:  a7 cd 26 0a fe d8 09 bb  7e 70 16 d2 b7 35 de 9f   ...~p...5..
  0060:  b3 0a ee 1e aa 42 e4 20  ed 8d 2f 31 f2 5d e9 d7   .B. ../1.]..
  0070:  82 4c 78 30 48 5d 54 5c  cf c2 cc c9 33 31 50 c5   .Lx0H]T\31P.
  0080:  56 62 f8 ea dd 34 32 ff  a1 81 e3 2f f7 a4 0e 58   Vb...42/...X
  0090:  ff 84 39 0a fe 74 20 18  a6 ac 18 00 dc 8c 0e fd   ..9..t .
  00a0:  5d 2e a3 87 4e 0b e8 51  66 85 8a 60 2e b7 01 a2   ]...N..Qf..`
  00b0:  4a 5c d9 74 9b 32 04 16  57 2e f2 60 2d 45 3d
 30   J\.t.2..W..`-E=0
  00c0:  e3 39 c9 a3 af 7b 86 4b  f0 f0 7e 34 f8 bf cf 4c   .9...{.K..~4...L
  00d0:  73 57 df e5 11 0a 41 de  7f 78 ed f4 cf 9b e8 10   sWA..x..
  00e0:  ce 1a b1 73 ff 76 ec ff  23 46 85 24 02 b9 aa 4b   ...s.v..#F.$...K
  00f0:  fe c9 2a c6 06 ff 54 94  25 5d cc 3d de 5b 1d 9f   ..*...T.%].=.[..
  0100:  03 a1 36 da 3b 69 95 67  21 b5 61 d7 e9    ..6.;i.g!.a..
tls_write: want=7, written=7
  :  15 03 01 00 02 02 2a   ..*
TLS: error: accept - force handshake failure: errno 11 - moznss error -12285
TLS: can't accept: TLS
 error -12285:Unable to find the certificate or key necessary for 
authentication..
connection_read(14): TLS accept failure error=-1 id=1000, closing
connection_close: conn=1000 sd=14
...
--Robinson






 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:20 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 

I've tried with cr kernel, not it moves much faster but still fails -- fails at 
the partition failure, this setup is S3 backed image.

root (hd0)
 Filesystem type is ext2fs, using whole disk
kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1 rd_NO_LUKS rd
_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTY
PE=pc

[CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
 address range
PCI: Unassigned devices with 32bit resource registers may break!
PCI: Fatal: No config space access function found

Boot has failed, sleeping forever.







 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: CentOS mailing list centos@centos.org 
Sent: Tuesday, November 22, 2011 3:35 PM
Subject: [CentOS] EC2 compatible kernel for centos 6?
 
Hi all,

 I'm just scrambling to collect clues to build an Amazon AWS AMI based on 
Centos 6. the AWS PV-GRUB kernel loads my kernel but failed immediately. I'm 
using stock Centos 6 kernel 2.6.32-71.29.1.el6. and the kernel seems have xen? 
support? My questions are:

 1, Are the centos 6 stock kernels, like kernel-2.6.32-71.29.1.el6.x86_64, EC2 
compatible?

 2, If the answer to the above #1 question is NO, the are the centos plus 
kernels, like kernel-2.6.32-71.29.1.el6.centos.plus.x86_64, EC2 compatible?

 3, If the answers to both above are 'NO', then Are there any instructions to 
build a EC2 kernel based on kernel source RPMs? 


Any help are greatly appreciated.

--Tie
___
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] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
Hi Johnny,

 Thanks a lot. I'll upgrade kernel to the cr repository, and give it a try now.

--Guolin



 From: Johnny Hughes joh...@centos.org
To: centos@centos.org 
Sent: Wednesday, November 23, 2011 9:55 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
On 11/23/2011 11:40 AM, Robinson Tiemuqinke wrote:
 I tried several ways but still no help. The following are the output (stock 
 Centos 6 2.6.32-71.29.1.el6.x86_64 kernel), grub works fine and it located 
 kernel and initial ramdisk. but kernel booting faied at the very beginning...
 
 Any suggestions are more than appreciated.
 
 
 --
 
 2011-11-23T17:19:21+
 Xen Minimal OS!
   start_info: 0x189(VA)
     nr_pages: 0x1e
   shared_inf: 0xb2cea000(MA)
      pt_base: 0x1893000(VA)
 nr_pt_frames: 0x11
     mfn_list: 0x99(VA)
    mod_start: 0x0(VA)
      mod_len: 0
        flags: 0x0
     cmd_line: root=/dev/sda1 ro 4
   stack:      0x94f860-0x96f860
 MM: Init
       _text: 0x0(VA)
      _etext: 0x6000d(VA)
    _erodata: 0x78000(VA)
      _edata: 0x80b00(VA)
 stack start: 0x94f860(VA)
        _end: 0x98fe68(VA)
   start_pfn: 18a7
     max_pfn: 1e
 Mapping memory range 0x1c0 - 0x1e000
 setting 0x0-0x78000 readonly
 skipped 0x1000
 MM: Initialise page allocator for 27a(27a)-1e000(1e000)
 MM: done
 Demand map pfns at 1e0001000-21e0001000.
 Heap resides at 21e0002000-41e0002000.
 Initialising timer interface
 Initialising console ... done.
 gnttab_table mapped at 0x1e0001000.
 Initialising scheduler
 Thread Idle: pointer: 0x21e0002010, stack: 0x36f
 Initialising xenbus
 Thread xenstore: pointer: 0x21e00027c0, stack: 0x370
 Dummy main: start_info=0x96f960
 Thread main: pointer: 0x21e0002f70, stack: 0x371
 main root=/dev/sda1 ro 4 
 vbd 2049 is hd0
 *** BLKFRONT for device/vbd/2049 **
 
 
 backend at /local/domain/0/backend/vbd/162/2049
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-flush-cache.
 20971520 sectors of 512 bytes
 **
 vbd 2064 is hd1
 *** BLKFRONT for device/vbd/2064 **
 
 
 backend at /local/domain/0/backend/vbd/162/2064
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 vbd 2080 is hd2
 *** BLKFRONT for device/vbd/2080 **
 
 
 backend at /local/domain/0/backend/vbd/162/2080
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 [H[J
     GNU GRUB  version 0.97  (7864320K lower / 0K upper memory)
 
 [m[4;2H+-+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-+[m
     Use the ^ and v keys to select which entry is highlighted.
     Press enter to boot the selected OS, 'e' to edit the
     commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H 
CentOS (2.6.32-71.29.1.el6.x86_64)                                      
[5;75H[m[m[6;3H                                                                
         [6;75H[m[m[7;3H                                                       
                  [7;75H[m[m[8;3H                                              
                           [8;75H[m[m[9;3H                                     
                                   
  [9;75H[m[m[10;3H                                                             
            [10;75H[m[m[11;3H                                                  
                       [11;75H[m[m[12;3H                                       
                                  [12;75H[m[m[13;3H                            
                                             [13;75H[m[m[14;3H                 
                                                       
  [14;75H[m[m[15;3H                                                            
             [15;75H[m[m[16;3H                                                 
                        [16;75H[m[16;78H [5;75H[23;4H The highlighted entry 
will be booted automatically in 5 seconds.   [5;75H[23;4H The highlighted 
entry will be booted automatically in 4 seconds.   [5;75H[23;4H The 
highlighted entry will be booted automatically in 3 seconds.   [5;75H[23;4H 
The highlighted entry will be booted automatically in 2 seconds.   
[5;75H[23;4H The highlighted entry will be booted automatically in 1 seconds.  
 [5;75H[H[J  Booting

Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
: device/vif/0
XENBUS: Device with no driver: device/console/0
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Initalizing network drop monitor service
Freeing unused kernel memory: 1232k freed
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 1112k freed
Freeing unused kernel memory: 1796k freed
dracut: dracut-004-33.2.el6_0
dracut: rd_NO_LUKS: removing cryptoluks activation
dracut: rd_NO_LVM: removing LVM activation
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.20.6-ioctl (2011-02-02) initialised: dm-de...@redhat.com
udev: starting version 147
dracut: Starting plymouth daemon
dracut: rd_NO_DM: removing DM RAID activation
dracut: rd_NO_MD: removing MD RAID activation
xlblk_init: register_blkdev major: 202 
blkfront: xvde1: barriers disabled
blkfront: xvdf: barriers disabled
 xvdf:
 unknown partition table
blkfront: xvdg: barriers disabled
 xvdg: unknown partition table
blkfront: xvdh: barriers disabled
 xvdh: unknown partition table
blkfront: xvdi: barriers disabled
 xvdi: unknown partition table

Boot has failed, sleeping forever.






 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: Johnny Hughes joh...@centos.org 
Cc: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 10:48 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
Hi Johnny,

 Thanks a lot. I'll upgrade kernel to the cr repository, and give it a try now.

--Guolin



From: Johnny Hughes joh...@centos.org
To: centos@centos.org 
Sent: Wednesday, November 23, 2011 9:55 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

On 11/23/2011 11:40 AM, Robinson Tiemuqinke wrote:
 I tried several ways but still no help. The following are the output (stock 
 Centos 6 2.6.32-71.29.1.el6.x86_64 kernel), grub works fine and it located 
 kernel and initial ramdisk. but kernel booting faied at the very beginning...
 
 Any suggestions are more than appreciated.
 
 
 --
 
 2011-11-23T17:19:21+
 Xen Minimal OS!
   start_info: 0x189(VA)
     nr_pages: 0x1e
   shared_inf: 0xb2cea000(MA)
      pt_base: 0x1893000(VA)
 nr_pt_frames: 0x11
     mfn_list: 0x99(VA)
    mod_start: 0x0(VA)
      mod_len: 0
        flags: 0x0
     cmd_line: root=/dev/sda1 ro 4
   stack:      0x94f860-0x96f860
 MM: Init
       _text: 0x0(VA)
      _etext: 0x6000d(VA)
    _erodata: 0x78000(VA)
      _edata: 0x80b00(VA)
 stack start: 0x94f860(VA)
        _end: 0x98fe68(VA)
   start_pfn: 18a7
     max_pfn: 1e
 Mapping memory range 0x1c0 - 0x1e000
 setting 0x0-0x78000 readonly
 skipped 0x1000
 MM: Initialise page allocator for 27a(27a)-1e000(1e000)
 MM: done
 Demand map pfns at 1e0001000-21e0001000.
 Heap resides at 21e0002000-41e0002000.
 Initialising timer interface
 Initialising console ... done.
 gnttab_table mapped at 0x1e0001000.
 Initialising scheduler
 Thread Idle: pointer: 0x21e0002010, stack: 0x36f
 Initialising xenbus
 Thread xenstore: pointer: 0x21e00027c0, stack: 0x370
 Dummy main: start_info=0x96f960
 Thread main: pointer: 0x21e0002f70, stack: 0x371
 main root=/dev/sda1 ro 4 
 vbd 2049 is hd0
 *** BLKFRONT for device/vbd/2049 **
 
 
 backend at /local/domain/0/backend/vbd/162/2049
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2049/feature-flush-cache.
 20971520 sectors of 512 bytes
 **
 vbd 2064 is hd1
 *** BLKFRONT for device/vbd/2064 **
 
 
 backend at /local/domain/0/backend/vbd/162/2064
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2064/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 vbd 2080 is hd2
 *** BLKFRONT for device/vbd/2080 **
 
 
 backend at /local/domain/0/backend/vbd/162/2080
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-barrier.
 Failed to read /local/domain/0/backend/vbd/162/2080/feature-flush-cache.
 880732160 sectors of 512 bytes
 **
 [H[J
     GNU GRUB  version 0.97  (7864320K lower / 0K upper memory)
 
 [m[4;2H+-+[5;2H|[5;76H|[6;2H|[6;76H|[7;2H|[7;76H|[8;2H|[8;76H|[9;2H|[9;76H|[10;2H|[10;76H|[11;2H|[11;76H|[12;2H|[12;76H|[13;2H|[13;76H|[14;2H|[14;76H|[15;2H|[15;76H|[16;2H|[16;76H|[17;2H+-+[m
     Use the ^ and v keys to select which entry is highlighted.
     Press enter to boot the selected OS, 'e' to edit the
     commands before booting, or 'c' for a command-line.[5;78H [m[7m[5;3H 
CentOS (2.6.32-71.29.1.el6.x86_64)                                      
[5;75H[m[m[6;3H

Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
Hi Mark,

 Would you mind to elaborate your steps of fixing?

 I'm using 'yum groupinstall --installroot=/loopDevice ...' method, then 
Install(not update) the newest kernel from cr/ repository. 


Did you rebuild initial ramdisk? If so, what's your command to do that? Thanks 
a lot.

--Rob




 From: m.r...@5-cent.us m.r...@5-cent.us
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:47 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
Robinson Tiemuqinke wrote:
 I've tried with cr kernel, not it moves much faster but still fails --
 fails at the partition failure, this setup is S3 backed image.

 root (hd0)
  Filesystem type is ext2fs, using whole disk
 kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1
 rd_NO_LUKS rd
 _NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 KEYBOARDTY
 PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
 initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img
snip
  xvdf:
  unknown partition table
 blkfront: xvdg: barriers disabled
  xvdg: unknown partition table
 blkfront: xvdh: barriers disabled
  xvdh: unknown partition table
 blkfront: xvdi: barriers disabled
  xvdi: unknown partition table

 Boot has failed, sleeping forever.

FUNNY you should mention that... I literally ran into that yesterday, with
lots of screaming and yelling. This will sound scary, but isn't: try
reinstalling, but when you get to the screen that asks you what you want
to do, select the radio button for upgrade, which says it does *not*
format the partition(s). I did that - I had rsync'd / and /boot from
another server, identical, with Linux software RAID. Bad mistake - best
guess is there are some magic numbers in initrd - so I did this. It only
took a couple of minutes, and seemed to not do much more than reinstall
grub and some post-install scripts, and everything was wonderful.

         mark

___
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] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

2011-11-23 Thread Robinson Tiemuqinke
Hi Mark, John and all,


Finally got it work! hew..

The last part which  makes the difference is change the /dev/sda1 to /dev/xvde1 
in files /boot/grub/menu.lst and /etc/fstab. the file system type set to 'ext2' 
(from ext3) for /dev/xvde1 as well  -- this is a S3 backed AMI image. There is 
no need to re-create initial ramdisk if you use the newest kernel 
2.6.32-131.17.1.el6.x86_64 from cr/ depository, all xen blocknet modules seems 
already included -- please someone double check it to comfirm/deny, I'm just 
too tired now.


Thanks again for all your time and efforts and wish your all have a great long 
holiday weekend.

--Rob



 From: Robinson Tiemuqinke hahaha_...@yahoo.com
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:55 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?
 
Hi Mark,

 Would you mind to elaborate your steps of fixing?

 I'm using 'yum groupinstall --installroot=/loopDevice ...' method, then 
Install(not update) the newest kernel from cr/ repository. 


Did you rebuild initial ramdisk? If so, what's your command to do that? Thanks 
a lot.

--Rob




From: m.r...@5-cent.us m.r...@5-cent.us
To: CentOS mailing list centos@centos.org 
Sent: Wednesday, November 23, 2011 11:47 AM
Subject: Re: [CentOS] Any ideas?? -- Re: EC2 compatible kernel for centos 6?

Robinson Tiemuqinke wrote:
 I've tried with cr kernel, not it moves much faster but still fails --
 fails at the partition failure, this setup is S3 backed image.

 root (hd0)
  Filesystem type is ext2fs, using whole disk
 kernel /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64 ro root=/dev/sda1
 rd_NO_LUKS rd
 _NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
 KEYBOARDTY
 PE=pc KEYTABLE=us crashkernel=auto crashkernel=auto
 initrd /boot/initramfs-2.6.32-131.17.1.el6.x86_64.img
snip
  xvdf:
  unknown partition table
 blkfront: xvdg: barriers disabled
  xvdg: unknown partition table
 blkfront: xvdh: barriers disabled
  xvdh: unknown partition table
 blkfront: xvdi: barriers disabled
  xvdi: unknown partition table

 Boot has failed, sleeping forever.

FUNNY you should mention that... I literally ran into that yesterday, with
lots of screaming and yelling. This will sound scary, but isn't: try
reinstalling, but when you get to the screen that asks you what you want
to do, select the radio button for upgrade, which says it does *not*
format the partition(s). I did that - I had rsync'd / and /boot from
another server, identical, with Linux software RAID. Bad mistake - best
guess is there are some magic numbers in initrd - so I did this. It only
took a couple of minutes, and seemed to not do much more than reinstall
grub and some post-install scripts, and everything was wonderful.

         mark

___
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


[CentOS] EC2 compatible kernel for centos 6?

2011-11-22 Thread Robinson Tiemuqinke
Hi all,

 I'm just scrambling to collect clues to build an Amazon AWS AMI based on 
Centos 6. the AWS PV-GRUB kernel loads my kernel but failed immediately. I'm 
using stock Centos 6 kernel 2.6.32-71.29.1.el6. and the kernel seems have xen? 
support? My questions are:

 1, Are the centos 6 stock kernels, like kernel-2.6.32-71.29.1.el6.x86_64, EC2 
compatible?

 2, If the answer to the above #1 question is NO, the are the centos plus 
kernels, like kernel-2.6.32-71.29.1.el6.centos.plus.x86_64, EC2 compatible?

 3, If the answers to both above are 'NO', then Are there any instructions to 
build a EC2 kernel based on kernel source RPMs? 


Any help are greatly appreciated.

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


[CentOS] Please help: Steps to build an Centos 6 EC2 AMI with custom kernel

2011-11-15 Thread Robinson Tiemuqinke
Hi,

 Just like to ask some questions regarding creation of Amazon AWS EC2 
AMIs based on Centos 6 along with centos 6 stock kernel -- as there are no 
2.6.32 or higher version Amazon AWS kernel anymore.

 My questions are:

 1, is the normal non-virtual stock centos 6.0 kernel(s) OK for use? or a xen 
enhanced kernel -- like centos 5' kernel-xen -- needs to be installed instead?

 2, which tool is used to create initial ramdisk? mkinitrd or dracut? and are 
there any special modules have to be included explicitly?

 3, can I build EC2 image in-house and then bundleupload it to Amazon S3, or I 
have to build it at EC2, as most of the available documents did?

Please shed a light in this area if possible -- It will be more than glad if 
you have gone through all the dark forest and made an working Centos 6 EC2 AMIs 
with stock centos 6 kernel(s), and generous to share your glory with explorers 
still scrambling in the dark.

Many thanks.

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


[CentOS] Please confirm: Centos 6's Anaconda doesn't install i686 RPMs on x86_64 arch

2011-09-08 Thread Robinson Tiemuqinke
Hi all,
 
 I just like to confirm whether this is true: on x86_64 arch machines, Centos 
6's anaconda/kickstart will install only noarch and x86_64 arches RPMs, and no 
i686 arch RPMs installed by default.  This seems like exactly different from 
Centos 5   --- Centos 5 anaconda/kickstart install all i[3,5,6]86, noarch, and 
x86_64.
 
I found the above fact from several Centos 6 kickstart installations, but like 
to get an 'official' confirmation from experts here, so to avoid the big mess 
on Centos 5 where I created my own installation repositories to filter out all 
i*86 and athelon RPMs for a 'pure' x86_64(noarch) kickstart installation 
environment.
 
By the way, my Centos 6 installations show that yum with the default 
configuration will not install i686 packages on x86_64 arch as well.
 
Thanks a lot. 
 
--Guolin
 
From: Timothy Murphy gayle...@eircom.net
To: centos@centos.org
Sent: Thursday, September 8, 2011 10:03 AM
Subject: Re: [CentOS] CentOS 6: Making KDE Default

John Doe wrote:

 How can I make the default KDE?
 How can I get KDE with startx after booting to level 3?
 
 Maybe try:
 yum info switchdesk

[tim@grover ~]$ yum info switchdesk
...
Error: No matching Packages to list

[tim@grover ~]$ cat /etc/redhat-release 
CentOS Linux release 6.0 (Final)

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

___
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] Inquery: popular upload tools for customer codes in use

2010-03-01 Thread Robinson Tiemuqinke
Hi all,

 I've had a project to upload customer codes and some data to members inside 
a webfarm, the upload work will be done almost daily for quite a while. 
Customer needs the upload status be confirmed everytime and data will be 
verified later easily when in need.

 Is there one or more popular tools available for this purposes? open source is 
preferred, but commercial ones are fine too as long as price is aceeptable.

 Thanks.

--Robinson


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


Re: [CentOS] Inquery: popular upload tools for customer codes in use

2010-03-01 Thread Robinson Tiemuqinke
On Monday, March 01, 2010 1:14 PMLes Mikesell Wrote
 Hi all,
 I've had a project to upload customer codes and some data to members 
 inside a webfarm, the upload work will be done almost daily for quite 
 a while. Customer needs the upload status be confirmed everytime and 
 data will be verified later easily when in need.
 Is there one or more popular tools available for this purposes? open 
 source is preferred, but commercial ones are fine too as long as price
 
Rsync over ssh is about as good as it gets for remotely updating files. 
  If they can assemble a tree that matches the directory structure, 'rsync 
-av' will show a list of files that are different (and thus
updated) and you can repeat it if you want - no output means the remote side 
is identical.
 
Rsync over ssh doesn’t works but a little cumbersome – customer’s servers’ data 
center are far away from development site and link between is slow. So better 
one to data center’s one and from the latter to all others in data center. This 
will work better but still could be improved. Since customer has some scripts 
to be reloaded after codes/data are synced.
 
You'd probably really want to wrap this with a version control system like 
subversion to get history, logging, rollback capability, etc. so 
 
Is there already an existing solution like this available, open source and 
commercial?
 
Thanks.
 
--Robinson


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


[CentOS] RPM python subroutine for (epoch, version, release) comparation?

2009-06-25 Thread Robinson Tiemuqinke
Hi, all,
 
 On Centos 5 I am programming RPM with python recently.  When I read the online 
RPM python programming guide at 
http://docs.fedoraproject.org/drafts/rpm-guide-en/ch16s05.html, I got confused 
at the EVR() function as the function returns the (epoch, version, release) as 
a string “%epoch-%version-%release”, and so the RPM  comparing process is 
simplified as string comparing – which doesn’t look correct, am I wrong? See 
the code from the page:
 
--
file_h = ts.hdrFromFdno(fd) 
file_ds = file_h.dsOfHeader() 
inst_ds = inst_h.dsOfHeader() 
if file_ds.EVR() = inst_ds.EVR(): 
print Package file is same or newer, OK to upgrade. 
else: 
print Package file is older than installed version.
--
 
I’ve see another function in rpm object: rpm.versionCompare(h1,h2) which 
compare two rpm headers, Am I supposed to use this function or the EVR as 
documented? The former one is not well documented, though.
 
Thanks.
 
-- Robinson


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


Re: [CentOS] text processing problem with bash/perl

2009-02-13 Thread Robinson Tiemuqinke
Dave,

 Thanks a lot.

--Robinson


--- On Fri, 2/13/09, Dave Cross dav...@gmail.com wrote:

 From: Dave Cross dav...@gmail.com
 Subject: Re: [CentOS] text processing problem with bash/perl
 To: CentOS mailing list centos@centos.org
 Date: Friday, February 13, 2009, 5:50 AM
 2009/2/13 Robinson Tiemuqinke hahaha_...@yahoo.com:
  Hi,
 
  Anyone has some ways for the following text processing
 problem? I have a text file
  containing two stanzas attached below. I want to
 uncomment the stanza with
  'host=localhost' line, while left the other
 stanza unchanged.
 
  ...
 
  /* udp_send_channel {
   host=localhost
   port = 10017
   ttl = 1
  } */
 
  /* udp_send_channel {
   host=ganglia100.ec2.example.com
   port = 10017
   ttl = 1
  } */
 
 It's pretty simple in Perl. Something like this will
 work.
 
 #!/usr/bin/perl
 use strict;
 use warnings;
 
 # Put Perl in paragraph mode
 $/ = '';
 
 # For each record ...
 while () {
   # ... if the record is for localhost ...
   if (/host=localhost/) {
 # ... remove the opening comment ...
 s|/\*\s*||;
 # ... remove the closing comment ...
 s|\s*\*/||;
   }
 
   # ... and print the record.
   print;
 }
 
 It's written as a Unix filter, so it reads from STDIN
 and writes to
 STDOUT. Call it like this:
 
   $ my_filter  input.txt  output.txt
 
 
 hth,
 
 Dave...
 ___
 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] text processing problem with bash/perl

2009-02-12 Thread Robinson Tiemuqinke
Hi,

 Anyone has some ways for the following text processing problem? I have a text 
file containing two stanzas attached below. I want to uncomment the stanza with 
'host=localhost' line, while left the other stanza unchanged.

...

/* udp_send_channel {
  host=localhost
  port = 10017
  ttl = 1
} */

/* udp_send_channel {
  host=ganglia100.ec2.example.com
  port = 10017
  ttl = 1
} */

...

If I use command below then both stanza will be altered... Please help.

sed  -i -e '/^\/\* udp_send_channel/, /} \*\// {s/^\/\* 
udp_send_channel/udp_send_channel/g; s/\} \*\//}/g; }'

--David


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


[CentOS] How to backup LV for XenU on Centos

2008-10-03 Thread Robinson Tiemuqinke

Hi,

 Here is a newbie to Xen and LVM on Centos. I've created a Logical Volumn(LV) 
in the domain 0. and then install a XenU on the LV. IN more details: The LV is 
exported to XenU as xvda, and default Centos disk Layout is accepted -- 
/dev/xvda1 for /boot, /dev/xvda2 as Physical Volumn).

Now my problem is: How to backup the Logical Volumn(LV) from Domain 0? I 
currently use dd to save it, is this the proper way? or can I create snapshot 
LV of the LV and 'dd' the snapshot LV? Because on the LV it is not a ext3/xfs 
file system, then I could not mount the LV, right?

Any one please shed a light onto this? What's the normal way to backup LVs 
which are exported to install XenU System?

Thanks a lot.





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


[CentOS] Please help: The process of am-utils map key lookup

2008-08-12 Thread Robinson Tiemuqinke
Hi,

 I am using am-utils(amd binary daemon) to auto mount home directories. the 
mounting process seems working fine but I am still not understand how the amd 
map key(s) lookup process works. 

 I've carefully read the am-utils(amd) document at 
http://am-utils.org/docs/am-utils/am-utils_8.html, especially the chapter 3.2 
How keys are looked up but am still not clear. For example, I'd like to access 
/home/dumbboy/files/deleteme, what is the key to be used, and how the 
lookup/match happens? and how the mount operations happens? Thanks a lot.

 I've attached my configuration files below:

$ cat /etc/amd.conf
...
auto_dir =  /.amd_mnt
...
map_type =  file
search_path =   /etc
...
[ /home ]
map_name =  amd.home
...

$ cat /etc/amd.home
/defaults 
type:=nfs;sublink:=${key};opts:=rw,intr,tcp,nfsvers=3,vers=3,nosuid,nodev,noresvport,rsize=16384,wsize=16384;fs:=${autodir}/${rhost}${rfs}
dumbboy rhost:=home111;rfs:=/0/export/home
* rhost:=home110;rfs:=/0/export/home
...

Thanks.










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


[CentOS] popular open source forum software?

2008-02-22 Thread Robinson Tiemuqinke
Hi,

 I plan to setup an forum for my friend and his
friends shortly. But before I setup, I would like to
know what are the popular open source forum
software/packages to look at..

Please advise. Thanks.

--Robinson


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] popular open source forum software?

2008-02-22 Thread Robinson Tiemuqinke
Barry and all,

 Thanks for quick reply! Could you tell me whether
they support video upload/downloads in need besides
text messages?  If not sure, I'll just go and check
one by one. Thanks.

--Guolin

--- Barry Brimer [EMAIL PROTECTED] wrote:

 Quoting Robinson Tiemuqinke [EMAIL PROTECTED]:
 
  Hi,
 
   I plan to setup an forum for my friend and his
  friends shortly. But before I setup, I would like
 to
  know what are the popular open source forum
  software/packages to look at..
 
  Please advise. Thanks.
 
  --Robinson
 
 www.phpbb.com
 www.simplemachines.org
 www.phorum.org
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 



  

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


[CentOS] How to mount 'virtual' file systems /proc and /sys ??

2008-02-21 Thread Robinson Tiemuqinke
Hello,

 I am setting chrooted environments with Centos/Fedora
Core distros recently. packages are installed in the
chrooted environment without problems.

Then when it comes to /proc and /sys 'virtual'(not
real hardware) file systems I got confused -- some
documents say I should run 'mount -t proc none /proc;
mount -t sysfs none /sys' to mount /proc and /sys,
while some others say commands 'mount -t proc proc
/proc; mount -t sysfs sysfs /sys' instead. I don't
know what is the difference between the source device
name 'none' against 'proc' and 'sysfs'. Any one can
shed a light onto this?

In fact, I tried command 'mount -t proc kidding /proc;
mount -t sysfs kiddingAgain /sys' to successfully
mounted /proc and /sys without explicit problems;
access to /proc/* and /sys/* worked fine as well. Then
what are the purposes of the sourceDevice field for
'virtual' file systems? Thanks.

Please help.





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] python XML processing to turn a XML file into a structure?

2008-02-05 Thread Robinson Tiemuqinke
Hi,

 I'm running Centos 5 with python 2.4.3. Anyone know
if there are python xml processing tools/packages that
can turn an XML file directly into a complex
structure? and write a complex structure back into an
XML file?

I'm a newbie to Python programming, though years ago
I've processed XML files with Java but now I am in a
rush. 

Thanks.



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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


Re: [CentOS] Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

2007-11-29 Thread Robinson Tiemuqinke

--- Les Mikesell [EMAIL PROTECTED] wrote:

 Robinson Tiemuqinke wrote:
  
  The problem is whether there is a way to achieve
 the
  following:
  
   Continue to install machines with Centos 5.0(!!)
  distro (not 5.1, 5.2, etc snapshots|subreleases),
 But
  have .../centos/5/updates/{SRPMS|i386|x86_64}/
  repositories|directories which contains updates
 since
  5.0 to current level. This way I only need to feed
 yum
  with two repositories: centos/5.0/os/ and
  centos/5/updates/ -- some time will have local
 custom
  repos as well, but that is another totally
 different
  topic. 
 
 If you install a Centos 4.0 now you can 'yum update'
 and you'll end up 
 current with 4.5.  I think this works because the
 [base] repository 
 floats with the symlinks to point at one containing
 the updated versions 
 of everything at the point release time.  If you are
 talking about 
 mirroring the contents you'll have to mirror the
 symlinked directory.
 
 -- 
Les Mikesell
 [EMAIL PROTECTED]

If installed with 4.0, and run a 'yum upgrade' will
end up with 4.5 -- then, what are the repos configured
for yum? Are the repos the following and ONLY the
following (excluding custom ones)?

1, 4.0 base OS distro
2, 4 base OS distro (symbolic link pointing to 4.5)
3, 4 updates (symbolic link pointing to
.../4/updates/..., which means updates since 4.5
sub-release)

Is the above right? or you have even omitted #1 (4.0
base OS distro repo)?  Thanks.

--Robinson





  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

2007-11-28 Thread Robinson Tiemuqinke
Hi,

 Redhat announced RHEL 5.1 on Nov 07, so hopefully
CentOS 5.1 will be ready shortly. But I get kind of
nervous of the arrival of 5.1.

 My problem is: I have hundreds Centos 5.0 boxes just
finished installation and I will continue to install
and upgrade hundreds more in next few months. With the
arrival of Centos 5.1, I don't like to reinstall them
anymore but continuous upgrade instead -- if this is
possible? 

 Currently I download the Centos 5.0 upgrade packages
from mirror sites on Internet
(.../centos/5/updates/{SRPMS,i386,x86_64}/...), with
the arrival of Centos 5.1, are the existing Centos 5.0
update packages will be removed in honor of Centos 5.1
updates? or it will stay? And how about the Centos
5.1's default packages in distro?   

 Give an example here:

 2.6.18-8.1.15 version kernel is the most recently
updated kernel for Centos 5.0 distro, if the Centos
5.1 distro comes with 2.6.18-8.1.1 kernel and in
the first few weeks there are no kernel updates for
5.1, then how can I upgrade my kernel to
2.6.18-8.1.1 naturally -- will the
2.6.18-8.1.1 shows in the same update sources
directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?

 A similar question is: are the update diretories
contains only updates for 5.1 distro, or both 5.0 and
5.1?

 Any clarifications are greatly appreciated.

--Robinson


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

2007-11-28 Thread Robinson Tiemuqinke

--- Jancio Wodnik [EMAIL PROTECTED] wrote:

 Robinson Tiemuqinke pisze:
 
   Currently I download the Centos 5.0 upgrade
 packages
  from mirror sites on Internet
  (.../centos/5/updates/{SRPMS,i386,x86_64}/...),
 with
  the arrival of Centos 5.1, are the existing Centos
 5.0
  update packages will be removed in honor of Centos
 5.1
  updates? or it will stay? And how about the Centos
  5.1's default packages in distro?   
 
   Give an example here:
 
   2.6.18-8.1.15 version kernel is the most recently
  updated kernel for Centos 5.0 distro, if the
 Centos
  5.1 distro comes with 2.6.18-8.1.1 kernel and
 in
  the first few weeks there are no kernel updates
 for
  5.1, then how can I upgrade my kernel to
  2.6.18-8.1.1 naturally -- will the
  2.6.18-8.1.1 shows in the same update sources
 

directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?
 
   A similar question is: are the update diretories
  contains only updates for 5.1 distro, or both 5.0
 and
  5.1?
 
   Any clarifications are greatly appreciated.

 It's simply. All things from 5.0 to 5.1 will be done
 automatically via 
 yum (as standard update) or in rare situation can be
 possibly depedency 
 problem (when mixing different repo ?).
 
 So don't worry. if you are really affraid - update
 only one box and test 
 ... test ... then update the rest.
 
 I must say. In Centos 4 world all updates from 1 to
 2 to 3 ... to 5 were 
 go in smooth way.
 
 Regards,
 
 Irens
 

 I have had my local 5.0 update repository
(.../centos/5.0/updates/{SRPMS,i386,x86_64}/...) setup
and used it for my 900+ boxes's daily upgrade already.
The repository is synchronized with official Internet
mirrors daily to keep it current.

 My major concerns is: After the 5.1 is released, the
update channel/directory
(.../centos/5.1/updates/{SRPMS,i386,x86_64}/...)  may
change to contain only updates for 5.1
snapshot/release, not updates since 5.0. If so, then
all my Centos 5.0 boxes will suffer.  

 I have the serious concern because most Centos Mirror
sites on Internet ONLY keep the updates for latest
release/snapshot, not holds updates since the
base(3.0, 4.0, 5.0 etc) release. This seems like a big
problem if we would like to install from base|initial
release (3.0, 4.0, 5.0) continuously and then use a
single up-to-date update/ repository to upgrade
machines to current level.

For example, at Stanford's Centos 4 mirror site, only
4.5 is mirrored while all the other
4.0/4.1/4.2/4.3/4.4 are not. and in the updates/
directory only updates for 4.5 are kept there.  If the
same is true for all other sites honoring 5.0 series,
then I think I will definitely get screwed If I tried
to keep on using base 5.0 and daily synced  updates/
(exactly the same) for upgrade.

Any mirror sites hold updates since base release? Or I
have to keep on adding more repositories to yum's
configuration? 5.0 distro, 5.0 updates, 5.1 distro,
5.1 updates, 5.2 distro, 5.2 updates. etc. If so, then
it is too low-performanced and erro-prone. 

Any one have experience on upgrade Centos 4 releases
from 4.0 to 4.5 can shed a light on this?

Thanks a lot.

--Robinson   


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Why glibc-profile doesn't show up in Centos 5 ???

2007-09-25 Thread Robinson Tiemuqinke
Hi,

 Anyone know what are the reasons behind that
glibc-profile packages doesn't come with Centos 5
distribution which has version 2.5 glibc? Some
colleagues around have been asking for the glibc
profiling functions to be available continuously... 

 I could change the glibc source RPM/spec file to
disable '--disable-profile' option and recompile the
core glibc packages. But I am not sure whether this is
the correct way. Nevertheless, the glibc-profile may
have a unknown strong reason not to show up in Centos
5.

 Please help. 

Thanks.





   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Any DNS zone files generation tools to recommend?

2007-08-28 Thread Robinson Tiemuqinke
Hi,

 Any one would like to suggest an tool for large-sacle
multiple-networks, multiple-views DNS zone files
automatic generation? 

 The DNS configuration tool comes with Centos 5
distribution, system-config-bind, looks like more
improvment is in need; I've come upon a tool h2n,
which create zone files from a static hosts file,
looks like better.

 But I don't know pupular the h2n perl script is in
use, and whether there are any other better/modern
tool(s) to begin with. 

 Any one can shed a light on this topic? Thanks a lot.




  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

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


[CentOS] Misterious Yum install Error: package ... is reduced

2007-07-30 Thread Robinson Tiemuqinke
Hi,

 Here is a newbie to Yum on Centos 5. I got an
interesting yet misterious problem here.

 When I rolled a mod_jk package and tried to install
it onto a bunch of Centos 5 boxes with comand 'yum -e
10 -d 10 install mod_jk', it fails with the messages
at end; and so mod_jk just ended up ignored.

 But when I manually run 'rpm -ivh --test
mod_jk...rpm' on command line it reports no problem.

 Please help.

-
...
Reading Local RPMDB
Parsing package install arguments
No other mod_jk installed, adding to list for
potential install
reduced installs :
   mod_jk.x86_64 0:1.2.23-1_myRolled
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Building updates object
...
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Package httpd - 2.2.3-7.el5.centos.x86_64 already
installed and latest version
Nothing to do
...

Any
 


   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Misterious Yum install Error: package ... is reduced

2007-07-30 Thread Robinson Tiemuqinke
Hi,

 Here is a newbie to Yum on Centos 5. I got an
interesting yet misterious problem here.

 When I rolled a mod_jk package and tried to install
it onto a bunch of Centos 5 boxes with comand 'yum -e
10 -d 10 install mod_jk', it fails with the messages
at end; and so mod_jk just ended up ignored.

 But when I manually run 'rpm -ivh --test
mod_jk...rpm' on command line it reports no problem.

 Please help.

-
...
Reading Local RPMDB
Parsing package install arguments
No other mod_jk installed, adding to list for
potential install
reduced installs :
   mod_jk.x86_64 0:1.2.23-1_myRolled
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Building updates object
...
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Package httpd - 2.2.3-7.el5.centos.x86_64 already
installed and latest version
Nothing to do
...

Any
 


   

Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Roll a .src.rpm without physical build?

2007-07-19 Thread Robinson Tiemuqinke
Hi,

 I got into a situation where a source rpm (.src.rpm)
file needs to be rolled but without build process
involved. 

 That is, I have a hacked version .spec file and a
tarball, and needs to roll these two files into a
.src.rpm file directly and send it out without build
it.

 Any one know the command(s) to fullfill it? Thanks.

--Guolin


   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=listsid=396545433
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Please help: confusing dmesg messages

2007-06-20 Thread Robinson Tiemuqinke
Hi,

 I got a few centos 5 boxes installed for tests and
find the following confusing messages from ‘dmesg’
command:

…
Your BIOS doesn't leave a aperture memory hole
Memory: 4043392k/5242880k available (2397k kernel
code, 150460k reserved, 1222k data, 196k init)
…

The machine has only 4GB memory chips installed only,
so where comes the number ‘5242880k’ for memory?

[EMAIL PROTECTED] ~]# cat /proc/meminfo | grep -i
total
MemTotal:  4045132 kB
HighTotal:   0 kB
LowTotal:  4045132 kB
SwapTotal:15999252 kB
VmallocTotal: 34359738367 kB
HugePages_Total: 0
[EMAIL PROTECTED] ~]#



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

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