Re: [CentOS] /etc/cron.weekly/99-raid-check

2009-11-30 Thread Jancio Wodnik
W dniu 30.11.2009 14:08, Farkas Levente pisze:
> hi,
> it's been a few weeks since rhel/centos 5.4 released and there were many
> discussion about this new "feature" the weekly raid partition check.
> we've got a lot's of server with raid1 system and i already try to
> configure them not to send these messages, but i'm not able ie. i
> already add to the SKIP_DEVS all of my swap partitions (since i read it
> on linux-kernel list that there can be mismatch_cnt even though i still
> not understand why?). but even the data partitions (ie. all of my
> servers all raid1 partitions) produce this error (ie. ther mismatch_cnt
> is never 0 at the weekend). and this cause all of my raid1 partitions
> are rebuild during the weekend. and i don't like it:-(
> so my questions:
> - is it a real bug in the raid1 system?
> - is it a real bug in my disk which runs raid (not really believe since
> it's dozens of servers)?
> - the /etc/cron.weekly/99-raid-check is wrong in rhel/centos-5.4?
> or what's the problem?
> can someone enlighten me?
> thanks in advance.
> regards.
>
>   
Hi. I have this problem on my 2 servers (Both Centos 5.4) - every
weekend my raid1 set is rebuild, because 

mismatch_cnt is never 0 at the weekend. What is really going on ? My 1TB disk 
whith raid1 are rebuild every weekend.

Has anybody make bugzilla this ?


Jancio_wodnik

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


Re: [CentOS] There isn't package for httpd-2.0.52-41.ent.6.centos4 [centos announce list from 12.11.2009]

2009-11-16 Thread Jancio Wodnik
W dniu 16.11.2009 23:37, Robert Heller pisze:
> At Mon, 16 Nov 2009 21:37:47 +0100 CentOS mailing list  
> wrote:
>
>   
>>
>>
>> Hi.
>>
>> There isn't a package httpd-2.0.52-41.ent.6.centos4 for centos4 in
>> UPDATES repo. There is only a httpd-2.0.52-41.ent.6.centos4.src.rpm in
>> SRC [http://mirror.centos.org/centos/4/updates/SRPMS/?C=M;O=D]
>>
>> This is probably a bug. Package httpd doesn't build ?
>> 
> Strange... I just installed httpd-2.0.52-41.ent.6.centos4 this morning!
> Are you sure it wasn't some sort of network glitch?  Maybe the mirror
> you used was having a bad day?
>
>   

Sorry for this noise. I have installed httpd from centos plus repo, so i
don't see updates of httpd. I have httpd 2.0.63

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


[CentOS] There isn't package for httpd-2.0.52-41.ent.6.centos4 [centos announce list from 12.11.2009]

2009-11-16 Thread Jancio Wodnik
Hi.

There isn't a package httpd-2.0.52-41.ent.6.centos4 for centos4 in
UPDATES repo. There is only a httpd-2.0.52-41.ent.6.centos4.src.rpm in
SRC [http://mirror.centos.org/centos/4/updates/SRPMS/?C=M;O=D]

This is probably a bug. Package httpd doesn't build ?

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


Re: [CentOS] Automatical resync of MD, why?

2009-11-01 Thread Jancio Wodnik
Hi.

My question is the same, why so many times my RAID 1 is resynced, when i
upgrade to CentOS 5.4 ? Any idea ? With may RAID1 is no all OK ? It is
to worry about it ?

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


Re: [CentOS] mystery process "unit"

2008-08-12 Thread Jancio Wodnik

sbeam pisze:

On Tuesday 12 August 2008 09:08, Mr Shunz wrote:
  

maybe you should check with "lsof -p 3041" and see which files/pipes it
uses to have a clue.



of course! 

it's a perl w0rm that was uploaded last night, now killed. Now to determine 
how it got in.


I found some output in the main apache error log that looks like wget was used 
to download a shellbot. But I can't figure out how wget was called, may be 
some PHP exec() call that is unchecked. 


But I can't find it on the system yet or the data files it uses.

chkrootkit says all is clear.

mod_security is now being installed, belatedly. This server has only been up 1 
week, sheesh.


thanks
Sam



PS here is the link to the shellbot that was used, in case anyone is curious. 
I break up the URL to protect the innocent:


http://usuarios.lycos.es/w0rms/info.txt

have searched it and don't find anything special on the main security sites. 
Is it new?
  
Hm. And what about selinux and httpd ? Selinux is securing httpd from 
this attacks, right ? Selinux was disabled ?


Irek


___
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] rebuilding the kernel.

2008-08-09 Thread Jancio Wodnik

Akemi Yagi pisze:

On Sat, Aug 9, 2008 at 12:29 PM, Jancio Wodnik <[EMAIL PROTECTED]> wrote:
  

Yahia Tachwali pisze:



  

to check for hdlc module but I could not find it... I guess I am missing
something to activate my new settings in the menuconfig.  Is there a way to
verify that my new settings active!! Does any body know about the HDLC
modules loading in the 2.6.9. Please advise. And thank you all for your
help.
  

As i remember: hdlc is build not as module, it is core kernel module, not
module to load by modprobe - so in menuconfig is [*] with hdlc not [M] as
module.

But maybe i'm wrong.



Just to expand this a bit...

Go to Device Drivers -> Networking support -> Wan interfaces -> Wan
interface support (y or n only).

In the 'Wan interface support' menu, check 'Generic HDLC layer' (y, n, or M).

Inside the 'Generic HDLC layer', there are a few support options (y or n)

The above layout is for CentOS-5, but CentOS-5 is similar.  Hope this helps,

Akemi
  
you are right, only raw hdlc support and raw hdlc ethernet support are 
as [*]. My fault.


Irek

___
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] rebuilding the kernel.

2008-08-09 Thread Jancio Wodnik

Yahia Tachwali pisze:

Yahia Tachwali wrote:

Thank you very much for the link.. I have built a new bootable kernel 
2.6.9-67 on my machine. However I still have a problem :(


During the installation at "make menuconfig" stage after "make 
oldconfig" I have added the generic HDLC package with synchronous PPP 
support and saved the new config then run


rpmbuild -bb --target=`uname -m` kernel-2.6.spec 2> build-err.log | 
tee build-out.log.


After reboot, I rechecked the menuconfig to make sure that the HDLC 
setting is there. I am not sure if this setting took effect or I have 
to make modules or build something else. So how would I know that the 
HDLC package is availalbe and built in?


To elaborate more on the reasons behind this HDLC package, I am 
trying to build a device driver that asks for HDLC support. upon 
building the driver, I get the following warnings:


 Building modules, stage 2.
 MODPOST
*** Warning: "unregister_hdlc_device" 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: "hdlc_ioctl" 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: "hdlc_open" 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: "register_hdlc_device" 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: "hdlc_close" 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!
*** Warning: "alloc_hdlcdev" 
[/home/DS3/wanPTMC-256T3_2_0B/driver/wan256t3.ko] undefined!


Therefore, I am suspecting that I need the HDLC package available. I 
would be extremely thankful for anybody who can help me in this 
problem. Am I going into the wrong direction?




[EMAIL PROTECTED] wrote:


Johnny Hughes pisze:


[EMAIL PROTECTED] wrote:


Yahia Tachwali pisze:


Hello folks,



Hi. It is request for it to add this in kernel for centosplus, 
look at this: http://bugs.centos.org/view.php?id=3019




I am trying to add HDLC module support in the menuconfig. 
However, I am facing difficulties in rebuilding the kernel and 
modules. My main objective is to get the HDLC supported in kernel 
2.6.9. I have a CentOS 4.4 with kernel 2.6.9.42. I need help in 
finding the best way to add the HDLC support whether through 
getting an RPM package for it or refering me to the right 
procedure in rebuilding the kernel.


Thank you very much in advance for your help.



No problem.




That request was for CentOS-5, not CentOS-4 :D



? I can see: Category: [CentOS-4] kernel-centosplus My request was 
exactly for centos 4 branch, but for 5 is good too. So, can i count 
for You to make it posible in centos4 to support hdlc ?




HDLC was added to the CentOS-5 plus kernel for the latest version.

 



___
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


Sorry about the top posting :(

After reconfiguring the menuconfig to enable the HDLC suport package 
(under device drivers). I have tried also do:


modinfo hdlc

but i did not get any info in return... Also I have tried :

lsmod

to check for hdlc module but I could not find it... I guess I am 
missing something to activate my new settings in the menuconfig.  Is 
there a way to verify that my new settings active!! Does any body know 
about the HDLC modules loading in the 2.6.9. Please advise. And thank 
you all for your help.
As i remember: hdlc is build not as module, it is core kernel module, 
not module to load by modprobe - so in menuconfig is [*] with hdlc not 
[M] as module.


But maybe i'm wrong.


___
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] take plunge and yum update to 4.6

2007-12-17 Thread Jancio Wodnik

Robert - elists pisze:

Usually I am one of the first ones to do it

I have resisted this time...

It is almost the Holidays and out centos 4 boxes have been online for like 2
years or whatever

Has anyone boldly taken the plunge on any high use and/or Internet facing
Centos$ servers and done a

yum update

or a

yum -y update

without any problems at all?

:-)

 - rh
  
My centos 4.5 box x86_64 went yesterday into 4.6 but it has software 
RAID1 (2 IDE HDD - /dev/hda and /dev/hdc), after restart to new kernel 
to have an effect - system didn't boot up ...


After some hours later, i went to the server i saw on the monitor screen 
only this: GRUB (egh - remote administration)


So i staretd system form second RAID1 disk (/dev/hdc - some tweaks in 
BIOS) and system boots up as normal, then i installed again GRUB on 
these first HDD (/dev/hda) - fixed MBR and system boot up on first hdd 
as normal.


So far - i have these strange problems, but by now everything seems to 
be OK. I don't know, what causes this - some nasty BUG in kernel 
installation (another i386 machines with software RAID1 went OK)


Irens


___
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.1 distro: How to upgrade 5.0 to 5.1 with yum??

2007-11-28 Thread Jancio Wodnik

Robinson Tiemuqinke pisze:

Hi,

 Redhat announced RHEL 5.1 on Nov 07, so hopefully
CentOS 5.1 will be ready shortly. But I get kind of
nervous of the arrival of 5.1.

 My problem is: I have hundreds Centos 5.0 boxes just
finished installation and I will continue to install
and upgrade hundreds more in next few months. With the
arrival of Centos 5.1, I don't like to reinstall them
anymore but continuous upgrade instead -- if this is
possible? 


 Currently I download the Centos 5.0 upgrade packages
from mirror sites on Internet
(.../centos/5/updates/{SRPMS,i386,x86_64}/...), with
the arrival of Centos 5.1, are the existing Centos 5.0
update packages will be removed in honor of Centos 5.1
updates? or it will stay? And how about the Centos
5.1's default packages in distro?   


 Give an example here:

 2.6.18-8.1.15 version kernel is the most recently
updated kernel for Centos 5.0 distro, if the Centos
5.1 distro comes with 2.6.18-8.1.1 kernel and in
the first few weeks there are no kernel updates for
5.1, then how can I upgrade my kernel to
2.6.18-8.1.1 naturally -- will the
2.6.18-8.1.1 shows in the same update sources
directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?

 A similar question is: are the update diretories
contains only updates for 5.1 distro, or both 5.0 and
5.1?

 Any clarifications are greatly appreciated.
  
It's simply. All things from 5.0 to 5.1 will be done automatically via 
yum (as standard update) or in rare situation can be possibly depedency 
problem (when mixing different repo ?).


So don't worry. if you are really affraid - update only one box and test 
... test ... then update the rest.


I must say. In Centos 4 world all updates from 1 to 2 to 3 ... to 5 were 
go in smooth way.


Regards,

Irens


--Robinson


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

___
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] resize an image file

2007-11-21 Thread Jancio Wodnik

Jerry Geis pisze:

I have a 100G disk on an old redhat 7.3 system.

FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 9.6G  2.4G  6.7G  27% /
/dev/hda3  99G  6.1G   88G   7% /home
hda2 is 2G swap

I am trying to back that complete image up on my centos 5 system.
I can do the dd if=/dev/hda bs=1M | ssh [EMAIL PROTECTED] 'cat > disk.img'
which gets me the whole 100G.

As you can see most of the disk is unused.
Is there a way to trim the resulting image to only be 10G instead of 
100G?


Thanks,

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



Hi. Did you try: partimage ? Very handy tool.

http://www.digitalissues.co.uk/html/os/misc/partimage.html

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