Re: [CentOS] Samba won't start on Centos 7.3.1611

2017-10-09 Thread Alan McKay
Ug - can't believe it.

[root@centos-gig ~]# rpm -qa | grep samba
samba-libs-4.4.4-14.el7_3.x86_64
samba-client-4.4.4-14.el7_3.x86_64
samba-client-libs-4.4.4-14.el7_3.x86_64
samba-common-tools-4.4.4-14.el7_3.x86_64
samba-common-libs-4.4.4-14.el7_3.x86_64
samba-common-4.4.4-14.el7_3.noarch
[root@centos-gig ~]# yum -y install samba

(and it goes on to install the one missing package)

Not sure how I ended up with everything but that one ... thanks
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba won't start on Centos 7.3.1611

2017-10-09 Thread Alan McKay
Also tried this :

[root@centos-gig ~]# cat allow
type=USER_AVC msg=audit(1507584974.134:166105): pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='avc:  received setenforce notice (enforcing=1)
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1507584974.137:166106): pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='avc:  denied  { enable } for auid=1000 uid=0 gid=0
cmdline="systemctl enable smb.service"
scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tcontext=system_u:system_r:init_t:s0 tclass=service
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'

[root@centos-gig ~]# audit2allow -i ./allow -M samba
 IMPORTANT ***
To make this policy package active, execute:

semodule -i samba.pp

[root@centos-gig ~]# semodule -i ./samba.pp
libsemanage.semanage_direct_install_info: Overriding samba module at
lower priority 100 with module at priority 400.
Failed to resolve typeattributeset statement at
/etc/selinux/targeted/tmp/modules/100/ksmtuned/cil:78
semodule:  Failed!
[root@centos-gig ~]# audit2allow -i ./allow -M samba-new
 IMPORTANT ***
To make this policy package active, execute:

semodule -i samba-new.pp

[root@centos-gig ~]# semodule -i ./samba-new.pp
[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory
[root@centos-gig ~]# setenforce 1
[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory
[root@centos-gig ~]# setenforce 1
[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory
[root@centos-gig ~]#
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba won't start on Centos 7.3.1611

2017-10-09 Thread Alan McKay
Hi folks,

I've been googling for an hour on this which seems to be awfully
basic.  But I cannot find anything definitive.

[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: Access denied
[root@centos-gig ~]# setenforce 0
[root@centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory

Have tried things like :
chcon -t samba_share_t /home/amckay

Also took the output from:
getsebool -a | grep samba

and set all them to "on"

Stripped my config down to the most basic.

What am I missing?


# Global parameters
[global]
netbios name = centos
security = USER
idmap config * : backend = tdb

[homes]
comment = Home Directories
browseable = No
inherit acls = Yes
read only = No
valid users = %S %D%w%S

-- 
"You should sit in nature for 20 minutes a day.
 Unless you are busy, then you should sit for an hour"
 - Zen Proverb
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache 2.2 EOL - what is Red Hat's story for RHEL6?

2017-09-13 Thread Alan McKay
So looks like the definitive answer is here for those who have access

https://access.redhat.com/solutions/2595461

What I don't understand is in the top left it says "solution
unverified" and I"m not sure what that means.

Basic summary is that RH will continue to support apache 2.2 to the
end of life of RHEL6
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache 2.2 EOL - what is Red Hat's story for RHEL6?

2017-09-13 Thread Alan McKay
> I don't have any official knowledge, but I would suspect that they will
> maintain httpd-2.2 throughout the lifetime of RHEL6.  Security issues
> would be backported.  (If older versions of RHEL are any indication)

The basic problem is though that there won't be any security fixes for 2.2
How can they back port something that does not exist?

Or do you mean you think they'll try to port a fix in 2.4 back to 2.2?
Not even sure that will be possible.

Is there some way to get an official statement from RHEL on this?
Like if I bought a licensed copy of RHEL and used it to open a support
case or something like that?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Apache 2.2 EOL - what is Red Hat's story for RHEL6?

2017-09-12 Thread Alan McKay
Hi folks,

I have been googling for a few weeks now and not finding anything.
Apache 2.2 is EOL at the end of this year.

Has Red Hat announced a plan yet on what they are doing in RHEL6?

I am assuming they will up-version from 6.9 to 6.10 and as part of
that upgrade from Apache 2.2 to Apache 2.4 ?

thanks,
-Alan

-- 
"You should sit in nature for 20 minutes a day.
 Unless you are busy, then you should sit for an hour"
 - Zen Proverb
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 6.7 is released

2015-08-05 Thread Alan McKay
Any ETA on when CentOS 6.7 will exit the CR phase?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suddenly OpenVPN not working - backgrounds prompt for username / password

2015-07-26 Thread Alan McKay
So it seems that now when I use --daemon it backgrounds BEFORE
prompting for my password instead of after

So I am good as long as I don't do that.

Why this all of a sudden?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Suddenly OpenVPN not working - backgrounds prompt for username / password

2015-07-25 Thread Alan McKay
Hi folks,

I'm on a fresh install of CentOS 7 and take my config that works on
Ubuntu on the same box.  Instead of getting a prompt for username and
password for the VPN I get a backgrounded task that spits this out :

[amckay@centos-gig ~]$ sudo openvpn --config /home/amckay/data/vpn.ovpn --daemon

Broadcast message from root@centos-gig (Sat 2015-07-25 22:59:13 EDT):

Password entry required for 'Enter Auth Username:' (PID 23461).
Please enter password with the systemd-tty-ask-password-agent tool!

[amckay@centos-gig ~]$

I actually started having the same problem at work when trying to
connect to our management network.  Different config file.  CentOS 7
though.   Same config file works great on Ubuntu.

Been googling it but not much luck.

thanks,
-Alan


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FYI: OpenSSL Patch to Plug Severe Security Holes

2015-03-23 Thread Alan McKay
Is there any update yet on when these fixes might be available in CentOS?

thanks,
-Alan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Anyone have LibreSSL working on CentOS 6.5?

2014-10-02 Thread Alan McKay
Hi folks,

I searched the list for LibreSSL and found only one mention of it!

Has anyone gotten this working?  I have it compiling no problem, but
removing OpenSSL is another story of course.  It seems to be compiled
with FIPS support and of course there is no such thing in LibreSSL -
that is something they tore out

thanks,
-Alan

-- 
Don't eat anything you've ever seen advertised on TV
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL7 beta discussions?

2014-04-01 Thread Alan McKay
Hey all, just checking in here after downloading the RHEL7 beta
yesterday and installing it.

I guess there won't be a CentOS7 until after RHEL7 is released, is that right?

You guys don't do beta?

I'm already frustrated by the Red-Hat-isms in the beta, like all the
subscription stuff.

thanks,
-Alan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL7 beta discussions?

2014-04-01 Thread Alan McKay
On Tue, Apr 1, 2014 at 11:24 AM, Johnny Hughes joh...@centos.org wrote:
 Just remove all the subscription-manager and rhn packages ..

H, you crazy nut :-)

So I'll still be able to yum OK?



-- 
Don't eat anything you've ever seen advertised on TV
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting a RHEL box to CentOS

2013-09-16 Thread Alan McKay
On Tue, Sep 10, 2013 at 3:34 PM, Alan McKay alan.mc...@gmail.com wrote:
 And it all looks good!

Not quite ... looks like I also need to

rpm --erase rhnsd rhn-setup rhn-setup-gnome




-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting a RHEL box to CentOS

2013-09-10 Thread Alan McKay
On Tue, Sep 10, 2013 at 2:14 PM, Akemi Yagi amy...@gmail.com wrote:
 This CentOS wiki article will help you:

d'oh!  Should have looked there first - thanks!


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] converting a RHEL box to CentOS

2013-09-10 Thread Alan McKay
Hey folks,

Google found nothing in this list archives for me but did find this :
http://www.unixmen.com/how-to-jul-convert-rhel-5-to-centos-5/

Before I just go try that on one of my systems can someone confirm
that it works?

I'm running RHEL 5.7 so I guess I'd replace the 5.4 in the URL with 5.7

Basically I let my RHEL licenses run out (never really used them) and
am getting warnings now from yum.   Want to just switch over to the
CentOS repos.

Anything to be wary of doing this?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] converting a RHEL box to CentOS

2013-09-10 Thread Alan McKay
On Tue, Sep 10, 2013 at 2:14 PM, Akemi Yagi amy...@gmail.com wrote:
 http://www.unixmen.com/how-to-jul-convert-rhel-5-to-centos-5/

OK that is a bit out of date and does not reference 64 bit
architectures.   Here is what I did


mkdir /root/centos
cd /root/centos
wget 
http://vault.centos.org/5.0/os/x86_64/CentOS/centos-release-5-0.0.el5.centos.2.x86_64.rpm
wget 
http://vault.centos.org/5.0/os/x86_64/CentOS/centos-release-notes-5.0.0-2.x86_64.rpm
rpm -e --nodeps redhat-release-notes redhat-release yum-rhn-plugin redhat-logos
rpm -ivh *.rpm
yum -y update


And it all looks good!






-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID card selection - JBOD mode / Linux RAID

2012-07-25 Thread Alan McKay
Thanks for the recommendations folks!

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID card selection - JBOD mode / Linux RAID

2012-07-25 Thread Alan McKay
On Thu, Jul 19, 2012 at 12:24 PM, David C. Miller
mille...@fusion.gat.com wrote:
 LSI 9200-8e

BTW, I read the specs on that and it says it is compatible with 6G and
3G SAS which hopefully means it will work with my Sun J4400 SAS1
shelf, right?

I like that it is a JBOD-only card - that is exactly what I want

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Manual OOM killing?

2012-07-25 Thread Alan McKay
Hey guys and gals,

Yesterday I had one of my scientists kill one of my servers when his
program ran amok and gobbled up all the memory, or forked too many
processes, or I'm just not exactly sure what to be honest.

Is there something I can run manually in cron to look for rampant
programs and kill them?   I know that may be hard to discern but I
could also include a list if known good programs not to kill, as
well as a list of known suspect user IDs

Anyone ever done this?  Searching the list on OOM does not bring up much.

thanks
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Manual OOM killing?

2012-07-25 Thread Alan McKay
Interesting stuff - thanks again guys.   Looks like I can get what I
need right here ...

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Manual OOM killing?

2012-07-25 Thread Alan McKay
On Wed, Jul 25, 2012 at 1:24 PM, Warren Young war...@etr-usa.com wrote:
 Go now, and kneel at the feet of the Bastard Operator From Hell
 (http://bofh.ntk.net/) to learn how to deal with such matters.

Well I was looking for my LART ... seem to have misplaced it over the years :-)

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RAID card selection - JBOD mode / Linux RAID

2012-07-19 Thread Alan McKay
On Wed, Jul 18, 2012 at 6:44 PM, SilverTip257 silvertip...@gmail.com wrote:
 That's going to really drag if you have to configure a RAID0 for all
 48 disks ... it'd be much easier if you could directly communicate
 with the drives.  I've set up at most five or six RAID0 devices on one
 host and it's not particularly enjoyable!

Well using the command line tools it is not bad at all - but my
question remains unanswered - how many logical devices can your card
have?  I've hit my limit at 24 but I have 48 drives.  So I need to
find a card that can do 48 logical devices.

thanks


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RAID card selection - JBOD mode / Linux RAID

2012-07-18 Thread Alan McKay
I don't think this is off topic since I want to use JBOD mode so that
Linux can do the RAID.  I'm going to hopefully run this in CentOS 5
and Ubuntu 12.04 on a Sunfire x2250

Hard to get answers I can trust out of vendors :-)

I have a Sun RAID card which I am pretty sure is LSI OEM.  It is a
3G/s SAS1 with 2 external connectors like the one on the right here :

http://www.cablesondemand.com/images/products/CS-SAS1MUKBCM.jpg

And I have 2 x Sun J4400 JBOD cabinets each with 24 disks.

If I buy a new card that is 6G/s SAS2 with the same connector, can I
connect my cabinets to it and have them work?  Even if they only work
at 3G/s I don't care.

I've also hit an issue with the number of logical devices allowed, and
am wondering whether this might be a HW, FW or SW limitation if anyone
knows.

I want to run everything in JBOD mode and let Linux do the RAID.   So
for the first cabinet I ran this command 24 times to create a logical
drive for each physical one

/usr/StorMan/arcconf create 1 logicaldrive max volume 0,X noprompt

Where X goes from 0 to 23

Went great, created /dev/sd[c-z] and I was able to use those with
mdadm to create 4 x RAID6 arrays and then a big RAID0 out of the 4 x
RAID6.  Works great!

Then I try to connect the 2nd cabinet and when I run the above arcconf
command it tells me there are already 24 logical devices, and this is
the max.

Anyone know whether that is HW, FW or SW?

Would a new card fix this problem?   Anyone know for sure of a card
with above connectors that has a JBOD mode that will support 48 drives
and expose them all to Linux?


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] official linux raid mailing list?

2012-06-21 Thread Alan McKay
Hey folks,

Google seems to bring up a few things and I was wondering if there
might be an official mailing list for linux RAID?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] official linux raid mailing list?

2012-06-21 Thread Alan McKay
On Thu, Jun 21, 2012 at 1:54 PM, Keith Keller
kkel...@wombat.san-francisco.ca.us wrote:
 If you are talking specifically about linux md RAID, the official list
 is here:

 http://vger.kernel.org/vger-lists.html#linux-raid

yes that is exactly what i was looking for - thanks!

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Dedup FS on 5.8

2012-05-25 Thread Alan McKay
Hey folks,

I have a 14TB disk array that I want to use for rsnapshot backups, and
am considering putting a dedup FS onto it.  I know I've got about a TB
of duplication, at least.  And it is not easy to remove manually.

Google lands me LessFS and SDFS as the prime candidates.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dedup FS on 5.8

2012-05-25 Thread Alan McKay
Whoops, sorry - looking for opinions and personal experiences


-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] biggest disk partition on 5.8?

2012-05-23 Thread Alan McKay
Hey folks,

I have a Sun J4400 SAS1 disk array with 24 x 1T drives in it connected
to a Sunfire x2250 running 5.8 ( 64 bit )

I used 'arcconf' to create a big RAID60 out of (see below).

But then I mount it and it is way too small
This should be about 20TB :

[root@solexa1 StorMan]# df -h /dev/sdb1
FilesystemSize  Used Avail Use% Mounted on
/dev/sdb1 186G   60M  176G   1% /mnt/J4400-1


Here is how I created it :

./arcconf create 1 logicaldrive name J4400-1-RAID60 max 60 0 0 0 1 0 2
0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0
18 0 19 0 20 0 21 0 22 0 23 noprompt

[root@solexa1 StorMan]# ./arcconf getconfig 1 ld
Controllers found: 1
--
Logical device information
--
Logical device number 0
  Logical device name  : J4400-1-RAID60
  RAID level   : 60 XOR
  Status of logical device : Impacted
  Size : 19066880 MB
  Stripe-unit size : 256 KB
  Read-cache mode  : Enabled
  Write-cache mode : Enabled (write-back)
  Write-cache setting  : Enabled (write-back)
when protected by battery
  Partitioned  : Yes
  Protected by Hot-Spare   : No
  Bootable : Yes
  Failed stripes   : No
  
  Logical device segment information
  
  Group 0, Segment 0   : Present (0,0) 9QJ3ZAYQ
  Group 0, Segment 1   : Present (0,1) 9QJ3ZP3Y
  Group 0, Segment 2   : Present (0,2) 9QJ3X7GR
  Group 0, Segment 3   : Present (0,3) 9QJ3XJQW
  Group 0, Segment 4   : Present (0,4) 9QJ3TPK2
  Group 0, Segment 5   : Present (0,5) 9QJ40PHP
  Group 0, Segment 6   : Present (0,6) GTE002PBHJEDBE
  Group 0, Segment 7   : Present (0,7) 9QJ3ZHE0
  Group 0, Segment 8   : Present (0,8) 9QJ3Z053
  Group 0, Segment 9   : Present (0,9) 9QJ3ZEX6
  Group 0, Segment 10  : Present (0,10) 9QJ33XGG
  Group 0, Segment 11  : Present (0,11) 9QJ3X88X
  Group 1, Segment 0   : Present (0,12) 9QJ3YLR2
  Group 1, Segment 1   : Present (0,13) GTE002PBHHNVZE
  Group 1, Segment 2   : Present (0,14) 9QJ3ZGM2
  Group 1, Segment 3   : Present (0,15) GTE002PBGP9VZE
  Group 1, Segment 4   : Present (0,16) 9QJ3ZB4X
  Group 1, Segment 5   : Present (0,17) 9QJ3ZAE0
  Group 1, Segment 6   : Present (0,18) 9QJ3Y8C8
  Group 1, Segment 7   : Present (0,19) GTE002PBH30GKE
  Group 1, Segment 8   : Present (0,20) GTE002PAKXKDPE
  Group 1, Segment 9   : Present (0,21) 9QJ3VXEL
  Group 1, Segment 10  : Present (0,22) 9QJ3W4W6
  Group 1, Segment 11  : Present (0,23) 9QJ3TPGR


Make 1 big partition :

sfdisk /dev/sdb EOF
,,L
EOF

[root@solexa1 StorMan]# sfdisk -l /dev/sdb

Disk /dev/sdb: 2430685 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start End   #cyls#blocks   Id  System
/dev/sdb1  0+  24540-  24541- 197124430   83  Linux
/dev/sdb2  0   -   0  00  Empty
/dev/sdb3  0   -   0  00  Empty
/dev/sdb4  0   -   0  00  Empty

And then make an ext4 filesystem on that :

[root@solexa1 StorMan]# mke4fs /dev/sdb1
mke4fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
12320768 inodes, 49281107 blocks
2464055 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
1504 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
   4096000, 7962624, 11239424, 2048, 23887872

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 30 mounts or
180 days, whichever comes first.  Use tune4fs -c or -i to override.

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org

Re: [CentOS] biggest disk partition on 5.8?

2012-05-23 Thread Alan McKay
Damn, should have checked the archives first (had been looking at
Centos and RHEL docs but no luck)

Looks like 16TB is the limit?


-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] pvcreate limitations on big disks?

2012-05-23 Thread Alan McKay
OK folks, I'm back at it again.  Instead of taking my J4400 ( 24 x 1T
disks) and making a big RAID60 out of it which Linux cannot make a
filesystem on, I'm created 4 x RAID6 which each are 3.64T

I then do :

sfdisk /dev/sd{b,c,d,e} EOF
,,8e
EOF

to make a big LVM partition on each one.

But then when I do :

pvcreate /dev/sd{b,c,d,e}1

and then

pvdisplay

It shows each one as only half its actual size.

But if I take the last one and wipe the partition table and just do
pvcreate on the entire disk, it works

pvcreate /dev/sde

And then if I take the results from that and use the size to force a
size on another PV I get it right too

pvcreate /dev/sdd1 --setphysicalvolumesize=3.64T

I'd use the entire disk expect that this seems dangerous to me because
you do sfdisk -l and the disk appears to have no partition table
which might entice someone to thing it is unused.
And I'm not sure whether it is safe to use setphysicalvolumesize.
Anyone know for sure?

What are my alternatives?


  /dev/sdb1 is a new physical volume of 1.64 TB
  --- NEW Physical volume ---
  PV Name   /dev/sdb1
  VG Name
  PV Size   1.64 TB
  Allocatable   NO
  PE Size (KByte)   0
  Total PE  0
  Free PE   0
  Allocated PE  0
  PV UUID   7bzxpQ-Md1o-Z73g-YzLX-xxj7-nszh-LucEFW

  /dev/sdc1 is a new physical volume of 1.64 TB
  --- NEW Physical volume ---
  PV Name   /dev/sdc1
  VG Name
  PV Size   1.64 TB
  Allocatable   NO
  PE Size (KByte)   0
  Total PE  0
  Free PE   0
  Allocated PE  0
  PV UUID   tlpJ6A-LPs1-NFbl-h1AZ-5aBX-yOuO-phcwWD

  /dev/sdd1 is a new physical volume of 3.64 TB
  --- NEW Physical volume ---
  PV Name   /dev/sdd1
  VG Name
  PV Size   3.64 TB
  Allocatable   NO
  PE Size (KByte)   0
  Total PE  0
  Free PE   0
  Allocated PE  0
  PV UUID   ifwmQQ-AOvK-Ke6L-2gEy-aJgJ-bb8d-DaJJDD

  /dev/sde is a new physical volume of 3.64 TB
  --- NEW Physical volume ---
  PV Name   /dev/sde
  VG Name
  PV Size   3.64 TB
  Allocatable   NO
  PE Size (KByte)   0
  Total PE  0
  Free PE   0
  Allocated PE  0
  PV UUID   VPptAS-CFul-Awe9-TI7E-W9jq-zVdx-1mJjDR

[root@solexa1 ~]#


-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] process accounting on 5.7

2012-03-29 Thread Alan McKay
On Mon, Mar 26, 2012 at 8:57 AM, John Doe jd...@yahoo.com wrote:


 Indeed, I looked too fast and missed the IDs...
 So, why not just something like this:
 dump-acct /var/account/pacct | awk -F\| '
 { total_cpu += $4; cpu[$5] += $4;
   total_ram += $7; ram[$5] += $7 }
 END { for (x in cpu) {
   print x int((cpu[x]*100)/total_cpu)%
 int((ram[x]*100)/total_ram)%; } } '
 Or just 'sa -m'?



Thanks, yeah I can definitely do that - just wanted to see if there was
something already out there which had a few bells and whistles.

But that raw data above should be good enough for my use


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] process accounting on 5.7

2012-03-22 Thread Alan McKay
On Tue, Mar 20, 2012 at 7:11 AM, John Doe jd...@yahoo.com wrote:

 From a quick look, it does not seem to have a user entry in the stats...


UID and GID are there

Anyone else have anything on this?


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] process accounting on 5.7

2012-03-19 Thread Alan McKay
Hey folks,

I turned on process accounting and had a peek at the man page for dump-acct
but I am still left wondering how best to make use of this info.

We want to be able to produce some monthly stats on which labs are using
how much of our clusters.I know our clustering software has the ability
to do this but unfortuantely not everyone uses the cluster commands as much
as I keep reminding them.

Would be nice to be able to show that user X used Y% of the CPU in a given
month.

I've been googling but not turning up much more than how to install psacct
and run the base commands.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] debugging RAM issues

2012-03-14 Thread Alan McKay
Well I did exactly what I'd done 3 months ago and found a faulty RAM chip
this time

My guess is that back then the chip was still functioning some of the time,
and happened to be fine just when I was doing the tests.

This time I found it fairly easily with a systematic approach.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mount NFS share over specific nic?

2012-03-14 Thread Alan McKay
I'd really recommend a different subnet for your disks

I'm currently in the process of trying to get my network there in the job I
just started 4 months ago

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] debugging RAM issues

2012-03-14 Thread Alan McKay
On Wed, Mar 14, 2012 at 3:16 PM, Les Mikesell lesmikes...@gmail.com wrote:

 If you were running software RAID1 on that box, don't trust anything
 on the drives now.   Maybe even if you weren't, but it is especially
 weird when alternate reads randomly revive bad data that you thought
 had been fixed already.


No worries, it is a disposable compute node and not even RAIDed.  In a
pinch I could reinstall from scratch and my network would not skip a
heartbeat

But thanks for the heads up - something to think about for my big iron
server :-)


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] debugging RAM issues

2012-03-13 Thread Alan McKay
Hey folks,

I have 1 system ( Sunfire x2250 running 5.7 ) that is having issues with
RAM, but I'm not sure how to debug it.   And unfortunately it is not under
support anymore.

I started the job about 4 months ago and when I came aboard the guy who
handed stuff over to me told me this issue was on his list of things he was
unable to get to yet.   He told me he'd seen errors in the past in the Sun
ILOM message log, but unfortuantely he did not record exactly what the
messages were.

Fast forward a bit and I've had problems with this machine.   Sometimes
when I reboot it, it just won't come up.  The console and everything just
go completely dead no matter what I do.  I unplug it for a while and try
again, same thing.  It seems to just randomly come back to life, and when
it does I see something in the ILOM log like this :

ID = f74 : 03/07/2012 : 19:17:42 : System Firmware Error : ACPI : No usable
system memory

So it seems to me that when it is having trouble, it is not seeing any RAM
at all.  And when it does come back up, Linux only sees half the RAM it is
supposed to see.

lshw sees all the RAM

The only errors I see in the ILOM logs are above.

I don't see anything in dmesg or /var/log/messages on the Linux side.

Back about 3 months ago I took this system down and removed all the RAM,
and stuck individual chips into it and booted it, testing each chip on its
own.   At that time every single one of them worked!   But I'm about to try
this again to see what happens.   Back then I also ran memtest86 for some
time and it seemed OK too.

Other than that I'm a bit stumped on how to get to the bottom of this.
 Tips?

I googled the error and got precisely 1 hit at a university high
performance computing center in Utah, so I dug up a contact there and
emailed them hoping they could tell me something, but I have not yet heard
back.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] debugging RAM issues

2012-03-13 Thread Alan McKay
On Tue, Mar 13, 2012 at 2:07 PM, Ross Walker rswwal...@gmail.com wrote:

 It could be a bad physical RAM slot on the motherboard.


Oh dang, why didn't I think of that!   I'll try that next



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] debugging RAM issues

2012-03-13 Thread Alan McKay
On Tue, Mar 13, 2012 at 2:15 PM, Scott Silva ssi...@sgvwater.com wrote:

 It could also be a power supply problem... Add memory load, and a bit of
 heat,
 and voltage drops a bit...



Problem is that even if I leave it unplugged for some time I can get the
problem.   And I have the heat sensors all graphed, and last time this
popped up its head last week the mobo was relatively cool according to the
heat graphs

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: Anyone out there using Openfreezer?

2012-02-15 Thread Alan McKay
If so, could I ask you a few questions?

I am in contact with their tech support as well but I think someone here
could be more helpful if they are using it.

My questions are technically OT for this list since it pertains to moving
from RHEL 5.7 to Ubuntu 11.11

Though it is really about Python / Apache config.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] schily tools

2012-02-06 Thread Alan McKay
Hey folks,

I'm reading up on gtar for tape archiving and it sounds kind of nasty and
not something I really want to rely on.

It looks like star from the schily tools is preferred.  I'm using Centos
(and RHEL) 5.7 which seems to have star but not sdd.

Which leads me to believe that the Schily tools are maybe a bit rogue

My basic requirement with what I'm doing is to use standard tools and
formats so that archives I write today can be readable in 10 years.

Is the use of Schily tools going to be contrary to my basic requirement?
Is that considered a risk for future readability?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] schily tools

2012-02-06 Thread Alan McKay
 Are you reading
 something that favors Solaris/*bsd over GNU based systems?

No, why, are the Schily tools standard over there?



 I've never had any doubts that current GNU tar would extract archives
 made with it 10+ years ago - in fact I'm fairly sure I've done that.
 Or that I'd be able to obtain a copy of it in the future.


Yeah, that is the plus side.  But it seems gtar is rather abysmal at
recovering from errors in archives so if there is ever a problem, you're
cooked.

Is there any truth to that?

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] schily tools

2012-02-06 Thread Alan McKay

 I don't think so - I'm fairly sure I've seen GNUtar complain about bad
 headers, say 'skipping to next header'  and then find something. It
 won't do that if you used the -z option because you generally can't
 recover from errors in compression


Bam!  As an aside to my current line of questioning, I was looking for an
excuse not to compress and you just gave it to me!  Yay!

Compressing makes it nigh impossible to know whether or not the data will
fit on the tape without doing a test compress ahead of time, which can take
several hours depending on the amount of data.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
Hey folks,

I looked at the man page and don't see any way to do this - maybe it is a
function of the compression program used I dunno.

Is there any way to get gtar to report on the compression it achieved?

I can't just check file sizes because I'm writing data to tape.

The basic problem is that I know how much data is there to begin with but I
don't know how much room it took up on the tape so I have no idea how much
room is left on the tape.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay

 There is a --totals option, but that is before compression.  I don't
 think there is a way to do it.


Dang.  THere is a tell command on mt which tells you what block number
you are on, but according to the man page only exists for some types of
drive.  And evidently not mine :-(

That would have worked with some simple math.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay

 Is there some reason you aren't using amanda?  Give it some holding
 disk space and it will run multiple backups at once, buffering on
 disk, and figure out how they should go on the tape for you.



I'm archiving, not backing up.

I looked at Amanda for a few days and it would be really clunky to do what
I want.

Anyway I found this :

[root@solexa-db tmp]# export GZIP=-v
[root@solexa-db tmp]# tar czf files.tar.gz file{1,2,3,4,5}
 98.4%

So I'm golden :-)


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay

 I haven't used it for a while, but I thought it had an indexing
 mechanism that would let you tell it what you want and it would tell
 you the tapes you need and the order to restore them (for full +
 incremental cases).  And it could re-index the tapes if you lost the
 disk copy.   Maybe that doesn't fit your use, but it seemed handy.


In general it is massive overkill for what Im doing.  Even if I wanted to
switch backup solutions and move my backups to Amanda it would not be
worthwhile to get this as an add-on because of the nature of the data I am
dealing with.

Case in point I have about 300G of data that one of the scientists copied
over to my server from a piece of scientific equipment.   That 300G was
never in my backups and I never want it to be.  But he needs it archived.

Amanda is just way, way too too big for this.

In 2 weeks I've got a program written that is tailored exactly to our
needs.  THat's probably less time than it would have taken me to deploy
Amanda.   And it would not have been tailored precisely to our needs.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
On Wed, Feb 1, 2012 at 11:32 AM, Les Mikesell lesmikes...@gmail.com wrote:

 'Deploying' amanda is a matter of installing the rpm and editing a
 couple of config files about the tape drive, tapes, targets, and
 holding space.  And maybe some firewall tweaking - but nothing really
 complicated.   You get a lot of coverage of 'real-world' problems
 already built in that will be hard to match in a new program, but you
 do have to think the way it does...



Well then I guess thinking the way it does is what I was having issues
with.
I did have trouble wrapping my head around it.   And after a fair bit of
googling (and if I'm not mistaken asking on this list) I really could find
no examples of a configuration as simple as the one I was looking for.

I'm happy where I am.   It is all very basic stuff (knock on wood - hee,
hee).  And I've got stuff that Amanda cannot possibly have since it is very
specific to our environment.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
On Wed, Feb 1, 2012 at 2:10 PM, Lamar Owen lo...@pari.edu wrote:

 What I would do is use the '-' special filename to pipe the uncompressed
 tar to stdout, pipe to the compressor of choice, then pipe to tee, and have
 one branch of the tee go to the tape and the other branch go to a program
 to count bytes.



The GZIP environment variable is working really well.  It tells me the
compression ratio and even send it to STDERR for me so I can easily
separate that from the gtar output.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: anyone out there with Oracle ZFS appliance?

2012-01-20 Thread Alan McKay
I'll ask more specific questions if so :-)

Need to pull some usage data via a script and Oracle suppport says it
can't be done.

I have trouble believing that.

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is Amanda vaulting what I need for archiving data?

2012-01-12 Thread Alan McKay
 For long term storage, you may need to be able to not just put stuff
 away, but also have a policy (and the resources!) to periodically
 migrate data to newer media  formats.


Yes, we've already begun this process - and we are taking into account the
sorts of issues you mentioned.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] EPEL not working ... is it just me?

2012-01-11 Thread Alan McKay
This is very strange - has been happening the last few days.   I just
upgraded this system from 5.3 to 5.7 on Monday and the problem started some
time after that (but not immediately because I know I used yum Monday
evening after the upgrade)

I get the following error from yum, but it goes away if I --disablerepo=epel

The funny thing is that the listed xml file I can easily wget from this
system.

Also having the issue with other 5.7 systems that were upgraded from 5.3
several weeks ago and had been working fine since.

I did some googling and found some things to try like yum clean all and I
even deleted the rpm database based on advice from one site, and then
rebuilt it from scratch.  But nothing.


[root@solexa-db varlog]# yum -y install hddtemp
Loaded plugins: downloadonly, rhnplugin, security
http://fedora.mirror.nexicom.net/epel/5/x86_64/repodata/repomd.xml: [Errno
4] IOError: urlopen error (111, 'Connection refused')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
epel. Please verify its path and try again


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EPEL not working ... is it just me?

2012-01-11 Thread Alan McKay

 You mean in the terminal on solexa-db you just issued the yum install
 in, you can issue as the next command
 wget http://fedora.mirror.nexicom.net/epel/5/x86_64/repodata/repomd.xml
  and it gets the xml file?


Yup, exactly



 As a quick temporary fix/test I would comment mirrorlist and uncomment
 baseurl in epel.repo and see if the yum command worked.


Yup, tried that


 BTW it seems solexa-db may be a RH machine instead of a CentOS machine.
 see the rhnplugin get loaded? Could that be a difference between the
 working and non working machines (granted I have not seen any problems
 with RH machines and epel)?


Yes it is RHEL.  I have a mixture of RHEL, CentOS and Scientific and tend
to treat them all the same - so sorry that it is technically OT for this
list.  But you guys (and gals) are just too good :-)


 I think it might be good to take this question over to epel-devel (AFAIK
 the appropriate list) and see if they can help figure out why you are
 having trouble with THEIR infrastructure.
 https://www.redhat.com/mailman/listinfo/epel-devel-list



I'll do that - thanks.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Is Amanda vaulting what I need for archiving data?

2012-01-11 Thread Alan McKay
Hi folks,

I've got a bit of a different scenario than I imagine most, and have spent
the last 60 or 90 minutes searching Amanda list archives and googling, but
did not come up with anything much.   Then I went browsing around the
Amanda website and found vaulting and was wondering whether this would
suit my needs.

I'm basically searching around for a backup solution and trying to decide
whether to use something off the shelf or just roll my own with gtar.  It
is important to me that my solution use standard tools like dump/restore /
gtar on the back end, which is how I ended up at Amanda.  In looking
through some of the initial configuration how-tos it seemed as though this
was massively over-complex for my application.  But then I hit upon
vaulting

http://wiki.zmanda.com/index.php/How_To:Copy_Data_from_Volume_to_Volume

This is not exactly my scenario, but maybe there is another way to roll a
vaulting solution to suit me.

Basically I work in a scientific research lab (stem cell research) where
the scientists produce a fair bit of raw data.   We want to periodically
take the data and archive it to tape and then remove it from disk and store
the tape in our archival facility.  We'd need a record of what is on each
tape of course.  But this would not be the same scenario as in the link
above because it would not be taking data from 2ndary to tertiary storage.
 It would essentially be taken from primary to tertiary directly.  i.e.
directly from disk to tape.   But not in an automated fashion like typical
nightly dumps.  On request, we'd take the scientist's data and copy it over
to our server that has the tape unit, then dump it out to tape, and remove
it from the disk there.   Once verified, we could tell the scientist it is
OK to remove their primary data now, and then we'd store the tape.

Is Amanda suited to this?  Or is there another application I should be
looking at?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is Amanda vaulting what I need for archiving data?

2012-01-11 Thread Alan McKay

 For one thing, I think you seriously need to look at backup up to offline
 hard drives, instead of tapes. Unless you really want/need to archive the
 tapes for seven years


Well, the scientists are talking longer than 7 years so HDs just are not
going to cut it


 We back up to backup servers, then, every couple of weeks, I run rsync
 backups (well, we have a locally-rolled system to run the rsync) onto
 offline drives - in our case, I swap large drives into an eSATA drive bay.
 When I'm done, they go in the fire safe.


That's what I'd prefer to do :-)




-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EPEL not working ... is it just me?

2012-01-11 Thread Alan McKay
Aha, I forgot about /etc/yum.conf and found an erroneous entry there that
has fixed my problem!


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: simple server room temp monitor

2012-01-11 Thread Alan McKay
I would not have it doing the alerting.

I'd have something poll it and graph the temp so you can see a good graph
of room temp over time.

And have that same something do the alerting.

But do your servers have sensors too?  You really need to monitor those as
well because there can be a huge difference in room temp and server temp,
and there is not always a good coorelation between them.

Munin is a good program for graphing and it has limited alerting that would
be sufficient for this.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] monitoring space in directories

2012-01-09 Thread Alan McKay

 That sounds good.
 Would you share the munin plugin later pls?
 I'm interested too.


Sure will.  This is not a top priority for me so I won't likely get to it
for another week or two, but once it is done I will share.


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] monitoring space in directories

2012-01-06 Thread Alan McKay
Hey folks,

Is there a Linux tool that will monitor a disk and tell me which
directories are growing over time?
I could cobble something together myself of course, but if there is already
a good off-the-shelf solution, why bother?

Even if it only checks once per day that would be fine.  Graphs would be
pretty too :-)

cheers,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] monitoring space in directories

2012-01-06 Thread Alan McKay

 Might be overkill but cacti or Nagios+PNP would do this...


PNP?  What's that ?   I already have Icinga installed.


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lm-sensors on Sun hardware

2011-12-23 Thread Alan McKay
On Thu, Dec 22, 2011 at 4:46 PM, John R Pierce pie...@hogranch.com wrote:

 don't those boxes have IPMI ?


So I installed OpenIPMI and freeipmi and when I get the output of
ipmi-sensors I have to say it cannot be accurate.  These are the same
numbers I was seeing from within the ILOM GUI and there is no way they are
accurate.  Two of the temp ones are showing 22C and 25C but my lm-sensors
on that machine is showing values in the high 30s, which has to be the
correct value judging by holding your hand next to the system.

I've got the ILOMs updated to the latest and greatest but I've not been
able to update the BIOS on these machines and they are not under support
anymore so I can't bug Oracle about  it :-(



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] lm-sensors on Sun hardware

2011-12-22 Thread Alan McKay
Hey guys and gals,

Anyone have any experience with getting lm-sensors to run on Sun hardware?

In particular Sunfire x2250 and x4170

I was running 5.3 on these boxes and sensors-detect would not find
anything.  I did a bit of research and as I recall thanks to this list
discovered some bugs that were affecting me, so upgraded to 5.7.  CPU temp
sensors were then detected, but no fan sensors.  At least on the x2250.
The x4170 still detects nothing.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lm-sensors on Sun hardware

2011-12-22 Thread Alan McKay

 don't those boxes have IPMI ?


H, the have an ILOM (monitoring hardware)

I'll look to see if there is a way to get what I need through there.
Though ultimately I'd like to get it from the linux side, maybe I can go
out the front door and in the back.

Is there a Linux tool for communicating with IPMI?  And is it easy to
configure?

Doing a yum search I see both OpenIPMI and FreeIPMI

Which should I pick?



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Heads up: corrupt ifup-eth script in initscripts package on 5.7

2011-12-21 Thread Alan McKay
What kind of weird things?

I just finally got several boxes upgraded from 5.3 to 5.7 and so far have
not seen anything odd.


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup Redux

2011-12-19 Thread Alan McKay
So going back to Amanda and Bacula ... I seem to recall that Amanda uses
standard tools on the back end like gtar and/or dump, is that right?

What does Bacula use?  Does it use one of the standard tools?  Or does it
have its own proprietary format that it uses?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
Hey folks,

Is there any way to fake a yum update just to get yum to force a download
of all the files it needs, without actually installing them.

I finally have a RPM cache/proxy working and I just want to populate it.
The server I want to actually update cannot be updated until tomorrow but
I'd like to do a fake update just to force the RPMs into my cache so they
will all be pre-downloaded.

I don't see anyway from the man page to do this.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay

 Why not just mirror the CentOS repo with rsync?


Well, for one - rsync is blocked by our firewall :-(  Yes, even outgoing.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
On Mon, Dec 19, 2011 at 12:02 PM, cliff here c4iff...@gmail.com wrote:

 Which is why you should use cobbler because it does all that for you.


I actually just installed cobbler a few weeks ago and will look into it for
this to see if it has a way to grab a repository without rsync

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay
On Mon, Dec 19, 2011 at 12:38 PM, cliff here c4iff...@gmail.com wrote:

 Alan, if your worried about keeping an up to date repository locally and
 consistently, then yes cobbler is the way to go. If all you want to do is
 an update and save off the RPMS once.. then use the yum download only
 plugin.


It will probably be a one-shot deal since I have a bunch of 5.3 machines
that I need to upgrade to 5.7

Though I just discovered that my squid proxy is not in fact working.  So
now I  have to go figure out why not :-(

I had already tried this one but it was not working, so decided to go with
squid
http://terrarum.net/administration/caching-rpms-with-automirror.html

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Squid to Cache RPMs from yum (was: forcing yum ...)

2011-12-19 Thread Alan McKay

 The default config won't cache large files.   And yum will try to use
 different mirrors every time.


Aha.  I thought I had it set for no file limit, but I guess using different
mirrors is what is confounding me.

So squid will cache a specific file from a specific site, I guess?  And
even if it tries to get the exact same file elsewhere, it will re-download
it afresh?





-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay

 I've got automirror working on my CentOS 5.x machines.  I can't say
 I'm a real expert with it, but if you post your symptoms maybe I can
 help you troubleshoot it.


Thanks but I've already been chatting with the author who is stumped at
this point - so I'm just going to give up.

He said he has found cases where automirror does not work and so he uses
polipo in those cases - so that is where I am off to now :-0

I have it working but there is this matter of yum choosing different
mirrors ...


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay

 Disable the mirrorlist line in the .repo file and point it at one
 specific mirror?


Yeah that is what I can do - should work

Though I'm thinking at this point my easiest solution will be to take my
laptop home and rsync an entire repo to it, then take it back and rsync it
to my server.   Ugly but should work.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Squid to Cache RPMs from yum (was: forcing yum ...)

2011-12-19 Thread Alan McKay

 Yes, the default setup really goes out of its way to defeat any
 standard caching proxies and make the mirrors do extra work, although
 once you accumulate the copies from 5 or 6 sources everything will
 work like you expect.  That used to bother me but now the mirrors seem
 to be insanely fast so if your own connection is good it just doesn't
 matter.


Part of my problem is that my own connection is absolutely terrible.

Anyway, I'll figure something out.  What I'll probably end up doing is
taking my laptop home and rsycing a mirror to it, then taking it back into
work and shooting that over to my server.

Though just for giggles I'm going to try to get central IT to unblock rsync
for me :-)


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay

 That is one advantage of the way automirror worked, since it was
 specific to yum it didn't mind the mirror configuration.


Yes, would be nice if it worked for me :-(


 One way around the mirror list issue is pointed out by Guru labs
 (though I admit hijacking the DNS seems heavy handed)

 http://www.gurulabs.com/goodies/guru-guides/YUM-automatic-local-mirror/



I'll look at it.  I just installed the yum-downloadonly on one box and am
starting the upgrade with that flag enabled.

Then I suppose I can mount the cache directory on other servers before
updating them and I should be golden

Given that I've only got 5 or 6 boxes to do it should not be a major
problem.

But I'll look at the link above as well

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] forcing yum to download but not install

2011-12-19 Thread Alan McKay

 http://www.gurulabs.com/goodies/guru-guides/YUM-automatic-local-mirror/



oh man, that is one nasty, dirty hack!

I'm jealous I did not think of it myself :-)


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Monitoring services

2011-12-17 Thread Alan McKay
  Do Zabbix or Zenoss allow for this sort of testing that Nagios has?

 yes.



OK, thanks.  I'll dig more into passive checks

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Monitoring services

2011-12-16 Thread Alan McKay
OK, I've had a Zabbix and a Zenoss server running now for 2 or 3 days and
would like to morph this thread into a discussion of what each of these
systems can and cannot do.

At the base of what I see so far, Zabbix is only able to monitor devices
that have the Zabbix agent on it - is that correct?

On the one hand I like having an agent on the remove device since it allows
you to have functionality that is more purpose-driven to what we are trying
to do.   On the other hand, what above devices that cannot run the agent?
 e.g. monitoring switches and routers.  Though to counter my own concern -
those are the sorts of things that are either up or down anyway and Im not
sure that they can be monitored per-se outside of that.  Sure you can
graph their traffic and so forth, but is any monitoring software able to
actually say there is a potential problem with your router or switch?
 Other than your device is now down which is pretty easy to figure out
anyway without monitoring software since just about anything connected to
it is going to start throwing alarms once it is down.

Zenoss seems to let you monitor anything via SNMP which may not necessarily
be as purpose-driven as having an agent, but it does allow you to monitor
just about anything under the sun since pretty much everything supports
SNMP.  On the upside, getting this ste up has forced me to do some reading
on configuring net-snmp on Linux and I've gotten that working and it could
turn out to be useful elsewhere even if I do not choose Zenoss

As for the dashboard and general web interface, configuring things, viewing
things and so on, both of them seem to be pretty easy to set up and use.
I find the Zabbix interface a little more useful, with better default
graphs and so on.

But I'm still left wondering whether I should fall back to Nagios.  One
very nice thing about Nagios is that you can do some really fine-grained
tests on systems to determine whether or not it is currently working.  Like
you can log in to an FTP server and test for a specific file or something
like that.  You are always testing from the outside which may have its
downsides too, but it has a lot of upsides because that's how users view
the boxes anyway - from the outside.

Do Zabbix or Zenoss allow for this sort of testing that Nagios has?

Incidentally I also looked at OpenNMS which has a live demo online - I
don't like the dashboard and basic functionality as much as Zabbix or
Zenoss.  And since I did not set it up myself nor configure it, I cannot
comment on that.

I am also looking at Icinga which is a fork of Nagios but seems to have
gone in a very different direction after the fork.  They have a live demo
on their site as well.  I have not dug much into this yet so cannot comment
on how I like.

Thoughts form anyone on any of this?


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Monitoring services

2011-12-16 Thread Alan McKay
  Thoughts form anyone on any of this?

 Network monitoring is not trivial no matter what tool you use.  Pick
 something that you trust to scale to the proportions you will need so
 you don't do a lot of work and then hit a wall.   And if you have a
 lot of systems, avoid anything that needs per-system configuration or
 agent installation.


Agreed.  I'm definitely not looking for trivial - just trying to make sure
I understand the strengths and weaknesses of each system to help me make
the right decision.  Because once I've made that decision, I have to live
with it :-)   Our environment is relatively small.  About 80 servers that
are mostly grouped into 3 compute clusters for the scientists I support.  A
few switches, and no routers under my direct control (though a few Linux
boxes routing between NICs since some of the environment is on our own
private LAN behind said Linux box, cut off from the Hospital's network)

cheers,
-Alan


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup Redux

2011-12-16 Thread Alan McKay
OK, I'm getting ready to finally dig into replacing our backups.  Lots of
good info in this thread -but so far no mention of rsnapshot

Any comment on it ?   Our environment is all Linux except for Mac desktops
which would like have a different solution for backups.

From the little I've read it seems to be very similar to BackupPC.  Though
based on the name I guess it is using LVM snapshots?  Which of course means
almost instantaneous backups - attractive.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Monitoring services

2011-12-13 Thread Alan McKay
I am just trying out Zabbix and I have to say it sure is easy to set
up (once you get beyond a few minor quirks).   I'm pretty impressed so
far with my evaluation.

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] auto-creating a local yum cache?

2011-12-12 Thread Alan McKay
Hey folks,

I just did an update on a system that is taking the better part of a day (
5.3 --- 5.7 ) mainly due to file download times.

And I have 4 or 5 more systems to do.

I know I can create my own repository and then point them at it - but that
is difficult here because rsync is blocked (ggrr...)

Surely there must be a way to have yum on the first box automatically cache
everything and then have the other boxes use the cache?   Maybe if not
directly, then with squid or something like that?

Anyone happen to have done this before?

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] auto-creating a local yum cache?

2011-12-12 Thread Alan McKay
 For CentOS 5 I've used automirror (
 http://terrarum.net/administration/caching-rpms-with-automirror.html), but
 it has a note that it doesn't work with CentOS 6. I have tries what that
 page suggests as a replacement.


Bingo!  That's exactly what I need!

Thanks!


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iSCSI best practices

2011-12-10 Thread Alan McKay
 The Dell 6224 or 6248 switches are priced low

Hmmm, we seem to have different definitions of priced low :-)

http://search.dell.com/results.aspx?s=bsdc=cal=encs=cabsdt1k=PowerConnect+6224cat=allx=0y=0

$2000 for the 24 port.

I can get a Cisco small business switch for less than 1/4 that.
Speaking of which, would this one be OK for iSCSI?

http://www.shoprbc.com/ca/shop/product_details.php?pid=71436


-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iSCSI best practices

2011-12-10 Thread Alan McKay

 LOL! Cisco.  If I told you that that particular device used to be called
 Linksys, would it change your opinion of the device?  I've got a Linksys
 ADSL gateway that I'm quite sure couldn't keep up with the Dell.  In fact,
 I used to have that *exact* Linksys device and it died within 18 months and
 it's performance sucked!



Yes I know it is LinkSys - we used them at my old job and yeah we had one
die but the price was worth it.  I am mainly concerned with the speed of
the thing and managability.My current job is a lot less sensitive to
outages than my last one, as well.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iSCSI best practices

2011-12-09 Thread Alan McKay
Hey folks,

I had some general questions and when reading through the list archives I
came across an iSCSI discussion back in February where a couple of
individuals were going back and forth about drafting up a best practices
doc and putting it into a wiki.   Did that ever happen?And if so, where
is it?

Now my questions :
We are not using iSCIS yet at work but I see a few places where it would be
useful e.g. a number of heavy-use NFS mounts (from my ZFS appliance) that I
believe would be slightly more efficient if I converted them to iSCSI.   I
also want to introduce some virtual machines which I think would work out
best if I created iSCSI drives for them back on my Oracle/Sun ZFS appliance.

I mentioned iSCSI to the guy whose work I have taken over here so that he
can concentrate on his real job, and when I mentioned that we should have a
separate switch so that all iSCSI traffic is on it's own switch, he balked
and said something like it is a switched network, it should not matter.
 But that does not sit right with me - the little bit I've read about iSCSI
in the past always stresses that you should have it on its own network.

So 2 questions :
- how important is it to have it on its own network?
- is it OK to use an unmanaged switch (as long as it is Gigabit), or are
there some features of a managed switch that are desirable/required with
iSCSI?

thanks,
-Alan


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Backup Redux

2011-12-08 Thread Alan McKay
Hey folks,

I just went through the archives to see what people are doing for backups,
and here is what I found :
- amanda
- bacula
- BackupPC
- FreeNAS

Here is my situation : we have pretty much all Sun hardware with a Sun
StorageTek SL24 tape unit backing it all up.  OSes are a combination of
RHEL and CentOS.  The software we are using is EMC

NetWorker Management Console version 3.5.1.Build.269
based on NetWorker version 7.5.1.Build.269

The pickle we are in right now is that this software is Java based, and
stops working at a very specific release of JRE (1.6.26 or something like
that).  We still have some machines around with that release and it looks
like we need to keep at least 1 of them, but this is clearly not a long
term viable solution.

In the end I want to get our central IT group to take over our backups if
possible (we are a bit of an island outside of central IT), but as I pursue
that path I also want to pursue a 2ndary path assuming they will say no.

I am familiar with BackupPC and will look at the other recommendations
above.  I think that Bacula and Amanda are sort of the drop-in replacements
for what we have now so I'll look at them most closely.   But if I do have
to carry forward with our own backups I'd ideally like to get out of the
tape game - never liked tapes.

Anyway, since the last big backup discussion was over a year ago I figured
I'd kick off another one to see if anything new has come up in the mean
time.

What are the current recommendations?

cheers,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup Redux

2011-12-08 Thread Alan McKay

  I'm pretty sure I saw a note on the networker list that 7.6 SP3 works
  with update 27, update 29, and java 7.


Well we don't have a support contract - is it a free upgrade?


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup Redux

2011-12-08 Thread Alan McKay
Anyone have any experience with this, which just came to my attention

http://www.arkeia.com/en/solutions/open-source-solutions

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup Redux

2011-12-08 Thread Alan McKay
 I use backuppc, but find that in order to restore one has to be or know
 the admin user password.
 There appears to be no way to open this up to users to directly see and
 restore from the file tree that it manages.


Huh?  No.  Users can do their own restores from the web interface without
root access.  I think you need to go back and read the fine manual a bit
more :-)   There is definitely a way to set up users on there though.  I
have a fair bit of experience with BackupPC (great software)



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ZFS magic (was: Backup Redux)

2011-12-08 Thread Alan McKay
 My non-tape solution of choice is definitely rsync = box with ZFS,
 snapshot however often you'd like. = forever incrementals.

 For more redundancy and performance, add more ZFS boxes, do
 replication between them.



Not sure whether ZFS now makes this OT - if so, sorry for not putting OT:
in the subject.

Anyway, I have a ZFS storage unit here and this is my first exposure to it
so I don't really know about any of this ZFS magic that I often hear about.
  I'm sure I could google and find some reading on the matter but am
wondering if anyone has some recommended reading that is concise and to the
point, and will give me a good intro.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] JNLP app problems

2011-12-07 Thread Alan McKay
Anyone?  Anyone?  Buehler?

Fortunately in one instance I am having the problem on an Oracle/Sun system
that I have under support, and so I logged a call with them.  They told me
to ensure I am running  JRE 1.5 or better, and of course I had not been.
 So I installed JR 1.7 (latest) from their RPMs, and then followed the
instructions here :
http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html

To create a link in my .mozilla/plugins directory :

[amckay@solexa-db ~]$ ls -al !$
ls -al .mozilla/plugins/
total 7
drwxr-xr-x+ 2 amckay amckay  3 Dec  7 13:14 .
drwxr-xr-x+ 5 amckay amckay  5 Nov 16 09:25 ..
lrwxrwxrwx  1 amckay amckay 43 Dec  7 13:14 libnpjp2.so -
/usr/java/jre1.7.0_01/lib/amd64/libnpjp2.so
[amckay@solexa-db ~]$ pwd
/home/amckay
[amckay@solexa-db ~]$

And then I restart Firefox and check the installed plugins that it thinks
it has, and sure enough it has that one running.  But still I go to a JNLP
app and get only XML, no app.

Anyone?


On Thu, Dec 1, 2011 at 2:25 PM, Alan McKay alan.mc...@gmail.com wrote:

 Hey folks,

 I'm trying to use a 5.3 box to run some JNLP apps, but all I get is a
 view of XML.

 I try doing some googling and don't come up with much other than this
 one thread that says I may need both 32 and 64 bit Java to run JNLP.
 But it is not clear to me how to do that.

 thanks,
 -Alan

 --
 “Don't eat anything you've ever seen advertised on TV”
  - Michael Pollan, author of In Defense of Food




-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] JNLP app problems

2011-12-07 Thread Alan McKay
That did the trick - thanks so much!

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strangely slow disk

2011-12-04 Thread Alan McKay
Those are slowish times even for a 7200rpm disk.   My desktop here at
home (Ubuntu) has a slow 7200 drive and hdparam reports a lot faster
than that.   Well, it is a Caviar Green drive which means that 7200
is the fastest speed but it does spin slower too.

amckay@amckay-desktop:~$ sudo !!
sudo hdparm -t /dev/sda
[sudo] password for amckay:

/dev/sda:
 Timing buffered disk reads: 244 MB in  3.01 seconds =  81.10 MB/sec
amckay@amckay-desktop:~$




-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strangely slow disk

2011-12-04 Thread Alan McKay
You have not said anything yet in this thread about defragging that drive.

I just checked your original message and your drive is the exact same
as mine except yours is the 1.5 TB version and mine is 1.0.

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strangely slow disk

2011-12-04 Thread Alan McKay
Also - boot a live Linux CD and then from there do hdparam again and
compare results,   If they differ vastly at least you know it is
something in your running system which is the culprit.  If they are
roughly the same then it is likely the drive gone bad.  Though check
the man page for hdparam to see if disk fragmentation will affect the
results it gives.


-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to make nodes in my local LAN see each other's names

2011-12-02 Thread Alan McKay
My Ubuntu desktop at home seems to show up to windows boxes on the
home lan and vice-versa, without me having to do anything to configure
it.

Something I've done in the past in small office situations is set up a
DNS server that knows the names of all the local machines and then
proxies off to a real DNS server for anything else.  Works really well
actually and does not have to have a real domain to manage.  YOu
just have to make sure all the boxes on the LAN use it as a DNS
server.


-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] JNLP app problems

2011-12-01 Thread Alan McKay
Hey folks,

I'm trying to use a 5.3 box to run some JNLP apps, but all I get is a
view of XML.

I try doing some googling and don't come up with much other than this
one thread that says I may need both 32 and 64 bit Java to run JNLP.
But it is not clear to me how to do that.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] JNLP app problems

2011-12-01 Thread Alan McKay
Oh sorry, Firefox on 5.3




-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] checking package versions in various releases

2011-11-30 Thread Alan McKay
Hey folks,

I am sure there must be an easy way to do this.

I am currently running 5.3 and yum info db4 tells me that they have
version 4.3.29.

Is that telling me that this is the version in 5.3?  Or that this is
the latest version in the 5.x stream?

If the former, then how do I find out what release of the db4 software
(sleepcat berkeley db) is in 5.7?

I don't want to yum upgrade just yet.  I have to research a number
of things before upgrading, and this is one of them.

thanks,
-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   3   4   >