microSD card in FreeBSD 8-CURRENT

2011-01-11 Thread Matthias Apitz

Hello,

Inserting a microSD card (with an adapter) into my Dell M4400 laptop
gives no messages in /var/log/messages, even after kldload'ing mmc.ko
and mmcsd.ko... What I am missing? The card itself works fine in some
other Linux laptop. I also checked the BIOS and the slot is enabled.

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
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: ZFS + GPT with root on memory stick and mirrored SATA drives

2011-01-11 Thread krad
On 10 January 2011 21:46, Carl Chave  wrote:

> 
> > echo -en "\n\nNow run these two commands to make the changes live, and
> > reboot
> >  zfs set mountpoint=legacy $zpool/be/$nroot
> >  zpool set bootfs=$zpool/be/$nroot $zpool\n\n"
>
> Thanks for the input krad.  It would be nice to easily switch back and
> forth but aren't you still stuck if everything blows up on that first
> reboot?  In order to switch back to the known working dataset you've
> got to get to a fixit prompt to set the correct bootfs property right?
>


unfortunatly at the moment yes, but all you have to do is reset the bootfs
property. It would be nice id you could do something from within the boot
loader similar to variables you can pass in grub with opensolaris
___
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: ZFS + GPT with root on memory stick and mirrored SATA drives

2011-01-11 Thread krad
On 11 January 2011 09:09, krad  wrote:

>
>
> On 10 January 2011 21:46, Carl Chave  wrote:
>
>> 
>> > echo -en "\n\nNow run these two commands to make the changes live, and
>> > reboot
>> >  zfs set mountpoint=legacy $zpool/be/$nroot
>> >  zpool set bootfs=$zpool/be/$nroot $zpool\n\n"
>>
>> Thanks for the input krad.  It would be nice to easily switch back and
>> forth but aren't you still stuck if everything blows up on that first
>> reboot?  In order to switch back to the known working dataset you've
>> got to get to a fixit prompt to set the correct bootfs property right?
>>
>
>
> unfortunatly at the moment yes, but all you have to do is reset the bootfs
> property. It would be nice id you could do something from within the boot
> loader similar to variables you can pass in grub with opensolaris
>


having said that as long as the loader works you should be able to reset the
rootfs variable
___
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: ZFS + GPT with root on memory stick and mirrored SATA drives

2011-01-11 Thread krad
On 11 January 2011 09:19, krad  wrote:

>
>
> On 11 January 2011 09:09, krad  wrote:
>
>>
>>
>> On 10 January 2011 21:46, Carl Chave  wrote:
>>
>>> 
>>> > echo -en "\n\nNow run these two commands to make the changes live, and
>>> > reboot
>>> >  zfs set mountpoint=legacy $zpool/be/$nroot
>>> >  zpool set bootfs=$zpool/be/$nroot $zpool\n\n"
>>>
>>> Thanks for the input krad.  It would be nice to easily switch back and
>>> forth but aren't you still stuck if everything blows up on that first
>>> reboot?  In order to switch back to the known working dataset you've
>>> got to get to a fixit prompt to set the correct bootfs property right?
>>>
>>
>>
>> unfortunatly at the moment yes, but all you have to do is reset the bootfs
>> property. It would be nice id you could do something from within the boot
>> loader similar to variables you can pass in grub with opensolaris
>>
>
>
> having said that as long as the loader works you should be able to reset
> the rootfs variable
>


some similar stuff here.
http://anonsvn.h3q.com/projects/freebsd-patches/wiki/manageBE
___
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: Any recommendations for FreeBSD VPS hosting?

2011-01-11 Thread Herbert J. Skuhra
On Thu, 30 Dec 2010 02:21 +0100, "n j"  wrote:
 
> If you know of any other FreeBSD VPS providers, please share.

At the moment I am running a XEN/HVM VPS from:

http://www.syscentral.de

-Herbert


___
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"


Corrupted MAC on input. Disconnecting: Packet corrupt

2011-01-11 Thread Julien Cigar

Hello,

I'm facing a very strange problem on a machine: When I unzip a file (I'm 
100% sure the file is not corrupted) and I get the following:


jci...@frodon ~ % ssh 10.0.0.225
Password:
jci...@dev ~ % unzip elgg-1.7.6.zip
Archive:  elgg-1.7.6.zip
   creating: elgg-1.7.6/
   creating: elgg-1.7.6/engine/
  inflating: elgg-1.7.6/engine/settings.example.php
   creating: elgg-1.7.6/engine/handlers/
   creating: 
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
  inflating: 
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js 

  inflating: 
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js 

  inflating: 
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm 


Corrupted MAC on input.
Disconnecting: Packet corrupt
jci...@frodon ~ %

The system is running 8.2-RC1 (amd64). I had the same problem under 
8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I 
upgraded to 8.2-RC1)


The card is:
a...@pci0:2:0:0:class=0x02 card=0x82261043 chip=0x10481969 
rev=0xb0 hdr=0x00

vendor = 'Attansic (Now owned by Atheros)'
device = 'Gigabit Ethernet 10/100/1000 Base-T Controller 
(Atheros L1)'

class  = network
subclass   = ethernet

Any idea what could be the problem ?

Thanks,
Julien

--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
___
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"

problem installing rrdtool

2011-01-11 Thread Roman
Hello,

As I try to install rrdtool from ports collection, the installation gets
stuck with the following erorr:

# make install
===>   rrdtool-1.4.4 depends on executable: gmake - found
===>   rrdtool-1.4.4 depends on file: /usr/local/bin/perl5.8.9 - found
===>   rrdtool-1.4.4 depends on package: libtool>=2.2 - found
===>   rrdtool-1.4.4 depends on file: /usr/local/bin/intltool-extract -
found
===>   rrdtool-1.4.4 depends on shared library: freetype.9 - found
===>   rrdtool-1.4.4 depends on shared library: cairo.2 - found
===>   rrdtool-1.4.4 depends on shared library: png.6 - found
===>   rrdtool-1.4.4 depends on shared library: xml2 - found
===>   rrdtool-1.4.4 depends on shared library: pangocairo-1.0.0 - not found
===>Verifying install for pangocairo-1.0.0 in
/usr/ports/x11-toolkits/pango
===>  Building for pango-1.28.3
gmake  all-recursive
gmake[1]: Entering directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3'
Making all in pango
gmake[2]: Entering directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango'
gmake  all-recursive
gmake[3]: Entering directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango'
Making all in opentype
gmake[4]: Entering directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype'
Making all in mini-fribidi
gmake[4]: Entering directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi'
gmake[4]: Entering directory
`/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango'
  CC libpangocairo_1_0_la-pangocairo-context.lo
In file included from pangocairo-context.c:24:
pangocairo.h:26:19: error: cairo.h: No such file or directory
In file included from pangocairo-context.c:24:
pangocairo.h:58: error: expected ')' before '*' token
pangocairo.h:69: error: expected ')' before 'fonttype'
pangocairo.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'pango_cairo_font_map_get_font_type'
pangocairo.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
pangocairo.h:90: error: expected ')' before '*' token
pangocairo.h:94: warning: type defaults to 'int' in declaration of
'cairo_font_options_t'
pangocairo.h:94: error: expected ';', ',' or ')' before '*' token
pangocairo.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
pangocairo.h:102: error: expected declaration specifiers or '...' before
'PangoCairoShapeRendererFunc'
pangocairo.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'pango_cairo_context_get_shape_renderer'
pangocairo.h:110: error: expected ')' before '*' token
pangocairo.h:111: error: expected ')' before '*' token
pangocairo.h:112: error: expected ')' before '*' token
pangocairo.h:118: error: expected ')' before '*' token
pangocairo.h:121: error: expected ')' before '*' token
pangocairo.h:124: error: expected ')' before '*' token
pangocairo.h:126: error: expected ')' before '*' token
pangocairo.h:129: error: expected ')' before '*' token
pangocairo.h:138: error: expected ')' before '*' token
pangocairo.h:141: error: expected ')' before '*' token
pangocairo.h:143: error: expected ')' before '*' token
pangocairo.h:146: error: expected ')' before '*' token
In file included from pangocairo-context.c:25:
pangocairo-private.h:43: error: expected specifier-qualifier-list before
'cairo_font_type_t'
pangocairo-private.h:70: error: expected specifier-qualifier-list before
'cairo_matrix_t'
pangocairo-private.h:81: error: expected specifier-qualifier-list before
'cairo_scaled_font_t'
pangocairo-private.h:97: error: expected specifier-qualifier-list before
'cairo_font_face_t'
pangocairo-private.h:105: error: expected declaration specifiers or '...'
before 'cairo_t'
pangocairo-private.h:113: warning: type defaults to 'int' in declaration of
'cairo_font_options_t'
pangocairo-private.h:113: error: expected ';', ',' or ')' before '*' token
pangocairo-private.h:117: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
pangocairo-private.h:133: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
pangocairo-context.c:36: error: expected specifier-qualifier-list before
'cairo_font_options_t'
pangocairo-context.c: In function 'free_context_info':
pangocairo-context.c:48: error: 'PangoCairoContextInfo' has no member named
'set_options'
pangocairo-context.c:49: warning: implicit declaration of function
'cairo_font_options_destroy'
pangocairo-context.c:49: error: 'PangoCairoContextInfo' has no member named
'set_options'
pangocairo-context.c:50: error: 'PangoCairoContextInfo' has no member named
'surface_options'
pangocairo-context.c:51: error: 'PangoCairoContextInfo' has no member named
'surface_options'
pangocairo-context.c:52: error: 'PangoCairoCo

Re: Any recommendations for FreeBSD VPS hosting?

2011-01-11 Thread Diego Arias
On Tue, Jan 11, 2011 at 4:46 AM, Herbert J. Skuhra wrote:

> On Thu, 30 Dec 2010 02:21 +0100, "n j"  wrote:
>
> > If you know of any other FreeBSD VPS providers, please share.
>
> At the moment I am running a XEN/HVM VPS from:
>
> http://www.syscentral.de
>
> -Herbert
>
>
> ___
> 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"
>

Running XEN on Elite Data Hosting (Now Server-Logix) Its a really small
machine but its ok. 2 years with them,

-- 
Still Going Strong!!!
___
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: Corrupted MAC on input. Disconnecting: Packet corrupt

2011-01-11 Thread Julien Cigar

On 01/11/2011 10:43, Julien Cigar wrote:

Hello,

I'm facing a very strange problem on a machine: When I unzip a file (I'm
100% sure the file is not corrupted) and I get the following:

jci...@frodon ~ % ssh 10.0.0.225
Password:
jci...@dev ~ % unzip elgg-1.7.6.zip
Archive: elgg-1.7.6.zip
creating: elgg-1.7.6/
creating: elgg-1.7.6/engine/
inflating: elgg-1.7.6/engine/settings.example.php
creating: elgg-1.7.6/engine/handlers/
creating:
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
inflating:
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js

inflating:
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js

inflating:
elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm

Corrupted MAC on input.
Disconnecting: Packet corrupt
jci...@frodon ~ %

The system is running 8.2-RC1 (amd64). I had the same problem under
8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I
upgraded to 8.2-RC1)

The card is:
a...@pci0:2:0:0: class=0x02 card=0x82261043 chip=0x10481969 rev=0xb0
hdr=0x00
vendor = 'Attansic (Now owned by Atheros)'
device = 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)'
class = network
subclass = ethernet

Any idea what could be the problem ?

Thanks,
Julien


OK, I dug a bit and found the problem ...

I have 4 memory slots on the motherboard : D C  B A
When I put a memory stick in A _or_ C it works
When I put memory sticks in A _and_ C it works too
However, when I put memory sticks in A _and_ B or A _and_ B _and_ C it 
fails ... (dual channel)


Could it be a bug... or a broken Bios ?





___
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"


--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
___
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: File Listing

2011-01-11 Thread Pieter de Goeje
On Monday 10 January 2011 21:43:42 pe...@vfemail.net wrote:
> Is there one single-line command I can execute that will list every file in
> every directory on my FreeBSD box?  I've been fussing with the ls and du
> commands, but the output is never quite complete.

find /

Cheers, 
Pieter de Goeje
___
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: problem installing rrdtool

2011-01-11 Thread Roman
The problem is solved. Turned out there was a problem after updating the
installed ports. Here's what portmanager was complaining about after the
update:


skipping cairo-1.8.8,1 /graphics/cairo until dependency libGL-7.4.4 updated
skipping libGL-7.4.4 /graphics/libGL until dependency libdrm-2.4.12_1
updated
skipping libdrm-2.4.12_1 /graphics/libdrm marked IGNORE reason: failed
during make


After reinstalling libdrm and cairo, rrdtool was installed with no
problerms.

Sorry for bothering.

On Tue, Jan 11, 2011 at 3:46 PM, Roman  wrote:

> Hello,
>
> As I try to install rrdtool from ports collection, the installation gets
> stuck with the following erorr:
>
> # make install
> ===>   rrdtool-1.4.4 depends on executable: gmake - found
> ===>   rrdtool-1.4.4 depends on file: /usr/local/bin/perl5.8.9 - found
> ===>   rrdtool-1.4.4 depends on package: libtool>=2.2 - found
> ===>   rrdtool-1.4.4 depends on file: /usr/local/bin/intltool-extract -
> found
> ===>   rrdtool-1.4.4 depends on shared library: freetype.9 - found
> ===>   rrdtool-1.4.4 depends on shared library: cairo.2 - found
> ===>   rrdtool-1.4.4 depends on shared library: png.6 - found
> ===>   rrdtool-1.4.4 depends on shared library: xml2 - found
> ===>   rrdtool-1.4.4 depends on shared library: pangocairo-1.0.0 - not
> found
> ===>Verifying install for pangocairo-1.0.0 in
> /usr/ports/x11-toolkits/pango
> ===>  Building for pango-1.28.3
> gmake  all-recursive
> gmake[1]: Entering directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3'
> Making all in pango
> gmake[2]: Entering directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango'
> gmake  all-recursive
> gmake[3]: Entering directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango'
> Making all in opentype
> gmake[4]: Entering directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype'
> gmake[4]: Nothing to be done for `all'.
> gmake[4]: Leaving directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/opentype'
> Making all in mini-fribidi
> gmake[4]: Entering directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi'
> gmake[4]: Nothing to be done for `all'.
> gmake[4]: Leaving directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango/mini-fribidi'
> gmake[4]: Entering directory
> `/usr/ports/x11-toolkits/pango/work/pango-1.28.3/pango'
>   CC libpangocairo_1_0_la-pangocairo-context.lo
> In file included from pangocairo-context.c:24:
> pangocairo.h:26:19: error: cairo.h: No such file or directory
> In file included from pangocairo-context.c:24:
> pangocairo.h:58: error: expected ')' before '*' token
> pangocairo.h:69: error: expected ')' before 'fonttype'
> pangocairo.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'pango_cairo_font_map_get_font_type'
> pangocairo.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '*' token
> pangocairo.h:90: error: expected ')' before '*' token
> pangocairo.h:94: warning: type defaults to 'int' in declaration of
> 'cairo_font_options_t'
> pangocairo.h:94: error: expected ';', ',' or ')' before '*' token
> pangocairo.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '*' token
> pangocairo.h:102: error: expected declaration specifiers or '...' before
> 'PangoCairoShapeRendererFunc'
> pangocairo.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'pango_cairo_context_get_shape_renderer'
> pangocairo.h:110: error: expected ')' before '*' token
> pangocairo.h:111: error: expected ')' before '*' token
> pangocairo.h:112: error: expected ')' before '*' token
> pangocairo.h:118: error: expected ')' before '*' token
> pangocairo.h:121: error: expected ')' before '*' token
> pangocairo.h:124: error: expected ')' before '*' token
> pangocairo.h:126: error: expected ')' before '*' token
> pangocairo.h:129: error: expected ')' before '*' token
> pangocairo.h:138: error: expected ')' before '*' token
> pangocairo.h:141: error: expected ')' before '*' token
> pangocairo.h:143: error: expected ')' before '*' token
> pangocairo.h:146: error: expected ')' before '*' token
> In file included from pangocairo-context.c:25:
> pangocairo-private.h:43: error: expected specifier-qualifier-list before
> 'cairo_font_type_t'
> pangocairo-private.h:70: error: expected specifier-qualifier-list before
> 'cairo_matrix_t'
> pangocairo-private.h:81: error: expected specifier-qualifier-list before
> 'cairo_scaled_font_t'
> pangocairo-private.h:97: error: expected specifier-qualifier-list before
> 'cairo_font_face_t'
> pangocairo-private.h:105: error: expected declaration specifiers or '...'
> before 'cairo_t'
> pangocairo-private.h:113: warning: type defaults to 'int' in declaration of
> 'cairo_font_options_t'
> pangocairo-private.h:113: error: expected ';', ',' or ')' before '*' 

Re: File Listing

2011-01-11 Thread Alexander Konotop
В Tue, 11 Jan 2011 15:26:22 +0100
Pieter de Goeje  пишет:

> On Monday 10 January 2011 21:43:42 pe...@vfemail.net wrote:
> > Is there one single-line command I can execute that will list every
> > file in every directory on my FreeBSD box?  I've been fussing with
> > the ls and du commands, but the output is never quite complete.
> 
> find /
> 
> Cheers, 
> Pieter de Goeje
> ___
> 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: File Listing

2011-01-11 Thread Chris Brennan
2011/1/11 Alexander Konotop 

>  Нет, не смотрел ещё. Вечером взгляну.
>
>
What?
___
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: File Listing

2011-01-11 Thread Polytropon
On Tue, 11 Jan 2011 09:56:07 -0500, Chris Brennan  wrote:
> 2011/1/11 Alexander Konotop 
> 
> >  Нет, не смотрел ещё. Вечером взгляну.
> >
> >
> What?

No, didn't look again, evening... is dark?
MbI roBOPNM nO-PYCCKN. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Corrupted MAC on input. Disconnecting: Packet corrupt

2011-01-11 Thread Mehmet Erol Sanliturk
On Tue, Jan 11, 2011 at 9:11 AM, Julien Cigar  wrote:

> On 01/11/2011 10:43, Julien Cigar wrote:
>
>> Hello,
>>
>> I'm facing a very strange problem on a machine: When I unzip a file (I'm
>> 100% sure the file is not corrupted) and I get the following:
>>
>> jci...@frodon ~ % ssh 10.0.0.225
>> Password:
>> jci...@dev ~ % unzip elgg-1.7.6.zip
>> Archive: elgg-1.7.6.zip
>> creating: elgg-1.7.6/
>> creating: elgg-1.7.6/engine/
>> inflating: elgg-1.7.6/engine/settings.example.php
>> creating: elgg-1.7.6/engine/handlers/
>> creating:
>> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/
>> inflating:
>>
>> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js
>>
>> inflating:
>>
>> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js
>>
>> inflating:
>>
>> elgg-1.7.6/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm
>>
>> Corrupted MAC on input.
>> Disconnecting: Packet corrupt
>> jci...@frodon ~ %
>>
>> The system is running 8.2-RC1 (amd64). I had the same problem under
>> 8.1-RELEASE (I thought it was a bug in the Ethernet driver, so I
>> upgraded to 8.2-RC1)
>>
>> The card is:
>> a...@pci0:2:0:0: class=0x02 card=0x82261043 chip=0x10481969 rev=0xb0
>> hdr=0x00
>> vendor = 'Attansic (Now owned by Atheros)'
>> device = 'Gigabit Ethernet 10/100/1000 Base-T Controller (Atheros L1)'
>> class = network
>> subclass = ethernet
>>
>> Any idea what could be the problem ?
>>
>> Thanks,
>> Julien
>>
>
> OK, I dug a bit and found the problem ...
>
> I have 4 memory slots on the motherboard : D C  B A
> When I put a memory stick in A _or_ C it works
> When I put memory sticks in A _and_ C it works too
> However, when I put memory sticks in A _and_ B or A _and_ B _and_ C it
> fails ... (dual channel)
>
> Could it be a bug... or a broken Bios ?
>
>
>>
>>

In main boards , memory channels mainly are colored pair-wise , for example
Red-Blue , Red-Blue . One of the colors is Zero channel , the other 1
channel .
For Intel 1366 pin sockets , there are 3 pairs : for example , Red-Blue ,
Red-Blue , Red-Blue .

When memory chips are installed , first zero channels should be filled ,
then one channels , as in increasing order . Placing memory chips
arbitrarily will get a non-working main board , which is NOT a bug , but
production principle .
Another principle is when more than one chip is installed , they should be
the SAME in pair-wise , for example Red channels having the same size , Blue
channels having the same size as Mega or Giga bytes , and they should have
same Mega-Hertz speed .

The more complete and correct information may be obtained from your main
board manual . Another point is ´Supported memory´ chips list . When you
want to use memory chips , it is necessary to study main board supported
chips list and select among them .

It seems that your memory chips are correctly selected , but please insert
them as instructed by the main board manual . In other combinations ,
working is accidental and I do not know there may be other problems
associated incorrect placement .

Personally I never insert chips in a way other than defined in manual .

Some main boards may check correctness of insertions and it my give failure
indicator beeps , but some main boards may not check , but will not work as
you expected : Everything is working as single ones , but they are not
working in combination .

Thank you very much .


Mehmet Erol Sanliturk
___
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"


Continuing problems with Dovecot + MySQL 5.5.8_1

2011-01-11 Thread Jerry
FreeBSD 8.2-PRERELEASE

After updating to the latest version of MySQL (5.5.8_1), I am
continuing to have problems with Dovecot failing to run correctly even
though I completely removed and reinstalled it. I might add that I did
a pkg_delete of the MySQL client and server also before updating the
port. I was led to believe that this updated version corrected the
problem; however, that does not appear to be correct. :-(

Strangely enough, Postfix, after rebuilding it, works fine with the
new version of MySQL. :-)

What I need to do is get a gdb backtrace of dovecot. Since the program
starts from the dovecot script in the /usr/local/etc/rc.d directory, I
am unsure of how to accomplish this. I have tried several methods;
however, they all fail. Exactly how would I start dovecot using the
script via gdb to get a backtrace?

Thanks

-- 
Jerry
___
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: Which php??

2011-01-11 Thread Gary Kline
On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> On 10/01/2011 21:21, Gary Kline wrote:
> >Which php52 port do I need to run with wordpress?  There are  a
> >slew of them po ports.
> >
> >tia.
> >
> php5.2 is the last release before its eol'd.
> 
> there may be some tweaking, but you'd be better getting it working
> with 5.3 (lang/php5) now rather than later...
> 
> Paul.
> 


Well, I have no screen-capture set up o my server, so cannot
show the firefox display.  But here is the samr thing using
lynx:

According to the /usr/local/www/wordpress/* files, php is not
running.  I had the wordpress port install itself in the default
place: in /usr/local/www; should I cp the files somewhere else?
--I have no subdomain wordpress (or wordpress.thought.org).



ps 8:20 Server  [5025] lynx wp-admin/install.php
   (p1
of 3)
   WordPress

Error: PHP is not running   

   WordPress requires that your web server is running PHP. Your server  
   does not have PHP installed, or PHP is turned off.   
   >

   WordPress

   get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that 
   Blogs appear in search engines by default $blog_public = 1; if ( !   
   empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); 
   $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
   $_POST['weblog_title'] ) ) : ''; $user_name =
   isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )   
   ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(   
   stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(   
   $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )  
   : ''; if ( ! is_null( $error ) ) { ?>

   ERROR  



So:: are there other ways of installing this stuff?  Should I
cp -rp this wordpress directory in [e.g.]
/usr/local/www/journey?

Thanks for any clues,

gary





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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: Which php??

2011-01-11 Thread Chris Brennan
On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:

> On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> > On 10/01/2011 21:21, Gary Kline wrote:
> > >Which php52 port do I need to run with wordpress?  There are  a
> > >slew of them po ports.
> > >
> > >tia.
> > >
> > php5.2 is the last release before its eol'd.
> >
> > there may be some tweaking, but you'd be better getting it working
> > with 5.3 (lang/php5) now rather than later...
> >
> > Paul.
> >
>
>
> Well, I have no screen-capture set up o my server, so cannot
>show the firefox display.  But here is the samr thing using
>lynx:
>
>According to the /usr/local/www/wordpress/* files, php is not
>running.  I had the wordpress port install itself in the default
>place: in /usr/local/www; should I cp the files somewhere else?
>--I have no subdomain wordpress (or wordpress.thought.org).
>
>
>
> ps 8:20 Server  [5025] lynx wp-admin/install.php
>   (p1
> of 3)
>   WordPress
>
> Error: PHP is not running
>
>   WordPress requires that your web server is running PHP. Your server
>   does not have PHP installed, or PHP is turned off.
>   >
>
>   WordPress
>
>   get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
>   Blogs appear in search engines by default $blog_public = 1; if ( !
>   empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
>   $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
>   $_POST['weblog_title'] ) ) : ''; $user_name =
>   isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )
>   ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(
>   stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(
>   $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )
>   : ''; if ( ! is_null( $error ) ) { ?>
>
>   ERROR
>
>
>
>So:: are there other ways of installing this stuff?  Should I
>cp -rp this wordpress directory in [e.g.]
>/usr/local/www/journey?
>
>Thanks for any clues,
>
>gary
>
> Gary,
Did you set up your webserver to parse .php/.phps files. In Apache this is
probably (I don't have apache install on my fbsd box anymore) at
/usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
webservers...

hth/c-
___
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: Continuing problems with Dovecot + MySQL 5.5.8_1

2011-01-11 Thread David Scheidt

On Jan 11, 2011, at 11:25 AM, Jerry wrote:

> FreeBSD 8.2-PRERELEASE
> 
> After updating to the latest version of MySQL (5.5.8_1), I am
> continuing to have problems with Dovecot failing to run correctly even
> though I completely removed and reinstalled it. I might add that I did
> a pkg_delete of the MySQL client and server also before updating the
> port. I was led to believe that this updated version corrected the
> problem; however, that does not appear to be correct. :-(
> 
> Strangely enough, Postfix, after rebuilding it, works fine with the
> new version of MySQL. :-)
> 
> What I need to do is get a gdb backtrace of dovecot. Since the program
> starts from the dovecot script in the /usr/local/etc/rc.d directory, I
> am unsure of how to accomplish this. I have tried several methods;
> however, they all fail. Exactly how would I start dovecot using the
> script via gdb to get a backtrace?
> 

start it from the command line?  There are some knobs in the conf file to help 
with debugging, too.  ___
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: Which php??

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:
> 
> > On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> > > On 10/01/2011 21:21, Gary Kline wrote:
> > > >Which php52 port do I need to run with wordpress?  There are  a
> > > >slew of them po ports.
> > > >
> > > >tia.
> > > >
> > > php5.2 is the last release before its eol'd.
> > >
> > > there may be some tweaking, but you'd be better getting it working
> > > with 5.3 (lang/php5) now rather than later...
> > >
> > > Paul.
> > >
> >
> >
> > Well, I have no screen-capture set up o my server, so cannot
> >show the firefox display.  But here is the samr thing using
> >lynx:
> >
> >According to the /usr/local/www/wordpress/* files, php is not
> >running.  I had the wordpress port install itself in the default
> >place: in /usr/local/www; should I cp the files somewhere else?
> >--I have no subdomain wordpress (or wordpress.thought.org).
> >
> >
> >
> > ps 8:20 Server  [5025] lynx wp-admin/install.php
> >   (p1
> > of 3)
> >   WordPress
> >
> > Error: PHP is not running
> >
> >   WordPress requires that your web server is running PHP. Your server
> >   does not have PHP installed, or PHP is turned off.
> >   >
> >
> >   WordPress
> >
> >   get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
> >   Blogs appear in search engines by default $blog_public = 1; if ( !
> >   empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
> >   $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
> >   $_POST['weblog_title'] ) ) : ''; $user_name =
> >   isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )
> >   ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(
> >   stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(
> >   $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )
> >   : ''; if ( ! is_null( $error ) ) { ?>
> >
> >   ERROR
> >
> >
> >
> >So:: are there other ways of installing this stuff?  Should I
> >cp -rp this wordpress directory in [e.g.]
> >/usr/local/www/journey?
> >
> >Thanks for any clues,
> >
> >gary
> >
> > Gary,
> Did you set up your webserver to parse .php/.phps files. In Apache this is
> probably (I don't have apache install on my fbsd box anymore) at
> /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
> webservers...
> 
> hth/c-


Here is a grep -1 php of the httpd.conf, showing that the php types
are allowed.



LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule php5_modulelibexec/apache22/libphp5.so
LoadModule php5_modulelibexec/apache/libphp5.so
###LoadModule php5_modulelibexec/apache/libphp5.so

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


AddType application/x-httpd-php .php .htm .html


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

So, yeah, looks like that is permitted..



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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: Which php??

2011-01-11 Thread Tim Kellers

On 01/11/11 11:46, Gary Kline wrote:

On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:

On 10/01/2011 21:21, Gary Kline wrote:

Which php52 port do I need to run with wordpress?  There are  a
slew of them po ports.

tia.


php5.2 is the last release before its eol'd.

there may be some tweaking, but you'd be better getting it working
with 5.3 (lang/php5) now rather than later...

Paul.



Well, I have no screen-capture set up o my server, so cannot
show the firefox display.  But here is the samr thing using
lynx:

According to the /usr/local/www/wordpress/* files, php is not
running.  I had the wordpress port install itself in the default
place: in /usr/local/www; should I cp the files somewhere else?
--I have no subdomain wordpress (or wordpress.thought.org).



ps 8:20 Server  [5025] lynx wp-admin/install.php
(p1
of 3)
WordPress

Error: PHP is not running

WordPress requires that your web server is running PHP. Your server
does not have PHP installed, or PHP is turned off.
>

WordPress

get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
Blogs appear in search engines by default $blog_public = 1; if ( !
empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
$weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
$_POST['weblog_title'] ) ) : ''; $user_name =
isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )
) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(
stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(
$_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )
: ''; if ( ! is_null( $error ) ) { ?>

ERROR



So:: are there other ways of installing this stuff?  Should I
cp -rp this wordpress directory in [e.g.]
/usr/local/www/journey?

Thanks for any clues,

gary







Remember you have to tell apache to run php files as programs.  Do you 
have the following lines in httpd.conf?


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


Those lines should be right around row/line 217 in httpd.conf for apache 2.2

Tim Kellers



___
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: Which php??

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 05:29:12PM +, Paul Macdonald wrote:
> On 11/01/2011 16:46, Gary Kline wrote:
> >
> >
> > So:: are there other ways of installing this stuff?  Should I
> > cp -rp this wordpress directory in [e.g.]
> > /usr/local/www/journey?
> >
> > Thanks for any clues,
> >
> > gary
> >
> 
> 
> It looks like you have a workign apache2 already.
> 
> *For PHP
> *cd /usr/ports/lang/php5
> make config  ( choose apache module)
> make install clean

Hm.  I did this  late night by going into the makefile and
editing stuff from off to on.  What's  the  mak e cmd? Is it
"make config"?

I first simply did a make install clrean; it did nothing.  Then
I did a deinstall/reinstall.  I figured THAT should've done
_something_.

> 
> 
> *PHP5 Extensions
> *(lots to choose from but make sure you have mysql at least selected
> ( you'll need this installed obv for wordpress too )
> cd /usr/ports/lang/php5-extensions
> make config
> make install clean


This one I have never seen before and may be just the ticket.  
Will try.  ---WOW, there are a boatload of options.Is
there any shortlist of ones i need to check?


> 
> in your apache httpd.conf   in the "AddType" section add
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> In the DirectoryIndex section (or on a new line after it)
> Add this line
> DirectoryIndex index.php index.html index.htm
> 
> *Checks
> *On shell do php-v
> 
> on a webpage in your webroot  (e.g test.php)
> 
> add this php code
>  phpinfo();
> ?>
> 
> http://localhost/test.php
> If that shows you a nice php page then you should be good to go with
> the wordpress installer
> 
> Good luck!
> Paul.
> 


I think I have the test.php in /usr/local/www/data/www  
or whatever.  Thanks for your tips.  This time I may get
it working :-)

gary




> 
> -- 
> -
> Paul Macdonald
> IFDNRG Ltd
> Web and video hosting
> -
> t: 0131 5548070
> m: 07534206249
> e: p...@ifdnrg.com
> w: http://www.ifdnrg.com
> -
> IFDNRG
> 40 Maritime Street
> Edinburgh
> EH6 6SA
> -
> 
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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: Which php??

2011-01-11 Thread Rodrigo Gonzalez
Did you restart apache?

Second option to check directly php information

create a file info.php with this content


then go to http://your ip/info.php 

and check the results, if you see the text, your apache does not have php 
enabled, if it is enabled you will see information about your php installation

On Tuesday, January 11, 2011 03:56:31 pm Gary Kline wrote:
> On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> > On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:
> > > On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> > > > On 10/01/2011 21:21, Gary Kline wrote:
> > > > >Which php52 port do I need to run with wordpress?  There are  a
> > > > >slew of them po ports.
> > > > >
> > > > >tia.
> > > > 
> > > > php5.2 is the last release before its eol'd.
> > > > 
> > > > there may be some tweaking, but you'd be better getting it working
> > > > with 5.3 (lang/php5) now rather than later...
> > > > 
> > > > Paul.
> > > > 
> > > Well, I have no screen-capture set up o my server, so cannot
> > >
> > >show the firefox display.  But here is the samr thing using
> > >lynx:
> > >
> > >According to the /usr/local/www/wordpress/* files, php is not
> > >running.  I had the wordpress port install itself in the default
> > >place: in /usr/local/www; should I cp the files somewhere else?
> > >--I have no subdomain wordpress (or wordpress.thought.org).
> > > 
> > > ps 8:20 Server  [5025] lynx wp-admin/install.php
> > > 
> > >   
(p1
> > > 
> > > of 3)
> > > 
> > >   WordPress
> > > 
> > > Error: PHP is not running
> > > 
> > >   WordPress requires that your web server is running PHP. Your server
> > >   does not have PHP installed, or PHP is turned off.
> > >   
> > >   WordPress
> > >   
> > >   get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
> > >   Blogs appear in search engines by default $blog_public = 1; if ( !
> > >   empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
> > >   $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
> > >   $_POST['weblog_title'] ) ) : ''; $user_name =
> > >   isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name']
> > >   ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ?
> > >   trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email
> > >   = isset( $_POST['admin_email'] ) ? trim( stripslashes(
> > >   $_POST['admin_email'] ) )
> > >   
> > >   : ''; if ( ! is_null( $error ) ) { ?>
> > >   
> > >   ERROR
> > >   
> > >So:: are there other ways of installing this stuff?  Should I
> > >cp -rp this wordpress directory in [e.g.]
> > >/usr/local/www/journey?
> > >
> > >Thanks for any clues,
> > >
> > >gary
> > > 
> > > Gary,
> > 
> > Did you set up your webserver to parse .php/.phps files. In Apache this
> > is probably (I don't have apache install on my fbsd box anymore) at
> > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
> > webservers...
> > 
> > hth/c-
> 
> Here is a grep -1 php of the httpd.conf, showing that the php types
> are allowed.
> 
> 
> 
> LoadModule rewrite_module libexec/apache22/mod_rewrite.so
> LoadModule php5_modulelibexec/apache22/libphp5.so
> LoadModule php5_modulelibexec/apache/libphp5.so
> ###LoadModule php5_modulelibexec/apache/libphp5.so
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> 
> AddType application/x-httpd-php .php .htm .html
> 
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
>   So, yeah, looks like that is permitted..



___
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: Which php??

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 04:10:02PM -0200, Rodrigo Gonzalez wrote:
> Did you restart apache?
> 
> Second option to check directly php information
> 
> create a file info.php with this content
>  phpinfo();
> ?>


Well, it works.  Probably after I had finished the php5-extentions
port.  I checked off some min of options, opened my www homepage and
looked at the test.php page.  Voila!  Something IP remember from years
ago.

I opened the wordpress dir with
file:///usr/local/www/wordpress/reame.html and things look that much
more hopefull.

I have a KWM switch and am working from my server port.  FWIW, I'm
using a very old and lightweight ctwm.,   Going to be an interesting
day or three.


> 
> then go to http://your ip/info.php 
> 
> and check the results, if you see the text, your apache does not have php 
> enabled, if it is enabled you will see information about your php installation
> 
> On Tuesday, January 11, 2011 03:56:31 pm Gary Kline wrote:
> > On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> > > On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:
> > > > On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> > > > > On 10/01/2011 21:21, Gary Kline wrote:
> > > > > >Which php52 port do I need to run with wordpress?  There are  a
> > > > > >slew of them po ports.
> > > > > >
> > > > > >tia.
> > > > > 
> > > > > php5.2 is the last release before its eol'd.
> > > > > 
> > > > > there may be some tweaking, but you'd be better getting it working
> > > > > with 5.3 (lang/php5) now rather than later...
> > > > > 
> > > > > Paul.
> > > > > 
> > > > Well, I have no screen-capture set up o my server, so cannot
> > > >
> > > >show the firefox display.  But here is the samr thing using
> > > >lynx:
> > > >
> > > >According to the /usr/local/www/wordpress/* files, php is not
> > > >running.  I had the wordpress port install itself in the default
> > > >place: in /usr/local/www; should I cp the files somewhere else?
> > > >--I have no subdomain wordpress (or wordpress.thought.org).
> > > > 
> > > > ps 8:20 Server  [5025] lynx wp-admin/install.php
> > > > 
> > > >   
> (p1
> > > > 
> > > > of 3)
> > > > 
> > > >   WordPress
> > > > 
> > > > Error: PHP is not running
> > > > 
> > > >   WordPress requires that your web server is running PHP. Your server
> > > >   does not have PHP installed, or PHP is turned off.
> > > >   
> > > >   WordPress
> > > >   
> > > >   get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
> > > >   Blogs appear in search engines by default $blog_public = 1; if ( !
> > > >   empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
> > > >   $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
> > > >   $_POST['weblog_title'] ) ) : ''; $user_name =
> > > >   isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name']
> > > >   ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ?
> > > >   trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email
> > > >   = isset( $_POST['admin_email'] ) ? trim( stripslashes(
> > > >   $_POST['admin_email'] ) )
> > > >   
> > > >   : ''; if ( ! is_null( $error ) ) { ?>
> > > >   
> > > >   ERROR
> > > >   
> > > >So:: are there other ways of installing this stuff?  Should I
> > > >cp -rp this wordpress directory in [e.g.]
> > > >/usr/local/www/journey?
> > > >
> > > >Thanks for any clues,
> > > >
> > > >gary
> > > > 
> > > > Gary,
> > > 
> > > Did you set up your webserver to parse .php/.phps files. In Apache this
> > > is probably (I don't have apache install on my fbsd box anymore) at
> > > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
> > > webservers...
> > > 
> > > hth/c-
> > 
> > Here is a grep -1 php of the httpd.conf, showing that the php types
> > are allowed.
> > 
> > 
> > 
> > LoadModule rewrite_module libexec/apache22/mod_rewrite.so
> > LoadModule php5_modulelibexec/apache22/libphp5.so
> > LoadModule php5_modulelibexec/apache/libphp5.so
> > ###LoadModule php5_modulelibexec/apache/libphp5.so
> > 
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php-source .phps
> > 
> > 
> > AddType application/x-httpd-php .php .htm .html
> > 
> > 
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php-source .phps
> > 
> > So, yeah, looks like that is permitted..
> 
> 
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.97a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 

Re: Which php??

2011-01-11 Thread Brad Mettee

Gary Kline wrote:

On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
  

On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:



On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
  

On 10/01/2011 21:21, Gary Kline wrote:


Which php52 port do I need to run with wordpress?  There are  a
slew of them po ports.

tia.

  

php5.2 is the last release before its eol'd.

there may be some tweaking, but you'd be better getting it working
with 5.3 (lang/php5) now rather than later...

Paul.



Well, I have no screen-capture set up o my server, so cannot
   show the firefox display.  But here is the samr thing using
   lynx:

   According to the /usr/local/www/wordpress/* files, php is not
   running.  I had the wordpress port install itself in the default
   place: in /usr/local/www; should I cp the files somewhere else?
   --I have no subdomain wordpress (or wordpress.thought.org).



ps 8:20 Server  [5025] lynx wp-admin/install.php
  (p1
of 3)
  WordPress

Error: PHP is not running

  WordPress requires that your web server is running PHP. Your server
  does not have PHP installed, or PHP is turned off.
  >

  WordPress

  get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
  Blogs appear in search engines by default $blog_public = 1; if ( !
  empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
  $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
  $_POST['weblog_title'] ) ) : ''; $user_name =
  isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )
  ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(
  stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(
  $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )
  : ''; if ( ! is_null( $error ) ) { ?>

  ERROR



   So:: are there other ways of installing this stuff?  Should I
   cp -rp this wordpress directory in [e.g.]
   /usr/local/www/journey?

   Thanks for any clues,

   gary

Gary,
  

Did you set up your webserver to parse .php/.phps files. In Apache this is
probably (I don't have apache install on my fbsd box anymore) at
/usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
webservers...

hth/c-




Here is a grep -1 php of the httpd.conf, showing that the php types
are allowed.



LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule php5_modulelibexec/apache22/libphp5.so
LoadModule php5_modulelibexec/apache/libphp5.so
###LoadModule php5_modulelibexec/apache/libphp5.so

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


AddType application/x-httpd-php .php .htm .html


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

So, yeah, looks like that is permitted..
  
Does the PHP.INI file have short tags enabled? Does WordPress use them 
by default? (Look at the beginning of the wordpress php files, look for 
"still usable) looks like this "

Only ONE of the AddTypes should exist, I'm not sure how Apache will 
handle it if there are multiple of them. Prune it back to being just 
this pair (and make sure you do an apache restart after you change it):


AddType application/x-httpd-php .php .htm .html .phtml
AddType application/x-httpd-php-source .phps

If you execute "php -version" from the shell, what do you get?


___
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: File Listing

2011-01-11 Thread Robert Bonomi

> From owner-freebsd-questi...@freebsd.org  Mon Jan 10 15:19:23 2011
> Date: Mon, 10 Jan 2011 15:43:42 -0500
> To: freebsd-questions@freebsd.org
> From: pe...@vfemail.net
> Subject: File Listing
>
>
> Is there one single-line command I can execute that will list every 
> file in every directory on my FreeBSD box?  I've been fussing with the 
> ls and du commands, but the output is never quite complete.

'man ls' is your friend."ls -aR /" (as superuser!) is the answer.


___
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: File Listing -- SOLVED

2011-01-11 Thread peter

Thank you all for your prompt and helpful pointers.  


-
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts!  15GB disk!  No bandwidth quotas!
 
___
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: Continuing problems with Dovecot + MySQL 5.5.8_1

2011-01-11 Thread Odhiambo Washington
On Tue, Jan 11, 2011 at 7:25 PM, Jerry  wrote:

> FreeBSD 8.2-PRERELEASE
>
> After updating to the latest version of MySQL (5.5.8_1), I am
> continuing to have problems with Dovecot failing to run correctly even
> though I completely removed and reinstalled it. I might add that I did
> a pkg_delete of the MySQL client and server also before updating the
> port. I was led to believe that this updated version corrected the
> problem; however, that does not appear to be correct. :-(
>
> Strangely enough, Postfix, after rebuilding it, works fine with the
> new version of MySQL. :-)
>
> What I need to do is get a gdb backtrace of dovecot. Since the program
> starts from the dovecot script in the /usr/local/etc/rc.d directory, I
> am unsure of how to accomplish this. I have tried several methods;
> however, they all fail. Exactly how would I start dovecot using the
> script via gdb to get a backtrace?
>
>
Since you are on FreeBSD, you can do the following (as root of course):

#ulimit -c unlimited
#gdb -args  /usr/local/sbin/dovecot -F -c
/usr/local/etc/dovecot/dovecot.conf
run
bt full

You would run 'bt full' only after Dovecot died (gdb will tell you when that
happens)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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: Which php??

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote:
> Gary Kline wrote:
> >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> >  
> >>On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:
> >>
> >>
> >>>On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> >>>  
> On 10/01/2011 21:21, Gary Kline wrote:
> 
> >Which php52 port do I need to run with wordpress?  There are  a
> >slew of them po ports.
> >
> >tia.
> >
> >  
> php5.2 is the last release before its eol'd.
> 
> there may be some tweaking, but you'd be better getting it working
> with 5.3 (lang/php5) now rather than later...
> 
> Paul.
> 
> 
> >>>Well, I have no screen-capture set up o my server, so cannot
> >>>   show the firefox display.  But here is the samr thing using
> >>>   lynx:
> >>>
> >>>   According to the /usr/local/www/wordpress/* files, php is not
> >>>   running.  I had the wordpress port install itself in the default
> >>>   place: in /usr/local/www; should I cp the files somewhere else?
> >>>   --I have no subdomain wordpress (or wordpress.thought.org).
> >>>
> >>>
> >>>
> >>>ps 8:20 Server  [5025] lynx wp-admin/install.php
> >>>  (p1
> >>>of 3)
> >>>  WordPress
> >>>
> >>>Error: PHP is not running
> >>>
> >>>  WordPress requires that your web server is running PHP. Your server
> >>>  does not have PHP installed, or PHP is turned off.
> >>>  >
> >>>
> >>>  WordPress
> >>>
> >>>  get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
> >>>  Blogs appear in search engines by default $blog_public = 1; if ( !
> >>>  empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
> >>>  $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
> >>>  $_POST['weblog_title'] ) ) : ''; $user_name =
> >>>  isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )
> >>>  ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(
> >>>  stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(
> >>>  $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )
> >>>  : ''; if ( ! is_null( $error ) ) { ?>
> >>>
> >>>  ERROR
> >>>
> >>>
> >>>
> >>>   So:: are there other ways of installing this stuff?  Should I
> >>>   cp -rp this wordpress directory in [e.g.]
> >>>   /usr/local/www/journey?
> >>>
> >>>   Thanks for any clues,
> >>>
> >>>   gary
> >>>
> >>>Gary,
> >>>  
> >>Did you set up your webserver to parse .php/.phps files. In Apache this is
> >>probably (I don't have apache install on my fbsd box anymore) at
> >>/usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
> >>webservers...
> >>
> >>hth/c-
> >>
> >
> >
> >Here is a grep -1 php of the httpd.conf, showing that the php types
> >are allowed.
> >
> >
> >
> >LoadModule rewrite_module libexec/apache22/mod_rewrite.so
> >LoadModule php5_modulelibexec/apache22/libphp5.so
> >LoadModule php5_modulelibexec/apache/libphp5.so
> >###LoadModule php5_modulelibexec/apache/libphp5.so
> >
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php-source .phps
> >
> >
> >AddType application/x-httpd-php .php .htm .html
> >
> >
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php-source .phps
> >
> > So, yeah, looks like that is permitted..
> >  





> Does the PHP.INI file have short tags enabled? Does WordPress use them 
> by default? (Look at the beginning of the wordpress php files, look for 
> " still usable) looks like this " 
> Only ONE of the AddTypes should exist, I'm not sure how Apache will 
> handle it if there are multiple of them. Prune it back to being just 
> this pair (and make sure you do an apache restart after you change it):
> 
> AddType application/x-httpd-php .php .htm .html .phtml
> AddType application/x-httpd-php-source .phps


Thanks for catching that, Brad.  Save a few bytes:)  When I did the
restart, the sanity checker said things were okay, so whatever kind of
parser reads the file is pretty sharp.

gary


> 
> If you execute "php -version" from the shell, what do you get?
> 
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.97a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 
___
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: Which php??

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote:
> Gary Kline wrote:
> >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> >  
> 
> If you execute "php -version" from the shell, what do you get?
> 


Rats. Now i get a segv..Last night, no.   Ideas?

gary


> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.97a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 
___
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: Which php??

2011-01-11 Thread Christer Solstrand Johannessen
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Gary Kline
> Sent: 11. januar 2011 20:34
> To: Brad Mettee
> Cc: FreeBSD Mailing List
> Subject: Re: Which php??
> 
> On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote:
> > Gary Kline wrote:
> > >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> > >
> >
> > If you execute "php -version" from the shell, what do you get?
> >
> 
> 
>   Rats. Now i get a segv..Last night, no.   Ideas?

Recompile PHP with debug support. No, seriously.

I have had the same problem for years with different versions of PHP, and
hours of googling has led me to that answer. Seems that nobody can explain
exactly why enabling debug support fixes the problem, but it does.

Some boring history:
I ran into this problem trying to get Horde/IMP working properly way back in
2003. IMP needs some PEAR modules to work, and they refused to install
because PEAR needs PHP to work, and got cought on something and segfaulted
trying to install the PEAR modules. Reworking the loading order of the PHP
extensions seemed to work for some time, but then my changes got lost in
one of many PHP upgrades and things got stuffed again. For a while I "solved"
the problem by uninstalling Horde/IMP, but lately (since 2007-ish) I've hit this
snag every now and then. At some point I just gave up, and then I stumbled
across the "enable debug in php and php-extensions" trick, and it's been
painless ever since.

Speed-wise, I can't tell the difference. I haven't run any real tests because my
servers aren't very busy and thus I haven't seen the point, but I'll grant that
on busy servers it may very well affect performance. YMMV.

Good luck!

- Christer
___
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: problem booting a new server on FreeBSD

2011-01-11 Thread FRLinux
On Tue, Jan 11, 2011 at 7:16 PM, Robert Bonomi  wrote:
> Try booting _with_ a disk in the CD drive.

Well, I was at least for the first install since I booted from CD,
time was the same about 1m to 1m30 before it boots.

> Also, assuming these are parallel ATA drives, check the master/slave jumper
> settings -- both on the CDROM and any other device on the same controller.

Not a bad idea, have actually to open of the servers tomorrow so will
check on that.

Cheers,
Steph
___
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"


Well.... {was:: Re: Which php??}

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 10:49:26AM -0800, Gary Kline wrote:
> On Tue, Jan 11, 2011 at 04:10:02PM -0200, Rodrigo Gonzalez wrote:


It isn't esp'ly tasty to have to eat one's own words, but that
is what happened for about 90 mins this morning.  ---I could
have _sworn_ that I had cron'd the ports upgrade stuff at least
weekly.  Nope.

At least I think things are back on track.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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"


Pipari un porno? Latvija!

2011-01-11 Thread Jansons_no_Chad
Esmu latvju (ljoti seksiga) meitene. Esmu iekarojama pornozvaigzne. Ja tu veel 
nezinaaji, tad sodien ir atverta man veltita majas lapa latvju meelee.

Ienaac saita un ieveertee triis labakaas pornofilmas no manas kolekcijas. Baigi 
labs darbs - seksuali un sensitivi pornografisks. 

Seko saitei: http://bit.ly/gIrXBt


___
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: Which php??

2011-01-11 Thread Gary Kline
On Tue, Jan 11, 2011 at 01:24:35PM -0500, Brad Mettee wrote:
> Gary Kline wrote:
> >On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> >>On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:
> >>
> >>>On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> On 10/01/2011 21:21, Gary Kline wrote:
> >Which php52 port do I need to run with wordpress?  There are  a
> >slew of them po ports.
> >
> >tia.
> >
> php5.2 is the last release before its eol'd.
> 
> there may be some tweaking, but you'd be better getting it working
> with 5.3 (lang/php5) now rather than later...
> 
> Paul.
> 
> >>>Well, I have no screen-capture set up o my server, so cannot
> >>>   show the firefox display.  But here is the samr thing using
> >>>   lynx:
> >>>
> >>>   According to the /usr/local/www/wordpress/* files, php is not
> >>>   running.  I had the wordpress port install itself in the default
> >>>   place: in /usr/local/www; should I cp the files somewhere else?
> >>>   --I have no subdomain wordpress (or wordpress.thought.org).
> >>>
> >>>
> >>>
> >>>ps 8:20 Server  [5025] lynx wp-admin/install.php
> >>>  (p1
> >>>of 3)
> >>>  WordPress
> >>>
> >>>Error: PHP is not running
> >>>
> >>>  WordPress requires that your web server is running PHP. Your server
> >>>  does not have PHP installed, or PHP is turned off.
> >>>  >
> >>>
> >>>  WordPress
> >>>
> >>>  get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
> >>>  Blogs appear in search engines by default $blog_public = 1; if ( !
> >>>  empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
> >>>  $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
> >>>  $_POST['weblog_title'] ) ) : ''; $user_name =
> >>>  isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] )
> >>>  ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim(
> >>>  stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset(
> >>>  $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) )
> >>>  : ''; if ( ! is_null( $error ) ) { ?>
> >>>
> >>>  ERROR
> >>>
> >>>
> >>>
> >>>   So:: are there other ways of installing this stuff?  Should I
> >>>   cp -rp this wordpress directory in [e.g.]
> >>>   /usr/local/www/journey?
> >>>
> >>>   Thanks for any clues,
> >>>
> >>>   gary
> >>>
> >>>Gary,
> >>Did you set up your webserver to parse .php/.phps files. In Apache this is
> >>probably (I don't have apache install on my fbsd box anymore) at
> >>/usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
> >>webservers...
> >>
> >>hth/c-
> >
> >
> >Here is a grep -1 php of the httpd.conf, showing that the php types
> >are allowed.
> >
> >
> >
> >LoadModule rewrite_module libexec/apache22/mod_rewrite.so
> >LoadModule php5_modulelibexec/apache22/libphp5.so
> >LoadModule php5_modulelibexec/apache/libphp5.so
> >###LoadModule php5_modulelibexec/apache/libphp5.so
> >
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php-source .phps
> >
> >
> >AddType application/x-httpd-php .php .htm .html
> >
> >
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php-source .phps
> >
> > So, yeah, looks like that is permitted..
> Does the PHP.INI file have short tags enabled? Does WordPress use
> them by default? (Look at the beginning of the wordpress php files,
> look for " (deprecated, but still usable) looks like this " 
> Only ONE of the AddTypes should exist, I'm not sure how Apache will
> handle it if there are multiple of them. Prune it back to being just
> this pair (and make sure you do an apache restart after you change
> it):
> 
> AddType application/x-httpd-php .php .htm .html .phtml
> AddType application/x-httpd-php-source .phps
> 
> If you execute "php -version" from the shell, what do you get?
> 
Lots of warnings::


Deprecated: Directive 'register_long_arrays' is deprecated in PHP
5.3 and greater in Unknown on line 0

Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
and greater in Unknown on line 0
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01)
(DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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: problem booting a new server on FreeBSD

2011-01-11 Thread Amitabh Kant
On Wed, Jan 12, 2011 at 2:03 AM, FRLinux  wrote:

> On Tue, Jan 11, 2011 at 7:16 PM, Robert Bonomi 
> wrote:
> > Try booting _with_ a disk in the CD drive.
>
> Well, I was at least for the first install since I booted from CD,
> time was the same about 1m to 1m30 before it boots.
>
> > Also, assuming these are parallel ATA drives, check the master/slave
> jumper
> > settings -- both on the CDROM and any other device on the same
> controller.
>
> Not a bad idea, have actually to open of the servers tomorrow so will
> check on that.
>
> Cheers,
> Steph
>

Try setting hint.atkbdc.0.disabled=”1" and hint.atkbd.0.disabled=”1″ in
/boot/device.hints . This should solve your boot delay problems. If I am not
wrong, it relates to usb keyboard.

With regards

Amitabh
___
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"


Any other suggestions??

2011-01-11 Thread Gary Kline

Folks,  

I have used ``portmaster portdir/port --fix'' to upgrade lang/php5, 
www/wordpress, and www/apache22.   php --version does tell me that I 
have php5 5.3.5 but it also has a page of misc output preceding
that.  This output is of the type "^Warning: PHP 5.3 cannot" do
whatever.  

I cannot set up wordpress which is set up in /usr/local/www/wordpress.
I _can_ read the readme.html file.  


I will have another try and installing the blogware and see if there
are options.  Meanwhile, if anybody has done this gbefore, I would
be much obliged for some clues.

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.thought.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"


Sudo 1.7.4 and AD groups

2011-01-11 Thread Robert Archer
Hi FreeBSD Folks,

I'm using Samba 3.5.6 to authenticate logins and manage access on FreeBSD 8.1.

With Sudo 1.7.2, I was able to use Active Directory groups in sudoers(5), but
this doesn't seem to work in 1.7.4.

Versions:

  $ uname -a
  FreeBSD cis-mvl.ml.unisa.edu.au 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Tue 
Jan 11 06:03:08 CST 2011 
r...@cis-freebsd.ml.unisa.edu.au:/export/build/obj/export/build/src/sys/VMWARE  
amd64
  $ sudo -V
  Sudo version 1.7.4p4
  $ winbindd -V
  Version 3.5.6

/etc/nsswitch.conf:

  group:  files winbind
  hosts:  files dns
  networks:   files
  passwd: files winbind
  protocols:  files
  rpc:files
  services:   files
  shells: files

/usr/local/etc/pam.d/sudo:

  authsufficient  /usr/local/lib/pam_winbind.so   try_first_pass
  authinclude system
  account include system
  session requiredpam_permit.so
  passwordinclude system

/usr/local/etc/sudoers:

  Defaultsenv_keep+= "EDITOR FTP_PASSIVE_MODE HOME 
PAGER"
  Defaultsinsults
  Defaultsshell_noargs
  Defaultssyslog  = auth
  Defaults!tty_tickets
  
  rootALL = (ALL) ALL
  %wheel  ALL = (ALL) ALL
  %cis-sambagroupname ALL = (ALL) ALL

Using version 1.7.2:

  $ /mnt/usr/local/bin/sudo -V
  Sudo version 1.7.2p6
  $ /mnt/usr/local/bin/sudo -l
  Password: 
  Matching Defaults entries for cis-username on this host:
  env_keep+="EDITOR FTP_PASSIVE_MODE HOME PAGER", insults, shell_noargs, 
syslog=auth, !tty_tickets

  User cis-username may run the following commands on this host:
  (ALL) ALL

Using version 1.7.4:

  $ sudo -V
  Sudo version 1.7.4p4
  $ sudo -l
  Password: 
  Sorry, user cis-username may not run sudo on cis-mvl.

The group looks correct:

  $ getent group cis-sambagroupname 
  
cis-sambagroupname:x:169013:cis-,iee-XX,cis-,cis-username,cis-XXX,cis-XX

And if I add my username to sudoers(5), it works fine.

Any suggestions?

Thanks
Rob.

___
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"