Displaying 16 results from an estimated 16 matches for "codepuppy".
2009 Feb 07
0
Redirection in shell (was: squid HA failover?)
Hi,
Regarding the last example creating the config files with several
echos with redirection:
On Fri, Feb 6, 2009 at 20:37, J Potter <jpotter-centos at codepuppy.com> wrote:
> echo "node a.example.com" > /etc/ha.d/ha.cf
> echo "node b.example.com" >> /etc/ha.d/ha.cf
> echo "udpport 9000" >> /etc/ha.d/ha.cf
> echo "bcast bond0" >> /etc/ha.d/ha.cf
>...
2008 Oct 13
1
"EDAC i5000 MC0: FATAL ERRORS Found!!!" error message?
Hi List,
We had the following error thrown on console on a PowerEdge server
running CentOS 5 (64 bit). Googling around didn't yield any particular
insights. The server crashed a few minutes after this message. Running
memtester, just to check, didn't find anything; and the box has been
running for months before this without issue.
I'm wondering if anyone has run across this
2008 Oct 13
2
Yum and case-sensitivity
Hi List,
On one of our servers (CentOS 4 32 bit), we have the dag repo enabled.
Yesterday morning during a yum update, yum replaced the CentOS package
"perl-DBD-MySQL" with one from dag, "perl-DBD-mysql".
For whatever reason, the two packages differ, in that only one of them
(the CentOS built one) includes:
2007 Oct 20
1
how does one remove bond1?
Hi List,
We're using bonding to create bond0 with 2 NICs, and noticing that
CentOS 5 2.6.18-8.1.14.el5 (and presumably older) creates bond1 as well.
I'd like to remove bond1 from the system, so that our monitoring
scripts don't pick it up, except for those machines that actually do
have a bond1.
So... how does one remove bond1?
Thanks! Misc info below of configuration and
2007 Mar 11
2
logrotate, syslog, and chsh
I'm noticing that logrotate's default configuration for rotating /var/
log/secure and /var/log/messages partially fails if root's shell is
set to /bin/tcsh (via chsh). (Running on CentOS 4.4;
logrotate-3.7.1-5.RHEL4).
What seems to be happening is that the logrotate.d/syslog postrotate
command runs:
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null
2009 Mar 06
1
general protection rip?
Hi List,
On one of our CentOS 5 (x64_86) servers, identical to a number of
other systems, I'm seeing some processes / services failing to run,
along with the following error in /var/log/messages:
Mar 2 23:25:07 someHostname kernel: wrapper-linux-x[24448] general
protection rip:805386e rsp:ffc20390 error:0
Mar 2 23:25:09 someHostname kernel: dsm_sa_datamgr3[5063] general
2008 Apr 16
2
count of active tcp sockets?
Hi List,
Is there an easy way to get a count of the number of active socket
connections, or even better, number of socket connections in the
time_wait state? (Something lightweight... under /proc/sys/net/ipv4/?
I'd like to avoid the impact of listing out all the connections a-la
netstat.)
Thanks!
-Jeff
2008 Jul 11
0
CentOS 5.2 - /usr/sbin/httpd: double free or corruption (!prev) error
Hi List,
We've been seeing the following error on a CentOS 5.2 x86_64 /
2.6.18-92.1.6.el5 install (from /var/log/httpd/error):
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!
prev): 0x00002ad8ebed2d80 ***
[Thu Jul 10 19:12:19 2008] [notice] child pid 5261 exit signal
Segmentation fault (11)
[Thu Jul 10 19:12:48 2008] [notice] child pid 12180 exit signal
2007 May 10
3
NAT from eth0:0 port 80 to lo port 8080?
I'm stumped.
We have a CentOS 4.4 box with something like the following IPs:
eth0: 64.61.61.100
eth0:0 64.61.61.112
eth1: 10.0.0.100
lo: 127.0.0.1 (of course)
We want requests to 64.61.61.112:80 to be NAT'ed to 127.0.0.1:8080.
This seems like it should be really simple -- maybe the following? --
I've tried variants combining this rule with a POSTROUTING rule,
tried dnat,
2008 Feb 14
0
limit number of per-vhost or per-user cgi processes?
Hi List,
Is there a way to limit the number of cgi processes Apache's suExec
will fork for a given vhost or given user? (either solution is fine)
suExec doesn't honor the /etc/security/limits.conf nproc value.
mod_throttle seems to be dead; and I can't figure out if selinux might
be able to manage this (although would rather not flip selinux from
permissive to enabled).
2008 Mar 10
1
Newer MySQL in centos-plus?
Hi List,
I'm noticing that the CentOS-plus repo for 4.6 has MySQL 5.0.54 in it,
but the CentOS 5.1 repo does not have a newer rpm, leaving the
"newest" easily-available version as the vendor-provided mysql 5.0.22.
Is there a reason for this? We're wanting to try a newer MySQL under
CentOS 5.1 -- do any of the standard repos include such an RPM?
Thanks!
-Jeff
2008 Feb 19
3
Is there a fix for the "sqlite cache needs updating" error?
I've been seeing the below message from yum whenever the repo has an
update (CentOS 5):
> /etc/cron.daily/yum.cron:
>
> ** Message: sqlite cache needs updating, reading in metadata
Googling a bit, it looks like others have seen this happen as well.
The solutions, when I've found them, have been along the lines of
"send output to /dev/null" or "edit this
2007 Jul 02
2
dumb sendmail question -- how to get outbound messages to use "example.com" instead of hostname?
Hi List,
I have a dumb sendmail question, and I'm wondering if anyone can
point me in the right direction (besides "sendmail list is two doors
down on the left" ;-).
One of our clients has a bunch of servers -- CentOS 5 -- that are on
only a private network that's NATted to the outside world -- that is,
those servers can initiate outbound connections fine, but don't
2008 Feb 06
2
RPM for perl-svn-notify?
Hi List,
Is it possible to get an rpm built and added into the plus or dag
repos for the perl module svn-notify? (Note: not the same as svn-
notify-mirror.)
I know it's been brought up before that perl's internal CPAN build/
install can cause serious conflicts with the rpm-based approach; if
there are other / better ways of doing this in a standard fashion,
please let me know.
2007 Dec 05
2
weird load values
Hi List,
I'm stumped by this:
load average: 10.65, 594.71, 526.58
We're monitoring load every ~3 minutes. It'll be fine (i.e. something
like load average: 2.14, 1.27, 1.03), and then in a single sample,
jump to something like the above. This seems to happen once a week or
so on a few different servers (all running in a similar application).
I've never seen the 1 minute
2007 Mar 27
2
network redundancy via two nics, two routers?
Hi List,
I'm trying to configure two switches to provide redundancy (i.e. in
case one switch goes down), and am wondering if there is a standard
way to configure a CentOS box to use different gateways in a bonded
interface, depending upon which physical nic is being used?
A bit more detail might help answer the "And why do you want to do
that?" questions...
- Switch 1,