Re: [CentOS] disk on vm with kvm

2020-07-08 Thread Rick Gutierrez
El vie., 3 jul. 2020 a las 11:05, Alexander Dalloz
() escribió:
>
>
> I would guess that the scheduler "noop" isn't available, thus that
> specific error message.
>
> On my physical Server CentOS 7 with latest kernel:
>
> # cat /sys/block/nvme0n1/queue/scheduler
> [none] mq-deadline kyber
>
> The KVM VM on that host, too CentOS 7 with latest kernel:
>
> # cat /sys/block/vda/queue/scheduler
> [mq-deadline] kyber none
>
>
> Alexander

Hi , It is strange, in previous versions of this kernel I have it
available, in an environment with vmware vsphere 6.

any modifications in this kernel that did not include it?

-- 
rickygm

http://gnuforever.homelinux.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] disk on vm with kvm

2020-07-03 Thread Rick Gutierrez
hi list, i am trying to change the input and output scheduler on my
disks, and it does not allow me ,
I have several virtualized vm over kvm, and when I try to make the
change it shows me this message:

echo "noop" > /sys/block/vda/queue/scheduler

-bash: echo: write error: Invalid argument

kernel version:

3.10.0-1127.13.1.el7.x86_64

any idea?



-- 
rickygm

http://gnuforever.homelinux.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] strange disk space calculation ext4 df and du

2014-11-03 Thread Rick Thomas
On Nov 3, 2014, at 7:53 AM, Götz Reinicke - IT Koordinator 
goetz.reini...@filmakademie.de wrote:

 Hi,
 
 in one server I do have a SSD raid 1 size 219GB.
 
 df shows 9.4 GB free, 198GB used.
 
 If I do du -sch * | sort -h -r on /, I just have close to 3.5GB used 
 
 Any hints, what's eating up the space?
 
 Centos 6.6, fs = ext4.
 
   regards . Götz

The ext[234] filesystems reserve a certain amount of space for use by root 
only.  If I remember correctly, the default if 5%, but you can tune that with 
tune2fs(8) or mkfs.ext4(8). The df command subtracts the reserved space when it 
shows the amount free.  So an empty 1GB filesystem would show as having 950 MB 
free.

Hope that helps…

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOs 5.6 and Time Sync

2011-04-20 Thread Rick Thomas

 On 4/13/2011 7:35 AM, Mailing List wrote:
 Hi,

  I have upgraded my Dell C151 to the latest 5.6. I have always used
 ntp to sync this machine and then the rest of the machines in the
 network would sync from it. Since the update I cannot keep the right
 time on the machine. This is with / without ntp. I have attempted
 various scenario's with no luck. I am now trying the old kernel now  
 as
 I type this out. If anyone else has any links or ideas that I should
 check out It would be greatly appreciated.

 Just a quick note about my setup. I do not use any gui. As
 mentioned I have not had any issues with this machine and it's time
 until I upgrade.

 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
 3gb of ram.

 TIA.

 Brian.


Have you tried installing the adjtimex package?  If your system clock  
is running reliably fast under the 5.6 kernel, maybe adjtimex can turn  
that reliability into reliable time sync for you?

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Is there a way to set default paper size for CentOS?

2010-09-13 Thread Rick Thomas

I've been a Debian geek for a long time but for a work project I've  
started using CentOS recently.

In Debian I can set the default paper size to US-Letter for the system  
using
dpkg-reconfigure libpaper1

Is there an equivalent configuration option for CentOS?  If not, what  
configuration files do I need to edit?

Thanks!

Rick

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ip aliasing on bonded interface possible?

2010-09-06 Thread Rick Philbrick
This reminded me of a recent issue doing just what you are asking about.  I
had an issue with sending traffic out an aliased interface on a bonded
interface a few weeks ago. I needed certain traffic to look like it was from
the aliased interfaces IP so the ACL on the receiving side would allow
posts.  But ALL traffic was still looking like it came from the real
interface's IP address.
and this caused the ACL to deny it.  I solved it using  iptables.


-rick


On Sun, Sep 5, 2010 at 12:08 PM, Benjamin Donnachie
benja...@py-soft.co.ukwrote:

 On 5 Sep 2010, at 18:35, Robert Arkiletian rob...@gmail.com wrote:

  Has anyone successfully created a bonded interface (bond0) with say
  two nics AND also then aliased that interface to get bond0 and bond0:1
  (for an alias ip)
 
  I just want to know if it's possible and reliable
  Oh I forgot to mention I would be using link aggregation mode 4,
  802.3ad bonding.

 Possible and very reliable, at least with Intel quad NICs (can't
 remember model) and Procurve 2900 switches in my last job.

 Ben
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mock build php i386 from x86_64 issue

2010-07-07 Thread Rick Barnes
On 07/07/2010 07:26 AM, Jason Pyeron wrote:
 checking OpenSSL dir for SNMP... no
 /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
 /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
 /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
 configure: error: Could not find the required paths. Please check your 
 net-snmp
 installation.
 error: Bad exit status from /var/tmp/rpm-tmp.66050 (%build)

Since you didn't really ask a question nor provide any further 
information, I will ask you the obvious question:

Is net-snmp-devel installed like it asks for?

$ yum whatprovides /usr/bin/net-snmp-config
Loaded plugins: fastestmirror, priorities
Reducing Extra Packages for Enterprise Linux 5 - x86_64 to included 
packages only
Finished
Excluding Packages from CentOS-5 - Extras
Finished
0 packages excluded due to repository priority protections
1:net-snmp-devel-5.3.2.2-9.el5.i386 : The development environment for 
the NET-SNMP project.
Repo: base
Matched from:
Filename: /usr/bin/net-snmp-config



1:net-snmp-devel-5.3.2.2-9.el5.x86_64 : The development environment for 
the NET-SNMP project.
Repo: base
Matched from:
Filename: /usr/bin/net-snmp-config

snip
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to specify the default route?

2010-06-22 Thread Rick Thomas
Thanks! to all who replied.

I solved it by putting identical GATEWAY= clauses in each of

/etc/sysconfig/networking/devices/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth1

This works without error, even though the gateway IP address in  
question is not accessible from eth1.

I haven't tried taking the GATEWAY clause(s) out of the ifcfg files  
and moving it to the /etc/sysconfig/network file alone.  Does anybody  
know if that's the preferred configuration option?

Thanks!

Rick

 El lun, 21-06-2010 a las 19:57 -0400, Rick Thomas escribió:
 I have a machine with two net interfaces.

 it seems to always pick the wrong one (eth1) as the default route.

 I can change it with

  route del default
  route add default eth0

 after it's up (or in rc.local, of course), but I'd like to figure out
 what I need to do this the CentOS way (e.g. edit some configuration
 file? Run some config utility, what?) once and for all.

 Can somebody point me to the canonical documentation on the subject?
 I've searched /usr/share/doc and the man pages, but I can't find
 anything useful.

 Googling for default route centos gives some interesting stuff, but
 nothing definitive.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to specify the default route?

2010-06-22 Thread Rick Thomas

So I tried moving the GATEWAY clause into etc/sysconfig/network and  
out of the individual ifcfg-eth? files.  It works.

So I guess that's the preferred solution, because it puts the  
information in a single place.  There's no need to make sure two or  
more places are synchronized if anything changes.

Thanks to all!

Rick

On Jun 22, 2010, at 2:51 PM, Rick Thomas wrote:

 Thanks! to all who replied.

 I solved it by putting identical GATEWAY= clauses in each of

   /etc/sysconfig/networking/devices/ifcfg-eth0
   /etc/sysconfig/networking/devices/ifcfg-eth1

 This works without error, even though the gateway IP address in  
 question is not accessible from eth1.

 I haven't tried taking the GATEWAY clause(s) out of the ifcfg files  
 and moving it to the /etc/sysconfig/network file alone.  Does  
 anybody know if that's the preferred configuration option?

 Thanks!

 Rick

 El lun, 21-06-2010 a las 19:57 -0400, Rick Thomas escribió:
 I have a machine with two net interfaces.

 it seems to always pick the wrong one (eth1) as the default route.

 I can change it with

 route del default
 route add default eth0

 after it's up (or in rc.local, of course), but I'd like to figure  
 out
 what I need to do this the CentOS way (e.g. edit some  
 configuration
 file? Run some config utility, what?) once and for all.

 Can somebody point me to the canonical documentation on the subject?
 I've searched /usr/share/doc and the man pages, but I can't find
 anything useful.

 Googling for default route centos gives some interesting stuff,  
 but
 nothing definitive.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to specify the default route?

2010-06-21 Thread Rick Thomas
I have a machine with two net interfaces.

it seems to always pick the wrong one (eth1) as the default route.

I can change it with

route del default
route add default eth0

after it's up (or in rc.local, of course), but I'd like to figure out  
what I need to do this the CentOS way (e.g. edit some configuration  
file? Run some config utility, what?) once and for all.

Can somebody point me to the canonical documentation on the subject?   
I've searched /usr/share/doc and the man pages, but I can't find  
anything useful.

Googling for default route centos gives some interesting stuff, but  
nothing definitive.

Thanks!

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Any experience with Eucalyptus on Centos 5.x?

2010-06-09 Thread Rick Thomas
Is anyone here running Eucalyptus (open source cloud computing  
manager, similar to Amazon EC2, from UC Santa Barbara)?

Have you got any hints for bringing it up?

Thanks!

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Solaris10 forum

2009-12-14 Thread Rick Philbrick
Hi all-

Usually i call out on this list for help on the CentOS matters but today I
am fishing around trying to find an active forum for Solaris.
It's hard to match the community here but I'd like to find the Solaris list
where the most people are.
Just having trouble configuring multipathing on QLogic iSCSI HBA's on
Sparc_Solaris10.


Thanks in advance-

-rickp
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Screen capture in Terminal

2009-12-10 Thread Rick Barnes
On 12/10/2009 08:05 AM, Robert Moskowitz wrote:
 I don't see how to do it.

 I had to telnet into a firewall and run a trace, and I had to stop it,
 copy and paste to gedit, then start again, etc.

 I find it interesting, and sad, that there is no easy 'output to file'
 profile setting.

man script
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CERN using RHEL/CentOS?

2009-11-24 Thread Rick Barnes
On 11/24/2009 07:04 AM, Jim Perrin wrote:
 That would make for a hell of a press release too!

 Linux (specifically CentOS) responsible for LHC blackhole that
 destroyed the world!

 Just think of the publicity we'd get!

No worse than getting CentOS getting blamed for hacking web servers
;-)

Rick

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Opinions on bonding modes?

2009-09-14 Thread Rick Barnes
I am working on setting up an NFS server, which will mainly serve files
to web servers, and I want to setup two bonds. I have a question
regarding *which* bonding mode to use. None of the documentation I have
read suggests any mode is better than other with the exception of
specific use cases (e.g. switch does not support 802.3ad, active-backup).

Since my switch *does* support 802.3ad, including layers 2,3 and 4
hashing, should I use mode=4? Or would one of the other modes be
better for providing fail-over and link-aggregation, specifically
balance-tlb or balance-alb.

Any suggestions are appreciated.

Thanks,
Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] denyhosts configuration

2009-08-26 Thread Rick Barnes
Dave wrote:
 Hello,
   I've installed denyhosts on centos 5.3 trying to block automated
 attacks on ssh. It appears to be working in that entries are being added to
 /etc/hosts.deny yet the daily emails sent from denyhosts show only one ip
 being added perday when the total is many more than that. My config is
 below, i've gone over it and am not seeing what i missed. Suggestions
 welcome.
   I was also wondering if denyhosts can block other types of robot
 attacks such as smtp or port 80?

It can deny access to any service that uses hosts.deny if you change it
to ALL instead of sshd. It is configured to watch /var/log/secure, so if
smtpd logs login failures there, then it can be used to add to the deny
list.

Apache does not use hosts.allow or hosts.deny by default. Some googling
suggested this might be done with xinetd but I haven't tried it.

 BLOCK_SERVICE  = sshd
 SYNC_SERVER = http://xmlrpc.denyhosts.net:9911
 SYNC_INTERVAL = 1h
 SYNC_UPLOAD = yes
 SYNC_DOWNLOAD = yes

I believe the IP entries being added are because you using the sync
feature. The email only notifies new entries added due to active
attempts against your server, not those added by the sync, IIRC.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba use sendfile configuration option set do disabled as default - why?

2009-08-25 Thread Rick Barnes
happymaster23 wrote:
 My question is why is this option disabled as default in CentOS?

I believe you are not getting the answer you seek because you are not
asking the right question to the right people.

The right question is Why is this option disabled as default in
*RHEL*? The right people to ask this question is Red Hat.

I doubt the CentOS builders are arbitrarily changing this default
setting, but feel free to grab the upstream srpm and show me that I'm wrong.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PDNS

2009-08-03 Thread Rick Barnes
Jason Pyeron wrote:
 In particular do you have any complaints about doing complicated setups?

We are using a clustered mysql setup and the pdns servers all connect to
the same database. This means no worrying about master-slave XFRs. When
changes occur to database such as adding/removing zones, all changes are
reflected immediately to all DNS servers without restarting or reloading
the pdns daemon.

 Windows machines registering themselves?

We haven't done this.

 Upstream provider's continued support after 5.x?

It's in the CentOS Extras repo not in base. But the release in Extras is
outdated and there are security fixes are in later releases.

EPEL has the latest release and its spec file appears to be written by
the same person that did the centos-plus version.

 Any other jibes or cheers?

http://doc.powerdns.com/ has lots of info to get it setup.

Also, PowerAdmin (https://www.poweradmin.org) is a decent web front-end
to pdns.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache and CF

2009-05-05 Thread Rick Barnes
Jason Todd Slack-Moehrle wrote:
 Hi All,
 
 I have a CentoS 5.3 Xen Instance at Mosso.
 
 I need to run ColdFusion and I have in the past successfully made  
 everything work, but not on Linux rather Windows.
 
 I just cannot get Apache and CF talking. I added mod_jrun22, When I  
 try to serve a CF file, I am asked to download binary data. I  
 added .cfm and .cfml to Directory Index for /var/www/html in  
 httpd.conf and nothing still.
 
 I have been trying to get this working for days.

It is been awhile since I installed CF8. But after running the
installer, start CF8 with:
$ /etc/init.d/coldfusion_8 start

Be sure to install httpd-devel as the connector script needs apxs.

$ cd /opt/coldfusion8/runtime/bin
$ ./wsconfig -server coldfusion -ws Apache -bin /usr/sbin/httpd \
-script /etc/init.d/httpd -dir /etc/httpd/conf -coldfusion -v

This should install the connector and restart Apache for you (edit as
necessary). Then login to http://localhost/CFIDE/ to complete.

If apache doesn't restart dpe to permissions, it could be SElinux
$ chcon --reference=/usr/sbin/httpd \
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
usually fixes it for Enforcing. If not try Permissive.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory Leak with stock Squirrelmail, PHP, mysql, apache since 5.3

2009-04-24 Thread Rick Barnes
James Wilson wrote:
 Since upgrading to 5.3 we have noticed that overnight all 4GB of  
 physical RAM and all 4GB of swap is eaten and the web service  
 unresponsive.  We can still SSH into the machine and restart Apache.   
 This rectifies the issue.  These are production boxes and subject to  
 numerous connections, we are trying to isolate the trigger.  However,  
 the exact same configuration and applications being served under 5.2  
 exhibit no issue.
 
 I suspect it may be related to this bug, logged with the upstream:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=497077

I was experiencing similar problems with an x86_64 server after
upgrading to 5.3. While MySQL, Apache and PHP are installed SquirrelMail
was not, nor mail services beyond daily logwatch emails.

Since Apache was serving internal-only sites needed by only a few people
in my department, I found that de-tuning the prefork section httpd.conf
was an acceptable workaround.

None of the other servers I have upgraded to 5.3 have exhibited this
issue, but they are all i386 web servers only and do not mysql
installed. Although they do handle 2-3 orders of magnitude more requests
than the x86_64 server does.

Thanks,
Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] x86_64 server OOM problems after update to 5.3

2009-04-13 Thread Rick Barnes
Hello,

Over the weekend, I upgraded one of my servers that runs mysql and pdns
to 5.3. Previous to the update I have not had an issue form this server.
But since, I have had mysql die multiple times from oom-killer.

$ uname -a
Linux rack2a 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:10:25 EDT 2009
x86_64 x86_64 x86_64 GNU/Linux

Unfortunately, the server has been rebooted by others before I have been
able to look at it while the problem is occurring. But I have found this
in the logs:

http://pastebin.centos.org/25553

Running sar -A:

http://pastebin.centos.org/25556

Since the server was rebooted, the amount of swap is used is 0.

How do I determine what process is/was chewing up the memory on this
server? What should I be looking for to narrow this down?

Thanks,
Rick

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] x86_64 server OOM problems after update to 5.3

2009-04-13 Thread Rick Barnes
JohnS wrote:
 On Mon, 2009-04-13 at 10:31 -0400, Rick Barnes wrote:
 Hello,

  I have had mysql die multiple times from oom-killer.

 
 Thanks,
 Rick
 ---
 In seeing what you do I would be looking at the queries being made.
 SPROCs, Triggers, Views. Also very import is if that one particular data
 base is doing graffing running predictions as you all do GIS and
 Mapping. Predictions can be huge memory burners. Last thing does it run
 as a virtual machine or on real hardware?

This is a real hardware server. It is not doing GIS or mapping of the
like, most of the DBs on this are for web sites, mostly form data
storage, some CMS DBs for joomla, WP, etc. also some others for cacti
and powerdns backends.

I have setup some scripts to watch the swap usage to see if I can track
this down.

Thanks for the help

Rick



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] x86_64 server OOM problems after update to 5.3

2009-04-13 Thread Rick Barnes
JohnS wrote:

 Seeing as you said you upgraded from 5.2 - 5.3 I would be looking at the
 kernel release notes and the mysql release notes for known problems
 since you did not have prior problems. I would check out the Cacti and
 DNS Databases because there more realtime in nature to running on the
 server than the content ones. Using the script I posted will catch the
 offending query. I myself would take a hard look @ MYSQL itself. There
 is a huge debate about it not being Production Ready. Last option would
 be to do a yum --allow-downgrade until it's sorted out on a test
 machine.

It appears as though apache is to blame:

http://pastebin.centos.org/25568

By stopping and starting apache, %swpused went from 92.84% to 6.41% and
has remained for about an hour now.

Thanks,
Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Godaddy hell...

2009-04-02 Thread Rick
In article 49d526bf.7020...@mavin.com,
John Plemons  centos@centos.org wrote:

Try network solutions...

I've never found them to be a good solution. There are plenty
around that are a lot better!

--
http://www.spinics.net/lists/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade

2009-04-02 Thread Rick
In article ceb75a570904010531q7defb281vcc40856a65f3a...@mail.gmail.com,
Hakan Koseoglu  centos@centos.org wrote:

yum clean all  yum ugrade  seems to fix my problem.

I had problems on two systems (both problems different) and doing
yum clean all fixed them. Not sure why but I'm sure glad it
worked. ;)

--
http://deepcreekhotsprings.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Torrent software choice

2009-04-02 Thread Rick
In article 20090403123544.71991...@sod.off.knossos.net.nz,
Spiro Harvey  centos@centos.org wrote:

amusing. There is no such thing as the best, only the best fit to your
needs.

There's no need to be so pedantic. He's just asking for advise
about what clients are good.

--
http://yosemitenews.info/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory vs. Display Card (solved)

2009-04-02 Thread Rick
In article m3vdqkeflz@luke.xen.prgmr.com,
Luke S Crawford  centos@centos.org wrote:

Have you tried memtest86?  

No, but if that was the problem it wouldn't have failed the same
way each time.

I finally got some time to deal with this today. I tried several
more things and finally made it work by installing a BIOS update.

Sure feals nice to have that memory installed. ;)

--
http://yosemitecampsites.com/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory vs. Display Card

2009-03-09 Thread Rick
In article f4e013870903082220s772af2d7o22c9686d6f134...@mail.gmail.com,
MHR  centos@centos.org wrote:

2) Your answer above was not clear: did the 4GB work by itself without
the other 2GB?  If so, the above is your problem.  If not, you're in
deeper guano that you think, BUT:

The 4GB had the same problem with and without the 2GB.

Also, by running in 64-bit mode (previous reply), do you mean that
your are running the 32-bit PAE kernel or the x86_64 kernel?

It's x86_64.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory vs. Display Card

2009-03-09 Thread Rick
In article 12768.4492654682$1236586...@news.gmane.org,
Sorin Srbu centos@centos.org wrote:

If the motherboard supports dual-channel configs, one might want to take care 
how one distributes the different mem-sticks in the banks. Eg the 2GB-sticks 
in bank 1 and 3 and the 4GB-sticks in banks 2 and 4.

Well, yeah, of course. But even if I got that wrong, the 4GB alone did not
work in the same slots the 2GB sticks were in.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory vs. Display Card

2009-03-08 Thread Rick
In article 20090308031754.ga11...@bludgeon.org,
Ray Van Dolson  centos@centos.org wrote:

That sounds pretty strange.  Have you confirmed that removing the new
memory allows you to run in runlevel 5 again?

Yes, that's how I'm running right now.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Memory vs. Display Card

2009-03-08 Thread Rick
In article 49b47e99.1090...@hogranch.com,
John R Pierce  centos@centos.org wrote:

now, try taking out the OLD memory and putting in just the NEW memory.  
see how it runs that way.   if this works, try with the new 4GB as the 0 
bank, and the old 2GB as the 1 bank.

Tried that before I posted and got the same results.

also, in the BIOS, check the memory timings, I'd leave them all on 
'automatic' or 'default' or whatever the limited choices are in the 
Intel BIOS, trying to squeeze an extra clock out of CAS or whatever 
doesn't really help much under the best of conditions and it can 
destabilize a system under suboptimal conditions.  

They should all be on their default settings. But I'll take another look
when I get a chance. Thanks.

--
http://yosemitephotos.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Memory vs. Display Card

2009-03-07 Thread Rick
Since memory has become quite cheap lately I decided to move from 2 GB
to 6. When I installed the memory every thing was fine until I went to
run level 5. At that point the screen turned to garbage and the system
froze. Is there a way to fix this so I can use the memory I bought? Do
I need a new display card?

Current hardware:

  Intel D975XBX2 Motherboard
  VGA compatible controller: ATI Technologies Inc RV505 [Radeon X1550 64-bit]

--
http://www.spinics.net/lists/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running on 8G CF card

2008-12-09 Thread Rick
In article [EMAIL PROTECTED],
nate centos@centos.org wrote:

It's pretty rare for there to be log entries on the box that
point to why it crashed or locked up, at least in my experience,
hence the need for a serial console.

Tailing dmesg might show something. Might not either but it's an
easy thing to try.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Running on 8G CF card

2008-12-09 Thread Rick
In article [EMAIL PROTECTED],
John R Pierce  centos@centos.org wrote:

when I do that it lists the usual 10 lines from tail, then exits, -f or not.

I didn't quite mean tailing the dmesg program. What you need to tail (IIRC)
is /proc/kmsg.

--
http://www.spinics.net/lists/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache, SELinux, and document root on a different partition

2008-12-01 Thread Rick Barnes

Kenneth Porter wrote:
Here's what I'm seeing logged. (Newlines added to make it easier to see 
the log line boundaries with wrapping.) It looks like it's failing to 
traverse the root directory to get to the directory with the content in 
it, but why doesn't it fail on /var/www/html or home directory content, 
which must also do that?


type=AVC msg=audit(1228142052.656:3183659): avc:  denied  { search } for 
pid=29382 comm=httpd name=/ dev=cciss/c0d2p1 ino=2 
scontext=user_u:system_r:httpd_t:s0 tcontext=system_u:object_r:file_t:s0 
tclass=dir



Try this:

# grep httpd /var/log/audit/audit.log | audit2why

The output should explain why you are getting the permission denials.

Rick


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: GIMP 2.4 packages for CentOS 5

2008-10-25 Thread Rick
In article [EMAIL PROTECTED],
Niki Kovacs  centos@centos.org wrote:

One of my rare regrets with CentOS 5 was that GIMP only came in version 
2.2, but 2.4 offers many nifty new functions quite handy for everyday 
work. For those of you who are interested, I built some GIMP 2.4 
packages for CentOS 5.

Download and install (using rpm -Uvh) the following packages:

Gimp 2.6 is out now. Any change of getting CentOS rpms for it?

--
http://deepcreekhotsprings.net/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: rsync mirroring

2008-10-25 Thread Rick
In article [EMAIL PROTECTED],
David Hláèik centos@centos.org wrote:

Should i add --backup --suffix = $(date) and thats it?

Why not just setup a test and see?

--
http://yosemitenews.info/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Error on man page

2008-10-15 Thread Rick Barnes

[EMAIL PROTECTED] wrote:

Hi
I discovered a similar problem early this week and a colleage on irc was 
told it was a copy and paste error.


in man syslogd, the following can be found:

  Sucker rod def. -- 3/4, 7/8 or 1in. hardened steel rod, 
male threaded on each end.  Primary use in the oil industry in Western 
North Dakota and other locations to pump 'suck' oil from oil wells.   Sec-


  ondary uses are for the construction of cattle feed lots 
and for dealing with the occasional recalcitrant or belligerent individual.


Its not an error, read the previous lines:
5. Use step 4 and if the problem persists and is not secondary to a 
rogue program/daemon get a 3.5 ft (approx. 1 meter) length of sucker 
rod* and  have a chat with the user in question.


Its an attempt at a joke by the author of the man page.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 x86_64 install does not see SATA drives

2008-10-13 Thread Rick Barnes

Dougal Ballantyne wrote:

I am having some problems installing CentOS 5.2 x86_64 onto a
Supermicro 6015V-T with Intel 5000V chipset and ESB2 controller using
SATA drives. Currently I am running CentOS 4.7 i386 and it sees both
drives but when I boot into the CentOS 5 install CD it fails to see
the drives. Does anybody have any tips for getting the drives visible?


I have a SuperMicro 6015P-TR that I just installed CentOS 5.2 x84_64. I 
struggled for 2 days trying to get the HostRAID RAID 1 working. I was 
only able to get 5.1 to install but not 5.2 (supermicro only has 5.1 
drivers on its site). After the install, the server saw each drive 
individually sda, sdb rather than as one device and quit working after 
installing updates to the latest kernel.


I googled around for answers and there was very little useful 
information available in getting this to work.


In the end, I just bought a 3ware 9650SE-4LPML after hearing good things 
about these cards on this list, installed it one of the PCI-Express 
slots, pulled the cable to the drive backplane on the mobo and plugged 
in right into the card and installed C5.2. Worked like a charm.


Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Automount CIFS share in CentOS 5.1

2008-03-26 Thread Rick Barnes

Joseph L. Casale wrote:

I am looking online trying to find a procedure to automount a CIFS
share but need to use username/domain/pass in the credential file
thats referenced in fstab. Its not working, anyone know of a resource
that works in CentOS5.1?

If it matters, the unc has a dash and a $ in it, and the password has
special characters in it.


This works for me using a credentials file:

username=DOMAIN\hostname
password=password

I know the $ doesn't make a difference because I mount my AD homedir 
that has a $ at the end, I don't think the dash would make a difference 
but I'm not a 100% positive.


Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] log sshd activities

2008-03-11 Thread Rick Barnes

Hiep Nguyen wrote:

hi all, where exactly sshd log files???

this is what i have in /etc/sshsshd_config

SyslogFacility AUTHPRIV

if i want to log who login/logout sshd, what option do i need to turn on???


/var/log/secure


thanks,
t. hiep


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Kickstart install with a degraded raid array

2008-01-14 Thread Rick Barnes
Is it possible to install CentOS 5 with a degraded RAID 1 array using
kickstart? I have the kickstart file already created but the server I
want to use only has 1 hard drive in it at the moment. Until I can order
a 2nd drive, I wanted to install the OS then once I received the
replacement drive fix the array. I have seen instructions how to do
this manually, but so far have not been able to get it to work using
kickstart.

Anyone tried this in the past?

Thanks,
Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen clock drift

2008-01-08 Thread Rick Barnes


Akemi Yagi wrote:
 On Jan 8, 2008 4:51 AM, Rick Barnes [EMAIL PROTECTED] wrote:
 Jack Bailey wrote:
 These domains are fully virtualized and set up identically, except
 badclock is allocated two processors versus one processor for
 goodclock.  DomU's clock is running normally.

 Anyone know what's going or know how to fix it?
 This is a known issue that has come up on this list a lot.

 For C5.1 see the first known issue:

 http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.1/

 Rick
 
 Please note that the clock rate issue in that description applies to
 non-xen kernels.  xen kernels are set to 250Hz by default.

With this option you can reduce the clock rate from the default of
1000HZ to 100HZ which is desirable in a virtual machine.

If it does not apply to xen then this should be made more clear.

Rick

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Postfix Configuration Setup for 2+ domains

2007-12-20 Thread Rick Barnes
Hello,

I have a client that wants to have a dedicated smtp sending host. But
they have 2 separate domains then that don't want to have share IP
address. The reasons from this is long and drawn out.

Is it possible to setup postfix in a virtual host config, like apache
for example, such that, domainA.com listens and sends on one IP address
and domainB.com listens and sends on another address.

This host is simply a email forwarding host, so no user accounts are on
the server, they have about 5 servers serving websites for 2 domains and
subdomains and want email coming from a common source for both domains
(this will be the relayhost for the web servers).

I have it setup to listen to 2 ip addresses but as of now I get:

220 smtp.domainA ESMTP Postfix

on both addresses. Is there a way to have one address show as:

220 smtp.domainA ESMTP Postfix

and the other:

220 smtp.domainB ESMTP Postfix

More importantly, email send via 1 should look like it came from that
domain and email sent to the other look like it came from its domain.

I can find info on virtual domains, but its geared for receiving email
for multiple domains.

Thanks,
Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix Configuration Setup for 2+ domains

2007-12-20 Thread Rick Barnes
Karanbir Singh wrote:
 Rick Barnes wrote:
 Hello,

 I have a client that wants to have a dedicated smtp sending host. But
 they have 2 separate domains then that don't want to have share IP
 address. The reasons from this is long and drawn out.
 
 
 try the postfix list first.
 

Thanks will do.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Nagios on CentOS 4.5

2007-11-14 Thread Rick Barnes
Jason Ross wrote:
 First off  I am a linux / CentOS newbies so go easy on me.
 Just curious if anyone out there is running Nagios on CentOS 4.5.
 I have now installed it on a second server due to issue but the issues
 have come back to haunt me.
 
 The OS is running on an IBM NetVista. Every thing in both installs is
 identical as are the problems.
 Once I have Nagios up and monitoring every thing hangs. Even a terminal
 will hang before it finally just locks up.
 The only thing that brings it back is a reboot. Even stopping the
 services doesn't work.
 Disk space seems fine and even during the hangs there doesn't seems to
 be anything taking up a tremendous amount of resources.
 After a reboot every thing works fine for several hours.
 Any guesses or suggestions?

I am running on a C4 server here and haven;t experienced any issues with it.

What version do you have installed and did you built it yourself or use
a repo?

I used rpmforge for the deps but built nagios by hand using the docs on
their site.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Windows 2003 Server Installation Problem in Centos 5 Xen 3.0.3-25.0.4.

2007-10-29 Thread Rick Barnes
abhishek singh wrote:
 Hi,
 
 I am trying to install Windows 2003 server as a guest OS in Centos 5 Xen
 and installation is freeze , i am attaching screen shot, here is xend
 log file details

snip

 
 Can anyone tell me why i am not able to install window 2003 server on xen,

I got this to work by selecting the HAL. Press F5 when prompted to
press F6 for the third party drivers. Choose Standard PC from the
list and it should work as normal. YMMV.

 
 Thanks,
 Abhishek Kumar Singh


Thanks,
Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: 64 bits snmp

2007-09-26 Thread Rick Barnes
Scott Silva wrote:
 on 9/26/2007 7:29 AM chloe K spake the following:
 Hi all

 I want to get 64 bit of snmp work in the PAE kernel

 1/ ls there any snmp rpm for 64 bits

 2/ when i get from source of net-snmp, i compile with
 ./configure --enable-mfd-rewrites
 after installation, the snmp can't work.
 PAE kernel is 32 bit. 64 bit apps need 64 bit kernel, and 64 bit kernel
 doesn't need PAE.
 

At least not until there are computers needing more than 16 EB of RAM  :^)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Clone physical into virtual

2007-08-08 Thread Rick Barnes
Scott Moseman wrote:
 Is there a formal, or preferred, method for importing a physical
 CentOS machine into a VMware instance?  I know they make
 software to move Windows machines, but I couldn't find one to
 handle our CentOS servers.  I have done something via scp/sftp
 in the past, which *seemed* to work, but if there's a better way
 I'm more than interested in hearing the process.

What has worked for me is to use a liveCD to boot the image and then use
  ssh and tar to clone the machine to the virtual drives. You can find
people suggesting netcat to do it but the ssh /tar method works because
just about every liveCD has ssh and tar. Just mount the drive on the
virt server say /mnt/newroot/, and if you separate images from

from the image run:
# ssh remote.box.com tar c / | tar x -C /mnt/newroot

Adjust the tar attributes as needed.

Rick
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos