Re: [CentOS] Power Cut
On 10/30/2016 01:12 AM, Hadi Motamedi wrote: Dear All I am using a centos server for cdr billing and mediation device on a remote network. I am experiencing problem that I am suspicious it comes from main supply power cut at the remote site. The power supply to the remote site comes from battery charger that will be automatically switched in circuit under main supply power cut but cannot provide adequate power for more than 2 hours . I am suspicious that the remote system is suffering from many frequent main supply power cut . Can you please do me favor and let me know if there is any log on my centos server that I can check to see if there would be many frequent power cut there ? Thank you for your time I have been experiencing a similar situation with a remote server, and found it much easier to use the command: last -x | tail -n50 to see reboots. You can tell a power cut because the end time for the previous boot up will be the same as the begin time for the next boot. If it is an orderly shutdown, there will be a time gap that is logged. As I understand it, the 'last' command uses the data stored in /var/log/wtmp, but that information is not in human-readable format. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Using Mariadb databases from old server
On 05/29/2015 07:00 AM, Timothy Murphy wrote: Todor Petkov wrote: I'm running CentOS-7, but I left some MySQL databases on my old CentOS-6.5 partition which I'd like to retrieve. I assume they are contained in the file /var/lib/mysql/ibdata1 ? Could I just copy this file to /var/lib/mysql in CentOS-7? Or is there some way Mariadb or phpMyAdmin can import mysql databases from a server that is no longer running? The C6 partition is part of the new server, so you are able to mount it and copy files from it, is this correct? Have you done something with the MariaDB or it's still clean installation? I did add something to Mariadb on the new CentOS-7 system, but I don't mind deleting it and starting again. I can mount the partition with the old mysql files on it. Could I just copy the contents of /mnt/var/lib/mysql to the new system? There are files with the same name, eg ibdata1, on both systems. Could I have an ibdata2 ? This is what I ran into trying to clone a web server on C7 (doing this from memory): There is something in the database file /var/lib/mysql that has to match something elsewhere on the machine. Apparently the match is created during the mariadb-server.rpm installation. I found two ways to transfer a /var/lib/mysql file successfully. 1. Transfer the file before installing mariadb-server.rpm or 2. After copying the file over the existing one, yum reinstall mariadb-server Hope this helps, Ted Miller, Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS Stale file handle drives me crazy (Centos 6)
On 04/02/2015 09:03 AM, Götz Reinicke - IT Koordinator wrote: Hi folks, I have a Centos 6 NFS server, which dirves me crazy. The directory I try to export cant be accessed by different clients. I tried a centos 7, centos 6 and a pool of vmware esxi 5.5 systems. At the client side I get errors like: mount.nfs: Stale file handle or Sysinfo set operation VSI_MODULE_NODE_mount failed with the tatus Unable to query remote mount point's attributes. On the server I get messages in the log like svc: 172.17.252.35, port=851: unknown version (0 for prog 13, nfsd) rpc.mountd[1927]: authenticated mount request from A good place to start on an issue like this would be to include your entire smb.conf file. Since you tried across three different Centos versions, It is likely either the configuration or the clients that are the problem. The curious thing is, that other directories exported on the same filesysten can be exported. Can they be used by the same clients that are trying to use the /home/stuff directories, or are the clients for the two directories different? so /home/stuff works /home/students fails. chmode 777 is set, /etc/exports is double checked. nfs/rpc/etc is up and running. selinux firewall for debugging off. I use xfs on all shared filesystems. Googling for VMWARE and native NFS suggestions did not help so far :-/ Any hint or suggestion is very very welcome! Regard thanks . Götz Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mariadb driver for named-sdb (CentOS 7)
On 03/04/2015 04:12 PM, Jim Holmes wrote: I've looked high and low and I cannot a package that has the mariadb driver to go with bind-sdb-9.9.4-14.el7_0.1.x86_64. Any reason you aren't looking for a mysql driver? Mariadb is by design a mysql clone. It doesn't expect you to use a mariadb driver. It expects mysql commands. Ted Miller Elkhart, IN, USA Everything I'm finding is how to build from source, which for this project will not be maintainable. Is there a yum repo with this driver anywhere? Thanks much, Jim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] lost at 'repository' entry installing centos7
On 02/05/2015 01:03 PM, g wrote: On 02/02/2015 02:15 PM, Tim wrote: Am 1. Februar 2015 21:30:52 MEZ, schrieb g gel...@bellsouth.net: greetings. while attempting to install c7, i got lost at 'repository' entry. i canceled, loaded centos.org, looked for help for installing c7, but did not find. i know, i did not look in right place. if such has been posted, i missed. so what/where is 'the right place'? much appreciate some help. What are you exactly searching for? excuse my prior terseness. i pulled; CentOS-7.0-1406-x86_64-NetInstall.iso burned it to a usb memory stick with; su -c dd if=CentOS-7.0-1406-x86_64-NetInstall.iso of=/dev/sdd rebooted, to usb, answered all questions up to screen where an entry asked for a repository. not having committed to memory, or, having written down any repositories urls, i quit install. in searching centos.org and wiki.centos.org thru docs and faqs, i found not install instructions for centos 7, other than using; CentOS-BootService-ipxe.iso which i pulled, burned to usb memory stick, rebooted to usb and ended up with about 4 lines and a notice of a failure, which i did not right down. one thing of note, net install iso did write a new boot with 4 options, 2 of which allow me to boot into centos 6.6. in time of doing other things and pulling emails a few minutes ago, i did return to centos.org and cp a repo url and printed it out. i was intending to reboot after pulling emails and noted your reply and i am replying to see what your suggestions may be, and; thank you for replying. If you are new to Centos, it really is best to download the DVD. The net-install is really designed for people who put up their own server for doing 200 installs in one building. The ipxe.iso that you tried absolutely requires a special server on your local network. Yes, you can do a single install with the net install, but it should be your 10th or 20th, not your first. I hope you can download the DVD and enjoy Centos 7. Get Centos 7 Now to DVD ISO to the list, and pick any link off of the list. The DVD will be quite self-explanatory. The only caveat is to make sure you go into the link for your network card and configure it. Otherwise Centos will start up with the network card turned off. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] lost at 'repository' entry installing centos7
On 02/02/2015 03:15 PM, Tim wrote: What are you exactly searching for? Sounds like he is doing a network install, and is looking for the network path that must be supplied in order to do the install. If he doesn't have a local repository, then he has to supply the first part of the path (e.g. http:///xyz/ ) and he has to stop at the directory level above .../7/ or some such. I have to look it up, and don't remember where I have it stashed, since I haven't done a network install in many moons. I have sometimes resorted to putting in a partial path, and then looking at the error message to see if I have to put more or less path into the box. I have always thought that this is one of the worst documented spots in the installation documentation. I suppose RH thinks only people with local, custom repos are using network install, and those people do it so many times that they don't need to be reminded what to put in the box. Ted Miller Elkhart, IN, USA Am 1. Februar 2015 21:30:52 MEZ, schrieb g gel...@bellsouth.net: greetings. while attempting to install c7, i got lost at 'repository' entry. i canceled, loaded centos.org, looked for help for installing c7, but did not find. i know, i did not look in right place. if such has been posted, i missed. so what/where is 'the right place'? much appreciate some help. -- peace out. in a world with out fences, who needs gates. CentOS GNU/Linux 6.6 tc,hago. g . ___ 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] CentOS 7 install software Raid on large drives error
is step 3. In summary: grub doesn't understand RAID arrays, but it can be tricked into booting off of a RAID1 disk partition. However you don't get full RAID benefits. Yes, you have a backup copy, but grub doesn't know it is there. It's more like you have to put it in grub's way, so that grub trips over it and uses it. The only way to find out if your setup has all the pieces in place is to physically remove sda, and see if the boot off of sdb completes or not. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-announce Digest, Vol 117, Issue 9
On 11/18/2014 07:00 AM, centos-announce-requ...@centos.org wrote: Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. ABRT for CentOS Linux is now live (Karanbir Singh) 2. CESA-2014:1861 Important CentOS 7 mariadbSecurity Update (Johnny Hughes) 3. CESA-2014:1859 Important CentOS 5 mysql55-mysql Security Update (Johnny Hughes) -- Message: 1 Date: Mon, 17 Nov 2014 12:49:32 + From: Karanbir Singh kbsi...@centos.org To: CentOS Announcements List centos-annou...@centos.org Subject: [CentOS-announce] ABRT for CentOS Linux is now live Message-ID: 5469eedc.4050...@centos.org Content-Type: text/plain; charset=utf-8 ABRT is a collection of scripts that makes it easier to report bugs and crashes in various components of the distribution to a central server. Metadata from this allows developers and upstream projects to evaluate their priority chain, and also get crucial information on why their software might not be performing as expected on CentOS Linux. This information is sent to the server in a json format text file, the contents of which will never contain private date. The entire specification for this report format is available at : https://github.com/abrt/faf/wiki/uReport and I encourage everyone to read it once, so as to build confidence in the process. You can enable ABRT reporting by running: /usr/sbin/abrt-auto-reporting enabled this script is provided by the 'abrt' rpm package. More details on ABRT on CentOS are available on the CentOS wiki at http://wiki.centos.org/TipsAndTricks/ABRT ; The entire ABRT documentation is available online at : http://abrt.readthedocs.org/en/latest/ - this includes both user and developer information. For those looking to get started with hacking on ABRT, start by reading through the advanced usage examples at : http://abrt.readthedocs.org/en/latest/examples.html The reports posted by CentOS machines will currently land at the Fedora Project hosted retrace server at : https://retrace.fedoraproject.org/ For any problems or issues with the abrt code included in CentOS Linux, or for any problems associated with abrt user experience on CentOS Linux : please post reports at http://bugs.centos.org/ by selecting the right Distribution version and component as 'abrt'. All other conversations around abrt on CentOS Linux should goto the CentOS-devel mailing list ( http://lists.centos.org/ ). regards, Thanks KB and anyone else involved. I was one of the ones that first complained asking Why are you even distributing this tool that will only send reports to RH, but RH rejects them. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mount options
On 11/17/2014 09:52 PM, Peter wrote: On 11/18/2014 02:50 PM, Fred Smith wrote: But I don't think that's what I want. I want it to mount when the system boots, but if for some reason it is not powered on, I don't want it to hang up the whole boot process. You want the nofail option. Peter Didn't the nofail option disappear from Centos 7? Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] No free sectors available while try to extend logical volumen in a virtual machine running CentOS 6.5
On 10/27/2014 07:42 PM, reynie...@gmail.com wrote: Hi SilverTip nice answer and very helpful, I'll try to get some more help here since as I said in the main post I'm not an expert on Linux or a Administrator I'm just a developer trying to setup a development enviroment so ... It's telling you the truth. Sounds like you want another Logical Volume (LV) not partition. You're right, what I need is a new LV but how I do that? Sounds like you destroyed one or more of your LVs through all this. Probable and I'm pretty sure I do it :-( Please read the following documentation before forging further ahead. And you might spin up a VM or live CD to experiment with LVM operations before going any further as well. - speaks about extents [0] - read the entire Chapter 2 on LVM [1] as it applies to your scenario (ex: snapshots probably don't) - dated/older, but it may prove helpful [2] [0] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/lv_overview.html [1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/LVM_components.html [2] http://www.tldp.org/HOWTO/html_single/LVM-HOWTO/ Fine, I read it but know doubts persist on my mind. First, I'm running OS in a Vmware Workstation VM and I'll not like to loose every I have there since then I'll need to reconfigure all from scratch but if there is not another option to save my mess the we should go through it. If I were in your position, I think I would: * Create a new, 80GB disk using VMWare * Partition that disk into your /boot and LVM partitions * pvcreate * vgcreate * lvcreate the disk structure you want in your new disk, making sure all LVs are at least a little bigger than the old ones. * use dd to copy disks from old drives to corresponding old drives * use resize2fs to expand your file system to the full size of each of the LVs you created. * detach old virtual disk from your VM * reboot, and see if you succeeded If I forgot something here, hopefully someone else will chime in. The idea is to dump your corrupted LVM structure without loosing its content. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading to CentOS-7 on a new partition
On 10/27/2014 10:31 AM, Timothy Murphy wrote: Ted Miller wrote: I have gotten in the habit of either creating or leaving unused some space on any disk that might be used as a boot disk, rather than committing all the space to LVM. That way I have something to work with if I need yet another boot partition. A bit ignorant of me, but is there nowadays any restriction on the choice of boot partition? I don't use LVM (having had some catastrophes several years ago) and always create a small boot partition among the first 3 partitions: sda1 Windows (does MS still require this? sda2 /boot sda3 swap sda4 extended partition I guess this methodology is probably long extinct? Nothing keeps you from doing it that way, but many of us have gotten used to (and comfortable with) the abstraction layer possible with LVM. Never had any problem with it, and happen to like it. With grub and grub2, there is no reason to put /boot in a separate partition. That goes back to the days of LILO, when it could only read the first xx megabytes of a disk drive. Both versions of grub are quite comfortable reaching to the back of a big disk to pull up your /boot files. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading to CentOS-7 on a new partition
On 10/27/2014 10:35 AM, Timothy Murphy wrote: Ted Miller wrote: I have not tried an upgrade, but it sounds like they put the work into making server upgrades easier, but did not (or could not) make it as easy for desktop installations. Most people paying license fees are covering servers. I got the impression that the CentOSUpgradeTool was a CentOS project, rather than an RHEL one? Here is the page describing the RHEL tool they based the Centos tool on: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Migration_Planning_Guide/sect-Red_Hat_Enterprise_Linux-Migration_Planning_Guide-Upgrade_Tools-RednbspHat_Upgrade_Tool.html I think Centos may have extended it based on their testing, but it is all based on work the RHEL did, so it comes with the same basic structure. I don't know if there are any tools that would perform this particular upgrade on Gnome or KDE. They have both changed so drastically that translation from old configuration files to new ones would require overwhelming machine intelligence, and it just isn't worth it. In another context, when the new version development of both GUIs wasn't moving so fast, it might work fine. That just isn't this year. If you don't believe me, just go read all the mailing list traffic asking How do I set ... on Gnome? I used to know exactly what to do, but what I knew doesn't work any more. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading to CentOS-7 on a new partition
On 10/26/2014 09:24 AM, Timothy Murphy wrote: Ted Miller wrote: I would like to upgrade a CentOS-6.5 home server to CentOS-7 on a new partition. What is the simplest way to achieve this? 1. It requires a custom disk layout, but is not particularly hard. 2. AFAIK, you can share your SWAP partition between the two installations. 3. Centos 7 uses grub2 as its boot loader. It is significantly different from legacy grub used in Centos 6 and before. a. It uses a configuration file that is auto-generated, and not supposed to be edited. b. It is capable of finding other installations (including legacy grub and windows), and creating links to them. c. 'b' only seems to work IF the other boot partitions are mounted somewhere in your file tree. What I have done is mount the other partitions (the /boot partition, if it is on a separate partition, otherwise /) under /mnt (e.g. /mnt/C6) when you are doing your custom disk layout. As long as they are mounted somewhere in the file system, grub2 seems to find them OK, and add them to your boot menu. It is apparently incapable of looking on unmounted partitions and finding Operating Systems lurking there. d. grub2 is (theoretically) capable of booting off of LVM (and I have done so successfully), BUT that capability is disabled and unsupported in RHEL/Centos 7. You still have to put /boot on a non-LVM partition. Thanks very much for your response. A couple of comments: 3. Curiously, I see I already have a file /boot/grub2/grub.cfg on my CentOS-6.5 system, though /etc/grub.conf points to /boot/grub/grub.conf . Did I create the grub2 file while experimenting with the system, or is it provided by CentOS-6.5 to simplify upgrading? Never had that happen, so can't comment. 3b. When I upgraded another server to CentOS-7 it did not seem to find the old CentOS-6.5, although it found a Windows system OK. However, I was using the old /boot partition for the new system. Sounds like it was looking for /boot/grub, and you over-wrote that when you installed the new system in the old /boot partition. I have gotten in the habit of either creating or leaving unused some space on any disk that might be used as a boot disk, rather than committing all the space to LVM. That way I have something to work with if I need yet another boot partition. I'll try mounting the old boot as /mnt/C6 in the custom setup during the new installation, as you suggest. I shall not give a separate partition for the new /boot - hopefully I shall be able to move /boot to a new partition later. I had thought, as an alternative method, of cloning the old system to a new partition, and trying the new CentOSUpgradeTool on this. (I'm running a CentOS-6 KDE system, and note that the documentation for the new tool says it will probably not work with KDE or Gnome - which I would have thought would rule out 95% of systems - but it wouldn't matter too much if I still had the old system.) I have not tried an upgrade, but it sounds like they put the work into making server upgrades easier, but did not (or could not) make it as easy for desktop installations. Most people paying license fees are covering servers. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading to CentOS-7 on a new partition
On 10/25/2014 09:40 AM, Timothy Murphy wrote: I would like to upgrade a CentOS-6.5 home server to CentOS-7 on a new partition. What is the simplest way to achieve this? I would like to be able to boot into either version of CentOS until I am sure the new version is running OK. Incidentally, I think most people today must have enough space on their hard drive to install a new OS on a new partition - it is surprising that this option never seems to be mentioned in upgrade documentation. A couple of observations after doing this: 1. It requires a custom disk layout, but is not particularly hard. 2. AFAIK, you can share your SWAP partition between the two installations. 3. Centos 7 uses grub2 as its boot loader. It is significantly different from legacy grub used in Centos 6 and before. a. It uses a configuration file that is auto-generated, and not supposed to be edited. b. It is capable of finding other installations (including legacy grub and windows), and creating links to them. c. 'b' only seems to work IF the other boot partitions are mounted somewhere in your file tree. What I have done is mount the other partitions (the /boot partition, if it is on a separate partition, otherwise /) under /mnt (e.g. /mnt/C6) when you are doing your custom disk layout. As long as they are mounted somewhere in the file system, grub2 seems to find them OK, and add them to your boot menu. It is apparently incapable of looking on unmounted partitions and finding Operating Systems lurking there. d. grub2 is (theoretically) capable of booting off of LVM (and I have done so successfully), BUT that capability is disabled and unsupported in RHEL/Centos 7. You still have to put /boot on a non-LVM partition. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] flash plugin for centos 7
On 09/09/2014 12:10 AM, dE wrote: On 09/08/14 21:09, Gergely Buday wrote: Hi, firefox does not play h.264 videos on centos 7 so I need a flash plugin. But I see packages only for centos 6.x. What can I do? - Gergely ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Actually it does. You need to enable gstreamer support in FF (after installing the correct GST plugins). And where do we find those? Ted Miller Then set media.gstreamer.enabled to true. ___ 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] Centos 6.6 changes
What are the significant changes in Centos 6.6 (as released so far)? Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dual boot with 2 drives
On 07/31/2014 11:37 AM, Joseph Hesse wrote: Hi, I have a laptop with 2 hard drives. The first has Fedora 20 (no windows or anything else) and the second is unused. I would like to install CentOS7 on the unused drive so I can dual boot with the choice of the 2 OS's on the Grub menu. I am comfortable in partitioning drives and installing Linux distributions. I am afraid I may mess up the MBR and/or set up Grub incorrectly so I lose everything. Please point me to some documentation to help me. Thank you, Joe I see no answers to this, so I will tell you this: If you have a CD (or USB drive) with the Super Grub Disk from www.supergrubdisk.org, you will be able to get to your linux installations no matter how badly you mess up you MBR. It is usually quite difficult to cut yourself off from an existing installation, because usually the new install process will find the old installation and include it on the new menu. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] abrt relevance?
I am trying to understand the relevance of the abrt program. It pops up automatically when somethings acts up, but I can't submit anything to RH, because I haven't paid their fees. It is a very bad user experience to go through the whole process of describing what led up to the problem and get to the end of the process and be rejected with an un-fixable error message (because I didn't buy RHEL support). It seems to me that either: 1. It should be modified so that it points to somewhere that I can file a report (such a place probably doesn't exist). or 2. It not automatically activated (because it is irrelevant to most users). or 3. It should be modified so that it creates a file for submission. Anybody have any reason to have it act the way it does on C6.5? Ted Miller Elkhart, IN P.S. It would be nice if anyone has a hint about why KDE desktop keeps giving me Process /usr/bin/plasma-desktop was killed by signal 11 (SIGSEGV) errors. My desktop (but not the windows on it) goes black. Usually it comes back in 2-4 seconds, but sometimes it disappears and stays gone. Then I can switch windows with Alt+Tab, but can't open any new ones, and the only way to log out is Ctl+Alt+Backspace. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] abrt relevance?
On 07/20/2014 03:20 PM, Johnny Hughes wrote: On 07/20/2014 02:11 PM, Ted Miller wrote: I am trying to understand the relevance of the abrt program. It pops up automatically when somethings acts up, but I can't submit anything to RH, because I haven't paid their fees. It is a very bad user experience to go through the whole process of describing what led up to the problem and get to the end of the process and be rejected with an un-fixable error message (because I didn't buy RHEL support). It seems to me that either: 1. It should be modified so that it points to somewhere that I can file a report (such a place probably doesn't exist). or 2. It not automatically activated (because it is irrelevant to most users). or 3. It should be modified so that it creates a file for submission. Anybody have any reason to have it act the way it does on C6.5? Ted Miller Elkhart, IN P.S. It would be nice if anyone has a hint about why KDE desktop keeps giving me Process /usr/bin/plasma-desktop was killed by signal 11 (SIGSEGV) errors. My desktop (but not the windows on it) goes black. Usually it comes back in 2-4 seconds, but sometimes it disappears and stays gone. Then I can switch windows with Alt+Tab, but can't open any new ones, and the only way to log out is Ctl+Alt+Backspace. The goal of CentOS is to: As such, CentOS Linux aims to be functionally compatible with RHEL. We mainly change packages to remove upstream vendor branding and artwork. So, abrt has been modified to remove branding and artwork ... we would like to make it more relevant and functional. This is one of the packages where we would certainly like the ability to provide something better than we do .. patches from the community are welcomed/encouraged to make it better. Thanks, Johnny Hughes I did a search in packages named *abrt* for the string redhat. The only one that seemed relevant was /etc/dbus-1/system.d/dbus-abrt.conf. I tried commenting out everything had the result of adding a warning that says Wrong settings detected for Existing Red Hat Support case, reporting will probably fail if you continue with the current configuration. when either of the Red Hat Support options are checked. I was hoping that editing the configuration file would remove the options. At the moment I guess I'll settle for chkconfig abrtd off Ted Miller Elkhart, IN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing CentOS-7 but keeping CentOS-6.5
On 07/15/2014 05:22 AM, Timothy Murphy wrote: Ted Miller wrote: I'm having trouble installing CentOS-7 on my HP MicroServer. I've tried with KDE LiveCD and Netinstall (both on USB sticks), and now I'm going to try with the DVD ISO. But I want to be quite sure I can return to CentOS-6.5 if things go wrong, so I'm wondering what precisely I need to copy (eg the MBR and a bit more) so that I could get back to things as they were. Is this documented anywhere? You asked what to keep to be able to boot C6. From your narrative, it seems that the legacy grub boot for C6 is already gone (blown away) by your C7 install. I haven't figured out enough about grub2 to be able to tell you how to preserve your current grub2 configuration, but here are some possible ways to keep C6 accessible: Thanks very much for your comprehensive reply. 1. The Super Grub2 Disk from seems to be pretty good at finding any and all possibilities for booting using new and old versions of grub. I've downloaded this and will try it if necessary. 2. If you are reinstalling into exactly the same location as your previous C7 attempts (same devices for boot and root), just don't let the installer update the boot information. Since you know it boots both versions now, it should still boot both versions after the install. Yes, I'll try that - though I don't remember being asked if I wanted to update the bootloader - I probably missed it. Now that you mention it, I don't remember seeing it in C7 either. Maybe on the page where you do disk partitioning? Not knowing what your installation problem is, I can't tell (and you may not be able to tell either) if anything is wrong with your boot information, or if that is OK. I'm pretty sure it gets through the code in the boot, since it says [OK] Reached target Initrd Default Target 3. From C3, install legacy grub onto a USB stick, which would allow you to boot directly to C6, without any requirement for anything to be on a hard drive. I'm not sure what you mean by C3? Should have been C6. I see that my CentOS-6.5 system has entries in grub/grub.conf which don't seem very old (January this year). I did wonder if one can in fact use grub with CentOS-7, since it seems to create an empty (almost) /boot/grub/ folder? 4. It is also possible to set up a CD that will boot your computer, but I don't remember the details of that. Not quite sure what you mean by this? It is possible to burn a CD with grub or grub2 files on it, which will allow you to get to one (or both) of your installs. Like a live CD, but all it does is direct the boot process to your hard disk. (Don't ask me the details -- did it once with a floppy, but never with a CD). Hope one of these, or something someone else chimes in, will help you. Also hope you get the C7 install figured out. So far I have only done it from DVD, and those went well for me. I've found a second hard disk (from an old server) and put that in, so I'll be able to experiment with that, without worrying about what it does to my current CentOS-6.5 system. Also I used to use the old grub interactively - I'll see if it is still possible to do this with grub2. Yes it is, but you have to use the new syntax. And I'll try a couple of your suggestions first, like not installing the boot-loader. Hope it works, Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing CentOS-7 but keeping CentOS-6.5
On 07/13/2014 01:01 PM, Timothy Murphy wrote: I'm having trouble installing CentOS-7 on my HP MicroServer. I've tried with KDE LiveCD and Netinstall (both on USB sticks), and now I'm going to try with the DVD ISO. But I want to be quite sure I can return to CentOS-6.5 if things go wrong, so I'm wondering what precisely I need to copy (eg the MBR and a bit more) so that I could get back to things as they were. Is this documented anywhere? Actually, both failed installations did give a boot menu including the old 6.5 system, but I'm afraid sometime this might not work, and I will be cut off from the world. Incidentally, the Repair option on the netinstall system was not as useful as I expected, or perhaps I don't know how to use it properly. It entered the new CentOS-7 system OK on chroot-ing, even mounting other partitions listed in /etc/fstab . And I was able to bring up the interfaces with service network restart. But although I ran grub2-install , this did not help matters. Is there anything else one can do after chrooting into a system? Eg, can one boot the system in any way? Any advice or suggestions gratefully received. You asked what to keep to be able to boot C6. From your narrative, it seems that the legacy grub boot for C6 is already gone (blown away) by your C7 install. I haven't figured out enough about grub2 to be able to tell you how to preserve your current grub2 configuration, but here are some possible ways to keep C6 accessible: 1. The Super Grub2 Disk from http://www.supergrubdisk.org seems to be pretty good at finding any and all possibilities for booting using new and old versions of grub. 2. If you are reinstalling into exactly the same location as your previous C7 attempts (same devices for boot and root), just don't let the installer update the boot information. Since you know it boots both versions now, it should still boot both versions after the install. Not knowing what your installation problem is, I can't tell (and you may not be able to tell either) if anything is wrong with your boot information, or if that is OK. 3. From C3, install legacy grub onto a USB stick, which would allow you to boot directly to C6, without any requirement for anything to be on a hard drive. 4. It is also possible to set up a CD that will boot your computer, but I don't remember the details of that. Hope one of these, or something someone else chimes in, will help you. Also hope you get the C7 install figured out. So far I have only done it from DVD, and those went well for me. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 - Add a menu item.
On 07/12/2014 07:45 PM, Doug Sommer wrote: I am kinda stuck. I want to add a menu item and like all previous versions of Centos I used Alacarte without issue. In C7, it will not allow you to put anything but a one name command. IE, firefox. You can not have something like java -jar /opt/PROG/NAME.jar. It grays out the OK button as soon as you put a space after java. Note if you edit a menu item that that has a space, it is also grayed out. Any other way to add one I don't have a running Centos 7 in front of me, so this is an educated guess: Is there a separate line for parameters or arguments? I recall seeing a form like that, where the command went in one box, and the arguments in a different box. The program put them together to create the complete command line. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] nvidia ethernet port not detected centos 7
On 07/12/2014 11:44 PM, sathish wrote: hi When i tried to install centos 7, my nvidia ethernet port not detected during installation whereas all of other distros working perfectly without any problem... Pl help.. my rig is AMD Athlon x2 64 processor and Nvidia chipset.. output of lspci -nn | grep -i net 00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP77 Ethernet [10de:0760] (rev a2) Was it not detected or not enabled? By default, NO network ports are enabled on RHEL (and thus on Centos) since CentOS 6. See http://wiki.centos.org/FAQ/CentOS6 Question #2. During installation, there is a spot to Configure your network ports. One of the options in the configuration is to Enable on startup or something similar. That box is not checked by default. If you check it, you network port will usually work as you expect. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Large file system idea
On 05/18/2014 11:47 AM, Steve Thompson wrote: MooseFS and GlusterFS have both been evaluated, and were too slow. In the case of GlusterFS, wy too slow. How recently have you looked at Gluster? It has seen some significant progress, though small files are still its weakest area. I believe that some use-cases have found that NFS access is faster for small files. Ted Miller Elkhart, IN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CENTOS and GlusterFS
On 05/15/2014 12:54 PM, Alessandro Baggi wrote: Hi list, I'm planning to setup a two-node cluster with file replication and samba. A caution--a two-node replicated cluster is a poor choice. If something gets into a split-brain condition (easier to happen than it should be) there are only two different nodes, and so there can be no voting. Using a three-node replicated cluster is the minimum that can be recommended at this point. (You don't want to get into a split-brain condition, because it will give you a headache that makes it feel like your brain is splitting.) Gluster is beginning work on a different way of writing the replicated data, that will be much less likely to result in split-brain, I've used drbd in the past with success, but now there isn't drbd on the official repo but only from elrepo. I want follow centos Line and than switch to GlusterFS. Said that, I'm new to GlusterFS. I have two hosts with a 2tb disk space for replica. I've ridden that glusterfs is not compatible with smb/cifs/nfs and that for this purpose I must mount locally the volume and share it with samba and the hosts must act as client and server at the same time. I'm not sure what you're trying to do here, but nfs sharing is built into gluster, and turned on by default. What Operating System will be using the gluster volume? It is possibile shares a mounted disk on /data with samba, and apply a replica volume on /data without using glusterfs export? Example: [Host1] [Host2] /data - smb /data - smb gluster_replicagluster_replica Be sure to map the gluster file system to /data, NOT the underlying bricks. Mapping the bricks is a common newbie mistake. Gluster does NOT replicate changes to the individual bricks. Only changes to the mounted glusterfs volume itself are replicated reliably. Be sure that when you type mount, the line that describes /data looks like: localhost:data /data glusterfs It HAS TO say glusterfs in order to be shared. There will be a separate line in the output of mount that will say something like /dev/sda2 /brick/data xfs That is the brick, and your samba share must NOT point to /brick/data. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.5 install
On 02/26/2014 03:01 PM, Kenny Noe wrote: Hello, I'm a newbie so here's my question. I'm trying to install CentOS 6.5 on a HP Proliant 350e server. This server has 4x 1TB hard drives. I'd like to enable the hardware RAID 5 and stripe all 4 disk into one 3TB logical volume. Then install CentOS on the 3TB volume. However after I install I can't get the server to boot. How far does it get on the process? I set up an HP DL180 g5 server this week, and had it refuse to boot because I had not designated the boot volume when I set up the RAID. Once I went in and designated the boot volume, everything worked fine. If you are getting GRUB, but it doesn't get all the way through to booted, there are a lot of different places to get messed up along the way. Tell us more, and we can focus on where the your particular issue is. Ted Miller Elkhart, IN, USA I know about the MDOS vs GPT labeling issue. I've successfully installed on one (singular) 3TB disk on other servers. I have modified the partition tables, relabeling them to GPT, prior to completing the installs. However I've read that the Anaconda installer still tries to format as MDOS and after installing a Basic server I cannot get it to boot. So, what am I missing? Can I load CentOS on a hardware RAID 5 volume that is 3TB (usable) or am I stuck with what most Google searches say and load the OS on one disk and then after use software RAID to RAID 5 the remaining 3 disk into a /data directory? All help is appreciated. Thanks--Kenny ___ 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] VMware-tools has 4 options only for resolution!
On 02/17/2014 02:12 AM, Yawei Guo wrote: Hi Guys, It is surprised that VMware-tools gives 4 options only for resolutin after I install VMware-tools for CentOS release 5.10 (Final), a guest OS running with VMware player 6.0.1 build-1379776. The kernal is 2.6.18-371.4.1.el5 x86_64 x86_64. The host system is win7 64bit OS. The hardware is Thinkpad T440S with a FHD display, 1920 X 1080. The following is what I get when I run vmware-config-tools.pl. The VMware-tools is VMwareTools-9.6.1-1378637.tar.gz. I think that is the latest version. CODE: SELECT ALL https://www.centos.org/forums/viewtopic.php?f=19t=44910#Please choose one of the following display sizes that X will start with: [1] 640x480 [2] 800x600 [3] 1024x768 [4] 1280x800 Please enter a number between 1 and 4: [4] 4 Obviously it does not contain the resolution I need. The information I get with getinfo.sh has one line VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405] VMware-tools worked well when I installed CentOS 5.5 for my virtual machine. What's wrong? Would you please help me? Thank you. Best Regards, Yawei I realize this is old, but one of the purposes of installing VMWare Tools is so that the display can resize to match the size of the window on your display. You notice that it says that X will _start_ with. That is where it starts, but after it starts you are free to resize it as needed. Does resizing not work correctly on your laptop? Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EL7 mirror: There is no installed groups file.
On 01/08/2014 07:00 PM, Mark LaPierre wrote: On 01/07/2014 08:27 PM, Warren Young wrote: I installed the RHEL 7 beta here to test while waiting for CentOS 7 to arrive. On noticing that yum didn't work, I decided to set up a local mirror. I rsync'd ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/x86_64/os/Packages/ to a local web server here, then regenerated the repodata directory with createrepo. Now yum works fine, for the most part. yum search foo pulls up a plausible list of packages, yum install bar chases dependencies as expected, etc. Unfortunately, yum groupinstall isn't working, which means I have no easy way to install Gnome on my minimal EL7 installation. Apparently I need some kind of groups file to feed to createrepo --groupfile, but I don't know where to get one, or how to construct one. I've dug around on ftp.redhat.com and can't find anything that looks plausible. I've tried manually installing packages to build up this GNOME desktop, but despite installing dozens of things, startx still doesn't give me something usable. I know I could get a GNOME desktop by reinstalling the OS, but that would wipe out a lot of the local work I've done on this VM so far. The only reason I need X in the first place is that system-config-printer no longer runs in text mode. (I'm trying to set up a CUPS server. So yeah, X11 is a prerequisite for installing a printer now. Lovely.) How about using http://localhost:631 with lynx or some other such text based browser. Two suggestions: 1. Make the last suggestion easier -- browse to port 631 from another computer and use the browser interface to set up CUPS. (You may have to set a permission in a CUPS setup file to browse from another computer--been a while since i did this.) 2. ssh -X root@FQDN system-config-printer from an X-windows terminal program and your printer configuration will pop up in a window on the other computer. I use that for all kinds of things. You only need a couple of files {something about xauth... and font file(s)} and you can do GUI-based configuration on a headless server. [Works great for headless KVM hosts.] Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] grub color on C6 (not)
On 12/20/2013 03:55 AM, Sorin Srbu wrote: -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Ted Miller Sent: den 17 december 2013 05:19 To: CentOS mailing list Subject: [CentOS] grub color on C6 (not) I have tried more than half a dozen different combinations of the color command in my grub.conf file, and see nothing but black and white. Is there * a problem with the Centos grub command? * a problem with grub figuring out how to do color on my hardware? * a true-false day, when everything is either true or false, no in between grays, and no color? Was this resolved? I'm seeing the same thing. -- //Sorin Not resolved. Ted ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 6.5 minimal kickstart bug?
I am new to kickstart file, but my understanding of the process is that I am supposed to be able to take the anaconda-ks-cfg file from the /root directory, copy it to an accessible location, and point the install disk to it, and it should reproduce the install I did originally. I used the 6.5 minimal install ISO, copied and renamed the ks.cfg. It is seen as a kickstart file, but it refuses to complete the install with the error message: - Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated. Cannot find a valid baseurl for repo: CentOS -- I read the kickstart file and found the Centos reference in the repo line, which the docs say is optional. I commented out that line, and the file works fine. I am guessing that this may be a capitalization mismatch? Or is there something I don't know? Do I need to do a bugzilla on this? Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.5 minimal kickstart bug?
On 12/16/2013 07:53 PM, Karanbir Singh wrote: On 12/16/2013 10:52 PM, Ted Miller wrote: I read the kickstart file and found the Centos reference in the repo line, which the docs say is optional. I commented out that line, and the file works fine. its possible the url the --repo line was pointing at was either invalid or not accessible from the location you were doing the install from. It is pointing at the CDROM. It was mointed. The line is: repo --name=CentOS --baseurl=cdrom:sr0 --cost=100 Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] grub color on C6 (not)
I have tried more than half a dozen different combinations of the color command in my grub.conf file, and see nothing but black and white. Is there * a problem with the Centos grub command? * a problem with grub figuring out how to do color on my hardware? * a true-false day, when everything is either true or false, no in between grays, and no color? scratching my head, Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with thread Centos 6.4 won't reboot on install
Have inconsistency in getting it to let me login. Yesterday no luck. At '$ runlevel' got 53 so it must have been at runlevel 3. startx no help, back to blue screen. Today, just started it first time and it booted right to GUI login screen. All is OK that has been set up like email, FF, printer etc. Checked Pref/System/Network Connection and the box is greyed out. Pref/SysytemNetwork Proxy only 'Direct Internet connection' is ticked. Everything else is greyed out. Ran updates also. This happened a few days back and was fine as long as I stay logged in. Re-boot or shutdown was not good. Couldn't log in again. Then surprisingly today it is back. WTF ? Other HDs are OK and work reliably. Bob Just a random thought that may trigger something in the wider brain trust: At various times you have mentioned that you had shutdown. How did you do a shutdown both from Gnome and from the terminal? The reason I ask is that Linux supports more than one kind of shutdown, but they are not all equal. The safest one is labeled something like Turn Off Computer (on KDE, not sure what wording Gnome uses) or you type halt at the command line, and it takes a good part of a minute to shut down. On many computers you can achieve the same effect by pressing the power button for LESS than half a second (quick poke). For some laptop users, just shutting the lid on the laptop is how they do a shutdown. This does NOT shut down the computer, but just puts into suspended animation. When you wake it up, it tries to resume where it was before you shut down. This is also sometimes labeled hibernate on GUI screens (I have not idea how to do it from the command line). Hibernation works well on some laptops, but is very problematic on other laptops. Basically Linux tries to make a complete record of how everything was set when it is commanded to hibernate, then write its entire memory contents onto disk, then take a nap. When you wake it back up it tries to restore its memory from hard disk, and put all the hardware back the way it was before. Laptops are notorious for having special hardware, specific to a particular model, that has some secret setting that has to be restored. Until the kernel maintainers find out about and accommodate each of those secret settings, the laptop may get out of bed on the wrong side, and be very contrary. For this reason, whenever you are having any kind of problems, one of the first things to do is to NEVER do anything except turn it off all the way with a full, long shutdown. Another (problematic) way to shutdown is to hold down the power button for about 5 seconds. This is equivalent to wanting someone to go to bed, but they don't want to, so you hold your hand over their mouth until they pass out, lay them in a bed, and say they went to sleep. Yes, the computer is shutdown, but it didn't have time to do it in an orderly manner, and so there may be a mess to clean up when you power it back up. This may be entirely irrelevant, but if not, it may be helpful, especially when you sometimes seem to be describing a situation where you only can get into gnome if the last time you shut down you were using the command line. Also, the one time you described the computer starting up very quickly--this is the (desirable) characteristic of hibernation. If your shutdown is different from the command line than it is from the GUI, then you may be facing a hibernation (or similar) problem. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NCFTP eliminar directories no vacios
On 05/29/2013 02:56 PM, Rodrigo Pichiñual Norin wrote: Hola a todos, no se si esto es posible, la verdad es que ncftp me parece muy util y eficaz, pero lo unico que le puedo criticar es que no puedo eliminar directorios que no estan vacios... estaba viendo la documentacion y al parecer esto es posible si configuro el servidor al que accedo desde mi maquina local(CLIENTE) habra alguna manera? Gracias Dado que este es el comportamiento por defecto para la mayoría de los sistemas de archivos, no me parece extraño que esto es lo que estás encontrando. Aun los comandos básicos de Linux 'rm' y 'rmdir' no eliminan directorios no vacíos. Sí, se puede forzar 'rm' para eliminar directorios no vacíos, pero (si usted no añada los opciones) usted pronto aprenderá que 'rm' no puede eliminar directorios no vacíos, porque le preguntará por cada cosa que elimina. La única forma en que se puede eliminar un directorio no vacío es después de entrar en ese directorio (y todos los subdirectorios) y eliminar todos los archivos, uno a la vez. Si 'rm' encuentra un archivo que no se puede eliminar (por ejemplo, no tienes permiso), no se puede quitar el directorio. Las herramientas gráficas que utilizas están haciendo todo eso detrás de las escenas, sólo que no te dicen sobre él. La respuesta corta a tu pregunta es que lo que usted considera normal en realidad no es normal, pero lleva mucho trabajo detrás de las escenas. Pidiendo una combinación de cliente FTP y servidor FTP hacer eso está pidiendo una bonita característica que viene con una buena cantidad de trabajo. Puede hacer tanta diferencia lo que el software del servidor se ejecuta como lo que el cliente está ejecutando. Usted tendrá que buscar una combinación de servidor y cliente que hace lo que quiere. No tengo la familiaridad con NCFTP para decirle como se puede hacer, y usted no nos ha dado información sobre el servidor, pues no puedo decirte si es posible hacer a su combinación cooperar en esta manera. Perdón por los errores gramáticas, pero cuando yo aprendí el español (como niño), no se existían los computadores personales, Pues mi vocabulario técnico es muy limitado. Como uno otro respuesta le dijo, aquí somos habladores de ingles. Tal ves no los has encontrado, pero si hay una lista de email sobre CentOS en español. En vez de el nombre 'CentOS', se llama 'CentOS-es'. Puedes encontrar mas información en la pagina de www: http://lists.centos.org/mailman/listinfo/centos-es Buena suerte en su búsqueda de información. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to find unknown ip address?
On 05/28/2013 10:04 PM, Fred Smith wrote: On Tue, May 28, 2013 at 08:54:03PM -0400, SilverTip257 wrote: On Tue, May 28, 2013 at 6:38 PM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Also the arpwatch program might help if you are trying to track down mysterious devices popping up on your network. +1 for arpwatch You beat me to mentioning it. ;) K snip On Wed, May 29, 2013 at 8:14 AM, Kahlil Hodgson kahlil.hodg...@dealmax.com.au wrote: Running 'arp -n' on a machine that you think might receive packets from the unknown host might also do the job. K snip Perhaps a stupid idea: I didn't see where the OP indicated they did not know which physical machine this is, but I understood it to be unknown on the network. So, if Im right, just go to the machine and do ifconfig or similar. Or if I'm wrong, just pretend I didn't say this! :) You are assuming that this is a machine with a keyboard and monitor. The OP did not give us that information. I have several devices on my network without user interfaces, like a TV tuner. It has no input device -- I don't think it even has a power switch. I has three wires going in the back -- power, antenna, network. Exactly how am I going to ask it ifconfig? Even a router or firewall can be a mystery as to what IP address it will respond to. Read carefully, and don't impose your network on the OP's situation. Ted Miller Elkhart, IN, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] trying to recover an audio CD...
On 05/01/2013 11:33 PM, fredex wrote: Fred Smith [hidden email] wrote: Jörg: [snip] - Is it possible to use the original drive that was used for writing? the original isn't a drive per se, it's a professional audio recorder, rack-mounted, that contains a CD drive of some sort. I THINK what happened was the recorder was powered off while writing. Probably made a huge mess of the data, or at least left it in some bad unfinished state. I have used such a recorder, and the one I used WAS capable of recovering a disk from a mess like what you describe. But...it takes a while. It has to read the entire disk (and it is designed to read at 1X), figure out what is on it, and then finalize it. If you can get access to the original recorder, I would suggest you let it try to clean up its own mess. Even better would be to get hold of the manual (paper or online) and see what it suggests for finalizing a disk that has been removed from the recorder. Ted Miller Elkhart, IN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Questions about software RAID, LVM.
On 02/04/2013 06:40 PM, Robert Heller wrote: I am planning to increase the disk space on my desktop system. It is running CentOS 5.9 w/XEN. I have two 160Gig 2.5 laptop (2.5) SATA drives in two slots of a 4-slot hot swap bay configured like this: Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 125 1004031 fd Linux raid autodetect /dev/sda2 126 19457 155284290 fd Linux raid autodetect Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 125 1004031 fd Linux raid autodetect /dev/sdb2 126 19457 155284290 fd Linux raid autodetect sauron.deepsoft.com% cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] sda1[0] 1003904 blocks [2/2] [UU] md1 : active raid1 sdb2[1] sda2[0] 155284224 blocks [2/2] [UU] unused devices:none That is I have two RAID1 arrays: a small (1Gig) one mounted as /boot and a larger 148Gig one that is a LVM Volume Group (which contains a pile of file systems, some for DOM0 and some that are for other VMs). What I plan on doing is getting a pair of 320Gig 2.5 (laptop) SATA disks and fail over the existing disks to this new pair. I believe I can then 'grow' the second RAID array to be like ~300Gig. My question is: what happens to the LVM Volume Group? Will it grow when the RAID array grows? Not on its own, but you can grow it. I believe the recommended way to do the LVM volume is to partition new drive as type fd install new PV on new partition (will be new, larger size) make new PV part of old volume group migrate all volumes on old PV onto new PV remove old PV from volume group You have to do this separately for each drive, but it isn't very hard. Of course your boot partition will have to be handled separately. Or should I leave /dev/md1 its current size and create a new RAID array and add this as a second PV and grow the Volume Group that way? That is a solution to a different problem. You would end up with a VG of about 450 GB total. If that is what you want to do, that works too. The documentation is not clear as to what happens -- the VG is marked 'resisable'. sauron.deepsoft.com% sudo pvdisplay --- Physical volume --- PV Name /dev/md1 VG Name sauron PV Size 148.09 GB / not usable 768.00 KB Allocatable yes PE Size (KByte) 4096 Total PE 37911 Free PE 204 Allocated PE 37707 PV UUID ttB15B-3eWx-4ioj-TUvm-lAPM-z9rD-Prumee sauron.deepsoft.com% sudo vgdisplay --- Volume group --- VG Name sauron System ID Formatlvm2 Metadata Areas1 Metadata Sequence No 65 VG Access read/write VG Status resizable MAX LV0 Cur LV17 Open LV 12 Max PV0 Cur PV1 Act PV1 VG Size 148.09 GB PE Size 4.00 MB Total PE 37911 Alloc PE / Size 37707 / 147.29 GB Free PE / Size 204 / 816.00 MB VG UUID qG8gCf-3vou-7dp2-Ar0B-p8jz-eXZF-3vOONr Doesn't look like anyone answered your question, so I'll tell you that the answer is Yes. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] upstream Storage Server fully OSS?
Is the upstream Storage Server fully open source, or are parts of it closed source? Are the RPMs to build one already in the Centos repo? If not, are there any plans to offer them? I am looking for something free to use in Haiti, that will offer redundant file storage and automatic failover to a second set of hardware in case of a failure of the primary hardware. If RHSS is not available or suitable, other suggestions welcome. I need a file system/server with: * primary function is serving MP3 files for playback in a radio station environment in Haiti * if the system goes down all your clients (listeners) know it * they know it NOW * they know how long it takes to get it back up * High Availability as the primary concern * ability to administrate via web interface or similar by non-Linux-savvy IT staff. * ability to grow file system from 2-3TB to 20-50TB by simply adding disks and/or adding 'bricks' * clients will all be Windows computers, so files accessible by CIFS * critical application is read-only * prefer a system that would continue serving files even if the network goes down (but have not found such a system yet for Windows clients). This would require something like Ceph with a full (non-server) windows client, so the local node would continue to function until the network came back up. * throughput is not a large issue Ted Miller Elkhart, IN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upstream Storage Server fully OSS?
On 11/19/2012 11:57 AM, m.r...@5-cent.us wrote: Ted Miller wrote: Is the upstream Storage Server fully open source, or are parts of it closed source? Are the RPMs to build one already in the Centos repo? If not, are there any plans to offer them? I am looking for something free to use in Haiti, that will offer redundant file storage and automatic failover to a second set of hardware in case of a failure of the primary hardware. Should we assume that you're setting up h/a failover servers, with at least two nodes, and UPS, and a generator (and an adequate supply of fuel Yes to everything. I am working on the H/A failover servers, 2-3 nodes. The other stuff -- generator w/ large fuel supply, inverters with battery bank bigger than your bed, is already in place. (Batteries can run the place for 4-8 hours before the inverters auto-start the generator.) Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upstream Storage Server fully OSS?
On 11/19/2012 12:12 PM, Les Mikesell wrote: On Mon, Nov 19, 2012 at 7:48 AM, Ted Millertedli...@sbcglobal.net wrote: If RHSS is not available or suitable, other suggestions welcome. I need a file system/server with: * primary function is serving MP3 files for playback in a radio station environment in Haiti * if the system goes down all your clients (listeners) know it * they know it NOW * they know how long it takes to get it back up * High Availability as the primary concern * ability to administrate via web interface or similar by non-Linux-savvy IT staff. * ability to grow file system from 2-3TB to 20-50TB by simply adding disks and/or adding 'bricks' * clients will all be Windows computers, so files accessible by CIFS * critical application is read-only * prefer a system that would continue serving files even if the network goes down (but have not found such a system yet for Windows clients). Is it possible to change the application so it uses http to get content or uses a distributed database natively? Distributed failure-tolerant systems are a lot easier if you don't even try to provide filesystem semantics that require a lot of atomic operations. Application is commercial, not changeable. It wants to see a local drive, if possible. Will tolerate (with warnings) a network share. Most of the critical operations are read-only (play back a file on the air). Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] upstream Storage Server fully OSS?
On 2012-11-19 9:48 PM, Ted Miller wrote: Is the upstream Storage Server fully open source, or are parts of it closed source? Are the RPMs to build one already in the Centos repo? If not, are there any plans to offer them? I am looking for something free to use in Haiti, that will offer redundant file storage and automatic failover to a second set of hardware in case of a failure of the primary hardware. If RHSS is not available or suitable, other suggestions welcome. I need a file system/server with: * primary function is serving MP3 files for playback in a radio station environment in Haiti * if the system goes down all your clients (listeners) know it * they know it NOW * they know how long it takes to get it back up * High Availability as the primary concern * ability to administrate via web interface or similar by non-Linux-savvy IT staff. * ability to grow file system from 2-3TB to 20-50TB by simply adding disks and/or adding 'bricks' * clients will all be Windows computers, so files accessible by CIFS * critical application is read-only * prefer a system that would continue serving files even if the network goes down (but have not found such a system yet for Windows clients). This would require something like Ceph with a full (non-server) windows client, so the local node would continue to function until the network came back up. * throughput is not a large issue Ted Miller Elkhart, IN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos On 11/19/2012 09:43 AM, Banyan He wrote: What is this upstream you talk about? Do you have a website for it? Kinda interest into this thing. Unfortunantely, I dont find it from google. Banyan He Blog: http://www.rootong.com Email: ban...@rootong.com upstream (noun) In free and open source projects, the upstream of a program or set of programs is the project that develops those programs. From Fedora (https://fedoraproject.org/wiki/Staying_close_to_upstream_projects): In general, when Centos folks refer to upstream in general terms, they are talking about RedHat. It often seems to be used in order to avoid too much use of the Trademarked name that makes Centos possible. If someone is talking about a specific program (say apache or MySQL) and they refer to upstream, they are probably referring to the developers of that specific program. Ted Miller P.S. I moved your top-post to the bottom of the email, in order to conform with list protocol. Learn to bottom-post. It makes it easier for other readers to follow a thread as it progresses. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.3 - KDE login screen configuration problems
On 11/19/2012 07:25 AM, John Horne wrote: Hello, We generally use CentOS for some servers, and so do not use a GUI interface. However, I have recently installed CentOS 6.3 onto a PC with KDE. I am familiar with KDE as I use it with Fedora for my work PC. The problem is that we would like to configure the login screen, so that it does not show the user list, that it does not allow the shutdown or reboot commands (from the login screen), and if possible to remove the 30 second confirmation timer that occurs when logout (via 'leave') is selected. I have gone into the 'System settings-Advanced-Login screen', and disabled both local and remote shutdowns and reboots. I have also disabled the showing of the user list, and disabled logout confirmations. However, none of this has had any effect. The login screen remains the same - showing the userlist and shutdown/reboot commands, and logging out still shows the 30 second confirmation timer. I have compared the /etc/kde/kdm/kdmrc file from the CentOS PC to my Fedora PC and they are similar. (I make the same changes to my work PC, and these take effect.) Anyone any ideas about this? Thanks, John. Are you actually using KDE login? I believe that by default Centos uses the GDM Gnome login, even when you install KDE. I am running Centos6 with KDE, but I am quite certain that my login is still the default. Before upgrading this machine I was running Centos5, and I jumped through a bunch of hoops to enable the KDE login screen, KDM. I just checked, KDM is installed, but I am quite certain it is not enabled. Looking at my list of running programs, I find three that start with gdm- , even though I do not have Gnome installed. There is a very good chance you were using KDE tools to configure a non-functioning KDM. Your choices seem to be: Find the tools to configure the login manager you are actually running or Switch to KDM as your actual login manager. Here are a couple of links I checked: https://www.centos.org/docs/2/rhl-rg-en-7.2/s1-x-runlevels.html http://www.tldp.org/HOWTO/archived/KDE-GUI-Login-Configuration-HOWTO/ Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mce error
On 11/13/2012 09:21 AM, Johnny Hughes wrote: On 11/13/2012 07:49 AM, Banyan He wrote: Just check the config to build the edac_mce module if you don't build it in. CONFIG_EDAC_MCE=y Make sure you have this in the /boot/config-. If he is running a standard CentOS kernel then he should have CONFIG_EDAC_MCE=y. On 2012-11-13 8:12 PM, Ted Miller wrote: During booting of Centos6 I see an error message that goes something like: Starting mcelog daemon [FAILED] AMD Processor family 15: Please load edac_mce_amd module. CPU is unsupported The only helpful information I have found is in the preview of https://access.redhat.com/knowledge/solutions/158503. I don't have a RedHat account, so don't know if they have a real solution. I know that mce has to do with logging certain microprocessor errors. 1. How important is this 2. Is there anything I should do, except wait for a bug fix sometime? Ted Miller Elkhart, IN What is does this command say: uname -r On 2012-11-14 10:58 AM, Ted Miller wrote: Install is 100% stock, off Minimal Install disk, then added groups for Desktop. Up to date. [tmiller@office04]$uname -r 2.6.32-279.14.1.el6.x86_64 Then I tried the command the web page has (I see my error during bootup) [root@office04 Documents]# /etc/init.d/mcelogd start [root@office04 Documents]# /etc/init.d/mcelogd status Checking for mcelog mcelog is stopped [tmiller@office04]$ls /dev/mc* /dev/mcelog so the device does exist [root@office04 Documents]# locate edac_mci_amd returned nothing, but I don't know if it should or not. I was reading the MAN page, and noticed See mcelog --help for a list of valid CPUs. so I tried it, and it lists: Valid CPUs: generic p6old core2 k8 p4 dunnington xeon74xx xeon7400 xeon5500 xeon5200 xeon5000 xeon5100 xeon3100 xeon3200 core_i7 core_i5 core_i3 nehalem westmere xeon71xx xeon7100 tulsa intel xeon75xx xeon7500 xeon7200 xeon7100 sandybridge sandybridge-ep All the CPUs I recognize in there are Intel, though I don't know all the nicknames. cat /proc/cpuinfo on my system shows (only first of two cores copied) processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 35 model name : Dual Core AMD Opteron(tm) Processor 180 stepping : 2 cpu MHz : 1000.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good pni lahf_lm cmp_legacy bogomips : 2009.40 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp Not the latest and greatest, and old enough I expected it to be supported by now. Any clues in all this? Ted Miller . On 11/14/2012 01:22 AM, Banyan He wrote: 1. ls /lib/modules/2.6.32-279.el6.i686/kernel/drivers/edac | grep mce It exists If you can find the module there, go to step 2 2. modprobe edac_mce_amd That works 3. lsmod | grep mce # verify if it loads That verifies, even after a reboot. (Didn't try it before step 2, so don't know if it was already loaded.) If that is not your case, it is the problem with mcelog itself. I'm not 100% confident on these conclusion but the code seems wrong here. if (!strcmp(vendor,AuthenticAMD)) { if (family == 15) cputype = CPU_K8; if (family = 15) SYSERRprintf(AMD Processor family %d: Please load edac_mce_amd module.\n, family); return 0; Your CPU family is 15. Whatever you do, you will reach here since the check is called just after the main is launched. I'm not much at C programming, but the way I read that, I will hit the return 0 statement no matter what the family number, even if it is less than 15. Any CPU that matches the !strcmp(vendor,AuthenticAMD) expression is going to get to the return 0 line eventually. The two intermediate if statements only determine if a value is set for 'cputype' and if the warning statement gets printed before you arrive at the return 0 line. You are going to get there whether your family number is 1 or 100. I found source code online (had a comment about being edited two months ago) for the is_cpu_supported routine. Looking at the whole thing, I see what appear (to my inexperienced eye) two program flow errors. 1. The issue you pointed out, where the third 'if' statement looks like it should be '', not '='. 2. It looks like there should be braces around the two statements following the third 'if' statement. Then it would look like: if (!strcmp(vendor,AuthenticAMD)) { if (family == 15) cputype = CPU_K8; if (family 15) { SYSERRprintf(AMD Processor family %d: Please load edac_mce_amd module.\n, family); return 0;} That construction would allow
Re: [CentOS] mce error
On 11/14/2012 05:41 AM, Nicolas Thierry-Mieg wrote: Ted Miller wrote: [root@office04 Documents]# locate edac_mci_amd returned nothing, but I don't know if it should or not. you have a typo, it should be locate edac_mce_amd Thanks for catching that. Good example of why copying and pasting the actual commands and responses is the best way. Wrong command-wrong response. and it should return /lib/modules/*/kernel/drivers/edac/edac_mce_amd.ko for all the kernels you have installed It does. See my other reply for more details on what I found. Any help welcomed. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mce error
During booting of Centos6 I see an error message that goes something like: Starting mcelog daemon [FAILED] AMD Processor family 15: Please load edac_mce_amd module. CPU is unsupported The only helpful information I have found is in the preview of https://access.redhat.com/knowledge/solutions/158503. I don't have a RedHat account, so don't know if they have a real solution. I know that mce has to do with logging certain microprocessor errors. 1. How important is this 2. Is there anything I should do, except wait for a bug fix sometime? Ted Miller Elkhart, IN ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mce error
On 11/13/2012 09:21 AM, Johnny Hughes wrote: On 11/13/2012 07:49 AM, Banyan He wrote: Just check the config to build the edac_mce module if you don't build it in. CONFIG_EDAC_MCE=y Make sure you have this in the /boot/config-. If he is running a standard CentOS kernel then he should have CONFIG_EDAC_MCE=y. On 2012-11-13 8:12 PM, Ted Miller wrote: During booting of Centos6 I see an error message that goes something like: Starting mcelog daemon [FAILED] AMD Processor family 15: Please load edac_mce_amd module. CPU is unsupported The only helpful information I have found is in the preview of https://access.redhat.com/knowledge/solutions/158503. I don't have a RedHat account, so don't know if they have a real solution. I know that mce has to do with logging certain microprocessor errors. 1. How important is this 2. Is there anything I should do, except wait for a bug fix sometime? Ted Miller Elkhart, IN What is does this command say: uname -r Install is 100% stock, off Minimal Install disk, then added groups for Desktop. Up to date. [tmiller@office04]$uname -r 2.6.32-279.14.1.el6.x86_64 Then I tried the command the web page has (I see my error during bootup) [root@office04 Documents]# /etc/init.d/mcelogd start [root@office04 Documents]# /etc/init.d/mcelogd status Checking for mcelog mcelog is stopped [tmiller@office04]$ls /dev/mc* /dev/mcelog so the device does exist [root@office04 Documents]# locate edac_mci_amd returned nothing, but I don't know if it should or not. I was reading the MAN page, and noticed See mcelog --help for a list of valid CPUs. so I tried it, and it lists: Valid CPUs: generic p6old core2 k8 p4 dunnington xeon74xx xeon7400 xeon5500 xeon5200 xeon5000 xeon5100 xeon3100 xeon3200 core_i7 core_i5 core_i3 nehalem westmere xeon71xx xeon7100 tulsa intel xeon75xx xeon7500 xeon7200 xeon7100 sandybridge sandybridge-ep All the CPUs I recognize in there are Intel, though I don't know all the nicknames. cat /proc/cpuinfo on my system shows (only first of two cores copied) processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 35 model name : Dual Core AMD Opteron(tm) Processor 180 stepping: 2 cpu MHz : 1000.000 cache size : 1024 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good pni lahf_lm cmp_legacy bogomips: 2009.40 TLB size: 1024 4K pages clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp Not the latest and greatest, and old enough I expected it to be supported by now. Any clues in all this? Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] display problem running under vmware
On 08/06/2012 02:57 PM, Steve wrote: I'm running an up-to-date CentOS 6 virtual machine in a VMWare player on a Windows box and I cannot set the display resolution to anything higher than 1280x720. Windows shows the screen resolution on this monitor to be 1920x1080. I do have VMWareTools installed although I'm not certain it is installed correctly. How can I tell? I'm no expert, but I do have a running version of Centos6 under VMWare. At first I thought that your logged error was due to problem with your VMWareTools install, but then I checked my install, and the control console says I don't have VMWareTools installed on that machine at all. It is version 8.8.4-743747. I'm not sure if this is a CentOS issue or a VMWare issue but I thought I'd start here. My Xorg.0.log shows this: [43.093] (II) LoadModule: vmware [43.095] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so [43.102] (II) Module vmware: vendor=X.Org Foundation [43.102]compiled for 1.10.4, module version = 11.0.3 [43.102]Module class: X.Org Video Driver [43.102]ABI class: X.Org Video Driver, version 10.0 [43.102] (II) LoadModule: vmwgfx [43.132] (WW) Warning, couldn't open module vmwgfx [43.132] (II) UnloadModule: vmwgfx [43.132] (II) Unloading vmwgfx [43.132] (EE) Failed to load module vmwgfx (module does not exist, 0) [43.133] (EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx [43.133] (II) vmware: Using vmwlegacy driver everything is fine. [43.133] (II) LoadModule: vmwlegacy My log looks similar to yours up to this point, but at this point my vmwlegacy driver loads and takes over. I have to assume that the reason you are not getting high resolution video modes is because Xwindows is falling back to some default driver. [43.136] (WW) Warning, couldn't open module vmwlegacy [43.136] (II) UnloadModule: vmwlegacy [43.136] (II) Unloading vmwlegacy [43.136] (EE) Failed to load module vmwlegacy (module does not exist, 0) [43.137] (EE) vmware: Unexpected failure while loading the vmwlegacy driver. Giving up. [43.137] (II) UnloadModule: vmware [43.137] (II) Unloading vmware [43.137] (EE) Failed to load module vmware (a required submodule could not be loaded, 136118924) Is this problem just a mismatch between CentOS and vmwware? Thanks, Steve more info: $ uname -r 2.6.32-279.2.1.el6.i686 but $ ls -d /usr/lib/vmware-tools/modules/binary/*2.6.32-279* ls: cannot access /usr/lib/vmware-tools/modules/binary/*2.6.32-279*: No such file or directory There are bld-2.6.32-24.whatever and bld-2.6.32-28.55-whatever files in /usr/lib/vmware-tools/modules/binary/ There is a legacy directory under /usr/lib/vmware-tools/modules/source/ and the source directory has a vmwgfx.tar file in it. # cat /proc/modules | grep vmware vmware_balloon 5811 0 - Live 0x... VMWare Player version 4.04 build 744019 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Looks like you may need to rebuild or download VMWareTools for your latest kernel upgrade, but that may not deal with your basic problem. The vmwlegacy video driver is located in the xorg-x11-drv-vmware package that Centos provides in the base repository. You probably need to install, update, or re-install that package. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.8 crash/freeze running VMware
On 06/28/2012 12:45 PM, Michael Eager wrote: Hi -- I have a server running CentOS 5.8. It has a 6-core AMD processor, 16Gb memory, and a RAID 5 file system. It serves as both a file server and to run several VMware virtual machines. The guest machines run Windows 7 and various versions of Linux. The system is running the latest version of VMware Workstation. Until recently, I started VMs using the VMware Workstation GUI. The system has been very stable and seldom crashes. Recently, I set up an init script to start several VMs at boot time using the vmrun command. This appeared to work correctly, but the system has become unstable, freezing at various times. When the system freezes, there is no console response and it does not respond to a ping. There is nothing in syslog to indicate any error. The script started 8 VMs. I've cut back to now running 4 VMs and the system appears stable. Is there some relation between the number of cores and the number of VMs one can run? Is there something else which might cause the system to crash when running multiple VMs? Any suggestions to identify why the system crashed? Are you staggering the startups of the VMs? The server may be choking trying to boot 8 machines at once. I suggest starting a VM every 30-60 seconds, so that you aren't trying to boot all 8 at once. Don't know if it will help, but it might. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS-virt] vmware datastore mounted by NFS
I recently moved my vmware datastore from a local disk partition to an NFS share (in preparation for some other system changes that are still in progress). In the init sequence, vmware loads before the NFS share gets mounted, so it checks the datastore, and finds it empty. Makes it hard to start a VM. :( As a temporary fix, I added the line service vmware restart to rc.local, but I consider that a kludge. I find in rc3.d the files S19vmware and S25netfs. Questions: 1. If I change S19vmware to S27vmware, that should bring up the NFS file system before VMware starts, correct? 2. Are the NFS file systems mounted at that point in init? 3. If I change the boot order of vmware, will vmware change it back to 19 next time I have to run vmware-config.pl? Ted Miller Indiana, USA ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS] Appliance platform
Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. This would be more interesting for the playback end (no audio input capability is visible) if this were a one-time project, but we will probably have to supply more pairs in the future, so a more stable platform is more interesting. Price is certainly right, but unlikely to hold, as they are charging $200 for their SoundBridge. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
fred smith wrote: On Sun, Nov 09, 2008 at 12:15:05AM -0500, Ted Miller wrote: Joseph L. Casale wrote: I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Given the rest of the requirements, I would say something like: http://www.mini-box.com/M200-LCD-Enclosure By the time I fully configure the box it is slightly over my target price, but given the user interaction on the front panel, I think I can live with that. Have you used this box, or others from mini-box? How about something like the Asus eeebox? Looks like it would work, but for my purposes it looks like the mini-box units fit better, and at a lower price. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Les Mikesell wrote: Ted Miller wrote: Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. This would be more interesting for the playback end (no audio input capability is visible) if this were a one-time project, but we will probably have to supply more pairs in the future, so a more stable platform is more interesting. Price is certainly right, but unlikely to hold, as they are charging $200 for their SoundBridge. The netflix box is new hardware - and there doesn't seem to be much reason for promotional pricing. They claim that they will release an SDK soon for anyone who wants to generate their own channel (but not opensource the box itself). But as long as you can send some standard-protocol stream, why worry about matching the hardware? According to their FAQ the only standard-protocol stream it understands is Windows Media formatted files from Netflix content servers, and according to the manual they are using Macrovision DRM software to control access. That kind of approach is not compatible with the project I am working on. We will encode with MP3, Ogg, or FLAC among other possibilities. A sip speakerphone might even work as an endpoint. This is not to play background music at somebody's desk. This application literally puts a company out of business any time it is not working. It has to recover automatically and immediately following the removal of every possible problem that would interrupt the audio stream. It will eventually be equipped with a USB drive full of MP3 material so be a temporary substitute in case the main audio source is lost. Once I go to the work to get it right, I don't have the time to go back and rework it every time a consumer-type platform does a revision. I want something that I can get working and know that six months from now, when I get a request for another system, I can order the hardware, program it up, and send it out the door. Here's an interview with the roku CEO: http://www.youtube.com/watch?v=7z3zUCiELcI At the moment Firefox doesn't feel like playing any Flash, so I can't see this. The chumby is probably more hackable, but it already plays network streams. Same problems with persistence in the face of obstacles. My guess is that if the stream ends the Chumby is quite content to sit there silently. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Les Mikesell wrote: Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. Or this: perhaps a little too cutesy, but... http://www.chumby.com/ Cute little thing. Would probably work, but I have my doubts whether it would come back to life after a power failure, persistently retry an interrupted connection, etc, and with an ARM inside, I have no idea how hackable it would be. An interesting hardware platform, if it is programmable. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Appliance platform
I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Need: OS: Centos 5 Hardware Cost: less than $250 USD USB: at least 2 (not including keyboard) Memory: at least 128K Storage: prefer flash (USB stick OK) Network: 10 Base T Want: Height: less than 4 (fit on a 3RU shelf) Width: less than 10 (slide keyboard beside CPU on rack shelf)\ Display: 80x25 (or better) LCD on front of case (comes that way or I mount it there) Network: 2 x 10 Base T Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
John R Pierce wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box leased audio circuit meaning ISDN ? Typo, a leased data circuit. Working with 256K per audio stream. your $250 target price includes not only the built in flat panel and audio adapters but also the ISDN adapter? No, $250 price tag includes only the computer, not the audio adapter or the display. sounds like you're trying to reinvent the Telos Zephyr. http://www.telos-systems.com/?/xport/default.htm Not really. The Zephyr is a short term use unit, what I want will be installed and operate for years at a time, preferably without any operator interaction Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Joseph L. Casale wrote: I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Given the rest of the requirements, I would say something like: http://www.mini-box.com/M200-LCD-Enclosure By the time I fully configure the box it is slightly over my target price, but given the user interaction on the front panel, I think I can live with that. Have you used this box, or others from mini-box? Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] firefox is incredibly unstable
sbeam wrote: does anyone else have major probs with Firefox as installed on CentOS5? ever since the RPM for FF3 came out it has been crashing daily. Usually when I use Save As... or Browse... or anything else that brings up the Gnome file picker. After the crash I re-start then the file picker works for a while. Sometimes it just takes scrolling or click+drag an image or some other random action. BANG your'e dead. Very frustrating. Now today it is just crashing randomly, I am not even touching it. Maybe one of my plugins, I know. I use KDE (which may change my results). I was having problems with Firefox crashing (exiting w/o warning) on most advertiser-supported pages. Page would start loading, then FF would just be gone. FF worked great on clean pages (like CentOS.org). Tracked this back to the Flash player from Adobe. Disabled it, and problem went away. Ted Miller I guess I will run it with debugger/strace. but does anyone else see this? $ rpm -qa firefox firefox-3.0.2-3.el5.centos $ cat /etc/redhat-release CentOS release 5.2 (Final) $ rpm -qa kdebase kdebase-3.5.4-18.el5.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] pnm2ppa gone, in any repo?
Ted Miller wrote: I can't get my HP DeskJet 712C to print via cups. I believe the reason is that according to http://www.redhat.com/archives/epel-devel-list/2007-May/msg2.html the pnm2ppa filter got dropped between RHEL 4 and RHEL 5, or between Fedora 6 and RHEL 5, depending on how you look at it. Foomatic still generates the pnm2ppa.xml file, but there is no pnm2ppa binary filter installed, so any print attempt ends with an error message. I don't find that any repo I have installed has picked this up for x86_64 architecture. Do I need to add a repo? Has this not been an issue for enough people that someone has made it available from a repo? Right now this has been a show-stopper on upgrading from Centos 4 to 5, as it is hard to use the workstation without a printer. Any help appreciated. Since no repo seems to be interested in adding this printer driver, I installed the one included with Fedora 6 (rpm doesn't care what repo it came from, if you can get the URL right), and so far it is working. At least I can start using my Centos 5 workstation. It would be nice if someone would add this to some repo somewhere, so it could be installed by yum. Unfortunately, it only supports a half dozen printers, so I guess it is hard to get anyone motivated. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] pnm2ppa gone, in any repo?
I can't get my HP DeskJet 712C to print via cups. I believe the reason is that according to http://www.redhat.com/archives/epel-devel-list/2007-May/msg2.html the pnm2ppa filter got dropped between RHEL 4 and RHEL 5, or between Fedora 6 and RHEL 5, depending on how you look at it. Foomatic still generates the pnm2ppa.xml file, but there is no pnm2ppa binary filter installed, so any print attempt ends with an error message. I don't find that any repo I have installed has picked this up for x86_64 architecture. Do I need to add a repo? Has this not been an issue for enough people that someone has made it available from a repo? Right now this has been a show-stopper on upgrading from Centos 4 to 5, as it is hard to use the workstation without a printer. Any help appreciated. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network FS w/o user setup
Les Mikesell wrote: Ted Miller wrote: After this, a windows user mapping a samba-shared directory from your office2 machine will have the same access as the same user logged in locally. There are the same issues with directories that users share with group permissions, but samba offers some extra options to force owner/group/permissions on newly created files that will help. That is something I need to fix, because I do have some issues with group accessed files, where certain operations require me to log in as root and run a script that cleans up the file ownership, otherwise some users can no longer access the files. Any pointers on where to find documentation on this? Newly created files default to having the group ownership of the primary group of the user creating it, and the RH scheme is to give every user his own group. You can do something like this in the samba share configuration: valid users = @groupname force group = groupname force create mode = 0775 force directory mode = 0775 How about if I just change the primary user group to being the user group that I want their files' group ownership set to? Would that just take care of it on the group side? Then I could just set the force create mode and force directory mode. You can find samba docs here: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/ I have been using 'share' mode, but a little reading makes it sound like I should switch to 'user' mode to make my life easier. I have been adding various user permission lines to each share. Will they keep working if I just comment out those lines? Share vs. user doesn't make a difference in how things work after the connection is established - it controls when authentication happens. Share mode just lets you browse the share list before authenticating and you can connect to different shares with different credentials. You might look at webmin, since it has an option to maintain unix and samba passwords at the same time and it can also keep multiple machines in sync. Does anyone maintain webmin for Centos? I have most of the common repos hooked to yum, but webmin draws a blank. This is one of the reasons I usually install k12ltsp instead of the stock centos distribution (you don't lose anything, it just adds some extras and makes the updates yummable). You probably can grab the RPM directly from the webmin site. Can I just add a k12ltsp repo and use their webmin? There is also the issue that users who have root access to their own workstation can pretend to be any user over NFS. Not an issue in this situation, users do not have root access. Do they have the same uid/gid, and group lists on their workstations as on the file server? yes, got that straight a while back. Centralizing authentication will help if you have many users and password changes. But that can be as simple as turning on domain controller emulation on samba on your office2 server and configuring everything else (windows and Linux) to use it. Any pointers to where I could learn the implications/pluses/minuses of that? It might be useful with my multiple machines (real and virtual) per user. Samba authentication for linux just checks that a login/password match. You still have to create the users and if you use NFS, make sure the uid/gid's are all the same. For windows it works like a domain controller and once you've logged in as a windows user, you automatically authenticate to the samba shares as the same user and the server can force login scripts to run on the client. I looked at the How-To for domain control, and it looks interesting. I'll have to dig into that further. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network FS w/o user setup
Les Mikesell wrote: Ted Miller wrote: This is one of the reasons I usually install k12ltsp instead of the stock centos distribution (you don't lose anything, it just adds some extras and makes the updates yummable). You probably can grab the RPM directly from the webmin site. Can I just add a k12ltsp repo and use their webmin? That should work. Now, if I can just figure out where they have their repos. Their web site isn't too clear about that, but I guess they expect you to be using their distro, and it already includes all that in the default repo files, so no need to make it public. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Network FS w/o user setup
Johnny Hughes wrote: Ted Miller wrote: Johnny Hughes wrote: Ted Miller wrote: Is there a file system + configuration that will let me share a directory, and anyone who has access to something in that directory on the server will also have access (and lack of access) to the same files from the client? Clients will be Centos5, Win2K, WinXP. Server is Centos5. To put it another way, all users have accounts on the server. I don't want to have to set up ANY user information on the server, other than what I set up to control local access. I just want to say Share /vmware and have it available, to the same users who can access it locally. With Samba I have to maintain duplicate user lists, password lists, and share access lists. I have not been able to find a clear instructions on how NFS4 handles this, but what I found didn't seem any better than Samba. I don't mind implementing ACLs on the server if it will do what I need, but I can't find anything that says it will save me any work either. Well, since you want to set up shares ... and since you want to share between Windows and Linux machines, and to share for windows you will need to use samba. Since you can also set up linux to use a samba client, that would probably be the best method to share these files ... if you expect to just oepn them via a file manager on all platforms. Is there a way to set up samba so that it just uses ACL information for permissions, instead of having to spell everything out for each share and each user? Well ... you would need to Join the Samba Server to your Windows Domain. If that domain is ADS (Active Directory Services) then it is a different procedure than if it is a WinNT type Windows Domain. This is getting well outside the range of complexity that I am looking for. If I add more detail, maybe something more suitable to my situation will suggest itself to members of the list. 1. This is a very small network, only one primary file server (office2). A second file server (RAIDer1) has only one shared directory, so is not really an issue. 2. Users log in primarily from Linux boxes, but have to run virtual Windows machines for some software, and also log in from Windows laptops. 3. office2 is set up with logins and home directories for all users, and directories are permissioned such that users can run programs on office2 (if needed) and directory permissions work right. 4. Some users don't have physical machines, but only have virtual machine(s) running on office2, which also need network access to office2 files. Because all the users and permissions already exist on office2, I would like those existing permissions to be reflected when the file system is shared, just the same as when it is accessed locally. To restate: my desire is that users, logins, and permissions be identical whether a user is logged into office2 or whether that user is using a network file share from another virtual or physical machine, running Linux or Windows. I would think there would be a market for a network file system where sharing a directory tree involved no more than assigning a network share name to it. If (and only if) you had access to the file locally, you now have access to it on the network. Very simple to administer, very simple to understand--one set of permissions (kept locally) works everywhere. From everything I have heard, a windows domain controller would be more work than it is worth for this size of project, as I am looking for something machine-scale, not enterprise scale. I hope this more clearly expresses my desires, even if only so that everyone can tell me to keep dreaming, because what I want doesn't exist--or in the open source tradition, quit dreaming and start coding. (Unfortunately I am still working on my first C++ lesson book.) Sorry I neglected this (and all other) threads for a week or more, as I had to learn how to do video editing to rescue an otherwise disastrously unusable video project for my employer. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Trouble brewing in dmesg... any ideas?
Rob Townley wrote: dmesg dmesg.log or cd /var/log/ ls -lat | more i liked the old days when dmesg, /var/log/messages and other syslog stuff was displayed automatically on a tty console. I tried a softlink from /var/log/messages to tty9, but didn't have any luck. Would it require a tee or a mod to dmesg? One of those rare occasions when I know the answer, so I'll share. Had to go look at my /etc/syslog.conf file to remember the magic incantation: # Log everything to tty12 # Added by TCM on 24 Nov 06 *.* /dev/tty12 This puts all that stuff on Ctrl-Alt-F12 where it belongs. Enjoy. Ted Miller On Wed, Jun 18, 2008 at 6:38 PM, Tim Nelson [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Unfortunately I can't see the top of the errors as there are too many... :-( I'll throw a console on it and start logging. Is anyone else seeing this sort of activity? I'm running the latest stock kernel available using yum from the repos. I'm not using any additional repos(rpmforge, epel, etc...) and I don't have any custom compiled modules. This box is a fresh installation running bind, apache, and mysqld. Tim Nelson Systems/Network Support Rockbochs Inc. (218)727-4332 x105 - Original Message - From: nate [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] To: centos@centos.org mailto:centos@centos.org Sent: Wednesday, June 18, 2008 6:19:07 PM GMT -06:00 Guadalajara / Mexico City / Monterrey Subject: Re: [CentOS] Trouble brewing in dmesg... any ideas? Tim Nelson wrote: There are others with various app names besides vi including httpd, named, sftp-server, etc.. Is this an imminent hardware failure? Do I have kernel issues? I've checked the system with lm_sensors and temps are perfectly normal. Also, performance and operation seems to be fine. Even with these errors, my services are running without any hiccups. HELP! :-) Would need to see the full error but it sounds like a kernel oops. For me at least the useful info would be at the top of the error which wasn't included in your email. Worst case, configure your system with a serial console and capture the error using a terminal emulator on another machine plugged into your serial console. nate ___ CentOS mailing list CentOS@centos.org mailto:CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org mailto: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] Network FS w/o user setup
Thanks for the reply. I think we are making progress, see comments/questions interspersed below. Les Mikesell wrote: Ted Miller wrote: Johnny Hughes wrote: Well ... you would need to Join the Samba Server to your Windows Domain. If that domain is ADS (Active Directory Services) then it is a different procedure than if it is a WinNT type Windows Domain. This is getting well outside the range of complexity that I am looking for. If I add more detail, maybe something more suitable to my situation will suggest itself to members of the list. 1. This is a very small network, only one primary file server (office2). A second file server (RAIDer1) has only one shared directory, so is not really an issue. 2. Users log in primarily from Linux boxes, but have to run virtual Windows machines for some software, and also log in from Windows laptops. Virtual windows machines should be no different in terms of network connections, so you can ignore that distinction. 3. office2 is set up with logins and home directories for all users, and directories are permissioned such that users can run programs on office2 (if needed) and directory permissions work right. Is samba running there? If so, you are mostly done. Yes, at the moment I have Samba running, but apparently not properly configured. I am also in the process of moving this machine from Centos 4 to Centos 5, and am trying to do it better this time. At the moment office2 is dual boot, still defaulting to C4. Because all the users and permissions already exist on office2, I would like those existing permissions to be reflected when the file system is shared, just the same as when it is accessed locally. To restate: my desire is that users, logins, and permissions be identical whether a user is logged into office2 or whether that user is using a network file share from another virtual or physical machine, running Linux or Windows. I would think there would be a market for a network file system where sharing a directory tree involved no more than assigning a network share name to it. If (and only if) you had access to the file locally, you now have access to it on the network. Very simple to administer, very simple to understand--one set of permissions (kept locally) works everywhere. This mostly just works if you deal with a few complications that on a small scale can be worked around without too much trouble. The first complication is that you need to maintain passwords separately for Linux and Windows because they are stored with different encryption. If you aren't already using samba, you need to 'smbpasswd -a username' for each user and input the password (or go around and let them type it themselves). Done at this point. After this, a windows user mapping a samba-shared directory from your office2 machine will have the same access as the same user logged in locally. There are the same issues with directories that users share with group permissions, but samba offers some extra options to force owner/group/permissions on newly created files that will help. That is something I need to fix, because I do have some issues with group accessed files, where certain operations require me to log in as root and run a script that cleans up the file ownership, otherwise some users can no longer access the files. Any pointers on where to find documentation on this? Windows/samba connections are treated as single users with all access through that connection treated with the permissions of the matching linux login. With samba in 'user' mode, the authentication is done before you can even see the shares and even if you have multiple shares mapped from the server they must all be as the same user. There is also a 'share' mode where you authenticate separately per connection. I have been using 'share' mode, but a little reading makes it sound like I should switch to 'user' mode to make my life easier. I have been adding various user permission lines to each share. Will they keep working if I just comment out those lines? From everything I have heard, a windows domain controller would be more work than it is worth for this size of project, as I am looking for something machine-scale, not enterprise scale. You might look at webmin, since it has an option to maintain unix and samba passwords at the same time and it can also keep multiple machines in sync. Does anyone maintain webmin for Centos? I have most of the common repos hooked to yum, but webmin draws a blank. The other complication is that if you also want to share files via NFS, the permissioning mechanism is entirely different. NFS just looks at the uid/gid/modes like a local file, so you need to make the password files consistent across all the Linux boxes. Does NFS work with windows? I have wasted considerable time on Google trying to answer that question, and the only answer I find
Re: [CentOS] Network FS w/o user setup
Johnny Hughes wrote: Ted Miller wrote: Is there a file system + configuration that will let me share a directory, and anyone who has access to something in that directory on the server will also have access (and lack of access) to the same files from the client? Clients will be Centos5, Win2K, WinXP. Server is Centos5. To put it another way, all users have accounts on the server. I don't want to have to set up ANY user information on the server, other than what I set up to control local access. I just want to say Share /vmware and have it available, to the same users who can access it locally. With Samba I have to maintain duplicate user lists, password lists, and share access lists. I have not been able to find a clear instructions on how NFS4 handles this, but what I found didn't seem any better than Samba. I don't mind implementing ACLs on the server if it will do what I need, but I can't find anything that says it will save me any work either. Well, since you want to set up shares ... and since you want to share between Windows and Linux machines, and to share for windows you will need to use samba. Since you can also set up linux to use a samba client, that would probably be the best method to share these files ... if you expect to just oepn them via a file manager on all platforms. Is there a way to set up samba so that it just uses ACL information for permissions, instead of having to spell everything out for each share and each user? Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM VG disappears after kernel upgrade on 5.1
Ted Miller wrote: I finally got 5.1 to boot after install (install couldn't keep the disk IDs from getting crossed up, so at reboot partitions were not where install said they would be). I needed to compile vmware and nvidia modules, but decided to upgrade first. Told yumex to upgrade everything. When I went to reboot the VG with / on it is not seen by the kernel. (root partition is LVM on top of RAID 1). If I go back to the old kernel everything boots fine. On the new kernel only the VG on sdc is seen by LVM. 1. How do I persuade the new kernel to notice the VG with my root partition on it. Never did persuade that kernel (x.13) to see my VG. When I downloaded the x.14 kernel everything worked just fine. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM VG disappears after kernel upgrade on 5.1
Amos Shapira wrote: On Fri, Mar 7, 2008 at 5:07 PM, Ted Miller [EMAIL PROTECTED] wrote: I finally got 5.1 to boot after install (install couldn't keep the disk IDs from getting crossed up, so at reboot partitions were not where install said they would be). I needed to compile vmware and nvidia modules, but decided to upgrade first. Told yumex to upgrade everything. When I went to reboot the VG with / on it is not seen by the kernel. (root partition is LVM on top of RAID 1). If I go back to the old kernel everything boots fine. On the new kernel only the VG on sdc is seen by LVM. 1. How do I persuade the new kernel to notice the VG with my root partition on it. Not sure this is related but I suppose a vgscan wouldn't hurt, would it? Kind of hard to do a vgscan when a kernel panic occurs after about 20 lines of boot messages. As soon as it tries to pivot mount the root directory I get a kernel panic, because the root partition is on the VG it doesn't see. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Centos5-live kernel panic?
I am fairly sure that I had gotten this to work before, and I know that the Centos4-live disk worked OK, but now (maybe since I upgraded BIOS) I get this sequence after booting the live cd: Creating /var in RAM ... Done Found Centos-live.sqfs but couldn't mount it: Linking /usr to /centos-live/usr /linuxrc: 1208: [: not found Freeing unused kernel memory: 296K freed Write protecting the kernel read-only data: 684K Kernel panic - not syncing: No init found Try passing init= option to kernel So far I: 1. checked md5 of downloaded .iso 2. burned another copy of CD w/ verify after burn using KD3 3. tried CD in a VMWare machine, and it boots up fine 4. tried failsafe boot option I am guessing that the problem goes back to the Found centos-live.spfs but couldn't mount it line, as this mounts OK on the VMWare machine. In case the hardware layout is confusing it, and I really do need to pass an init argument to it, my layout is: IDE 0 Master: None Slave: CD drive IDE 1 Master: CD drive Slave: hdd (windows 2000 boot) IDE 2 (SATA): sda IDE 3 (SATA): sdb IDE 4 (SATA): sdc MB is Gigabyte K8N Ultra 9 nVidia NForce 4 chipset F9c BIOS version AMD64 processor 1gb RAM Glad to supply other info if you tell me what you need and where to find it. Ted Miller Indiana ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Central file server advice please
John Bowden wrote: I have a Gygabyte GA-7N400 PRO2 with a 2.6 mHz Athlon cpu. I want to set up a central file storage for 2/3 users using 6/7 machines. A mixture of win2k, XP and various Linux distros (my home network). It will be used to store files, (docs, music and DVD ) for all of these machines, print server, (two ink-jets), mail server and later on a myth tv set up. Would SAMBA be the best option for the file and print serving ? Probably The mother board has 2 X IDE channels, 2 X IDE channels with raid and 2 X SATA raid channels, that's up to 10 hard drive devices. The IDE raid chip is a GigaRaid IT8212F chipset. It supports raid 0 or raid 1 and raid 0 + 1 and JBOD. The SATA raid is a Silicon Image Sil3512. It supports Raid 0 or 1. Would I get better speed performance using the chips to manage the raid or using software raid? Some digging on Google seems to show that the IT8212F chipset is a halfway hardware RAID that offers some performance improvement over software RAID. The Sil3512 chipset appears to be pure fakeraid, in which case you are better off putting it in non-RAID mode (in your BIOS) and using software RAID. Oh and I will be using the CentOS 5 install dvd. Any advice from the list would be appreciated. Thanks in advance, John The other consideration is migration. If your motherboard dies some night, you can take Linux software RAID disks, transplant them onto another motherboard, jump through the setup hoops, and be back in business (because the RAID is tied to Linux, not the motherboard). If you use the motherboard chips for RAID at all, that will not transfer to another motherboard (except possibly if you get another motherboard with the same chipset and BIOS). Even if you migrate in a non-failure situation, you will not be able to move the drives to another motherboard (mobo) until you either 1. copy the data to another drive somewhere install old drives on new mobo set up drives on new mobo in new RAID array re-sync drives copy data from temporary drive back onto array or 2. Set up new mobo with new drives Do initial setup/sync on new array copy entire drive contents from old machine to new machine over network Compared to connecting drives to a new mobo and having a new install of Linux recognize the array and set it up for you, there is quite a bit of difference in convenience. My cursory Google search did not give me any data about how much performance improvement you would get from the hardware in the ITF8212F chipset, as opposed to an all software solution. If mass throughput is not your primary goal (e.g. serving multiple video streams at once without any glitches), software RAID may take a little longer to set up at first (though I believe you can do it as part of your install, if you answer the questions right), it may be easier to live with later on. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos