Re: [CentOS] please block user

2015-08-25 Thread Fabian Arrotin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/08/15 23:09, Fabian Arrotin wrote: > On 25/08/15 20:39, Alice Wonder wrote: >> julie70773 [at] loverhearts.com > >> Responded off-list to message on the list, spam with content >> that is not suitable for minors. > >> It is possible subscribed

Re: [CentOS] grub.conf

2015-08-25 Thread Barry Brimer
On Tue, 25 Aug 2015, Sachin Gupta wrote: Thank you so much!!! It worked. On Tue, Aug 25, 2015 at 8:04 PM, Barry Brimer wrote: Thanks for reply. I replaced break=y with init=/bin/sh. In that case case system just hangs with the following message. "Freeing unused kernel memory : 400k freed

Re: [CentOS] grub.conf

2015-08-25 Thread Sachin Gupta
Thank you so much!!! It worked. On Tue, Aug 25, 2015 at 8:04 PM, Barry Brimer wrote: > Thanks for reply. >> >> I replaced break=y with init=/bin/sh. >> In that case case system just hangs with the following message. >> "Freeing unused kernel memory : 400k freed". >> >> Thanks!! >> Sachin >> >> O

Re: [CentOS] grub.conf

2015-08-25 Thread Barry Brimer
Thanks for reply. I replaced break=y with init=/bin/sh. In that case case system just hangs with the following message. "Freeing unused kernel memory : 400k freed". Thanks!! Sachin On Tue, Aug 25, 2015 at 7:16 PM, Barry Brimer wrote: My grub.conf is as following. title Linux Init Break ke

Re: [CentOS] grub.conf

2015-08-25 Thread Sachin Gupta
Thanks for reply. I replaced break=y with init=/bin/sh. In that case case system just hangs with the following message. "Freeing unused kernel memory : 400k freed". Thanks!! Sachin On Tue, Aug 25, 2015 at 7:16 PM, Barry Brimer wrote: > My grub.conf is as following. >> >> title Linux Init Brea

Re: [CentOS] grub.conf

2015-08-25 Thread Barry Brimer
My grub.conf is as following. title Linux Init Break kernel /vmlinuz root=/dev/sda6 ro rootwait break=y initrd /initrd.gz What I expect is by adding *break=y* to cmdline, init will pause early in the boot process and launch an interactive sh shell which can be used for troubleshooting purposes.

Re: [CentOS] echo password into bash script

2015-08-25 Thread Peter
On 08/26/2015 08:14 AM, Tim Dunphy wrote: > Well, look at the lines in my script that I'm showing here. That's exactly > what I'm doing. Copying up my public key so that later in the script (which > I didn't show, no need to I think) is to cat the public key into place and > make sure there are pro

[CentOS] grub.conf

2015-08-25 Thread Sachin Gupta
Hello Everyone, My grub.conf is as following. title Linux Init Break kernel /vmlinuz root=/dev/sda6 ro rootwait break=y initrd /initrd.gz What I expect is by adding *break=y* to cmdline, init will pause early in the boot process and launch an interactive sh shell which can be used for troubles

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Gordon Messmer
On 08/25/2015 04:22 PM, John R Pierce wrote: binary compatibility has /never/ been a goal of the linux/gpl architects/authors. in fact, it seems like they make design decisions to discourage it. I don't think that's true. Development in GNU/Linux is highly de-centralized, and some projects

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread John R Pierce
On 8/25/2015 3:48 PM, Leon Fauster wrote: sure, thats always possible but exist there some backward compatibility switch when compiling against a newer glibc? binary compatibility has /never/ been a goal of the linux/gpl architects/authors. in fact, it seems like they make design decisions t

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Leon Fauster
Am 26.08.2015 um 01:04 schrieb Johnny Hughes : > On 08/25/2015 05:48 PM, Leon Fauster wrote: >> Am 25.08.2015 um 19:17 schrieb Nicolas Thierry-Mieg >> : >>> >>> On 08/25/2015 07:11 PM, Leon Fauster wrote: >>> >>> So the easiest solution would be that the vendor (2) >>> build the software on a C6

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Johnny Hughes
On 08/25/2015 05:48 PM, Leon Fauster wrote: > Am 25.08.2015 um 19:17 schrieb Nicolas Thierry-Mieg > : >> >> On 08/25/2015 07:11 PM, Leon Fauster wrote: >>> >>> The support of this vendor (2) is willing to provide >>> such OS support for there products. >>> >>> The same was also offered by a differ

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Leon Fauster
Am 25.08.2015 um 19:17 schrieb Nicolas Thierry-Mieg : > > On 08/25/2015 07:11 PM, Leon Fauster wrote: >> >> The support of this vendor (2) is willing to provide >> such OS support for there products. >> >> The same was also offered by a different vendor (1), they just recompiled >> there softwa

Re: [CentOS] Software Collections

2015-08-25 Thread Johnny Hughes
On 08/25/2015 04:29 PM, Jeff Spahr wrote: > What's CentOS's policy on keeping up with RHEL software collections > releases? It looks like just the 1.0 release is available on CentOS. 1.1, > 1.2, and 2.0 have been released on the RHEL side. > > Is there anything I can do to help with this effort?

Re: [CentOS] a peculiar LVM failure on CentOS 6 run as a VMware 5.5 guest

2015-08-25 Thread Boris Epstein
Hello again, Not sure I have this down 100% but it appears that the main LVM config file ( /etc/lvm/lvm.conf ) has been changed on August 13, 2015 on a number of machines we have - all of them configured for automatic yum updates. So I presume that could be a change that came as part an update - p

Re: [CentOS] Where's My CD/DVD?

2015-08-25 Thread Antonio M
I have a similar problem in Fedora (see https://bugzilla.redhat.com/show_bug.cgi?id=1234317) but nobody seems to take care of it. Hope that Centos is more responsive :-) 2015-08-25 21:45 GMT+02:00 Steve Atkins : > Afraid I'm new enough at this I'm still in the learning curve. > I re-booted into a

Re: [CentOS] Inappropriate Message From Reply to List

2015-08-25 Thread John R Pierce
On 8/25/2015 2:22 PM, James A. Peltier wrote: This is probably going to sound a bit crazy, but did anyone else receive an e-mail after replying the sed question from someone with inappropriate content from one Julie Anna? I'm just wondering if it was only me. It was in fact quoting the CentO

[CentOS] Software Collections

2015-08-25 Thread Jeff Spahr
What's CentOS's policy on keeping up with RHEL software collections releases? It looks like just the 1.0 release is available on CentOS. 1.1, 1.2, and 2.0 have been released on the RHEL side. Is there anything I can do to help with this effort? https://access.redhat.com/documentation/en-US/Red_

[CentOS] Inappropriate Message From Reply to List

2015-08-25 Thread James A. Peltier
This is probably going to sound a bit crazy, but did anyone else receive an e-mail after replying the sed question from someone with inappropriate content from one Julie Anna? I'm just wondering if it was only me. It was in fact quoting the CentOS list with the appropriate subject that I appli

Re: [CentOS] please block user

2015-08-25 Thread Fabian Arrotin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/08/15 20:39, Alice Wonder wrote: > julie70773 [at] loverhearts.com > > Responded off-list to message on the list, spam with content that > is not suitable for minors. > > It is possible subscribed under different address. > > IP of offending s

Re: [CentOS] echo password into bash script

2015-08-25 Thread Tim Dunphy
> > Don't try to automate your password like this for scp or other > ssh-related apps. Generate and use a public/private keypair instead and > your script will then be able to connect without prompting for a password. Well, look at the lines in my script that I'm showing here. That's exactly wha

Re: [CentOS] echo password into bash script

2015-08-25 Thread Peter
On 08/26/2015 04:51 AM, Tim Dunphy wrote: > Hey guys, > > I'm trying to echo my password into some commands inside of a bash script. > But I think I'm going about it incorrectly. > > Here's the top part of my script: > > #!/bin/bash > pub="~/.ssh/id_rsa.pub" > dps_pass="my_pass" > ssh="/usr/bin

[CentOS] a peculiar LVM failure on CentOS 6 run as a VMware 5.5 guest

2015-08-25 Thread Boris Epstein
Hello listmates, I have encountered a rather peculiar situation. We have a Centos 6 VM (64 bit) running on a VMware vSphere 5.5 server. It was running just fine until one day I decided to reboot it and it just would not boot up. Effectively, dracut failed to initialize the LVM, much like under th

Re: [CentOS] echo password into bash script

2015-08-25 Thread Tim Dunphy
> > Use expect? yep! Expect should work. Thanks On Tue, Aug 25, 2015 at 12:56 PM, Eero Volotinen wrote: > Use expect? > > Eero > 25.8.2015 7.52 ip. "Tim Dunphy" kirjoitti: > > > Hey guys, > > > > I'm trying to echo my password into some commands inside of a bash > script. > > But I think I'

Re: [CentOS] Where's My CD/DVD?

2015-08-25 Thread Steve Atkins
Afraid I'm new enough at this I'm still in the learning curve. I re-booted into a previous kernel version and now the CD/DVD is on the list (under computer) but properties reveal "unknown" for every area. Seems strange because it knew all about the Asus drive when I first installed the system.

Re: [CentOS] Where's My CD/DVD?

2015-08-25 Thread Robert Wolfe
Have you tried manually mounting it? -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Steve Atkins Sent: Tuesday, August 25, 2015 2:28 PM To: CentOS@centos.org Subject: [CentOS] Where's My CD/DVD? Hello, I recently upgraded from CentOs 6

[CentOS] Where's My CD/DVD?

2015-08-25 Thread Steve Atkins
Hello, I recently upgraded from CentOs 6.6 to 6.7 and among others oddities, my CD/DVD drive has disappeared from the system. it lights up when I insert a disc and appears to be reading, but that's it. Any thoughts? Many thanks! -steve ___ CentOS

[CentOS] please block user

2015-08-25 Thread Alice Wonder
julie70773 [at] loverhearts.com Responded off-list to message on the list, spam with content that is not suitable for minors. It is possible subscribed under different address. IP of offending spam : Received: from mx2.loverhearts.com (mx2.loverhearts.com [45.55.128.151]) (using TLSv

Re: [CentOS] sed question

2015-08-25 Thread Gordon Messmer
On 08/25/2015 11:21 AM, Alice Wonder wrote: cat file.txt |\ sed -e s?"foo"?"bar"?g |\ sed -e s?"dirty"?"clean?" |\ > file2.txt I don't understand why you'd quote that way. Though unlikely, you could potentially match a filename in the working directory, and hose the sed command.

Re: [CentOS] sed question

2015-08-25 Thread Alice Wonder
On 08/25/2015 11:02 AM, Gordon Messmer wrote: Additionally, you can avoid using "cat" to make the script more efficient. You'll start fewer processes, and complete more quickly. cat is almost never needed unless you actually need to con"cat"enate multiple files. I sometimes like to use cat

Re: [CentOS] sed question

2015-08-25 Thread Gordon Messmer
On 08/25/2015 10:50 AM, Jerry Geis wrote: cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt sed doesn't perform environment variable expansion. That is to say that when you instruct sed to substitute "$CHANGE" for "CANCELID", "$CHANGE" is a literal string that will be substituted. b

Re: [CentOS] sed question

2015-08-25 Thread John R Pierce
On 8/25/2015 10:50 AM, Jerry Geis wrote: --- This is the two line script CHANGE="1234" cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt --- and the my_file.txt has: CANCELID it gets changed to $CHANGE instead of the actual value 1234 . I tried

Re: [CentOS] sed question

2015-08-25 Thread James A. Peltier
- Original Message - | I am trying to use sed to change a value in a pipe. | | --- This is the two line script | CHANGE="1234" | | cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt | --- | | and the my_file.txt has: | CANCELID | | it gets

Re: [CentOS] sed question

2015-08-25 Thread Larry Martell
On Tue, Aug 25, 2015 at 1:50 PM, Jerry Geis wrote: > I am trying to use sed to change a value in a pipe. > > --- This is the two line script > CHANGE="1234" > > cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt > --- > > and the my_file.txt has: > CA

[CentOS] sed question

2015-08-25 Thread Jerry Geis
I am trying to use sed to change a value in a pipe. --- This is the two line script CHANGE="1234" cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt --- and the my_file.txt has: CANCELID it gets changed to $CHANGE instead of the actual value 1234 .

Re: [CentOS] echo password into bash script

2015-08-25 Thread Marc Wiatrowski
What are you trying to do? Copy your public key out to use it for future authentication? Use ssh-copy-id to set it up the first time? Or look at the package sshpass. On Tue, Aug 25, 2015 at 12:58 PM, zep wrote: > > > On 08/25/2015 12:51 PM, Tim Dunphy wrote: > > Hey guys, > > > > I'm trying

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Nicolas Thierry-Mieg
On 08/25/2015 07:11 PM, Leon Fauster wrote: Am 25.08.2015 um 16:31 schrieb Eero Volotinen : 25.8.2015 4.03 ip. "Leon Fauster" kirjoitti: In the hope that some skilled developers are here: We have a commercial product that do not run under CentOS6 /lib64/libc.so.6: version `GLIBC_2.14' no

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Leon Fauster
Am 25.08.2015 um 16:31 schrieb Eero Volotinen : > 25.8.2015 4.03 ip. "Leon Fauster" kirjoitti: > >> >> In the hope that some skilled developers are here: >> >> We have a commercial product that do not run under CentOS6 >> >> /lib64/libc.so.6: version `GLIBC_2.14' not found >> >> Is it possibl

Re: [CentOS] echo password into bash script

2015-08-25 Thread zep
On 08/25/2015 12:51 PM, Tim Dunphy wrote: > Hey guys, > > I'm trying to echo my password into some commands inside of a bash script. > But I think I'm going about it incorrectly. > > Here's the top part of my script: > > #!/bin/bash > pub="~/.ssh/id_rsa.pub" > dps_pass="my_pass" > ssh="/usr/bin/

Re: [CentOS] echo password into bash script

2015-08-25 Thread Eero Volotinen
Use expect? Eero 25.8.2015 7.52 ip. "Tim Dunphy" kirjoitti: > Hey guys, > > I'm trying to echo my password into some commands inside of a bash script. > But I think I'm going about it incorrectly. > > Here's the top part of my script: > > #!/bin/bash > pub="~/.ssh/id_rsa.pub" > dps_pass="my_pas

[CentOS] echo password into bash script

2015-08-25 Thread Tim Dunphy
Hey guys, I'm trying to echo my password into some commands inside of a bash script. But I think I'm going about it incorrectly. Here's the top part of my script: #!/bin/bash pub="~/.ssh/id_rsa.pub" dps_pass="my_pass" ssh="/usr/bin/ssh" scp="/usr/bin/scp" for i in 10.10.10.2{5,6} do echo "xfrin

[CentOS] C7 and /etc/sysconfig/network

2015-08-25 Thread Robert Moskowitz
Does Centos 7 use /etc/sysconfig/network or is this replaced by some systemctl set of commands. For example I know to set my host name with: hostnamectl set-hostname nevia.htt-consult.com But I don't know if this is the same as cat

Re: [CentOS] smartctl of usb backup drive

2015-08-25 Thread Robert Moskowitz
On 08/25/2015 11:16 AM, John Hodrien wrote: On Tue, 25 Aug 2015, Robert Moskowitz wrote: I looked at the manpage and I don't know how to figure out what usb bridge to specify. Almost always I find "-d sat" is what you want with USB connected disks. Thanks. That did the trick. _

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Gordon Messmer
On 08/25/2015 07:31 AM, Eero Volotinen wrote: How about virtualization and running on supported platform? Or docker, or another chroot environment containing the required libraries... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org

Re: [CentOS] smartctl of usb backup drive

2015-08-25 Thread John Hodrien
On Tue, 25 Aug 2015, Robert Moskowitz wrote: I looked at the manpage and I don't know how to figure out what usb bridge to specify. Almost always I find "-d sat" is what you want with USB connected disks. jh ___ CentOS mailing list CentOS@centos.org

[CentOS] smartctl of usb backup drive

2015-08-25 Thread Robert Moskowitz
On a headless C7 server (actually a pogoplug with the Redsleeve 7 distro), I have a usb attached backup drive (what other type of drives can you have on a pogoplug other than usb? :) ). I had reformated the partition as ext4: # parted /dev/sdb print Model: WD My Book 1230 (scsi) Disk /dev/sdb:

Re: [CentOS] clamav / EXIM on Centos 7 - workaround

2015-08-25 Thread Gary Stainburn
The story so far: Even though I've got clamav-server-systemd installed I can't find any units etc to enable me to control clamd via systemctl. When I ran clamd in a terminal it complained that it couldn't find /etc/clamd.conf which made sense as it didn't exist. I copied /etc/clam.d/exim.conf

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread Eero Volotinen
How about virtualization and running on supported platform? Eero 25.8.2015 4.03 ip. "Leon Fauster" kirjoitti: > > In the hope that some skilled developers are here: > > We have a commercial product that do not run under CentOS6 > > /lib64/libc.so.6: version `GLIBC_2.14' not found > > Is it possi

Re: [CentOS] Compile for C6 / glibc

2015-08-25 Thread zep
On 08/25/2015 09:02 AM, Leon Fauster wrote: > In the hope that some skilled developers are here: > > We have a commercial product that do not run under CentOS6 > > /lib64/libc.so.6: version `GLIBC_2.14' not found > > Is it possible to compile software (compile switch?) on a system that > uses a

Re: [CentOS] clamav / EXIM on Centos 7

2015-08-25 Thread Gary Stainburn
On Tuesday 25 August 2015 14:44:55 Mihamina Rakotomandimby wrote: > Does the directory /var/run/clamav-milter/ exist and is it traversable > and writable by the clamav user is running as? > Socket creation mostly doesnt include recursive operation (creating the > directory) It looks like I'm bark

Re: [CentOS] clamav / EXIM on Centos 7

2015-08-25 Thread Mihamina Rakotomandimby
On 08/25/2015 04:36 PM, Gary Stainburn wrote: so I've edited that file to comment out the 'example' line. In here it defines the socket as /var/run/clamav-milter/clamav-milter.socket However, after saving this file the service still fails to start and the socket still doesn't exist Does the d

Re: [CentOS] clamav / EXIM on Centos 7

2015-08-25 Thread Gary Stainburn
[root@ollie2 ~]# find / -iname clamd.sock [root@ollie2 ~]# systemctl list-unit-files --type=service [.] clamav-milter.service enabled exim.serviceenabled spamassassin.serviceenabled [.] [root@ollie2 ~]# ps ax|gr

Re: [CentOS] clamav / EXIM on Centos 7

2015-08-25 Thread Mihamina Rakotomandimby
On 08/25/2015 04:16 PM, Gary Stainburn wrote: connect to UNIX socket (/var/run/clamd.exim/clamd.sock): No such file If you try to locate that file, do you find it somewhere? When you list services (units) and grep with clamav, do you find some? ___

[CentOS] clamav / EXIM on Centos 7

2015-08-25 Thread Gary Stainburn
Me again, I'm still building my new mail server and I'm struggling getting clamav and exim to talk to each other. I've installed: clamav-server-0.98.7-1.el7.x86_64 clamav-lib-0.98.7-1.el7.x86_64 clamav-0.98.7-1.el7.x86_64 clamav-milter-0.98.7-1.el7.x86_64 clamav-data-0.98.7-1.el7.noarch clamav-

[CentOS] Compile for C6 / glibc

2015-08-25 Thread Leon Fauster
In the hope that some skilled developers are here: We have a commercial product that do not run under CentOS6 /lib64/libc.so.6: version `GLIBC_2.14' not found Is it possible to compile software (compile switch?) on a system that uses a newer glibc but in such a way that can be used (executed)

[CentOS] CentOS 6.6 - reshape of RAID 6 is stucked

2015-08-25 Thread Daniel Reich
Hello I have a CentOS 6.6 Server with 13 disks in a RAID 6. Some weeks ago, i upgraded it to 17 disks, two of them configured as spare. The reshape worked like normal in the beginning. But at 69% it stopped. md2 : active raid6 sdj1[0] sdg1[18](S) sdh1[2] sdi1[5] sdm1[15] sds1[12] sdr1[14] sdk1