Re: [CentOS-docs] Images for CentOS Documentation
Am 08.03.11 00:05, schrieb Ralph Angenendt: Am 04.03.11 17:06, schrieb Andreas Rogge: I'm currently porting the public and free parts of Red Hat Documentation to CentOS. Being unable to do anything graphics-related, I need someone to provide the following images: logo.svg 300x140 CentOS Logo image_left.png 124x39 CentOS Logo image_right.png 120x41 CentOS Documentation Logo (to be designed) a) and b) shouldn't be a problem, Ican do those tomorrow. Regarding c) - for what is that needed? How does that look within RHEL? Probably can do one too, but need to know what it stands for :) http://people.centos.org/ralph/logos/ where I like the second version (image_right_2.png) better :) The svg logo has no dimensions, you get to beat it into submission for yourself. Cheers, Ralph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-es] Problema con radius.
Estoy configurando centos 5.5 para autenticación radius. Me estoy conectando con windows 7. Ya me aparece el diálogo donde ocupo poner el usuario y contraseña al momento de enlazar con el ap. radtest fulano 123qwe localhost 1812 testing123 me autoriza correctamente me topé con el problema que no puedo enlazar. Ya configuré el ap para que busque el radius, pero en radius.log me da: Fri Mar 4 20:43:36 2011 : Error: TLS Alert read:fatal:unknown CA Fri Mar 4 20:43:36 2011 : Error: TLS_accept:failed in SSLv3 read client certificate A Fri Mar 4 20:43:36 2011 : Error: rlm_eap: SSL error error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca Fri Mar 4 20:43:36 2011 : Error: SSL: SSL_read failed inside of TLS (-1), TLS session fails. ¿por qué unknow CA? ¿debo instalar una llave en el windows? ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Problema con radius.
Hola, 2011/3/7 Fernando Rojas de la Torre fernando.ro...@uniondetula.gob.mx: Estoy configurando centos 5.5 para autenticación radius. Me estoy conectando con windows 7. Ya me aparece el diálogo donde ocupo poner el usuario y contraseña al momento de enlazar con el ap. radtest fulano 123qwe localhost 1812 testing123 me autoriza correctamente me topé con el problema que no puedo enlazar. Ya configuré el ap para que busque el radius, pero en radius.log me da: Fri Mar 4 20:43:36 2011 : Error: TLS Alert read:fatal:unknown CA Fri Mar 4 20:43:36 2011 : Error: TLS_accept:failed in SSLv3 read client certificate A Fri Mar 4 20:43:36 2011 : Error: rlm_eap: SSL error error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca Fri Mar 4 20:43:36 2011 : Error: SSL: SSL_read failed inside of TLS (-1), TLS session fails. ¿por qué unknow CA? ¿debo instalar una llave en el windows? ¿No deberías instalar la CA con la que has firmado el certificado en el almacen de windows? Supongo que no confía en el CA que ha firmado el certificado. Si no recuerdo mal con hace doble click sobre la CA ya se instala en el sistema. -- Oscar Osta Pueyo oostap.lis...@gmail.com _kiakli_ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down)
well i'm already running that kernel version. i've upgraded to the latest *194* Date: Mon, 7 Mar 2011 01:46:45 -0600 From: thea...@sasktel.net To: centos@centos.org Subject: Re: [CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down) On Mon, 07 Mar 2011 09:31:42 +0200 Roland RoLaNd wrote: BUG: soft lockup - CPU#0 stuck for 10s! [java:13959] i tried googling with no luck for direct relevant info. The first google result for the above string takes me here: http://bugs.centos.org/view.php?id=3582 Which in turn contains a reference that takes me here: https://bugzilla.redhat.com/show_bug.cgi?id=484590 And it appears that this issue was fixed with kernel version 2.6.18-164. -- MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER! ___ 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] what wrong about my ipv6 address
Dne 7.3.2011 20:56, ann kok napsal(a): Hi I used the command ip -6 addr add 2001:DB8:CAFE:::12/64 dev eth0 to add ipv6 address and can see it in ifconfig but can't ping it Why? Thank you # ping6 2001:db8:cafe:::12 PING 2001:db8:cafe:::12(2001:db8:cafe:::12) 56 data bytes From ::1 icmp_seq=1 Destination unreachable: Address unreachable From ::1 icmp_seq=2 Destination unreachable: Address unreachable From ::1 icmp_seq=3 Destination unreachable: Address unreachable From ::1 icmp_seq=5 Destination unreachable: Address unreachable From ::1 icmp_seq=6 Destination unreachable: Address unreachable From ::1 icmp_seq=7 Destination unreachable: Address unreachable From ::1 icmp_seq=9 Destination unreachable: Address unreachable From ::1 icmp_seq=10 Destination unreachable: Address unreachable From ::1 icmp_seq=11 Destination unreachable: Address unreachable hi, have you correctly set gateway? Send `ip -6 route` and `route -n -A inet6` to us. What about to ping ipv6.google.com from this pc? Where did you run ping command? Have you IPv6 enabled there? From ::1 looks like something is misconfigured.. JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Internet connection sharing?
Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] BUG: soft lockup CPU stuck for 10seconds (Server went down)
On 07/03/11 08:31, Roland RoLaNd wrote: Hello, Today my server stopped responding. i went to the console and on the screen there were a continuous loop of the following info shown on the screen: BUG: soft lockup - CPU#0 stuck for 10s! [java:13959] and alot of other information. ii've took a screen shot of the info shown , you can find it under the following url: http://img585.imageshack.us/i/img00012201103070833.jpg/ and had to hard reset for it to be back up and running. i tried googling with no luck for direct relevant info. so hoping you can help out Some real kernel developers might have better insight on why this happens. But this hits APIC timers during a syscall. I would probably try to boot the box with 'noapic' in the kernel command line, to see if this improves things or not. Do you see the soft lockup - CPU#0 always? or does it also happen to other CPUs as well? And if it does, is the java process running on more CPUs? kind regards, David Sommerseth ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /etc/hosts - hostname alias for 127.0.0.1
Keith Keller wrote on Mon, 7 Mar 2011 15:28:55 -0800: In CentOS, I believe that rc.sysinit will try to set the hostname from its FQDN (or whatever you have set in /etc/sysconfig/network) without mucking about with /etc/hosts. Yes. I didn't say it wouldn't. Kai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi motamed...@gmail.com wrote: On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ Did you add any DNS resovler IP's to /etc/resolv.conf ? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 3/8/11, Rudi Ahlers r...@softdux.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi motamed...@gmail.com wrote: On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ Did you add any DNS resovler IP's to /etc/resolv.conf ? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 Yes, I did but still internet unreachable. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
Dne 8.3.2011 11:27, hadi motamedi napsal(a): On 3/8/11, Rudi Ahlers r...@softdux.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi motamed...@gmail.com wrote: On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ Did you add any DNS resovler IP's to /etc/resolv.conf ? Yes, I did but still internet unreachable. well, have you got a ping from centos to windows machine? Send us results of `ifconfig`, `route` and `iptables -L -v` commands. And try to ping ip 74.125.87.104 (google), any results? jj ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing? (OT)
Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? Can you provide the IP details of this third XP client? If memory serves, the ICS feature of Windows is hardcoded to use 192.168.0.0/24 as the private range. Further, there's no way to share the Internet connection to other subnets. What happens if you configure the CentOS host as a DHCP client? Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
your topology is below? centos xp---internet then centos access internet via xp ? 2011/3/8 hadi motamedi motamed...@gmail.com On 3/8/11, Rudi Ahlers r...@softdux.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi motamed...@gmail.com wrote: On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ Did you add any DNS resovler IP's to /etc/resolv.conf ? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 Yes, I did but still internet unreachable. ___ 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] Internet connection sharing?
On 3/8/11, bedo bedo.w...@gmail.com wrote: your topology is below? centos xp---internet then centos access internet via xp ? 2011/3/8 hadi motamedi motamed...@gmail.com On 3/8/11, Rudi Ahlers r...@softdux.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi motamed...@gmail.com wrote: On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ Did you add any DNS resovler IP's to /etc/resolv.conf ? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 Yes, I did but still internet unreachable. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Yes, This is the topology I am seeking to work. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /etc/hosts - hostname alias for 127.0.0.1
On Tue, Mar 8, 2011 at 12:10 AM, Robert Nichols rnicholsnos...@comcast.net wrote: On 03/07/2011 08:21 PM, Nico Kadel-Garcia wrote: That said, it can be problematic when you ping $HOSTNAME and get a valid 127.0.0.1 response, and haven't actually tested your external port. It also requires thought for configuring SSH and SNMP and NFS to allow localhost access. When you ping the IP address of your external link, that packet gets short-circuited in the kernel and never goes to the physical port, so you aren't testing your external port for that case either. -- Bob Nichols NOSPAM is really part of my email address. Do NOT delete it. Not. completely. Try bringing down the external port with ifdown and see what I mean. That short circuiting can't occur for something that isn't enabled, because the kernel won't magically deduce it from the configuration files. This can be helpful for weird debugging situations, such as I encountered last week when cloning a virtual machine under LabManager, and finding that my new network port on eth0 had been replaced with an unconfigured one on eth1, much to my surprise. You're quite correct that it won't test your external physical portn, though.. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
OK, i know ,you need ICS with XP ,you can see below: http://www.microsoft.com/windowsxp/using/networking/expert/crawford_02july01.mspx 2011/3/8 hadi motamedi motamed...@gmail.com On 3/8/11, bedo bedo.w...@gmail.com wrote: your topology is below? centos xp---internet then centos access internet via xp ? 2011/3/8 hadi motamedi motamed...@gmail.com On 3/8/11, Rudi Ahlers r...@softdux.com wrote: On Tue, Mar 8, 2011 at 12:09 PM, hadi motamedi motamed...@gmail.com wrote: On 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: Dne 8.3.2011 10:19, hadi motamedi napsal(a): Dear All My centos machine is connected to my MS Windows machine on the net.The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet.Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? Thank you in advance Hi hadi, this isn't centos thing, all you need is to configure network bridge on your Windows machine. You didn't send info about your windows verison so try to google something about it (http://www.google.com/#q=windows+network+bridge) JJ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you very much for your reply.I am familiar with internet connection sharing on MS Windows as I have a third XP client on the same net connected to the internet.I tried as the following on my centos: #route add -net default gw 172.18.209.1 Where this is the secondary ip address of the MS Windows host.But the centos cannot see the internet. Can you please let me know why? ___ Did you add any DNS resovler IP's to /etc/resolv.conf ? -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 Yes, I did but still internet unreachable. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Yes, This is the topology I am seeking to work. ___ 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] connection speeds between nodes
On Mar 7, 2011, at 9:55 AM, John Hodrien j.h.hodr...@leeds.ac.uk wrote: On Mon, 7 Mar 2011, Ross Walker wrote: 1Gbe can do 115MB/s @ 64K+ IO size, but at 4k IO size (NFS) 55MB/s is about it. If you need each node to be able to read 90-100MB/s you would need to setup a cluster file system using iSCSI or FC and make sure the cluster file system can handle large block/cluster sizes like 64K or the application can handle large IOs and the scheduler does a good job of coalescing these (VFS layer breaks it into 4k chunks) into large IOs. It's the latency of each small IO that is killing you. I'm not necessarily convinced it's quite that bad (here's some default NFSv3 mounts under CentOS 5.5, with Jumbo frames, rsize=32768,wsize=32768). $ sync;time (dd if=/dev/zero of=testfile bs=1M count=1;sync) [I verified that it'd finished when it thought it had] 1048576 bytes (10 GB) copied, 133.06 seconds, 78.8 MB/s umount, mount (to clear any cache): $ dd if=testfile of=/dev/null bs=1M 1048576 bytes (10 GB) copied, 109.638 seconds, 95.6 MB/s This machine only has a double-bonded gig interface so with four clients all hammering at the same time, this gives: $ dd if=/scratch/testfile of=/dev/null bs=1M 1048576 bytes (10 GB) copied, 189.64 seconds, 55.3 MB/s So with four clients (on single gig) and one server with two gig interfaces you're getting an aggregate rate of 220Mbytes/sec. Sounds pretty reasonable to me! If you want safe writes (sync), *then* latency kills you. The OP wanted 90MB/s per node and we have no clue whether the application he is using is capable of driving 1MB block sizes. Why wouldn't you want safe writes? Is that like saying, and if you care for your data? -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell PERC H800 commandline RAID monitoring tools
On Mar 7, 2011, at 3:43 PM, Dr. Ed Morbius dredmorb...@gmail.com wrote: We're looking for tools to be used in monitoring the PERC H800 arrays on a set of database servers running CentOS 5.5. We've installed most of the OMSA (Dell monitoring) suite. Our current alerting is happening through SNMP, though it's a bit hit or miss (we apparently missed a couple of earlier predictive failure alerts on one drive). OMSA conflicts with mega-cli, though we may find that the latter is the more useful package. Both are pretty byzantine, the Dell stuff simply doesn't have docs (in particular: docs on how to interpret the omconfig log output). Ideally we'd like something which could be run as a Nagios plugin or cron job providing information on RAID status and/or possible disk errors. Probably both, actually. I can't speak about nagios, but I have my OMSA setup to send traps, but for critical errors to also send emails and it works well for us. If you link the shared lib (forget the paths) and install megacli with --nodeps you can have both installed. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] connection speeds between nodes
On 3/8/11 8:32 AM, Ross Walker wrote: Why wouldn't you want safe writes? Is that like saying, and if you care for your data? You don't fsync every write on a local disk. Why demand it over NFS where the server is probably less likely to crash than the writing node? That's like saying you don't care about speed - or you can afford a 10x faster array just for the once-in-several-years you might see a crash. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum tries to install a mix of architectures
On Mar 7, 2011, at 9:41 AM, Tim Dunphy bluethu...@gmail.com wrote: On my centos boxes whenever I try to install packages I get a mix of packages from the repos that are both i386 and x86_64 in archictecture: Yum doesn't implicitly know if you want the 64 or 32-bit versions so it selects both. If you only want 64-bit put .x86_64 at the end of the package name. The 32-bit versions are there for 32-bit binary application support. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.x 32bit VPS Ping Issue
I just got an inexpensive VPS too have an outside server to play/test with. I am pinging it every 5 minutes and graphing with MRTG on another CentOS box. This works fine to all servers but the VPS. The first ping to the VPS is always crud and following ones are fine. [root@ns1 scripts]# ping X PING X 56(84) bytes of data. 64 bytes from X: icmp_seq=1 ttl=55 time=773 ms 64 bytes from X: icmp_seq=2 ttl=55 time=42.4 ms 64 bytes from X: icmp_seq=3 ttl=55 time=42.8 ms 64 bytes from X: icmp_seq=4 ttl=55 time=43.1 ms Makes my graph for that one look real bad because it looks at first ping only. Thought about modifying my script to send a warm up ping first but I just don't think I should have to do that or is this a normal thing for a VPS that is pretty much idle? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
My centos machine is connected to my MS Windows machine on the net. The MS Windows machine is connected to Internet via valid IP address setting and on its secondary ip address setting it can see my centos machine on the intranet. Connecting any windows based computer directly to the internet is a really really bad idea... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] connection speeds between nodes
On Mar 8, 2011, at 9:48 AM, Les Mikesell lesmikes...@gmail.com wrote: On 3/8/11 8:32 AM, Ross Walker wrote: Why wouldn't you want safe writes? Is that like saying, and if you care for your data? You don't fsync every write on a local disk. Why demand it over NFS where the server is probably less likely to crash than the writing node? That's like saying you don't care about speed - or you can afford a 10x faster array just for the once-in-several-years you might see a crash. Well on my local disk I don't cache the data of tens or hundreds of clients and a server can have a memory fault and oops just as easily as any client. Also I believe it doesn't sync every single write (unless mounted on the client sync which is only for special cases and not what I am talking about) only when the client issues a sync or when the file is closed. The client is free to use async io if it wants, but the server SHOULD respect the clients wishes for synchronous io. If you set the server 'async' then all io is async whether the client wants it or not. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum tries to install a mix of architectures
Hi guys, I took your advice and performed a yum remove *386 on this box. Also yes I can easily append x86_64 or i386 (depending on the machine) each time I go to install an app. But my question remains is there any way to instruct yum to automatically select the right package architecture through a setting in one of the config files rather than having to specify which architecture you are working with each time. This is just a curiosity and not of course anything at all critical or important. thanks for your help. Tim On Tue, Mar 8, 2011 at 9:54 AM, Ross Walker rswwal...@gmail.com wrote: On Mar 7, 2011, at 9:41 AM, Tim Dunphy bluethu...@gmail.com wrote: On my centos boxes whenever I try to install packages I get a mix of packages from the repos that are both i386 and x86_64 in archictecture: Yum doesn't implicitly know if you want the 64 or 32-bit versions so it selects both. If you only want 64-bit put .x86_64 at the end of the package name. The 32-bit versions are there for 32-bit binary application support. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On Tue, Mar 8, 2011 at 1:19 AM, hadi motamedi motamed...@gmail.com wrote: Dear All Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? I believe Steve Barnes has the right answer -- you need to configure CentOS to obtain an IP address from the Windows machine with DHCP. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Enscript
Hal Davison wrote: Greetings.. Yes ENSCRIPT is a text to PostScript conversion service. As usual, am a bi confused on how to implement the fit-to-page functionality. Google resources say it is used then proceeds to dance around the issue Using the -ffontname@W/H option can one calculate the necessary dimensions for the print job consisting of over 200 pages? It irritates me when people propose something else in place of what the OP wants help with, so it is with misgivings that I present what I have worked out for converting a text file to postscript, fitting the page in 3-column format, using a different tool. It took hours of trial and error (too many docs!). /usr/bin/a2ps \ --prologue=bold \ -r \ -MLetterdj \ --columns=4 -j --font-size=7 \ --no-header \ -o outputfile.ps inputfile.txt -- Charles Polisher ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum tries to install a mix of architectures
But my question remains is there any way to instruct yum to automatically select the right package architecture through a setting in one of the config files rather than having to specify which architecture you are working with each time. You can place an exclude statement in /etc/yum.conf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On Tue, Mar 8, 2011 at 5:23 PM, Bart Schaefer barton.schae...@gmail.com wrote: On Tue, Mar 8, 2011 at 1:19 AM, hadi motamedi motamed...@gmail.com wrote: Dear All Can you please let me know how can try for Internet connection sharing such that my centos machine can see internet with minor modifications done? I believe Steve Barnes has the right answer -- you need to configure CentOS to obtain an IP address from the Windows machine with DHCP. ___ Yup, Windows Intenet Sharing is setup on 192.168.0.1 and assigns IP on the 192.168.0.0 range so you need to configure your CentOS machine to use DHCP instead. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.x 32bit VPS Ping Issue
Sounds like the remote router is having to ARP to find the MAC address of your VPS server. Perhaps its ARP cache is full or it has a relatively short ARP cache TTL. Cisco routers, by default, have a 4 hour timeout. I can't imagine a router having 5 minute timeout. You could test this by running a network capture on the VPS to see if the gateway is frequently ARPing for your VPS IP. Either way, I'd report the issue to your hosting provider and see if they have an answer. --Blake Original Message Subject: [CentOS] CentOS 5.x 32bit VPS Ping Issue From: Matt lm7...@gmail.com To: CentOS mailing list centos@centos.org Date: Tuesday, March 08, 2011 8:57:42 AM I just got an inexpensive VPS too have an outside server to play/test with. I am pinging it every 5 minutes and graphing with MRTG on another CentOS box. This works fine to all servers but the VPS. The first ping to the VPS is always crud and following ones are fine. [root@ns1 scripts]# ping X PING X 56(84) bytes of data. 64 bytes from X: icmp_seq=1 ttl=55 time=773 ms 64 bytes from X: icmp_seq=2 ttl=55 time=42.4 ms 64 bytes from X: icmp_seq=3 ttl=55 time=42.8 ms 64 bytes from X: icmp_seq=4 ttl=55 time=43.1 ms Makes my graph for that one look real bad because it looks at first ping only. Thought about modifying my script to send a warm up ping first but I just don't think I should have to do that or is this a normal thing for a VPS that is pretty much idle? ___ 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] what wrong about my ipv6 address
Hi Thank you for your help I type the ifconfig -a there is ipv6 address inet6 fe80::20c:29ff:fe3c:92a1/64 scope link tentative i also add one inet6 2001:db8:cafe:::12/64 scope global tentative but both are not pingable by ping6 Here are commands you suggested me to run route -n -A inet6 Kernel IPv6 routing table Destination Next Hop Flags Metric RefUse Iface 2001:db8:cafe:::/64 :: U 25600 eth0 fe80::/64 :: U 25600 eth0 ::1/128 :: U 0 21 lo ff00::/8:: U 25600 eth0 ip -6 route 2001:db8:cafe:::/64 dev eth0 metric 256 expires 21334307sec mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev eth0 metric 256 expires 21330690sec mtu 1500 advmss 1440 hoplimit 4294967295 I can't ping ipv6.google.com but I should ping the eth0 ipv6 as it is host ip address. Right? Thank you for your help. --- On Tue, 3/8/11, Jakub Jedelsky jakub.jedel...@gmail.com wrote: From: Jakub Jedelsky jakub.jedel...@gmail.com Subject: Re: [CentOS] what wrong about my ipv6 address To: CentOS mailing list centos@centos.org Received: Tuesday, March 8, 2011, 3:36 AM Dne 7.3.2011 20:56, ann kok napsal(a): Hi I used the command ip -6 addr add 2001:DB8:CAFE:::12/64 dev eth0 to add ipv6 address and can see it in ifconfig but can't ping it Why? Thank you # ping6 2001:db8:cafe:::12 PING 2001:db8:cafe:::12(2001:db8:cafe:::12) 56 data bytes From ::1 icmp_seq=1 Destination unreachable: Address unreachable From ::1 icmp_seq=2 Destination unreachable: Address unreachable From ::1 icmp_seq=3 Destination unreachable: Address unreachable From ::1 icmp_seq=5 Destination unreachable: Address unreachable From ::1 icmp_seq=6 Destination unreachable: Address unreachable From ::1 icmp_seq=7 Destination unreachable: Address unreachable From ::1 icmp_seq=9 Destination unreachable: Address unreachable From ::1 icmp_seq=10 Destination unreachable: Address unreachable From ::1 icmp_seq=11 Destination unreachable: Address unreachable hi, have you correctly set gateway? Send `ip -6 route` and `route -n -A inet6` to us. What about to ping ipv6.google.com from this pc? Where did you run ping command? Have you IPv6 enabled there? From ::1 looks like something is misconfigured.. JJ ___ 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] yum tries to install a mix of architectures
ok that's great! thank you! On Tue, Mar 8, 2011 at 10:29 AM, compdoc comp...@hotrodpc.com wrote: But my question remains is there any way to instruct yum to automatically select the right package architecture through a setting in one of the config files rather than having to specify which architecture you are working with each time. You can place an exclude statement in /etc/yum.conf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Epel and yum downgrade : possible ?
Hello, Is it possible to downgrade to an old version of a package on epel ? I am in troubles with the new dokuwiki-0-0.6.20101107.a.el5, and cannot find dokuwiki-0-0.4.20091225.c.el5.noarch... Thanks, -- Philippe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] what wrong about my ipv6 address
On 03/08/2011 10:42 AM, ann kok wrote: Hi Thank you for your help I type the ifconfig -a there is ipv6 address inet6 fe80::20c:29ff:fe3c:92a1/64 scope link tentative i also add one inet6 2001:db8:cafe:::12/64 scope global tentative but both are not pingable by ping6 Here are commands you suggested me to run route -n -A inet6 Kernel IPv6 routing table Destination Next Hop Flags Metric RefUse Iface 2001:db8:cafe:::/64 :: U 25600 eth0 fe80::/64 :: U 25600 eth0 ::1/128 :: U 0 21 lo ff00::/8:: U 25600 eth0 ip -6 route 2001:db8:cafe:::/64 dev eth0 metric 256 expires 21334307sec mtu 1500 advmss 1440 hoplimit 4294967295 fe80::/64 dev eth0 metric 256 expires 21330690sec mtu 1500 advmss 1440 hoplimit 4294967295 I can't ping ipv6.google.com but I should ping the eth0 ipv6 as it is host ip address. Right? Thank you for your help. --- On Tue, 3/8/11, Jakub Jedelskyjakub.jedel...@gmail.com wrote: From: Jakub Jedelskyjakub.jedel...@gmail.com Subject: Re: [CentOS] what wrong about my ipv6 address To: CentOS mailing listcentos@centos.org Received: Tuesday, March 8, 2011, 3:36 AM Dne 7.3.2011 20:56, ann kok napsal(a): Hi I used the command ip -6 addr add 2001:DB8:CAFE:::12/64 dev eth0 to add ipv6 address and can see it in ifconfig but can't ping it Why? Thank you # ping6 2001:db8:cafe:::12 PING 2001:db8:cafe:::12(2001:db8:cafe:::12) 56 data bytes From ::1 icmp_seq=1 Destination unreachable: Address unreachable From ::1 icmp_seq=2 Destination unreachable: Address unreachable From ::1 icmp_seq=3 Destination unreachable: Address unreachable From ::1 icmp_seq=5 Destination unreachable: Address unreachable From ::1 icmp_seq=6 Destination unreachable: Address unreachable From ::1 icmp_seq=7 Destination unreachable: Address unreachable From ::1 icmp_seq=9 Destination unreachable: Address unreachable From ::1 icmp_seq=10 Destination unreachable: Address unreachable From ::1 icmp_seq=11 Destination unreachable: Address unreachable hi, have you correctly set gateway? Send `ip -6 route` and `route -n -A inet6` to us. What about to ping ipv6.google.com from this pc? Where did you run ping command? Have you IPv6 enabled there? From ::1 looks like something is misconfigured.. JJ ___ 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 can you ping6 ::1 ? what does ip6tables -L -n show? Have you looked at http://tldp.org/HOWTO/Linux+IPv6-HOWTO/ ??? -- Stephen Clark *NetWolves* Sr. Software Engineer III Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.x 32bit VPS Ping Issue
On 3/8/2011 8:57 AM, Matt wrote: I just got an inexpensive VPS too have an outside server to play/test with. I am pinging it every 5 minutes and graphing with MRTG on another CentOS box. This works fine to all servers but the VPS. The first ping to the VPS is always crud and following ones are fine. [root@ns1 scripts]# ping X PING X 56(84) bytes of data. 64 bytes from X: icmp_seq=1 ttl=55 time=773 ms 64 bytes from X: icmp_seq=2 ttl=55 time=42.4 ms 64 bytes from X: icmp_seq=3 ttl=55 time=42.8 ms 64 bytes from X: icmp_seq=4 ttl=55 time=43.1 ms Makes my graph for that one look real bad because it looks at first ping only. Thought about modifying my script to send a warm up ping first but I just don't think I should have to do that or is this a normal thing for a VPS that is pretty much idle? How many routers are there between you and the target? Normally they cache recently-used routes for a short time but have to do a more expensive lookup for the first access. That probably has more of an effect than the target's own response. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and Marvell SAS/SATA drivers
I blame Adaptec for the dominance of IDE. Seriously. If Adaptec A) hadn't had the lionshare of the SCSI mindset in the PC business back in the 90s, and B) hadn't made so much overpriced buggy crap, we'd all be using SCSI today. Yes and No. I remember playing with it back in the 90's and what drove me away from SCSI was the complexity of the standard. Yes Adaptec made it harder then it had to be but IDE, for all it's failings, was easier to use. You jumper'd one disk as master and one as slave and it pretty much just worked. SCSI on the other hand, at least in DOS/Win3/Win95/98, was a complex process involving TSR's and fiddling with jumpers on the disks HBA. I remember my father spent six hours trying to get a simple SCSI scanner to work. By the time RedHat 6 came out, when I made my first real foray into Linux, SCSI support was a lot better. I also took the time to sit down with a sysadmin I knew and download his knowledge about SCSI which he'd learned over the decades. -- Drew Nothing in life is to be feared. It is only to be understood. --Marie Curie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and Marvell SAS/SATA drivers
On Tue, 8 Mar 2011, Drew wrote: I blame Adaptec for the dominance of IDE. Seriously. If Adaptec A) hadn't had the lionshare of the SCSI mindset in the PC business back in the 90s, and B) hadn't made so much overpriced buggy crap, we'd all be using SCSI today. Yes and No. I remember playing with it back in the 90's and what drove me away from SCSI was the complexity of the standard. Yes Adaptec made it harder then it had to be but IDE, for all it's failings, was easier to use. You jumper'd one disk as master and one as slave and it pretty much just worked. SCSI on the other hand, at least in DOS/Win3/Win95/98, was a complex process involving TSR's and fiddling with jumpers on the disks HBA. I remember my father spent six hours trying to get a simple SCSI scanner to work. I loved the mid-90s saying... SCSI is like voodoo: it all depends on where you stick the pins. -- Paul Heinlein heinl...@madboa.com http://www.madboa.com/___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum tries to install a mix of architectures
On 03/08/2011 09:51 AM, Tim Dunphy wrote: ok that's great! thank you! On Tue, Mar 8, 2011 at 10:29 AM, compdoc comp...@hotrodpc.com wrote: But my question remains is there any way to instruct yum to automatically select the right package architecture through a setting in one of the config files rather than having to specify which architecture you are working with each time. You would put this in your /etc/yum.conf file exclude=*.i386 *.i686 I would also do this: yum reinstall \* The reason being that sometimes the /usr/share/ items (shared between BOTH packages) get removed when removing multi arch RPMS. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Epel and yum downgrade : possible ?
On 08/03/11 15:53, Philippe Naudin wrote: Hello, Is it possible to downgrade to an old version of a package on epel ? I am in troubles with the new dokuwiki-0-0.6.20101107.a.el5, and cannot find dokuwiki-0-0.4.20091225.c.el5.noarch... Thanks, You will need to install the yum-allowdowngrade package if it's not already installed to allow yum to do this. Then simply run: yum downgrade dokuwiki which should downgrade to the previously available version Hope that helps. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Epel and yum downgrade : possible ?
On 08/03/11 16:55, Ned Slider wrote: On 08/03/11 15:53, Philippe Naudin wrote: Hello, Is it possible to downgrade to an old version of a package on epel ? I am in troubles with the new dokuwiki-0-0.6.20101107.a.el5, and cannot find dokuwiki-0-0.4.20091225.c.el5.noarch... Thanks, You will need to install the yum-allowdowngrade package if it's not already installed to allow yum to do this. Then simply run: yum downgrade dokuwiki which should downgrade to the previously available version Replying to myself... I neglected to mention this relies on the repository keeping old versions available for you to downgrade to. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] connection speeds between nodes
On Tue, 8 Mar 2011, Ross Walker wrote: The OP wanted 90MB/s per node and we have no clue whether the application he is using is capable of driving 1MB block sizes. I thought he wanted 90MB/s reads per node (and I've demonstrated that's doable with NFS). The only reason I'm not showing it with four clients is because that machine only has two GigE interfaces, so it's not going to happen with any protocol. That also showed ~80MB/s writes per node. Why wouldn't you want safe writes? Is that like saying, and if you care for your data? The absolute definiton of safe here is quite important. In the event of a power loss, and a failure of the UPS, quite possibly also followed by a failure of the RAID battery you'll get data loss, as some writes won't be committed to disk despite the client thinking they are. Now personally, I'll gladly accept that restriction in many situations where performance is critical. jh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS and Marvell SAS/SATA drivers
Drew wrote: I blame Adaptec for the dominance of IDE. Â Seriously. If Adaptec A) hadn't had the lionshare of the SCSI mindset in the PC business back in the 90s, and B) hadn't made so much overpriced buggy crap, we'd all be using SCSI today. Yes and No. I remember playing with it back in the 90's and what drove me away from SCSI was the complexity of the standard. Yes Adaptec made it harder then it had to be but IDE, for all it's failings, was easier to use. You jumper'd one disk as master and one as slave and it pretty much just worked. SCSI on the other hand, at least in DOS/Win3/Win95/98, was a complex process involving TSR's and fiddling with jumpers on the disks HBA. I remember my father spent six hours trying to get a simple SCSI scanner to work. snip Huh - odd. I know it didn't take me very long (once I'd gotten a used SIIG SCSI card from a co-worker) to get my SCSI scanner up and running under Win95 (and I still have both the card and the scanner) mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum tries to install a mix of architectures
On Tue, Mar 8, 2011 at 8:54 AM, Johnny Hughes joh...@centos.org wrote: I would also do this: yum reinstall \* The reason being that sometimes the /usr/share/ items (shared between BOTH packages) get removed when removing multi arch RPMS. The above lines added to the FAQ: http://wiki.centos.org/FAQ/General?action=show#head-357346ff0bf7c14b0849c3bcce39677aaca528e9 Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /etc/hosts - hostname alias for 127.0.0.1
On 03/07/2011 02:22 PM, m.r...@5-cent.us wrote: Keith Keller wrote: On Mon, Mar 07, 2011 at 10:34:24AM -0600, Sean Carolan wrote: Can anyone point out reasons why it might be a bad idea to put this sort of line in your /etc/hosts file, eg, pointing the FQDN at the loopback address? 127.0.0.1hostname.domain.com hostname localhost localhost.localdomain Would the application work with a hosts entry like this? 127.0.0.1hostname.dummy localhost localhost.localdomain (Make sure you pick .dummy so as not to interfere with any other DNS.) In theory you could leave off .dummy, but then you risk hostname being completed with the search domain in resolv.conf, which creates the problems already mentioned with putting hostname.domain.com in /etc/hosts. (I have not tested this at all!) And giving it 127.0.0.1 would tell it others to ignore it, I think. Where did your user come up with this idea - clearly, they have *no* clue what they're doing, and need at least a brown bag lunch about TCP/IP, and they should not be allowed to dictate this. Their idea is a bug, and needs to be fixed. It is the default way RHEL and CentOS setup up network connections ... and except for a few badly behaving applications, things work fine like that. (the hostname as 127.0.0.1) You guys do know that the names in your host file only apply to YOU on that machine right? It does not matter if you connect to 127.0.0.1 or something else UNLESS you specifically listen on a specific IP address on that machine AND you need to connect to that address from the machine itself. This is also the way to go if you are on DHCP and if the address of the machine might change. Remember, no machines except that one will refer to it in that way. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Server hangs on CentOS 5.5
Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] connection speeds between nodes
On Tue, 8 Mar 2011, Ross Walker wrote: Well on my local disk I don't cache the data of tens or hundreds of clients and a server can have a memory fault and oops just as easily as any client. Also I believe it doesn't sync every single write (unless mounted on the client sync which is only for special cases and not what I am talking about) only when the client issues a sync or when the file is closed. The client is free to use async io if it wants, but the server SHOULD respect the clients wishes for synchronous io. If you set the server 'async' then all io is async whether the client wants it or not. I think you're right that this is how it should work, I'm just not entirely sure that's actually generally the case (whether that's because typical applications try to do sync writes or if it's for other reasons, I don't know). Figures for just changing the server to sync, everything else identical. Client does not have 'sync' set as a mount option. Both attached to the same gigabit switch (so favouring sync as far as you reasonably could with gigabit): sync;time (dd if=/dev/zero of=testfile bs=1M count=1;sync) async: 78.8MB/sec sync: 65.4MB/sec That seems like a big enough performance hit to me to at least consider the merits of running async. That said, running dd with oflag=direct appears to bring the performance up to async levels: oflag=direct with sync nfs export: 81.5 MB/s oflag=direct with async nfs export: 87.4 MB/s But if you've not got control over how your application writes out to disk, that's no help. jh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /etc/hosts - hostname alias for 127.0.0.1
Johnny Hughes wrote: On 03/07/2011 02:22 PM, m.r...@5-cent.us wrote: Keith Keller wrote: On Mon, Mar 07, 2011 at 10:34:24AM -0600, Sean Carolan wrote: Can anyone point out reasons why it might be a bad idea to put this sort of line in your /etc/hosts file, eg, pointing the FQDN at the loopback address? 127.0.0.1hostname.domain.com hostname localhost localhost.localdomain Would the application work with a hosts entry like this? 127.0.0.1hostname.dummy localhost localhost.localdomain And giving it 127.0.0.1 would tell it others to ignore it, I think. Where did your user come up with this idea - clearly, they have *no* clue what they're doing, and need at least a brown bag lunch about TCP/IP, and they should not be allowed to dictate this. Their idea is a bug, and needs to be fixed. snip You guys do know that the names in your host file only apply to YOU on that machine right? It does not matter if you connect to 127.0.0.1 or something else UNLESS you specifically listen on a specific IP address on that machine AND you need to connect to that address from the machine itself. snip Let me expand on the above: if anyone on *any* other machine is trying to connect to that, it won't work. If they try to point a browser to it, unless they've done ssh -X to the server, they'll talk to their *own* machine, and it won't be found. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
On 3/8/2011 11:24 AM, Michael Eager wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? Probably something hardware related. Bad memory, overheating, power supply, etc. I've even seen some rare cases where a bios update would fix it although it didn't make much sense for a machine to run for years, then need a firmware change. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
I'm running a server which is usually stable, but every once in a while it hangs. There can be many reasons for that. One thing I'm curious about - try looking at the reallocated sector count, and current pending sector count for your drives with smartctl. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
On Tue, Mar 8, 2011 at 12:24 PM, Michael Eager ea...@eagerm.com wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? Please be more specific when you say it hangs. Does it just pause for a minute and then continue working, or does it freeze completely until you reboot it? Does it respond to s soft reboot like Ctrl-Alt-Del, or do you need to hard power it off? Since this is an NFS server I'm going to guess there might be a lot of IO. Maybe there is some large IO load going on, like maybe all your VMs are running anti-virus scan at the same time, or something like that. To troubleshoot, I recommend installing the 'sar' utilities (yum install sysstat) and then reviewing the collected data using the 'ksar' utility (http://sourceforge.net/projects/ksar/). sar/ksar are good for tracking down acute problems. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Race condition with mdadm at bootup?
Hello folks, I am experiencing a weird problem at bootup with large RAID-6 arrays. After Googling around (a lot) I find that others are having the same issues with CentOS/RHEL/Ubuntu/whatever. In my case it's Scientific Linux-6 which should behave the same way as CentOS-6. I had the same problem with the RHEL-6 evaluation version. I'm posting this question to the SL mailing list as well. For some reason, each time I boot the server a random number of RAID arrays will come up with the hot-spare missing. This occurs with hot-spare components only, never with the active components. Once in a while I'm lucky enough to have all components come up correctly when the system boots. Which hot spares fail to be configured is completely random. I have 12 2TB drives, each divided into 4 primary partitions, and configured as 8 partitionable MD arrays. All drives are partitioned exactly the same way. Each R6 array consists of 5 components (partitions) plus a hot-spare. The small RAID-1 host OS array never has a problem with its hot spare. The predominant theory via Google is that there's a race condition at boot time between full enumeration of all disk partitions and mdadm assembling the arrays. Does anyone know of a way to have mdadm delay its assembly until all partitions are enumerated? Even if it's simply to insert a several-second wait time, that would probably work. My knowledge of the internal workings of the boot process isn't good enough to know where to look. I tried to issue 'mdadm -A -s /dev/md/md_dXX' after booting, but all it does is complain about No suitable drives found for /dev. Here is the mdadm.conf file: - MAILADDR root PROGRAM /root/bin/record_md_events.sh DEVICE partitions ##DEVICE /dev/sd* this didn't help. AUTO +imsm +1.x -all ## Host OS root arrays: ARRAY /dev/md0 metadata=1.0 num-devices=2 spares=1 UUID=75941adb:33e8fa6a:095a70fd:6fe72c69 ARRAY /dev/md1 metadata=1.1 num-devices=2 spares=1 UUID=7a96d82d:bd6480a2:7433f1c2:947b84e9 ARRAY /dev/md2 metadata=1.1 num-devices=2 spares=1 UUID=ffc6070d:e57a675e:a1624e53:b88479d0 ## Partitionable arrays on LSI controller: ARRAY /dev/md/md_d10 metadata=1.2 num-devices=5 spares=1 UUID=135f0072:90551266:5d9a126a:011e3471 ARRAY /dev/md/md_d11 metadata=1.2 num-devices=5 spares=1 UUID=59e05755:5b3ec51e:e3002cfd:f0720c38 ARRAY /dev/md/md_d12 metadata=1.2 num-devices=5 spares=1 UUID=7916eb13:cd5063ba:a1404cd7:3b65a438 ARRAY /dev/md/md_d13 metadata=1.2 num-devices=5 spares=1 UUID=9a767e04:e4e56a9d:c369d25c:9d333760 ## Partitionable arrays on Tempo controllers: ARRAY /dev/md/md_d20 metadata=1.2 num-devices=5 spares=1 UUID=1d5a3c32:eb9374ac:eff41754:f8a176c1 ARRAY /dev/md/md_d21 metadata=1.2 num-devices=5 spares=1 UUID=38ffe8c9:f3922db9:60bb1522:80fea016 ARRAY /dev/md/md_d22 metadata=1.2 num-devices=5 spares=1 UUID=ebb4ea67:b31b2105:498d81af:9b4f45d3 ARRAY /dev/md/md_d23 metadata=1.2 num-devices=5 spares=1 UUID=da07407f:deeb8906:7a70ae82:6b1d8c4a - Your suggestions are most welcome ... thanks. Chuck ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
compdoc wrote: I'm running a server which is usually stable, but every once in a while it hangs. There can be many reasons for that. One thing I'm curious about - try looking at the reallocated sector count, and current pending sector count for your drives with smartctl. Thanks for the suggestions. All disks show zero realloc sectors and pending sectors. Smartctl says no failures. Also, max temp was 48 C or less. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Brian Mathis wrote: On Tue, Mar 8, 2011 at 12:24 PM, Michael Eager ea...@eagerm.com wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? Please be more specific when you say it hangs. Does it just pause for a minute and then continue working, or does it freeze completely until you reboot it? Does it respond to s soft reboot like Ctrl-Alt-Del, or do you need to hard power it off? System is unresponsive. Monitor blank, no response to keyboard, no response to remote ssh. Hit reset to reboot. The only indication that I had that there was a problem (other that attached systems were not accessing files) was that the fan(s) on the server were louder than normal. Since this is an NFS server I'm going to guess there might be a lot of IO. Maybe there is some large IO load going on, like maybe all your VMs are running anti-virus scan at the same time, or something like that. At the time, should be very low NFS load. To troubleshoot, I recommend installing the 'sar' utilities (yum install sysstat) and then reviewing the collected data using the 'ksar' utility (http://sourceforge.net/projects/ksar/). sar/ksar are good for tracking down acute problems. Thanks for the suggestion. I'll look into sar. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Les Mikesell wrote: On 3/8/2011 11:24 AM, Michael Eager wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? Probably something hardware related. Bad memory, overheating, power supply, etc. I've even seen some rare cases where a bios update would fix it although it didn't make much sense for a machine to run for years, then need a firmware change. The system is on a UPS and temps seem reasonable. Locating a transient memory problem is time consuming. Identifying a power supply which sometimes spikes is even more difficult. I'd like to have a clue about the likely problem before shutting down the server for an extended period. I'll set up sar and sensord to periodically log system status and see if this gives me a clue for the next time this happens. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
The only indication that I had that there was a problem (other that attached systems were not accessing files) was that the fan(s) on the server were louder than normal. Are you saying the fans were running faster than normal while it was hung? Or are they louder than usual even while its running? Fans making noise can mean the fan isn't spinning as fast as it should because the bearing is failing. Be a good time to open the case to check to see that all fans are working... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Michael Eager wrote: Brian Mathis wrote: On Tue, Mar 8, 2011 at 12:24 PM, Michael Eager ea...@eagerm.com wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? snip System is unresponsive. Monitor blank, no response to keyboard, no response to remote ssh. Hit reset to reboot. Suggestion 1: -from the console-, run setterm --powersave off That way, even if you connect a monitor (in our, uh, computer labs, we have a monitor-on-a-stick), you'll still see what's on the screen at the end, not the power save blanking. The only indication that I had that there was a problem (other that attached systems were not accessing files) was that the fan(s) on the server were louder than normal. Um. Um. What make is the server? We had that on some new Suns, where after working on them, the fans would spin up and *not* spin down to normal. The answer to that was, after powering them down, pull all the plugs, and leave them out for 20 sec or so mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
On 3/8/2011 12:31 PM, Michael Eager wrote: Any suggestions where I might look for a clue? Probably something hardware related. Bad memory, overheating, power supply, etc. I've even seen some rare cases where a bios update would fix it although it didn't make much sense for a machine to run for years, then need a firmware change. The system is on a UPS and temps seem reasonable. Locating a transient memory problem is time consuming. Identifying a power supply which sometimes spikes is even more difficult. I'd like to have a clue about the likely problem before shutting down the server for an extended period. I'll set up sar and sensord to periodically log system status and see if this gives me a clue for the next time this happens. The times I've seen things like that it would happen too quickly to log anything. One other possibility is an individual bad CPU fan, but then you might have to shut down completely for a while to wake it up. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 03/08/11 7:01 AM, compdoc wrote: Connecting any windows based computer directly to the internet is a really really bad idea... go away. it isn't 1998 anymore. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 03/08/11 7:01 AM, compdoc wrote: Connecting any windows based computer directly to the internet is a really really bad idea... go away. it isn't 1998 anymore. That may be, but the advice is still valid, windows is infinitely more vulnerable than *NIX on a direct/open connection. Most corps filter traffic to windows boxes through intermediaries to limit risk. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On Tue, Mar 8, 2011 at 8:59 PM, David Brian Chait dch...@invenda.com wrote: On 03/08/11 7:01 AM, compdoc wrote: Connecting any windows based computer directly to the internet is a really really bad idea... go away. it isn't 1998 anymore. That may be, but the advice is still valid, windows is infinitely more vulnerable than *NIX on a direct/open connection. Most corps filter traffic to windows boxes through intermediaries to limit risk. Do you have any proof of this? OR are you making assumptions of past experiences? We have many Windows server on the net, directly with very few hassles. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 3/8/2011 12:53 PM, John R Pierce wrote: On 03/08/11 7:01 AM, compdoc wrote: Connecting any windows based computer directly to the internet is a really really bad idea... go away. it isn't 1998 anymore. Still, consumer type NAT routers are really cheap, take little power, and would 'just work' in this scenario if you put both the windows and centos boxes behind it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
Do you have any proof of this? OR are you making assumptions of past experiences? We have many Windows server on the net, directly with very few hassles. I have never had a *NIX server under my charge hacked, I have had several Windows machines (those directly connected to the internet) hacked. No, I am not a *NIX worshiper either, I happen to have 7 MS certs. With that said, each OS has stregnths and weaknesses, MS tends to function better as a user facing interface to windows desktop infrastructure, but I avoid it like the plague for public facing infrastructure. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
compdoc wrote: The only indication that I had that there was a problem (other that attached systems were not accessing files) was that the fan(s) on the server were louder than normal. Are you saying the fans were running faster than normal while it was hung? Or are they louder than usual even while its running? They were louder than normal when hung, but returned to being quiet after the reboot. Fans making noise can mean the fan isn't spinning as fast as it should because the bearing is failing. Be a good time to open the case to check to see that all fans are working... Good idea. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 03/08/11 10:59 AM, David Brian Chait wrote: That may be, but the advice is still valid, windows is infinitely more vulnerable than *NIX on a direct/open connection. Most corps filter traffic to windows boxes through intermediaries to limit risk. Corps firewall their unix servers too. All our public internet servers are in a secure DMZ isolated from both our WAN and the Internet. How is that any different? Millions of users carry Windows laptops and use them at public access points daily. Windows since XP SP2 has had a perfectly decent firewall built in and enabled by default. Anyone sane is running an antivirus suite. Modern web browsers like Google Chrome automatically catch and block a lot of web hackery. Unix, improperly configured, is just as vunerable. Witness the number of users around here who are running 5.2 or whatever without having ever installed patches 'because its against XYZ support policy' or something equally lame. The endless list of CERT advisories against popular daemons. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 03/08/11 11:09 AM, Les Mikesell wrote: On 3/8/2011 12:53 PM, John R Pierce wrote: On 03/08/11 7:01 AM, compdoc wrote: Connecting any windows based computer directly to the internet is a really really bad idea... go away. it isn't 1998 anymore. Still, consumer type NAT routers are really cheap, take little power, and would 'just work' in this scenario if you put both the windows and centos boxes behind it. I concur.But I suspect the OPs issue is a simple network configuration issue as Windows ICS uses 192.168.0.0/24 and he rattled off some 172.16 net in his route command. oh look, its our friend 'never read the manual' hadi again. I'm out. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum tries to install a mix of architectures
On Tue, Mar 8, 2011 at 12:05 PM, Akemi Yagi amy...@gmail.com wrote: On Tue, Mar 8, 2011 at 8:54 AM, Johnny Hughes joh...@centos.org wrote: I would also do this: yum reinstall \* The reason being that sometimes the /usr/share/ items (shared between BOTH packages) get removed when removing multi arch RPMS. The above lines added to the FAQ: http://wiki.centos.org/FAQ/General?action=show#head-357346ff0bf7c14b0849c3bcce39677aaca528e9 Take a look at http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Migration_Planning_Guide/ch09s05.html. The better solution, at least for CentOS 5, is to add this to /etc/yum.conf # Disable auto-installation of i386 and x86_64 #multilib_policy=all multilib_policy=best ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
m.r...@5-cent.us wrote: Michael Eager wrote: Brian Mathis wrote: On Tue, Mar 8, 2011 at 12:24 PM, Michael Eager ea...@eagerm.com wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? snip System is unresponsive. Monitor blank, no response to keyboard, no response to remote ssh. Hit reset to reboot. Suggestion 1: -from the console-, run setterm --powersave off That way, even if you connect a monitor (in our, uh, computer labs, we have a monitor-on-a-stick), you'll still see what's on the screen at the end, not the power save blanking. I get a message cannot (un)set powersave mode. I'll add this to .xinitrc. The only indication that I had that there was a problem (other that attached systems were not accessing files) was that the fan(s) on the server were louder than normal. Um. Um. What make is the server? We had that on some new Suns, where after working on them, the fans would spin up and *not* spin down to normal. The answer to that was, after powering them down, pull all the plugs, and leave them out for 20 sec or so House-built, Gigabyte MB, AMD Phenom II X6, 6Gb RAM. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Scott Silva wrote: Did you try the obvious stuff for older equipment? Remove and reseat ALL cards and memory, several times, to clean off any oxidation from contacts. Blow out any dust and collected lint. reseat drive cables. Not yet, but that's always a good idea. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
Windows since XP SP2 has had a perfectly decent firewall built in and enabled by default. Selinux is installed by default too, and usually the first thing that's disabled when something isn't working, just as it is with windows users. You are right about one thing: It's not 1998. It's a lot less safe now than it was then. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
Rudi Ahlers wrote: On Tue, Mar 8, 2011 at 8:59 PM, David Brian Chait dch...@invenda.com wrote: On 03/08/11 7:01 AM, compdoc wrote: Connecting any windows based computer directly to the internet is a really really bad idea... go away. it isn't 1998 anymore. That may be, but the advice is still valid, windows is infinitely more vulnerable than *NIX on a direct/open connection. Most corps filter traffic to windows boxes through intermediaries to limit risk. Do you have any proof of this? OR are you making assumptions of past experiences? We have many Windows server on the net, directly with very few hassles. And I know of a major incident, the vector and targets being all Windows systems. Sorry, I literally can't speak about how I know or more details mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
John R Pierce wrote: On 03/08/11 10:59 AM, David Brian Chait wrote: That may be, but the advice is still valid, windows is infinitely more vulnerable than *NIX on a direct/open connection. Most corps filter traffic to windows boxes through intermediaries to limit risk. Corps firewall their unix servers too. All our public internet servers are in a secure DMZ isolated from both our WAN and the Internet. How is that any different? Millions of users carry Windows laptops and use them at public access points daily. Windows since XP SP2 has had a perfectly decent firewall snip *snort* And how many *millions* of Windows systems are part of botnets? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Michael Eager wrote: m.r...@5-cent.us wrote: Suggestion 1: -from the console-, run setterm --powersave off That way, even if you connect a monitor (in our, uh, computer labs, we have a monitor-on-a-stick), you'll still see what's on the screen at the end, not the power save blanking. I get a message cannot (un)set powersave mode. I'll add this to .xinitrc. Or better, CTRL-ALT-F1 to switch to serial console and run setterm -powersave off. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Michael Eager wrote: m.r...@5-cent.us wrote: Michael Eager wrote: Brian Mathis wrote: On Tue, Mar 8, 2011 at 12:24 PM, Michael Eager ea...@eagerm.com wrote: I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? snip System is unresponsive. Monitor blank, no response to keyboard, no response to remote ssh. Hit reset to reboot. Suggestion 1: -from the console-, run setterm --powersave off That way, even if you connect a monitor (in our, uh, computer labs, we have a monitor-on-a-stick), you'll still see what's on the screen at the end, not the power save blanking. I get a message cannot (un)set powersave mode. Did you do it from the console? It won't work (or at least neither my manager nor I have figured out how to do it) remotely. I'll add this to .xinitrc. Um. This isn't X, it's below that. The only indication that I had that there was a problem (other that attached systems were not accessing files) was that the fan(s) on the server were louder than normal. Um. Um. What make is the server? We had that on some new Suns, where after working on them, the fans would spin up and *not* spin down to normal. The answer to that was, after powering them down, pull all the plugs, and leave them out for 20 sec or so House-built, Gigabyte MB, AMD Phenom II X6, 6Gb RAM. Any chance the problem's with the video card? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 03/08/11 11:41 AM, m.r...@5-cent.us wrote: And I know of a major incident, the vector and targets being all Windows systems. Sorry, I literally can't speak about how I know or more details duh. theres a lot more Windows systems out there than everything else put together. of COURSE the hackers are going to target them. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
compdoc wrote: Windows since XP SP2 has had a perfectly decent firewall built in and enabled by default. Selinux is installed by default too, and usually the first thing that's disabled when something isn't working, just as it is with windows users. You are right about one thing: It's not 1998. It's a lot less safe now than it was then. Yup. Last time I saw a story about someone hanging an unprotected Windows box on the 'Net, late last year, I think, it was down from 12 min to 5 min before it was attacked. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On 03/08/11 11:47 AM, m.r...@5-cent.us wrote: Yup. Last time I saw a story about someone hanging an unprotected Windows box on the 'Net, late last year, I think, it was down from 12 min to 5 min before it was attacked. and how long after you connect a 'nix box before worms start port knocking on ssh trying stupid combinations of user/pass over and over? I see a couple 1000 of those a day Mar 8 11:41:25 freescruz sshd[28012]: Failed password for daemon from 200.201.20.21 port 49462 ssh2 Mar 8 11:41:29 freescruz sshd[28026]: Failed password for adm from 200.201.20.21 port 49869 ssh2 Mar 8 11:41:32 freescruz sshd[28038]: Failed password for invalid user quark from 200.201.20.21 port 50352 ssh2 Mar 8 11:41:36 freescruz sshd[28048]: Failed password for invalid user sys from 200.201.20.21 port 50811 ssh2 Mar 8 11:41:40 freescruz sshd[28055]: Failed password for invalid user liyiduo from 200.201.20.21 port 50984 ssh2 Mar 8 11:41:44 freescruz sshd[28061]: Failed password for games from 200.201.20.21 port 51438 ssh2 Mar 8 11:41:47 freescruz sshd[28071]: Failed password for mailnull from 200.201.20.21 port 51927 ssh2 Mar 8 11:41:52 freescruz sshd[28086]: Failed password for invalid user backup from 200.201.20.21 port 52095 ssh2 Mar 8 11:41:55 freescruz sshd[28094]: Failed password for sync from 200.201.20.21 port 52604 ssh2 Mar 8 11:41:59 freescruz sshd[28103]: Failed password for shutdown from 200.201.20.21 port 53016 ssh2 Mar 8 11:42:03 freescruz sshd[28112]: Failed password for invalid user libuuid from 200.201.20.21 port 53504 ssh2 Mar 8 11:42:07 freescruz sshd[28145]: Failed password for invalid user liudongfeng from 200.201.20.21 port 53999 ssh2 Mar 8 11:42:10 freescruz sshd[28150]: Failed password for invalid user aaa from 200.201.20.21 port 54177 ssh2 Mar 8 11:42:14 freescruz sshd[28160]: Failed password for invalid user puxiaolong from 200.201.20.21 port 54585 ssh2 Mar 8 11:42:18 freescruz sshd[28167]: Failed password for invalid user yuzhakov from 200.201.20.21 port 55084 ssh2 Mar 8 11:42:22 freescruz sshd[28175]: Failed password for invalid user Debian-exim from 200.201.20.21 port 55590 ssh2 Mar 8 11:42:25 freescruz sshd[28183]: Failed password for invalid user irc from 200.201.20.21 port 55788 ssh2 Mar 8 11:42:29 freescruz sshd[28190]: Failed password for invalid user home3 from 200.201.20.21 port 56182 ssh2 Mar 8 11:42:33 freescruz sshd[28194]: Failed password for invalid user messagebus from 200.201.20.21 port 32824 ssh2 Mar 8 11:42:37 freescruz sshd[28203]: Failed password for invalid user netdump from 200.201.20.21 port 33315 ssh2 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Load balancing...
I'm surprised to see so many choosing HAProxy over LVS, which seems fairly integrated into Red Hat's offerings, with full documentation and rpms in CentOS and RHN. I've set up LVS before for an internal java application and it seemed straightforward after understanding arptables, etc. Is HAProxy worth considering as a better option for this scenario? Regards, -Iain On Mon, Mar 7, 2011 at 3:44 AM, Nico Kadel-Garcia nka...@gmail.com wrote: On Mon, Mar 7, 2011 at 1:36 AM, David Brian Chait dch...@invenda.com wrote: On Mon, Mar 7, 2011 at 4:40 AM, Tim Dunphy bluethu...@gmail.com wrote: however for my purpose open and free HAProxy remains best choice!! +1 for HAProxy; excellent piece of software. It really depends on your needs, if you are building a production ops environment then the last thing that you would want would be an unsupported/home grown solution. You need to consider the potential risks involved in implementing a poorly understood / virtually unsupported solution that in all likelihood only you would understand vs. a standard solution with an SLA behind it and an upgrade path going forward. Or in implementing an expensive, single point of failure third party device that requires a centralized control infrastructure. It can turn out to be a *very* expensive single point of failure, easily screwed up by a single upgrade or a single power supply issues or a failure to do failover networking to that device properly. Round-robin DNS is also, unfortunately, often mishandled. People mistake changing the ordering of listed A records for round-robin and, to quote Wikipedia: There is no standard procedure for deciding which address will be used by the requesting application. No such procedure. Zip, zero, nada, it's all client dependent. And if one of the IP's is on the same VLAN as the requesting host, you're *especially* likely to get all the traffic locked to that host, and DNS caches when you disable an IP can take rather unpredictable amounts of time to expire because every smart aleck downstream is doing their own caching and passing it along. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- -- - Iain Morris iain.t.mor...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On Tue, Mar 8, 2011 at 10:01 PM, John R Pierce pie...@hogranch.com wrote: On 03/08/11 11:47 AM, m.r...@5-cent.us wrote: Yup. Last time I saw a story about someone hanging an unprotected Windows box on the 'Net, late last year, I think, it was down from 12 min to 5 min before it was attacked. and how long after you connect a 'nix box before worms start port knocking on ssh trying stupid combinations of user/pass over and over? I see a couple 1000 of those a day Mar 8 11:41:25 freescruz sshd[28012]: Failed password for daemon from 200.201.20.21 port 49462 ssh2 Mar 8 11:41:29 freescruz sshd[28026]: Failed password for adm from 200.201.20.21 port 49869 ssh2 Mar 8 11:41:32 freescruz sshd[28038]: Failed password for invalid user quark from 200.201.20.21 port 50352 ssh2 Mar 8 11:41:36 freescruz sshd[28048]: Failed password for invalid user sys from 200.201.20.21 port 50811 ssh2 Mar 8 11:41:40 freescruz sshd[28055]: Failed password for invalid user liyiduo from 200.201.20.21 port 50984 ssh2 Mar 8 11:41:44 freescruz sshd[28061]: Failed password for games from 200.201.20.21 port 51438 ssh2 Mar 8 11:41:47 freescruz sshd[28071]: Failed password for mailnull from 200.201.20.21 port 51927 ssh2 Mar 8 11:41:52 freescruz sshd[28086]: Failed password for invalid user backup from 200.201.20.21 port 52095 ssh2 Mar 8 11:41:55 freescruz sshd[28094]: Failed password for sync from 200.201.20.21 port 52604 ssh2 Mar 8 11:41:59 freescruz sshd[28103]: Failed password for shutdown from 200.201.20.21 port 53016 ssh2 Mar 8 11:42:03 freescruz sshd[28112]: Failed password for invalid user libuuid from 200.201.20.21 port 53504 ssh2 Mar 8 11:42:07 freescruz sshd[28145]: Failed password for invalid user liudongfeng from 200.201.20.21 port 53999 ssh2 Mar 8 11:42:10 freescruz sshd[28150]: Failed password for invalid user aaa from 200.201.20.21 port 54177 ssh2 Mar 8 11:42:14 freescruz sshd[28160]: Failed password for invalid user puxiaolong from 200.201.20.21 port 54585 ssh2 Mar 8 11:42:18 freescruz sshd[28167]: Failed password for invalid user yuzhakov from 200.201.20.21 port 55084 ssh2 Mar 8 11:42:22 freescruz sshd[28175]: Failed password for invalid user Debian-exim from 200.201.20.21 port 55590 ssh2 Mar 8 11:42:25 freescruz sshd[28183]: Failed password for invalid user irc from 200.201.20.21 port 55788 ssh2 Mar 8 11:42:29 freescruz sshd[28190]: Failed password for invalid user home3 from 200.201.20.21 port 56182 ssh2 Mar 8 11:42:33 freescruz sshd[28194]: Failed password for invalid user messagebus from 200.201.20.21 port 32824 ssh2 Mar 8 11:42:37 freescruz sshd[28203]: Failed password for invalid user netdump from 200.201.20.21 port 33315 ssh2 Which is why you should secure your default Linux installs :) If memory serves me correct, the latest windows 2008 server is very secure by default and you have to jump through many hoops to unsecure it -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
John R Pierce wrote: On 03/08/11 11:47 AM, m.r...@5-cent.us wrote: Yup. Last time I saw a story about someone hanging an unprotected Windows box on the 'Net, late last year, I think, it was down from 12 min to 5 min before it was attacked. and how long after you connect a 'nix box before worms start port knocking on ssh trying stupid combinations of user/pass over and over? I see a couple 1000 of those a day Oh, sure, I see lots of them, too Of course, the most popular username is admin mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
m.r...@5-cent.us wrote: Michael Eager wrote: House-built, Gigabyte MB, AMD Phenom II X6, 6Gb RAM. Any chance the problem's with the video card? Video is on the MB. It doesn't seem likely that it's the video, since the system doesn't respond to network when it crashes. It could be anything. That's why I'm looking for something that would give me a bit of a hint what to look at. With an infrequent failure, it's not practical to replace components piecemeal. -- Michael Eagerea...@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Load balancing...
On Tue, Mar 8, 2011 at 3:26 PM, Iain Morris iain.t.mor...@gmail.com wrote: On Mon, Mar 7, 2011 at 3:44 AM, Nico Kadel-Garcia nka...@gmail.com wrote: On Mon, Mar 7, 2011 at 1:36 AM, David Brian Chait dch...@invenda.com wrote: On Mon, Mar 7, 2011 at 4:40 AM, Tim Dunphy bluethu...@gmail.com wrote: however for my purpose open and free HAProxy remains best choice!! +1 for HAProxy; excellent piece of software. It really depends on your needs, if you are building a production ops environment then the last thing that you would want would be an unsupported/home grown solution. You need to consider the potential risks involved in implementing a poorly understood / virtually unsupported solution that in all likelihood only you would understand vs. a standard solution with an SLA behind it and an upgrade path going forward. Or in implementing an expensive, single point of failure third party device that requires a centralized control infrastructure. It can turn out to be a *very* expensive single point of failure, easily screwed up by a single upgrade or a single power supply issues or a failure to do failover networking to that device properly. Round-robin DNS is also, unfortunately, often mishandled. People mistake changing the ordering of listed A records for round-robin and, to quote Wikipedia: There is no standard procedure for deciding which address will be used by the requesting application. No such procedure. Zip, zero, nada, it's all client dependent. And if one of the IP's is on the same VLAN as the requesting host, you're *especially* likely to get all the traffic locked to that host, and DNS caches when you disable an IP can take rather unpredictable amounts of time to expire because every smart aleck downstream is doing their own caching and passing it along. I'm surprised to see so many choosing HAProxy over LVS, which seems fairly integrated into Red Hat's offerings, with full documentation and rpms in CentOS and RHN. I've set up LVS before for an internal java application and it seemed straightforward after understanding arptables, etc. Is HAProxy worth considering as a better option for this scenario? Regards, -Iain I believe my post outlined a lot of the issues. LVS works at the IP-level, and as a result it cannot do intelligent things based on the content of the connections. A layer7 load balancer has a much better ability to handle real sticky sessions, and make all kinds of intelligent decisions based on the content, like serving images from one server while sending the dynamic app requests to another. I had initially looked as LVS (Piranha) specifically for the reasons you mentioned, but in the current Internet landscape it has challenges that just cannot be overcome. For us the big issue was a client who was load-balancing outgoing requests over multiple Class A subnets, which completely destroyed any ability for LVS to be able to support sticky sessions. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
And I know of a major incident, the vector and targets being all Windows systems. Sorry, I literally can't speak about how I know or more details I've been removing java from the computers I service. It's not used much if at all, and it's a vector. On one workstation I monitor, the java uninstaller removed java but left behind the java program's directories. The AV still finds malicious scripts being placed in the java folder after visiting infectious websites. Placed there by an updated version of IE8. Google Chrome , or even Firefox are the way to go for visiting those websites that no one admits to visiting... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
Video is on the MB. It doesn't seem likely that it's the video, since the system doesn't respond to network when it crashes. bad video hardware or drivers can easily crash the system If its running an X windows display of any sort, I'd suggest trying it in text-only mode. in /etc/inittab, set the default runlevel to 3 instead of 5. this leaves the video in plain VGA text mode which is far less likely to crash the system. id:3:initdefault: bonus, if this is a server, and thats a shared memory video system, disabling the graphic modes reduces the memory bus contention, speeding up the whole system by some percentage. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] connection speeds between nodes
thanks for all the response , really gives me a good idea where to pay attention to. the software we're using to distribute our renders is RoyalRender, i'm not sure if any optimization is possible, i'll check it out. so far it seems that the option of using nfs stands or falls with he use of sync. does anyone here uses nfs without sync in production? does data corrupt often? all the data send from the nodes can be reproduced , so i would think an error is acceptable if it happens once a month or so. are there any other options more suitable in this situation? i thought about GFS with iscsi but i'm not sure if that will work if the filesystem to be shared already exists in production. Thanks, Wessel On Tue, 8 Mar 2011 17:25:03 + (GMT), John Hodrien j.h.hodr...@leeds.ac.uk wrote: On Tue, 8 Mar 2011, Ross Walker wrote: Well on my local disk I don't cache the data of tens or hundreds of clients and a server can have a memory fault and oops just as easily as any client. Also I believe it doesn't sync every single write (unless mounted on the client sync which is only for special cases and not what I am talking about) only when the client issues a sync or when the file is closed. The client is free to use async io if it wants, but the server SHOULD respect the clients wishes for synchronous io. If you set the server 'async' then all io is async whether the client wants it or not. I think you're right that this is how it should work, I'm just not entirely sure that's actually generally the case (whether that's because typical applications try to do sync writes or if it's for other reasons, I don't know). Figures for just changing the server to sync, everything else identical. Client does not have 'sync' set as a mount option. Both attached to the same gigabit switch (so favouring sync as far as you reasonably could with gigabit): sync;time (dd if=/dev/zero of=testfile bs=1M count=1;sync) async: 78.8MB/sec sync: 65.4MB/sec That seems like a big enough performance hit to me to at least consider the merits of running async. That said, running dd with oflag=direct appears to bring the performance up to async levels: oflag=direct with sync nfs export: 81.5 MB/s oflag=direct with async nfs export: 87.4 MB/s But if you've not got control over how your application writes out to disk, that's no help. jh ___ 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] Server hangs on CentOS 5.5
John R Pierce wrote: Video is on the MB. It doesn't seem likely that it's the video, since the system doesn't respond to network when it crashes. bad video hardware or drivers can easily crash the system If its running an X windows display of any sort, I'd suggest trying it in text-only mode. in /etc/inittab, set the default runlevel to 3 instead of 5. this leaves the video in plain VGA text mode which is far less likely to crash the system. id:3:initdefault: Seconded. If it's a server, it doesn't really need X running anyway. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] connection speeds between nodes
On 3/8/2011 3:14 PM, wessel van der aart wrote: the software we're using to distribute our renders is RoyalRender, i'm not sure if any optimization is possible, i'll check it out. so far it seems that the option of using nfs stands or falls with he use of sync. does anyone here uses nfs without sync in production? does data corrupt often? The difference between sync/async isn't whether or not the data will be corrupted or lost, it is whether the client writing it knows whether or not each write completes. Unless the client has some reasonable way to respond to a failed write it's not going to make a difference in practice. all the data send from the nodes can be reproduced , so i would think an error is acceptable if it happens once a month or so. How often does your nfs server crash? And would it matter if the writing software knew the exact write that failed or a few seconds later? If you are transferring money between two accounts it matters - but with rendering you'd probably redo the file anyway. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
On Tue, Mar 8, 2011 at 10:46 PM, compdoc comp...@hotrodpc.com wrote: Google Chrome , or even Firefox are the way to go for visiting those websites that no one admits to visiting... Are you referring to website like http://www.microsoft.com and http://technet.microsoft.com/? ;) -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
on 09:24 Tue 08 Mar, Michael Eager (ea...@eagerm.com) wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? I'd very strongly recommend you configure netconsole. Though not entire clear from the name, it's actually an in-kernel network logging module, which is very useful for kicking out kernel panics which otherwise aren't logged to disk and can't be seen on a (nonresponsive) monitor. Alternately, a serial console which actually retains all output sent to it (some remote access systems support this, some don't) may help. Barring that, I'd start looking at individual HW components, starting with RAM. The trick is in passing the appropriate parameters to the module at load time. I found it helpful to have an @boot cronjob to do this. You'll need to pass the local port, local system IP, local network device, remote syslog UDP port, remote syslog IP, and the /gateway/ MAC address, where gateway is the syslogd (if on a contiguous ethernet segment), or your network gateway host, if not. Some parsing magic can determine these values for you. Good article describing configuration: http://www.cyberciti.biz/tips/linux-netconsole-log-management-tutorial.html If you're not already remote-logging all other activity, I'd do that as well. You might catch the start of the hang, if not all of it. -- Dr. Ed Morbius, Chief Scientist /| Robot Wrangler / Staff Psychologist| When you seek unlimited power Krell Power Systems Unlimited| Go to Krell! signature.asc Description: Digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Internet connection sharing?
2011/3/8 John R Pierce pie...@hogranch.com: On 03/08/11 11:47 AM, m.r...@5-cent.us wrote: Yup. Last time I saw a story about someone hanging an unprotected Windows box on the 'Net, late last year, I think, it was down from 12 min to 5 min before it was attacked. and how long after you connect a 'nix box before worms start port knocking on ssh trying stupid combinations of user/pass over and over? I see a couple 1000 of those a day disable password authentication before starting ssh :) -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Server hangs on CentOS 5.5
on 10:31 Tue 08 Mar, Michael Eager (ea...@eagerm.com) wrote: Les Mikesell wrote: On 3/8/2011 11:24 AM, Michael Eager wrote: Hi -- I'm running a server which is usually stable, but every once in a while it hangs. The server is used as a file store using NFS and to run VMware machines. I don't see anything in /var/log/messages or elsewhere to indicate any problem or offer any clue why the system was hung. Any suggestions where I might look for a clue? Probably something hardware related. Bad memory, overheating, power supply, etc. I've even seen some rare cases where a bios update would fix it although it didn't make much sense for a machine to run for years, then need a firmware change. The system is on a UPS and temps seem reasonable. Locating a transient memory problem is time consuming. Disable or remove half your RAM. If the problem persists, replace that RAM and remove the other half. If the problem resolves, the issue is likely in the half of the RAM you've removed. You can binary search through it, or RMA the lot if warranteed. Identifying a power supply which sometimes spikes is even more difficult. Same drill. Replace the power supply, or on a dual-PS system, disable one, then the other. Follow procedure as for RAM. I'd like to have a clue about the likely problem before shutting down the server for an extended period. If the server is critical, get a vendor loaner and bench-test the equipment until the fault can be identified. I'll set up sar and sensord to periodically log system status and see if this gives me a clue for the next time this happens. At best, sar will tell you whether or not you're experiencing resource exhuastion. It's a valuable tool, but fairly coarse-grained. Cacti will give you better resolution and visualization (particularly on CentOS) than sar (some distros now include sar graphing utilities, CentOS to the best of my recollection does not). -- Dr. Ed Morbius, Chief Scientist /| Robot Wrangler / Staff Psychologist| When you seek unlimited power Krell Power Systems Unlimited| Go to Krell! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [Newbie] Reclaiming /boot space
When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. If I do a df -h, there is no available space yet it shows that it has a lot of used space. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 device I am not sure what I should do next. Thank you in advance for any suggestions... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Newbie] Reclaiming /boot space
When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. Hm, that's not good. If I do a df -h, there is no available space yet it shows that it has a lot of used space. Is /boot mounted? Please show as the output of 'mount'. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: First, to check the filesystem you have to unmount it. And then to check, you usually give the device name, not it's label (I'm not sure it work by naming with the label). Usually something like fsck.ext3 /dev/sda1 Simon The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 device I am not sure what I should do next. Thank you in advance for any suggestions... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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] [Newbie] Reclaiming /boot space
When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. If I do a df -h, there is no available space yet it shows that it has a lot of used space. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 device I am not sure what I should do next. Thank you in advance for any suggestions... Todd (caveat: I'm as newbie at this as you) I can't tell from your email which partition /boot is mounted to (/dev/hda1?), but to get a list of the alternative superblocks, you can do this: dumpe2fs /dev/hda1 | grep superblock AFAIK, dumpe2fs doesn't support labels as device specifiers, so you will need to substitute /dev/hda1 for whichever partition /boot is mounted to. You should probably boot into single-user mode and unmount /boot before running fsck.ext3 -b superblock device on it btw. Also: http://www.cyberciti.biz/faq/recover-bad-superblock-from-corrupted-partition/ http://planet.admon.org/using-alternative-superblock-to-check-ext3/ HTH Steve ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Newbie] Reclaiming /boot space
Here is the output of mount: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc1 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) Does not appear to be mounted...correct? Todd On 3/8/2011 3:08 PM, Simon Matter wrote: When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. Hm, that's not good. If I do a df -h, there is no available space yet it shows that it has a lot of used space. Is /boot mounted? Please show as the output of 'mount'. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: First, to check the filesystem you have to unmount it. And then to check, you usually give the device name, not it's label (I'm not sure it work by naming with the label). Usually something like fsck.ext3 /dev/sda1 Simon The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193device I am not sure what I should do next. Thank you in advance for any suggestions... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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 -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Newbie] Reclaiming /boot space
On 03/08/11 3:17 PM, Todd Cary wrote: Here is the output of mount: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc1 on /boot type ext3 (rw) ** none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) Does not appear to be mounted...correct? yes, it does. from /dev/hdc1 ... which seems quite unusual that its on your third IDE device your / is LVM, so you can't tell from above what disk its on, you'll need to dig into LVM to find out. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Newbie] Reclaiming /boot space
Here is the output of mount: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc1 on /boot type ext3 (rw) ^ It's mounted here, the device is /dev/hdc1. But now, also show us 'df' and 'ls -la /boot' How did you boot if /boot was empty? Simon none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) Does not appear to be mounted...correct? Todd On 3/8/2011 3:08 PM, Simon Matter wrote: When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. Hm, that's not good. If I do a df -h, there is no available space yet it shows that it has a lot of used space. Is /boot mounted? Please show as the output of 'mount'. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: First, to check the filesystem you have to unmount it. And then to check, you usually give the device name, not it's label (I'm not sure it work by naming with the label). Usually something like fsck.ext3 /dev/sda1 Simon The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193device I am not sure what I should do next. Thank you in advance for any suggestions... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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 -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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] [Newbie] Reclaiming /boot space
On 3/8/2011 5:17 PM, Todd Cary wrote: Here is the output of mount: /dev/hdc1 on /boot type ext3 (rw) Does not appear to be mounted...correct? Looks like /dev/hdc1 to me. Is this a strictly-IDE system with boot disk/CD cables backwards from normal? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Newbie] Reclaiming /boot space
Simon - Did I screw up? I deleted what was in /boot! Todd On 3/8/2011 3:31 PM, Simon Matter wrote: Here is the output of mount: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc1 on /boot type ext3 (rw) ^ It's mounted here, the device is /dev/hdc1. But now, also show us 'df' and 'ls -la /boot' How did you boot if /boot was empty? Simon none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) Does not appear to be mounted...correct? Todd On 3/8/2011 3:08 PM, Simon Matter wrote: When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. Hm, that's not good. If I do a df -h, there is no available space yet it shows that it has a lot of used space. Is /boot mounted? Please show as the output of 'mount'. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: First, to check the filesystem you have to unmount it. And then to check, you usually give the device name, not it's label (I'm not sure it work by naming with the label). Usually something like fsck.ext3 /dev/sda1 Simon The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193device I am not sure what I should do next. Thank you in advance for any suggestions... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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 -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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 -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Newbie] Reclaiming /boot space
Simon - Did I screw up? I deleted what was in /boot! Yes :( Now don't reboot! Wait for the next mail... Simon Todd On 3/8/2011 3:31 PM, Simon Matter wrote: Here is the output of mount: /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc1 on /boot type ext3 (rw) ^ It's mounted here, the device is /dev/hdc1. But now, also show us 'df' and 'ls -la /boot' How did you boot if /boot was empty? Simon none on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) Does not appear to be mounted...correct? Todd On 3/8/2011 3:08 PM, Simon Matter wrote: When trying to do a yum update, I am told I need more space in /boot. When I check the contents of /boot (ls -l /boot), there are no files. Hm, that's not good. If I do a df -h, there is no available space yet it shows that it has a lot of used space. Is /boot mounted? Please show as the output of 'mount'. The fstab shows the following: # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/VolGroup00/LogVol00 / ext3 defaults1 1 LABEL=/boot /boot ext3 defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 none/dev/shmtmpfs defaults0 0 none/proc proc defaults0 0 none/syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswap defaults0 0 /dev/hda/media/cdromauto pamconsole,exec,noauto,managed 0 0 # fschk.ext3 /boot gives this error: First, to check the filesystem you have to unmount it. And then to check, you usually give the device name, not it's label (I'm not sure it work by naming with the label). Usually something like fsck.ext3 /dev/sda1 Simon The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193device I am not sure what I should do next. Thank you in advance for any suggestions... Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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 -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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 -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.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