Search found 64 matches

by logan
2010/08/09 16:58:56
Forum: CentOS 5 - General Support
Topic: Server won't boot - RAID1 errors
Replies: 11
Views: 2247

Re: Server won't boot - RAID1 errors

Are you sure it's a real hardware raid and not some bios/fakeraid? What controller are you using? It's talking about device-mapper and raid1. That's usually the type of thing you see with fakeraid. If it is a fakeraid and what the log says is correct, it appears that you have some bad sectors on /de...
by logan
2010/08/03 23:13:33
Forum: CentOS 5 - Webhosting Support
Topic: Vhosts
Replies: 4
Views: 979

Re: Vhosts

mod_userdir may persist across the main host and vhosts. So if you've got it enabled in /etc/httpd/conf/httpd.conf, that could explain why ~user1 is working. Or maybe that part is just confusing me... I think what you'd need to do to access a unique DocumentRoot for a specific IP address and still b...
by logan
2010/08/03 22:57:53
Forum: CentOS 5 - Webhosting Support
Topic: maximum number of vhosts?
Replies: 2
Views: 789

maximum number of vhosts?

To my knowledge Apache has no limit on vhosts. I've got 111 configured on a production box and 205 on a dev server at work, so the magic number isn't 83 anyway. :-) Commenting out Transfer/Custom/ErrorLog directives definitely sounds like you've got a problem with too many open files... You should c...
by logan
2010/08/03 22:50:35
Forum: CentOS 5 - Webhosting Support
Topic: VirtualHost precedence Apache2 5.5 (Final)
Replies: 2
Views: 1555

VirtualHost precedence Apache2 5.5 (Final)

[quote]If the external firewall IP address is used instead of the named host, it defaults to cisforchocolate.com instead of what is defined as "_default_".[/quote] That sounds right to me given your configuration: http://httpd.apache.org/docs/2.2/vhosts/details.html#hostmatching [quote]A _default_ v...
by logan
2010/08/03 21:59:30
Forum: CentOS 5 - Server Support
Topic: httpd memory usage
Replies: 3
Views: 682

Re: httpd memory usage

Probably not very easy to find out unless you're sitting right there with top, looking for out of control httpd processes or httpds that are quickly increasing in memory usage, and maybe using lsof to see what files are open. If it's a bad PHP script, the memory may not end up getting freed until th...
by logan
2010/08/03 21:29:43
Forum: CentOS 5 - Networking Support
Topic: Domain and sub-domain problems
Replies: 2
Views: 1984

Domain and sub-domain problems

If you're going to use name-based virtual hosting, you'll want to uncomment [i]#NameVirtualHost *:80[/i], then add another vhost for the primary: [code] NameVirtualHost *:80 <VirtualHost *:80> ServerName mgldev ServerAdmin jhus@mglintranet.com DocumentRoot /var/www/html </VirtualHost> <VirtualHost *...
by logan
2010/08/03 03:34:29
Forum: CentOS 5 - General Support
Topic: mysql server problem
Replies: 3
Views: 2661

mysql server problem

Some of those my.cnf values seem really huge to me, specifically key_buffer, query_cache_size, and (sort|read*)_buffer_size (I'm not familiar with the innodb tunables). Do you need that much memory for the query cache and sort buffers? I usually set my query cache pretty low, 8M or less (sometimes a...
by logan
2010/07/30 19:40:56
Forum: CentOS 5 - Networking Support
Topic: Ip address swap
Replies: 3
Views: 330

Re: Ip address swap

Did it really crash (kernel oops/panic/other) or is it just unreachable? Assuming everything ended up with the proper IP address and the interfaces came back up, it could be an ARP cache issue. I pretty regularly move vhosts around at work (to/from a dedicated box, migrating to new servers, server f...
by logan
2010/07/30 19:18:10
Forum: CentOS 5 - General Support
Topic: [SOLVED] Again - unable to mount root!
Replies: 13
Views: 5100

Re: Again - unable to mount root!

I have very little experience with logical volumes, but I don't think you can just change the root device to /dev/hdb1 since the volume is assembled with the device mapper. You could remove the 'quiet' option from the kernel line in the grub editor to try and get more information.
by logan
2010/07/23 17:02:56
Forum: CentOS 5 - General Support
Topic: [SOLVED] PHP fileinfo.so after update.
Replies: 4
Views: 5145

Re: PHP fileinfo.so after update.

Isn't php-pecl-Fileinfo-1.0.4-3.el5.centos the package that comes with CentOS 5 / built for PHP 5.1.6? Maybe you need to download a new Fileinfo package for 5.2.10 or install it yourself with pecl ([i]pecl install fileinfo[/i]). You could check apache's error_log to see if there's any more informati...

Go to advanced search