Re: [CentOS] Virtualization software to install Windows as guest on CentOS 5 as host ?

2010-02-04 Thread Sergej Kandyla
Christopher Chan wrote:
 On Thursday, February 04, 2010 03:48 PM, Hadi Motamedi wrote:
   
 Dear All
 I need to install Windows as guest on my CentOS 5 as host . Can you
 please give me the link to download the requierd rpm package for this
 purpose ?
 Thank you
 

 yum install kvm

 Then search for virtio drivers. Redhat provides virtio block drivers for 
 Windows Vista, 7, 2008.
   
What benefits may provide me the virtio drivers ?
Also what suggestions do you have about running  win2k3, win2k8 server 
as a guests on CentOS5 kvm host ?
I'm interesting about disk organization for guest OS at first.

Thx!

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


Re: [CentOS] how to debug random server reboots

2009-06-03 Thread Sergej Kandyla
Rudi Ahlers пишет:
 Hi all,

 One of our CentOS 5.3 randomly reboots, at different times of the day,
 and I can't see why it's doing it.

 I have looked through the logs, but don't see any thing in there that
 shows me why it has rebooted. How can I debug this?

   

Hi,

try to enable kdump to get kernel dump, if this software-related issue.

http://download.swsoft.com/virtuozzo/virtuozzo4.0/docs/en/lin/VzLinuxUG/20027.htm
Using Kexec and Kdump For System Troubleshooting

yum install kexec-tools
edit /etc/grub.conf and append to the end of the kernel line: 
crashkernel=1...@16m
chkconfig kdump on
reboot

Also look this:

http://kbase.redhat.com/faq/docs/DOC-6039
How do I configure kexec/kdump on Red Hat Enterprise Linux 5?

http://kbase.redhat.com/faq/docs/DOC-2119
How can I voluntarily crash my machine to test if netdump/diskdump/kdump 
I configured works?

http://kbase.redhat.com/faq/docs/DOC-5413
My server crashes once in awhile. How can I debug it?

http://kbase.redhat.com/faq/docs/DOC-1742
My system has started to hang randomly. What information does Red Hats 
technical support need to diagnose the problem?

http://kbase.redhat.com/faq/docs/DOC-10828
My Red Hat Enterprise Linux 2.1 system had a kernel panic, an oops 
message, or is freezing for no apparent reason. How can I find out what 
is causing this?


Next, I recommend you setup and run
memtest86+.x86_64 : Stand-alone memory tester for x86 and x86-64 computers

You should ask the support to reboot machine for a night and chose the 
memtest in grub loader.
If DC has ipkvm - ask it.

Also what a network card on your server ?
I had some troubles with non-brand network card..



-- 
Best wishes, Sergej Kandyla
Всегда улыбайтесь жизни и жизнь всегда улыбнется вам!

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


[CentOS] Kernel message - Disabling IRQ #50

2009-05-28 Thread Sergej Kandyla
Hi all!

After booting the server I have this message:


irq 50: nobody cared (try booting with the irqpoll option)

Call Trace:
 IRQ  [800c17e6] __report_bad_irq+0x30/0x7d
 [800c1a19] note_interrupt+0x1e6/0x227
 [800c0f15] __do_IRQ+0xbd/0x103
 [8006e249] do_IRQ+0x13f/0x14d
 [8006ca05] default_idle+0x0/0x50
 [80060665] ret_from_intr+0x0/0xa
 EOI  [8006ca2e] default_idle+0x29/0x50
 [8004b45d] cpu_idle+0x77/0x96
 [803f3826] start_kernel+0x240/0x245
 [803f3237] _sinittext+0x237/0x23e

handlers:
[801df6c6] (usb_hcd_irq+0x0/0x55)
Disabling IRQ #50

 # cat /proc/interrupts
   CPU0   CPU1  
  0: 100127   89815252IO-APIC-edge  timer
  1:144 82IO-APIC-edge  i8042
  7:  0  0IO-APIC-edge  parport0
  8:  0  1IO-APIC-edge  rtc
  9:  0  0   IO-APIC-level  acpi
 12:   2783   1158IO-APIC-edge  i8042
 50:  82343  17657   IO-APIC-level  ehci_hcd:usb2
 58:  0 87   IO-APIC-level  ohci_hcd:usb3, HDA Intel
 66:  0  0   IO-APIC-level  ohci_hcd:usb4
 98:   14065984  0 PCI-MSI  eth0
233: 343943 698091   IO-APIC-level  ehci_hcd:usb1, ahci
NMI:   2027   2500
LOC:   89901484   89901412
ERR:  0
MIS:  0


Server works normal, but what should I do with this ? Disable a USB 
support ?

Hardware: Asus M2N-VM DVI,  Athlon X2 4800+, 6G DDR2
Centos 5.3 x86_64

If you wish, dmesg here:  http://paix.org.ua/tmp/dmesg_270509.txt

Thanks!.

 -- 
Best wishes, Sergej Kandyla


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


Re: [CentOS] Kernel message - Disabling IRQ #50

2009-05-28 Thread Sergej Kandyla
Ralph Angenendt пишет:
 Sergej Kandyla wrote:
   
 Hi all!

 After booting the server I have this message:


 irq 50: nobody cared (try booting with the irqpoll option)
 
 ^

   

Oh, thanks... currently I don't see this message after reboot with irqpoll.

Could you advice about second issue.

When booting I see

powernow-k8: Pre-initialization of ACPI failed
powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ 
processors (2 cpu cores) (version 2.20.00)
powernow-k8: Your BIOS does not provide _PSS objects.  PowerNow! does 
not work on SMP systems without _PSS objects.  Complain to your BIOS vendor.
powernow-k8: Your BIOS does not provide _PSS objects.  PowerNow! does 
not work on SMP systems without _PSS objects.  Complain to your BIOS vendor.


I googled and find next advice:

This is displayed because the CPU frequency scaling is disabled. Enable 
it by setting the AMD Cool 'n' Quiet Function in the BIOS settings to 
Auto and that warning will disappear.
(You'll find it in Advanced-CPU Configuration)

But I think that I don't need the CPU frequency scaling on the server.

What is the best solution?
Never mind about this message ?

Thanks in advice.


-- 
Best wishes, Sergej Kandyla


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


Re: [CentOS] iptables rules to limit attack, connlimit

2009-02-27 Thread Sergej Kandyla
Kai Schaetzl пишет:
 There are numerous tutorials out there how to use ratelimiting. Just 
 google.

 Kai

   
Does anyone know how to implement some functional provided by 
patch-o-matic without patching the kernel ?

centos5.2 box # iptables -A INPUT -p tcp --syn --dport 80 -m connlimit 
--connlimit-above 15 -j REJECT
iptables: Unknown error 4294967295

The idea is to limit established connections for every unique ip. This 
very helpful on the high-loaded web servers.
May be some alternatives ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-12 Thread Sergej Kandyla
Les Mikesell пишет:
 Sergej Kandyla wrote:
   
 nginx http_proxy module is universal complex solution. Also apache 
 working in prefork mode (in general cases), I don't know does 
 mod_jk\mod_proxy_ajp works in the worker-MPM mode...

 In the preforking mode apache create a child on each incoming request, 
 so it's too much expensive for resource usage.
 

 Have you actually measured this?  Preforking apache doesn't fork per 
 request, it forks enough instances to accept the concurrent connection 
 count plus a few spares.  Each child would typically handle thousands of 
 requests before exiting and requiring a new fork - the number is 
 configurable.

   
Sorry for bad explanation.
I meant that apache create a child (above MinSpareServers) for serving 
each new unique client.

I measured nginx in real life :)
On some server (~15k uniq hosts per day, ~ 100k pageviews, and with 1-3k 
concurrent tcp established connections ) with frontend(nginx) - 
backend (apache + phpfastcgi) architecture I turned off nginx proxing 
and server go away for a minute... apache forked to MaxClients (500) and 
took all memory.

Also nginx helped me protect from low-medium DDoS. When apache forked to 
maxclients, nginx could server many thousand concurrent connections. So 
I've wrote shell scripts to parse nginx logs and put IPs of bots to 
firewall table.

Therefore I find nginx (lighttpd also a good choose) enough efficient 
(at least for me). Off course you should understand what you expecting 
from nginx, what it can do and what can't.

If you want real world measurements or examples of using nginx on heavy 
loaded sites please to google. Also you could ask in the nginx at 
sysoev.ru mail list (EN).


 Also apache spend about 
 15-30Kb mem for serving each tcp connection at this time nginx only 
 1-1.5Kb. If you have, for example, abount 100 concurrent connections 
 from different IPs there is nearly 100 apache forks... it's too expensive.
 

 A freshly forked child should have nearly 100% memory shared with its 
 parent and other child instances. 
Please tell me how much resources you should have for revers proxing 
with apache for example nearly 1k-2k unique clients ?
What cpu load and memory usage will you have?

I think that apache is great software. It's very flexible and features 
rich, but it especially good as backend for dynamical applications 
(mod_php, mod_perl, etc.)
If you need to serve many thousand concurrent connections you should 
look at nginx, lighttpd, squid, etc..
IMHO.

http://www.kegel.com/c10k.html

  As things change, this will decrease, 
 but you are going to have to store the unique socket/buffer info 
 somewhere whether it is a copy-on-write fork or allocated in an 
 event-loop program.  If you run something like mod_perl, the shared 
 memory effect degrades pretty quickly because of the way perl stores 
 reference counts along with its variables, but I'd expect the base 
 apache and most module code to be pretty good about retaining their 
 inherited shared memory.

   

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


Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread Sergej Kandyla
Rainer Duffner пишет:
 Sergej Kandyla schrieb:
   
 Hi,
 apache is good as backend server for dynamic applications.
 You could use something like nginx, haproxy as frontend for balancing 
 multiple backend servers.
 I'm using nginx. This light web server could serve many thousand 
 concurrent connections! It works great!

 look at
 http://wiki.codemongers.com/NginxLoadBalanceExample
 http://blog.kovyrin.net/2006/08/25/haproxy-load-balancer/lang/en/
 http://blog.kovyrin.net/2006/05/18/nginx-as-reverse-proxy/lang/en/
 and http://highscalability.com/

   
 

 Yup. NGINX is probably the fastest way to serve content nowadays.
 But content has to be static and be available as a file (AFAIK) directly
 to NGINX.
   
No, nginx could serve any kind of content via ngx_http_proxy_module 
module http://wiki.codemongers.com/NginxHttpProxyModule
For example I'm using nginx as reverse proxy for tomcat 
servers\applications.
Also I've wrote some article about using nginx in shared hosting sphere. 
Look at http://directadmin.com/forum/showthread.php?t=27344

When content located on the some server (or via NAS\SAN) nginx could 
serve this content directly using some efficient mechanisms like sendfile
http://wiki.codemongers.com/NginxHttpCoreModule#sendfile

For serving static content nginx even more times efficient than ftp!!
On some servers with low-power hardware like celeron\sempron processors 
and 512M ram I have upload rate nearly 100mbit, It's not limit for 
nginx, its a limit of sata disks and chanel to that servers :)

As for load-balancing:
http://wiki.codemongers.com/NginxHttpUpstreamModule
http://barry.wordpress.com/2008/04/28/load-balancer-update/

 There's also varnish, if you can't meet the above provision easily.


   

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


Re: [CentOS] clustering and load balancing Apache

2009-02-11 Thread Sergej Kandyla
Florin Andrei пишет:
 Sergej Kandyla wrote:
   
 apache is good as backend server for dynamic applications.
 You could use something like nginx, haproxy as frontend for balancing 
 multiple backend servers.
 I'm using nginx. This light web server could serve many thousand 
 concurrent connections! It works great!
 

 In addition to the user-space solutions mentioned above, there are also 
 kernel-level solutions, such as Linux Virtual Server, or LVS:

 http://www.linuxvirtualserver.org/
   

IMHO it's not right compare light web server with Virtual servers.

Look at http://www.linuxvirtualserver.org/whatis.html
In this scheme you could naturally use nginx as loadbalancer on the Load 
Balancer Linux Box.

Also The mission of the project is to build a high-performance and 
highly available server for Linux using clustering 
http://en.wikipedia.org/wiki/Computer_cluster technology, which 
provides good scalability, reliability and serviceability.

If you need high-availability you could also use XEN\KVM or OpenVZ. 
These technologies are actively developing... XEN\KVM are supported 
natively in the RHEL\Centos kernel.
I'm prefer OpenVZ as light-weight virtualization.
http://wiki.openvz.org/HA_cluster_with_DRBD_and_Heartbeat

 I am under the impression that, speaking in general, user-space 
 balancers provide more features (are smarter), while the kernel-space 
 ones are faster (provide more in terms of raw speed and max load). I 
 could be wrong.

 Can anybody provide a performance comparison between, say, nginx and 
 LVS? (max connections, max new connections rate, max bandwidth, max 
 packets per second, etc.)

   

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


Re: [CentOS] clustering and load balancing Apache, using nginx

2009-02-11 Thread Sergej Kandyla
Les Mikesell пишет:
 Sergej Kandyla wrote:
   

 No, nginx could serve any kind of content via ngx_http_proxy_module 
 module http://wiki.codemongers.com/NginxHttpProxyModule
 For example I'm using nginx as reverse proxy for tomcat 
 servers\applications.
 

 Is there some advantage to this over apache with mod_jk?

   
afaik mod_jk is only available for RHEL4\Centos4 i.e apache 2.0 (of 
course you could compile it manually for apache 2.2 coming with centos5)
So, recommended way for centos5 (apache 2.2) is using mod_proxy 
(mod_proxy_ajp)

nginx http_proxy module is universal complex solution. Also apache 
working in prefork mode (in general cases), I don't know does 
mod_jk\mod_proxy_ajp works in the worker-MPM mode...

In the preforking mode apache create a child on each incoming request, 
so it's too much expensive for resource usage. Also apache spend about 
15-30Kb mem for serving each tcp connection at this time nginx only 
1-1.5Kb. If you have, for example, abount 100 concurrent connections 
from different IPs there is nearly 100 apache forks... it's too expensive.

If you don't need full power of apache flexibility as server for dynamic 
applications, why use it for simple job such as proxing ?
So, I think nginx is great as light frontend server.

example config for proxing to tomcat backend:

location / {
rewrite ^/$ /tomcatapp/ redirect;
}

location /tomcatapp {
proxy_pass http://localhost:8080/tomcatapp;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_connect_timeout 120;
proxy_send_timeout 120;
proxy_read_timeout 180;

}

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


Re: [CentOS] clustering and load balancing Apache

2009-02-10 Thread Sergej Kandyla
Anto Marky пишет:
 Hi,
 I am new to clustering and loadbalancing in apache, What is best way 
 of doing it? How do I do the clustering and what tools do I need to 
 use? Do I have those tools, I use CentOS , Do i have any tools in 
 CenOs which comes default in it? And how do I do apache load 
 balancing? should I rely on apache forums or mailing list or is there 
 any way or tool I can use in CentOS? Can any throw some vague Idea on 
 how to do it so that I start reading documents before I do it?

Hi,
apache is good as backend server for dynamic applications.
You could use something like nginx, haproxy as frontend for balancing 
multiple backend servers.
I'm using nginx. This light web server could serve many thousand 
concurrent connections! It works great!

look at
http://wiki.codemongers.com/NginxLoadBalanceExample
http://blog.kovyrin.net/2006/08/25/haproxy-load-balancer/lang/en/
http://blog.kovyrin.net/2006/05/18/nginx-as-reverse-proxy/lang/en/
and http://highscalability.com/


Another issue is keeping content synchronizing between apache servers. 
There are several solutions: NAS\SAN or programbased DRBD 
http://en.wikipedia.org/wiki/DRBD.

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


Re: [CentOS] Tomcat Monitoring

2009-01-20 Thread Sergej kandyla
Sean Carolan wrote:
 What do you use for monitoring your Apache Tomcat servers?  I have 
 used jconsole to manually connect and look at the statistics.  I'm 
 wondering if there are any standard tools for watching the health of 
 the java process. 

Hi, I'm interesting too in tomcat monitoring.
Some times i have a problems with java, for example i get
java.lang.OutOfMemoryError

some idea is monitor catalina.out log for such errors, but may be there 
are a standard tools for java monitoring\restarting.


-- 
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


Re: [CentOS] ZFS on Linux

2008-12-29 Thread Sergej kandyla
Mag Gam wrote:
 I am planning to use ZFS on my Centos 5.2 systems. The data I am
 storing is very large text files where each file can range from 10M to
 20G. I am very interested on the compression feature of ZFS, and it
 seems no other native Linux FS supports it.

 My question are: Is ZFS stable? How does it scale for very large
 filesytems, ie, 2TB to 9TB? How is the performance of fuse? I plan to
 use it on my archive server first, so data reliability is very
 important

 Any thoughts or ideas?
   

Did you look at Ext4 ?
http://en.wikipedia.org/wiki/Ext4

The ext4 filesystem can support volumes with sizes up to 1 exbibyte and 
files with sizes up to 16 TiB

At least for linux it looks better that ZFS via fuse.


-- 
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


[CentOS] suspend/resume system crash

2008-12-09 Thread Sergej Kandyla
Hi all,

I've installed CentOS 5.2 i386 (with all updates) on notebook Fujutsu 
Siemens Esprimo  U9200
Suspending works normal, but after resuming my system crashes.
There are  no messages about that in /var/log/messages, only after 
reboot system I see in gnome:


Resume Problem

Your system did not appear to resume correctly from Suspend/Hibernate. 
This may be a driver problem or a hardware problem. Check the GNOME 
Power Manager Manual for common problems.


Other hardware works normal, my lspci:

# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory 
Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI 
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio 
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express 
Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI 
Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI 
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface 
Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 
IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) 
SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller 
(rev 03)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E 
Gigabit Ethernet Controller (rev 14)
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 
802.11abg Wireless PCI Express Adapter (rev 04)


model name  : Intel(R) Pentium(R) Dual  CPU  T2390  @ 1.86GHz
MemTotal:  2066004 kB


Could you give me some advice how to fix suspend\resume ?
Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] suspend/resume system crash

2008-12-09 Thread Sergej kandyla
Hi all,

I've installed CentOS 5.2 i386 (with all updates) on notebook Fujutsu
Siemens Esprimo  U9200
Suspending works normal, but after resuming my system crashes.
There are  no messages about that in /var/log/messages, only after
reboot system I see in gnome:


Resume Problem

Your system did not appear to resume correctly from Suspend/Hibernate.
This may be a driver problem or a hardware problem. Check the GNOME
Power Manager Manual for common problems.


Other hardware works normal, my lspci:

# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface
Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller
(rev 03)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E
Gigabit Ethernet Controller (rev 14)
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x
802.11abg Wireless PCI Express Adapter (rev 04)


model name  : Intel(R) Pentium(R) Dual  CPU  T2390  @ 1.86GHz
MemTotal:  2066004 kB


Could you give me some advice how to fix suspend\resume ?
Thanks
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] suspend/resume system crash

2008-12-09 Thread Sergej kandyla
Max Hetrick wrote:
 Sergej Kandyla wrote:

   
 I've installed CentOS 5.2 i386 (with all updates) on notebook Fujutsu 
 Siemens Esprimo  U9200
 Suspending works normal, but after resuming my system crashes.
 There are  no messages about that in /var/log/messages, only after 
 reboot system I see in gnome:
 

 I have a ThinkPad, but I've never been able to get suspend/resume to 
 work right with CentOS. Hibernation, however, worked fine for me until I 
 started using disk encryption. Now, it too bombs because it can't wake 
 up my encrypted file systems.

 Have you tried seeing if hibernation works? I know it's not the same, 
 but I know I've never had a laptop that suspend/resume worked when using 
 CentOS.

   

Thanks for reply!
Yes,  hibernation (sleep mode) works fine...

I'm confused... Not only my freebsd can't work with all hardware :)
( Off course I understand that CentOS is server oriented linux, but I 
want use on desktop such  system that I'm using  on my servers. )

Also I've tried  update gnome-power-manager-2.16.0-9.el5  to  
gnome-power-manager-2.18.2-4.fc7.i386.rpm
but this didn't take a results.



-- 
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


[CentOS] Cleaning centos to minimal set of RPMS

2008-12-06 Thread Sergej Kandyla
Hi,

I want to clean a centos box to get minimal (initial) set of packages.
How I can remove all RPMS excluding minimal required  RPMS  ?

Thanks in advice!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Backup and reinstall a CentOS server

2008-09-02 Thread Sergej Kandyla

Marco Fretz wrote:

If you want to copy the whole server, use cpio. We use this to convert
phys servers to virtual.

find / | cpio -o -Hnewc | ssh -c blowfish remote server cpio -u -i -m
-d -Hnewc
  

Also you could use dump\restore utilites

mount /dev/hdb1 /mnt/hdb1
cd /mnt/hdb1
dump -0uan -f - /boot  | restore -r -f -


http://linuxscrew.com/2007/08/13/move-linux-to-another-hard-drive-dump-restore-backup/


  

- Any suggestions on BIND to log queries without SELINUX throwing a fuss?



You could use dns logining.
some example from one of my servers:

options {
.
};

logging {
channel default_log {
   file /var/log/named.log size 5k;
   severity info;
   print-time yes;
   print-category yes;
   print-severity yes;
};
channel more_log {
   file /var/log/named_extend.log size 2k;
   severity info;
   print-time yes;
   print-category yes;
   print-severity yes;
};

category default { default_log; };
category xfer-in { default_log; };
category xfer-out { default_log; };
category notify { default_log; };
category network { default_log; };

category security { more_log; };
category resolver { more_log; };
category client { more_log; };
category unmatched { more_log; };
category database { more_log; };
category lame-servers { null; };
category queries { more_log;};
};


--
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


Re: [CentOS] Control IO related to a process

2008-09-02 Thread Sergej Kandyla

Lorenzo Quatrini wrote:

Lorenzo Quatrini ha scritto:
  


nice 19 dd if=/xxx of=/xxx bs=nnn
^^

  

probably

- nice 19 dd if=/xxx of=/xxx bs=nnn
+ nice  -n 19dd if=/xxx of=/xxx bs=nnn

--
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


[CentOS] upgrade Fedora - Centos

2008-06-12 Thread Sergej Kandyla

Hi all,


Is there some way to upgrade from  Fedora Core 6 to Centos 5 (on remote 
serv) ?


Thanks in advice!

--
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


Re: [CentOS] raid 1 ( mirroring ) after installation

2008-04-04 Thread Sergej Kandyla

Mail Administrator wrote:

Dear All,

i have instlled centos 5.1 nd has been workin perfect.

i would like to implemnt raid 1 now (mirroring)

how do i acheive this on a installed system

apprecite your help

or some helpful links
  


look

_http://www.linuxconfig.org/Linux_Software_Raid_1_Setup_

_http://www.howtoforge.com/software-raid1-grub-boot-debian-etch_

_http://tldp.org/HOWTO/Software-RAID-HOWTO.html_





regards

simon
  



--
Wbr, SK

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


Re: [CentOS] MySQL 4.1 on Centos 5 ?

2008-03-17 Thread Sergej Kandyla

Sergej Kandyla wrote:

Hi All,


Could anyone tell me, how to correctly install MySQL4.1 on Centos 5 ?



Thanks, all!

The problem  is solved.

Also I've tried to run our application on default centos mysql5, but 
have some errors with sql queries.
In our application used very big, long and difficult sql queries, and 
they don't work after updating to mysql5.
I've tried to compile mysql4.1.22 and 4.1.20 by hand too, but also have 
errors. I've compiled with only options

--prefix=/usr/local/mysql4 --exec-prefix=/usr/local/mysql4
All compiled ok, and works seems ok, but our application still not work 
correctly. I don't have ideas about this matter.

May be some specific options required...I don't know.

In the end, I've downloaded precompiled mysql 4.1.22 
(http://dev.mysql.com/downloads/mysql/4.1.html#linux-x86-32bit-rpms)
unpacked it to /usr/local/mysql4, made some changes in mysql4 startup 
script, started...  and all seems working fine now :) .


PS. sorry for my EN.

--
Wbr, SK

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


[CentOS] MySQL 4.1 on Centos 5 ?

2008-03-13 Thread Sergej Kandyla

Hi All,


Could anyone tell me, how to correctly install MySQL4.1 on Centos 5 ?
By default Centos 5 comes with mysql5… If I will compile mysql4 from 
sources to separate prefix, some features may be unavailable (unix 
sockets for example).


I’m moving some critical application (online booking) based on java, 
tomcat5, mysql4.1 from old server fedora 4 to new server running Centos 
5. So, I don’t want update mysql to new version this time.



Thanks, SK

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


Re: [CentOS] MySQL 4.1 on Centos 5 ?

2008-03-13 Thread Sergej Kandyla

Mogens Kjaer wrote:

Sergej Kandyla wrote:
..
  

I’m moving some critical application (online booking) based on java,
tomcat5, mysql4.1 from old server fedora 4 to new server running Centos
5. So, I don’t want update mysql to new version this time.



Why not go for Centos 4?

  


I don’t want use outdated software and operation system, also I try not 
use testing distribs\soft in production.
Centos (5), Debian stable (Etch), FreeBSD stable (6.3, 7.0) – it’s my 
choose.



Currently mysql4 is temporary solution. I must complete the migration of 
server at first. Second, developers of the application not sure, that 
all will work correctly under mysql5.


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