Re: [CentOS] CentOS 6.3 packages updates options without upgrading.

2016-11-08 Thread cpolish
On 2016-11-08 08:27, Dipal Bhatt wrote: > Thanks really Leon very much w/ a very resourceful info. esp release notes > helps across minor versions. So, this is for a friend of mine, and I have > been told that they will not currently consider updating their userland > from 6.3 to 6.8 but only

Re: [CentOS] How to start a script to complete configuration

2016-11-08 Thread cpolish
On 2016-11-07 14:35, Bernard Fay wrote: > Hi, > > We have a virtual environment based on XenServer. In this environment I > defined a template for CentOS 7 servers. > > I would like to start a script a boot time to complete the configuration of > new VMs based on this template. How can I have a

Re: [CentOS] Install Mariadb on Centos 7 fails

2016-09-23 Thread cpolish
On 2016-09-22 18:07, david wrote: > Folks > > I'm having problems installing Mariadb in Centos 7. > > > Here's what I did: > > 0) Become root > 1) Make sure that mariadb and mysql are NOT installed. > 2) Delete residual libs > rm -rf /var/lib/mysq* > 3) yum install -y

Re: [CentOS] Slow RAID Check/high %iowait during check after updgrade from CentOS 6.5 -> CentOS 7.2

2016-06-13 Thread cpolish
On 2016-06-01 20:07, Kelly Lesperance wrote: > Software RAID 10. Servers are HP DL380 Gen 8s, with 12x4 TB 7200 RPM drives. > > On 2016-06-01, 3:52 PM, "centos-boun...@centos.org on behalf of > m.r...@5-cent.us" > wrote: > > >Kelly

Re: [CentOS] scp via another server

2016-06-12 Thread cpolish
On 2016-06-12 19:07, H wrote: > On 06/12/2016 05:21 PM, J Martin Rushton wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > $ scp svr2:/path/to/source svr1:/path/to/dest > > > > You'll get twice the network traffic since the copy is running on your > > workstattoin (or

Re: [CentOS] CentOS 6, gdb

2016-06-07 Thread cpolish
On 2016-06-07 17:21, m.r...@5-cent.us wrote: > Got a user who claims he was running this program, then it broke recently. > Almost no updates in a while, and none relevant. I'm guessing the > program's compiled from fortran to c Anyway, the issue's on two > servers. On one, I installed a

Re: [CentOS] firewall-config not functional

2016-06-07 Thread cpolish
On 2016-06-07 10:03, Emmett Culley wrote: > On 06/07/2016 05:05 AM, James Hogarth wrote: > > On 7 Jun 2016 12:44, "Emmett Culley" wrote: > >> > >> I have a number of machines (hardware and VMs) running CentOS 7. I all > > cases firewall-config is not functional. Just

Re: [CentOS] CentOS 7, nfsdcltrack

2016-06-07 Thread cpolish
On 2016-06-02 16:40, m.r...@5-cent.us wrote: > Frank Cox wrote: > > On Thu, 2 Jun 2016 16:17:28 -0400 > > m.r...@5-cent.us wrote: > > > >> nfsdcltrack[39406]: sqlite_insert_client: insert > >> statement prepare failed: table clients has 2 columns but 3 values were > >> supplied > >> > >> Anyone

Re: [CentOS] FYI: http

2016-06-07 Thread cpolish
On 2016-06-02 15:44, David Nelson wrote: > On Jun 2, 2016, at 3:39 PM, Always Learning wrote: > > > > When the Internet is working, I never had a problem. So perhaps you are > > correct, Firefox is sending local domain names and everything typed into > > Firefox's URL slot to

Re: [CentOS] vnc on C7

2016-06-02 Thread cpolish
On 2016-06-02 09:42, Jonathan Billings wrote: > On Thu, Jun 02, 2016 at 07:56:37AM -0400, Jerry Geis wrote: > > Then when I use something like vncviewer from a windows laptop into the > > linux desktop > > I get the password prompt, but the next screen says "oh no, something went > > wrong". > >

Re: [CentOS] Problem with Firefox and SSH/browser

2016-06-02 Thread cpolish
On 2016-06-02 09:59, Sergio Belkin wrote: > 2016-06-01 19:36 GMT-03:00 : > > On 2016-06-01 09:53, Sergio Belkin wrote: > > > I have a problem, shame on me I feel as newbie, I cannot open Firefox > > > though ssh. > > > > > > ssh server is 7.2 and ssh client (running Xorg) is

Re: [CentOS] Problem with Firefox and SSH/browser

2016-06-01 Thread cpolish
On 2016-06-01 09:53, Sergio Belkin wrote: > Hi folks, > > I have a problem, shame on me I feel as newbie, I cannot open Firefox > though ssh. > > ssh server is 7.2 and ssh client (running Xorg) is Fedora 23. Firefox does > not open. I've tried a lot of methods, even adding xauth cookie, and for

Re: [CentOS] Unable to boot CentOS 6 - Segmentation Erorr

2016-05-29 Thread cpolish
On 2016-05-29 10:42, John Cenile wrote: > Also, the last message in /var/log/messages before the crash was: > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@May > 29 07:30:10 *hostname* kernel: imklog 5.8.10, log source = /proc/kmsg > started > >

Re: [CentOS] Slow RAID Check/high %iowait during check after updgrade from CentOS 6.5 -> CentOS 7.2

2016-05-25 Thread cpolish
On 2016-05-25 19:13, Kelly Lesperance wrote: > Hdparm didn’t get far: > > [root@r1k1 ~] # hdparm -tT /dev/sda > > /dev/sda: > Timing cached reads: Alarm clock > [root@r1k1 ~] # Hi Kelly, Try running 'iostat -xdmc 1'. Look for a single drive that has substantially greater await than ~10msec.

Re: [CentOS] Inconsistancy in RAID documentation

2016-05-18 Thread cpolish
On 2016-05-03 15:49, m.r...@5-cent.us wrote: > On the wiki page for creating a mirrored root drive, at > , it first > tells you, in the install, to chose manual partitioning, and to leave at > least 1M at the end of the drive and

Re: [CentOS] CentosPlus

2016-05-17 Thread cpolish
On 2016-05-17 15:51, Mauricio Tavares wrote: > Why not leave all the extra repos disabled, say > > sed -i -e 's/^enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo > > and manually enable it when you need to get a package from said repo: > > yum install -y libmcrypt --enablerepo=epel Hello

Re: [CentOS] CentosPlus

2016-05-17 Thread cpolish
On 2016-05-17 12:09, jd1008 wrote: > Has anybody enabled this repo? > I understand that it can really mess up updates and upgrades > as the dependencies are rather different. I've had the CentOSPlus repository enabled for CentOS6 for more than a year with no problems. I don't recall reading

[CentOS-docs] CentOSPlus kernel config differences

2015-08-22 Thread cpolish
Hello, I've finally got some time to attend to documentation. I've updated https://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus to include details on what is the difference between a default CentOS kernel and the Plus kernel, in a general way, with instructions on how to get

Re: [CentOS] backup script

2011-01-28 Thread cpolish
madu...@gmail.com wrote: Should I add to my tar the following option -p, --preserve-permissions extract all protection information tar -cvzfp .. Thanks On Tue, Jan 25, 2011 at 7:10 PM, John Doe jd...@yahoo.com wrote: From: madu...@gmail.com madu...@gmail.com I

Re: [CentOS] Recommendation for a Linux alternative to Centos - ATH9K disaster

2011-01-28 Thread cpolish
Nico Kadel-Garcia wrote: snip One *does* have to remember the mlocate package's limitations. It doesn't browse network mounted directories, it doesn't browse /tmp or look for other excluded targets, and it runs with the nightly cron jobs. So if you're looking for files in /var/tmp/ or an NFS

Re: [CentOS] Ext4 on CentOS 5.5 x64

2011-01-28 Thread cpolish
Sorin Srbu wrote: snip Anyway, I get a bad block message when running fsck, and am not sure whether this is a interface problem between the chair and the monitor or something with the tech preview. snip Having just live through this issue, I recommend you run the extended (long) SMART

Re: [CentOS] internet connection tester script

2011-01-28 Thread cpolish
Nico Kadel-Garcia wrote: Yup. That's why it's common to drop at external firewalls and blocked by NAT from reaching inside your network, to protect less thoroughly protected and critical hosts from distributed denial of service (DDOS) such as the now classic ping flood attack. There is

Re: [CentOS] Ext4 on CentOS 5.5 x64

2011-01-28 Thread cpolish
Les Mikesell wrote: Are there guidelines about what are reasonable results or will the 'Smart Health Status' tell you enough after the tests run? In a recent study[1] of a large population of hard drives these assertions stood out: [A]fter their first scan error, drives are 39 times more

Re: [CentOS] unable to check in code to svn when files contain spaces or characters

2011-01-24 Thread cpolish
Nico Kadel-Garcia wrote: Agnello George wrote: i got a file like this and i need add it into my svn admin/upload_data/FINAL  leg  list  19_01_2010 to  agar  (Merged data in one).xls First: don't do this, seriously. You're begging for pain in your scripting to handle such files from

Re: [CentOS] Network bandwidth tools. (long)

2011-01-16 Thread cpolish
Barry Brimer wrote: I am wondering what tools are available in CentOS 5.5 that would allow me to measure incoming and outgoing network speeds? My new website seems to be getting a lot more traffic that I had anticipated off the bat and I would like to measure resource usage to ensure it

Re: [CentOS] Server reboots unexpectebly.

2011-01-16 Thread cpolish
Lisandro Grullon wrote: This is interesting...I wonder if my box is having and overheating issue. Back in the day, we used h eat gun or even a hair dryer to heat up a suspect system to induce an incipient failure to show up. -- Charles Polisher ___

Re: [CentOS] Tar so slow! Is there anything faster?

2011-01-06 Thread cpolish
On Thu, Jan 06, 2011 at 08:15:16PM +0100, Leonard den Ottolander wrote: Hello Dotan, On Thu, 2011-01-06 at 16:19 +0200, Dotan Cohen wrote: On Thu, Jan 6, 2011 at 16:08, Arun Khan knu...@gmail.com wrote: bzip2 will slow down the operation. If you don't really need compressed than

Re: [CentOS] check, that a script is in a folder

2011-01-05 Thread cpolish
Les Mikesell wrote: John R. Dennison wrote: S Mathias wrote: $ echo ${PWD##*/} somefolder $ if ${PWD##*/} -eq asdf /dev/null; then echo this is the asdf folder; else exit 1; fi bash: notthatfolder: command not found... this is the asdf folder $ So i just want to check that

Re: [CentOS] Anaconda hangs using 100% CPU

2011-01-01 Thread cpolish
I have been struggling with my first PXEboot today, using a kickstart with packages served over http on the local network. The details: - Anaconda is using 100% CPU snip I got the PXE/kickstart going by sheer persistence. It eventually completed without hanging. Post-install the box

Re: [CentOS] perl code to remove newlines

2010-12-30 Thread cpolish
John Doe wrote: $ cat $FILE | tr \n | sed 's/ */\n/g' I was yearning for someone to chime with that! sed is clearly the best most straightforward way to do this task. I can't help myself - there's a useless use of cat: $ $FILE tr \n | sed 's/ */\n/g'

[CentOS] Anaconda hangs using 100% CPU

2010-12-30 Thread cpolish
Dear all, I have been struggling with my first PXEboot today, using a kickstart with packages served over http on the local network. The details: - Anaconda is using 100% CPU - CentOS 5.5 i386 downloaded yesterday - .iso md5sums checked out good - 0 network errors showing (ifconfig) -

Re: [CentOS] Server unresponsive until reboot, memory exhausted

2010-12-29 Thread cpolish
On 12/28/2010 01:41 PM, james wrote: You may be right about the restart, but I would like to know WHAT is crashing my web server regardless. We are not running any shiftily coded sites or apps on this server that I'm aware of (obviously something is shifty!). Is anyone aware of any other

Re: [CentOS] Network communication between hosts

2010-12-29 Thread cpolish
derleader __ wrote: The data is not so much - CPU utilization, RAM utilization, List of installed software, list of users and so on. The information is not so much. What are the options for this task is there a C++ library that I can use to convert the data and then to transfer if via

Re: [CentOS] Ext4 on CentOS 5.5 64bit

2010-12-22 Thread cpolish
Matt wrote: Is ext4 stable on CentOS 5.5 64bit? I have an email server with a great deal of disk i/o and was wandering if ext4 would be better then ext3 for it? Before committing to ext4 on a production server, it would be good to consider the comments made in

Re: [CentOS] I/O size distribution?

2010-12-22 Thread cpolish
Antonello Piemonte wrote: Hello I have read that under Solaris one can use DTrace to get I/O request size distribution on a global scale (also on a per process/pid basis). See for example http://prefetch.net/articles/observeiodtk.html Can anyone recommend an alternative to get similar

Re: [CentOS] two cents or not two cents

2010-12-17 Thread cpolish
Les Mikesell wrote: snip To overgeneralize, that's one of the big differences between free and commercial software. Commercial software that has a customer base that they can't afford to lose will rarely break backwards compatibility, or if they do, they'll provide conversion tools to

Re: [CentOS] two cents or not two cents

2010-12-17 Thread cpolish
Lamar Owen wrote: Where do people get this? On one of my up to date CentOS 5 VM's: [r...@zoneminder1 ~]# cat /etc/redhat-release CentOS release 5.5 (Final) [r...@zoneminder1 ~]# rpm -qi firefox Name: firefox Relocations: (not relocatable) Version : 3.6.13

Re: [CentOS] OT: programming language for morons (newbie friendly language in Open Source world)

2010-12-14 Thread cpolish
cornel panceac wrote: my first language was pascal. if i'd had the opportunity, i'd start with c. herbert schildt's teach yourself c was great for me. I think C is an excellent place to begin. But try K R (ISBN-10 0131103628) which is the classic introduction. Schildt is reviled in the church

Re: [CentOS] The Natives are Restless!

2010-12-09 Thread cpolish
Christopher Chan wrote: John Hinton wrote: Has anyone noticed over the years, that every time a major new CentOS release is just about to happen, suddenly there starts to be a few very long and drawn out threads? Really? Interesting. Has anyone ever considered that the core team

Re: [CentOS] XFS or EXT3 ?

2010-12-03 Thread cpolish
On Fri, Dec 03, 2010 at 08:31:12AM -0500, Adam Tauno Williams wrote: On Fri, 2010-12-03 at 14:20 +0100, Peter Kjellström wrote: On Friday 03 December 2010 13:55:28 Keith Roberts wrote: There was a similar thread about which is the best FS for Centos. I'm using ext3, and wondered if

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-29 Thread cpolish
Lamar Owen wrote: With SELinux I can set files and whole hierachies to not allow Acrobat Reader access of various types, while still alllowing access to those areas it needs. Voila! Acrobat Reader vulnerabilities and the PDF's that exploit them no longer have any power to exploit my system.

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-29 Thread cpolish
Christopher Chan wrote: Les Mikesell wrote: All of the third-party software I run seems to run just fine, as long as the right contexts are applied. Well, obviously it will work after someone takes the time to make it work. Now it is your turn to quantify: How much would you charge

Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-28 Thread cpolish
1,000 pardons for aggressively trimming this post, sorry if I have harmed the flow by being selective. Bob McConnell wrote: Marko Vojinovic wrote: Bob McConnell wrote: Marko Vojinovic wrote: Nico Kadel-Garcia wrote: Hypothetical: one admins a vended suite of applications that comprise an

Re: [CentOS] can't use godaddy SSL cert

2010-11-25 Thread cpolish
bluethundr wrote: I have setup the certificate chain in my slapd.conf like so: TLSCACertificateFile /usr/local/etc/openldap/cacerts/sf_issuing.crt I don't see where you say which directory these are stored in: -rw-r--r-- 1 root bluethundr 2604 Nov 25 11:37 ca_bundle.crt -r--r- 1

Re: [CentOS] CENTOS 5.5 X86 continue get out of memory error?????

2010-11-24 Thread cpolish
On Nov 24, 2010, at 6:27 PM, mcclnx mcc wrote: This server used to run under CENTOS 3.9 X86 and No problem. Due to application can not use CENTOS 3.9 we need upgrade to CENTOS 4 or 5. If I re-install it and use CENTOS 4.8 X86, will problem gone or not? You may find that CentOS 4.8 x86

Re: [CentOS] can't find ldapseaerch

2010-11-13 Thread cpolish
bluethundr wrote: If you feed the command line the full path to ldapsearch it works as intended. I was wondering if anyone had any idea why ldapsearch isn't being found? Assuming bash - Does hash -l show anything interesting Does alias show anything interesting? -- Charles Polisher

Re: [CentOS] yum update

2010-11-03 Thread cpolish
Here, unpolished, is a script I used to use to determine what changes I had made to an rpm-based system. It requires a least light editing (line 45, 49, and 52 at a minimum) to run on CentOS; probably won't hurt anything. #! /bin/bash # Charles Polisher 2003-10-05 # # Summarize the key facts

Re: [CentOS] Pptp vpn server

2010-11-03 Thread cpolish
Mattias wrote: Yes but there is no good webmin module for openvpn? Not to pour water on your tool, but Google for webmin exploit. This software appears regularly on security lists I read, but not in a good way. -- Charles Polisher ___ CentOS mailing

Re: [CentOS] Memtest86+ running time

2010-11-03 Thread cpolish
Bob McConnell wrote: Jake Shipton wrote: Akemi Yagi wrote: Keith Roberts wrote: I have run one full test and got no errors on the memory module. Is it worth keeping it running overnight, just to see if temperature changes will afect the test? I had a system that started crashing

Re: [CentOS] Maybe OT : strange wildcard behaviour

2010-10-25 Thread cpolish
If the app supports it (most good GNU like apps do) you need the double dash option which will end option processing (ls -l -- -my_stupid_file.foo-) A script to rename files with unhelpful names: #! /bin/bash # Rename files by choosing from a menu C. Polisher 2003/04/21 ls -i echo -n Enter

Re: [CentOS] Mailman - searchable archive

2010-09-28 Thread cpolish
Jussi Hirvi wrote: Mailman works well for our mailing lists, but the archive is unacceptable - the worst thing is lack of search function. I got one tip for this: 1) emails converted to html format with mhonarc 2) search can be done with htdig Opinions? Maybe there are better software

Re: [CentOS] Configuring BIND to answer to two domain names (four IP addresses)

2010-09-24 Thread cpolish
On Fri, Sep 24, 2010 at 10:28:41PM +0200, Dotan Cohen wrote: On Fri, Sep 24, 2010 at 22:24, Alexander Dalloz ad+li...@uni-x.org wrote: http://www.zytrax.com/books/dns/ That is a good source to read up about bind configuration. As a sidenote please be aware, that if someone directly

Re: [CentOS] should vsftpd be disabled in favour of sftp for security reasons?

2010-09-17 Thread cpolish
Robert P. J. Day wrote: On Fri, 17 Sep 2010, Michel van Deventer wrote: (another in an ongoing list of things i just want to clarify for the sake of future courses taught on centos.) from this RHEL doc page:

Re: [CentOS] Automatically detecting LUNs without a reboot

2010-08-31 Thread cpolish
On Tue, Aug 31, 2010 at 04:48:01PM +0100, Gabriel Tabares wrote: From there, I went to http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/html/Online_Storage_Reconfiguration_Guide/rescan-scsi-bus.html Where it says : In order for |rescan-scsi-bus.sh| to work properly, |LUN0| must