Help to secure my FreeBSD/Apache installation

2013-07-17 Thread Andy Wodfer
Hi everybody! I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, php 5.3.3) and I server some websites from it, most of them using Joomla or Wordpress CMS. I recently had a security breach where someone used a hole in an older Joomla version and was able to install a php

Re: ffmpef 1.1

2013-01-15 Thread Andy Wodfer
On Tue, Jan 15, 2013 at 8:53 PM, Mark Felder f...@feld.me wrote: On Tue, 15 Jan 2013 13:47:49 -0600, Zyumbilev, Peter pe...@aboutsupport.com wrote: Hi, Does anybody know if there soon be port of ffmpeg 1.1 to FreeBSD ? I assume multimedia/ffmpeg1 just needs an update Hi, You might

Re: /tmp filesystem full

2012-08-24 Thread Andy Wodfer
Hi everybody! Thanks for answering my questions and helping me out with this problem. It's been fixed now and I managed to locate the problem with the find / -type d | awk 'length 900' command. What caused it was something that looked like a directory loop or at least a very deep list of sub

Re: /tmp filesystem full

2012-08-23 Thread Andy Wodfer
Can't seem to figure out the problem with MAXPATHLEN. locate: integer out of +-MAXPATHLEN (1024): 1029 In my /etc/locate.rc I have pruned several directories (even the most obvious) - still the locate DB exeeds well over 1GB before outputting this error message. I have moved the tmp dir for

Re: /tmp filesystem full

2012-08-23 Thread Andy Wodfer
Btw, is /etc/locate.rc being read at all? /Andy On Thu, Aug 23, 2012 at 11:04 AM, Andy Wodfer wod...@gmail.com wrote: Can't seem to figure out the problem with MAXPATHLEN. locate: integer out of +-MAXPATHLEN (1024): 1029 In my /etc/locate.rc I have pruned several directories (even

/tmp filesystem full

2012-08-22 Thread Andy Wodfer
Hi, I have about 500MB in my /tmp and it seems to be too small when the periodic LOCATE script runs every week. What's the best way to increase the size of /tmp ? Could I simply remove it and create a symbolic link ln -s to say /usr/tmp instead (where I have several hundred GBs free)? PS! This

Re: /tmp filesystem full

2012-08-22 Thread Andy Wodfer
thanks for the tip on omitting parts of the filesystem. Perhaps I need to do that. /Andreas On Wed, Aug 22, 2012 at 1:56 PM, Michael Ross g...@ross.cx wrote: On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer wod...@gmail.com wrote: Hi, I have about 500MB in my /tmp and it seems to be too small

Re: /tmp filesystem full

2012-08-22 Thread Andy Wodfer
How can I find which directories break the MAXPATHLEN variable? or can I somehow run the periodic script in verbose mode to see the output? /Andy On Wed, Aug 22, 2012 at 2:04 PM, Andy Wodfer wod...@gmail.com wrote: Thanks to all for your input! Editing /etc/periodic.rc seem to do the trick

Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails when compiling. I must admit I very rarely do it this way. Normally all software is installed from ports, but I couldn't find this version of ffmpeg there. Heres what I do: ./configure gmake and the

Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/29/12 23:48, Andy Wodfer wrote: I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails when compiling. I must admit I very rarely do it this way. Normally

Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/29/12 23:48, Andy Wodfer wrote: I'm on FreeBSD 8.2 STABLE (AMD64). I need to install the latest ffmpeg 0.10, but it fails

Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble gobble...@gmail.com wrote: On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 3:09 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 2:50 PM, Da Rock freebsd-questi

Re: Help compiling ffmpeg from source

2012-02-29 Thread Andy Wodfer
On Wed, Feb 29, 2012 at 9:46 PM, Waitman Gobble gobble...@gmail.com wrote: On Wed, Feb 29, 2012 at 12:37 PM, Andy Wodfer wod...@gmail.com wrote: On Wed, Feb 29, 2012 at 9:20 PM, Waitman Gobble gobble...@gmail.com wrote: On Feb 29, 2012 12:10 PM, Andy Wodfer wod...@gmail.com wrote

Help! Drive failing in zpool

2012-02-16 Thread Andy Wodfer
I have a drive failing and it's a member of a zpool. Since I don't deal with these things every day I thought I ask for some help... :-) I've already ordered a new drive which will arrive shortly, but I was wondering if someone could guide me through the process of taking out a drive of the pool

Help! Can't delete files ...

2011-10-19 Thread Andy Wodfer
A client has uploaded several files through a CMS and these files contain Norwegian letters (I think). Æ Ø and Å. I need to delete about 20 files, but I can't do it through the CMS nor by command line on this FreeBSD 8.1 STABLE server. There's something with the character encoding/keyboard or

Re: Help! Can't delete files ...

2011-10-19 Thread Andy Wodfer
On Wed, Oct 19, 2011 at 9:04 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote: A) learn to use wildcards. I know how to use wildcards, but I forgot to tell in my first email that there are 4 files that have almost the same filenames, so I couldn't do it this way. B) learn to use the '-i'

Re: Going STABLE in 64bit

2011-06-17 Thread Andy Wodfer
On Thu, Jun 16, 2011 at 6:00 PM, Mike Tancsa m...@sentex.net wrote: On 6/16/2011 11:49 AM, Andy Wodfer wrote: Hi, I'm running 8.2 REL. Are there any specific things to be aware of when compiling kernel and making world in 64bit? Required kernel modules etc? I sometimes forget

Going STABLE in 64bit

2011-06-16 Thread Andy Wodfer
Hi, I'm running 8.2 REL. Are there any specific things to be aware of when compiling kernel and making world in 64bit? Required kernel modules etc? I've only done this in 32bit. Thanks! Andreas --- Mvh/Rgds, Andreas Wideroe andr...@wideroe.net ___

Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Andy Wodfer
Hi, One of my FreeBSD servers is currently being attacked (DDOS) and I'm blocking IP addresses in my firewall. However, there are a large number of hung tcp connections and I want them gone. Can anyone help me with a script (command line) that can read a netstat -n and tcpdrop all IP addresses

Re: Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Andy Wodfer
On 5/24/11 4:29 PM, Andy Wodfer wrote: Hi, One of my FreeBSD servers is currently being attacked (DDOS) and I'm blocking IP addresses in my firewall. However, there are a large number of hung tcp connections and I want them gone. Can anyone help me with a script (command line) that can

Re: Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Andy Wodfer
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/24/11 4:48 PM, Andy Wodfer wrote: Thanks! That would work on all my servers except this one .. which runs 6.3 STABLE (due to some old services requiring old software). Any other suggestions? Thanks! Andy Ok, here goes: netstat

Installing .bin file?

2011-05-12 Thread Andy Wodfer
On one of my old servers I'm running FreeBSD 6.3 and I'm having some disk problems. The raid card is a Promise TX4310 and I'd like to install Webpam ( http://firstweb.promise.com/support/download/download2_eng.asp?productId=136category=utilityos=100go=GO) to swap + rebuild two broken disks and to

X-Authentication-Warning (FreeBSD 8.1 STABLE)

2011-02-25 Thread Andy Wodfer
Hi, A client is sending out a newsletter and I'm trying to set the FreeBSD server user (www) to be trusted so that I don't get this warning in the message header: X-Authentication-Warning: host.domain.net: www set sender to post@domain.netusing -f I assume this is to be set in the sendmail.cf

How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
Hi all! I'm running FreeBSD 8.0 Release on this particular server and I have a rather large root mailbox under /var/mail/root. I have set up an alias under /etc/aliases for new emails, but I need to forward all the old emails in this mailbox to an external email address. How can I do that?

Re: How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
On Sat, Feb 19, 2011 at 10:24 PM, Daniel Staal dst...@usa.net wrote: --As of February 19, 2011 9:33:26 PM +0100, Andy Wodfer is alleged to have said: 'm running FreeBSD 8.0 Release on this particular server and I have a rather large root mailbox under /var/mail/root. I have set up

Re: How to forward old root mails to an external email address?

2011-02-19 Thread Andy Wodfer
On Sat, Feb 19, 2011 at 11:14 PM, RW rwmailli...@googlemail.com wrote: On Sat, 19 Feb 2011 22:39:59 +0100 Andy Wodfer wod...@gmail.com wrote: I already tried something similare, but I keep getting command not found for formail. I was hoping there was a way of doing this without

Re: FreeBSD and large harddrives

2010-11-19 Thread Andy Wodfer
Thanks a lot to all who responded to my post. I have learned lots here. Too bad I have to find another use for my 4 x 2TB green WDC drives I have laying around. Anyways - they'll probably end up as a temp/work drive on a few Windows stations. Btw. will these drive work better in a ZFS pool/tank

Re: FreeBSD and large harddrives

2010-11-19 Thread Andy Wodfer
On Fri, Nov 19, 2010 at 9:30 AM, Peter fb...@peterk.org wrote: I tend to stay away from raid cards. With ZFS pools all you need is ZFS and any OS [easily move drives around servers], vs. raid cards have to be the same if moving/replacing/card fails. With 'ZFS: do not give it all your HDD'

FreeBSD and large harddrives

2010-11-18 Thread Andy Wodfer
Hi, I'm going to build a server that's intended to store uncompressed videofiles (where 1 hour film equals about 500GB). I plan on using Western Digital 2TB or 3TB SATA harddrives. Total storage in version 1 of this server will probably be 8-12 TB. Harddrive speed is not so important so a 5400rpm

Re: FreeBSD and large harddrives

2010-11-18 Thread Andy Wodfer
[snip] 1. Which FreeBSD version should I install? (it must support large drives). I'm currently using the standard FreeBSD 8.1 (STABLE) on several servers, but this is a 32bit version, right? I suppose I need a 64bit version when I use large harddrives? Freebsd has been 64 bit for a

Undefined symbol php_pcre_exec

2010-10-29 Thread Andy Wodfer
Hi FreeBSD-Questions-readers, This question is not exactly FreeBSD, but since I'm running FreeBSD 8.0 RELEASE on this server I was hoping this community would be able to give me some help. I'm trying to install the latest version (3.8.2144) of ResourceSpace ( http://www.resourcespace.org/ - open

Re: Undefined symbol php_pcre_exec

2010-10-29 Thread Andy Wodfer
On Fri, Oct 29, 2010 at 8:17 PM, Armin Pirkovitsch ar...@frozen-zone.orgwrote: I'd try `pkg_info -W /usr/local/lib/php/20090626/filter.so` to determine which port is responsible for that file - however it sounds imho quiet old. (I'd say it comes from security/php5-filter) My guess would be

Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-20 Thread Andy Wodfer
. 2010 kl. 21:20 skrev Andy Wodfer wod...@gmail.com: On Thu, Oct 14, 2010 at 7:56 PM, Michael Powell nightre...@hotmail.com wrote: Christer Solskogen wrote: [snip] Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone. You probably have that module already installed

Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
Hi, I'm trying to install Resin together with Apache and according to all documentation I can find I'm supposed to compile the mod_caucho and include this in the Apache httpd.conf, but I can't find any reference to mod_caucho in my ports, system or compile options. Is the documentation outdated

Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
On Thu, Oct 14, 2010 at 1:06 PM, Christer Solskogen christer.solsko...@gmail.com wrote: On Thu, Oct 14, 2010 at 10:16 AM, Andy Wodfer wod...@gmail.com wrote: Hi, I'm trying to install Resin together with Apache and according to all documentation I can find I'm supposed to compile

Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-14 Thread Andy Wodfer
On Thu, Oct 14, 2010 at 6:11 PM, Christer Solskogen christer.solsko...@gmail.com wrote: Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone. You might need to have apache[2|22] installed first. Apache was installed first. /Andy ___

Re: [SOLVED] Trouble enabling GD in php/apache

2010-09-26 Thread Andy Wodfer
On Fri, Sep 24, 2010 at 1:52 PM, Andy Wodfer wod...@gmail.com wrote: I'm running FreeBSD 8.0 RELEASE. I can't get GD enabled. I have installed latestes php5 from ports aswell as php5-extensions and enabled GD on the option screen: cd /usr/ports/lang/php5 make deinstall make clean make

Trouble enabling GD in php/apache

2010-09-24 Thread Andy Wodfer
I'm running FreeBSD 8.0 RELEASE. I can't get GD enabled. I have installed latestes php5 from ports aswell as php5-extensions and enabled GD on the option screen: cd /usr/ports/lang/php5 make deinstall make clean make rmconfig make install clean cd /usr/ports/lang/php5-extensions make deinstall

Re: Problem adding 1TB SATA disk to system

2010-09-24 Thread Andy Wodfer
On Sun, Sep 19, 2010 at 6:13 PM, freebsd-questions freebsd-questions@freebsd.org wrote: Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: Click here for our website

Re: Problem adding 1TB SATA disk to system

2010-09-24 Thread Andy Wodfer
On Thu, Sep 16, 2010 at 6:17 PM, Michael Powell nightre...@hotmail.comwrote: Andy Wodfer wrote: I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight). However, I'm having big problems adding a new harddrive to the system. I want a separate 1TB SATA installed to recover

Re: Trouble enabling GD in php/apache

2010-09-24 Thread Andy Wodfer
[snip] I had to install a new server and was surprised the extensions never loaded. However I knew from other installations that for example the gd extension should be in extensions.ini - I looked in there and it was absent. So what I had to do is to search for it. Before I did that, I had

Re: Trouble enabling GD in php/apache

2010-09-24 Thread Andy Wodfer
[snip] how bizarre. Does phpinfo() show gd? Sorry for the simple question, but it is inportant ; No it doesn't. Here's the long output of phpinfo() PHP Version 5.3.3 System FreeBSD webserver.domain.no 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009

Problem adding 1TB SATA disk to system

2010-09-16 Thread Andy Wodfer
Hi all, I'm running FreeBSD 8.0 release (will upgrade to 8.1 STABLE tonight). However, I'm having big problems adding a new harddrive to the system. I want a separate 1TB SATA installed to recover backup files on, but when I add it I only get error messages: dmesg: ad2: 953869MB WDC

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-19 Thread Andy Wodfer
Thanks for all your feedback. The problem occurs in the RAID controller BIOS (before we even boot or get to the OS install). Thanks to John for confirming these cards do work above 2TB. I will look into upgrading the firmware (on these brand new cards). Perhaps it's just the current firmware

Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Andy Wodfer
Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. We are going to use

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Andy Wodfer
On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law m...@webcontracts.co.ukwrote: Is ZFS not an option? I'm afraid ZFS is not an option for this customer. I use ZFS on other system and it works great, but here the requirement is RAID5, hotswap, hotspare and so on. Cheers, Andreas

Re: Help! locate.code /tmp: filesystem full

2009-01-15 Thread Andy Wodfer
On Wed, Jan 14, 2009 at 8:27 PM, Glen Barber glen.j.bar...@gmail.comwrote: On Wed, Jan 14, 2009 at 1:34 PM, Andy Wodfer wod...@gmail.com wrote: Hi, I'm getting an error message every week and I can't seem to understand why nor manage to fix it. Here it is: [snip] # df -h

Re: Help! locate.code /tmp: filesystem full

2009-01-15 Thread Andy Wodfer
On Wed, Jan 14, 2009 at 7:34 PM, Andy Wodfer wod...@gmail.com wrote: Hi, I'm getting an error message every week and I can't seem to understand why nor manage to fix it. Here it is: #dmesg [snip] pid 54753 (locate.code), uid 65534 inumber 23557 on /tmp: filesystem full # df -h

Help! locate.code /tmp: filesystem full

2009-01-14 Thread Andy Wodfer
Hi, I'm getting an error message every week and I can't seem to understand why nor manage to fix it. Here it is: #dmesg [snip] pid 54753 (locate.code), uid 65534 inumber 23557 on /tmp: filesystem full # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a989M 53M