Re: [CentOS-virt] Package lists for Cloud images

2013-05-31 Thread Aleksey Tsalolikhin
On Fri, Nov 16, 2012 at 3:03 AM, Karanbir Singh mail-li...@karan.orgwrote:


 There are plans for Vagrant images, would that ( minus the puppet / chef
 stuff ) be enough for VirtualBox as well ?


Hi!  Sorry for the late reply -- yes, a Vagrant box is what I'm really
after at this point.

Best,
Aleksey
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] 6.3 installer keeps cycling in a 10 second countdown to boot

2012-11-25 Thread Aleksey Tsalolikhin
On Sun, Nov 25, 2012 at 10:50 AM, Karanbir Singh mail-li...@karan.org wrote:

 looks like your machine does not have the x86_64 capable cpu/bios combo
 needed to boot the kernel. Have you tried using the livecd/dvd to boot
 the machine and see if things work there ?

I'll try booting off DVD next, thanks.

I'm surprised there is no error message to give the user a clue of
what's going wrong...

 was it x86_64 that you were running CentOS-5 with ?

Yes, it was.

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


[CentOS] 6.3 installer keeps cycling in a 10 second countdown to boot

2012-11-24 Thread Aleksey Tsalolikhin
Hi.  I've been running CentOS 5 for ages.  (Thanks!)

I went to install 6.3 - I downloaded the 64-bit DVD 1 image, and put
it on a USB drive.  Booted into a screen that said boot will start in
10.. 9... 8.. 7.. 6.. 5.. 4.. 3.. 2.. 1.. 10.. and so on, infinite
loop, the boot never starts.

I tried booting in text mode, but it doesn't boot, just goes back to the menu.

Is there some way to find out why the centos installer refuses to start?

I used to have CentOS 5 on this system.  I'd expect 6 to work.

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


[CentOS-docs] Update to CentOS FAQ: I installed the x86_64 version, so why do I have i386 packages, and can I get rid of them?

2012-02-28 Thread Aleksey Tsalolikhin
Hi, thank you for maintaining the CentOS FAQ at
http://wiki.centos.org/FAQ/General it is very helpful.

I used to follow the procedure outlined in 22. I installed the x86_64
version, so why do I have i386 packages, and can I get rid of them?
(  
http://wiki.centos.org/FAQ/General#head-357346ff0bf7c14b0849c3bcce39677aaca528e9
)

but it recently stopped working.   the last step, yum reinstall \*
now throws errors about missing dependencies.   (This is starting from
CentOS 5.4)

However if I run yum -y update as the very first step, and then do
the procedure, it works beautifully.

I don't know what is the cause of this, but in the course of
troubleshooting it, I've learned that rpm -Va | grep ^missing will
tell me if any files are missing, and if yum reinstall \* is even
necessary.  It is faster to run the package verification and skip the
reinstall, as reinstall involves re-downloading all the packages over
the network.

I'd like to suggest the FAQ be updated with:

Run rpm -Va | grep ^missing  to see if any files are missing.  If
there are, reinstall with yum reinstall \*

Best,
-at
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-virt] VM fails to start on host bootup, but starts fine manually. Why?

2011-12-01 Thread Aleksey Tsalolikhin
Thanks, Dmitry. I allocated memory within the host maximum.

I've decided am going to add xm create VMname to our
/etc/init.d/rc.local script to make sure this instance gets started on
boot.

Thanks for your note re KVM on RHEL 6.

Best,
-at
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-virt] VM fails to start on host bootup, but starts fine manually. Why?

2011-11-30 Thread Aleksey Tsalolikhin
I have 5 VMs on my host.

The first four are setup to start on boot.  But only the first three
end up running.  The fourth has to be started manually.

Start virtual machine on host bootup is checked on all four VMs but
the fourth VM does not get started on host bootup.  After the host
boots up, the VM is Shutdown state.  If I go into virt-manager and
click Run, it starts just fine.

I looked in /var/log/xen/ and did not see anything related, but I
don't know what I'm looking for.

Any suggestions?

Best,
-at
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-docs] how to submit corrections for virt-bridge-errors page?

2011-10-31 Thread Aleksey Tsalolikhin
Hi.  This page saved me a lot of trouble today, when my Xen 3
multi-bridge setup stopped working after updated from CentOS 5.5 to
5.7:

http://www.centos.org/docs/5/html/Virtualization-en-US/ch-virt-bridge-errors.html

However there were a couple of errors in the script:

use of op instead of OP  (variable name mismatch) and use of

..
,,

instead of
;;

in the shell case structure.

I can't tell if these errors are from redhat.com or from CentOS, and I
couldn't find the Red Hat source.

So I'm posting here just to do something in the general direction of
improving this resource.

Thank you!  Love CentOS.

Yours fondly,
Aleksey
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS] How to update CentOS 5.4 to 5.6?

2011-09-21 Thread Aleksey Tsalolikhin
Is there a way to update a CentOS 5.4 server to 5.6 (but not 5.7)?

yum update takes me all the way up to 5.7.

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


[CentOS] Installing yesterday's CentOS (or how to install the patch/package set from 3 weeks ago)

2011-09-21 Thread Aleksey Tsalolikhin
Hello,

Let's say your operating policy is no patch updates without testing
first in the test environment.   Let's say it takes you 3 weeks to
test.  Over the course of the 3 weeks, the repo changes (new
packages added, old removed).

Is there a way to freeze a set of packages so that when I
run yum update on a Prod server it'll get the same package
and patch set as the Test server did 3 weeks ago?

It's been suggested to maintain a local mirror, and take rsync
snapshots of it daily, so then you can point the end node to a
particular repository.

What other solutions are there?

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


Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread Aleksey Tsalolikhin
On Thu, Jun 9, 2011 at 11:03 AM, CS DBA cs_...@consistentstate.com wrote:
 On 06/09/2011 08:48 AM, Jussi Hirvi wrote:
 I am working on my first vim script. The script is supposed to do some
 find/replace on a file, then save the file with a new name and quit vim.

 I will save the script in a file and then call it from a bash script
 like this:

       vim path-to-the-file -s path-to-my-script

 Maybe I have not found the right resources. I can find/replace with
 expressions that are similar to those I use manually, for example:

       :% s/\t/,/g

 Then I should add something to the beginning of file (line 1, char 1).
 And append something to the end of the file (last line, last char). But
 I cannot find a way to do this. Should I move the cursor (and how?), or
 what?

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

 You can do this at the command line (or in a script) like this:

 sed s/\t/,/g  [your file]   [new_modified_file]

 If needed then you can rename the modified file back over the original

Or you can have sed edit your file directly, just use the -i switch:

sed -e 's:find:replace:g'   -i your.file.name

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


[CentOS] How to set selinux policy allow httpd_t unconfined_t:shm { unix_read unix_write }; using an seboolean? (How to get a new seboolean?)

2011-06-02 Thread Aleksey Tsalolikhin
Hi.  I'm trying to get OTRS running on CentOS 5.5 with SELinux enabled,
and audit.log / audit2allow tell me I need to add the local policy:


#= httpd_t ==
allow httpd_t unconfined_t:shm { unix_read unix_write };

which I think will allow the httpd access to read and write from shared memory?
Is that right?  What are the risks involved in opening this?  I notice it is
denied by the default policy.

To simplify configuration management, I would prefer to make this setting
using /usr/sbin/setseebool, but I don't see an sebool that deals with shm...

How do I request one?  (And whom do I ask?)

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


[CentOS] Why is iptables configured to accept packets on ports 50 and 51?

2011-05-17 Thread Aleksey Tsalolikhin
[root@hwdltsaloli ~]# cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
[root@hwdltsaloli ~]# lsof -i:50
[root@hwdltsaloli ~]# lsof -i:51
[root@hwdltsaloli ~]#


/etc/services says:

re-mail-ck  50/tcp  # Remote Mail Checking Protocol
re-mail-ck  50/udp  # Remote Mail Checking Protocol

la-maint51/tcp  #
la-maint51/udp  # IMP Logical Address
Maintenance

Google turns up RMCP is a simple lightweight DP protocol for checking
if you have mail on a server

A quick Google search failed to turn up what is IMP Logical Address
Maintenance

Why is this in the default iptables configuration?

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


Re: [CentOS] Why is iptables configured to accept packets on ports 50 and 51?

2011-05-17 Thread Aleksey Tsalolikhin
On Tue, May 17, 2011 at 11:25 AM, Michel van Deventer
mic...@van.deventer.cx wrote:

 The -p you are referring to is NOT a port, but a protocol (number), 50
 and 51 stand for IPSEC protocols (AH and ESP).

Doh!  *facepalm*

Thanks, Stephen, Eero and Michel. I appreciate your help.  :)

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


[CentOS] How much maximum memory will CentOS 5 support? I know it's not 16 GB!

2011-02-22 Thread Aleksey Tsalolikhin
How much maximum memory will CentOS 5 support, please?

The product info page at http://www.centos.org/product.html
says 16GB, but I am running 80 GB RAM right now and seeing
80 GB in top.

I see the same 16 GB limit on the RHEL page:
http://www.redhat.com/rhel/compare/#note_4

The server hardware is capable of 192 GB RAM and I want to
add memory, but want to be sure the OS will support it.

Is anybody running CentOS 5 or RHEL 5 with 192 GB or more, please?

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


Re: [CentOS] Air Conditioning - ON!

2011-02-22 Thread Aleksey Tsalolikhin
I really appreciate the availability of CentOS.  Thank you to all the people
who work on it and form part of this community!!

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


[CentOS] How to strip out the title bar from xterm windows on CentOS 5 GNOME?

2010-12-15 Thread Aleksey Tsalolikhin
Hi.  Running CentOS 5 with the default GNOME desktop.  Is it possible
to configure xterm windows not to have title bars to get the most out of
the available screenspace?

I've tried to look this up but mostly find reference how to change the
content of the title bar; I want to remove it completely.

Found a reference to Compiz but the version available through CentOS
seems old (0.0.13 compared to the current around 0.8 or 0.9) and having
a double zero version number, I was afraid to use it.

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


[CentOS] can't install mono-devel because mono-basic requires mono-core. But I have mono-core! What to do? I need gmcs.

2010-10-25 Thread Aleksey Tsalolikhin
Hi.  I'm trying to install gmcs so that I can build gbrainy, a mental exerciser.

I am not sure what package provides, maybe mono-devel?  however mono-devel
fails to install because, it says, mono-basic requires mono-core.  I
have mono-core
installed.  Why is this failing?


$ sudo yum install mono-devel.i386
...- Finished Dependency Resolution
mono-basic-1.0.6-1.el5.rf.i386 from installed has depsolving problems
  -- Missing Dependency: mono-core = 1.0.6-1.el5.rf is needed by
package mono-basic-1.0.6-1.el5.rf.i386 (installed)
Error: Missing Dependency: mono-core = 1.0.6-1.el5.rf is needed by
package mono-basic-1.0.6-1.el5.rf.i386 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
$ rpm -q mono-core
mono-core-1.0.6-1.el5.rf
$

Any suggestions?

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


Re: [CentOS] can't install mono-devel because mono-basic requires mono-core. But I have mono-core! What to do? I need gmcs.

2010-10-25 Thread Aleksey Tsalolikhin
Turned out I had multiple repo's in play.  mono-basic from one repo,
and mono-core from another.
I removed both and ran yum install mono-devel and it installed fine
from epel with all dependecies.

Cheers,
-at

On Mon, Oct 25, 2010 at 4:52 PM, Aleksey Tsalolikhin
atsaloli.t...@gmail.com wrote:
 Hi.  I'm trying to install gmcs so that I can build gbrainy, a mental 
 exerciser.

 I am not sure what package provides, maybe mono-devel?  however mono-devel
 fails to install because, it says, mono-basic requires mono-core.  I
 have mono-core
 installed.  Why is this failing?


 $ sudo yum install mono-devel.i386
 ...- Finished Dependency Resolution
 mono-basic-1.0.6-1.el5.rf.i386 from installed has depsolving problems
  -- Missing Dependency: mono-core = 1.0.6-1.el5.rf is needed by
 package mono-basic-1.0.6-1.el5.rf.i386 (installed)
 Error: Missing Dependency: mono-core = 1.0.6-1.el5.rf is needed by
 package mono-basic-1.0.6-1.el5.rf.i386 (installed)
  You could try using --skip-broken to work around the problem
  You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
 $ rpm -q mono-core
 mono-core-1.0.6-1.el5.rf
 $

 Any suggestions?

 Thanks,
 -at

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


Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second

2010-10-20 Thread Aleksey Tsalolikhin
Thanks, Ross, JohnS and Lamar for your kind responses.  It turned out
my friend is using 7200 RPM disk for his write-lots-of-little-files activity
so we're looking at upgrading that to 15000 RPM or getting him a FusionIO
memory card.

Thank you!

Aleksey


On Wed, Oct 20, 2010 at 2:50 PM, Lamar Owen lo...@pari.edu wrote:
 On Monday, October 18, 2010 09:25:41 pm Aleksey Tsalolikhin wrote:
 Hi. A friend of mine was doing real-time video decoding on
 Fedora Core 13 and he had a performance glitch (1/2 a second
 freeze) every 5-10 seconds.  top showed flush-253:0
 process at the moment of the freeze.
 [snip]
 He also tried CentOS 5.5, and saw a pdflush process popping
 up with the same frequency, and resulting in a similar glitch.

 Any other suggestions?

 What kind of hard drive is this?  How is/are your drive(s) set up?

 You need the iostat program (in the sysstat package, I think) to give you 
 more detail; there are some pointers to its use in this list's archives.
 ___
 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] Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.

2010-10-19 Thread Aleksey Tsalolikhin
Just to follow up on this.  Devrim of Postgres said he does not maintain
php-pgsql, Red Hat does.  He also added:

2010/10/18 Devrim GÜNDÜZ dev...@gunduz.org:

 I don't see any way to upgrade libpq for Apache easily, except
 rebuilding Apache from SRPM by yourself, and using postgresql84-libs as
 BuildRequires instead of postgresql-libs. Unfortunately it means tons of
 change in package list, including even subversion...

 You'd better wait for RHEL / CentOS 6.

I'll ask Red Hat for php-pgsql that uses postgresql84-libs; and try to
build httpd
from source myself in the meantime.

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


Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second

2010-10-19 Thread Aleksey Tsalolikhin
On Mon, Oct 18, 2010 at 9:08 PM, JohnS jse...@gmail.com wrote:

 On Mon, 2010-10-18 at 18:25 -0700, Aleksey Tsalolikhin wrote:
 Hi. A friend of mine was doing real-time video decoding on
 Fedora Core 13 and he had a performance glitch (1/2 a second
 freeze) every 5-10 seconds.  top showed flush-253:0
 process at the moment of the freeze.

 And what is the Priority of it running at?  How many Cores also?

He sees this issue at normal priority and at nice -n -19 / -20.

He has 6 cores with hyperthreading on

3.8 Ghz, the memory is 1.850 Mhz

The system is 980x Intel 6 core

He just told me he has two modes for his decoding program, in one
mode the system does not write to disk at all, and there are NO GLITCHES
doing it this way; another way, it writes lots of little files as it decodes,
and the glitch happens actually every 5-20 seconds.

Would like to get to the bottom of this so he can decode with temp files
and without glitches.

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


Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second

2010-10-19 Thread Aleksey Tsalolikhin
On Tue, Oct 19, 2010 at 12:48 PM, Toby Bluhm
toby.bl...@alltechmedusa.com wrote:
 Ext3 filesystem? Maybe altering the commit option at mount time would help:

 http://www.mjmwired.net/kernel/Documentation/filesystems/ext3.txt#49

Good one, Tony!  We'll try that.   Thanks!!

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


Re: [CentOS] Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.

2010-10-19 Thread Aleksey Tsalolikhin
On Tue, Oct 19, 2010 at 11:40 AM, Aleksey Tsalolikhin
atsaloli.t...@gmail.com wrote:

 I'll ask Red Hat for php-pgsql that uses postgresql84-libs; and try to
 build httpd from source myself in the meantime.

I've opened a bug report / enhancement request with Red Hat:
https://bugzilla.redhat.com/show_bug.cgi?id=644678

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


Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second

2010-10-19 Thread Aleksey Tsalolikhin
Still seeing the glitch every 5-20 secs after remounting with commit=6000.


On Tue, Oct 19, 2010 at 4:00 PM, Ross Walker rswwal...@gmail.com wrote:

 You could also reduce the dirty interval in sysctl so it flushes sooner 
 therefore flushes less data each time.

OK.  It's worth a shot.  Any idea what the default value is?  I'm not
sure what value to put in here.
I know I want to reduce it but I don't want to break my friend's system either.

http://www.mjmwired.net/kernel/Documentation/sysctl/vm.txt

109 dirty_expire_centisecs
110 
111 This tunable is used to define when dirty data is old enough to be 
eligible
112 for writeout by the pdflush daemons.  It is expressed in 100'ths
of a second.
113 Data which has been dirty in-memory for longer than this interval will 
be
114 written out next time a pdflush daemon wakes up.

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


Re: [CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second

2010-10-19 Thread Aleksey Tsalolikhin
uname -a shows:

Linux localhost.localdomain 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29
12:50:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.

2010-10-18 Thread Aleksey Tsalolikhin
How do I find out who is the maintainer of the php-pgsql package, please?
I want to request upgrade from underlying postgresql-libs-8.1.21
(/usr/lib64/libpq.so.4) to postgresql84-libs-8.4.4 (/usr/lib64/libpq.so.5.2).

Background on this request:  Apache httpd's php's php-pgsql uses
PostgreSQL 8.1 library (/usr/lib64/libpq.so.4), which leaks memory.
PostgreSQL 8.4 library does not leak.

Apache HTTP Server: httpd-2.2.3-43.el5.centos.3

mod_php: php-5.1.6-27.el5

PHP PostgreSQL interface is provided by: php-pgsql-5.1.6-27.el5,
which uses postgresql-libs-8.1.21-1.el5_5.1 which provides
/usr/lib64/libpq.so.4 which we've observed has a memory leak
(and this memory leak is NOT present in libpq.so.5.2)

  I am trying to figure out how to get our httpd/mod_php/php-pgsql
to use libpq.so.5.2 instead of libpq.so.4, and I thought I'd start by
asking the php-pgsql maintainer, so this problem is fixed for everybody,
not just for me.

  Please let me know if I can help in any way.

Kind regards,
Aleksey
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Who maintains php-pgsql package? I want to ask about using PostgreSQL 8.4 library instead of PostgreSQL 8.1.

2010-10-18 Thread Aleksey Tsalolikhin
Kevin Kempter:  Thank you for Devrim's name as the maintainer of php-pgsql.

John:  You wrote:
 use the Postgres 8.4 RPMs from http://yum.pgrpms.org/  along with the
 compat-postgresql-libs package (from the same repository), which hooks the
 libpq.so.4 stuff that the stock EL5 clients like php-pgsql use.

That's what I am doing and php-pgsql ends up using libpq.so.4 which has
the memory leak.

Ray: Thanks for your reply as well.

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


Re: [CentOS] excel parser (preferably perl)?

2010-10-18 Thread Aleksey Tsalolikhin
On Mon, Oct 18, 2010 at 3:13 PM, Les Mikesell lesmikes...@gmail.com wrote:
 I'm getting tired of converting spreadsheets that someone else updates
 to csv so my perl scripts can push the data into a mysql database.  Is
 there a better way?  I haven't had much luck with
 perl-Spreadsheet-ParseExcel (and find it odd that yum prefers the .32
 version from epel over .57 from rpmforge anyway).  Is the current CPAN
 version better?  Or the equivalent java tools?  Or maybe a scripted
 OpenOffice conversion would be possible.

 Needs to deal with both xls and xlsx formats, the odd characters that
 are confused with quotes even after csv conversion, numbers with $'s and
 commas embedded, excel's date formatting nonsense, etc.

Hi, Les.

xlhtml has a switch, -csv, to output in Comma Separated Values

http://chicago.sourceforge.net/xlhtml/

I am not sure if it'll do everything you want, it's a few years old, but may
be worth a look.

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


[CentOS] pdflush kernel thread pops up every 10 seconds or so and video decoding grinds to a halt for 1/2 a second

2010-10-18 Thread Aleksey Tsalolikhin
Hi. A friend of mine was doing real-time video decoding on
Fedora Core 13 and he had a performance glitch (1/2 a second
freeze) every 5-10 seconds.  top showed flush-253:0
process at the moment of the freeze.

Major device number 253 corresponds to device-mapper.  I advised my
friend to re-install his FC13 without LVM, to see if the glitch
is related to LVM.

After re-installing FC13 without LVM, he is seeing the glitch
every 10 seconds, and it shows flush-8:16 where before it said
flush-253:0.  8 is scsi disk driver. So it's not an LVM thing...
maybe a kernel thing?

I suggested he try Fedora 14 beta, as it has a newer kernel.
Maybe this kernel thing is fixed in the newer kernel.

He also tried CentOS 5.5, and saw a pdflush process popping
up with the same frequency, and resulting in a similar glitch.

Any other suggestions?

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


Re: [CentOS] system stuck with 2.6.18-128 kernel. how to move to 2.6.18-194.17?

2010-10-06 Thread Aleksey Tsalolikhin
Thank you very much for your replies and suggestions!

Turns out I have a broken RAID.  I checked the failed out
drive by mounting read-only the /boot partition, and it
is configured to boot the older kernel version (the one the
system actually boots).

Like Phil said, the OS is seeing one thing, and GRUB another.


Questions:

1. How do I fix the array?   (How do I put the failed out
drive back in?  (I hope it is a small failure that the
software RAID can recover from, like a few bad blocks or
something.  Otherwise I am willing to replace the drive.)



#  mdadm /dev/md0 --add /dev/sda1
mdadm: Cannot open /dev/sda1: Device or resource busy
#

Maybe it's busy because the system really booted off it?
Maybe I can edit grub.conf to change hd(0,0) to hd (1,0)
and reboot.  Where do I do that, in /dev/sda1 or /dev/sdb1?
I guess I could do it in both places.  What do you think?

Note: I was able to add /dev/sda3 to /dev/md1, and it is
resync'ing the array now.

#  mdadm /dev/md1 --add /dev/sda3
mdadm: re-added /dev/sda3
#


2. Is there a different configuration I should adopt, so that
OS and GRUB agree on what device to boot from? Or is this the
price I pay for using software RAID rather than HW RAID?



Data:

The /etc/grub.conf sym link is set up correctly:

lrwxrwxrwx 1 root root 22 Mar 17  2009 /etc/grub.conf -
 ../boot/grub/grub.conf


My /boot filesystem lives on a RAID 1 array:

/dev/md0 on /boot type ext3 (rw)


/proc/mdstat shows only /dev/sdb is still in the RAID 1 mirror:


Personalities : [raid1]
md0 : active raid1 sdb1[1]
  104320 blocks [2/1] [_U]

md1 : active raid1 sdb3[1]
  275964480 blocks [2/1] [_U]

unused devices: none

For some reason, it does not show F for disk failure.  I did
reboot the system a couple of times, maybe it forgot about the
failure.  Older logwatch reports do have the F on both arrays.


lshw and fdisk -l shows both /dev/sda and /dev/sdb.

so does lsscsi:


[1:0:0:0]diskIBM-ESXS ST337LC   FN B26B  /dev/sda
[1:0:1:0]diskIBM-ESXS MAT3300NC FN B414  /dev/sdb
[1:0:8:0]process IBM  39M6750a S320  0 1 -



Thanks very much for the help!

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


Re: [CentOS] system stuck with 2.6.18-128 kernel. how to move to 2.6.18-194.17?

2010-10-06 Thread Aleksey Tsalolikhin
On Wed, Oct 6, 2010 at 12:48 PM, Les Mikesell lesmikes...@gmail.com wrote:
 On 10/6/2010 2:36 PM, Aleksey Tsalolikhin wrote:

      #  mdadm /dev/md0 --add /dev/sda1
      mdadm: Cannot open /dev/sda1: Device or resource busy
      #


 Do you still have it mounted as you mentioned above?  If so, unmount it.

*Facepalm*

That was it.  Thank you.  /dev/sda1 is back in /dev/md0 and reconstruction
is in process.

  If it shows as 'failed' in /proc/mdstat you would have to use mdadm to
 remove it before adding it back.

Ah!  Got it, thanks, Les!

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


[CentOS] system stuck with 2.6.18-128 kernel. how to move to 2.6.18-194.17?

2010-10-02 Thread Aleksey Tsalolikhin
Hi.  I just noticed I had a CentOS 5.3 system that I updated to CentOS
5.5 a few days ago,
and I just ran yum -y update again to get the latest kernel, and I
just noticed it still has the old 2.6.18-128 kernel instead of the new
2.6.18-194.17.  What gives?

/etc/grub.conf points at 2.6.18-194.17, but when I reboot, 2.6.18-128 comes up.

Any suggestions?

Thanks,
-at


myserver# yum -y update
...
myserver# reboot
.

myserver# uname -a
Linux hwd-ddc-sonydb-prod 2.6.18-128.4.1.el5 #1 SMP Tue Aug 4 20:19:25
EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
myserver# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,0)
#  kernel /vmlinuz-version ro root=/dev/md1
#  initrd /initrd-version.img
#boot=/dev/md0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.17.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=/dev/md1
initrd /initrd-2.6.18-194.17.1.el5.img
title CentOS (2.6.18-194.11.4.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.11.4.el5 ro root=/dev/md1
initrd /initrd-2.6.18-194.11.4.el5.img
title CentOS (2.6.18-128.4.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.4.1.el5 ro root=/dev/md1
initrd /initrd-2.6.18-128.4.1.el5.img
myserver# rpm -q kernel
kernel-2.6.18-128.4.1.el5
kernel-2.6.18-194.11.4.el5
kernel-2.6.18-194.17.1.el5
myserver#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Server rebooted, log message kernel: Keepalive, Event:mdseve_cookie, client ping timeout

2010-07-29 Thread Aleksey Tsalolikhin
Hi.   Our CentOS 5.4 server just rebooted sponteneously while doing heavy I/O.

There is a message in /var/log/messages just prior to reboot,

kernel: Keepalive, Event:mdseve_cookie, client ping timeout

Google does not turn up anything.   What does this mean and how can I prevent
it from happening again, please?

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


Re: [CentOS] Server rebooted, log message kernel: Keepalive, Event:mdseve_cookie, client ping timeout

2010-07-29 Thread Aleksey Tsalolikhin
P.S.  I do have two kernel dumps from two reboots this morning.  But I
don't know how to read them or what to look for.  Would appreciate any
RTFM pointers.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server rebooted, log message kernel: Keepalive, Event:mdseve_cookie, client ping timeout

2010-07-29 Thread Aleksey Tsalolikhin
I analyzed the two kernel crash dumps which told me we panic'ed while
running rsync writing to a network filesystem.

I've upgraded our rsync from 2.x to 3.x and sent a copy of the crash
info to our network filesystem vendor.

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


Re: [CentOS] How can binaries be different when package versions are identical? (mkfs.ext3 on CentOS 5.4)

2010-06-30 Thread Aleksey Tsalolikhin
On Wed, Jun 30, 2010 at 1:48 AM, Peter Kjellstrom c...@nsc.liu.se wrote:
 On Wednesday 30 June 2010, Spiro Harvey wrote:
 Aleksey Tsalolikhin atsaloli.t...@gmail.com wrote:
  (a) account for the difference in the binaries, and
  (b) see if something else is different that I can make the same to get
  the mkfs.ext3 time down to 15 sec on both systems.
  Solving (a) should shed light on (b).  Any ideas?

 Look into prelinking (man prelink). A prelinker from /etc/cron.daily
 that changes the binaries with an aim to speed up execution.

Yes, actually the full rpm -V message mentions prelink:

[r...@server2 ~]# rpm -V e2fsprogs
prelink: /sbin/mkfs.ext3: at least one of file's dependencies has
changed since prelinking
S.?T/sbin/mkfs.ext3
[r...@server2 ~]#

I will RTFM on prelink.  Thank you, Spiro, all!

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


Re: [CentOS] How can binaries be different when package versions are identical? (mkfs.ext3 on CentOS 5.4)

2010-06-30 Thread Aleksey Tsalolikhin
I read up on prelink as suggested; and used ldd /sbin/mkfs.ext3 to
see what the dependencies (libraries) are.

There are 13 dependencies; file size is the same between servers but
md5sum's are different!

Most of these libraries have other libraries they call; I finally drilled down
to ld-2.5.so which is statically built.

Same thing: same file size, same datestamp, same package version; but
the binary is actually different; yet rpm -V does not complain.  Why?

(Both systems are running CentOS 5.4; one was deployed in December 2009,
the other in April 2010.)

[r...@server1 /lib64]# ls -l ld-2.5.so
-rwxr-xr-x 1 root root 139416 Sep  2  2009 ld-2.5.so
[r...@server1 /lib64]# md5sum ld-2.5.so
ad38c69452b3990852c0d3e0ea51a31b  ld-2.5.so
[r...@server1 /lib64]# ldd ld-2.5.so
statically linked
[r...@server1 /lib64]# rpm -q -f /lib64/ld-2.5.so
glibc-2.5-42
[r...@server1 /lib64]# rpm -V glibc
[r...@server1 /lib64]#


[r...@server2 /lib64]# ls -l ld-2.5.so
-rwxr-xr-x 1 root root 139416 Sep  2  2009 ld-2.5.so
[r...@server2 /lib64]# md5sum ld-2.5.so
ddb5ad336c3cf40ee2c69b91ef7bfd04  ld-2.5.so
[r...@server2 /lib64]# ldd ld-2.5.so
statically linked
[r...@server2 /lib64]#
[r...@server2 /lib64]# rpm -q -f /lib64/ld-2.5.so
glibc-2.5-42
[r...@server2 /lib64]# rpm -V glibc-2.5-42
[r...@server2 /lib64]#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How can binaries be different when package versions are identical? (mkfs.ext3 on CentOS 5.4)

2010-06-29 Thread Aleksey Tsalolikhin
Situation:  two similar servers, both with CentOS 5.4 64-bit.  Making
an ext3 filesystem on one takes seconds, on the other minutes.

Partition SizeServer 1 Server 2

1 GB  0.7 sec   0.3 sec

4 GB  2.5 sec   1.2 sec

40 GB15 sec13 min

WTF

e2fsprogs RPM is e2fsprogs-1.39-23.el5 on both systems
mkfs --version reports util-linux 2.13-pre7 on both systems
mkfs -V reports the same on both systems (mke2fs 1.3 (29-May-2006)
Using EXT2FS Library version 1.39)
file size on mkfs and mkfs.ext3 binaries is identical

However, checksum on these binaries differs across servers, and cmp
reports files are different

I took mkfs and mkfs.ext3 from server 1, put them on server 2, and
got an improvement:

40 GB15 sec3 min

Just out of curiousity, I ran rpm -V e2fsprogs to see if rpm would
pick up the difference and sure enough, it complained mkfs.ext3
changed.

Both of these servers have CentOS 5.4; Server 1 was installed in Dec
2009, Server 2 in April 2010.

I'd like to:

(a) account for the difference in the binaries, and
(b) see if something else is different that I can make the same to get
the mkfs.ext3 time down to 15 sec on both systems.

Solving (a) should shed light on (b).  Any ideas?

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


[CentOS] pppd does not work if SELinux is turned on.

2010-05-05 Thread Aleksey Tsalolikhin
On Thu, Mar 18, 2010 at 6:05 PM, Aleksey Tsalolikhin
atsaloli.t...@gmail.com wrote:
 CentOS release 5.4 (Final)

 I run pppd on this system, it accepts dial-in connections, logs people
 in over ssh/sftp.

 I had selinux disabled on this system originally, but I recently
 enabled it, and selinux
 is blocking this pppd service.

 audit2allow -M has generated the following policy based on AVC
 denial messages:


 module fixdialinserver 1.0;

 require {
        type pppd_t;
        type shadow_t;
        type chkpwd_exec_t;
        class file { read execute };
        class netlink_audit_socket create;
 }

 #= pppd_t ==
 allow pppd_t chkpwd_exec_t:file execute;
 allow pppd_t self:netlink_audit_socket create;
 allow pppd_t shadow_t:file read;


 However, I am unable to load this module due to conflict with another policy:

 # semodule -i fixdialinserver.pp
 libsepol.check_assertion_helper: assertion on line 0 violated by allow
 pppd_t shadow_t:file { read };
 libsepol.check_assertions: 1 assertion violations occured
 libsemanage.semanage_expand_sandbox: Expand module failed
 semodule:  Failed!
 #

 Is there an seboolean I can tweak to allow me to load this policy?

I used getsebool -a |grep ppp to find and enable the following three
selinux booleans:

pppd_can_insmod -- on
pppd_disable_trans -- on
pppd_for_user -- on

However pppd still does not work and policy still fails to load.

Any suggestions?

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


Re: [CentOS] Pause time

2010-04-19 Thread Aleksey Tsalolikhin
2010/4/19 cahit Eyigünlü cahit.eyigu...@gmail.com:
 i want to pause my cent os time and date in a spesific date :D is it
 possible ?

You can set your clock back a minute every minute from cron using the
date command.  Try:

 date -s now - 1 minute

If that's not good enough, you can write a loop that resets your clock
back a second every second, again using the date command.

while true
do
   date -s now - 1 second
   sleep 1
done


That should make time appear to stand still at the HH:MM:SS level.

Another possible method is to pause time itself.  However your
computer won't work any more, and will remain frozen without any
changes.

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


Re: [CentOS] httpd stopped working under SELinux so I had to turn SELinux off. libxml2.so.2: failed to map segment from shared object: Permission denied

2010-03-28 Thread Aleksey Tsalolikhin
On Thu, Mar 25, 2010 at 12:49 AM, A. Kirillov nevis...@infoline.su wrote:
 CentOS 5.4 64-bit with SELinux, happily running for over a year, suddenly
 httpd fails to start up, getting an error message like:

 Starting httpd: Syntax error on line X of /etc/httpd/conf.d/php.conf:
 Cannot load /etc/httpd/modules/libphp5.so into server: libxml2.so.2:
 failed to map segment from shared object: Permission denied

 I turned off SELinux and was able to start httpd.

 But what went wrong?  And how to fix it and turn SELinux back on?

 SElinux labels on libxml.so.2.6.26 are OK ( system_u:object_r:lib_t )
 and restorecon -n libxml.so.2.6.26 does not return anything.

 No recent AVC denied entries in /var/log/audit/audit.log or 
 /var/log/messages.


OK, here's what happened:

We had added  /opt/PostgreSQL/8.4/lib to LD_LIBRARY_PATH in
/etc/profile as we wanted our in-house python daemon to use PostgreSQL 8.4
client as we were seeing memory leak using 8.1 but not 8.4.

Turned out there was a libxml2.so.2 in the PostgreSQL lib directory
and the httpd was trying
to pick it up instead of /usr/lib64/libxml2.so.2, and failing as it
had a usr_t instead of lib_t label.

[r...@hwd-ddc-app01-prod01 modules]# ldd /etc/httpd/modules/libphp5.so
libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2b9640e52000)
libaspell.so.15 = /usr/lib64/libaspell.so.15 (0x2b964108a000)
libpspell.so.15 = /usr/lib64/libpspell.so.15 (0x2b964135a000)
libgmp.so.3 = /usr/lib64/libgmp.so.3 (0x2b964155c000)
libcurl.so.3 = /usr/lib64/libcurl.so.3 (0x2b9641795000)
libbz2.so.1 = /usr/lib64/libbz2.so.1 (0x2b96419d2000)
libz.so.1 = /usr/lib64/libz.so.1 (0x2b9641be3000)
libpcre.so.0 = /lib64/libpcre.so.0 (0x2b9641df7000)
libresolv.so.2 = /lib64/libresolv.so.2 (0x2b9642013000)
libm.so.6 = /lib64/libm.so.6 (0x2b9642229000)
libdl.so.2 = /lib64/libdl.so.2 (0x2b96424ac000)
libnsl.so.1 = /lib64/libnsl.so.1 (0x2b96426b)

libxml2.so.2 = /opt/PostgreSQL/8.4/lib/libxml2.so.2
(0x2b96428c9000)  - our culprit

libgssapi_krb5.so.2 = /usr/lib64/libgssapi_krb5.so.2
(0x2b9642b08000)
libkrb5.so.3 = /usr/lib64/libkrb5.so.3 (0x2b9642d36000)
libk5crypto.so.3 = /usr/lib64/libk5crypto.so.3 (0x2b9642fcc000)
libcom_err.so.2 = /lib64/libcom_err.so.2 (0x2b96431f1000)
libssl.so.6 = /lib64/libssl.so.6 (0x2b96433f3000)
libcrypto.so.6 = /lib64/libcrypto.so.6 (0x2b964363e000)
libidn.so.11 = /usr/lib64/libidn.so.11 (0x2b964398f000)
libc.so.6 = /lib64/libc.so.6 (0x2b9643bc)
libstdc++.so.6 = /usr/lib64/libstdc++.so.6 (0x2b9643f18000)
libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x2b9644218000)
/lib64/ld-linux-x86-64.so.2 (0x003c3e00)
libkrb5support.so.0 = /usr/lib64/libkrb5support.so.0
(0x2b9644427000)
libkeyutils.so.1 = /lib64/libkeyutils.so.1 (0x2b964462f000)
libselinux.so.1 = /lib64/libselinux.so.1 (0x2b9644832000)
libsepol.so.1 = /lib64/libsepol.so.1 (0x2b9644a4a000)
[r...@hwd-ddc-app01-prod01 modules]# ls -l /opt/PostgreSQL/8.4/lib/libxml2.so.2
-rwxr-xr-x 1 root daemon 4115398 Dec 10 02:41
/opt/PostgreSQL/8.4/lib/libxml2.so.2
[r...@hwd-ddc-app01-prod01 modules]# ls -lZ /opt/PostgreSQL/8.4/lib/libxml2.so.2
-rwxr-xr-x  root daemon user_u:object_r:usr_t
/opt/PostgreSQL/8.4/lib/libxml2.so.2
[r...@hwd-ddc-app01-prod01 modules]#

I fixed this by adding unset LD_LIBRARY_PATH to /etc/init.d/httpd. Now we load
/usr/lib64/libxml2.so.2 which has the correct label (lib_t)

I think I'll change this by moving the LD_LIBRARY_PATH setting from /etc/profile
into the startup script for the python daemon, so I can have a vanilla
/etc/init.d/httpd

Thank you very much for your help!
Aleksey
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] httpd stopped working under SELinux so I had to turn SELinux off. libxml2.so.2: failed to map segment from shared object: Permission denied

2010-03-24 Thread Aleksey Tsalolikhin
Hi.

CentOS 5.4 64-bit with SELinux, happily running for over a year, suddenly
httpd fails to start up, getting an error message like:

Starting httpd: Syntax error on line X of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: libxml2.so.2:
failed to map segment from shared object: Permission denied

I turned off SELinux and was able to start httpd.

But what went wrong?  And how to fix it and turn SELinux back on?

SElinux labels on libxml.so.2.6.26 are OK ( system_u:object_r:lib_t )
and restorecon -n libxml.so.2.6.26 does not return anything.

No recent AVC denied entries in /var/log/audit/audit.log or /var/log/messages.

I googled the above error message but all I could find were web pages in Chinese
advising to run restorecon on libxml2.so file or turn off SElinux.

Any suggestions?

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


[CentOS] How to disable selinux protection interfering with pppd? I tried audit2allow, but policy does not load. Is there an seboolean?

2010-03-18 Thread Aleksey Tsalolikhin
CentOS release 5.4 (Final)

I run pppd on this system, it accepts dial-in connections, logs people
in over ssh/sftp.

I had selinux disabled on this system originally, but I recently
enabled it, and selinux
is blocking this pppd service.

audit2allow -M has generated the following policy based on AVC
denial messages:


module fixdialinserver 1.0;

require {
type pppd_t;
type shadow_t;
type chkpwd_exec_t;
class file { read execute };
class netlink_audit_socket create;
}

#= pppd_t ==
allow pppd_t chkpwd_exec_t:file execute;
allow pppd_t self:netlink_audit_socket create;
allow pppd_t shadow_t:file read;


However, I am unable to load this module due to conflict with another policy:

# semodule -i fixdialinserver.pp
libsepol.check_assertion_helper: assertion on line 0 violated by allow
pppd_t shadow_t:file { read };
libsepol.check_assertions: 1 assertion violations occured
libsemanage.semanage_expand_sandbox: Expand module failed
semodule:  Failed!
#

Is there an seboolean I can tweak to allow me to load this policy?

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


[CentOS] Video driver for ThinkPad T61 laptop?

2010-03-05 Thread Aleksey Tsalolikhin
Hi.  Any suggestions how I can get a video driver for my ThinkPad T61 laptop?

I've got CentOS 5.4 on it but Xorg crashes when I try to change resolution, and
Xorg.log has:

(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

(--) PCI:*(0:2:0) Intel Corporation unknown chipset (0x2a02) rev 12,
Mem @ 0xf810/20, 0xe000/28, I/O @ 0x1800/3
(--) PCI: (0:2:1) Intel Corporation unknown chipset (0x2a03) rev 12,
Mem @ 0xf820/20

I didn't find one on the vendor's website.  Is there something I can do?

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


Re: [CentOS] Video driver for ThinkPad T61 laptop?

2010-03-05 Thread Aleksey Tsalolikhin
On Fri, Mar 5, 2010 at 11:13 AM, John R Pierce pie...@hogranch.com wrote:
 Aleksey Tsalolikhin wrote:
 Hi.  Any suggestions how I can get a video driver for my ThinkPad T61 laptop?

 I've got CentOS 5.4 on it but Xorg crashes when I try to change resolution, 
 and
 Xorg.log has:

 (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

 (--) PCI:*(0:2:0) Intel Corporation unknown chipset (0x2a02) rev 12,
 Mem @ 0xf810/20, 0xe000/28, I/O @ 0x1800/3
 (--) PCI: (0:2:1) Intel Corporation unknown chipset (0x2a03) rev 12,
 Mem @ 0xf820/20



 according to the http://www.pcidatabase.com   vendor 8086 (Intel) device
 2A02 is a Intel 965GM

 that should work fine with xorg-x11-drv-i810

Thanks, John.   What should I do if it doesn't?

Package xorg-x11-drv-i810-1.6.5-9.25.el5.i386 already installed and
latest version

Any suggestions?   I asked for help on the Xorg list yesterday but no
reply as yet.

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


[CentOS] X server crashes when I fire up Display or Screen Resolution control panels

2010-03-04 Thread Aleksey Tsalolikhin
Hi.  I've just installed CentOS 5.4 on my IBM T61 laptop.

By default, I get the same image (duplicate screens) on the
laptop's LCD and on the external monitor; I want to set up
separate screens but my X server crashes when I start
Display or Screen Resolution control panels or press
Function-F7 which is supposed to bring up the single screen/
multiple screens selection menu.

I am including my Xorg.log, could somebody help me sort
this out, please, or at least point me in the right direction?

I do see this:

(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found

(--) PCI:*(0:2:0) Intel Corporation unknown chipset (0x2a02) rev 12,
Mem @ 0xf810/20, 0xe000/28, I/O @ 0x1800/3
(--) PCI: (0:2:1) Intel Corporation unknown chipset (0x2a03) rev 12,
Mem @ 0xf820/20

Do I need a special video driver?

I checked http://www.linlap.com/wiki/ibm-lenovo+thinkpad+t61 which says
this laptop should work OK with recent Linux distros; and I tried the xorg.conf
mod in http://www.thinkwiki.org/wiki/Installing_Fedora_8_on_a_T61#Graphics
but X crashes when I run xrandr.

I went on the vendor website but there is no driver available - they did have
an NVIDIA driver for SUSE, but my laptop does not have an NVIDIA device
and I am running CentOS, not SUSE!

Help?

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


Re: [CentOS] Intrusion Detection

2010-03-04 Thread Aleksey Tsalolikhin
On Thu, Mar 4, 2010 at 2:02 PM, Dan Burkland dburk...@nmdp.org wrote:
 Hello all,

 I have been exploring the various intrusion detection systems available for 
 the Linux platform and was wondering what ones you all would recommend? I 
 have used AIDE before and while it is extremely easy to setup, it does not 
 support the ability to send alerts as files are changed (allows one to be 
 aware of an intrusion almost immediately).

 Thank you,

 Dan Burkland


I would use tripwire or Cfengine, run frequently, they can both send
alerts if files get changed.

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


[CentOS] How to get Bugzilla working on CentOS 5.2 with SELinux turned on?

2008-11-04 Thread Aleksey Tsalolikhin
Hi.  Has anyone figured out how to get Bugzilla working on CentOS 5.2
WITHOUT TURNING OFF SELINUX?

I've run

   chcon -R --reference=/var/www/html /path/to/bugzilla

and added the following module (generated by audit2allow), but am
still getting errors in my Web browser tryinig to use Bugzilla:

Software error:
Can't connect to the database.
Error: could not connect to server: Permission denied
Is the server running on host localhost and accepting
TCP/IP connections on port 5432?
  Is your database installed and up and running?
  Do you have the correct username and password selected in localconfig?


And there is an AVC denial as well:

type=AVC msg=audit(1225832104.970:405): avc:  denied  { connect } for
pid=30831 comm=index.cgi
scontext=user_u:system_r:httpd_sys_script_t:s0
tcontext=user_u:system_r:httpd_sys_script_t:s0 tclass=tcp_socket


Here is the module I added:

module local 1.0;

require {
type httpd_sys_script_t;
class tcp_socket setopt;
}

#= httpd_sys_script_t ==
allow httpd_sys_script_t self:tcp_socket setopt;
[EMAIL PROTECTED] selinux]#


httpd_sys_script_t ==
allow httpd_sys_script_t self:tcp_socket setopt;




I've tried running the AVC denial message through audit2allow again,
but it just produced the same module that I already have loaded.

Any suggestions?

Thanks,
Aleksey



-- 
Aleksey Tsalolikhin
UNIX System Administrator
I get stuff done!
http://www.lifesurvives.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] syslog-ng

2008-08-29 Thread Aleksey Tsalolikhin
On 8/29/08, Mag Gam [EMAIL PROTECTED] wrote:
 Hello,

 I know centos does not use syslog-ng, but I have installed it at my
 university. My intention is if a particular string appears in my
 /var/log/messages I would like to get an email alert.

Check out SWATCH:   http://swatch.sourceforge.net/

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


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

2008-08-11 Thread Aleksey Tsalolikhin
Dear Sean,

  No, there isn't.   You'd have to parse the df output to get that
value.  I suggest using the -P switch to df, so you don't have to deal
with multi-line output per filesystem.

  The following will return kilobytes of disk space used (third column
in the df -kP output):

df -kP |grep -v ^Filesystem |awk '{sum += $3} END { print sum; }  '


Best,
-at

On 8/11/08, Sean Carolan [EMAIL PROTECTED] wrote:
 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.
 ___
 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] CentOS 5.2 -- how do I choose a wireless network?

2008-08-08 Thread Aleksey Tsalolikhin
Thanks for testing the Live CD on your Inspiron laptop, Johnny.

Ok, next stop, install CentOS to the hard drive.   Thanks!

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


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-07 Thread Aleksey Tsalolikhin
Hi.  Thanks again for all your replies.

The CentOS 5.2 Live CD does include NetworkManager.

However the only choice in the Network Manager applet is Wired Network.

I then tried Ubuntu Live CD.   Using it's network manager, I was able
to browse the several local wireless networks, and to successfully
connect.

This is on an IBM T42 laptop.

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


Re: [CentOS] CentOS 5.2 -- how do I choose a wireless network?

2008-08-07 Thread Aleksey Tsalolikhin
Any suggestions on how to make this work under CentOS?   I'd prefer to
have CentOS on my laptop, to keep it the same OS as our servers.I
don't want to learn two flavors of Linux...

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


[CentOS] how to install BackupPC on CentOS 5.2 -- use Testing repository

2008-07-31 Thread Aleksey Tsalolikhin
Hi.  I just installed CentOS for the first time, to make a BackupPC server.

However, when I try to install BackupPC using yum, I get the error:

  No package backuppc available.

I searched the Testing, Extras and CentOS Plus repositories, and found
a BackupPC package only in Testing, at

http://dev.centos.org/centos/5/testing/x86_64/RPMS/backuppc-3.1.0-1.el5.centos.x86_64.rpm
 which I downloaded directly.

Just posting this in case somebody else has a similar issue.


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


[CentOS] Re: how to install BackupPC on CentOS 5.2 -- how do I use Test repository?

2008-07-31 Thread Aleksey Tsalolikhin
Ok, downloading the BackupPC RPM directly did not work to myriad
dependencies and sub-dependencies.

How do I add the Test repository to my yum config, please?

Aleksey

On 7/31/08, Aleksey Tsalolikhin [EMAIL PROTECTED] wrote:
 Hi.  I just installed CentOS for the first time, to make a BackupPC server.

 However, when I try to install BackupPC using yum, I get the error:

  No package backuppc available.

 I searched the Testing, Extras and CentOS Plus repositories, and found
 a BackupPC package only in Testing, at

 http://dev.centos.org/centos/5/testing/x86_64/RPMS/backuppc-3.1.0-1.el5.centos.x86_64.rpm
  which I downloaded directly.

 Just posting this in case somebody else has a similar issue.


 Best,
 Aleksey

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


Re: [CentOS] how to install BackupPC on CentOS 5.2 -- use Testing repository

2008-07-31 Thread Aleksey Tsalolikhin
What's a protect base?


I added the Test repository to my yum.conf and then I was able to just
yum it in.  I bet you already had the Test repository in your yum
config, dnk.

Thanks for your reply!

Aleksey

Here is what I added to /etc/yum.conf:

[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/x86_64
enabled=1



On 7/31/08, dnk [EMAIL PROTECTED] wrote:
 Do you have any sort of protect base installed?

 Priorities, etc?

 I could just yum it in when i did it.

 d





 On 31-Jul-08, at 3:40 PM, Aleksey Tsalolikhin wrote:

 
  Hi.  I just installed CentOS for the first time, to make a BackupPC
 server.
 
  However, when I try to install BackupPC using yum, I get the error:
 
  No package backuppc available.
 
  I searched the Testing, Extras and CentOS Plus repositories, and found
  a BackupPC package only in Testing, at
 
 
 http://dev.centos.org/centos/5/testing/x86_64/RPMS/backuppc-3.1.0-1.el5.centos.x86_64.rpm
  which I downloaded directly.
 
  Just posting this in case somebody else has a similar issue.
 
 
  Best,
  Aleksey
  ___
  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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: how to install BackupPC on CentOS 5.2 -- how do I use Test repository?

2008-07-31 Thread Aleksey Tsalolikhin
Thank you very much!

Response speed on this list is very impressive.

Thanks again for the help.  :)

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


[CentOS] BackupPC 3.1.0 on CentOS 5.2 triggers SE Linux denial

2008-07-31 Thread Aleksey Tsalolikhin
Hi.   I've installed BackupPC 3.1.0 from Testing repository, to Cent
OS 5.2 x86_64, and I am hitting an SE Linux denial - the httpd cannot
talk to the BackupPC socket:

type=AVC msg=audit(07/31/2008 17:18:53.623:410) : avc:  denied  {
connectto } for  pid=11767 comm=httpd
path=/var/log/BackupPC/BackupPC.sock
scontext=user_u:system_r:httpd_t:s0
tcontext=user_u:system_r:initrc_t:s0 tclass=unix_stream_socket

type=AVC msg=audit(07/31/2008 17:18:53.623:410) : avc:  denied  {
write } for  pid=11767 comm=httpd name=BackupPC.sock dev=md0
ino=39813253 scontext=user_u:system_r:httpd_t:s0
tcontext=user_u:object_r:var_log_t:s0 tclass=sock_file

Is there an easy way to fix this, like setting the BackupPC.sock file
universally writeable?  I don't know SE Linux and right now my
objective is to get BackupPC up and running.

I've turned SE Linux off for now, but that's temporary until I get a
more targeted fix.

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


Re: [CentOS] Remounting a USB flash drive

2008-07-31 Thread Aleksey Tsalolikhin
Yes.

mount diskid

where diskid is your disk device id, e.g. /dev/sdg1

You can find out what it is by running

mount

while the disk is mounted, or by checking /var/log/messages, to see
what disk ID was assigned to it when the device was first plugged in.

You might need to specify a mount-point (where the device should be mounted),

e.g. :   mount /dev/sdg1  /media/flashdrive


Hope this helps,
Aleksey

On 7/31/08, MHR [EMAIL PROTECTED] wrote:
 I've noticed that once I right click on my flash drive icon and umount
 it, in order to remount it I have to unplug it and then plug it back
 in.

 Is there a command that will accomplish the same task without the
 unplug and plug back in physics?

 Thanks.

 mhr
 ___
 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