[CentOS] Turn off fetchmail warning?
Is there any way of turning off the fetchmail warning -- fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!) -- which I get when fetching imap mail from my college department? I know they should get a root certificate, but I'm told they are looking into it, but that could take forever. I know I could just filter out the warnings in .fetchmailrc . But I'm wondering if there is any option in fetchmail to turn them off? I don't see any in the man page. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cannot remove lvs associated with deleted vm guests
Pardon the top-post and cross-post, but this apparently should have gone to centos-v...@centos.org Phil chris procter wrote on 01/27/2012 03:29 PM: Hi, Its ages since I came across this problem so my memory is a little hazey but something is obviously holding on to the lv so you'll need to figure out whats holding it and kill that. The open value returned by dmsetup info is how many things have the device file open), it looks to be 2 at the moment and you cant dmsetup remove untill its zero (lvm might be one of them I cant remember) A few things worth trying are 1) make sure its not mounted anywhere! 2) if multipathd is running try stopping that. 3) either lsof or fuser on the device file may be able to tell you which process has it open 4) something vm related might not have let go properly, are there any deamons/processes etc still running? 5) reboot, the sledgehammer aproach to killing off processes!! 6) you could try hitting it with dmsetup again, you need to suspend the device first using dmsetup suspend which *may* persuade the holding process to let go, if it does reduce the open count you'll need to dmsetup resume and then suspend again untill open reaches zero when dmsetup remove should work. I'd try and avoid this option if you can, you're messing beneath the lvm layer and it may not like that, should be ok but... if none of that is possible/works you could try asking on the lvm-linux list. Reinstalling really shouldn't be necesary. chris - Original Message - From: James B. Byrnebyrn...@harte-lyne.ca To: centos-v...@centos.org; centos@centos.org Cc: Sent: Friday, 27 January 2012, 17:50 Subject: [CentOS] Cannot remove lvs associated with deleted vm guests At the beginning of January I encountered a problem where several vm guests on a single host somehow managed to see the the virtual disks assigned to other guests on the same hosts. I was unable to resolve this situation and shutdown the affected guests after creating new guest instances and moving the services and data off the corrupted guests. I have since removed these guests via virt-manager but all attempts to remove from the host the logical volumes associated with the former VirtIO disks fail. The volumes are considered open by lvremove and nothing I have tried can get them to close for removal. The --force option has no effect on this situation. # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Can't remove open logical volume lv_vm_base # dmsetup info -c vg_vhost01-lv_vm_base Name Maj Min Stat Open Targ Event UUID vg_vhost01-lv_vm_base 253 5 L--w21 0 LVM-gXMt00E1RDjpSX3INLZ35Prtg66aX36BeAOlKIkmfSNQRNol3Hni920R4YVaZr52 # dmsetup remove vg_vhost01-lv_vm_base device-mapper: remove ioctl failed: Device or resource busy Command failed There are several bugs filed on similar issues and udev is sometimes identified as the culprit. If I kill the udev daemon with T=`pidof -x udevd`; kill $T and rerun the lvremove -f command then I see this change in behaviour: # /sbin/lvremove -f /dev/vg_vhost01/lv_vm_base Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 not /dev/mapper/vg_vhost01-lv_vm_pgsql--dbms.harte--lyne.ca_00p2 Found duplicate PV djM23m6YebBQ2xgPh9ORMtdX2iOu9xBQ: using /dev/mapper/vg_vhost01-lv_vm_basep2 not /dev/mapper/vg_vhost01-lv_vm_pas.harte--lyne.cap2 Can't remove open logical volume lv_vm_base I need to get this system stable and return the lost disk space to the storage pool. Does anyone have any suggestions as to how to proceed? If I cannot solve this using the available system commands then prudence dictates that I have to re-install the server OS and rebuild all of the vm guests. As these guests have been laboriously transferred from other hosts during the past month this is a task I would rather not have to do. Any help is gratefully accepted. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca 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 ___ 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] Can anyone talk infrastructure with me?
On Thursday, January 26, 2012 06:43:55 PM Gordon Messmer wrote: 1.5Mbps is not faster than 40Mbps. There's nothing hidden in the way they advertise speeds. Speed != bandwidth. That '40Mb/s' connection is surely massively oversubscribed, whereas the 1.5Mb/s DS1 won't be (the tariff here states clearly that a DS1 data connection cannot be oversubscribed). This infrastructure thread is pretty amusing I especially enjoyed the 30,000 square feet number Karanbir quoted, since that's exactly how much aggregate raised floor space I have on-campus.and it reminded me of the day I was asked about providing a 1PB array for a user who had no clue how much such a thing would cost, how much room it would occupy, how much power it would use, and how much it would weigh. He chose instead to use rotated LTO-3 tapes in multiple changers, only keeping the 'interesting' data he generated. As it happened, his project in its lifetime did generate close to a PB of data at 2-4TB per day, IIRC (but it has been a few years). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turn off fetchmail warning?
Is there any way of turning off the fetchmail warning -- fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!) -- which I get when fetching imap mail from my college department? I know they should get a root certificate, but I'm told they are looking into it, but that could take forever. I know I could just filter out the warnings in .fetchmailrc . But I'm wondering if there is any option in fetchmail to turn them off? I don't see any in the man page. tried fetchmail -s? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- L. de Braal BraHa Systems NL - Terneuzen T +31 115 649333 F +31 115 649444 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] New DRBD packages in CentOS-Testing
DRBD Users, There are new DRBD (drbd83) packages for CentOS-5 in the CentOS-Testing repository. The packages are located here: http://dev.centos.org/centos/5/testing/i386/RPMS/ http://dev.centos.org/centos/5/testing/x86_64/RPMS/ http://dev.centos.org/centos/5/testing/SRPMS/ The versions are: drbd83-8.3.12-1.el5.centos* drbd83-kmod-8.3.12-1.el5.centos* Please test these so we can move them into CentOS Extras. NOTE: There are 3 other versions (8.3.9, 8.3.10-1 and 8.3.10-2) that never got moved out of testing and 8.3.8 is currently the version in Extras ... PLEASE, lets get these tested as if they work, people will want them. Thanks, Johnny Hughes signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Booting custom kernels in centOS6.0
On Tue, Jan 24, 2012 at 7:23 AM, kasi viswanath kash...@yahoo.com wrote: Hi, I'm using the procedure described in building customer kenrels centOS5.0. Except for one step where spec file to comment 25 lines from 638, I did every thing. I assume you are referring to: http://wiki.centos.org/HowTos/Custom_Kernel The article has just been updated to include CentOS-6. Please try again and see if you can now build CentOS-6 custom kernels that boot normally. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Installing CENTOS 6.1 to Intel notebook
I have a notebook with HM65 Express chipset and (internal Core i5 2520M) HD Graphics 3000, but a graphical install of CENTOS 6.1 froze the PC. I was able to install by selecting “Install with basic video driver”, but that left the internal display distorted and the external display not recognized. I found a fix for the problem at http://jehurst.wordpress.com/2011/06/26/rhel-6-for-the-clueless-intel-graphics/ but wonder if anyone knows if this problem (of graphical install freezing) has been fixed in CENTOS 6.2, or (if not) if RedHat is aware of it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Turn off fetchmail warning?
Leen de Braal wrote: Is there any way of turning off the fetchmail warning -- fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!) -- which I get when fetching imap mail from my college department? tried fetchmail -s? I did try that, but it didn't seem to have any effect: [tim@grover ~]$ fetchmail -s imap.maths.tcd.ie fetchmail: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!) -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing CENTOS 6.1 to Intel notebook
Keith Wilkinson wrote on 01/28/2012 07:58 PM: ... but wonder if anyone knows if this problem (of graphical install freezing) has been fixed in CENTOS 6.2 Why not try it and see. Obsolete releases should not be installed anyway. , or (if not) if RedHat is aware of it. Don't see it in the upstream bugs, but if it's fixed in 6.2 they won't care anyway. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Advise on recovering 2TB RAID1
Hi all, I have one drive fails on a software 2TB RAID1. I have removed the failed partition from mdraid and now ready to replace the failed drive. I want to ask for opinion if there is better way to do that other than: 1. Put the new HDD. 2. Use parted to recreate the same partition scheme. 3. Use mdadm to rebuild the RAID. Especially #2 is rather tricky. I have to create an exact partition scheme. Can I just clone the partition table without the data in it using parted? How? Thank you, Fajar. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Advise on recovering 2TB RAID1
On 29.1.2012 03:25, Fajar Priyanto wrote: Hi all, I have one drive fails on a software 2TB RAID1. I have removed the failed partition from mdraid and now ready to replace the failed drive. I want to ask for opinion if there is better way to do that other than: 1. Put the new HDD. 2. Use parted to recreate the same partition scheme. Maybe sfdisk like sfdisk -d /dev/gooddisk | sfdisk /dev/newdisk 3. Use mdadm to rebuild the RAID. -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Advise on recovering 2TB RAID1
On Sun, Jan 29, 2012 at 10:39 AM, Markus Falb markus.f...@fasel.at wrote: I want to ask for opinion if there is better way to do that other than: 1. Put the new HDD. 2. Use parted to recreate the same partition scheme. Maybe sfdisk like sfdisk -d /dev/gooddisk | sfdisk /dev/newdisk 3. Use mdadm to rebuild the RAID. Thanks Markus, But I see this: DESCRIPTION sfdisk has four (main) uses: list the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartition a device. sfdisk doesn't understand GUID Partition Table (GPT) and it is not designed for large partitions. In particular case use more advanced GNU parted(8). Is it ok? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Advise on recovering 2TB RAID1
Fajar Priyanto wrote on 01/28/2012 09:49 PM: ... But I see this: DESCRIPTION sfdisk has four (main) uses: list the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartition a device. Since the device is new anyway you have nothing to lose. sfdisk doesn't understand GUID Partition Table (GPT) and it is not designed for large partitions. In particular case use more advanced GNU parted(8). Is it ok? Does the original disk use GPT? It should not be necessary if it is 2.19TB. Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba Printer Share Access Denied [SOLVED]
On 01/27/2012 10:56 PM, Mark LaPierre wrote: CentOS 6.2 [mlapier@mushroom ~]$ uname -a Linux mushroom.patch 2.6.32-220.4.1.el6.i686 #1 SMP Mon Jan 23 22:37:12 GMT 2012 i686 i686 i386 GNU/Linux [mlapier@mushroom ~]$ Applicable sections of smb.conf: [global] workgroup = MYGROUP server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50 security = user passdb backend = tdbsam load printers = yes cups options = raw printcap name = /etc/printcap printing = cups [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes writable = yes printable = yes available = yes [root@mushroom init.d]# ./smb configtest Syntax OK [root@mushroom init.d]# [root@mushroom init.d]# smbd -V Version 3.5.10-114.el6 [root@mushroom init.d]# [mlapier@mushroom ~]$ rpm -qa | grep samba samba-3.5.10-114.el6.i686 samba-client-3.5.10-114.el6.i686 samba-common-3.5.10-114.el6.i686 samba-winbind-devel-3.5.10-114.el6.i686 samba-domainjoin-gui-3.5.10-114.el6.i686 samba-winbind-clients-3.5.10-114.el6.i686 samba4-libs-4.0.0-23.alpha11.el6.i686 samba-swat-3.5.10-114.el6.i686 samba-doc-3.5.10-114.el6.i686 samba-winbind-3.5.10-114.el6.i686 samba-winbind-krb5-locator-3.5.10-114.el6.i686 [mlapier@mushroom ~]$ [root@mushroom samba]# service smb restart Shutting down SMB services:[ OK ] Starting SMB services: [ OK ] [root@mushroom samba]# tail log.smbd [2012/01/27 22:46:03, 0] smbd/server.c:1140(main) smbd version 3.5.10-114.el6 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2012/01/27 22:46:03.703807, 0] smbd/server.c:500(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [2012/01/27 22:46:03.704728, 0] smbd/server.c:500(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use [root@mushroom samba]# [mlapier@mushroom etc]$ cat printcap # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. Samsung-ML-1740|Samsung ML-1740:rm=mushroom.patch:rp=Samsung-ML-1740: HP-Color-LaserJet-cp2025dn|HP Color LaserJet cp2025dn:rm=mushroom.patch:rp=HP-Color-LaserJet-cp2025dn: WorkForce-1100|EPSON WorkForce 1100:rm=mushroom.patch:rp=WorkForce-1100: [mlapier@mushroom etc]$ [mlapier@mushroom init.d]$ rpm -qa | grep cups cups-libs-1.4.2-44.el6.i686 cups-1.4.2-44.el6.i686 gutenprint-cups-5.2.5-2.el6.i686 cups-pk-helper-0.0.4-12.el6.i686 [mlapier@mushroom init.d]$ My file system shares work perfectly. I can see the printers listed on the Win XP client. I can install the printers on the XP machine but I can't print to them. When I double click on the printer icon I get the usual printer manager but on the top bar it states that access is denied. I've tried everything I can think of and everything that I've read on the Internet over the last month but still no joy. I even disabled SElinux. The only thing I see is Address already in use error in the log.smbd file. Does anyone see anything in my configuration that doesn't look just right to you? Is there anything else that you need to see? Thank you all for your help with this issue. The problem was solved by the addition of: use client driver = yes to the [printers] section of the smb.conf file and a service smb restart. -- _ °v° /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Advise on recovering 2TB RAID1
On 29.1.2012 03:49, Fajar Priyanto wrote: On Sun, Jan 29, 2012 at 10:39 AM, Markus Falb markus.falb-fswcc0fx...@public.gmane.org wrote: 2. Use parted to recreate the same partition scheme. Maybe sfdisk like sfdisk -d /dev/gooddisk | sfdisk /dev/newdisk 3. Use mdadm to rebuild the RAID. Thanks Markus, But I see this: DESCRIPTION sfdisk has four (main) uses: list the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartition a device. sfdisk doesn't understand GUID Partition Table (GPT) and it is not designed for large partitions. In particular case use more advanced GNU parted(8). Is it ok? It depends if your partition table is GPT or legacy MBR. I think that large means bigger than 2TB -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtual machine = Physical machine - fix screen resolution?
On 01/28/2012 09:01 PM, Philip Rhoades wrote: People, I sent this note to the Fedora virtual list so I thought I might try here . . I installed a Fedora 16 x86_64 virtual machine on a Fedora 14 x86_64 server but used a physical disk (/dev/sdb = /dev/vda) so I could get the new server going almost completely in virtual mode and then when it was ready to go, reboot the machine on the new drive. This process went extremely well (thanks to all the Fedora developers!) but there were a few glitches left to sort out - one of which was the screen resolution for both the console and in X. It seems the default virtual screen is 1024x768 but I need 1280x1024(or 768). I tried adding a vga parameter to the linux line in the grub.cfg file but that only temporarily changed the resolution during bootup. xorg.conf doesn't get used much anymore - do I need to create it for this case? Is there some way to tell Fedora to rediscover the maximum screen resolution somehow? Thanks, Phil. Hey Phil, I'm assuming that you are using a graphical desktop. Can you adjust the resolution with System/Preferences/Display? -- _ °v° /(_)\ ^ ^ Mark LaPierre Registerd Linux user No #267004 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos