Re: [CentOS] httpd reverse proxy

2008-05-05 Thread Stephen Harris
On Mon, May 05, 2008 at 03:14:35PM -0700, Craig White wrote: On Mon, 2008-05-05 at 17:08 -0500, Les Mikesell wrote: Craig White wrote: VirtualHost www.tobyhouse.com:* ProxyPass / http://cms.tobyhouse.com ProxyPassReverse / http://cms.tobyhouse.com /VirtualHost That should

Re: [CentOS] COBOL

2008-05-21 Thread Stephen Harris
On Wed, May 21, 2008 at 01:47:09PM -0500, Michael wrote: pay me to do just that. I have a client that wants to use Centos Linux with Fujistu Cobol, and Fujitsu says it's gotta be Red Hat, any help will much appreciated. Have the client buy ONE RedHat license so that if they do ever have an

Re: [CentOS] sed

2008-05-23 Thread Stephen Harris
On Fri, May 23, 2008 at 06:02:29PM +0200, Mihai T. Lazarescu wrote: On Fri, May 23, 2008 at 08:41:19AM -0700, Scott McClanahan wrote: 1.1.1.1foo 10.10.10.10bar bar2 100.100.100.100foobar foobar2 foobar3 == After == 1.1.1.1foo.contoso.com 10.10.10.10

Re: [CentOS] sed

2008-05-23 Thread Stephen Harris
On Fri, May 23, 2008 at 06:59:24PM +0200, Thomas Johansson wrote: Stephen Harris wrote: sed 's/^\([^]*[ ]*[^]*\)\([ ]*.*\)$/\1.contoso.com\2/' (where there's a space *and* a TAB inside each of the [ ] ) The above version easier to read and copy paste. Space is space

Re: [CentOS] Booting Diskless Workstations

2008-06-02 Thread Stephen Harris
1. Should I just do iSCSI backed diskless setups? Probably doesn't scale well. What's wrong with NFS? You can even have root on NFS these days A quick google found: http://www.digitalpeer.com/id/linuxnfs My first thought: Install a workstation as normal, then tar/untar them onto the NFS

Re: [CentOS] Booting Diskless Workstations

2008-06-02 Thread Stephen Harris
On Mon, Jun 02, 2008 at 03:47:04PM -0600, Joseph L. Casale wrote: What's wrong with NFS? You can even have root on NFS these days A quick google found: http://www.digitalpeer.com/id/linuxnfs Nothing actually, just no experience with it. What is the performance like of NFS? Given good

Re: [CentOS] Booting Diskless Workstations

2008-06-02 Thread Stephen Harris
On Mon, Jun 02, 2008 at 08:17:20PM -0600, Joseph L. Casale wrote: The key is mostly sufficient memory so that the machine doesn't swap and can keep commonly accessed programs in I/O cache. If the clients had lots of ram (=2Gb), can I disable the swap file altogether? Yup! (That's also

Re: [CentOS] sendmail not sending after reboot UPDATE

2008-06-09 Thread Stephen Harris
On Mon, Jun 09, 2008 at 04:46:47PM -0400, Ray Leventhal wrote: DNS. It's always DNS :-) While I agree, I'm still a bit stumped. Nothing changed other than a reboot on Sunday afternoon. I do have Friday's rsync snapshot and running diff against the sendmail files (cf/mc) as well as hosts,

Re: [CentOS] mdadm on reboot

2008-06-16 Thread Stephen Harris
On Mon, Jun 16, 2008 at 07:02:17AM -0600, drew einhorn wrote: On Mon, Jun 16, 2008 at 12:09 AM, Les Mikesell [EMAIL PROTECTED] Is the partition type set to FD? That's the problem, but now I'm having trouble fixing it. md1 has a single partitions md1p1 [EMAIL PROTECTED] ~]$ sudo

[CentOS] Bug in dhclient-script for ntp.conf in Centos 5?

2008-06-17 Thread Stephen Harris
I dunno if this is upstream or not since I don't have any RHEL5 % rpm -qf /sbin/dhclient-script dhclient-3.0.5-7.el5 This section of code appears to have a bug (around line 411) elif [ -n $new_ntp_servers ] [ -e /etc/ntp.conf ]; then save_previous /etc/ntp.conf

Re: [CentOS] Re: custom kernel cant find label /

2008-06-18 Thread Stephen Harris
On Wed, Jun 18, 2008 at 06:43:53PM +0100, Karanbir Singh wrote: Jerry Geis wrote: I have not changed the line to try root=/dev/sda1 as I was trying to make it work the same way. That might be worth trying, its a simple hack and it will tell you if your kernel even boots or not. Also,

Re: [CentOS] Re: A couple of security questions

2008-06-20 Thread Stephen Harris
On Fri, Jun 20, 2008 at 11:13:39AM -0700, Scott Silva wrote: on 6-20-2008 12:41 AM Luigi Perroti spake the following: Hello, I'd like to ask a couple of things: 1) I would like to move from Debian to CentOS. One thing I will probably miss is the debsecan tool. This utility sends me a mail

Re: [CentOS] Awk help

2008-06-23 Thread Stephen Harris
On Mon, Jun 23, 2008 at 11:25:45AM -0600, Joseph L. Casale wrote: I have csvde dump from active directory I process on my postfix mta. It takes output like this: CN=Curtis xxx,OU=Domain Users,OU=xxx xxx,DC=xxx-xxx,DC=local,X400:c=US\;a= \;p=xxx xxx

Re: [CentOS] Wheel and YUM!!

2008-06-27 Thread Stephen Harris
On Fri, Jun 27, 2008 at 10:17:22AM -0400, Jason Pyeron wrote: jpyeron ALL=(ALL) NOPASSWD: ALL ## allows user jpyeron logged in from ALL locations to act as ALL users without Not logged in _from_ all locations; logged in _to_ all machines which have that sudoers file. eg jpyeron A=(root)

Re: [CentOS] Wheel and YUM!!

2008-06-27 Thread Stephen Harris
On Fri, Jun 27, 2008 at 10:34:46AM -0400, Jason Pyeron wrote: [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Harris This allows you to have one centrally controlled sudoers file but have machine specific privileges. Hmmm, I don't see it in /etc/nsswitch.conf. By central you mean

Re: [CentOS] system-auth.rpmnew

2008-06-30 Thread Stephen Harris
On Mon, Jun 30, 2008 at 08:54:29AM -0400, Toby Bluhm wrote: ls -als /etc/pam.d/system-auth* 4 lrwxrwxrwx 1 root root 14 May 10 2007 /etc/pam.d/system-auth - system-auth-ac 8 -rw-r--r-- 1 root root 848 May 10 2007 /etc/pam.d/system-auth-ac system-auth-ac is the results of running

Re: [CentOS] why yum cannot find lighttpd?

2008-06-30 Thread Stephen Harris
On Tue, Jul 01, 2008 at 11:55:21AM +1000, hce wrote: I tried to install lighttpd in CentOS 5.2, but yum list lighttpd returned an error of no matching packages to list. Should it be You need to configure rpmforge or another repo for this; it's not part of the core OS. Name : lighttpd Arch

Re: [CentOS] Running shell scripts from external media

2008-07-03 Thread Stephen Harris
As 'root', when running a script resident on the external drive mounted at /media/disk I receive the following error: /bin/sh: bad interpreter: Permission denied Are you sure the script isn't in DOS format, with CRLF line endings? If so then the interpreter it's trying to run is actually

Re: [CentOS] mkdep vs. makedepend

2008-07-04 Thread Stephen Harris
One of my assignments is to bring this up to CentOS, but on my first effort, I ran into this interesting feature. The original build process (FC1) uses mkdep to generate the dependency files that are My FC2 system doesn't have a mkdep command. Can someone enlighten me on this, particularly

Re: [CentOS] rsh problems in CentOS 5.2 (was cvs command failure on 5.2)

2008-07-07 Thread Stephen Harris
On Mon, Jul 07, 2008 at 11:53:42AM -0700, MHR wrote: $ rsh khan ls connect to address 10.24.15.48 port 544: Connection refused Trying krb4 rsh... connect to address 10.24.15.48 port 544: Connection refused trying normal rsh (/usr/bin/rsh) poll: protocol failure in circuit setup This

Re: [CentOS] rsh problems in CentOS 5.2 (was cvs command failure on 5.2)

2008-07-07 Thread Stephen Harris
On Mon, Jul 07, 2008 at 01:45:25PM -0700, MHR wrote: [EMAIL PROTECTED] lane]$ rsh khan ls poll: protocol failure in circuit setup Are you sure there are no firewalls in place that could be blocking access? Note that rsh machine really calls rlogin machine and so talks on a different port (port

Re: [CentOS] rsh problems in CentOS 5.2 (was cvs command failure on 5.2)

2008-07-07 Thread Stephen Harris
On Mon, Jul 07, 2008 at 03:28:00PM -0700, MHR wrote: On Mon, Jul 7, 2008 at 3:04 PM, William L. Maltby If so, are hosts.deny and hosts.allow setup good? I suspect They're fine. In fact, sushi is in khan's /etc/hosts file explicitly, and khan thinks it's on ocroads.com: hosts.allow and

Re: [CentOS] rsh problems in CentOS 5.2 (was cvs command failure on 5.2)

2008-07-07 Thread Stephen Harris
On Mon, Jul 07, 2008 at 03:21:04PM -0700, MHR wrote: What's strange (to me) about this is that I can ping and ssh to sushi *grin* switch to using ssh for your CVS connections then and bypass the whole issue. rsh is insecure, anyway! -- rgds Stephen

Re: [CentOS] rsh problems in CentOS 5.2 (was cvs command failure on 5.2)

2008-07-07 Thread Stephen Harris
On Mon, Jul 07, 2008 at 04:00:33PM -0700, MHR wrote: On Mon, Jul 7, 2008 at 3:33 PM, Stephen Harris [EMAIL PROTECTED] wrote: *grin* switch to using ssh for your CVS connections then and bypass the whole issue. rsh is insecure, anyway! Yeah, but there are problems with that approach. I

Re: [CentOS] Shell Script Question

2008-07-09 Thread Stephen Harris
What's the simplest way to increment the number up by one until some other 4 digit number while preserving leading zero's until the 1000's has a digit other than 0? Lots of answers, depending on the shell. I like this version for ksh: typeset -Z4 a=-1 while (( a++ 1000 )) do

Re: [CentOS] crontab for nobody

2008-07-20 Thread Stephen Harris
On Sun, Jul 20, 2008 at 07:18:05PM +0100, Anne Wilson wrote: On Sunday 20 July 2008 17:44:23 Bill Campbell wrote: Does anything show up with ``find /var/spool/cron -type f''? /var/spool/cron/apache /var/spool/cron/rpc [43 more lines deleted] Wow, looks like somebody or something has

Re: [CentOS] crontab for nobody

2008-07-20 Thread Stephen Harris
On Sun, Jul 20, 2008 at 10:04:00PM +0100, Anne Wilson wrote: On Sunday 20 July 2008 21:23:52 Stephen Harris wrote: What does find /var/spool/cron -type f ! -size 0 show? Does that mean 'not = size 0'? not (size = 0), but yeah. /var/spool/cron/anne /var/spool/cron/root /var/spool

Re: [CentOS] Hardware serial number access from (a) command(s)

2008-07-28 Thread Stephen Harris
On Mon, Jul 28, 2008 at 11:26:30AM -0700, MHR wrote: Over the weekend, I had to make a technical support call on one of my DVD burners, and at one point the recorded message mentioned I should have my serial number handy. I thought there was a way to read that from at least one piece of

Re: [CentOS] restore

2008-07-29 Thread Stephen Harris
On Tue, Jul 29, 2008 at 05:19:46PM +0200, Mad Unix wrote: - The control files has been transfered from AIX5.3 to a Linux Machine !! This is an Oracle issue and not a CentOS issue. Please note that, typically, Oracle binary files are not portable between hardware and OS platforms. When I used

Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Stephen Harris
On Mon, Aug 11, 2008 at 11:05:58AM +0200, Theo Band wrote: I actually have problems that passwords don't get updated. I noticed that by changing the home directory in /etc/passwd. When I change that from /home/user to /nobackup/home/user it does work with ypcat passwd (I see the correct

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Stephen Harris
Is there a flag for the df command to get the total disk space used on all filesystems as one number? I have a server with a lot of mounted shares. I'm looking for a simple way to measure rate of data growth across all shares as one total value. Not directly, but you can add up all the

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Stephen Harris
On Mon, Aug 11, 2008 at 12:07:09PM -0700, Aleksey Tsalolikhin wrote: value. I suggest using the -P switch to df, so you don't have to deal with multi-line output per filesystem. Ugh, hasn't RedHat fixed that? Sun have (for a long time) automatically done this if stdout is not a terminal.

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Stephen Harris
On Thu, Aug 14, 2008 at 01:12:58AM -0700, MHR wrote: On Wed, Aug 13, 2008 at 8:56 PM, Lunix1618 [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ~]# df -kPl Filesystem 1024-blocks Used Available Capacity Mounted on /dev/mapper/VolGroup00-LogVol00 274405432 18584656 241656808

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Stephen Harris
On Thu, Aug 14, 2008 at 09:34:35PM +0700, Lunix1618 wrote: Stephen Harris wrote: 18167 Mb used But the whole system used only 18 MB ? That's not true. *blink* That's 18167 Mbytes reported there (or 18Gbytes). Which is correct. -- rgds Stephen

Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-14 Thread Stephen Harris
On Thu, Aug 14, 2008 at 03:23:24PM -0700, Nifty Cluster Mitch wrote: On Thu, Aug 14, 2008 at 02:45:43PM -0700, MHR wrote: On Thu, Aug 14, 2008 at 2:36 PM, Nifty Cluster Mitch $ cat /tmp/checkspace #!/bin/bash df -Pkl /tmp/checkingdiskspce echo -e \nInput is: cat

[CentOS] Confusing output from pvdisplay

2008-08-17 Thread Stephen Harris
/dev/md3 is a raid5 array consisting of 4*500Gb disks pvs and pvscan both display good info: % pvscan | grep /dev/md3 PV /dev/md3 VG RaidDisk lvm2 [1.36 TB / 0free] % pvs /dev/md3 PV VG Fmt Attr PSize PFree /dev/md3 RaidDisk lvm2 a- 1.36T0 But

Re: [CentOS] Disabling IPv4

2008-08-19 Thread Stephen Harris
On Tue, Aug 19, 2008 at 09:09:21AM -0400, Robert Moskowitz wrote: kernel: NET: Registered protocol family 2 Hey, wait a minute, I have in my /etc/modprobe.conf: alias net-pf-2 off WHAT GIVES HERE It's probably compiled into the kernel directly and not as a module. -- rgds Stephen

Re: [CentOS] What fires logrotate

2008-08-21 Thread Stephen Harris
On Thu, Aug 21, 2008 at 11:06:19AM -0700, Al Sparks wrote: I've been taking a look at how RedHat (and CentOS) handles logrotate. According to the man page, logrotate is supposed to be fired by cron. But when I look at root's crontab $ sudo crontab lu root no crontab for root See

Re: [CentOS] awk help

2010-12-01 Thread Stephen Harris
On Thu, Dec 02, 2010 at 08:19:51AM +0800, Christopher Chan wrote: It does not. I don't know why the OP is even trying to do it this way. My guess: school work. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] IPV4 is nearly depleted, are you ready for IPV6?

2010-12-05 Thread Stephen Harris
On Sun, Dec 05, 2010 at 08:21:49AM -0500, Tom H wrote: I think that site-local (fec0:: - fef::) is the ipv6 more-or-less-equivalent of ipv4 private addresses. fec0::/48 is site local; it'll never be routed to the internet. I found http://www.litech.org/~jeff/private/ipv6primer/html/ very

Re: [CentOS] bash increment in a given way

2010-12-11 Thread Stephen Harris
On Sat, Dec 11, 2010 at 06:34:25AM -0800, S Mathias wrote: # {START..END..INCREMENT} $ for i in {0..10..2}; do echo Welcome $i times; done but what's the magic for this? : $ MAGIC; do echo Welcome $i times; done Welcome 0 times Welcome 1 times Welcome 4 times Welcome 5 times Welcome 8

Re: [CentOS] /dev/null permission changes figured out

2010-12-16 Thread Stephen Harris
On Thu, Dec 16, 2010 at 11:17:22AM -0800, Benjamin Franz wrote: The man page for lastb says if you just complete delete /var/log/btmp the system shouldn't recreate it on its own. And if, for some reason, the system _does_ try to recreate then you could use mknod to make it a device node that

Re: [CentOS] Intel NIC

2010-12-19 Thread Stephen Harris
On Sat, Dec 18, 2010 at 10:12:09PM -0500, Nico Kadel-Garcia wrote: On Sat, Dec 18, 2010 at 5:44 PM, Ross Walker rswwal...@gmail.com wrote: There is XenServer from Citrix and I think there is a community version too. -Ross I'd welcome your opinion. I did a bunch of integration with

Re: [CentOS] recursively count the words occurrence in the text files

2010-12-30 Thread Stephen Harris
On Thu, Dec 30, 2010 at 10:34:58AM -0800, S Mathias wrote: I just can't google for it: I'm a little concerned about the number of schoolbook questions showing on this list, recently. However... echo word1 word2 word3 one/asf.txt echo word2 word4, word5 one/asfcxv saf.txt Yeah, that line

Re: [CentOS] remove newlines / perl /concise example

2010-12-30 Thread Stephen Harris
On Thu, Dec 30, 2010 at 04:57:46PM -0500, ken wrote: open(my $in, , $infilename) or die Can't open file while ($in) { # Neither of the two commands below works as expected. chomp; # remove trailing newline. # s/\n/ /;# replace newline with space

Re: [CentOS] remove newlines / perl /concise example

2011-01-01 Thread Stephen Harris
On Sat, Jan 01, 2011 at 03:42:46PM +, Dave Cross wrote: Code like this is often simpler if you use the Unix filter model and let the operating system take care of opening all the files. #!/usr/bin/env perl use strict; use warnings; chomp(my @lines = ); print @lines;

Re: [CentOS] Multiple LUN support

2011-01-05 Thread Stephen Harris
On Wed, Jan 05, 2011 at 10:37:23AM -0800, Alan Hodgson wrote: On January 5, 2011 08:53:16 am Abilio Carvalho wrote: I have Centos 5.2 and am trying to set up my first tape loader, a Multiple LUN support has worked fine in Linux since, well, since there has been Linux on SCSI afaik. If

[CentOS] IPv6, HE tunnel and ip6tables problems

2011-01-11 Thread Stephen Harris
CentOS 5.5, fully patched. I have a HE tunnel (tunnelbroker.net) IPv6 tunnel. This works pretty well and is simple to setup. Everything works fine. Until I try to set up an ip6tables firewall. eg if I try to view https://dnssec.surfnet.nl/?p=464 then the page never displays and the firewall

Re: [CentOS] IPv6, HE tunnel and ip6tables problems

2011-01-11 Thread Stephen Harris
On Tue, Jan 11, 2011 at 02:12:15PM -0600, Blake Hudson wrote: From: Stephen Harris li...@spuddy.org I have a HE tunnel (tunnelbroker.net) IPv6 tunnel. This works pretty well and is simple to setup. Everything works fine. Until I try to set up an ip6tables firewall. I have been

Re: [CentOS] IPv6, HE tunnel and ip6tables problems

2011-01-13 Thread Stephen Harris
On Thu, Jan 13, 2011 at 01:58:41PM +0100, David Sommerseth wrote: My experiences is that IPv6 in CentOS5 works very well, but is not optimal due to lack of stateful firewalling. However, I'm certain that is solved in CentOS6/RHEL6. As it so happens, I managed to test out a RedHat 6 build this

Re: [CentOS] IPv6, HE tunnel and ip6tables problems

2011-01-13 Thread Stephen Harris
On Thu, Jan 13, 2011 at 08:24:33AM -0500, Ryan Wagoner wrote: I will second that I have had no problems using applications with IPv6 on CentOS 5.5. I currently have apache and samba3x bound to IPv6. I am also using named and dhcpv6. My only gripe is that dhcpv6 is not the current ISC daemon

Re: [CentOS] Is it okay?

2011-01-21 Thread Stephen Harris
On Fri, Jan 21, 2011 at 10:29:14AM -0800, John R Pierce wrote: Red Hat Linux release 6.2 (Zoot) Yer not the only one. this thing is my firewall/gateway/router, also I replaced my old redhat 6 firewall (Pentium Pro) with a wrt54g around 7 years ago when I realised just how much energy that

Re: [CentOS] Is it okay?

2011-01-21 Thread Stephen Harris
On Fri, Jan 21, 2011 at 11:13:54AM -0800, John R Pierce wrote: On 01/21/11 10:35 AM, Stephen Harris wrote: I replaced my old redhat 6 firewall (Pentium Pro) with a wrt54g around 7 years ago when I realised just how much energy that machine was wasting spinning up hard disks and stuff

Re: [CentOS] Is it okay?

2011-01-21 Thread Stephen Harris
On Fri, Jan 21, 2011 at 01:57:32PM -0800, John R Pierce wrote: On 01/21/11 12:11 PM, Stephen Harris wrote: On Fri, Jan 21, 2011 at 11:13:54AM -0800, John R Pierce wrote: On 01/21/11 10:35 AM, Stephen Harris wrote: I replaced my old redhat 6 firewall (Pentium Pro) with a wrt54g around 7

Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5

2011-01-27 Thread Stephen Harris
On Thu, Jan 27, 2011 at 02:39:29AM -0500, Nico Kadel-Garcia wrote: Wrong again. Never use public key access for root accounts, it simply compounds the security risks. Passphrase protected SSH keys can be That is 100% backwards. *NEVER* use password authentication for root (passwords are easier

Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5

2011-01-27 Thread Stephen Harris
On Thu, Jan 27, 2011 at 12:33:31PM +0530, Indunil Jayasooriya wrote: # ssh-keygen -t rsa ( passphrase should be empty ) Don't use passphraseless keys unless you're using it for an automated tool (eg rsync kicked off from cron). If this is for human interactive work then learn how to use

Re: [CentOS] SSH Automatic Log-on Failure - Centos 5.5

2011-01-27 Thread Stephen Harris
On Thu, Jan 27, 2011 at 07:59:30AM +, John Hodrien wrote: On Thu, 27 Jan 2011, Nico Kadel-Garcia wrote: Wrong again. Never use public key access for root accounts, it simply compounds the security risks. Passphrase protected SSH keys can be Is this actually current doctrine for

Re: [CentOS] how to unmount an NFS share when the NFS server is unavailable?

2011-01-27 Thread Stephen Harris
On Thu, Jan 27, 2011 at 10:05:35AM -0500, m.r...@5-cent.us wrote: It may be crap, but a) I haven't seen any ISPs that offer shell access for the better part of a decade, at least, and b) consider the enTHUsistic www.panix.com - Your $HOME away from home. Of course many people who want shell

Re: [CentOS] centos 5.5 check memoray usage too high???

2011-02-02 Thread Stephen Harris
On Thu, Feb 03, 2011 at 05:58:19AM +0800, mcclnx mcc wrote: We have DELL R900 server with 128GB RAM (CENTOS 5.5)in it. This server only have one application running and few people use it. Every week I ata least get one or two messages from monitor tool mail to me say: Message=Memory

Re: [CentOS] Strange Kernel for Centos 5.5

2011-02-11 Thread Stephen Harris
On Fri, Feb 11, 2011 at 11:39:21AM -0500, m.r...@5-cent.us wrote: They have *everything* to do. Look, I *said* this is OT, but since you insist, the overwhelmingly *bad* design decision was to put the GUI into ring 0, instead of the way Windows 3, and X on *Nix, and *everybody* else did,

Re: [CentOS] initlog is deprecated

2011-02-20 Thread Stephen Harris
On Sun, Feb 20, 2011 at 04:19:23PM -0500, Tim Dunphy wrote: I am getting an error that I am not familiar with when I restart ssh. [root@virtcent01:~] #service sshd restart Stopping sshd: [ OK ] Starting sshd:WARNING: initlog is deprecated and

Re: [CentOS] initlog is deprecated

2011-02-20 Thread Stephen Harris
On Sun, Feb 20, 2011 at 05:16:47PM -0600, Johnny Hughes wrote: If you take a look at man sshd, there may be a switch you can pass in to No. This has nothing to do with sshd configuration. As I previously said, the problem is purely 100% in the init script. The generic script from OpenSSH

Re: [CentOS] IP6 Anyone?

2011-02-27 Thread Stephen Harris
On Sun, Feb 27, 2011 at 01:44:17PM +, Always Learning wrote: I was actually wrong. I can 'play' with not 2 but 4 groups of the IP6 allocation. Golly, what can I do with 64 x 64 x 64 x 64 address That's an odd combination. 64 is 6 bits, which has nothing to do with an IPv6 group. Many

Re: [CentOS] unable to assign static IPv6

2011-02-28 Thread Stephen Harris
On Mon, Feb 28, 2011 at 09:16:59PM -0500, Lars Nordin wrote: /etc/sysconfig/network-scripts/ifcfg-eth0: IPV6INT=yes Typo; IPV6INIT=yes -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] how to control sftp's user file folder

2011-03-01 Thread Stephen Harris
On Tue, Mar 01, 2011 at 07:53:21AM -0500, Nico Kadel-Garcia wrote: No, sftp is actually supported, somewhat, in OpenSSH 5 for this to work well, which is not in CentOS 5, and integrating it to CentOS 5 is problematic. It's also awkward to maintain, the chroot cages require the relevant

Re: [CentOS] how to control sftp's user file folder

2011-03-01 Thread Stephen Harris
On Tue, Mar 01, 2011 at 08:16:52PM -0500, Nico Kadel-Garcia wrote: 2011/3/1 Stephen Harris li...@spuddy.org: OpenSSH5 requires nothing inside the jail area for chroot sftp; that's why it's sftp-internal. They got that ***working***? I thought Theo had sworn that chroot cages would never

Re: [CentOS] virtualization on the desktop a myth, or a reality?

2011-03-03 Thread Stephen Harris
On Thu, Mar 03, 2011 at 07:10:26AM -0500, Phil Savoie wrote: On 03/03/2011 06:43 AM, Kevin K wrote: On Mar 3, 2011, at 6:38 AM, Always Learning wrote: two operating systems. Surely that constitutes simultaneous access to storage? If you are tri-booting, how are you accessing the file

Re: [CentOS] top and allocation issues

2011-03-03 Thread Stephen Harris
On Thu, Mar 03, 2011 at 07:55:57PM +, Michael D. Berger wrote: Yes, I do expect to do a bit of arithmetic. I will need several blocks of about 0.5G, and I am checking the limits. Is it true, then, that I won't really know if I succeeded with the allocation until I try to write the memory?

Re: [CentOS] top and allocation issues

2011-03-03 Thread Stephen Harris
On Fri, Mar 04, 2011 at 12:52:51AM +, Michael D. Berger wrote: It appears that option 2 would be the best for me, so I set: sysctl vm.overcommit_memory=2 However, it resets to 0 on reboot, and only root can reset it. It would be good if it would be set to 2 on reboot. Is there a good

Re: [CentOS] Centos 6 - What are you looking forward to?

2011-03-04 Thread Stephen Harris
On Fri, Mar 04, 2011 at 11:12:45AM -0800, aurfal...@gmail.com wrote: Having issues installing Earth; /earth is 98% full ... please delete anyone you can. -- fortune file -- rgds Stephen ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] NFS still serving old directory after rename

2011-03-14 Thread Stephen Harris
On Mon, Mar 14, 2011 at 10:33:11AM -0500, neubyr wrote: Thanks for the reply Nico. I unmounted dir in a clean manner. I made sure that no other process is trying to access that mounted dir on client side. Not sure what was the problem, but it seems to be working NFS shares are done via inode

Re: [CentOS] modprobe :: not finding existing .ko

2011-03-18 Thread Stephen Harris
On Fri, Mar 18, 2011 at 04:23:18PM +, James Pearson wrote: Have you run 'modprobe -a' since installing the modules? ITYM depmod -a -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] updating without rebooting

2011-03-27 Thread Stephen Harris
On Fri, Mar 25, 2011 at 06:59:26AM -0400, Robert Heller wrote: Yes, you only *need* to reboot to pick up a new kernel. Unlike MS-Windows, none of the other updates *require* a reboot. Note: if Warning, though: there's a big difference between *need* and *should*. glibc (or other widely used

Re: [CentOS] check memory configuration

2011-03-28 Thread Stephen Harris
On Mon, Mar 28, 2011 at 05:27:08PM -0400, William Warren wrote: What's there way to do this? AKA is there a proc command that will show me what chips i have installed in a server without having to crack the case? Just a general pointer is fine..:) dmidecode -- rgds Stephen

Re: [CentOS] finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-29 Thread Stephen Harris
On Tue, Mar 29, 2011 at 12:08:33PM -0500, Les Mikesell wrote: GV has been around for years - but previously you had to get an invite from an existing user or go on a waiting list. Now you can just sign up and get a free number which you can send where you want with/without screening and

Re: [CentOS] OT: google voice + chat - Re: finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-29 Thread Stephen Harris
On Tue, Mar 29, 2011 at 01:37:22PM -0400, ken wrote: On 03/29/2011 01:21 PM Stephen Harris wrote: With the right software and hardware (asterisk and an ATA) you can even use the conjunction of google voice and google chat to act as a real phone line. Indeed I just wrote up a process

Re: [CentOS] OT: google voice + chat - Re: finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-29 Thread Stephen Harris
On Tue, Mar 29, 2011 at 02:17:58PM -0400, ken wrote: On 03/29/2011 01:21 PM Stephen Harris wrote: phone line. Indeed I just wrote up a process :-) http://sweh.spuddy.org/gvoice/ But I think that's getting a little off-topic :-) Just read your webpage. It answered my one question

Re: [CentOS] OT: google voice + chat - Re: finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-29 Thread Stephen Harris
On Tue, Mar 29, 2011 at 01:24:47PM -0500, Les Mikesell wrote: The latter. If I followed the scenario correctly, the asterisk server (which acts as a PBX) logs into the google chat session pretending to be you at your browser, and when a voice call comes to the chat session it forwards it

Re: [CentOS] OT: google voice + chat - Re: finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-29 Thread Stephen Harris
On Tue, Mar 29, 2011 at 02:52:16PM -0500, Les Mikesell wrote: On 3/29/2011 1:37 PM, Stephen Harris wrote: Exactly correct. It also works the other way; pick up the phone and dial a number and asterisk routes it via google chat so you get your free US calls and cheap international calls

Re: [CentOS] OT: google voice + chat - Re: finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-29 Thread Stephen Harris
On Tue, Mar 29, 2011 at 05:02:47PM -0400, ken wrote: This was one feature I was interested in with the answering machine I spoke of before: I'd want to be able to pick up an incoming call with a bluetooth phone so I could walk around and not be tethered by a phone line. A friend of mine got a

Re: [CentOS] OT: google voice + chat - Re: finding the right serial port, enabling configuring it [was: Re: fax software]

2011-03-30 Thread Stephen Harris
On Wed, Mar 30, 2011 at 06:57:04AM -0400, ken wrote: What I'd hope to do is plug the analog output from the ATA into the input of my home's POTS (Plain Old Telephone System, i.e., the 1970s technology). That way all the cabling I have for extensions into nearly every room could still be used.

Re: [CentOS] Download the repo DAG of CentOS 5.5

2011-04-03 Thread Stephen Harris
On Mon, Apr 04, 2011 at 11:21:23AM +1000, Anthony K wrote: Just out of curiosity, how much hdd space is consumed to mirror rpmforge? I have a local CentOS mirror for my users that consumes ~18GB (or 19,124,934,894 bytes as of this - 4/4/2011 - morning to be precise) for os updates

Re: [CentOS] Forcing IPv4 DNS lookups first before IPv6

2011-04-04 Thread Stephen Harris
On Mon, Apr 04, 2011 at 11:34:25AM -0500, Russell Jones wrote: [root@hostname1 ~]# tcpdump -v 'port 53' tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 11:07:24.989304 IP (tos 0x0, ttl 64, id 65039, offset 0, flags [DF], proto: UDP (17), length: 60)

Re: [CentOS] Forcing IPv4 DNS lookups first before IPv6

2011-04-05 Thread Stephen Harris
On Tue, Apr 05, 2011 at 07:46:32PM -0400, Tom H wrote: In the case of traceroute, there shouldn't be any DNS requests when specifying ipv4 transport (-4). Umm, no. The transport protocol is irrelevant to the query. You can make queries over IPv4. Indeed I do that all the time. --

[CentOS] iscsi-initiator-utils required in 5.6, loads uneeded modules

2011-04-10 Thread Stephen Harris
I just updated one of my virtual hosts to 5.6 and on rebooted I spotted an error about iscsi. Which surprised me, since I don't use iscsi. Yet there it is... % rpm -qf /etc/init.d/iscsi iscsi-initiator-utils-6.2.0.872-6.el5 And they're configured to start iscsi 0:off 1:off

Re: [CentOS] iscsi-initiator-utils required in 5.6, loads uneeded modules

2011-04-10 Thread Stephen Harris
On Sun, Apr 10, 2011 at 04:18:08PM +0200, Luigi Rosa wrote: But I don't know why iscsi and iscsid are enabled by default. Is it safe to turn them off if I don't have iSCSI? That's what I did (with chkconfig). -- rgds Stephen ___ CentOS mailing

[CentOS] How to verify all dependencies are being met

2011-04-10 Thread Stephen Harris
I've taken over a CentOS machine. The previous SA had a habit of using the --nodeps flag to rpm to remove packages (he was trying to build a small server and removed packages he felt weren't needed). I have a horrible feeling that this has resulted in some required dependencies no longer being

Re: [CentOS] How to verify all dependencies are being met

2011-04-10 Thread Stephen Harris
On Mon, Apr 11, 2011 at 12:33:56AM +0200, Ljubomir Ljubojevic wrote: Is there an easy way to determine what rpms might be missing? I'd hoped to use something like rpm -qR against each of the installed packages, but that output isn't simply converted to rpm package names. Try something

Re: [CentOS] How to verify all dependencies are being met

2011-04-10 Thread Stephen Harris
On Sun, Apr 10, 2011 at 09:46:48PM -0400, Yves Bellefeuille wrote: Does package-cleanup --problems do what you want? It's in the Looks good! % package-cleanup --problems Setting up yum Reading local RPM database Processing all local requires Missing dependencies: Package

Re: [CentOS] Just a question about the Announce List

2011-04-11 Thread Stephen Harris
On Mon, Apr 11, 2011 at 05:12:30PM -0400, William Hooper wrote: You might want to log into Mailman and check your filters. When I didn't get it, I noticed that there was a filter for (IIRC) Centos-5 that I didn't have checked in mailman. Yeah; if you're subscribed to the i386 list then you

Re: [CentOS] Correct xen domains path

2007-06-18 Thread Stephen Harris
On Mon, Jun 18, 2007 at 06:45:26PM +0200, Daniel de Kok wrote: On Mon, 2007-06-18 at 12:03 -0400, Stephen Harris wrote: I've not heard a good reason to keep SELinux enabled, to be honest. For high sensitivity stuff, sure (much like using SEOS on Solaris for high sensitivity machines - eg

Re: [CentOS] Correct xen domains path

2007-06-18 Thread Stephen Harris
On Mon, Jun 18, 2007 at 07:17:54PM +0200, Daniel de Kok wrote: On Mon, 2007-06-18 at 12:56 -0400, Stephen Harris wrote: The security rule of thumb here is that such machine _will_ be attacked, and so security in depth is the process to apply. There are far more attack vectors than just

Re: [CentOS] Correct xen domains path

2007-06-18 Thread Stephen Harris
On Mon, Jun 18, 2007 at 12:18:40PM -0600, Stephen John Smoogen wrote: On 6/18/07, Stephen Harris [EMAIL PROTECTED] wrote: I've never said there are _no_ cases for SELinux. I was questioning it as a general rule for all machines. Several of the problems were machines that were not connected

Re: [CentOS] How To Free memory

2007-06-20 Thread Stephen Harris
On Wed, Jun 20, 2007 at 11:12:31PM +0800, Fung wrote: When the system is fresh reboot, there is below 1GB of used memory and as times go , the used memory increased to over 3.5GB. Are you sure that the memory is really used? Linux will take unused memory and use it as a disk cache so if you

Re: [CentOS] symbolic links seemingly not browseable

2007-07-03 Thread Stephen Harris
On a fresh install of CentOS5, I need to use an alternate port for ftp. Currently vsftpd wants the standard port which is in use by another system on my NATted network. So...how does one go about reconfiguring vsftpd to do this? I've looked in /etc/vsftpd/vsftpd.conf to no avail. From the

Re: [CentOS] username list?

2007-07-12 Thread Stephen Harris
On Thu, Jul 12, 2007 at 09:32:11PM -0400, Matt Hyclak wrote: 'getent passwd' should be portable across any account storage accessible through pam. You said the magic word that makes things infinitely more complicated (PAM) and that renders your answer incorrect. getent uses naming services

Re: [CentOS] username list?

2007-07-12 Thread Stephen Harris
On Thu, Jul 12, 2007 at 11:14:45PM -0400, Matt Hyclak wrote: On Thu, Jul 12, 2007 at 11:13:08PM -0400, Stephen Harris enlightened us: 'getent passwd' should be portable across any account storage accessible through pam. You said the magic word that makes things infinitely more

Re: [CentOS] Re: Mixing RPMforge and EPEL (Was: EPEL repo)

2007-08-01 Thread Stephen Harris
On Wed, Aug 01, 2007 at 04:02:08PM -0500, Les Mikesell wrote: Question: how many levels of symlinks-pointing-to-symlinks does it take to get to the right place? And having supplied this number of symlinks, how can a user choose to execute one version of java while someone else prefers the

Re: [CentOS] Re: Mixing RPMforge and EPEL (Was: EPEL repo)

2007-08-02 Thread Stephen Harris
On Wed, Aug 01, 2007 at 10:34:17PM -0500, Les Mikesell wrote: Stephen Harris wrote: On Wed, Aug 01, 2007 at 04:02:08PM -0500, Les Mikesell wrote: Question: how many levels of symlinks-pointing-to-symlinks does it take to get to the right place? And having supplied this number of symlinks

Re: [CentOS] Re: Opposite of cp -u

2007-08-06 Thread Stephen Harris
On Mon, Aug 06, 2007 at 06:27:20PM -0500, Robert Nichols wrote: for F in * do cmp $F /new/directory/$F touch -r $F /new/directory/$F done That will compare all the files and adjust the timestamp on the files that are still the same as those on the backup. Note that, despite

  1   2   3   4   5   6   7   >