Re: [CentOS] CentOS Hardware clock time setting.
On 12/02/2013 06:07 AM, Anand Singh wrote: Hi, I would like to sync my CentOS 6.3 hardware clock time to my NTP server's time. Can I do that without reboot the hosts? If yes, it would be great if anyone of you can provide me steps to do that. I am newbie in CentOS. Thanks, Anand Singh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Using root privs: /etc/init.d/ntpd stop /usr/sbin/ntpdate 2.us.pool.ntp.org # (or any other local public ntp server) /sbin/hwclock --systohc /etc/init.d/ntpd start -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] echo 0 /selinux/enforce
On 11/05/2013 06:13 PM, Wes James wrote: On Tue, Nov 5, 2013 at 4:01 PM, Keith Keller kkel...@wombat.san-francisco.ca.us wrote: On 2013-11-05, Wes James compte...@gmail.com wrote: Why not use some other linux that doesn't use selinux then? If it were harder to disable (either temporarily or permanently) then I could see someone making this case. But it's trivial to disable SELinux in CentOS, so there's no real reason to use a different distro just because it doesn't use SELinux. --keith Your right. I did a google search on disable selinux and got this on the first hit: http://www.crypt.gen.nz/selinux/disable_selinux.html Seems pretty straight forward. Thanks, -wes http://stopdisablingselinux.com/ ;) -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] to lvm or not to lvm - why/when to use lvm
On 09/27/2013 11:25 AM, Kwan Lowe wrote: On Thu, Sep 26, 2013 at 4:28 PM, Antonio da Silva Martins Junior asmart...@uem.br wrote: Well, I think this is one of the big examples of what we can do with LVM: http://www.greyoak.com/lvmdrive.html This is one of the top reasons that I use LVM on my home builds. I generally build with an SSD as the OS disk and a large SATA drive as my /home. When I need a bigger disk, which happens occasionally, I can either add or move up to a larger disk. I tend to just move up to a larger disk as I prefer a single disk to multiple disks for both reliability, reduced noise, and reduced power usage. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos So we can generally say that LVM offers no real drawbacks in terms of flexibility, but it seems like we are mostly talking about homebrew setups. What about in a high iops situation? Is there any evidence/testing out there that might show that there is some overhead of LVM that might impact total throughput? -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RPM Build Guidance
On 09/04/2013 12:03 AM, Dave Johansen wrote: On Tue, Sep 3, 2013 at 7:56 PM, Mark LaPierre marklap...@aol.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey All, Is there someone here on the list that has experience building RPM install files? I've never done it before. I'm looking for someone who is willing to do a little hand holding. I just built Musescore from source. I hope to build an install RPM from the resulting files. I just went through the process of learning how to package .rpms myself, and the short version is that you need to write a spec file that goes in the source rpm along with the source tarball. The spec file is basically the list of instructions that define what's required, how to build it, and how to package it into a rpm. As far as getting things setup to build from a .spec file, this is the best source that I found: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment There's an overview/walk through of a spec files can be found at: http://www.rpm.org/max-rpm/ch-rpm-inside.html Those two sources with a little googling, inspection of existing spec files, and a few mailing list posts got me up to speed pretty quickly. Dave Also, the Fedora project has some great docs on packaging: https://fedoraproject.org/wiki/How_to_create_an_RPM_package https://fedoraproject.org/wiki/Packaging:Guidelines https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to get Centos to recognize a Motorola RAZR V3 as a USB device?
On 07/16/2013 02:58 AM, Woehrle Hartmut SBB CFF FFS (Extern) wrote: I have a mini-USB cable, but simply connecting a Motorola RAZR to a Linux (Centos 6) PC to download stored pictures doesn't work, at least not automatically. Any idea what I need to do to get Centos to recognize that a Motorola RAZR V3 is plugged in as a USB device? (I don't have a data plan on this phone - I'm just trying to get archived pictures off of it onto the computer.) What does dmesg say when you plug that device in? Is there an output when using lsusb and does it correspond to your devices? CU Hartmut Not positive if the RAZR is using the same file storage as my Galaxy Nexus, but many of the recent android phones are using MTP as opposed to USB mass storage, which sucks IMO. Apparently it was introduced by Microsoft. I use gvfs in Fedora. According to wikipedia, MTP support was added to gvfs in January of this year, version 1.15.2. -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] running yum update on remote servers
On 02/25/2013 08:48 AM, Robert Moskowitz wrote: I have read a couple old threads here on updates for servers, and I am looking for some mechanics to getting the actual updates done. I don't want automatic updates; I want to control when and what gets updated. First I have to determine that a particular server needs updates. I suppose a daily script that would run yum check-updates' and emails me the results could work, but then I would only want the email IF there was something to update, at my limited use of this option does not show anything to trigger a notify on changes. Does anyone know of a script that would do this? Then there is the actual update. I learned long ago NOT to run yum over an SSH connection, as WHEN that connection breaks in the middle of an update, you can have quite a problem to clean up. All I have done todate is to start vncserver and connect via vnc to then run yum. I can even drop the vnc connection and come back later to check results. I have considered running yum disconnected (? when you end a command with ) and log the results to a file that you check later. What are practical approaches to this? I only have a few servers here to manage. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Pulp is a Red Hat sponsored python application that manages local repo mirrors (basically a light version of Spacewalk). It has a client app that you can use to communicate with the Pulp server and bind to specific repositories. You can view the package catalog on each consumer, and then can push updates out to consumers at will. It uses MongoDB as the backend database where it keeps track of the package metadata, and has a pretty useful REST API. http://www.pulpproject.org/ -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell firmware repository - out of date firmware?
This is saying that the _driver_ is out of date, not the firmware of the RAID card. Post your kernel version. On 02/06/2013 03:50 AM, Rafał Radecki wrote: Hi All. I am using dell firmware repository (http://linux.dell.com/wiki/index.php/Repository/OMSA). To update all firmware on my Dell PowerEdge R310 I use: yum install $(bootstrap_firmware) update_firmware --yes and perform reboot. Then the firmware for my PERC H200 RAID controller is up to date with repository. When I make: /opt/dell/srvadmin/bin/omreport storage controller I get: ... Firmware Version : 07.03.05.00 ... Driver Version: 05.101.00.02 Minimum Required Driver Version : 07.00.01.00-1 ... So my driver is actually out of date. On page: https://www.dell.com/support/drivers/us/en/555/DriverDetails/Product/poweredge-r310?driverId=NX9T4osCode=WS8R2fileId=3126023528 I see that SAS-RAID_Firmware_NX9T4_LN32_07.03.05.00_A08.BIN for RHEL is available. It has a higher driver version than required 07.00.01.00-1 so a manual download and install should be ok in this case. Is the dell hardware repo serving old versions of firmware/drivers? Should I in my case perform a manual update process? Best regards, Rafal Radecki. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Antwort: Re: Dell unofficial community repository - what do you think?
They provide an official repo for the proliant support pack (PSP), but I don't think they offer firmware updates via yum. I honestly haven't needed it, unlike Dell, whose support techs insist that I update firmware as the first step to troubleshooting a failed hard drive or bad memory modules... http://downloads.linux.hp.com/SDR/downloads/ServicePackforProLiant/rhel/6/x86_64/current/ repoview - http://downloads.linux.hp.com/SDR/downloads/ServicePackforProLiant/rhel/6/x86_64/current/repoview/ On 02/01/2013 08:31 AM, Andreas Reschke wrote: centos-boun...@centos.org wrote on 01.02.2013 14:27:19: Mikael Fridh fri...@gmail.com Gesendet von: centos-boun...@centos.org 01.02.2013 14:27 Bitte antworten an CentOS mailing list centos@centos.org An CentOS mailing list centos@centos.org Kopie Thema Re: [CentOS] Dell unofficial community repository - what do you think? On Fri, Feb 1, 2013 at 1:57 PM, Rafał Radecki radecki.ra...@gmail.com wrote: Hi all. I am currently gathering information about firmware update on Dell PowerEdge machines. I've found http://linux.dell.com/wiki/index.php/Firmware-tools_announcement and https://linux.dell.com/repo/community/ It is an unofficial, community supported repository. Depending on your hardware you will have support here: http://linux.dell.com/repo/hardware http://linux.dell.com/wiki/index.php/Repository/hardware I create a local mirror via rsync and use for all the Dell servers. What are your experiences: should I perform firmware updates the traditional way by downloading *.bin packages from Dell and run them manually or should I use this repo? Is this repo safe and releases stable packages? I'm usually fine with the hardware repo above unless I need something really new (some versions that's not yet released in the firmware repo as rpms). -- Mikael ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Does anybody know if there is the same repo from HP? Mit freundlichen Grüßen Andreas Reschke Unix/Linux-Administration andreas.resc...@behrgroup.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell unofficial community repository - what do you think?
This is correct, the latest firmware updates take a little bit to get packaged and tested before they get pushed to the repo. I also haven't figured out how to only update firmware for specific devices. With the inventory_firmware and update_firmware commands, it looks for updates and applies all updates at once. As for creating a local mirror, a simple rsync grabs it (I exclude everything I don't need) rsync --progress --delete -avHz --exclude=rh30 --exclude=rh30_64 --exclude=rh40 --exclude=rh40_64 --exclude='SLES_*' --exclude='SLE_*' --exclude='suse*' --exclude='sles*' linux.dell.com::repo/hardware/OMSA_7.1/ /yumrepo/repos/dell/hardware/OMSA_7.1/ I also don't use the community repo...I haven't found anything I need in there. I'll attach the yum repo file I use for my local repo. A 'yum install srvadmin-all dell_ft_install' will grab what you need for firmware tools and OpenManage, and then a 'yum install $(bootstrap_firmware)' will grab all your hardware specific firmware. On 02/01/2013 08:27 AM, Mikael Fridh wrote: On Fri, Feb 1, 2013 at 1:57 PM, Rafał Radecki radecki.ra...@gmail.com wrote: Hi all. I am currently gathering information about firmware update on Dell PowerEdge machines. I've found http://linux.dell.com/wiki/index.php/Firmware-tools_announcement and https://linux.dell.com/repo/community/ It is an unofficial, community supported repository. Depending on your hardware you will have support here: http://linux.dell.com/repo/hardware http://linux.dell.com/wiki/index.php/Repository/hardware I create a local mirror via rsync and use for all the Dell servers. What are your experiences: should I perform firmware updates the traditional way by downloading *.bin packages from Dell and run them manually or should I use this repo? Is this repo safe and releases stable packages? I'm usually fine with the hardware repo above unless I need something really new (some versions that's not yet released in the firmware repo as rpms). -- Mikael ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- _ Phil Gardner PGP Key ID 0xFECC890C OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538 [dell-omsa-indep] name=Dell OMSA repository - Hardware independent type=rpm-md mirrorlist=http://localrepo/repos/dell/hardware/latest/mirrors.cgi?osname=el$releaseverbasearch=$basearchnative=1dellsysidpluginver=$dellsysidpluginver gpgcheck=1 gpgkey=http://localrepo/repos/dell/hardware/latest/RPM-GPG-KEY-dell http://localrepo/repos/dell/hardware/latest/RPM-GPG-KEY-libsmbios enabled=1 failover=priority bootstrapurl=http://localrepo/repos/dell/hardware/latest/bootstrap.cgi [dell-omsa-specific] name=Dell OMSA repository - Hardware specific type=rpm-md mirrorlist=http://localrepo/repos/dell/hardware/latest/mirrors.cgi?osname=el$releaseverbasearch=$basearchnative=1sys_ven_id=$sys_ven_idsys_dev_id=$sys_dev_iddellsysidpluginver=$dellsysidpluginver gpgcheck=1 gpgkey=http://localrepo/repos/dell/hardware/latest/RPM-GPG-KEY-dell http://localrepo/repos/dell/hardware/latest/RPM-GPG-KEY-libsmbios enabled=1 failover=priority bootstrapurl=http://localrepo/repos/dell/hardware/latest/bootstrap.cgi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 and pxeboot
FWIW, I have this problem with 5.6. Are you installing from a local repo? If you are, try rsyncing the repo again. See if it changes the repodata files at all. I have yet to find why my repodata files are changing for the main repo (I didn't build our original repo servers, there are a bunch of random scripts that run that were created by a previous admin), but re-syncing the repos seems to stop that error from popping up during a kickstart. On 07/11/2011 04:32 PM, Scot P. Floess wrote: Not sure this is related... I just Cobbler-ified and Puppet-ized for CentOS 6... One thing I had in Cobbler was that I pointed to addons - which doesn't look like it exists in 6. I looked in 5.6 and noted nothing there...so I dropped addons as a repo in 6. All my VMs are installing correctly now for what its worth... On Mon, 11 Jul 2011, m.r...@5-cent.us wrote: Well, I started the install, got pxeboot to get to the kickstart file, formatted the drive... and then it failed, telling me unable to read group information from repositories. This is a problem with the generation of your install tree. A quick google gives me the first hit from a year ago, bug 4372 http://bugs.centos.org/view.php?id=4372, which says there's a metadata problem. Has anyone else run into this today? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Scot P. Floess RHCT (Certificate Number 605010084735240) Chief Architect FlossWare http://sourceforge.net/projects/flossware http://flossware.sourceforge.net https://github.com/organizations/FlossWare ___ 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