Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.57 sec)
Moocher's profile (625 points)

About: I'm a potters fan. Nuff said.
Server failing under heavy load every now and again
Asked in: Suse Linux with 5 answers
Strange VPN PPTP error on Ubuntu Server
Asked in: Ubuntu Linux with 1 answers
Packages repository for Debian or Ubuntu
Asked in: Debian Linux with 2 answers
Quickest filesystems for web servers and database servers
Asked in: Debian Linux with 1 answers
Busy site is slower on two servers not one !
Asked in: Linux Servers with 2 answers
Choice of CBQ or HTB Linux qdiscs for traffic throttling
Asked in: Linux Servers with 0 answers
Finding out an AS number for a network with using WHOIS
Asked in: Networking with 1 answers
Tool to find changelog in Debian
Asked in: Debian Linux with 2 answers
Very secure PHP ad software for counting page impressions
Asked in: Programming with 1 answers
REWARD: Custom cable for Sun Netra X1 and Xylogics terminal server
Asked in: Networking with 0 answers
Custom made ethernet to serial cable
Asked in: Linux Servers with 2 answers
REWARD: Traffic shaping and on Ubuntu Server with tc
Asked in: Ubuntu Linux with 2 answers
IPSEC VPN
Asked in: Windows Servers with 1 answers
Apparently a conntrack limit has been reached
Asked in: Unix Servers with 2 answers
REWARD: mod_expires works fine but not for some directories or files
Asked in: Suse Linux with 2 answers
REWARD: Convert hundreds of Mailboxes to another format
Asked in: Email Servers with 5 answers
Always find changelog file on Debian and Ubuntu
Asked in: Debian Linux with 1 answers
Best ways to secure PHP and Apache ?
Asked in: Linux Servers with 3 answers
Ubuntu LAMP packages at install time
Asked in: Ubuntu Linux with 2 answers
Best UK postcode database for Linux
Asked in: Fedora Linux with 4 answers
MYSQL query cache
Asked in: Linux Servers with 3 answers
Traffic shaping for Linux using tc
Asked in: Networking with 3 answers
Can I give users only access to their home directories like this in vsftpd ? /home/NEWUSERACCOUNT where NEWUSERACCOUNT is the login ? Thanks - it would lots of set up time and could be used in a script maybe.
Asked in: Linux-Servers  (3 answers)
Moocher's response: Actually this is one of the reasons I used vsftpd in the past. Inside vsftpd.conf put this: chroot_local_user=YES user_sub_token=$USER local_root=/var/www/html/$USER/downloads
I have a box that dies (seemingly when it's busy) every now and again and needs rebooted to bring back up. It's not fun. The software has rarely changed and I can't find anything in the logs. It's only about a year old and can't be dusty or anything like that. Any bright ideas ? Thanks very much.
Asked in: Suse-Linux-Servers  (5 answers)
Moocher's response: Thanks for everyone's help. After stripping the chassis down during scheduled downtime we discovered a failed fan next to the CPU (not the heat sink) and I'm pretty sure that was causing an overheating problem. Points to "s" because of the very helpful console stuff. Fingers crossed.
I have a box that dies (seemingly when it's busy) every now and again and needs rebooted to bring back up. It's not fun. The software has rarely changed and I can't find anything in the logs. It's only about a year old and can't be dusty or anything like that. Any bright ideas ? Thanks very much.
Asked in: Suse-Linux-Servers  (5 answers)
Moocher's response: Thanks for your help - it just locks up. I think I'll schedule for it to be down and take the chassis apart to check for fans etc. Might be lucky.
I'm having to use a meta refresh in a script because the Location header stuff isn't working. Any ideas ? Thanks.
Asked in: OtherProgramming  (2 answers)
Moocher's response: Note the comments about the whitespace and blank lines: http://www.linuxquestions.org/questions/programming-9/php-header-location-xxx-php-not-working-442742/
What does this Apache error message mean ? no listening sockets available
Asked in: Linux-Servers  (1 answers)
Moocher's response: I would guess that this is because something is already listening on Port 80.
I know the changelog files live in /usr/share but I can only find them by looking in that path after the package is installed. There must be a way of querying changelogs before installing a package.
Asked in: Debian-Linux-Servers  (2 answers)
Moocher's response: Ahh ! Yes, thanks :)
I have ingress traffic throttling working now, since my last post: http://www.servercircle.com/Server-Networking/Traffic-shaping-for-Linux-using-tc_281 Can someone please run me through having two qdiscs working simultaneously ? I'd pass on a £5 Amazon voucher and the points if so. The last post link above shows how I'm doing inbound shaping but I'm not sure how to set up outbound shaping when that is in use. My Ubuntu box acts a router with two NICs. Should I have inbound on one NIC and outbound on another ? Should I use HTB of CBQ ? Will there be any clashing with the two qdiscs ? Thanks in advance.
Asked in: Ubuntu-Linux-Servers  (2 answers)
Moocher's response: Excellent, thank you. I'll get the Admins to send the voucher over.
I have it working in a vhost config inside a directory statement but although I can prove one directory has htaccess working (by using deny all in it) ExpiresDefault doesn't even work. I'm testing it with LiveHTTPheaders in Firefox and clear the browser cache each time to be sure. Any ideas welcome. £5 Amazon voucher for a help fixing it and 50 Best Answer points.
Asked in: Suse-Linux-Servers  (2 answers)
Moocher's response: I couldn't get the mod_expires working in that directory but what did work was this rather nice workaround to improve page load speeds by a whooping 33% ! I put this inside .htaccess: < FilesMatch ".(php)?.*$" > RewriteEngine on RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -f RewriteRule ^([^?]*)?(.*)$ $1.gz?$2 [L] < / FilesMatch > < FilesMatch ".php.gz(?.*)?$" > AddEncoding x-gzip .gz AddType text/css .gz < / FilesMatch > One of the problems I had was my .css files contained PHP code that's why that is how it is above. I got this from here: http://www.kumarchetan.com/blog/2010/05/17/speed-up-your-web-page-serve-gzipped-content/ Hope it helps someone else in the future.
There's a lot more on the Internet now. How do I stop them testing my Apache's defences ?
Asked in: OtherProgramming  (2 answers)
Moocher's response: These might help too: http://www.servercircle.com/Linux-Servers/Fail2ban-configs-examples-to-work-out-my-own-filters-from_285 http://www.servercircle.com/ShellScripts/Simple-Regex-help-with-Fail2ban-and-the-ignoreregex-on-Apache-log-files_219
I want to be able to control how much inbound traffic the IPs on my Server receive (I've replaced the IP with one from a private range in the example below). DEV=eth0 tc qdisc del dev $DEV handle ffff: ingress tc qdisc add dev $DEV handle ffff: ingress tc filter add dev $DEV parent ffff: protocol ip prio 1 u32 match ip dst 10.10.10.10 police rate 1Mbit burst 250k drop flowid :111 This seems to work just fine but when I drop the 1Mbit parameter in tc to anything less than 256kbps the results go all screwy. Any fixes ? Is this just perculiar to the ingress qdisc ?
Asked in: Server-Networking  (3 answers)
Moocher's response: It seems that tc is not much good at throttling low values after lots of testing, not to worry 256kbps is pretty low these days and that works fine.
I have a new Server - SSH logins work but take forever to start up. My bandwidth is fine. I can't begin to guess what it is. 50 of my points available for help, it's driving me nuts.
Asked in: Server-Networking  (8 answers)
Moocher's response: Ahh, the old DNS lookups breaking the login time :)
Is this possible on Linux or Windows ? I'm only given one IP by my host.
Asked in: Linux-Servers  (5 answers)
Moocher's response: From what I've read this might still take off though, it depends on browser take-up.
I need to convert about 200 old style mailboxes into Qmail's Maildir format. What's the best way to do it ? They're not very big. Can someone help ? I will offer a £5 Amazon voucher and the fifty points for the best answer. Please state which Amazon site you'd like the voucher from as sometimes you can't spend them in different countries. Thanks.
Asked in: Email-Servers  (5 answers)
Moocher's response: Thanks very much. The users just live under /home/USER and the mailboxes are Mailbox.
I need to convert about 200 old style mailboxes into Qmail's Maildir format. What's the best way to do it ? They're not very big. Can someone help ? I will offer a £5 Amazon voucher and the fifty points for the best answer. Please state which Amazon site you'd like the voucher from as sometimes you can't spend them in different countries. Thanks.
Asked in: Email-Servers  (5 answers)
Moocher's response: Thanks for both suggestions, I'm looking for a simple script, ideally, too.
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle