7.2 to 8.0 upgrade issues

2010-05-18 Thread n dhert
Upgrading a freebsd7.2 (i386) system to 8.0 After # freebsd-update -r 8.0-RELEASE upgrade # freebsd-update install reboot # freebsd-update install I did # portupgrade -af --batch --yes after 17 hours (mostly during the night..), it finished with ---> ** Upgrade tasks 425: 199 done, 1 ignored, 3 sk

building apr1 fails

2010-05-18 Thread DA Forsyth
Hiya all Going round in circles here tryign to update apache 2.0 to 2.2 I have read UPDATING and it says to uninstall apache before updating apr. However, apr will not build, giving ===> Building for apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1 cd /usr/ports/devel/apr1/work/apr-1.4.2; /usr/bin/e

Re: Find a file with an unknown name

2010-05-18 Thread Eitan Adler
> I want to find a file that was recently created. find -newerct '1 hour ago' -print > The content within the file is known, so I can grep for that. The > directory structure that contains the file is also known. The filename > is not known. grep -R "content" __

Re: building apr1 fails

2010-05-18 Thread Michael Powell
DA Forsyth wrote: > Hiya all > > Going round in circles here tryign to update apache 2.0 to 2.2 > I have read UPDATING and it says to uninstall apache before updating > apr. Yes - the presence of 2.0 conflicts with 2.2 so it is necessary to remove first. > However, apr will not build, giving

Apache web server being attacked

2010-05-18 Thread Aiza
I put apache13 in a jail and left inbound port 80 open in my firewall. There is no domain name pointing to my web server. The content there is a small apache web application that fools web email address harvest programs into harvesting bogus email address from web page. http://www.monkeys.com/w

Re: Apache web server being attacked

2010-05-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/05/2010 11:00:16, Aiza wrote: > I put apache13 in a jail and left inbound port 80 open in my firewall. > There is no domain name pointing to my web server. The content there is > a small apache web application that fools web > email address harve

Re: Apache web server being attacked

2010-05-18 Thread Michael Powell
Aiza wrote: > I put apache13 in a jail and left inbound port 80 open in my firewall. > There is no domain name pointing to my web server. The content there is > a small apache web application that fools web > email address harvest programs into harvesting bogus email address from > web page. http

using automounter (automatically mounting USB drives)

2010-05-18 Thread Eitan Adler
How can I automatically mount USB drives when I plug them in? I found a program sysutils/automounter which appears to create a link /media/msdosfs/USB20FD but doesn't actually mount anything. ___ freebsd-questions@freebsd.org mailing list http://lists.fre

Re: Find a file with an unknown name

2010-05-18 Thread doug schmidt
On Tue, May 18, 2010 at 5:37 AM, Eitan Adler wrote: >> I want to find a file that was recently created. > > find -newerct '1 hour ago' -print you can also find all files newer than file.txt. find -newer file.txt -print > >> The content within the file is known, so I can grep for that. The >

ipfilter rules question

2010-05-18 Thread Anton Shterenlikht
I'm using ipfilter on -current. Here's a fragment of the outgoing rules: # ipfstat -on *skip* @14 pass out quick on bge0 proto udp from any to any port = 8649 keep state *skip* @18 pass out log first quick on bge0 all And I see these ipmon entries in /var/log/ipfilter.log: ipmon[765]: 00:01:0

re: building apr1 fails

2010-05-18 Thread DA Forsyth
Michael Powell nightrecon at hotmail.com Tue May 18 09:41:50 UTC 2010 Hi Mike >Yes - the presence of 2.0 conflicts with 2.2 so it is necessary to >remove first. >> However, apr will not build, giving >> >... >> >> Stop in /usr/ports/devel/apr1. >> == >> >

tar with --include Gets Much More.

2010-05-18 Thread Martin McCormick
The FreeBSD man page for tar shows --include pattern (-W include=pattern) Process only files or directories that match the specified pat- tern. Note that exclusions specified with --exclude take prece- dence over inclusions. If no inclusions ar

Interpretting 3Ware error messages

2010-05-18 Thread Doug Poland
Hello, I have a 7.2-R i386 system running a 3ware 9500S-4LP SATA 150 controller with 4 SATA drives. I recently starting seeing the following in my logs smartd[906]: Device: /dev/twa0 [3ware_disk_00], 1 Currently unreadable (pending) sectors smartd[906]: Device: /dev/twa0 [3ware_disk_00], 1 O

Re: Interpretting 3Ware error messages

2010-05-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/05/2010 15:43:25, Doug Poland wrote: > Hello, > > I have a 7.2-R i386 system running a 3ware 9500S-4LP SATA 150 > controller with 4 SATA drives. I recently starting seeing the > following in my logs > > smartd[906]: Device: /dev/twa0 [3war

Re: Find a file with an unknown name

2010-05-18 Thread Frank Shute
On Mon, May 17, 2010 at 10:15:43PM -0400, Steve Bertrand wrote: > > I want to find a file that was recently created. > > The content within the file is known, so I can grep for that. The > directory structure that contains the file is also known. The filename > is not known. > > What command stri

Re: Apache web server being attacked

2010-05-18 Thread Paul Schmehl
--On Tuesday, May 18, 2010 18:00:16 +0800 Aiza wrote: Has anyone seen this junk hitting their apache web servers or have any different explanation of what this means? Any webserver on the internet will see that crap. Generally it's preceded by a syn scan to identify hosts listening on port

Re: Interpretting 3Ware error messages

2010-05-18 Thread Doug Poland
On Tue, May 18, 2010 09:55, Matthew Seaman wrote: > > On 18/05/2010 15:43:25, Doug Poland wrote: >> Hello, >> >> I have a 7.2-R i386 system running a 3ware 9500S-4LP SATA 150 >> controller with 4 SATA drives. I recently starting seeing the >> following in my logs >> >> >> I suspect a disk pro

Problems with py-numpy

2010-05-18 Thread Arthur Barlow
I recently tried to update to py26-gtk and found that the port crashed when it tried to install py-numpy in the math ports. Py-numpy seems to throw an error when it's trying to compile a "_sort.so" shared object. Has anyone else seen this problem? ___ f

re: building apr1 fails

2010-05-18 Thread Michael Powell
DA Forsyth wrote: [snip] >> I just updated Apache to 2.2.15_5 yesterday and it builds fine when >> the above mentioned option is turned off. It was actually the day before yesterday, when it was still 2.2.15_5. > Yes indeed, I upgraded the main server yesterday and it built fine > except for h

Re: Interpretting 3Ware error messages

2010-05-18 Thread Michael Powell
Matthew Seaman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 18/05/2010 15:43:25, Doug Poland wrote: >> Hello, >> >> I have a 7.2-R i386 system running a 3ware 9500S-4LP SATA 150 >> controller with 4 SATA drives. I recently starting seeing the >> following in my logs >> >

natd in 8.1

2010-05-18 Thread Casey Scott
I recently rebuilt a server from 7.x to 8.x. Using the exact same firewall & natd config, natd appears not to be aliasing the private address when the traffic leaves the external interface. When sniffing traffic w/ tcpdump, I see the private address as the source address on the outbound reques

Re: Where has my gbde write performance gone?

2010-05-18 Thread Joseph Gleason
For whatever it is worth, if I use geli rather than gbde I get normal (~30MB/s) performance. I also get the same slow gbde performance on 8.1-PRERELEASE as of last night. I've make a kernel swaping in files from 7.2 source to see if I got any improvement. I pulled in: geom_dev.c (with some hacks

http://localhost/phpmyadmin

2010-05-18 Thread TERRY ELLENDER
How to I free Port 80 on my computer. I am trying to use XAMPP. It all loads OK and I get the start screen but when I press start a message appears syaing Busy and Program NOT responding appears above the XAMPP Box. When I do a port check it shaows that Port 80 is in use by the'system' Can

Re: http://localhost/phpmyadmin

2010-05-18 Thread Chris Rees
On 18 May 2010 16:53, TERRY ELLENDER wrote: > How to I free Port > 80 on my computer.  I am trying to use XAMPP.  It all loads OK and I get the > start screen but when I press start a message appears syaing Busy and Program > NOT responding appears above the XAMPP Box.  When I do a port check it s

Re: 7.2 to 8.0 upgrade issues

2010-05-18 Thread John Levine
># portupgrade -af --batch --yes >after 17 hours (mostly during the night..), it finished with >---> ** Upgrade tasks 425: 199 done, 1 ignored, 3 skipped and 1 failed >(no error messages here..) >Unfortunately, I didn't log the screen output to a file .. >- how can I find out what port failed and

Re: http://localhost/phpmyadmin

2010-05-18 Thread C. P. Ghost
On Tue, May 18, 2010 at 5:53 PM, TERRY ELLENDER wrote: > How to I free Port > 80 on my computer.  I am trying to use XAMPP.  It all loads OK and I get the > start screen but when I press start a message appears syaing Busy and Program > NOT responding appears above the XAMPP Box.  When I do a port

Re: natd in 8.1

2010-05-18 Thread Коньков Евгений
Здравствуйте, Casey. What does natd with '-v' options shows? what is aliasing? You must bind natd to external interface NEVER DO: any to any divert!!! NOTICE: no traffice go through this rule CS> 05000 00 divert 8668 ip from any to any out via fxp0 NEVER DO: open firewall because o

Re: http://localhost/phpmyadmin

2010-05-18 Thread Polytropon
On Tue, 18 May 2010 15:53:31 + (GMT), TERRY ELLENDER wrote: > How to I free Port > 80 on my computer. Usually by enabling (or not disabling) it in your firewall configuration (pf or ipfw). > When I do a port check it shaows > that Port 80 is in use by the'system' What utility do you

Re: 7.2 to 8.0 upgrade issues

2010-05-18 Thread Adam Vande More
On Tue, May 18, 2010 at 2:28 AM, n dhert wrote: > Upgrading a freebsd7.2 (i386) system to 8.0 > After > # freebsd-update -r 8.0-RELEASE upgrade > # freebsd-update install > reboot > # freebsd-update install > I did > # portupgrade -af --batch --yes > after 17 hours (mostly during the night..), it

I can't execute a script in crontab

2010-05-18 Thread Yavuz Maşlak
I use freebsd7.2 I wish to send a file using crontab as periodic. I have a script to send the file. When I am root, I can execute my script, but I can't execute the script using crontab. How can I run it ? cat myscript /usr/bin/scp -i /root/.ssh/id_rsa.pub /root/cpfile r...@192.168.10.9:/var

Re: USB1.1 WIFI adapted recommendation

2010-05-18 Thread mikel king
On May 14, 2010, at 3:48 PM, Chris Whitehouse wrote: mikel king wrote: I am refurbishing a laptop that only has USB1.1 and now built-in WIFI. Anyone with experience in these devices able to make a recommendation for a reliable device? I have an old Belkin F5D7050 USB wifi adapter - you ca

Re: I can't execute a script in crontab

2010-05-18 Thread Yavuz Maşlak
the script is already executable but it doesn't work -rwxrwxrwx 1 root wheel .. Either make the script executable or cron it like this: * * * * * /bin/sh /path/to/myscript -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not t

Re: I can't execute a script in crontab

2010-05-18 Thread Rodrigo Gonzalez
The script must start with #!/bin/sh and be executable On Tue, 18 May 2010 21:52:43 +0300 Yavuz Maşlak wrote: > I use freebsd7.2 > > I wish to send a file using crontab as periodic. I have a script to > send the file. > When I am root, I can execute my script, but I can't execute the > script

Re: I can't execute a script in crontab

2010-05-18 Thread Paul Schmehl
--On Tuesday, May 18, 2010 21:52:43 +0300 Yavuz Maşlak wrote: I use freebsd7.2 I wish to send a file using crontab as periodic. I have a script to send the file. When I am root, I can execute my script, but I can't execute the script using crontab. How can I run it ? cat myscript /usr/bin/sc

Re: I can't execute a script in crontab

2010-05-18 Thread Jon Radel
Either make the script executable or cron it like this: * * * * * /bin/sh /path/to/myscript -- Paul Schmehl, Senior Infosec Analyst On 5/18/10 3:40 PM, Yavuz Maşlak wrote: the script is already executable but it doesn't work -rwxrwxrwx 1 root wheel .. This list frowns on

Re: using automounter (automatically mounting USB drives)

2010-05-18 Thread David DEMELIER
2010/5/18 Eitan Adler : > How can I automatically mount USB drives when I plug them in? > I found a program sysutils/automounter which appears to create a link > /media/msdosfs/USB20FD but doesn't actually mount anything. > ___ > freebsd-questions@freebsd

Re: I can't execute a script in crontab

2010-05-18 Thread Vinny
On 05/18/2010 14:52, Yavuz Maþlak wrote: I use freebsd7.2 I wish to send a file using crontab as periodic. I have a script to send the file. When I am root, I can execute my script, but I can't execute the script using crontab. How can I run it ? cat myscript /usr/bin/scp -i /root/.ssh/id_rsa.p

Re: Apache web server being attacked

2010-05-18 Thread Aiza
Michael Powell wrote: Aiza wrote: I put apache13 in a jail and left inbound port 80 open in my firewall. There is no domain name pointing to my web server. The content there is a small apache web application that fools web email address harvest programs into harvesting bogus email address from

Re: Apache web server being attacked

2010-05-18 Thread Aiza
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/05/2010 11:00:16, Aiza wrote: I put apache13 in a jail and left inbound port 80 open in my firewall. There is no domain name pointing to my web server. The content there is a small apache web application that fools web em

apache 2.2.15_7 upgrade fails

2010-05-18 Thread n dhert
There was a upgrade today of apache: apache-2.2.15_5 < needs updating (index has 2.2.15_7) it also installed apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.9_1 but apache fails to build, Is there a solution? --- ... /usr/local/build-1/libtool --silent --mode=compile cc -I/usr

Re: apache 2.2.15_7 upgrade fails

2010-05-18 Thread Nerius Landys
> apache-2.2.15_5                     <   needs updating (index has 2.2.15_7) > it also installed apr-ipv6-devrandom-gdbm-db42 1.4.2.1.3.9_1 > but apache fails to build, > Is there a solution? I had the same problem. Then I read /usr/ports/UPDATING, and from that file its says

Re: Apache web server being attacked

2010-05-18 Thread Matthias Fechner
Hi, Am 19.05.10 05:00, schrieb Aiza: Where do I find documentation on how to enable and use apache mods rewrite and redirect? have you tried the apache.org website? There is a lot of information and examples available: http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Also google helps a