Apache - bandwidth usage limit per vhost

2010-03-09 Thread Ozgur Kazancci
Hello everyone, I'd like to set a (monthly) bandwidth quota limit to my Apache virtualhosts. For instance, domain.com would have an amount of 10G/Month bandwidth limit (and in case of exceeding the limit, it'd get redirected to a "Bandwidth limit exceeded" alert page.) Apache doesn't come with su

Re: Apache - bandwidth usage limit per vhost

2010-03-09 Thread Ozgur Kazancci
more far.. Any ideas for "structure has no member named `sin_addr'" error? Many thanks, Best Regards. // Ozgur Kazancci

Re: Apache - bandwidth usage limit per vhost

2010-03-11 Thread Ozgur Kazancci
rt /usr/sbin/apachectl start: httpd started Do you have any suggestions? Kind Regards. --- Ozgur Kazancci

Re: Apache - bandwidth usage limit per vhost

2010-03-11 Thread Ozgur Kazancci
Oh, my mistake.. I forgot that it was a jailed httpd. There was a "File Not Found: /usr/lib/apache/modules/mod_throttle.so" message in the error_log, but the file was already there (out of chroot path). So, I copied the mod_throttle.so file into /var/www/conf/modules and changed the path of Loa

apachectl restart bug?

2010-03-11 Thread Ozgur Kazancci
pd started # apachectl restart /usr/sbin/apachectl restart: httpd restarted <--httpd stopped but didn't start again # apachectl stop /usr/sbin/apachectl stop: httpd (pid 947?) not running # apachectl start /usr/sbin/apachectl start: httpd started System: OpenBSD 4.6-stable with the

Re: Apache - bandwidth usage limit per vhost

2010-03-11 Thread Ozgur Kazancci
> Just curious.. did 'apachectl graceful' tell you anything about that missing file when testing? -- No, 'apachectl graceful' did not give any error.

Re: Apache - bandwidth usage limit per vhost

2010-03-11 Thread Ozgur Kazancci
> > Just curious.. did 'apachectl graceful' tell you anything about that > > missing file when testing? > > That's my first and favorite debug command for apache esp. in production > > env. > > > > > > > Sorry!! I meant to ask about 'apachectl configtest'. THAT is my > favorite -- No error.

errata46.html update

2010-03-12 Thread Ozgur Kazancci
Same name, two different files: http://www.openbsd.org/errata46.html $OpenBSD: errata46.html,v 1.9 2010/03/12 14:51:33 jasper Exp $ http://openbsd.org/errata46.html $OpenBSD: errata46.html,v 1.7 2010/03/08 21:53:37 deraadt Exp $ Am i missing something? Regards. -- Ozgur Kazancci

Hardening OpenBSD : Just delete!

2010-03-14 Thread Ozgur Kazancci
Hello. Is this a joke? (Removing OpenBSD unnecessary and/or dangerous files) http://geodsoft.com/howto/harden/OpenBSD/remove.txt ( http://geodsoft.com/howto/harden/OpenBSD/remove_files.htm ) -- Ozgur

Re: Hardening OpenBSD : Just delete!

2010-03-14 Thread Ozgur Kazancci
- Matthias Kilian wrote: > On Sun, Mar 14, 2010 at 08:51:05PM +0100, Otto Moerbeek wrote: > > > > ( http://geodsoft.com/howto/harden/OpenBSD/remove_files.htm ) > > > > > > He forgot to remove sh(1), unvis(1) and chmod(1). > > > > and getty(8), login(8), and /bsd > > Better remove the mainbo

Re: Abnormally slow and unstable cvs process

2010-03-27 Thread Ozgur Kazancci
/etc/hostname.bge0 Regards. -- Ozgur Kazancci - Ozgur Kazancci wrote: > Hello. > > I have a new computer that i'll control remotely, (a Dell PowerEdge 860) > it has a newly installed OpenBSD 4.6. > > When i try to get the src source via cvs, the progress goes extremely slo

httpd segmentation fault

2010-03-31 Thread Ozgur Kazancci
Hello. My PhpMyAdmin was stopping the requests randomly, and all i was getting was a blank page. I checked the error_log, lots of Segmentation Faults were there; error_log [Wed Mar 31 10:04:11 2010] [notice] child pid 9954 exit signal Segmentation fault (11) [Wed Mar 31 10:04:11 2010] [notice]

Re: httpd segmentation fault

2010-03-31 Thread Ozgur Kazancci
- Toni Mueller wrote: > Hi, > > On Wed, 31.03.2010 at 14:03:06 -0400, Devin Ceartas > wrote: > > I suppose it should be "5.2.11 or later" my machine running 4.6 > > stable has 5.2.12 installed from ports > > looking into CVS, it turns out that 5.2.10 is in 4.6-release, while > 5.2.12 is in

pkg_add -F update downgrades the packages

2010-04-10 Thread Ozgur Kazancci
Hello. pkg_add -nui -F update -F updatedepends downgrades packages to their lower versions. output: Candidates for updating mysql-client-5.0.89 -> mysql-client-5.0.83 Candidates for updating mysql-server-5.0.89 -> mysql-server-5.0.83 Candidates for updating p5-DBD-mysql-4.010 -> p5-DBD-mysql-4.01

weird maildirmake problem

2010-04-20 Thread Ozgur Kazancci
Hi, I've a strange problem; I installed an OpenBSD mail server last day with Postfix, Courier-Imap..etc Everything was working fine, until i wanted to re-create an e-mail account. Now, when i'm trying to make user's directory, (as root) /usr/local/bin/maildirmake -q 1000S /var/vmail/domain.