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
>> directory structure that contains the file is also known. The filename
>> is not known.
>
> grep -R "content" 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apache signal bus error (10)

2010-04-28 Thread doug schmidt
On Wed, Apr 28, 2010 at 4:26 PM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> doug schmidt wrote:
>> On Wed, Apr 28, 2010 at 3:44 PM, Greg Larkin  wrote:
>>> -BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> doug schmidt wrote:
>>>> On Wed, Apr 28, 2010 at 1:44 PM, doug schmidt
>>>>  wrote:
>>>>> On Wed, Apr 28, 2010 at 11:28 AM, doug schmidt
>>>>>  wrote:
>>>>>> On Wed, Apr 28, 2010 at 10:23 AM, Greg Larkin  
>>>>>> wrote:
>>>>>>> -BEGIN PGP SIGNED MESSAGE-
>>>>>>> Hash: SHA1
>>>>>>>
>>>>>>> doug schmidt wrote:
>>>>>>>> On a 7.3-release box, I upgraded to php 5.3.2 + extensions. All seems
>>>>>>>> [Tue Apr 27 16:08:37 2010] [notice] child pid 37609 exit signal Bus 
>>>>>>>> error (10)
>>>>>>>>
>>>>>>> Check out this page:
>>>>>>> http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround
>>>>>> I'll give the script a try and see. If not, at least I know the
>>>>>> specific extension
>>>>>> and can test moving the order it is in.
>>>>>>
>>>>> I've tried using the script, then moving the session.so extension one
>>>>> after the other.
>>>>> Restarting apache each time and the same bus error.
>>>>>
>>>>> any other ideas?
>>>>>
>>>> I now have everything commented out in extensions.ini except for session.so
>>>> There is no bus error, so I'll test moving the extensions order some
>>>> more. Find it
>>>> sooner or later. Real pain, that the order on one box, does not matter
>>>> on another
>>>> box.
>>
>>> Do you get a core file anywhere from the Apache process?  It would be
>>> interesting to get a backtrace so you can figure out what module is
>>> causing the problem.
>>
>> Hi Greg,
>> Unfortunately, no core files anywhere.
>>
>> The problem looks like session.so and mysql.so
>>
>> With all extensions uncommented, session.so uncommented, mysql.so commented 
>> out
>> no bus error.
>>
>> All extensions uncommented, mysql.so uncommented, session.so commented out
>> no bus error.
>>
>> All extensions commented out, mysql.so commented out, session.so uncommented
>> no bus error.
>>
>> All extensions commented out, session.so commented out, mysql.so uncommented
>> no bus error.
>>
>> All extensions commented out, session.so and mysql.so uncommented
>> bus error.
>>
>> thanks.
>> doug
>
> Hi Doug,
>
> What happens if you swap the order of session.so and mysql.so and try
> the same tests?  From what I see on this page
> (http://forums.freebsd.org/archive/index.php/t-927.html), mysql.so
> should go before session.so.
>
> If that results in the same problems, that's when I start firing up the
> Apache process with truss to see what's called before the bus error.
> You can do that like so:
>
> truss -f -a -s 256 -o /tmp/apache.log /usr/local/sbin/httpd
>
> Then reproduce the bus error and stop the main Apache process.
> /tmp/apache.log may contain some clues about what the processes were
> doing before the crash, especially if you search for "php", "session" or
> "mysql" in the file.
>

Nice. we are in business. apc.so was in extensions.ini but the file was not
in the path. I installed pecl-APC. Also, there was a typo in extensions.ini
for pgsql

thanks for your help.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apache signal bus error (10)

2010-04-28 Thread doug schmidt
On Wed, Apr 28, 2010 at 3:44 PM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> doug schmidt wrote:
>> On Wed, Apr 28, 2010 at 1:44 PM, doug schmidt
>>  wrote:
>>> On Wed, Apr 28, 2010 at 11:28 AM, doug schmidt
>>>  wrote:
>>>> On Wed, Apr 28, 2010 at 10:23 AM, Greg Larkin  wrote:
>>>>> -BEGIN PGP SIGNED MESSAGE-
>>>>> Hash: SHA1
>>>>>
>>>>> doug schmidt wrote:
>>>>>> On a 7.3-release box, I upgraded to php 5.3.2 + extensions. All seems
>>>>>> [Tue Apr 27 16:08:37 2010] [notice] child pid 37609 exit signal Bus 
>>>>>> error (10)
>>>>>>
>>>>> Check out this page:
>>>>> http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround
>>>> I'll give the script a try and see. If not, at least I know the
>>>> specific extension
>>>> and can test moving the order it is in.
>>>>
>>> I've tried using the script, then moving the session.so extension one
>>> after the other.
>>> Restarting apache each time and the same bus error.
>>>
>>> any other ideas?
>>>
>> I now have everything commented out in extensions.ini except for session.so
>> There is no bus error, so I'll test moving the extensions order some
>> more. Find it
>> sooner or later. Real pain, that the order on one box, does not matter
>> on another
>> box.

> Do you get a core file anywhere from the Apache process?  It would be
> interesting to get a backtrace so you can figure out what module is
> causing the problem.

Hi Greg,
Unfortunately, no core files anywhere.

The problem looks like session.so and mysql.so

With all extensions uncommented, session.so uncommented, mysql.so commented out
no bus error.

All extensions uncommented, mysql.so uncommented, session.so commented out
no bus error.

All extensions commented out, mysql.so commented out, session.so uncommented
no bus error.

All extensions commented out, session.so commented out, mysql.so uncommented
no bus error.

All extensions commented out, session.so and mysql.so uncommented
bus error.

thanks.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apache signal bus error (10)

2010-04-28 Thread doug schmidt
On Wed, Apr 28, 2010 at 1:44 PM, doug schmidt
 wrote:
> On Wed, Apr 28, 2010 at 11:28 AM, doug schmidt
>  wrote:
>> On Wed, Apr 28, 2010 at 10:23 AM, Greg Larkin  wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> doug schmidt wrote:
>>>> On a 7.3-release box, I upgraded to php 5.3.2 + extensions. All seems
>>
>>>> [Tue Apr 27 16:08:37 2010] [notice] child pid 37609 exit signal Bus error 
>>>> (10)
>>>>
>>
>>> Check out this page:
>>> http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround
>>
>> I'll give the script a try and see. If not, at least I know the
>> specific extension
>> and can test moving the order it is in.
>>
>
> I've tried using the script, then moving the session.so extension one
> after the other.
> Restarting apache each time and the same bus error.
>
> any other ideas?
>

I now have everything commented out in extensions.ini except for session.so
There is no bus error, so I'll test moving the extensions order some
more. Find it
sooner or later. Real pain, that the order on one box, does not matter
on another
box.

doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apache signal bus error (10)

2010-04-28 Thread doug schmidt
On Wed, Apr 28, 2010 at 11:28 AM, doug schmidt
 wrote:
> On Wed, Apr 28, 2010 at 10:23 AM, Greg Larkin  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> doug schmidt wrote:
>>> On a 7.3-release box, I upgraded to php 5.3.2 + extensions. All seems
>
>>> [Tue Apr 27 16:08:37 2010] [notice] child pid 37609 exit signal Bus error 
>>> (10)
>>>
>
>> Check out this page:
>> http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround
>
> I'll give the script a try and see. If not, at least I know the
> specific extension
> and can test moving the order it is in.
>

I've tried using the script, then moving the session.so extension one
after the other.
Restarting apache each time and the same bus error.

any other ideas?

thanks.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: apache signal bus error (10)

2010-04-28 Thread doug schmidt
On Wed, Apr 28, 2010 at 10:23 AM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> doug schmidt wrote:
>> On a 7.3-release box, I upgraded to php 5.3.2 + extensions. All seems

>> [Tue Apr 27 16:08:37 2010] [notice] child pid 37609 exit signal Bus error 
>> (10)
>>

> Check out this page:
> http://www.pingle.org/2007/09/22/php-crashes-extensions-workaround

Greg, I've seen this before when I was dealing with php cli dumping core.
I did not think about this since I was not getting any core dumps.

I'll give the script a try and see. If not, at least I know the
specific extension
and can test moving the order it is in.

thanks.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ruby portupgrade error

2010-04-28 Thread doug schmidt
On Wed, Apr 28, 2010 at 1:20 AM, n dhert  wrote:
> there was an upgrade to ruby giving error:
> how to fix it?
> ...
> cc -I/usr/include -O2 -fno-strict-aliasing -pipe  -fPIC    -DRUBY_EXPORT
> -L.  -r
> path=/usr/lib:/usr/local/lib -rdynamic   main.o  libruby18-static.a -lrt
> -lcrypt
>  -lm -L/usr/lib  -rpath=/usr/lib:/usr/local/lib  -o miniruby
> libruby18-static.a(process.o)(.text+0x1b40): In function `proc_exec_v':
> : undefined reference to `rb_thread_stop_timer_fake'
> libruby18-static.a(process.o)(.text+0x25ad): In function `rb_proc_exec':
> : undefined reference to `rb_thread_stop_timer_fake'
> *** Error code 1
> Stop in /usr/ports/lang/ruby18/work/ruby-1.8.7-p248.
> *** Error code 1
> Stop in /usr/ports/lang/ruby18.
> *** Error code 1
> Stop in /usr/ports/lang/ruby18.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20100428-83
> 762-bmz4km-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=ruby+nopthreads-1.8.7.248
> ,1 UPGRADE_PORT_VER=1.8.7.248,1 make FETCH_BEFORE_ARGS=-q
> DEPENDS_TARGET=package
> ** Fix the problem and try again.
> --->  Build of lang/ruby18 ended at: Wed, 28 Apr 2010 07:09:13 +0200
> (consumed 0
> 0:00:38)
> --->  Upgrade of lang/ruby18 ended at: Wed, 28 Apr 2010 07:09:13 +0200
> (consumed
>  00:00:38)
> --->  ** Upgrade tasks 2: 1 done, 0 ignored, 0 skipped and 1 failed
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>        + net/openldap24-client (openldap-client-2.4.21)
>        ! lang/ruby18 (ruby+nopthreads-1.8.7.248,1)     (new compiler error)
> --->  Packages processed: 1 done, 0 ignored, 0 skipped and 1 failed
> --->  Session ended at: Wed, 28 Apr 2010 07:09:15 +0200 (consumed 00:01:59)

im having the same issue with latest update;

libruby18-static.a(process.o)(.text+0x1b40): In function `proc_exec_v':
: undefined reference to `rb_thread_stop_timer_fake'
libruby18-static.a(process.o)(.text+0x25ad): In function `rb_proc_exec':
: undefined reference to `rb_thread_stop_timer_fake'
*** Error code 1
Stop in /usr/ports/lang/ruby18/work/ruby-1.8.7-p248.
*** Error code 1
Stop in /usr/ports/lang/ruby18.
*** Error code 1
Stop in /usr/ports/lang/ruby18.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20100428-90970-837af7-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=ruby+nopthreads-1.8.7.248,1 UPGRADE_PORT_VER=1.8.7.248,1
make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! lang/ruby18 (ruby+nopthreads-1.8.7.248,1) (new compiler error)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


apache signal bus error (10)

2010-04-27 Thread doug schmidt
On a 7.3-release box, I upgraded to php 5.3.2 + extensions. All seems
to be working fine with our php developed application,
however when I start apache, I get this in the apache error log;

[Tue Apr 27 16:08:33 2010] [notice] Apache/2.2.14 (FreeBSD) PHP/5.3.2
with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/1.0.0 DAV/2 configured --
resuming normal operations
[Tue Apr 27 16:08:37 2010] [notice] child pid 37609 exit signal Bus error (10)

This bus error only happens a few seconds after starting apache. In
trying to track this down, I find that the culprit is
"extension=session.so" in extensions.ini
If I comment this out, there is no bus error.

Anything else I can do to try and resolve this?

thanks.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there PHP 5.2.x in ports? yes.

2010-04-26 Thread doug schmidt
2010/4/23 Антон Клесс :
> There are no archivers/php52-zlib.
> So, it is unavailable to install lang/php52 with lang/php5-extensions,
> having zlib extension choosen at make config.
>

looks like these ports are making it into the tree also, I just did a
portsnap fetch update this morning
and I see these ports now. on friday, there was only lang/php52, some
updates over the weekend
now have the extensions.


> 2010/4/24 Olivier Mueller 
>>
>> On Fri, 2010-04-23 at 15:34 -0400, doug schmidt wrote:
>> > On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller 
>> > wrote:
>> > > And if you are patient, some devs are planing to add a php52 port,
>> > > there
>> > > is even something in the PR DB :
>> > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772  (but I don't
>> > > know how active they are, maybe asking on freebsd-ports would be
>> > > better).
>> >
>> > lang/php52 has been added to the ports tree.
>>
>> wow, that was quick... cool! thanks for the information :)
>> ( http://www.freebsd.org/cgi/ports.cgi?query=php52&stype=all&sektion=all )
>>
>> regards,
>> Olivier
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org"
>
>
>
> --
> С уважением,
> Антон Клесс,
> http://kless.spb.ru/
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Is there PHP 5.2.x in ports?

2010-04-23 Thread doug schmidt
On Thu, Apr 22, 2010 at 3:18 PM, Olivier Mueller  wrote:
> On Thu, 2010-04-22 at 22:06 +0300, Eitan Adler wrote:
>> >   Is there 5.2.x in ports, or is there other way to get it installed?
>> >   For MySQL, for example, there are both 5.0.x and 5.1.x in ports.
>>
>> php 5.2 is not currently in the ports system. You could get it by
>> using porteasy or portdowngrade.
>
> And if you are patient, some devs are planing to add a php52 port, there
> is even something in the PR DB :
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145772  (but I don't
> know how active they are, maybe asking on freebsd-ports would be
> better).

lang/php52 has been added to the ports tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: Is there PHP 5.2.x in ports?

2010-04-23 Thread doug schmidt
On Fri, Apr 23, 2010 at 1:53 AM, Антон Клесс  wrote:
> portdowngrade seems is what I need.
[...]
>
> Which option do I have to choose?     6  2010/04/05 18:57:38  5.2.12   - as 
> the latest 5.2.x in list?

yes. the latest 5.2.x

> And, if I downgrade PHP to that version, do I have to downgrade something 
> else? At least,  lang/php5-extensions, I guess?
>

i had to do the same last week. i downgraded both lang/php5 and
lang/php5-extensions. php5-extensions was a little
fussy due to some ports being removed from the tree as they were now
included in php5-5.3.2 base. here is a link in
the archive from when i had to downgrade, if you have similar issues;

http://www.mail-archive.com/freebsd-questions@freebsd.org/msg231377.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: downgrade php5

2010-04-16 Thread doug schmidt
On Thu, Apr 15, 2010 at 10:10 PM, Greg Larkin  wrote:

> I hope your environment is stable again, and please continue to post
> with any questions or issues, and we'll do our best to help you resolve
> them.

Thanks for all the info you provided. Currently the environment is stable.
Over the next week or so, I will be working with our developers for a plan
to move our applications to php 5.3.x

doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: downgrade php5

2010-04-15 Thread doug schmidt
On Wed, Apr 14, 2010 at 9:08 PM, Greg Larkin  wrote:
>
> Hi Doug,
>
> I just realized I should have specified 2010-04-01 as the checkout date,
> just to be a bit safer.

Hope this is not a late joke.  8-)

>
> php5-zip still exists in the ports tree, and a new patch file was
> imported for the 5.3.2 upgrade.  For any directory that you check out
> with the datestamp, make sure to do an "rm -rf" on it first to ensure
> that you don't have a mix of old and new files.
>
> After you do that, php5-zip should compile cleanly.
>
> Regards,
> Greg

php5-zip compiled cleanly. Checking through my php_error.log these ports
were also removed, and I install them after cvs co.

php5-wddx
php5-ming
php5-dbase
php5-ncurses
php5-spl

Going back to php5-extensions, a make install complains; (about ming,
dbase, and ncurses)

[r...@test /usr/ports/lang/php5-extensions]# make install
Unknown extension ncurses for PHP 5.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

However, checking with our developers, we don't use any of these so
in, make config I unchecked them.
php5-extensions install finished. I'll check with our QA folk and see
that the applications are working.

thanks again.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: downgrade php5

2010-04-14 Thread doug schmidt
On Wed, Apr 14, 2010 at 6:47 PM, Greg Larkin  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> doug schmidt wrote:
>> On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin  wrote:
>>> Hi Doug,
>>>
>>> For any port that is no longer present in the tree because it's bundled
>>> with PHP 5.3.2, please use these commands to restore them:
>>>
>>>    export CVS_RSH=ssh    # or "setenv CVS_RSH ssh" if csh
>>>    cd /usr/ports
>>>    cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D
>>> '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre
>>>
>>> Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the
>>> other / values that you need.
>>>
>>
>> Hi Greg,
>> Seems to be complaining about devel directory;
>>
>> [r...@test /usr/ports]# cvs -d
>> :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d
>> devel/php5-pcre ports/devel/php5-pcre
>> cvs [checkout aborted]: could not change directory to requested
>> checkout directory `devel': No such file or directory
>> [r...@test /usr/ports]# ls -ld devel
>> drwxr-xr-x  3212 root  wheel  75264 Apr 13 14:15 devel
>>
>> thanks.
>> doug
>>
>
> Hi Doug,
>
> Sorry about that - I thought the -d option accepted multi-level
> directories.  This works:
>
>    cd /usr/ports/devel
>    cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D
> '2009-03-31' -d php5-pcre ports/devel/php5-pcre
>
> Hope that helps,
> Greg

Greg, that did the trick for php5-pcre.

Moving along with php5-extensions install, I now have an issue with php5-zip
getting patched. The same error comes up with make install of php5-extensions,
so I tried doing a checkout of previous date;

[r...@test /usr/ports/archivers]# cvs -d
:ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d
php5-zip ports/archivers/php5-zip
? php5-zip/files
cvs checkout: Updating php5-zip
U php5-zip/Makefile
cvs checkout: Updating php5-zip/files
[r...@test /usr/ports/archivers]# cd php5-zip
[r...@test /usr/ports/archivers/php5-zip]# make install
=> php-5.2.12.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://dk.php.net/distributions/.
php-5.2.12.tar.bz2100% of 8862 kB  338 kBps 00m00s
===>  Extracting for php5-zip-5.2.12_2
=> MD5 Checksum OK for php-5.2.12.tar.bz2.
=> SHA256 Checksum OK for php-5.2.12.tar.bz2.
===>  Patching for php5-zip-5.2.12_2
===>  Applying FreeBSD patches for php5-zip-5.2.12_2
1 out of 1 hunks failed--saving rejects to config.m4.rej
=> Patch patch-config.m4 failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/archivers/php5-zip.

thanks for your help on this.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: downgrade php5

2010-04-14 Thread doug schmidt
On Wed, Apr 14, 2010 at 5:08 PM, Greg Larkin  wrote:
>
> Hi Doug,
>
> For any port that is no longer present in the tree because it's bundled
> with PHP 5.3.2, please use these commands to restore them:
>
>    export CVS_RSH=ssh    # or "setenv CVS_RSH ssh" if csh
>    cd /usr/ports
>    cvs -d :ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D
> '2009-03-31' -d devel/php5-pcre ports/devel/php5-pcre
>
> Repeat the "cvs co" as necessary by changing "devel/php5-pcre" to the
> other / values that you need.
>

Hi Greg,
Seems to be complaining about devel directory;

[r...@test /usr/ports]# cvs -d
:ext:anon...@anoncvs1.freebsd.org:/home/ncvs co -D '2009-03-31' -d
devel/php5-pcre ports/devel/php5-pcre
cvs [checkout aborted]: could not change directory to requested
checkout directory `devel': No such file or directory
[r...@test /usr/ports]# ls -ld devel
drwxr-xr-x  3212 root  wheel  75264 Apr 13 14:15 devel

thanks.
doug



> Regards,
> Greg
> - --
> Greg Larkin
>
> http://www.FreeBSD.org/           - The Power To Serve
> http://www.sourcehosting.net/     - Ready. Set. Code.
> http://twitter.com/sourcehosting/ - Follow me, follow you
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFLxi7r0sRouByUApARAhGHAKChl5GLL7kTO7nrr5uxhb6zyM4fHwCfdcRe
> aj3NPo8i1umuTpt7r2jrs/E=
> =G9ph
> -END PGP SIGNATURE-
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


downgrade php5

2010-04-14 Thread doug schmidt
After upgrading to php 5.3.2, we have a few in house applications that
broke and our developers will not be able to work this out for at
least another week or so, so I need to downgrade back to 5.2.12 in the
mean time.

I've used portdowngrade lang/php5 and lang/php5-extensions, during
make install of php5-extensions it fails on php5-filter

[...]
===>Verifying install for /usr/local/lib/php/20060613/filter.so in
/usr/ports/security/php5-filter
===>  Building for php5-filter-5.2.12_2
/bin/sh /usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/libtool
--mode=compile cc  -I.
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-DPHP_ATOM_INC 
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-DHAVE_CONFIG_H  -O2 -fno-strict-aliasing -pipe   -c
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c
-o logical_filters.lo
 cc -I. -I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-DPHP_ATOM_INC 
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/include
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/main
-I/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c
 -fPIC -DPIC -o .libs/logical_filters.o
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:25:31:
error: ext/pcre/php_pcre.h: No such file or directory
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:
In function 'php_filter_validate_regexp':
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: (Each undeclared identifier is reported only once
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: for each function it appears in.)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:412:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:413:
error: 'pcre_extra' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:
In function 'php_filter_validate_email':
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477:
error: 'pcre' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:477:
error: 're' undeclared (first use in this function)
/usr/ports/security/php5-filter/work/php-5.2.12/ext/filter/logical_filters.c:478:
error: 'pcre_extra' undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/security/php5-filter.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

Since some ports have been removed as they are bundled with 5.3.2, how
can I get this downgraded properly. (devel/php5-pcre is no longer
in the ports tree).

thanks.
doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Support for Dell PERC H700 RAID controller

2010-03-26 Thread doug schmidt
On Fri, Mar 26, 2010 at 10:00 AM, Steve Polyack  wrote:
> On 03/26/10 09:00, Peter Steele wrote:
>>
>> Does FreeBSD 8 support the Dell H700 RAID controller? We've been using a
>> 3Ware controller but may need to switch to this controller. What we'd like
>> to have is a command line interface similar to the tw_cli command so we can
>> create RAID sets on a booted system instead of doing it in the BIOS.
>>
>>
>
> I'm not sure about the H700, but for the PERC5 and PERC6 (previous
> models...) you can use mfiutil(8) to manage the adapter and
> create/configure/destroy RAID sets on FreeBSD 8.   It's actually pretty nice
> in comparison to MegaCLI - the LSI provided management utility.

mfiutil(8) has also been added to FreeBSD 7.3

>From 7.3 Release notes:

The mfi(4)  driver now supports LSI MegaRAID SAS 1078 and Dell PERC6.
[...]
A userland utility mfiutil(8)  for the mfi(4)  devices has been added.
This includes basic features to monitor controller, array, and drive
status, change basic attributes, create/delete arrays and spares, and
flush the controller firmware. Note that this is a small utility, not
a replacement of MegaCLI in the Ports Collection which is supported
officially and provides more functionality.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: (No subject header)

2010-03-08 Thread doug schmidt
On Mon, Mar 8, 2010 at 7:42 AM, Lars Hartmann  wrote:
> Hi,
>>      i have a acer aspire one with no oprating system it has
>> no cd drive would i  be possible to download a redy top use
>> version of software so i could boot form  a memory stick?
>>  (i have no other computer to unlock to iso file)

> Google is your friend:
> http://miwi.bsdcrew.de/2009/06/freebsd-80-install-with-a-usb-stick/
>
> next time, do that yourself.
>

http://lmgtfy.com/?q=freebsd+8.0+install+with+usb+stick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: hardening guideline for Freebsd 7.2

2009-09-29 Thread doug schmidt
center for internet security benchmarks;

http://www.cisecurity.org/bench_freebsd.html


On Sat, Sep 26, 2009 at 8:27 AM, Aflatoon Aflatooni wrote:

> Hi,
> Is there a hardening guideline for Freebsd 7.2?
>
> Thanks
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"