[CentOS] making a new initrd
Hi, I built a new kernel for C7 that contains the required driver for a new motherboard we have here. I'd like to take this initramfs and rebuild it/modify it so that it is suitable for pxe booting. I have tried dracut -v --force --add "anaconda" initramfs.img # results in an image that is too large for tftp Or dracut --nofscks --nomdadmconf --nolvmconf --xz --no-early-microcode -m "anaconda" --force initramfs.img # kernel panics What steps should I be taking to create an initrd image suitable for pxe boot ? Thanks ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] apache mysterious 404 error
On 28/08/15 09:56, Tim Dunphy wrote: Hey Rodrigo, Thanks for your reply. Well those errors are pulled from the Chrome developer tools. I notice if I do a GET on that file using both all lower case as well as the upper case that's in the URL I get the same result: [root@aozwsls00019la apache2]# GET http://stage.theshopatmycompanystudios.com/mycopmanyStore/images/altImg.png !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title404 Not Found/title /headbody h1Not Found/h1 pThe requested URL /mycompanyStore/images/altImg.png was not found on this server./p /body/html [root@aozwsls00019la apache2]# GET http://stage.theshopatmycompanystudios.com/mycompanystore/images/altImg.png !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title404 Not Found/title /headbody h1Not Found/h1 pThe requested URL /mycpmpanystore/images/altImg.png was not found on this server./p /body/html This is how that file looks on the command line. I made a symlink to account for the change in case, because I realize that's relevant: -rw-r--r--. 1 daemon daemon 128 Aug 27 12:22 /var/www/nbcstore/images/altImg.png -rw-r--r--. 1 daemon daemon 128 Aug 27 12:22 /var/www/mycompanyStore/images/altImg.png Still not sure why I'm not able to do a GET on that and those other files. Appreciate your input tho! And any other advice is certainly welcome! Tim On Thu, Aug 27, 2015 at 7:42 PM, Rodrigo Maia rod.pm...@gmail.com wrote: Hi apache on GNU/Linux is case-sensitive samples: /var/www/mycomanystore/images/altImg.png /var/www/mycomanystore/images/Jimmy_485x1215_R2.jpg /var/www/mycomanystore/images/Jimmy_792x802_R2.jpg /var/www/mycomanystore/images/Jimmy_792x413_R2.jpg on browser : (index):1 GET http://stage.theshopatmycomany.com/mycomanyStore/images*/altImg.png try : (index):1 GET http://stage.theshopatmycomany.com/mycomanystore/images/altImg.png http://stage.theshopatmycomany.com/mycomanyStore/images*/altImg.png 2015-08-27 19:18 GMT-03:00 Tim Dunphy bluethu...@gmail.com: Hey guys, Just have a question about apache. Hoping to get an opinion on this. I've just setup a site under apache 2.4. And made sure that the document root setup in the vhost for the site I'm serving has permissions for the apache user. Yet some of the files are throwing a 404 error in a browser even tho they are clearly present and accounted for on the file system. For example, I'm getting this error: (index):1 GET http://stage.theshopatmycomany.com/mycomanyStore/images*/altImg.png 404 (*Not Found) (index):1 GET http://stage.theshopatmycomany.com/mycomanyStore/images*/Jimmy_485x1215_R2.jpg 404* (Not Found) (index):1 GET http://stage.theshopatmycomany.com/mycomanyStore/images*/Jimmy_792x802_R2.jpg 404* (Not Found) (index):1 GET http://stage.theshopatmycomany.com/mycomanyStore/images*/Jimmy_792x413_R2.jpg 404* (Not Found) And yet as I mentioned all those files are definitely there on the file system: [root@aozwsls00019la apache2]# ls -l /var/www/mycomanystore/images/altImg.png /var/www/mycomanystore/images/Jimmy_485x1215_R2.jpg /var/www/mycomanystore/images/Jimmy_792x802_R2.jpg /var/www/mycomanystore/images/Jimmy_792x413_R2.jpg -rw-r--r--. 1 daemon daemon128 Aug 27 12:22 /var/www/mycomanystore/images/altImg.png -rw-r--r--. 1 daemon daemon 260983 Jul 16 14:03 /var/www/mycomanystore/images/Jimmy_485x1215_R2.jpg -rw-r--r--. 1 daemon daemon 126628 Jul 16 14:00 /var/www/mycomanystore/images/Jimmy_792x413_R2.jpg -rw-r--r--. 1 daemon daemon 222568 Jul 16 13:56 /var/www/mycomanystore/images/Jimmy_792x802_R2.jpg And all those files have the correct ownership for apache: [root@aozwsls00019la apache2]# egrep -i user|group conf/httpd.conf | egrep -i -v -e '#' -e log -e module User daemon Group daemon All the files are owned by daemon:daemon!! So why on earth are these files giving a 404? This is my virtual host for the site: VirtualHost * ServerAdmin timothy.dun...@mycomany.com DocumentRoot /var/www/mycomanystore ServerName stage.theshopatmycomanystudios.com ServerAlias 173.213.219.48 ErrorLog logs/store_error_log LogFormat %h %l %u %t \%r\ %s %b common CustomLog logs/store_access_log common Directory /var/www/mycomanystore DirectoryIndex index.html AddHandler cgi-script .cgi Options -Indexes +FollowSymLinks +ExecCGI +Includes AllowOverride All Require all granted /Directory ExpiresActive On ExpiresDefault access plus 30 minute RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F] /VirtualHost Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos Do you get any
Re: [CentOS] What's up with Firefox/Thundrebird
On 28/11/14 16:42, Mark LaPierre wrote: On 11/24/14 21:17, Mauricio Tavares wrote: On Mon, Nov 24, 2014 at 9:03 PM, Mark LaPierre marklap...@gmail.com wrote: Hey All, Has anyone had trouble with Firefox/Thunderbird? When I log on if I start Thunderbird first then I can't start Firefox. Clicking on a link in an email fails to start Firefox. If I start Firefox before Thunderbird then hyperlinks in emails open a page in the existing Firefox instance. Other users on this same machine are having the same problems. This has been happening for that last several days. CentOS release 6.6 (Final) Linux mushroom.patch 2.6.32-504.1.3.el6.i686 #1 SMP Tue Nov 11 16:30:09 UTC 2014 i686 i686 i386 GNU/Linux Thunderbird 31.2.0 Firefox 31.2.0 I wonder if /var/log/messages has anything useful about this. Well, it has this to say: Nov 27 18:55:46 mushroom kernel: firefox[3418]: segfault at 0 ip (null) sp bf95651c error 14 Nov 27 18:55:47 mushroom abrtd: Directory 'ccpp-2014-11-27-18:55:47-3418' creation detected Nov 27 18:55:47 mushroom abrt[3439]: Saved core dump of pid 3418 (/usr/lib/firefox/firefox) to /var/spool/abrt/ccpp-2014-11-27-18:55:47-3418 (24776704 bytes) Nov 27 18:55:48 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory Nov 27 18:55:49 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem directory Nov 27 18:55:49 mushroom abrtd: '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem directory Nov 27 18:55:50 mushroom abrtd: '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem directory Nov 27 18:55:50 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem directory Nov 27 18:55:51 mushroom abrtd: '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem directory Nov 27 18:55:51 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem directory Nov 27 18:55:52 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem directory Nov 27 18:55:52 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem directory Nov 27 18:55:53 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem directory Nov 27 18:55:53 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory Nov 27 18:55:53 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem directory Nov 27 18:55:54 mushroom abrtd: '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem directory Nov 27 18:55:54 mushroom abrtd: '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem directory Nov 27 18:55:55 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem directory Nov 27 18:55:55 mushroom abrtd: '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem directory Nov 27 18:55:56 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem directory Nov 27 18:55:56 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem directory Nov 27 18:55:57 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem directory Nov 27 18:55:57 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem directory Nov 27 18:58:33 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory Nov 27 18:58:33 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem directory Nov 27 18:58:34 mushroom abrtd: '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem directory Nov 27 18:58:34 mushroom abrtd: '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem directory Nov 27 18:58:35 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem directory Nov 27 18:58:35 mushroom abrtd: '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem directory Nov 27 18:58:36 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem directory Nov 27 18:58:36 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem directory Nov 27 18:58:36 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem directory Nov 27 18:58:37 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem directory Nov 27 18:58:39 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory Nov 27 18:58:39 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem directory Nov 27 18:58:40 mushroom abrtd: '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem directory Nov 27 18:58:40 mushroom abrtd: '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem directory Nov 27 18:58:41 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem directory Nov 27 18:58:41 mushroom abrtd:
Re: [CentOS] What's up with Firefox/Thundrebird
On 28/11/14 16:53, Mark LaPierre wrote: On 11/28/14 00:47, Philip Manuel wrote: On 28/11/14 16:42, Mark LaPierre wrote: On 11/24/14 21:17, Mauricio Tavares wrote: On Mon, Nov 24, 2014 at 9:03 PM, Mark LaPierre marklap...@gmail.com wrote: Hey All, Has anyone had trouble with Firefox/Thunderbird? When I log on if I start Thunderbird first then I can't start Firefox. Clicking on a link in an email fails to start Firefox. If I start Firefox before Thunderbird then hyperlinks in emails open a page in the existing Firefox instance. Other users on this same machine are having the same problems. This has been happening for that last several days. CentOS release 6.6 (Final) Linux mushroom.patch 2.6.32-504.1.3.el6.i686 #1 SMP Tue Nov 11 16:30:09 UTC 2014 i686 i686 i386 GNU/Linux Thunderbird 31.2.0 Firefox 31.2.0 I wonder if /var/log/messages has anything useful about this. Well, it has this to say: Nov 27 18:55:46 mushroom kernel: firefox[3418]: segfault at 0 ip (null) sp bf95651c error 14 Nov 27 18:55:47 mushroom abrtd: Directory 'ccpp-2014-11-27-18:55:47-3418' creation detected Nov 27 18:55:47 mushroom abrt[3439]: Saved core dump of pid 3418 (/usr/lib/firefox/firefox) to /var/spool/abrt/ccpp-2014-11-27-18:55:47-3418 (24776704 bytes) Nov 27 18:55:48 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory directory Nov 27 18:58:42 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem directory Nov 27 18:58:42 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem directory Nov 27 18:58:43 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem directory Nov 27 18:58:43 mushroom abrtd: New problem directory /var/spool/abrt/ccpp-2014-11-27-18:55:47-3418, processing Nov 27 18:58:43 mushroom abrtd: Sending an email... Nov 27 18:58:43 mushroom abrtd: Email was sent to: root@localhost Nov 27 20:37:13 mushroom kernel: firefox[4623]: segfault at 0 ip (null) sp bff5014c error 14 in libgdk_pixbuf-2.0.so.0.2400.1[101000+1f000] Nov 27 20:37:14 mushroom abrtd: Directory 'ccpp-2014-11-27-20:37:13-4623' creation detected Nov 27 20:37:14 mushroom abrt[4644]: Saved core dump of pid 4623 (/usr/lib/firefox/firefox) to /var/spool/abrt/ccpp-2014-11-27-20:37:13-4623 (24776704 bytes) Nov 27 20:37:15 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory Nov 27 20:37:15 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem directory Nov 27 20:37:16 mushroom abrtd: '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem directory Nov 27 20:37:16 mushroom abrtd: '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem directory Nov 27 20:37:17 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem directory Nov 27 20:37:17 mushroom abrtd: '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem directory Nov 27 20:37:18 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem directory Nov 27 20:37:18 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem directory Nov 27 20:37:18 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem directory Nov 27 20:37:19 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem directory Nov 27 20:37:19 mushroom abrtd: '/var/spool/abrt/ccpp-2014-02-11-16:02:36-1629' is not a problem directory Nov 27 20:37:20 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-23:19:10-4396' is not a problem directory Nov 27 20:37:20 mushroom abrtd: '/var/spool/abrt/ccpp-2014-06-30-17:11:34-2654' is not a problem directory Nov 27 20:37:21 mushroom abrtd: '/var/spool/abrt/ccpp-2014-03-28-18:15:19-1171' is not a problem directory Nov 27 20:37:21 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-10:17:08-15120' is not a problem directory Nov 27 20:37:22 mushroom abrtd: '/var/spool/abrt/ccpp-2014-04-03-16:45:05-30972' is not a problem directory Nov 27 20:37:22 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:30:44-9738' is not a problem directory Nov 27 20:37:23 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-22-17:29:13-25239' is not a problem directory Nov 27 20:37:23 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-21-21:02:25-12341' is not a problem directory Nov 27 20:37:23 mushroom abrtd: '/var/spool/abrt/ccpp-2014-11-24-20:32:38-11139' is not a problem directory Nov 27 20:37:44 mushroom kernel: firefox[4939]: segfault at 0 ip (null) sp bfbdceac error 14 in libgdk_pixbuf-2.0.so.0.2400.1[101000+1f000] Nov 27 20:37:45 mushroom abrtd: Directory 'ccpp-2014-11-27-20:37:44-4939' creation detected Nov 27 20:37:45 mushroom abrt[4960]: Saved core dump of pid 4939 (/usr/lib/firefox/firefox) to /var/spool/abrt/ccpp-2014-11-27-20:37:44-4939 (24780800 bytes) Nov 27 20:37:48 mushroom kernel: firefox[5057]: segfault at 0 ip (null) sp bfc36a5c error 14 in libgdk_pixbuf-2.0.so
Re: [CentOS] Finally.... CentOS on iMac core 2
- Original Message - From: Wes James compte...@gmail.com To: CentOS mailing list centos@centos.org Sent: Saturday, 23 November, 2013 12:03:15 PM Subject: [CentOS] Finally CentOS on iMac core 2 I've been trying several combinations of OSX, CentOS to try and get CentOS installed on an old iMac. I finally first installed OS X, then installed CentOS in the open space after OS X. With refit installed and selecting CentOS, it starts booting but get a screen that a boot device can't e found. So I then install Xubuntu with the option to replace OS X. After Xbuntu is installed and then do a reboot the grub screen comes up and I can now select CentOS and it will boot. Can someone explain why this is? I can't just install CentOS on the whole disk, as I get the blinking mac disk with question mark. Thanks, -wes ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos this is due I believe due to the partitioning scheme of the iMac, using GPT, and as grub does not support GPT partitions. you have to use grub2. Hence, why xubuntu works. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] compile paramaters
- Original Message - From: Ljubomir Ljubojevic cen...@plnet.rs To: CentOS mailing list centos@centos.org Sent: Friday, 9 August, 2013 9:50:21 PM Subject: Re: [CentOS] compile paramaters On 08/09/2013 12:54 PM, Rita wrote: hi, I am trying to find out what compile flags and environment variables were used when compiling the python package. Is there an easy way of figuring this out? perhaps a website which shows the RPM specs? You can download and unpack src.rpm pf the python package and look at .spec file, it should be there. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hi I used export CPPFLAGS=-I/usr/lib64/libffi-3.0.5/include export CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv ./configure --prefix=/usr/local --includedir=/usr/include --enable-unicode=ucs4 --enable-shared --with-system-ffi --with-system-expat --with-valgrind When compiling python 2.7 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] script network reconfig after Centos 5-6 upgrade?
On 18/07/13 07:12, Les Mikesell wrote: I need to upgrade a bunch of centos 5 servers to 6.x in the near future, mostly keeping the same connectivity and functionality.Are there any tools that will examine a running 5.x box and produce the appropriate /etc/udev/rules.d/70-persistent-net.rules (etc). to make the same box come up with the same interface names with the same IPs it had before? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos We use a combination of puppet and extract, http://www.openfusion.net/sysadmin/extract ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] selinux and tinydns
Hi all, tinydns starts up fine, selinux reports no issues (now after a day of clearing errors). If I turn selinux back to permissive in /etc/sysconfig/selinux, and reboot, tinydns responds to queries. If I turn selinux back to enforcing and reboot, tinydns does not respond. Monitoring /var/log/messages shows no errors from iptables/shorewall or selinux. The only way I can find an error is performing the following:- netstat -npl | grep tinydns # gives me the process id strace -f -p process id From this I can see that tinydns is reporting an error of:- recvfrom(3, 0x606720, 513, 0, 0x7fffc7321ec0, 0x7fffc7321edc) = -1 EACCES (Permission denied) I've got setroubleshoot set to send me an alert on first occurrence of an issue, so far none received. Does anyone know how I should proceed from here ? Thanks Phil. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E17 on CentOS6?
I run E17. It is beta so just be aware you will have issues. I find it to be fast and at the moment relatively stable. There is no tab support in terminology, but I used screen to get round that issue. Regards - Original Message - From: James Freer jessejazza3...@gmail.com To: CentOS mailing list centos@centos.org Sent: Wednesday, 9 January, 2013 9:46:10 PM Subject: Re: [CentOS] E17 on CentOS6? On Wed, 9 Jan 2013, wwp wrote: Hello there, does anyone have experience setting up Enlightenment E17 on a CentOS6 system? I know that the RPM's are available from: http://download.opensuse.org/repositories/X11:/Enlightenment:/Factory/CentOS_CentOS-6/x86_64/ but don't have a single clue about how to switch from my GNOME desktop to it once installed. Regards, -- wwp It would help if you said why you want to consider E17 - i had a bitter experience with it. I use xfce for a lighter desktop which i much prefer now to gnome. You will be compiling and doing the testing with E17 - xfce is well tried and proven straight from the install disk (you're bound to have some conflicts and problems somewhere installing E17). Could try several desktop and see which you prefer - selection is always on the login window under 'session'. james ___ 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] 6.x - find interface with link up
On 12/17/2011 05:33 AM, Les Mikesell wrote: On Fri, Dec 16, 2011 at 11:23 AM, Marko Vojinovicvvma...@gmail.com wrote: On Thursday 15 December 2011 16:04:35 Les Mikesell wrote: On Thu, Dec 15, 2011 at 3:39 PM,m.r...@5-cent.us wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? Dumb question: in /etc/sysconfig/network-scripts, do the ifcfg-* have HWADDRs? They do, but the case I want to cover is where an existing server is cloned, or the disk has been moved from a failed chassis to a spare. And in this case the existing files will be wrong, and the nics will be named more or less randomly. Assume the hands-on operators don't know much about linux and you can't actively help until they get at least one of the right IP's on the right NIC. With 5.x I'd use mii-tool to find the connected interface (connecting one wire at a time if necessary), then ifconfig on that interface to get the hwaddr, then edit that into the ifcfg-* file for the names I want the active NICs to have, and reboot. That's awkward enough to ask someone to do who already prefers windows, and it looks like it just got harder by having to explicitly run mii-tool for each possible interface (and we always have 4 to 6 per box). There has to be a better way. I thought 6.1 was going to have a new NIC name convention but I haven't had time to look into it and have to make something work now. Your situation is the textbook usecase example for biosdevname (http://linux.dell.com/biosdevname). It is a way to consistently name the network devices according to their physical location in a computer. For example, a typical NIC would not have a name eth1, but p2p3 (which means port 3 of the NIC in PCI slot 2) or em2 (which is 2nd ethernet port on the motherboard). So once the hands-on operator plugs a cable into a particular port, you immediately know the corresponding interface name that the system will use for that connection. And in addition, this is MAC-address independent, so moving the hard drive from one box to the other requires basically no reconfiguration (as long as the operator plugs the same cables into the same sockets). The biosdevname was first introduced in Fedora 15 (http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming), ie. only after RHEL 6 was already rolled out. Apparently, it has to cooperate intimately with the kernel, udev, initscripts, dracut, anaconda, kickstart, etc., --- so it is not just a userland app which one could yum install in a trivial way. Therefore, somehow I doubt that CentOS 6 will ever see biosdevname implemented (maybe in the CentOSplus kernel and a use at your own risk label?), since it involves too many system changes and breaks backward compatibility. But RHEL 7 is almost certainly going to have it, since this is actually the proper (and permanent) solution to the problem you have. I thought I saw it mentioned in release notes for RHEL 6.1 but it said something about support being limited to certain Dell models. I'm not sure it is going to be perfect anyway, since most of the machines in question have Broadcom NICs on the motherboards and the ones we actually use are on Intel cards that may not exactly match types or slot positions. But I'd settle for something that had something to do with the slot position... http://www.pkje.net/meander/?p=115 - this may help on the device ordering for 6.x if you know the mac addresses then you can fix the names of the interfaces ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CR repo - version issue
On 12/14/2011 07:26 PM, Philippe Naudin wrote: Le mer 14 déc 2011 12:17:36 CET, Philip Manuel a écrit: You do have i686 packages on that machine ... that is what the error you posted is. create (or edit( a file called: /root/.rpmmacros put this in the that file as the top line: %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} Then do the command: rpm -qa | grep i[3,6]86 That should show you the i686 packages that are installed on the machine. %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} rpm -qa | grep i[3,6]86 :~# Nothing other than x86_64 packages Maybe also, in the case there is something broken in the yum database : yum list installed '*i[3456]86' yum list installed '*i[3456]86' base | 1.2 kB 00:00 cr | 1.9 kB 00:00 dag | 1.9 kB 00:00 local | 2.6 kB 00:00 of | 951 B 00:00 updates | 1.1 kB 00:00 Error: No matching Packages to list ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CR repo - version issue
On 12/14/2011 11:17 AM, Johnny Hughes wrote: On 12/13/2011 06:05 PM, Philip Manuel wrote: Hi We use mrepo to keep a local repository. I downloaded the CentOS6.1 iso and used that as the base. We also have the CR repo added. I was expecting this change to cause no issues but the following packages have version issues between the base 6.1 and the CR repo:- There maybe a few other packages but this causes an issue with yum as it doesn't handle the el6_ suffix differences. Is this the intended behaviour ? please run: yum clean all then try the update again. Yum handles the updates with no problems, but cached metadata can cause issues. yum clean all -- Finished Dependency Resolution Error: Protected multilib versions: 1:dbus-libs-1.2.24-4.el6_0.i686 != 1:dbus-libs-1.2.24-5.el6_1.x86_64 Error: Protected multilib versions: 2:libpng-1.2.44-1.el6.i686 != 2:libpng-1.2.46-1.el6_1.x86_64 Error: Protected multilib versions: 1:cups-libs-1.4.2-39.el6.i686 != 1:cups-libs-1.4.2-39.el6_1.1.x86_64 Error: Protected multilib versions: zlib-1.2.3-25.el6.i686 != zlib-1.2.3-26.el6.x86_64 Error: Protected multilib versions: krb5-libs-1.9-9.el6.i686 != krb5-libs-1.9-9.el6_1.2.x86_64 You could try using --skip-broken to work around the problem I've fixed the perl ones by removing them and reinstalling but I don't want to keep doing this for every package Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CR repo - version issue
On 12/14/2011 11:49 AM, Johnny Hughes wrote: On 12/13/2011 06:26 PM, Philip Manuel wrote: On 12/14/2011 11:17 AM, Johnny Hughes wrote: On 12/13/2011 06:05 PM, Philip Manuel wrote: Hi We use mrepo to keep a local repository. I downloaded the CentOS6.1 iso and used that as the base. We also have the CR repo added. I was expecting this change to cause no issues but the following packages have version issues between the base 6.1 and the CR repo:- There maybe a few other packages but this causes an issue with yum as it doesn't handle the el6_ suffix differences. Is this the intended behaviour ? please run: yum clean all then try the update again. Yum handles the updates with no problems, but cached metadata can cause issues. I've fixed the perl ones by removing them and reinstalling but I don't want to keep doing this for every package There is nothing in 6.1 CR, your machine does not seem to see the updates for the i686 arch, although the x86_64 directory does contain them. Do you have an exclude=*.i686 someplace in your yum setup. The same directory that contains dbus-libs-1.2.24-5.el6_1.x86_64 also contains dbus-libs-1.2.24-5.el6_1.i686.rpm ... you are seeing one (x86_64) and not the other (i686). OK but why when there are no i686 packages installed on the machine is it trying to look for them? If I remove the offending x86_64 packages and put the base equivalent on then the issue goes away, but I shouldn't have to do this step. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CR repo - version issue
On 12/14/2011 12:07 PM, Johnny Hughes wrote: On 12/13/2011 06:54 PM, Philip Manuel wrote: On 12/14/2011 11:49 AM, Johnny Hughes wrote: You do have i686 packages on that machine ... that is what the error you posted is. create (or edit( a file called: /root/.rpmmacros put this in the that file as the top line: %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} Then do the command: rpm -qa | grep i[3,6]86 That should show you the i686 packages that are installed on the machine. cat /etc/rpm/macros.zomojo # Zomojo global rpm macros %org_tag .zmj %dist .el6 %rhel 6 %zmj_bjam_flags '-j 4' %packager Zomojo bu...@zomojo.com %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} rpm -qa | grep i[3,6]86 :~# Nothing other than x86_64 packages ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to control sftp's user file folder
On 03/01/2011 11:53 PM, Nico Kadel-Garcia wrote: On Mon, Feb 28, 2011 at 10:53 AM, Eero Volotineneero.voloti...@iki.fi wrote: 2011/2/28 Yang Yangdapiy...@gmail.com: hi,i have a question want to ask if i add a user like: useradd test groupadd test -g www and how to control user test only can see and write only folder(like /home/htdocs/test,he can not see /home/htdocs or other folder) for example using chrooted scponly or tweaking filesystem acls and selinux settings. scponly chrooted is the easiest way. No, sftp is actually supported, somewhat, in OpenSSH 5 for this to work well, which is not in CentOS 5, and integrating it to CentOS 5 is problematic. It's also awkward to maintain, the chroot cages require the relevant binaries nad libraries in each user's chroot cage. (I used to publish the software changes for this, years back under SunOS and RedHat 5.2, not RHEL 5.2). Frankly, don't. Use ftps, which Dovecot supports directly, or WebDav over HTTPS, which Apache supports directly with mod_dav. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos I've used rssh for controlling SFTP access. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 10gig NIC - Link Delay
On 11/24/2010 09:52 AM, Tom Brown wrote: The only time I have seen such a delay in the past was because of OSPF on the Cisco switch it was connected to. these are Arista DCS-7148SX's so i'll have to chat to the network guys. On the kernel line can you state delay=x so that it waits for a link ?? thanks ___ Tom, I've seen these delays before on Dell switches, we had to change them to use fastlink and it resolved the issue. Do Arista's have a similar setting ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] kernel bug fixed in later kernels
Does anyone know if this is going to be fixed in CentOS ? // test case code below // expected behaviour is all good and a return code of zero. // this works on 2.6.35-1 // does not work on 2.6.18-194.17.4.el5 from Centos 5.5 // think this bug was fixed in git commit 8948e11f450e6189a79e47d6051c3d5a0b98e3f3 // around 2.6.22 // http://www.mail-archive.com/git-commits-h...@vger.kernel.org/msg11654.html #include fcntl.h #include stdio.h #include sys/stat.h #include sys/types.h #include unistd.h int main(int argc, char** argv) { int fd = open(foo, O_RDONLY); if (setuid(1000)) { printf(could not setuid, run as root with correct uid\n); return 1; } char proc_name[1024]; sprintf(proc_name, /proc/self/fd/%d, fd); struct stat stat_buf; int rc = stat(proc_name, stat_buf); if (rc == 0) { printf(all good\n); } else { printf(busted, could not access %s\n, proc_name); } return rc; } ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kernel bug fixed in later kernels
On 11/04/2010 10:36 AM, Ned Slider wrote: On 03/11/10 22:59, Philip Manuel wrote: Does anyone know if this is going to be fixed in CentOS ? Only if it gets fixed in RHEL. Did you file a bug? If so, where is it? No I'll file a bug now, was wondering if others had seen this issue Phil. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centos release 5.5 issue
Hi One of our developers has come across an issue with the new release. He provided this piece of code to show the problem:- cat failure.c #include /usr/include/asm-x86_64/msr.h int main( int argc, char* argv[] ) { return 0; } gcc failure.c /usr/include/asm-x86_64/msr.h:169: error: expected declaration specifiers or ‘...’ before ‘u32’ /usr/include/asm-x86_64/msr.h:169: error: expected declaration specifiers or ‘...’ before ‘u32’ /usr/include/asm-x86_64/msr.h:169: error: expected declaration specifiers or ‘...’ before ‘u32’ /usr/include/asm-x86_64/msr.h: In function ‘rdmsr_on_cpu’: /usr/include/asm-x86_64/msr.h:171: error: ‘l’ undeclared (first use in this function) /usr/include/asm-x86_64/msr.h:171: error: (Each undeclared identifier is reported only once /usr/include/asm-x86_64/msr.h:171: error: for each function it appears in.) /usr/include/asm-x86_64/msr.h:171: error: ‘h’ undeclared (first use in this function) /usr/include/asm-x86_64/msr.h:171: error: ‘msr_no’ undeclared (first use in this function) /usr/include/asm-x86_64/msr.h:171: error: invalid lvalue in asm output 0 /usr/include/asm-x86_64/msr.h:171: error: invalid lvalue in asm output 1 /usr/include/asm-x86_64/msr.h: At top level: /usr/include/asm-x86_64/msr.h:173: error: expected declaration specifiers or ‘...’ before ‘u32’ /usr/include/asm-x86_64/msr.h:173: error: expected declaration specifiers or ‘...’ before ‘u32’ /usr/include/asm-x86_64/msr.h:173: error: expected declaration specifiers or ‘...’ before ‘u32’ /usr/include/asm-x86_64/msr.h: In function ‘wrmsr_on_cpu’: /usr/include/asm-x86_64/msr.h:175: error: ‘msr_no’ undeclared (first use in this function) /usr/include/asm-x86_64/msr.h:175: error: ‘l’ undeclared (first use in this function) /usr/include/asm-x86_64/msr.h:175: error: ‘h’ undeclared (first use in this function) Anyone else seen this or found a bug with these function definitions ? Thanks Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Resizing a PV that belongs within a Volume Group?
Clint Dilks wrote: On 19/02/10 10:11, Eric B. wrote: Hi, I was wondering if there was a way to extend (ie: grow) a PV that is part of a Volume Group? I currently have a partition on my HD that is being used as a PV for my Volume Group, but would like to make it larger. I have the space on my drive to extend my partition, but using standard tools (ex: gparted, Partition Magic, etc) would likely end up corrupting the data on in the Logical Volumes that are housed within the VG. I realize that I could just create a new partition on my HD and just add it to my Volume Group and extend my Volume Group, however, given that it would be two contiguous partitions on the HD, I was just wondering if there was a way of resizing the original partition within the VG without causing any problems. I tried looking at tools like pvresize but I can't seem to understand the right arguments to use it as whatever I try never seems to resize the original partition itself. I also looked at system-config-lvm GUI tool, but that doesn't seem to allow me to make the PV any larger. Does anyone have any suggestions? Thanks! Eric ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hi I remember having done this once recently on a test system. And I strongly suggest you don't attempt unless you have a good backup. You use the standard tools to resize the partition and then pvresize to see the new size of the PV. Once you can see that the new size of the PV is recognised by the VG you can allocate the space. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hi, This was discusssed back in May by Gavin Carr http://lists.centos.org/pipermail/centos/2009-May.txt Phil. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] udp stream multiply
Les Mikesell wrote: Jure Pečar wrote: On Wed, 17 Feb 2010 12:36:33 +0100 Nicolas Thierry-Mieg nicolas.thierry-m...@imag.fr wrote: if you control the app on the destinations, you could use multicast? Otherwise maybe broadcast on your LAN, all interested clients can pick up the packets. Yes, these are the options, but what if I'm limited to unicasts? How do I take one packet, clone it into three, change destination address and send them out? I don't think there is a generic tool for that, but it would be fairly simple to write a C program to do exactly what you want. If it is something like a video or audio stream you might get vlc (videolan client) to receive and convert to multicast. If speed wasn't an issue couldn't you use socat, tee, pipes and fifo's and socat again to rebroadcast it ? i.e socat as the listener redirect to a fifo, have cat or socat as a listener to rebroadcast , use tee to send to another fifo and another socat instance to send to another host. Horrible I know but feasible. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS4 issue
That's a little confusing, does that mean all the clients need to change as well as the server ? Has no-one else hit this issue? We are running all our clients and servers on x86_64. Thanks Phil Giovanni Tirloni wrote: On Mon, Nov 23, 2009 at 3:00 AM, Philip Manuel p...@zomojo.com wrote: Philip Manuel wrote: We are running kernel 2.6.18-164.6.1.el5 with exporting 3 aoe provided ext4 directories. For a couple of weeks we had a small number of users using the system with no issues, today we added 7 users and the system crashed and did not perform correctly since. Nov 23 10:20:03 sulphur rpc.idmapd[5199]: nfsdcb: id '-2' too big! Nov 23 10:42:25 sulphur nfsd[27306]: nfssvc: Setting version failed: errno 16 (Device or resource busy) Check your nfsnobody user and try changing its id to something below 65536, on client and server. http://www.fedoraforum.org/forum/archive/index.php/t-134487.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] NFS4 issue
We are running kernel 2.6.18-164.6.1.el5 with exporting 3 aoe provided ext4 directories. For a couple of weeks we had a small number of users using the system with no issues, today we added 7 users and the system crashed and did not perform correctly since. Nov 23 10:20:03 sulphur rpc.idmapd[5199]: nfsdcb: id '-2' too big! Nov 23 10:42:25 sulphur nfsd[27306]: nfssvc: Setting version failed: errno 16 (Device or resource busy) Nov 23 10:42:25 sulphur nfsd[27306]: nfssvc: unable to bind UPD socket: errno 98 (Address already in use) Nov 23 10:42:26 sulphur kernel: slab error in kmem_cache_destroy(): cache `nfsd4_files': Can't free all objects Nov 23 10:42:26 sulphur kernel: [88645efd] :nfsd:nfsd4_free_slab+0x11/0x4d Nov 23 10:42:26 sulphur kernel: [88645f55] :nfsd:nfsd4_free_slabs+0x1c/0x33 Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: BUG: warning at fs/nfsd/nfs4state.c:1016/nfsd4_free_slab() (Tainted: G ) Nov 23 10:42:26 sulphur kernel: [88645f55] :nfsd:nfsd4_free_slabs+0x1c/0x33 Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: slab error in kmem_cache_destroy(): cache `nfsd4_delegations': Can't free all objects Nov 23 10:42:26 sulphur kernel: [88645efd] :nfsd:nfsd4_free_slab+0x11/0x4d Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: BUG: warning at fs/nfsd/nfs4state.c:1016/nfsd4_free_slab() (Tainted: G ) Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: nfsd: last server has exited Nov 23 10:42:26 sulphur kernel: nfsd: unexporting all filesystems Nov 23 10:42:44 sulphur kernel: kmem_cache_create: duplicate cache nfsd4_files Nov 23 10:42:44 sulphur kernel: [88646f29] :nfsd:nfs4_state_start+0x52/0x18f Nov 23 10:42:44 sulphur kernel: [886303ae] :nfsd:nfsd_svc+0x6c/0x1e9 Nov 23 10:42:44 sulphur kernel: [88630f8e] :nfsd:write_threads+0x0/0xa9 Nov 23 10:42:44 sulphur kernel: [88630ffd] :nfsd:write_threads+0x6f/0xa9 Nov 23 10:42:44 sulphur kernel: [88630f8e] :nfsd:write_threads+0x0/0xa9 Nov 23 10:42:44 sulphur kernel: [88630d59] :nfsd:nfsctl_transaction_write+0x42/0x77Nov 23 10:42:44 sulphur nfsd[27369]: nfssvc: Cannot allocate memory Nov 23 10:43:55 sulphur nfsd[27495]: nfssvc: Setting version failed: errno 16 (Device or resource busy) Nov 23 10:43:55 sulphur nfsd[27495]: nfssvc: unable to bind UPD socket: errno 98 (Address already in use) So above shows the original problem and then me restarting it and eventually I had to reboot the server. Since then it has been behaving bizarrely with it running for 5 mins and then stopping, upon a restart it will run for a while and then stop. Nov 23 11:04:46 sulphur kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Nov 23 11:17:02 sulphur rpc.idmapd[8178]: nfsdcb: id '-2' too big! Nov 23 11:29:01 sulphur kernel: nfsd: last server has exited Nov 23 11:29:01 sulphur kernel: nfsd: unexporting all filesystems Nov 23 11:29:08 sulphur kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Nov 23 11:29:08 sulphur rpc.idmapd[8178]: nfsdcb: id '-2' too big! Nov 23 11:32:03
Re: [CentOS] NFS4 issue
Philip Manuel wrote: We are running kernel 2.6.18-164.6.1.el5 with exporting 3 aoe provided ext4 directories. For a couple of weeks we had a small number of users using the system with no issues, today we added 7 users and the system crashed and did not perform correctly since. Nov 23 10:20:03 sulphur rpc.idmapd[5199]: nfsdcb: id '-2' too big! Nov 23 10:42:25 sulphur nfsd[27306]: nfssvc: Setting version failed: errno 16 (Device or resource busy) Nov 23 10:42:25 sulphur nfsd[27306]: nfssvc: unable to bind UPD socket: errno 98 (Address already in use) Nov 23 10:42:26 sulphur kernel: slab error in kmem_cache_destroy(): cache `nfsd4_files': Can't free all objects Nov 23 10:42:26 sulphur kernel: [88645efd] :nfsd:nfsd4_free_slab+0x11/0x4d Nov 23 10:42:26 sulphur kernel: [88645f55] :nfsd:nfsd4_free_slabs+0x1c/0x33 Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: BUG: warning at fs/nfsd/nfs4state.c:1016/nfsd4_free_slab() (Tainted: G ) Nov 23 10:42:26 sulphur kernel: [88645f55] :nfsd:nfsd4_free_slabs+0x1c/0x33 Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: slab error in kmem_cache_destroy(): cache `nfsd4_delegations': Can't free all objects Nov 23 10:42:26 sulphur kernel: [88645efd] :nfsd:nfsd4_free_slab+0x11/0x4d Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: BUG: warning at fs/nfsd/nfs4state.c:1016/nfsd4_free_slab() (Tainted: G ) Nov 23 10:42:26 sulphur kernel: [88646ecb] :nfsd:nfs4_state_shutdown+0x17e/0x18a Nov 23 10:42:26 sulphur kernel: [88630570] :nfsd:nfsd_last_thread+0x45/0x76 Nov 23 10:42:26 sulphur kernel: [88630856] :nfsd:nfsd+0x2b5/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: [886305a1] :nfsd:nfsd+0x0/0x2cb Nov 23 10:42:26 sulphur kernel: nfsd: last server has exited Nov 23 10:42:26 sulphur kernel: nfsd: unexporting all filesystems Nov 23 10:42:44 sulphur kernel: kmem_cache_create: duplicate cache nfsd4_files Nov 23 10:42:44 sulphur kernel: [88646f29] :nfsd:nfs4_state_start+0x52/0x18f Nov 23 10:42:44 sulphur kernel: [886303ae] :nfsd:nfsd_svc+0x6c/0x1e9 Nov 23 10:42:44 sulphur kernel: [88630f8e] :nfsd:write_threads+0x0/0xa9 Nov 23 10:42:44 sulphur kernel: [88630ffd] :nfsd:write_threads+0x6f/0xa9 Nov 23 10:42:44 sulphur kernel: [88630f8e] :nfsd:write_threads+0x0/0xa9 Nov 23 10:42:44 sulphur kernel: [88630d59] :nfsd:nfsctl_transaction_write+0x42/0x77Nov 23 10:42:44 sulphur nfsd[27369]: nfssvc: Cannot allocate memory Nov 23 10:43:55 sulphur nfsd[27495]: nfssvc: Setting version failed: errno 16 (Device or resource busy) Nov 23 10:43:55 sulphur nfsd[27495]: nfssvc: unable to bind UPD socket: errno 98 (Address already in use) So above shows the original problem and then me restarting it and eventually I had to reboot the server. Since then it has been behaving bizarrely with it running for 5 mins and then stopping, upon a restart it will run for a while and then stop. Nov 23 11:04:46 sulphur kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Nov 23 11:17:02 sulphur rpc.idmapd[8178]: nfsdcb: id '-2' too big! Nov 23 11:29:01 sulphur kernel: nfsd: last server has exited Nov 23 11:29:01 sulphur kernel: nfsd: unexporting all filesystems Nov 23 11:29:08 sulphur kernel: NFSD: Using /var/lib/nfs/v4recovery
Re: [CentOS] Which /usr/bin/qemu-img to use?
I ran into this on Friday.I had to remove qemu, disable it from the DAG or other repositories and install kvm-qemu-img, note also that qemu-kvm is in /usr/libexec Hope that helps Camron W. Fox wrote: Alle, We're trying to install kvm on a newly update CentOS5.4 box. Which package should /usr/bin/qemu-img come from, kvm-qemu-img or qemu? When we try to install kvm\* we get the following error: Transaction Check Error: file /usr/bin/qemu-img from install of kvm-qemu-img-83-105.el5.x86_64 conflicts with file from package qemu-0.9.0-4.x86_64 file /usr/share/man/man1/qemu-img.1.gz from install of kvm-qemu-img-83-105.el5.x86_64 conflicts with file from package qemu-0.9.0-4.x86_64 Best Regards, Camron ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Which /usr/bin/qemu-img to use?
yes I ran into this and decided to clear all of those out and start afresh, ensuring I picked the base packages. Phil. Camron W. Fox wrote: Philip Manuel wrote: I ran into this on Friday.I had to remove qemu, disable it from the DAG or other repositories and install kvm-qemu-img, note also that qemu-kvm is in /usr/libexec Hope that helps Given the dependency issue with yum remove: Removing: qemu x86_640.9.0-4 installed 20 M Removing for dependencies: gnome-applet-vmx86_640.1.2-1.el5 installed121 k libvirtx86_640.6.3-20.el5 installed7.1 M libvirt-python x86_640.6.3-20.el5 installed431 k python-virtinstnoarch0.400.3-5.el5 installed1.4 M virt-manager x86_640.6.1-8.el5 installed4.9 M virt-viewerx86_640.0.2-3.el5 installed 48 k xenx86_643.0.3-94.el5 installed4.7 M Would it just be better to use rpm -e and force it? Best Regards, Camron Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cw...@us.fujitsu.com ___ 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 5.3 update do RHEL 5.3
Just in case you want the steps:- Steps to convert a CentOS5 system to RHEL5 SYSTEM=hostname ARCH=i386|x86_64 ssh $SYSTEM rpm -e --nodeps centos-release rpm --import RPM-GPG-KEY-redhat-release rpm -ivh rhn-setup-0.4.19-17.el5.noarch.rpm rhn-client-tools-0.4.19-17.el5.noarch.rpm rhnsd-4.6.1-1.el5.$ARCH.rpm \ rhn-check-0.4.19-17.el5.noarch.rpm yum-rhn-plugin-0.5.3-30.el5.noarch.rpm rhnlib-2.2.6-2.el5.noarch.rpm \ pyOpenSSL-0.6-1.p24.7.2.2.$ARCH.rpm \ redhat-release-5Server-5.3.0.3.$ARCH.rpm rhn_register Follow the prompts, after registering the system with redhat:- yum -y update Regards Phil. Filipe Brandenburger wrote: Hi, On Mon, Jun 15, 2009 at 23:27, Paul Johnsonpauljoh...@gmail.com wrote: Yes. If you get the release rpm files correct and fix your repositories, it will be OK. [...] Instead of listening to people tell you they don't think it can be done, you should just try to make it work and see! You really miss the point... The whole reason of using RHEL instead of CentOS is Red Hat's support. If you don't need or have their support, using RHEL is actually *worse* than using CentOS, as you won't have updates. On the other hand, if you call Red Hat to ask for help to fix an issue and it turns out they find out you upgraded a CentOS into a Red Hat server, they will certainly refuse to help you (and would be right to do it). If you really need Red Hat, you should do a clean install. Period. Upgrading from any other existing Linux install would be the same as aiming the shotgun towards your own foot... HTH, Filipe ___ 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] rpm and md5sum query
Hi, If I do an md5sum across 4 machines all running Centos5-x86_64 on /bin/bash why does it show a different checksum ? - ssh box4 md5sum -b /bin/bash 53d2152059125e221a38099369e5777e */bin/bash - ssh box6 md5sum -b /bin/bash e22fb934b0a4a840a330f47559d27205 */bin/bash - ssh box5 md5sum -b /bin/bash 34bd0269a3ca9ce15e3bf56957d95609 */bin/bash - ssh box2 md5sum -b /bin/bash c830775b0f99dcd7a0d1dd6117f7d721 */bin/bash More intriguing is that rpm -V shows that the binaries match the rpm database on each server. Thanks ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Certificate system
Does anyone know if I can integrate any of these systems with ssh keys? For example I'd like to be able to hold and revoke ssh keys centrally, and then systems would be allowed to accept keys at certain times from certain individuals. This is similar to http://web.monkeysphere.info/ but I think I'm after something goes a bit further. Thanks j.witvl...@mindef.nl wrote: -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Barry Brimer Sent: Friday, April 24, 2009 5:44 PM To: CentOS mailing list Subject: Re: [CentOS] Certificate system Quoting j.witvl...@mindef.nl: Hi all, Can anybody inform me wether the RedHat Certificate System or actually a CentOS equivalent is available for CentOS. Just skimmed on a download site through the RPM's for 5.3 and I couldn't find it. According to their pressrelease, it the code should be gpl, allthough I can't find any rpm for RH, FC or Centos. It seems that this is one of the few CA-packages for large scale deployment of certificates. Only alternative AFAIK is OpenCA, which seems to be hardly maintained... ( binaries on their site are old, and source code yields lots of errors during build..) The Fedora version of RHCS is called Dogtag http://pki.fedoraproject.org/wiki/PKI_Main_Page You might have to modify/rebuild their SRPMS. Yes, i came across dogtag. However i got the impression it was something in the same category like tinyca or pyca. Perhaps it is based on the code of RHCS, and all documentation is just some wiki pages. Bit different from the docu from RHCS-7.3 (Their admin guide is over 600 pages) I was asked to make a proposal for an (large) opensource CA/RA/ocsp/ If selected, i make them order an official package with support from RH. But i would like to have some hands-on experience before, and not get all my information from paper. OpenCA has also quite some nice docu (but doesn't live up to it), and used to be included in some distro's. So, ejbca seems to be more appropiate than dogtag (if i can't get RHCS) hw __ Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. ___ 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] UDEV rule allow users to unmount USB stick
Scott Silva wrote: on 12-22-2008 4:19 PM Philip Manuel spake the following: I'm trying to understand why a normal user is not allowed to unmount their USB stick? I think it is most likely a udev rule. does anyone know ? Thanks Phil. Is it something simple like a shell or something opened into that directory? No if the user uses the umount command they get permission denied, not device is busy. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UDEV rule allow users to unmount USB stick
Lanny Marcus wrote: On Mon, Dec 22, 2008 at 7:56 PM, Philip Manuel p...@zomojo.com wrote: snip Are we talking about USB Memory here? If so, I have not seen this issue. I've never used USB Memory while logged in as root. I'm using CentOS 5 (32 bit). snip Yes the usb stick/memory mounts correctly, but then they are not allowed to unmount it, using for example umount /media/device We are using Centos5.2 64bit I see that you are using 64 bit, I'm using 32 bit, but I doubt that this would work differently, between the 2 versions of the OS. As Mark (mhr) wrote, if you use GNOME, just right click the icon, to unmount the USB stick. You are correct we could use konqueror, we use kde, to unmount but if a CD/DVD is mounted correctly to allow a user to unmount why can't a USB memory device ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] UDEV rule allow users to unmount USB stick
I'm trying to understand why a normal user is not allowed to unmount their USB stick? I think it is most likely a udev rule. does anyone know ? Thanks Phil. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UDEV rule allow users to unmount USB stick
Lanny Marcus wrote: On Mon, Dec 22, 2008 at 7:19 PM, Philip Manuel p...@zomojo.com wrote: I'm trying to understand why a normal user is not allowed to unmount their USB stick? I think it is most likely a udev rule. does anyone know ? Are we talking about USB Memory here? If so, I have not seen this issue. I've never used USB Memory while logged in as root. I'm using CentOS 5 (32 bit). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Yes the usb stick/memory mounts correctly, but then they are not allowed to unmount it, using for example umount /media/device We are using Centos5.2 64bit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.2 driver for Marvell Yukon 88E8042 PCI-E Fast Ethernet controller
This is handled by the sky driver I believe although support for it was removed recently. Kurt Hansen wrote: Hello, I'm trying to install CentOS 5.2 on an HP 6730s notebook. All's going well except for one little item -- the networking. Never thought I'd have trouble with an Ethernet adapter, so I didn't even check before buying this machine; it was cheap. The adapter is a Marvell Yukon 88E8042 PCI-E Fast Ethernet controller. I can't find a Linux driver for it except one that appears to require me to recompile a custom kernel. I find it on the Marvell website: http://www.marvell.com/drivers/search.do It looks like I'll have to recompile the kernel to get this installed. Having read the warnings on the CentOS Wiki, I figured I should ask before building my own kernel for the first time. Do I have other options? Thanks! Kurt Hansen [EMAIL PROTECTED] ___ 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] HW issue during instalaltion
Hi All, I have a shuttle SN78SH7 with a Seagate ST31500341AS (1.5Tb) drive. With windows Vista it sees the drive and can install to it. So far with GRML or CentOS5.2 they do not seem to be able to see this drive. Is there a particular setting I need or does CentOS not support installation to these drives yet ? Thanks for your help Phil ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HW issue during instalaltion
It uses a NV chipset, nVidia GeForce 8200, http://au.shuttle.com/product_detail_spec.jsp?PI=939 . I added an Intel Ethernet card to get over the Marvell Ethernet issue, and a NVIDIA 8600GT card. I forgot to add I used no additional driver disks to get Vista to see the disk. Phil. Rainer Duffner wrote: Am 18.11.2008 um 03:30 schrieb Philip Manuel: Hi All, I have a shuttle SN78SH7 with a Seagate ST31500341AS (1.5Tb) drive. With windows Vista it sees the drive and can install to it. So far with GRML or CentOS5.2 they do not seem to be able to see this drive. Is there a particular setting I need or does CentOS not support installation to these drives yet ? Thanks for your help Well, what ICH (or does the MB use a NV chipset) do you have? Is that supported by CentOS/RHEL? Question: Where does one actually find out about the supported hardware, other than booting and 'D'oh, it doesn't work? Rainer ___ 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] HW issue during instalaltion
We tend to use CentOS for our desktops as well, hence the request to this mailing list. We do not wish to have Ubuntu installed. Thanks nate wrote: Philip Manuel wrote: It uses a NV chipset, nVidia GeForce 8200, http://au.shuttle.com/product_detail_spec.jsp?PI=939 . I added an Intel Ethernet card to get over the Marvell Ethernet issue, and a NVIDIA 8600GT card. I forgot to add I used no additional driver disks to get Vista to see the disk. Try Ubuntu, you probably wouldn't need additional driver disks to get it workin' either. CentOS is a server oriented distro, not a desktop distro. Hardware differences between desktop and server are almost night and day in many cases. The system you link to is most definitely a desktop class system. Or perhaps Fedora, though I'm not much of a fan of the short support cycle for Fedora(assuming it's still 6 months). With Ubuntu(and possibly Fedora) you get the added advantage of tons more packages than what is included with CentOS/RHEL without having to resort to problematic 3rd party repositories or crazy yum configurations to try to keep a sane installation running. CentOS works great for what it's built for. nate ___ 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