Re: [CentOS] [OT] Bash help

2017-10-25 Thread Jason Welsh
hrm.. seems like you were missing a } sort file | awk '{array[$1] += $2;} END { for (i in array) {print i "\t" array[i];}}' regards, Jason On 10/25/2017 01:24 PM, m.r...@5-cent.us wrote: Warren Young wrote: On Oct 25, 2017, at 10:02 AM, Mark Haney wrote: I have a file with two column

Re: [CentOS] glib update problems

2017-09-20 Thread Jason Welsh
ha! yes we use centos quite a bit. I was assuming (wrongly) that this server was one of them.. oops, my bad. Jason On 09/20/2017 11:44 AM, John Hodrien wrote: On Wed, 20 Sep 2017, Jason Welsh wrote: any idea how to get out of this pickle? Have you considered using CentOS? jh

[CentOS] glib update problems

2017-09-20 Thread Jason Welsh
any idea how to get out of this pickle? [root@oem /home/jason]$yum update glibc Loaded plugins: product-id, rhnplugin, search-disabled-repos, security This system is receiving updates from RHN Classic or Red Hat Satellite. Setting up Update Process Resolving Dependencies --> Running transaction c

Re: [CentOS] bind update flubbed somehow? (resolved)

2017-06-06 Thread Jason Welsh
ugh, the upgrade changed the owner from named to root on /var/named where my zone files are and therefore named could not read the zone files.. How embarrassing.. ;) Jason On 06/06/2017 09:58 AM, Kenneth Porter wrote: --On Tuesday, June 06, 2017 10:53 AM -0400 Jason Welsh wrote

[CentOS] bind update flubbed somehow?

2017-06-06 Thread Jason Welsh
hey folks, we upgraded bind last night to bind-9.8.2-0.62.rc1.el6_9.1.x86_64 and now our server seems to not be able to update. Whenever we add records and update the soa and reload, it still shows the old data.. so for example, we have [root@bind1 /var/named]$grep servername domainname.net.zon

Re: [CentOS] question about shared samba directory file permissions..

2017-05-25 Thread jason welsh
so you were able to see files created on that share with usernames other than the one that was used to mount the share? I tried this config and it didnt seem to make a difference. regards, jason On 05/23/2017 06:26 AM, Leon Fauster wrote: Am 22.05.2017 um 21:57 schrieb Jason Welsh : im

[CentOS] question about shared samba directory file permissions..

2017-05-22 Thread Jason Welsh
im trying to set up a shared samba directory for users to use on centos 7, but whenever I create a file from the samba client to the samba server, the owner of the file ends up being the user the share is mounted up as.. on the server (server1), [samba] comment = samba share path = /samb

[CentOS] running tomcat as non-root user.. (/var/run pidfile issue)

2017-05-04 Thread Jason Welsh
hey folks, we are migrating our tomcat setup over to centos 7. Im converting init-scripts over to systemd services and whatnot.. One thing that Ive noticed is that my systemd startup script cant seem to write to /var/run as a non-root user to drop a pidfile.. If I create a directory in /var/run

Re: [CentOS] OT: hardware, IBM 3650 M2 won't power on

2017-02-22 Thread Jason Welsh
http://www.ebay.com/bhp/ibm-x3650 ;) Jason On 02/22/2017 04:08 PM, m.r...@5-cent.us wrote: I've never seen anything like this. We moved it from the data center yesterday, and this morning I plug it in, and it won't power up. I find a manual for it online, and it says that on plugging it in,

Re: [CentOS] question about directory size in linux..

2017-02-22 Thread Jason Welsh
So its normal behavior.. thanks! Jason On 02/22/2017 01:40 PM, Gordon Messmer wrote: On 02/22/2017 06:34 AM, Jason Welsh wrote: How does the directory *itself* have a size of 2.8 megs? If you write a large number of directory entries in a directory, the directory will grow in order to

[CentOS] question about directory size in linux..

2017-02-22 Thread Jason Welsh
on a CentOS release 6.8 (Final) I was looking around and noticed the following in a directory. [jason@server /app-vol/applications/]$ls -ld temp drwxr-xr-x 4 jason users 2899968 Feb 18 06:31 temp/ [jason@server /app-vol/applications/]$ How does the directory *itself* have a size of 2.8 megs? ye

[CentOS] pacmd command to switch outputs for an application?

2016-12-18 Thread jason welsh
just wondering if anyone has figured out how to make pacmd switch the output of a certain application (lets say chrome browser) from one output (speakers) to another (usb headset). I can easily do this with the pavucontrol program, but I cant figure out how to make pacmd do it.. any ideas?

Re: [CentOS] how to install postgresql ip4r

2016-11-03 Thread Jason Welsh
thanks, ill give that a shot. On 11/03/2016 02:37 PM, John R Pierce wrote: On 11/3/2016 7:58 AM, Jason Welsh wrote: ok, so I removed the default postgresql install and installed it from the software collections.. following the instructions at https://www.softwarecollections.org/en/scls

Re: [CentOS] how to install postgresql ip4r

2016-11-03 Thread Jason Welsh
ql service: [ OK ] [root@HOME1P jason]# psql psql: FATAL: role "root" does not exist [root@HOME1P jason]# any ideas? Jason On 11/02/2016 05:04 PM, John R Pierce wrote: On 11/2/2016 1:49 PM, Jason Welsh wrote: on the old postgresql that comes with centos 6? Ive asked google

[CentOS] how to install postgresql ip4r

2016-11-02 Thread Jason Welsh
on the old postgresql that comes with centos 6? Ive asked google over and over and he wont tell me. :( (im trying to install it as a requirement for NIPAP) Jason ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] migrate openldap to centos 7 server..

2016-08-21 Thread Jason Welsh
I hope this isnt terribly off-topic, but Im trying to migrate openldap from an old 32bit install of gentoo linux to 64bit centos 7. Ive searched and found all kinds of info on migrating, but none if it seems to work completely for me. It seems that the newer centos 7 opendlap config doesnt use

Re: [CentOS] php55w-fpm on CentOS 7: settings location

2016-08-03 Thread Jason Welsh
What I do is create a php.php file on the root of my fileserver with the following then when I browse to that file http://servername/php.php I get all the php information I can stand, including the line "Loaded Configuration File" which is where the running php server loaded php.ini f

Re: [CentOS] compiling with lsocks support on centos 6?

2016-06-10 Thread Jason Welsh
ok thanks. Jason On 06/10/2016 03:29 PM, Alexander Dalloz wrote: Am 10.06.2016 um 21:22 schrieb Alexander Dalloz: Am 10.06.2016 um 19:46 schrieb Jason Welsh: im trying to compile lftp with socks support and im getting the following.. ... checking for msgfmt... /usr/bin/msgfmt checking for

[CentOS] compiling with lsocks support on centos 6?

2016-06-10 Thread Jason Welsh
im trying to compile lftp with socks support and im getting the following.. ... checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checkin

Re: [CentOS] Badlock bad luck again

2016-05-23 Thread Jason Welsh
I just had an issue with automounter not being about to mount windows shares after upgrading all the rpms on some of my centos 6.x servers.. I haven't seen the fix here yet so I thought I'd throw it out there.. as a workaround edit the smb.conf file like so: [global] client use spnego = no

Re: [CentOS] trying to get amavid to work on centos 7 [solved]

2016-03-06 Thread Jason Welsh
On Sun, Mar 06, 2016 at 06:39:32PM +0100, Alexander Dalloz wrote: > > Error reading config file "/etc/amavisd/amavisd.conf" > > Validate the permissions of the configuration file. > > >Jason > > Alexander ugh, I saw that message before and thought I fixed it. I set it to be 755 and now it wor

[CentOS] trying to get amavid to work on centos 7

2016-03-06 Thread Jason Welsh
hey folks, trying to migrate my faithful old centos6 server over to centos 7 and as part of my email server, I have amavisd, clamd, postfix, etc.. The amavisd seems to be failing with some funky (systemd) error.. Mar 6 11:39:03 monster-new systemd: amavisd.service failed. Mar 6 11:39:03 monste

Re: [CentOS] where did SCL go?

2016-02-20 Thread Jason Welsh
I believe it's because I'm using the 32 bit flavor of centos. Of course I found a doc stating that right after I sent the email. Thanks, Jason On Feb 20, 2016 2:18 PM, "Lamar Owen" wrote: > On 02/19/2016 08:55 PM, jason welsh wrote: > >> No package centos

[CentOS] where did SCL go?

2016-02-19 Thread jason welsh
monsterjam:/etc/letsencrypt/archive/monsterjam # yum --enablerepo=extras install centos-release-SCL Loaded plugins: fastestmirror, remove-with-leaves Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.dattobackup.com * epel: mirror.us.leaseweb.net * extras: dist

Re: [CentOS] system refuses to install monit.

2016-01-26 Thread Jason Welsh
guilty as charged... ugh.. thanks! ;) Jason Check /etc/yum.conf. You probably have that listed on an exclude line. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] system refuses to install monit.

2016-01-26 Thread Jason Welsh
_**_So I have epel enabled on this centos 6 server, but yum -y install monit will not install monit. yum search monit does not show monit as available to be installed. [root@lb1 ~]# yum install monit Loaded plugins: fastestmirror, presto Setting up Install Process Loading mirror speeds from cach

Re: [CentOS] cant reattach to screen session since upgrade of screen rpm?

2015-10-15 Thread Jason Welsh
I finished installing all of the rpms monsterjam:~ $ cat /etc/redhat-release CentOS release 6.7 (Final) but I still have the issue where screen freezes when i try to reattach. Jason On 10/15/2015 02:59 PM, Leon Fauster wrote: Am 15.10.2015 um 20:36 schrieb Jason Welsh : hey folks, running

[CentOS] cant reattach to screen session since upgrade of screen rpm?

2015-10-15 Thread Jason Welsh
hey folks, running CentOS release 6.6 (Final) and I was upgrading some rpms and now since screen (and probably some others) were upgraded, I can no longer reattach to my screen session I had running. monsterjam:~ $ rpm -qi screen Name: screen Relocations: (not reloc

Re: [CentOS] tcp wrappers Question..

2015-10-14 Thread Jason Welsh
understood. this is just on a local network.. thanks for the info On 10/14/2015 03:20 PM, Gordon Messmer wrote: On 10/14/2015 11:39 AM, Jason Welsh wrote: but I cant seem to find out how/where to enable said feature. See the man pages for hosts_options and hosts_access. It is rare for

[CentOS] tcp wrappers Question..

2015-10-14 Thread Jason Welsh
hey folks, I keep seeing this on the internet "The user name lookup feature of TCP Wrappers uses identd to identify the username of the remote host. By default, this feature is disabled, as identd may appear hung when there are a large number of TCP connections." but I cant seem to find out h

Re: [CentOS] android sdk on centos7 64-bit. [Solved]

2015-09-21 Thread Jason Welsh
aha! this is why.. [root@centos7 yum.repos.d]# rpm -qf /etc/centos-release file /etc/centos-release is not owned by any package not sure how it got that way, but after a reinstall of centos-release-7-1.1503.el7.centos.2.8.x86_64.rpm my system is happy again. thanks/regards, Jason __

Re: [CentOS] android sdk on centos7 64-bit.

2015-09-21 Thread Jason Welsh
you are correct sir.. something is screwed up! I remember running into a problem with the base repo enabled and swept it under the rug by disabling it for the moment and then forgot all about disabling it.. So when I enable the base repo, and run yum with debug flag, I see the following: Set

Re: [CentOS] android sdk on centos7 64-bit.

2015-09-21 Thread Jason Welsh
yeah, that still doesnt work.. [jason@centos7 platform-tools]$ yum whatprovides /lib/ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager Determining fastest mirrors * epel: archive.linux.duke.edu No matches found [jason@centos7 platform-tools]$ yum whatprovid

Re: [CentOS] android sdk on centos7 64-bit.

2015-09-21 Thread Jason Welsh
[root@centos7 Packages]# yum install /lib/ld-linux.so.2 Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager This system is not registered with Subscription Management. You can use subscription-manager to register. epel/x86_64/metalink | 12 kB 00:00:00 ftp_repo | 3.6 kB

[CentOS] android sdk on centos7 64-bit.

2015-09-21 Thread Jason Welsh
trying to use the android sdk on centos 7 and cant seem to find the 32bit libs.. [jason@centos7 platform-tools]$ ./adb devices -bash: ./adb: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory [jason@centos7 platform-tools]$ whats the right way to isntall the needed 32bit libs?

Re: [CentOS] automounter with users home directories on centos 7. [resolved]

2015-09-11 Thread Jason Welsh
sunnuva scruffy-looking nerf herder!! /etc/auto.home was executable.. so it failed.. I did chmod -x /etc/auto.home and restarted autofs and now it works.. thanks for the help! Jason ___ CentOS mailing list CentOS@centos.org https://lists.centos

Re: [CentOS] automounter with users home directories on centos 7.

2015-09-11 Thread Jason Welsh
AHA!! now I think we are getting somewhere! ;) Mount point: /home source(s): instance type(s): program map: /etc/auto.home no keys found in map <- bing bing bing!! I believe this means it doesnt like whats in my /etc/auto.home? s whats wrong with: [root@server2 etc]#

Re: [CentOS] automounter with users home directories on centos 7.

2015-09-11 Thread Jason Welsh
. Move the /home out of the way. Start automounter and than do an ls /home. It should "just work" -- */Jason Welsh/* *MercuryGate International, Inc.* Sr. System Administrator O: 919-469-7670 C: 919-410-7883 _jason.we...@mercurygate.com <mailto:jason.we...@mercurygate.com>_ *S

Re: [CentOS] automounter with users home directories on centos 7.

2015-09-10 Thread Jason Welsh
IP address rather than the hostname. | | On 09/09/15 16:31, Jason Welsh wrote: | > showmount -e | | -- | If money can fix it, it's not a problem. | -- Click and Clack the Tappet brothers /home is a directory by default on all GNU/Linux hosts. If you plan to use it as a mount point then

[CentOS] automounter with users home directories on centos 7.

2015-09-09 Thread Jason Welsh
Has anyone gotten this to work? Im studing for my rhce and was trying to get this to work and its just not working like it shows in the book im going by. So basically I have two centos 7 servers running under kvm.. One is the nfs server, one is the nfs client.. I have been mounting up other NFS