Re: [CentOS] Hard disk activity will not die down
Hi, Ext4 is (slowly) initializing group blocks as far as I can remember. Patience should do the trick :) HTH, Le 3 février 2020 20:28:27 GMT+01:00, Chris Pemberton a écrit : >I updated my backup server this weekend from CentOS 7 to CentOS 8. >OS disk is SSD, /dev/md0 are two 4TB WD mechanical drives. >No hardware was changed. > >1. wiped all drives >2. installed new copy of 8 on system SSD >3. re-created the 4TB mirror /dev/md0 with the same WD mechanical >drives >4. created the largest single partition possible on /dev/md0 and >formatted >it ext4 >5. waited several hours for the creation of /dev/md0 to finish >6. copied all data back onto /dev/md0 > >Both installs were a full workstation, with Gnome. >The mirror is mounted via fstab as: >/dev/md0 /mnt/raid1 ext4 defaults 0 0 > >Under CentOS 7 the /dev/md0 mirror was silent when not in use. Now >under >8, the hard drives are constantly "pinged" by some process, at about >the >same frequency as a heartbeat monitor. I can not figure out what >process >is keeping them active. iotop does show a process named >[ext4lazyinput]. > >Is there something I've missed? >___ >CentOS mailing list >CentOS@centos.org >https://lists.centos.org/mailman/listinfo/centos -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Compiling latest postfix fails on C8
Le mercredi 02 octobre 2019 à 14:33 +0200, Adrian van Bloois a écrit : > Hi, > I tried to compile the latest version of postfix, runs fine on C6 and > C7, > on C8 it fails. > Complaining about missing ypclnt.h, this should com from glibc- > headers. > Any suggestions? > > Adrian Hi, Enable PowerTools repo and install libnsl2-devel which provides /usr/include/rpcsvc/ypclnt.h HTH, -- Laurent Wandrebeck ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ***UNCHECKED*** clamd / amavisd missing socket
Le vendredi 30 août 2019 à 13:57 -0400, Jon LaBadie a écrit : > I think something along these lines appeared before > but I was unable to find them. > > I'm on a 7.6 system, been running clamav and amavisd-new > since 6 days with little problem. On a recent reboot, > clamd@amavisd does not start up and fails manual start. > > The problem seems to be the missing socket that connects > the pair, "/var/run/clamd.amavisd/clamd.socket". > > I believe this should be created by systemd files but I > see no indication of them on my system. > > Anyone know which files might be missing and where to > get copies? Or a work around to run clamd@amavisd > and get rid of the "*** UNCHECKED ***' additions to my > my Subject lines? > > BTW manual creation of the socket with netcat had no effect > on the startup. > > Jon Hi John, I have the same problem, though /var/run/clamd.amavisd/clamd.sock do exists (please note .sock and not .socket). Sep 09 08:19:37 minicloud2 amavis[9597]: (09597-02) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: Connection refused ll /var/run/clamd.amavisd/clamd.sock srw-rw-rw-. 1 amavis amavis 0 Jun 22 06:05 /var/run/clamd.amavisd/clamd.sock Nothing denied in SELinux logs. Don’t really know what the problem is for now, and have not yet found a way to fix it, sorry. -- Laurent Wandrebeck ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Markdown editor for CentOS 7?
Le vendredi 16 juin 2017 à 08:17 -0400, Robert Moskowitz a écrit : > Is geany available for Centos? It works well for markdown, though I use > it for xml and html. > Hi, Indeed it is, in EPEL. HTH, -- Laurent Wandrebeck <l.wandreb...@quelquesmots.fr> ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
Le mardi 25 avril 2017 à 11:36 +0200, Robert Moskowitz a écrit : > > On 04/25/2017 11:29 AM, Laurent Wandrebeck wrote: > > Le mardi 25 avril 2017 à 11:19 +0200, Robert Moskowitz a écrit : > >> /usr/lib/ld-2.17.so > > This file is not part of CentOS 7, nor CentOS 6 ? > > I am running Centos 7 armv7hl > > So it IS possible that I am missing something that did not get built > right for armv7hl. We are often finding rpms that built, but did not > get into the repo... > > So what provides ld-2.17.so for Centos 7 so I can backtrack it? > > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos Oh. I haven’t found out anything via yum provides on x86_84, that may explain why. Maybe someone running armv7hl could help, I don’t own such hardware running CentOS. That *may* be a armv7hl port bug, I’m afraid I can’t help you more on that point :-/ -- Laurent Wandrebeck <l.wandreb...@quelquesmots.fr> ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
Le mardi 25 avril 2017 à 11:19 +0200, Robert Moskowitz a écrit : > /usr/lib/ld-2.17.so This file is not part of CentOS 7, nor CentOS 6 ? -- Laurent Wandrebeck <l.wandreb...@quelquesmots.fr> ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
Le mardi 25 avril 2017 à 11:07 +0200, Robert Moskowitz a écrit : > > On 04/25/2017 10:58 AM, Laurent Wandrebeck wrote: > > Le mardi 25 avril 2017 à 10:39 +0200, Robert Moskowitz a écrit : > >> Thanks Laurent. You obviously know a LOT more about SELinux than I. I > >> pretty much just use commands and not build policies. So I need some > >> more information here. > >> > >> From what you provided below, how do I determine what is currently in > >> place and how do I add your stuff (changing postgresql with mysql, nat.) > >> > >> thanks > > Quick’n’(really) dirty SELinux howto: > > 1) Run the service. fails due to missing selinux policy. > > 2) grep service_pattern /var/log/audit/audit.log | audit2allow -M > > myservice_policy > > Do you really mean 'service_pattern', or is this a placeholder for > something like mysql? > > As I get 'Nothing to do' placeholder which changes according to your needs. -- Laurent Wandrebeck <l.wandreb...@quelquesmots.fr> ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
Le mardi 25 avril 2017 à 10:39 +0200, Robert Moskowitz a écrit : > Thanks Laurent. You obviously know a LOT more about SELinux than I. I > pretty much just use commands and not build policies. So I need some > more information here. > > From what you provided below, how do I determine what is currently in > place and how do I add your stuff (changing postgresql with mysql, nat.) > > thanks Quick’n’(really) dirty SELinux howto: 1) Run the service. fails due to missing selinux policy. 2) grep service_pattern /var/log/audit/audit.log | audit2allow -M myservice_policy 3) do what output says. (semodule -i myservice_policy.pp normally) 4) goto 1. That way, you’ll create and allow step by step necessary rights so your service ends up running normaly. The content I gave you is from mydovecot.te (human readable version of .pp created by audit2allow). After a quick look at audit2allow man, it looks like you can get .pp by doing: make -f /usr/share/selinux/devel/Makefile myservice_policy.pp (it’ll look after myservice_policy.te in PWD). HTH, -- Laurent Wandrebeck <l.wandreb...@quelquesmots.fr> ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
Le mardi 25 avril 2017 à 10:04 +0200, Robert Moskowitz a écrit : > I thought I had this fixed, but I do not. I was away from this problem > working on other matters, and came back (after a reboot) and it is still > there, so I suspect when I thought I had it 'fixed' I was running with > setenforce 0 from another problem (that is fixed). > > So anyone know how to get dovecot dict connecting to mysql when > enforcing? Googling is not finding any real help. Hi, I’ve got some « tweaking » here (using postgresql, obviously) so that dovecot runs properly with SELinux enabled, HTH, Laurent. module mydovecot 1.0; require { type dovecot_auth_t; type postgresql_port_t; type dovecot_t; type var_t; type postfix_virtual_tmp_t; class tcp_socket name_connect; class file { rename read lock create write getattr link unlink open append }; class dir { read write create add_name remove_name }; } #= dovecot_auth_t == # This avc is allowed in the current policy allow dovecot_auth_t postgresql_port_t:tcp_socket name_connect; #= dovecot_t == # This avc is allowed in the current policy allow dovecot_t postfix_virtual_tmp_t:file { rename write unlink open link }; allow dovecot_t var_t:dir create; # This avc is allowed in the current policy allow dovecot_t var_t:dir { read write add_name remove_name }; # This avc is allowed in the current policy allow dovecot_t var_t:file { rename read lock create write getattr link unlink open append }; -- Laurent Wandrebeck <l.wandreb...@quelquesmots.fr> ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mate and USB headphones
On Sat, Jan 7, 2017 at 10:23 PM, Alice Wonder <al...@domblogger.net> wrote: > Logitech H540 headphones were working fine. > > Suddenly stopped. > > Maybe a stupid question, but did you try your headphones on another computer? Is the device listed in the ouput of command "lsusb"? -- Laurent. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Suggestions for Config Management Tool
Hi, I've chosen ansible over the others for two particular reasons: - you can quickly dive into it. I think it's the easier to use at first being a complete beginner in config management tools. - no daemon server or client side. HTH, Laurent. Le 12 mai 2016 09:22:09 GMT+02:00, "Götz Reinicke - IT Koordinator" <goetz.reini...@filmakademie.de> a écrit : >Hi, > >we see a growing need for a better Configuration management for our >servers. > >Are there any known good resources for a comparison of e.g. Puppet, >Chef, Ansible etc? > >What would you suggest and why? :) > > Thanks and Regards . Götz > > > > > >___ >CentOS mailing list >CentOS@centos.org >https://lists.centos.org/mailman/listinfo/centos -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Incoming rsync connection attempts
2015-10-14 20:13 GMT+02:00 Jeff Boyce <jbo...@meridianenv.com>: > > There is no /etc/rsyncd.conf file present on the system, so I can see why > the connection wasn't successful. Our backups get pushed to this one from > other servers using rsync. > > > Why do you have rsyncd enabled if you don't have rsyncd.conf ? If your pusing backups using rsync over ssh, you don't need rsynd. -- Laurent. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail config finding wrong relay
Le 2015/09/30 17:32 +0200, Jerry Geis a écrit: Hi all, I set my sendmail.mc file to have a SMART_HOST entry of mail.xyz.com I do "make" and "service sendmail restart" ... I should be good, but no. :) As explained by others, SMART_HOST is used for domains for which it has no information (basically, it can't find an MX or resolve the name). If you want to relay all mail, you need to also add MAIL_HUB. Laurent ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to install clang on CentOS 7?
Le 08/06/2015 09:30, Nan Xiao a écrit : Hi all, I want to install clang on CentOS 7. After executing yum install clang, it outputs: [root@hp ~]# yum install clang Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mia.host-engine.com * elrepo: elrepo.mirrors.arminco.com * extras: centos.arvixe.com * updates: centos.eecs.wsu.edu No package clang available. Error: Nothing to do Doesn't CentOS 7 support rpm install clang? Thanks in advance! Best Regards Nan Xiao ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hi. clang is available in EPEL repository. See http://fedoraproject.org/wiki/EPEL HTH, Laurent. -- Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] bash script fails conditional test
Tim Dunphy bluethu...@gmail.com a écrit : Hey all, Hi, -e checks file existence. As you don’t have a file named 26979 in your pwd, test fails logically. If you want to know if variable is set, you can use -z $pid. You could also try -d /proc/$pid. HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] gnome rebase
Jerry Geis ge...@pagestation.com a écrit : Just wondering if there is a way to get the gnome rebase stuff for gnome 3.8 to 3.16 now? (heard it was coming in 7.2) Looks like rebase for 7.2 will be 3.14 and not 3.16. For example, https://bugzilla.redhat.com/show_bug.cgi?id=1174597 I'm playing with centos 7.1 and would like to use gnome 3.16. is there a way to start playing with that now? The only way would be to take F22 src.rpm, and recompile it AFAIK. It promises a lot of fun… Maybe someone would have already copr’ed or obs’ed it ? HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Some subscribers posts to the list ending up in Gmail spam
Le 2015/04/08 17:50 +0200, Les Mikesell a écrit: No, I don't think it will ever learn from that,, but there is a way you can set a rule to 'never mark as spam' based on the sender. Which wouldn't be fun on a list with a lot of yahoo.com members. FWIW, I recently solved one reason GMail was always marking my emails as spam: my MTA has IPv6, and to send emails, it was by default using the rfc3041 temporary addresses as source, so each time a different address when connecting to Google's MX's. As soon as I set it up to use the propre static IPv6, marking them as «not spam» in Gmail subsequently worked. So it looks like they also keep track of the sender's MTA address, not only of the email address. Obviously not the reason for everybody, but hopefully it can help others :-) Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] tcsd service fails on boot because device missing
Hello all, On CentOS 7.1, I activated the tcsd service. When I did it manually, it worked without problem, however, on reboot, I noted it was failed. I restarted it, and it worked immediately. But more reboots confirmed that it's always failing when the system starts. It seems the service is started too early, before the device it uses is created. Here's the logs: # journalctl -u tcsd -- Logs begin at Mon 2015-04-06 10:20:59 CEST, end at Tue 2015-04-07 10:11:37 CEST. -- Apr 06 10:21:38 server systemd[1]: Starting TCG Core Services Daemon... Apr 06 10:21:38 server systemd[1]: tcsd.service: control process exited, code=exited status=137 Apr 06 10:21:38 server systemd[1]: Failed to start TCG Core Services Daemon. Apr 06 10:21:38 server systemd[1]: Unit tcsd.service entered failed state. In syslog: Apr 6 10:21:38 server journal: TCSD TDDL[2557]: TrouSerS ERROR: Could not find a device to open! The device appears at about the same time, it must be a matter of seconds: crw--- 1 root root 10, 224 Apr 6 10:21 /dev/tpm0 Is that a bug of the service or something I can fix? Thanks! Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] really nice squid bug?
Peter Kjellström c...@nsc.liu.se a écrit : On Tue, 24 Mar 2015 09:41:58 +0200 Eero Volotinen eero.voloti...@iki.fi wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1202858 affects also on centos? Bugs in internal, non-released, rh packages don't really affect centos, no. Agreed, I didn’t catch it was about the not yet released 6.7. be it RH or CentOS. Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] really nice squid bug?
Eero Volotinen eero.voloti...@iki.fi a écrit : https://bugzilla.redhat.com/show_bug.cgi?id=1202858 affects also on centos? As CentOS aims to be (is ?) 100% RHEL compatible, it’s bug for bug compatible too, AFAIK. Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 7 database access only possible trough localhost and not IP
Hi Robert, I have almost no experience with CentOS 7(still using CentOS 6). However, I recommed the following checks: 1. Check that PostgreSQL is listening on 0.0.0.0 (all ip addresses) and not 127.0.0.1. To check, you can use the command: netstat -tuplan If PostgreSQL is listening only on 127.0.0.1, you'll never be able to connect to it from the network. You'll have to change the PostgreSQL settings. 2. Check that iptables (firewall) is allowing the connections from the network to PostgreSQL. Use the following command to get the list of rules that are currently loaded: iptables -L Regards, Laurent. 2015-03-15 8:52 GMT+01:00 robert rottermann rob...@redcor.ch: Hi there and hello to everybody, I am all new to centos but I have good experience working with ubuntu and suse. We are moving a an elderly SuSe box to a virtual machine running centos 7. Now I experience the following problem. I can only access postgres using localhost as host. If I use the IP address (even 127.0.0.1). I found a similar problem when accessing the host using http. There I found out (after lots of hair pulling) that I have to set a value using setsebool. So I assume, that I have a similar problem here. I would be grateful, if somebody could point me in the right direction .. thanks robert ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Laurent. crep...@gmail.com / r...@tnpl127.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7, igb and DCB support for pause frame ?
Steven Tardy sjt5a...@gmail.com a écrit : DCB requires Priority Flow Control(PFC) aka 802.1Qbb. Flow Control is 802.3x. The two are often confused and not compatible. http://www.intel.com/content/www/us/en/ethernet-controllers/ethernet-controller-i350-datasheet.html Mentions flow control several times, but never PFC/priority-flow-control/802.1Qbb. PFC capable switches purposefully disable 802.3x flow control. Also PFC has to negotiate between two devices/switches matching QoS/CoS/no-drop policies. Some good reading for beginner PFC knowledge: http://www.cisco.com/c/dam/en/us/solutions/collateral/data-center-virtualization/ieee-802-1-data-center-bridging/at_a_glance_c45-460907.pdf What exactly are you trying to pause? Typically FCoE/iSCSI is set to no-drop and Ethernet traffic is paused/dropped in favor of storage traffic. If there is only one type/class/CoS of traffic PFC won't gain much over regular flow control/802.3x. Hope that helps. Hello Steven, You’ve been really helpful ! Our switches indeed do support 802.3x and not 802.1Qbb. Ethtool telling: Supported pause frame use: Symmetric Advertised pause frame use: Symmetric I guess (I’m more of a sysad guy than netad) we’re on the right track and have no need of DCB* and lldpad. Actually, our masters will be metadata server for the distributed FS (RozoFS not to name it), and will export a system image via NFS to nodes (2×1gbps, 802.3ad) which are « diskless » (no disk for OS but disks for distributed FS storage only). FC (802.3x) usage is mandatory for RozoFS. There will be some other traffic due to HTCondor (nodes will be execute nodes too), syslog being centralized on masters… I know, that not the perfect config, but we had to do that way due to budget constraints. Now I need to find how to get a single image for all the nodes :) (PXE, dhcpd, dracut and yum --installroot should do the trick I hope). Thanks again for the head’s up ! Regards, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C7, igb and DCB support for pause frame ?
Hi there, I’m working on deploying our new cluster. Masters have 5×1gbps (i210 and i350, thus using igb.ko), configured with mtu 9000, 802.3ad. Works fine *but* I can’t get DCB working (pause frame, aka flow control, which is supported by and enabled on our switches). [root@master2 ~]# dcbtool gc eno1 dcb Command:Get Config Feature:DCB State Port: eno1 Status: Device not capable (I get the same with ELRepo 5.2.15 kmod). Intel datasheet says flow control is available. Can’t find much about it on the web or in kernel git repo. Could someone give me a hand ? Regards, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 6.6 - net-snmp process - Too many open files
Hi gents, I have a CentOS 6.6 install with net-snmp running. I'm using SNMPv3 Auth and Encryption with Observium polling devices every five minutes. On one of my Centos server, the net-snmp process will die after 24-36 hours of running. It seems to be hitting my system maximum file open limit which is set to 1024. [root@mail net-snmp-5.7]# ulimit -n 1024 That number will keep increasing till it trips the 1024 limit. [root@mail ~]# lsof -p 26907 | wc -l 1071 [root@mail net-snmp-5.7]# lsof -p 26907 snmpd 26907 root 166r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 167r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 168r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 169r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 170r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 171r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 172r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 173r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 174r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 175r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 176r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 177r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 178r REG 0,30 4026532160 /proc/26907/net/sctp/snmp snmpd 26907 root 179r REG 0,30 4026532160 /proc/26907/net/sctp/snmp #tail /var/log/snmpd.log cannot open /proc/net/dev ... /proc/partitions: Too many open files /proc/stat: Too many open files /proc/partitions: Too many open files /proc/stat: Too many open files could not create socket /proc/partitions: Too many open files /proc/stat: Too many open files cannot open /proc/net/dev ... /proc/partitions: Too many open files /proc/stat: Too many open files /proc/partitions: Too many open files /proc/stat: Too many open files It seems that CentOS is frozen to net-snmp 5.5 and I'm don't really want to use anything that I can't easily manage with yum. The weird thing is that I have another server with the same config/CentOS version/Net-Snmp version and I have no issues with the snmp process on that server. I could raise the open file limit but that just seems unnecessary since I don't think that snmp is supposed to work that way. Anything else I could try to troubleshoot the issue? Thanks! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can't enable selinux CentOS 6.5
By any change, is it a VPS? I know that my CloudAtCost (very cheap but extremely unreliable provider) prevents you from using SeLinux on their Centos image. On 12/29/2014 9:58 PM, Tim Dunphy wrote: Hey guys, For some reason I can't seem to enable SELinux on this one host. Here's my SELinux config file: [root@beta-new:~] #cat /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=enforcing # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted And when I check if it's enabled this is what I get: [root@beta-new:~] #getenforce Disabled But when I go to set SELinux to enabled, even with the config file set as you see it above, I get this result: [root@beta-new:~] #setenforce 1 setenforce: SELinux is disabled And nothing I can do enables it on this host. So how, can I solve this problem? I would definitely appreciate any advice you may have. Thanks Tim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] automated stopserver shutdown?
A simple script which loops though a text file that lists the hostname / username / password for the login and then runs the shutdown - h now command? Though, I would be uneasy with listing root passwords in a random text file. On 11/17/2014 12:56 AM, Hadi Motamedi wrote: Dear All In an environment , I have 20 centos servers running together . For shutting them down , I need to issue the followings on each of the servers : #./stopServer #init 0 This is cumbersome to try to issue these on huge amount of servers to keep them safely going shutdown. Can you please let me know how can I automate it and say let just one server send stop processes and shutdown commands to the other ones and then goes shutdown himself? Thank you ___ 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] automated smtp server check
Monit could do the job. It's probably slightly overkill but it doesn't do graph. It's purely a is this service answering on that host type of monitoring. http://mmonit.com/monit/ On 11/4/2014 7:35 PM, Frank Cox wrote: On Tue, 4 Nov 2014 23:41:36 +0100 Leon Fauster wrote: mon - old lady but small: It looks really cool, but boy does it have a list of dependencies: fping is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Authen::PAM) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Authen::Radius) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(CGI) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(DBI) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Expect) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Mon::Client) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::DNS) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::DNS::Packet) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::DNS::RR) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::DNS::Resolver) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::LDAP) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::SNPP) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Net::Telnet) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(SNMP) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(SNMP) = 1.8 is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Statistics::Descriptive) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Sys::Syslog) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Time::HiRes) is needed by mon-1.2.0-8.el7.centos.x86_64 perl(Time::Period) is needed by mon-1.2.0-8.el7.centos.x86_64 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.4 kernel panic on boot after upgrading kernel to 2.6.32-431.29.2
Joakim Ziegler joa...@terminalmx.com a écrit : Ok, so is that a confirmation that installing this kernel, even though it might be for 6.5 should not in itself break anything, and that it should boot? Every RH errata contains the following text: « Before applying this update, make sure all previously released errata relevant to your system have been applied. » And that’s the case for that kernel: https://rhn.redhat.com/errata/RHSA-2014-1167.html So, imho, just yum update and reboot. You’ll be at 6.5 and far more safer. My 0.02€. Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Repo w/ chrome?
I think Chrome installs itself its repo settings. https://www.google.com/linuxrepositories/ On Tue, May 13, 2014 at 5:12 PM, m.r...@5-cent.us wrote: Was it Nux's repo that's got chrome? URL and repo info, please? Thanks. mark ___ 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] Repo w/ chrome?
On Tue, May 13, 2014 at 6:36 PM, m.r...@5-cent.us wrote: Laurent CREPET wrote: On Tue, May 13, 2014 at 5:12 PM, m.r...@5-cent.us wrote: Was it Nux's repo that's got chrome? URL and repo info, please? I think Chrome installs itself its repo settings. https://www.google.com/linuxrepositories/ a) Please don't top post. b) Google thinks CentOS 6.x is too old, and it's an ongoing thing about people managing or failing to install it. mark Sorry for top posting. Gmail default settings. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Change server name in postfix configuration
- Maybe check /etc/hosts. - What about the old domain ? You may not be able to receive e-mails for it. You can think about add the new.com in parallel with old.com on the same server. On Mon, May 12, 2014 at 2:12 PM, Joseph Hesse joehe...@gmail.com wrote: Hi, A consultant, long gone, set up postfix, dovecot, amavisd and squirrelmail for my wife. It works fine but my wife wants to change the server name from old.com to new.com so the name is more appropriate for her business. My approach would be to use sed to change all occurences of old.com to new.com. Specifically, I used grep to identify the following files where I should make the changes. /etc/postfix/main.cf /etc/dovecot/dovecot.conf /etc/squirrelmail/config.php /etc/amavisd.conf /etc/sysconfig/network (change host name) In addition, there would be an MX record for mail.new.com pointing to the IP of the server. My question is, will this work or will I corrupt my email server? If I mess it up I can always restore it to the original. Thank you, Joe ___ 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] Kickstarts failing 30% of time on Dell 620 blades
Same BIOS/adapter settings ? Same firmware versions ? On Fri, May 9, 2014 at 9:25 PM, Dan Hyatt dhy...@dsgmail.wustl.edu wrote: I have a large set of Dell 620 blades fully populated with memory and duel socket CPUs, Centos6.4 image. I have a kickstart that I am using to pxe boot 36 blades. I have two internal drives which are raid1 (two disks formed into one, no redundancy), not san attached In the first set, 9 successfully completed. 7 more built correctly after trying another pxe boot. 2 just wont pxeboot In the second set I had 11 fail and 5 succeed and the two I tried again failed. When they fail, they go to GRUB. I try booting from disk from the drac and still get grub It looks like the complete centos kickstart occurs as it goes through the whole install before rebooting and failing. Any idea why this would happen with identical hardware, identical kickstart/image, inside the same blade chassis. Any idea what to test. -- Dan Hyatt Division of Statistical Genomics Washington University School of Medicine Forest Park Blvd, Campus Box 8506 St. Louis, MO 63108 314 747 4767 (o) 314 473 8713 (c) dhy...@dsgmail.wustl.edu ___ 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] Removing a file that starts with dashes
Frank M. Ramaekers framaek...@ailife.com a écrit : How can I remove this file? -rw-r--r-- 1 rootroot 28707 Mar 31 12:31 --backup=numbered rm --backup=numbered HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Removing a file that starts with dashes
Frank M. Ramaekers framaek...@ailife.com a écrit : rm: unrecognized option `--backup=numbered' Try `rm ./'--backup=numbered'' to remove the file `--backup=numbered'. Try `rm --help' for more information. Frank M. Ramaekers Jr. Damn, tested it with a path/file before sending a mail, didn’t think it would break without…lesson learned :) Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] suggestions for large filesystem server setup (n * 100 TB)
Götz Reinicke - IT Koordinator goetz.reini...@filmakademie.de a écrit : Hi, snip If you are to have an ever-growing volume, I’d suggest some distributed FS, like glusterfs, moosefs, lustre… You need more space ? Add a box. We do use happily moosefs at work for a couple years (begun with a couple TB, now up to 250). HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] what is: ImageDecoder
Fred Smith fre...@fcshome.stoneham.ma.us a écrit : Um, it appears in the process list as ImageDecoder. I don't know how one would determine that it's java or not. Can you give me a hint? Try pstree ? HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NIS or not?
Matt Garman matthew.gar...@gmail.com a écrit : On Tue, Jan 28, 2014 at 3:02 AM, Sorin Srbu sorin.s...@orgfarm.uu.se wrote: The only thing I'm trying to accomplish is a system which will allow me to keep user accounts and passwords in one place, with one place only to administrate. NIS seems to be able to do that. Comments and insights are much appreciated! A related question: is NIS or LDAP (or something else entirely) better if the machines are not uniform in their login configuration? That is, we have an ever-growing list of special cases. UserA can login to servers 1, 2 and 3. UserB can log in to servers 3, 4, and 5. Nobody except UserC can login to server 6. UserD can login to machines 2--6. And so on and so forth. I currently have a custom script with a substantial configuration file for checking that the actual machines are configured as per our intent. It would be nice if there was a single tool where the configuration and management/auditing could be rolled into one. Thanks! Matt You’d be fine with IPA which allows you to create such rules. HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] syslog-ng or rsyslog?
Rafał Radecki radecki.ra...@gmail.com a écrit : Hi All. I've used syslog-ng for some time. I like it. I have a project in which I need to choose a central logging solution. What are your experiences with rsyslog? Is it more complex to setup than syslog-ng? Or maybe does it have some additional features? AFAIK, CentOS includes an old release of rsyslog. You may have a look to rsyslog recent release/features/changelog. I do prefer rsyslog for a main reason: all features in a single edition. You pay for support, if you need one. -- Laurent CREPET ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] page allocation failure
Александр Кириллов nevis...@infoline.su a écrit : I don't see anything suspicious there. I had an impression this is a known problem with an easy fix. echo never /sys/kernel/mm/redhat_transparent_hugepage/defrag echo no /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/defrag is something I got on several boxes here. If I remember correctly, it « fixes » the problem. HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] page allocation failure
Александр Кириллов nevis...@infoline.su a écrit : Laurent Wandrebeck писал 2013-10-29 13:54: echo never /sys/kernel/mm/redhat_transparent_hugepage/defrag echo no /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/defrag is something I got on several boxes here. If I remember correctly, it « fixes » the problem. I will try that, thanks. Any refs to the source of the solution? h I'm pretty sure it comes from CentOS ml but I can't find the ref right now. Anyway, the problem was back then close to this one: http://bugs.centos.org/view.php?id=5716 HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] dell poweredge 2950
Michel Donais don...@telupton.com a écrit : Do somebody have experience wiit a Dell Poweredge 2950 Xeon quad 2.5 with Centos 6.4 In the past (more than 2 years ago), I've used CentOS 5 on Poweredge 2950 without any issues. Dell OpenManage Server Administrator was installed on the system. I've also regularly upgraded firmwares using the Dell Server Update Utility (SUU). -- Laurent CREPET ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Supermicro Boot Failures with DVD Centos 6.2
big snip. Hi there. Had a similar problem, there is a bug in isolinux, that have been updated in 6.1 Boot a 6.0 should do the trick. It did for me. HTH, -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Supermicro Boot Failures with DVD Centos 6.2
On Mon, 22 Apr 2013 08:25:42 -0500 Gregory P. Ennis po...@pomec.net wrote: Laurent, That is interesting !!! We tried to boot do the i386 and then an x64 6.4 install discs this morning, and were stopped at the familiar first line. Do you know if anyone has put in a bug report on this? Well…I found few messages about it, and it looks like people aren't sure about the cause…software bug ? BIOS bug ? Isolinux guys report it to BIOS, and of course we don't hear about BIOS guys. So pick your choice ;) Anyway, I haven't found any other solution…and once I found the 6.0 trick I stopped research here. Regards, -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] check file changes within several directories
On Wed, 13 Feb 2013 14:08:47 +0300 Mihamina Rakotomandimby miham...@rktmb.org wrote: Hi all, I forgot the name a sofware (I think it was something related to security) wich checks for file content/permission changes, on a cron trigger basis. I could then have the list of added/changed files. I dont want to use some selfmade git-based or find|xargs-based piece of scripts. Thank you. I bet you're searching for aide, base repo. HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fixing partition alignment ?
Thank you all for your feedback. I was afraid that I had to move data around, well, I'll do then :) It'll just be quite long and boring… @Robert: Even if copying to another disk or box would be speedier, I'm talking about moving twice ~90TB here, so… @Les: I've had enough disk failures to be sure fault-tolerance already works like a charm ^^ @Natxo: I'll do it keeping boxes up, disk per disk (fs lags a bit when automatic replication kicks in due to 12/16/24/36 disks disappearing from the pool like a single man :D) Thanks again ! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] fixing partition alignment ?
Hi there, I've discovered that most of the hard drives used in our cluster got misaligned partitions, thus crippling perfs. Is there any way to fix that without having to delete/recreate properly aligned partitions, then format it and refill disks ? I'd be glad not to have to toy with moving several 10s of TB disk by disk :D (most disks are JBOD as we're using a fault tolerant network FS, moosefs not to name it). insert your favorite search engine wasn't helpful, unfortunately. Drives are ext4, driven by C6 x86_64. Thanks, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] AMD Liano A8 Processors supported on CentOS 6.x?
model name : AMD A8-3870 APU with Radeon(tm) HD Graphics Linux planchet.hygeos.net 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux No additionnal GPU card. Works just fine (gnome). HTH, -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Partition large disk
Le 2012-09-14 10:07, Tony Molloy a écrit : OOPS that was fat fingers. I didn't mean to send it. I figured out parted can do the job for me but the interface is not the best. Can't use gparted as I said I have to do this remotely. Even if you need to do this remotely, you can use gparted through ssh with X11 forwarding. I'll certainly have a look at gdisk Sorry for the noise. I'll let people know how I get on after the weekend. If you consider resizing your RAID volumes one day, I'll recommend the already proposed solution: use LVM, with physical volume directly on the disk device. No partitionning. Why ? Because, as far as I known, parted developers has decided to remove the unmaintained/old code to resize ext* filesystems from parted. I don't know about gdisk features. Perhaps, it can do better than parted... Regards, -- Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problems with logwatch under CentOS 6.3
Le 2012-09-12 09:19, C. L. Martinez a écrit : Hi all, Last week I have migrated 5 CentoS 6.2 servers to CentOS 6.3. In all of them, I receive every day problems with logwatch: /etc/cron.daily/0logwatch: Can't exec sendmail: No such file or directory at /usr/sbin/logwatch line 1040, TESTFILE line 1. Can't execute sendmail -t: No such file or directory It is really strange, because I am using default config ... On the other side, I have three CentOS 6.2 servers and these problems doesn't appears ... How can I debug this?? It sounds like an SELinux issue: https://bugzilla.redhat.com/show_bug.cgi?id=617472 https://bugzilla.redhat.com/show_bug.cgi?id=617790 -- Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6 early panic on ESXi 4.1.0 build 800380
Le 2012-09-11 21:06, Tilman Schmidt a écrit : I run VMware vSphere 4 Essentials with three almost identically configured ESXi 4.1 hosts and a mix of 32 and 64 bit guests including Windows 2003 and 2008 as well as CentOS 5 and 6. Recently I updated one of the hosts to build 800380. The new build runs Windows and CentOS 5 VMs fine, but CentOS 6 guests won't come up. I tried two different CentOS 6 VMs. Both have the latest standard kernel (2.6.32-279.5.2.el6.x86_64). Both run perfectly fine on one of the other VMware hosts still running ESXi 4.1.0 build 702113. On build 800380, both display the GRUB menu alright but freeze immediately afterwards, emitting the message I've found what is probably your post on VMware Communities. http://communities.vmware.com/message/2112173?tstart=0 It seems there's a second 4.1 update 3 build (811144): http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=2020362 It fixes another panic, so trying this build may help. -- PR722061: When a Linux kernel crashes, the linux kexec feature is used to enable booting into a special kdump kernel and gathering crash dump files. An SMP Linux guest configured with kexec might cause the virtual machine to fail with a monitor panic during this reboot. Error messages such as the following might be logged: vcpu-0| CPU reset: soft (mode 2) vcpu-0| MONITOR PANIC: vcpu-0:VMM fault 14: src=MONITOR rip=0xfc28c30d regs=0xfc008b50 -- -- Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ntop for centos 5.8
Le 2012-09-11 03:04, Kaushal Shriyan a écrit : Hi, Are there rpm binaries for ntop for CentOS Linux version 5.8? Regards, Kaushal Old packages (3.3.8) available here: http://pkgs.repoforge.org/ntop/ ...and how to setup the repository: http://repoforge.org/use/ -- Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos email server suddenly much slower. What to do?
Le 2012-09-06 19:14, Marco Fioretti a écrit : Greetings, I run my own email server for some domains I administer, on a centos vps server with a very small number of users. The only services are smtp, imap/pop, webmail however, there is something that is using much more memory than normal (see the comment below from the hosting sysadmin after he checked user_beancounters). Initially we thought it was apache, but even switching it off didn't change anything. What now? My 2 cents. You probably checked a lot of things. - a filesystem (almost) full ? - did you check the logs ? any errors ? - a user sending/receiving a large e-mail ? what is the maximum size of an e-mail in your MTA settings ? - more mail-services-related processes ? - did you try to stop mail services to see if the server usability is back ? - do you run antispam and/or antivirus on incoming/outgoing e-mails ? - to help with DNS, you can probably enable nscd or setup dnsmasq, so it would reduce DNS queries sent to DNS servers. -- Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOs6- Use nscd for offline LDAP
Le 2012-09-05 09:40, Johan Vermeulen a écrit : Dear All, I'm thinking about connecting the 15 or so laptops in our organisation to LDAP. Now I'm trying to use nscd in order to enable the users to work when being offline. Hi Johan, Did you look at sssd ? My understanding is that it's designed for offline use, as nscd is just caching. -- Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FreeIPA on Centos 6
2012/6/26 James Hogarth james.hoga...@gmail.com: Is anybody using http://freeipa.org on a CentOS 6 server? Is it working well? Yes and yes I suggest checking out the FreeIPA mailing list and IRC channel if you have any trouble as you'll find quite a few people there. As a heads up IPA 2.2 will be coming in CentOS 6.3 which includes SSH key maintenance in IPA and form based authentication for when you don't have a kerberos token to pass to the IPA interface. Hi, deployed it at work, two (kvm) instances for HA, with DNS. Named segfaulted here and there, and when the master instance failed, takeover didn't work for whatever reason. A really nice piece of software i'd have liked to continue to use, but not yet prod ready imho. I guess I'll have another look after 6.3. HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Everyday System Report CentOS 6.2
On Tue, 15 May 2012 11:47:12 - Shiv. NK prabh...@digital-infotech.net wrote: Hi list Members, i receive one email everyday (system report) from CentOS5, such as ssh attempt made, available disk space etc.. but CentOS 6.2 does not do that. Any idea why that? install logwatch (and configure postfix or sendmail if you use that one). HTH, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] distributed storage/home-made cloud recommendations
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 04/02/2012 18:39, Boris Epstein a écrit : Hello Laurent, Thanks! Very useful info, I never even heard of MooseFS and it sounds very nice. One question: what happens if you lose your master server in their designation? Or is it possible to make the master server redundant as well? Master HA is not yet possible from moosefs itself. You can use one (or more) metalogger(s) to keep backups of metadata, so you can start another master to replace the failing one. master (ECC ram, redundant psu) never failed here, fingers crossed :) Laurent. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8uUTgACgkQVObvLNF89kwXrQCglpbx3BG/dWsku1Z3qjoXCcAB x7EAn0NozNyxdXqnVPXzqvwJWxZlYlpj =L60s -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] distributed storage/home-made cloud recommendations
Hi, I'm happily running moosefs (packages available in rpmforge repo) for a year and a half, 120TB, soon 200. So easy to setup and grow it's indecent :) Laurent. pgpVVykG4B19E.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dedicated Firewall/Router
On Mon, 16 Jan 2012 18:18:26 -0600 Tom Bishop bisho...@gmail.com wrote: I would get a dell r210 from the outlet site and then load pfsense, been running in multiple locations, solid and works great. Do NOT use pfsense if you have to use realtek cards. I used to (1.2.3 and 2.0.1), and lost connection regularly, need to reboot to get it back… Flee realtek as much as you can :) pgpfJPBr2Z0S7.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C6 gateway/firewall problem
Hi, Just for the head's up, iptables rules created by system-config are fine, I was just hitting a default route problem due to the fact another fw is already in prod with another ip address. The one I'm configuring is aimed to replace the one already running. Now, I'm just fighting with rules for voip (sip/h323) phones. Thanks for your help, Laurent. pgpEilCa7zzx6.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C6 gateway/firewall problem
Hi, I'm using system-config-firewall (C6 x86_64, fully up to date) to configure a gateway/firewall box. 2 nics, eth0 (configured as bridge0, mtu 7200) connected to the lan, eth1 being connected directly to the internet (public ip, mtu 1500). ssh port is open and accessible. nat is working fine. I've put bridge0 as a trusted interface, eth1 is masqueraded. I've put ports 20,21,80 as forwarded ports on eth1 to lan machines. Thing is nmap (and classical ways to access these protocols) say it's closed. I've tried to make 20,21,80 open and forwarded, to no avail. Could someone give me a hand ? Thanks, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C6 gateway/firewall problem
On Tue, 13 Dec 2011 09:44:11 -0500 cliff here c4iff...@gmail.com wrote: Can you fpaste your firewall rules? I would omit the actual public IP's for security sake. http://fpaste.org/wE0L/ If you need anything else, ask :) Thanks, Laurent. pgpIxvcjsW6sV.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C6 gateway/firewall problem
On Tue, 13 Dec 2011 10:07:41 -0500 cliff here c4iff...@gmail.com wrote: sorry that's watch -n 1 'iptables -t nat -L -n -v' snip But if not mistake about what your intent is your forwarding rules that you have in prerouting should be in INPUT chain. You're trying to come in from an outside net to your FW and be forwarded to what you have NAT'd behind it right? absolutely. I've updated fpaste with /etc/sysconfig/iptables Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C6 gateway/firewall problem
On Tue, 13 Dec 2011 10:23:45 -0500 cliff here c4iff...@gmail.com wrote: My best guess would be to move your forwarding rules to the INPUT chain instead of being in the PREROUTING. Will try that once I figure out iptables syntax. Is it me or I hit a system-config-firewall bug in rules generation ? Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Tue, 10 May 2011 01:51:18 -0700 Brandon Ooi brand...@gmail.com wrote: On Tue, May 10, 2011 at 1:09 AM, Christopher Chan christopher.c...@bradbury.edu.hk wrote: On Monday, May 09, 2011 10:28 PM, Ljubomir Ljubojevic wrote: Laurent CREPET wrote: On Mon, 9 May 2011 05:20:48 -0700 (PDT) John Doejd...@yahoo.com wrote: From: Laurent CREPETl...@megrapet.fr Today, squid crashed again. Maybe ask on the squid mailing list, they might have more insight... JD No need, I have plugged my brain today. Check my latest e-mail (squid does not like temporary filesystem full in /var/log/squid) ;-) No link with 5.6 upgrade at all. Maybe /var/cache/yum was not cleaned of downloaded rpms after upgrade to 5.6? so /var partition run out of space or helped with out of space issue just enough to put it over the top. Or maybe it was stuffed with squid reports... a whole week of troubleshooting and you didn't check /var/log/messages? comon man. I know. Shame on me. But don't blame me more than I do ! ;-) Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Fri, 6 May 2011 11:06:18 +0200 Laurent CREPET l...@megrapet.fr wrote: squid's logs are rotated on a weekly basis by logrorate. squid crashed 2 times, with one week between. Now, I have switched to daily/rotate 15, and squid did not crash since the change (2 days ago). Today, squid crashed again. Below last logs: [root@stargate squid]# zcat cache.log.1.gz cat cache.log 2011/05/08 04:04:27| storeDirWriteCleanLogs: Starting... 2011/05/08 04:04:27| 65536 entries written so far. 2011/05/08 04:04:27|131072 entries written so far. 2011/05/08 04:04:27|196608 entries written so far. 2011/05/08 04:04:27|262144 entries written so far. 2011/05/08 04:04:27|327680 entries written so far. 2011/05/08 04:04:27|393216 entries written so far. 2011/05/08 04:04:27|458752 entries written so far. 2011/05/08 04:04:27|524288 entries written so far. 2011/05/08 04:04:27|589824 entries written so far. 2011/05/08 04:04:27|655360 entries written so far. 2011/05/08 04:04:27|720896 entries written so far. 2011/05/08 04:04:27|786432 entries written so far. 2011/05/08 04:04:27|851968 entries written so far. 2011/05/08 04:04:27|917504 entries written so far. 2011/05/08 04:04:27|983040 entries written so far. 2011/05/08 04:04:27| 1048576 entries written so far. 2011/05/08 04:04:27| 1114112 entries written so far. 2011/05/08 04:04:27| 1179648 entries written so far. 2011/05/08 04:04:27| 1245184 entries written so far. 2011/05/08 04:04:27| Finished. Wrote 1266215 entries. 2011/05/08 04:04:27| Took 0.4 seconds (3398869.9 entries/sec). 2011/05/08 04:04:27| aioSync: flushing pending I/O operations 2011/05/08 04:04:27| aioSync: done 2011/05/08 04:04:27| logfileRotate: /var/log/squid/store.log 2011/05/08 04:04:27| logfileRotate: /var/log/squid/access.log 2011/05/09 04:02:11| storeDirWriteCleanLogs: Starting... 2011/05/09 04:02:11| WARNING: Closing open FD 15 2011/05/09 04:02:11| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=15: (1) Operation not permitted 2011/05/09 04:02:11| 65536 entries written so far. 2011/05/09 04:02:11|131072 entries written so far. 2011/05/09 04:02:11|196608 entries written so far. 2011/05/09 04:02:11|262144 entries written so far. 2011/05/09 04:02:11|327680 entries written so far. 2011/05/09 04:02:11|393216 entries written so far. 2011/05/09 04:02:11|458752 entries written so far. 2011/05/09 04:02:11|524288 entries written so far. 2011/05/09 04:02:11|589824 entries written so far. 2011/05/09 04:02:11|655360 entries written so far. 2011/05/09 04:02:11|720896 entries written so far. 2011/05/09 04:02:11|786432 entries written so far. 2011/05/09 04:02:11|851968 entries written so far. 2011/05/09 04:02:11|917504 entries written so far. 2011/05/09 04:02:11|983040 entries written so far. 2011/05/09 04:02:11| 1048576 entries written so far. 2011/05/09 04:02:11| 1114112 entries written so far. 2011/05/09 04:02:11| 1179648 entries written so far. 2011/05/09 04:02:11| 1245184 entries written so far. 2011/05/09 04:02:11| Finished. Wrote 1265715 entries. 2011/05/09 04:02:11| Took 0.4 seconds (3220452.2 entries/sec). FATAL: logfileWrite: /var/log/squid/store.log: (0) Success Squid Cache (Version 2.6.STABLE21): Terminated abnormally. CPU Usage: 512.797 seconds = 298.711 user + 214.086 sys Maximum Resident Size: 936720 KB Page faults with physical i/o: 2 Memory usage for squid via mallinfo(): total space in arena: 231496 KB Ordinary blocks: 220724 KB 1045 blks Small blocks: 0 KB 0 blks Holding blocks: 4972 KB 3 blks Free Small blocks: 0 KB Free Ordinary blocks: 10771 KB Total in use: 225696 KB 95% Total free: 10771 KB 5% 2011/05/09 04:02:14| Starting Squid Cache version 2.6.STABLE21 for x86_64-redhat-linux-gnu... 2011/05/09 04:02:14| Process ID 20015 2011/05/09 04:02:14| With 1024 file descriptors available 2011/05/09 04:02:14| Using epoll for the IO loop 2011/05/09 04:02:14| DNS Socket created at 0.0.0.0, port 52427, FD 6 2011/05/09 04:02:14| Adding domain fr.atempo.network from /etc/resolv.conf 2011/05/09 04:02:14| Adding nameserver 172.16.15.130 from /etc/resolv.conf 2011/05/09 04:02:14| Adding nameserver 172.16.17.13 from /etc/resolv.conf 2011/05/09 04:02:14| Adding nameserver 172.16.16.100 from /etc/resolv.conf 2011/05/09 04:02:14| Adding nameserver 172.16.10.200 from /etc/resol2011/05/09 09:08:07| Starting Squid Cache version 2.6.STABLE21 for x86_64-redhat-linux-gnu... 2011/05/09 09:08:07| Process ID 31894 2011/05/09 09:08:07| With 1024 file descriptors available 2011/05/09 09:08:07| Using epoll for the IO loop 2011/05/09 09:08:07| DNS Socket created at 0.0.0.0, port 45845, FD 6 2011/05/09 09:08:07| Adding domain fr.atempo.network from /etc/resolv.conf 2011/05/09 09:08:07| Adding nameserver 172.16.15.130 from /etc
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Mon, 9 May 2011 10:10:59 +0200 Laurent CREPET l...@megrapet.fr wrote: Today, squid crashed again. So stupid I am ! I did not check for squid in /var/log/messages. Now, I know that Squid does not like to have a temporary filesystem full. /var was always ok after logrotate completes its work, but at 04:02 sometimes was full. [root@stargate log]# grep -i squid messages May 9 04:02:11 stargate squid[6173]: logfileWrite: /var/log/squid/store.log: (0) Success May 9 04:02:11 stargate squid[6171]: Squid Parent: child process 6173 exited due to signal 6 May 9 04:02:14 stargate squid[6171]: Squid Parent: child process 20015 started May 9 04:02:21 stargate squid[20015]: logfileWrite: /var/log/squid/store.log: (28) No space left on device May 9 04:02:21 stargate squid[6171]: Squid Parent: child process 20015 exited due to signal 6 May 9 04:02:24 stargate squid[6171]: Squid Parent: child process 20109 started May 9 04:02:31 stargate squid[20109]: logfileWrite: /var/log/squid/store.log: (28) No space left on device May 9 04:02:31 stargate squid[6171]: Squid Parent: child process 20109 exited due to signal 6 May 9 04:02:34 stargate squid[6171]: Squid Parent: child process 20148 started May 9 04:02:35 stargate squid[20148]: logfileWrite: /var/log/squid/store.log: (28) No space left on device May 9 04:02:35 stargate squid[6171]: Squid Parent: child process 20148 exited due to signal 6 May 9 04:02:38 stargate squid[6171]: Squid Parent: child process 20173 started May 9 04:02:42 stargate squid[20173]: logfileWrite: /var/log/squid/store.log: (28) No space left on device May 9 04:02:42 stargate squid[6171]: Squid Parent: child process 20173 exited due to signal 6 May 9 04:02:45 stargate squid[6171]: Squid Parent: child process 20241 started May 9 04:02:45 stargate squid[20241]: logfileWrite: /var/log/squid/store.log: (28) No space left on device May 9 04:02:45 stargate squid[6171]: Squid Parent: child process 20241 exited due to signal 6 May 9 04:02:45 stargate squid[6171]: Exiting due to repeated, frequent failures May 9 09:08:07 stargate squid[31892]: Squid Parent: child process 31894 started [root@stargate log]# Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] hardware issues under 5.6
On Sun, 08 May 2011 19:30:10 -0400 mark m.r...@5-cent.us wrote: Folks, This is, umm, odd. Two, at least, and possibly a third over the weekend, of some older Dell 1950's, suddenly died shortly after being upgraded to 5.6. They're all about the same age, and it's not happening with other systems, but they claim a scsi abort, and the f/s goes read-only. The little lcd screen goes orange, and shows a fatal error E 171, and B0 F3 D0? D0 F3 B0? I forget, and won't be able to double check my memory till the morning. Has anyone seen this, with a f/s suddenly going r/o, on machines that seemed to be running fine for years? Since this is two? three machines, that's somewhere between coincidence and enemy action. Probably a coincidence. Last week, I lost 2 disks in the same system in 2 days. The 2nd time, even if RAID 5 status was optimal, it did not handle the loss of one hard-disk. We have a bunch of PowerEdge 1950/2950 running CentOS 5.6. No specific problem since the upgrade (I though about an issue with Squid, but no link with the fact that I upgraded to 5.6). If you have the LCD screen orange, this is an hardware-related issue. Some of them can be prevented/fixed by upgrading firmwares. You can easily upgrade from CentOS using Dell Server Update Utility or Dell Linux Hardware repository. Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Mon, 9 May 2011 05:20:48 -0700 (PDT) John Doe jd...@yahoo.com wrote: From: Laurent CREPET l...@megrapet.fr Today, squid crashed again. Maybe ask on the squid mailing list, they might have more insight... JD No need, I have plugged my brain today. Check my latest e-mail (squid does not like temporary filesystem full in /var/log/squid) ;-) No link with 5.6 upgrade at all. Thanks for your help (all). Regards, Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Wed, 4 May 2011 16:33:21 +0200 Philippe Naudin philippe.nau...@supagro.inra.fr wrote: Not sure it is working : logrotate -d is debug mode, it actually does nothing. You have to try again without -d to check if it works. Don't forget to check the content of /var/log/squid/ (file size, date and time) for the result. I have run the following commands: logrotate -d -v -f /etc/logrotate.d/squid logrotate -v -f /etc/logrotate.d/squid /usr/sbin/squid -k rotate After each one, service squid status was returning squid's pid. squid's logs were normal. squid's logs are rotated on a weekly basis by logrorate. squid crashed 2 times, with one week between. Now, I have switched to daily/rotate 15, and squid did not crash since the change (2 days ago). Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Tue, 03 May 2011 08:48:46 -0500 Johnny Hughes joh...@centos.org wrote: I do not see anything listed in the upsteam bugzilla concerning squid and EL5.6 ... anyone else have this issue? I also checked... nothing related to squid crash after upgrading to 5.6. squid logs are rotated on a weekly basis, so it seems that squid crashes once a week here. In the default setup, squid is accessing directly to its log files. As a workaround, I can probably switch to syslog, so squid would be tolerant to logrotate (and not concerned about). Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Tue, 3 May 2011 02:26:33 -0700 (PDT) John Doe jd...@yahoo.com wrote: From: Laurent CREPET l...@megrapet.fr Any ideas ? Different setup here (compiled latest squid 2.7.STABLE9). Main difference I can see with the rpm's rotatelog is that we use delaycompress... JD I would prefer not to compile anything. From squid web site, I found references to packages available here: http://people.redhat.com/jskala/squid/ And this guy takes the SRPM from Fedora: http://www.howtoforge.com/anonymous-proxy-using-squid-3-centos-5.x However, since: - my settings have not been modified recently - logrorate and squid packages have not been updated by CentOS 5.6 (see below) ...an issue with glibc ? [root@stargate ~]# egrep centos-release|glibc|squid|logrotate /var/log/yum.log* /var/log/yum.log:Apr 18 15:27:25 Updated: centos-release-notes-5.6-0.x86_64 /var/log/yum.log:Apr 18 15:27:25 Updated: 10:centos-release-5-6.el5.centos.1.x86_64 /var/log/yum.log:Apr 18 15:27:34 Updated: glibc-common-2.5-58.el5_6.2.x86_64 /var/log/yum.log:Apr 18 15:27:46 Updated: glibc-2.5-58.el5_6.2.x86_64 /var/log/yum.log:Apr 18 15:27:47 Updated: glibc-2.5-58.el5_6.2.i686 /var/log/yum.log:Apr 28 09:35:49 Updated: glibc-common-2.5-58.el5_6.3.x86_64 /var/log/yum.log:Apr 28 09:35:59 Updated: glibc-2.5-58.el5_6.3.x86_64 /var/log/yum.log:Apr 28 09:36:00 Updated: glibc-2.5-58.el5_6.3.i686 /var/log/yum.log.1:Jan 21 15:25:52 Updated: glibc-common-2.5-42.el5_4.3.x86_64 /var/log/yum.log.1:Jan 21 15:25:57 Updated: glibc-2.5-42.el5_4.3.x86_64 /var/log/yum.log.1:Jan 21 15:26:06 Updated: glibc-2.5-42.el5_4.3.i686 /var/log/yum.log.1:May 28 16:19:13 Updated: glibc-common-2.5-49.x86_64 /var/log/yum.log.1:May 28 16:19:13 Updated: centos-release-notes-5.5-0.x86_64 /var/log/yum.log.1:May 28 16:19:13 Updated: 10:centos-release-5-5.el5.centos.x86_64 /var/log/yum.log.1:May 28 16:19:18 Updated: glibc-2.5-49.i686 /var/log/yum.log.1:May 28 16:19:21 Updated: glibc-2.5-49.x86_64 /var/log/yum.log.1:May 28 16:19:29 Updated: 7:squid-2.6.STABLE21-6.el5.x86_64 /var/log/yum.log.1:Jun 18 14:34:20 Updated: glibc-common-2.5-49.el5_5.2.x86_64 /var/log/yum.log.1:Jun 18 14:34:29 Updated: glibc-2.5-49.el5_5.2.x86_64 /var/log/yum.log.1:Jun 18 14:34:30 Updated: glibc-2.5-49.el5_5.2.i686 /var/log/yum.log.1:Aug 10 15:21:21 Updated: glibc-common-2.5-49.el5_5.4.x86_64 /var/log/yum.log.1:Aug 10 15:21:28 Updated: glibc-2.5-49.el5_5.4.x86_64 /var/log/yum.log.1:Aug 10 15:21:44 Updated: glibc-2.5-49.el5_5.4.i686 /var/log/yum.log.1:Oct 15 13:07:25 Updated: glibc-common-2.5-49.el5_5.5.x86_64 /var/log/yum.log.1:Oct 15 13:07:29 Updated: glibc-2.5-49.el5_5.5.x86_64 /var/log/yum.log.1:Oct 15 13:07:30 Updated: glibc-2.5-49.el5_5.5.i686 /var/log/yum.log.1:Oct 15 13:07:31 Updated: logrotate-3.7.4-9.el5_5.1.x86_64 /var/log/yum.log.1:Nov 02 14:03:17 Updated: glibc-common-2.5-49.el5_5.7.x86_64 /var/log/yum.log.1:Nov 02 14:03:27 Updated: glibc-2.5-49.el5_5.7.x86_64 /var/log/yum.log.1:Nov 02 14:03:40 Updated: glibc-2.5-49.el5_5.7.i686 /var/log/yum.log.1:Nov 08 09:26:57 Updated: logrotate-3.7.4-9.el5_5.2.x86_64 /var/log/yum.log.2:Dec 06 13:14:54 Installed: 7:squid-2.6.STABLE21-3.el5.x86_64 /var/log/yum.log.2:Dec 18 06:27:14 Updated: glibc-common-2.5-42.el5_4.2.x86_64 /var/log/yum.log.2:Dec 18 06:27:22 Updated: glibc-2.5-42.el5_4.2.x86_64 /var/log/yum.log.2:Dec 18 06:27:31 Updated: glibc-2.5-42.el5_4.2.i686 Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Wed, 4 May 2011 13:35:37 +0200 Philippe Naudin philippe.nau...@supagro.inra.fr wrote: Le mer 04 mai 2011 12:48:39 CEST, Laurent CREPET a écrit: [...] However, since: - my settings have not been modified recently - logrorate and squid packages have not been updated by CentOS 5.6 (see below) ...an issue with glibc ? Squid and logrotate work just fine here : $ rpm -q squid logrotate squid-2.6.STABLE21-6.el5 logrotate-3.7.4-9.el5_5.2 $ ls -l /var/log/squid/ total 92624 -rw--- 1 squid squid 43709603 mai 4 13:08 access.log -rw--- 1 squid squid 9424047 mai 1 04:02 access.log.1.gz -rw--- 1 squid squid 9751039 avr 24 04:02 access.log.2.gz -rw--- 1 squid squid 10745924 avr 17 04:02 access.log.3.gz -rw--- 1 squid squid 11373152 avr 10 04:02 access.log.4.gz -rw--- 1 squid squid 9620745 avr 3 04:02 access.log.5.gz -rw-r- 1 squid squid 2794 mai 4 11:58 cache.log -rw-r- 1 squid squid 2503 mai 1 04:02 cache.log.1.gz -rw-r- 1 squid squid 1580 avr 24 04:02 cache.log.2.gz -rw-r- 1 squid squid 1881 avr 17 04:02 cache.log.3.gz -rw-r- 1 squid squid 1591 avr 10 04:02 cache.log.4.gz -rw-r- 1 squid squid 2772 avr 3 04:02 cache.log.5.gz -rw-r--r-- 1 squid squid 511 nov 26 09:13 squid.out Have you double checked that your problem is not a permission problem, or some SELinux issue ? SELinux is disabled. [root@stargate ~]# grep SELINUX /etc/selinux/config # SELINUX= can take one of these three values: SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: SELINUXTYPE=targeted You can also try, as root : $ logrotate -d -v -f /etc/logrotate.d/squid # and without -d $ squid -k rotate [root@stargate ~]# /etc/init.d/squid status squid (pid 6173) is running... [root@stargate ~]# logrotate -d -v -f /etc/logrotate.d/squid reading config file /etc/logrotate.d/squid reading config info for /var/log/squid/access.log reading config info for /var/log/squid/cache.log reading config info for /var/log/squid/store.log Handling 3 logs rotating pattern: /var/log/squid/access.log forced from command line (5 rotations) empty log files are not rotated, old logs are removed considering log /var/log/squid/access.log log needs rotating rotating log /var/log/squid/access.log, log-rotateCount is 5 renaming /var/log/squid/access.log.5.gz to /var/log/squid/access.log.6.gz (rotatecount 5, logstart 1, i 5), renaming /var/log/squid/access.log.4.gz to /var/log/squid/access.log.5.gz (rotatecount 5, logstart 1, i 4), renaming /var/log/squid/access.log.3.gz to /var/log/squid/access.log.4.gz (rotatecount 5, logstart 1, i 3), renaming /var/log/squid/access.log.2.gz to /var/log/squid/access.log.3.gz (rotatecount 5, logstart 1, i 2), renaming /var/log/squid/access.log.1.gz to /var/log/squid/access.log.2.gz (rotatecount 5, logstart 1, i 1), renaming /var/log/squid/access.log.0.gz to /var/log/squid/access.log.1.gz (rotatecount 5, logstart 1, i 0), copying /var/log/squid/access.log to /var/log/squid/access.log.1 truncating /var/log/squid/access.log compressing log with: /bin/gzip removing old log /var/log/squid/access.log.6.gz rotating pattern: /var/log/squid/cache.log forced from command line (5 rotations) empty log files are not rotated, old logs are removed considering log /var/log/squid/cache.log log needs rotating rotating log /var/log/squid/cache.log, log-rotateCount is 5 renaming /var/log/squid/cache.log.5.gz to /var/log/squid/cache.log.6.gz (rotatecount 5, logstart 1, i 5), renaming /var/log/squid/cache.log.4.gz to /var/log/squid/cache.log.5.gz (rotatecount 5, logstart 1, i 4), renaming /var/log/squid/cache.log.3.gz to /var/log/squid/cache.log.4.gz (rotatecount 5, logstart 1, i 3), renaming /var/log/squid/cache.log.2.gz to /var/log/squid/cache.log.3.gz (rotatecount 5, logstart 1, i 2), renaming /var/log/squid/cache.log.1.gz to /var/log/squid/cache.log.2.gz (rotatecount 5, logstart 1, i 1), renaming /var/log/squid/cache.log.0.gz to /var/log/squid/cache.log.1.gz (rotatecount 5, logstart 1, i 0), copying /var/log/squid/cache.log to /var/log/squid/cache.log.1 truncating /var/log/squid/cache.log compressing log with: /bin/gzip removing old log /var/log/squid/cache.log.6.gz rotating pattern: /var/log/squid/store.log forced from command line (5 rotations) empty log files are not rotated, old logs are removed considering log /var/log/squid/store.log log needs rotating rotating log /var/log/squid/store.log, log-rotateCount is 5 renaming /var/log/squid/store.log.5.gz to /var/log/squid/store.log.6.gz (rotatecount 5, logstart 1, i 5), renaming /var/log/squid/store.log.4.gz to /var/log/squid/store.log.5.gz (rotatecount 5, logstart 1, i 4), renaming /var/log/squid/store.log.3.gz to /var/log/squid/store.log.4.gz (rotatecount 5, logstart 1, i 3), renaming /var/log/squid/store.log.2.gz to /var/log/squid/store.log.3.gz (rotatecount 5, logstart 1, i 2), renaming /var/log
[CentOS] since CentOS 5.6 upgrade, squid crashes
Hi, I have recently upgraded our web proxy to CentOS 5.6. Before the upgrade, squid was running fine. Since the upgrade, sometimes, squid crashes: [root@stargate ~]# service squid status squid dead but pid file exists Looking at log files, I think it could be related to logrotate stuff, -rw-r- 1 squid squid 42713088 May 3 04:02 store.log -rw-r- 1 squid squid 8192 May 3 04:02 cache.log -rw-r- 1 squid squid 35778160 May 3 04:02 access.log I will look at the latest RPMs to check differences on /etc/logrotate.d/squid. Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Tue, 3 May 2011 09:46:05 +0200 Laurent CREPET l...@megrapet.fr wrote: I will look at the latest RPMs to check differences on /etc/logrotate.d/squid. Packages: squid-2.6.STABLE21-6.el5 logrotate-3.7.4-9.el5_5.2 In /var/log/squid/cache.log: 2011/05/03 04:02:12| storeDirWriteCleanLogs: Starting... 2011/05/03 04:02:12| WARNING: Closing open FD 15 2011/05/03 04:02:12| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=15: (1) Operation not permitted 2011/05/03 04:02:12| 65536 entries written so far. 2011/05/03 04:02:12|131072 entries written so far. 2011/05/03 04:02:12|196608 entries written so far. 2011/05/03 04:02:12|262144 entries written so far. 2011/05/03 04:02:12|327680 entries written so far. 2011/05/03 04:02:12|393216 entries written so far. 2011/05/03 04:02:12|458752 entries written so far. 2011/05/03 04:02:12|524288 entries written so far. 2011/05/03 04:02:12|589824 entries written so far. 2011/05/03 04:02:13|655360 entries written so far. 2011/05/03 04:02:13|720896 entries written so far. 2011/05/03 04:02:13|786432 entries written so far. 2011/05/03 04:02:13|851968 entries written so far. 2011/05/03 04:02:13|917504 entries written so far. 2011/05/03 04:02:13|983040 entries written so far. 2011/05/03 04:02:13| 1048576 entries written so far. 2011/05/03 04:02:13| 1114112 entries written so far. 2011/05/03 04:02:13| 1179648 entries written so far. 2011/05/03 04:02:14| Finished. Wrote 1236584 entries. 2011/05/03 04:02:14| Took 1.3 seconds (964362.7 entries/sec). FATAL: logfileWrite: /var/log/squid/store.log: (11) Resource temporarily unavailable Squid Cache (Version 2.6.STABLE21): Terminated abnormally. CPU Usage: 174.999 seconds = 102.121 user + 72.878 sys Maximum Resident Size: 901712 KB Page faults with physical i/o: 2 Memory usage for squid via mallinfo(): total space in arena: 218616 KB Ordinary blocks: 213843 KB241 blks Small blocks: 0 KB 0 blks Holding blocks: 4972 KB 3 blks Free Small blocks: 0 KB Free Ordinary blocks:4772 KB Total in use: 218815 KB 98% Total free: 4772 KB 2% 2011/05/03 04:02:17| Starting Squid Cache version 2.6.STABLE21 for x86_64-redhat-linux-gnu... 2011/05/03 04:02:17| Process ID 29401 2011/05/03 04:02:17| With 1024 file descriptors available 2011/05/03 04:02:17| Using epoll for the IO loop 2011/05/03 04:02:17| DNS Socket created at 0.0.0.0, port 42081, FD 6 Squid is restarted by logrotate, but crashes. 2011/05/03 04:02:17| Target number of buckets: 393877 2011/05/03 04:02:17| Using 524288 Store buckets 2011/05/03 04:02:17| Max Mem size: 8192 KB 2011/05/03 04:02:17| Max Swap size: 10240 KB 2011/05/03 09:32:33| Starting Squid Cache version 2.6.STABLE21 for x86_64-redhat-linux-gnu... 2011/05/03 09:32:33| Process ID 6173 2011/05/03 09:32:33| With 1024 file descriptors available 2011/05/03 09:32:33| Using epoll for the IO loop 2011/05/03 09:32:33| DNS Socket created at 0.0.0.0, port 57536, FD 6 Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] since CentOS 5.6 upgrade, squid crashes
On Tue, 3 May 2011 09:46:05 +0200 Laurent CREPET l...@megrapet.fr wrote: I will look at the latest RPMs to check differences on /etc/logrotate.d/squid. I'm suprised... it seems that both packages have not been modified for a while. [root@stargate ~]# ls -latr /var/log/yum.log* -rw-r--r-- 1 root root 11559 Dec 30 2009 /var/log/yum.log.2 -rw--- 1 root root 27610 Dec 23 11:27 /var/log/yum.log.1 -rw--- 1 root root 11234 May 1 08:45 /var/log/yum.log [root@stargate ~]# [root@stargate ~]# egrep -i squid|logrotate !$ egrep -i squid|logrotate /var/log/yum.log* /var/log/yum.log.1:May 28 16:19:29 Updated: 7:squid-2.6.STABLE21-6.el5.x86_64 /var/log/yum.log.1:Oct 15 13:07:31 Updated: logrotate-3.7.4-9.el5_5.1.x86_64 /var/log/yum.log.1:Nov 08 09:26:57 Updated: logrotate-3.7.4-9.el5_5.2.x86_64 /var/log/yum.log.2:Dec 06 13:14:54 Installed: 7:squid-2.6.STABLE21-3.el5.x86_64 [root@stargate ~]# grep -i centos-release /var/log/yum.log* /var/log/yum.log:Apr 18 15:27:25 Updated: centos-release-notes-5.6-0.x86_64 /var/log/yum.log:Apr 18 15:27:25 Updated: 10:centos-release-5-6.el5.centos.1.x86_64 /var/log/yum.log.1:May 28 16:19:13 Updated: centos-release-notes-5.5-0.x86_64 /var/log/yum.log.1:May 28 16:19:13 Updated: 10:centos-release-5-5.el5.centos.x86_64 Any ideas ? Laurent. -- Laurent CREPET l...@megrapet.fr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Intel NIC
On Fri, 17 Dec 2010 08:44:46 +0100 Helmut Drodofsky drodof...@internet-xs.de wrote: Hallo, Hi, actual Intel Ethernet cards PCI-E - Are normal recognized by Centos 5.5 Live CD - Not recognized by 5.2 Because of vmware, I will use 5.2 Can't you use Xen or KVM ? That way, you,ll have an up to date OS. If not possible, updating kernel may be sufficient to make vmware work… or break. HTH, Laurent pgp2XY96qKT4b.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Colour laser printer
On Tue, 05 Oct 2010 13:01:11 +0100 Timothy Murphy gayle...@eircom.net wrote: Anyone got a recommendation for a cheap (but good) colour laser printer that runs under CentOS-5.5 ? hp laserjet 2055dn ? -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpwrR3zZlT2B.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Colour laser printer
On Tue, 05 Oct 2010 13:01:11 +0100 Timothy Murphy gayle...@eircom.net wrote: Anyone got a recommendation for a cheap (but good) colour laser printer that runs under CentOS-5.5 ? woops, missed the « colour » part. sorry. -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpy3XIUWd9YQ.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?
On Tue, 14 Sep 2010 09:44:28 +0300 Roland RoLaNd r_o_l_a_...@hotmail.com wrote: Hello, I have a centos 5.2 core 2 duo 3.0 GHZ with 2 GB ram which is working as a Virtual machine. i've just upgraded the hosting physical server from 32 GB to 64 GB of ram. which in turn, would require me to upgrade the VM to 8 GB. this is a 32 bit centos installation, would the system recognize and use the 8 GB? Yes, using a PAE enabled kernel. Anyway, apps won't be able to use more than 3GB per process. Welcome in 32 bits limitations. the option of using a 64 bit centos isnt possible. Strange. 64 bits is here for years, 64 runs 32 bits code perfectly. So i'm turning to you for advice. would upgrading the Ram be enough, or is there anything to be done that's kernel based of some sort? Either PAE or switch to 64 bits. There's no other path. HTH, -- Laurent Wandrebeck GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpGbabSat2jk.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?
On Tue, 14 Sep 2010 10:01:52 +0100 Kevin Thorpe ke...@pibenchmark.com wrote: Strange. 64 bits is here for years, 64 runs 32 bits code perfectly. Not always. 32 bit support is good but we had a program here which I couldn't get to work any way up. Oh ? which one ? We've switched to 64 during C4.0 days, never had a problem since with codes we couldn't port. -- Laurent Wandrebeck GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpStGX8XMsEh.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?
On Tue, 14 Sep 2010 16:45:50 +0300 Roland RoLaNd r_o_l_a_...@hotmail.com wrote: Thanks for your feedback.. So if i set my VM to 8 GB, each proccess would use a max of 3 GB (even with PAE installed and selected on boot)? PAE allows a 32 bits host to see more than 4GB of ram. but each process is still limited to ~3gb. To dive a bit more into technical details, PAE is like EMS in DOS time. In EMS, you saw the whole ram, but couldn't allocate more than 64KB per process. With PAE, the same, with a limit of 4GB-OS stuff per process, so it gives something like 3GB. Hope I'm clear. -- Laurent Wandrebeck GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpTzaaabHMwg.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?
On Tue, 14 Sep 2010 16:01:13 +0200 Rudi Ahlers r...@softdux.com wrote: Even so, most machines today performs multiple tasks, so 3GB limit per process isn't really that big an issue, unless you render graphics with a mono-threaded application. Depends the domain :) We work in satellite images processing here, so 3GB per process is an issue. Moreover, PAE memory access is far from optimal. You're better run a 64 bits OS with 32 apps than a 32 bits PAE enables, imho. On servers you generally have more than one process running so the whole experience will sitll be a good one with 4GB+ RAM, upto 32GB if memory serves me right? Don't know about upper limit of PAE. Wikipedia says 64GB. Regards, -- Laurent Wandrebeck GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpePICcfyx3X.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos Virtual Machine 32 bit with 8 GB ram ?
On Tue, 14 Sep 2010 10:49:28 -0400 JohnS jse...@gmail.com wrote: On Tue, 2010-09-14 at 16:19 +0200, Laurent Wandrebeck wrote: On Tue, 14 Sep 2010 16:01:13 +0200 Rudi Ahlers r...@softdux.com wrote: Even so, most machines today performs multiple tasks, so 3GB limit per process isn't really that big an issue, unless you render graphics with a mono-threaded application. Depends the domain :) We work in satellite images processing here, so 3GB per process is an issue. What's the Kernel you gots? What's the processing procedure? We're a bit OT here :-) mail me directly if you're interested in some more details. -- Laurent Wandrebeck GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpOYp9qEqW2w.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] e2fsck with millions of files
On Tue, 31 Aug 2010 14:40:55 -0500 Sean Carolan scaro...@gmail.com wrote: According to the release notes this bug has been fixed in version 1.40: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.40 E2fsprogs 1.40 (June 29, 2007) There was a floating point precision error which could cause e2fsck to loop forever on really big filesystems with a large inode count. (Addresses Debian Bug: #411838) What are the odds of this getting included in CentOS 5.6? IMHO, quite high if you open the bug on RH bugzilla, with the patch. Check first if such a thing hasn't already been opened. Regards, Laurent. pgpcfVJtGdIsF.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010 16:50:18 +0100 James Bensley jwbens...@gmail.com wrote: Listee's... I have a 5.5 box and I have formatted a partition as ext4 however I can't mount it, the mount command is telling me its an unknown file system type. fsck tells me the partition is a clean ext4 partition but I can't mount it. Use mount -t ext4dev. See http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html-single/Technical_Notes/#chap-Technical_Notes-_Technology_Previews_ Regards, Laurent pgpX7qWPYVZVC.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010 17:10:13 +0100 James Bensley jwbens...@gmail.com wrote: On 7 August 2010 16:57, Laurent Wandrebeck l.wandreb...@gmail.com wrote: Use mount -t ext4dev. Sorry, I forgot to mention; I have reformatted the drive as ext4dev and it still wont mount, unknown file system type again! I verified it was OK with fsck and it says it is a clean ext4dev partition? Hm, looks like ext4dev only was the case in 5.4. I've just checked in 5.5 and got: LABEL=/data /data ext4defaults1 2 so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. Do you run some vps or something ? Regards, Laurent pgpwgr2xVcGJo.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ext4?
On Sat, 7 Aug 2010 18:55:35 +0100 James Bensley jwbens...@gmail.com wrote: On 7 August 2010 17:41, Laurent Wandrebeck l.wandreb...@gmail.com wrote: so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko. This is probably going ot provide the answer (to you atleast, its not so clear to me); `uname -r` tells me I'm on kernel 2.6.18-92.el5. Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required module but its not active, or something? I'm going to say I need to recompile my kernel and include the module since its present on my box or work out why the newer kernel files are present but not in use? You need to boot on the latest kernel. Or it is not 5.5 (nor 5.4 as far as I can remember - it looks like a 5.3 one). So ext4 is unsupported. Laurent pgpBIFlnJtXbR.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Xen cpu requirements
On Wed, 14 Jul 2010 12:32:12 -0500 David Dyer-Bennet d...@dd-b.net wrote: I'm installing Centos 5.5 on a new Dell R301 server. I wanted to run Xen and have the full virtualization possibilities (this is our development support server, so it runs a few real services and is available for playing with things; putting the playing with things functions into virtual servers would protect the few real services, and make it easier to clean up afterwards). snip So, does that mean my Xeon-based server doesn't have hardware virtualization assistance? I guess such a new processor has hardware virtualization enabled, but AFAIK you need to run in x86_64 mode, is it the case ? Laurent pgpgM3Xtfk7ye.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clustered file system of choice
On Wed, 16 Jun 2010 15:33:02 -0400 Boris Epstein borepst...@gmail.com wrote: Hi all, I am just trying to consider my options for storing a large mass of data (tens of terrabytes of files) and one idea is to build a clustered FS of some kind. Has anybody had any experience with that? Any recommendations? Thanks in advance for any and all advice. Boris. Hi, You can take a look at http://www.moosefs.org. It is a network, fault-tolerant FS, posix compliant, allows snapshots, uses fuse, your code doesn't need to be changed to access the FS. You can easily choose the number of replicas of files/dirs you want. It is easy to deploy, runs in user-space. Some people runs it successfully on 500+TB. Plus, I've made a CentOS repo here: http://centos.kodros.fr/moosefs.repo Regards, Laurent pgp0aZsiashVc.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MooseFS repository
On Sun, 13 Jun 2010 20:15:27 -0400 Whit Blauvelt w...@transpect.com wrote: On Fri, Jun 11, 2010 at 06:15:04PM +0200, Laurent Wandrebeck wrote: All I can say is that I created that repo to be able to deploy it at work and home :) I just wanted to share it, Anyone here have long-term experience with MooseFS? Is it solidly reliable? At least two « big » players use it for a while: ([MB] means a Michał Borychowski ( MooseFS Support Manager ) to some questions on moosefs ML.) [MB] At our company (http://www.gemius.com) we have four deployments, the biggest has almost 30 million files distributed over 70 chunk servers having a total space of 570TiB. Chunkserver machines at the same time are used to make other calculations. [MB] Another big Polish company which uses MooseFS for data storage is Redefine (http://www.redefine.pl/). According to my searches, moosefs is used in China too. My experience is, it's running for two weeks in testing without any problem. Hope it helps, -- Laurent Wandrebeck HYGEOS, Earth Observation Department / Observation de la Terre Euratechnologies 165 Avenue de Bretagne 59000 Lille, France tel: +33 3 20 08 24 98 http://www.hygeos.com GPG fingerprint/Empreinte GPG: F5CA 37A4 6D03 A90C 7A1D 2A62 54E6 EF2C D17C F64C pgpiks6xX0rUz.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] MooseFS repository
Hi, A repository for MooseFS is just born. It provides CentOS 5.5 SRPMS, i386 and x86_64. cd /etc/yum.repos.d/; wget http://centos.kodros.fr/moosefs.repo ; yum install mfs Two points: - DNS may not be up to date where you are. The subdomain has just been created. Please be patient. - I have made an update to the .spec file, to move config files to /etc/mfs instead of /etc. I had no time to test it yet. I guess it works :) What is MooseFS ? MooseFS is a fault tolerant, network distributed file system. It spreads data over several physical servers which are visible to the user as one resource. For standard file operations MooseFS acts as other Unix-alike file systems: * A hierarchical structure (directory tree) * Stores POSIX file attributes (permissions, last access and modification times) * Supports special files (block and character devices, pipes and sockets) * Symbolic links (file names pointing to target files, not necessarily on MooseFS) and hard links (different names of files which refer to the same data on MooseFS) * Access to the file system can be limited based on IP address and/or password Distinctive features of MooseFS are: * High reliability (several copies of the data can be stored across separate computers) * Capacity is dynamically expandable by attaching new computers/disks * Deleted files are retained for a configurable period of time (a file system level trash bin) * Coherent snapshots of files, even while the file is being written/accessed For more details, see http://www.moosefs.org Feedback welcome ! Thanks, Laurent. pgpCZQhS6Ln2z.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MooseFS repository
2010/6/11 Peter Kjellstrom c...@nsc.liu.se: On Friday 11 June 2010, Laurent Wandrebeck wrote: Hi, A repository for MooseFS is just born. It provides CentOS 5.5 SRPMS, i386 and x86_64. cd /etc/yum.repos.d/; wget http://centos.kodros.fr/moosefs.repo ; yum install mfs A general security comment. Doing the above means downloading and running code from kodros.fr as root on your systems. /Peter Feel free to verify from SRPM that source code is exactly the same provided from http://www.moosefs.org All I can say is that I created that repo to be able to deploy it at work and home :) I just wanted to share it, Regards, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RHEL 6 beta manuals online
On Wed, 21 Apr 2010 13:18:55 +0200 Jure Pečar pega...@nerv.eu.org wrote: On Wed, 21 Apr 2010 07:07:10 -0400 Jim Perrin jper...@gmail.com wrote: I don't see it in my channel listings (for paid subscription) yet. OK, I would understand this as it is not generally available yet. Which Fedora release is closest in terms of compiler and library versions? I would need to start porting some software over to be ready by the time rhel6 ships. F12 AFAIK. Laurent pgp8DllqjygPQ.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: check creation of a group
2010/3/1 Niki Kovacs cont...@kikinovak.net: Hi, I'm currently writing an install script for an application, and my already limited Bash skills are a bit rusty. I want to check if a group exists, and if it doesn't, then create it. Only thing I found is: if [ grep medintux /etc/group ]; then continue else groupadd medintux fi Apparently I can't seem to negate the test, e. g. something like if !(grep medintux /etc/group) Any suggestions for the correct syntax here ? Thanks, Niki Why don't you use groupadd -f ? It will not override the group if it already exists, and shortens the code :) Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Configuration Management Redux (was: best parallel / cluster SSH)
2010/2/5 James Hogarth james.hoga...@gmail.com: There has been substantial development since last April. 0.7 is very usable in production (and indeed makes my life much easier) and 0.8 is due soon. James Do you use PostgreSQL or Oracle as backend ? It seems Postgresql support is a bit far from being production ready, according to their wiki. Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Updating gfortran in CentOS 5.4?
2010/2/3 Jon Forrest jlforr...@berkeley.edu: On 2/3/2010 10:49 AM, Tony Schreiner wrote: There is also a gcc44-gfortran rpm which is based on gcc 4.4.0. Would that help you? I wonder if that rpm allows the version of gfortran and associated libraries it installs to be located in something other than the default location. This is important because I don't want to remove the standard version of gfortran in case something goes wrong. (I know that the rpm command can do this but some rpms don't allow it). Thanks for the suggestion. I'll try this. gcc44 and gfortran44 are specially crafted to be installed without removing official version of gcc/gfortran. executables names are gcc44 and gfortran44. HTH, Laurent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] gcc version
gcc 4.3 was a technology preview in 5.3. It became 4.4 in 5.4. 4.1.2 is the supported version in 5.x. Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Zimbra Help
Use Redhat 5 one. CentOS 5.x is binary compatible with RHEL 5.x. Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] EXT4 status for centos 5.3
2009/9/2 mbneto mbn...@gmail.com: Hi, I was wondering what is the current status fro ext4 support in Centos. I've noticed that is marked as dev when I try to use it from the installer. Does anybody have a scary story to prevent using it? For now, I'm running two C5.3 x86_64 with it without any problem (unless you consider that being faster that ext3 is one;). box1 /dev/sdb1 14T 7,3T 6,2T 54% /data /dev/sdb1 on /data type ext4dev (rw) box2 /dev/sdb1 14T 11T 2,7T 81% /data /dev/sdb1 on /data type ext4dev (rw) Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Graphic card question for CentOS 5.3
2009/7/27 Olaf Mueller daily-pla...@istari.de: Hello, just a short hardware question. Does CentOS 5.3 supports a Leadtek LR2960 (model S26361-D1910-V128, agp, 128mb) graphic card with a nVidia GeForce FX5200 chip and dual dvi? Thank you very much! regards Olaf A couple boxes use fx5200 at work without problem. can't tell about dual dvi, untested. Regards, Laurent. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos