Re: how do i find libphp4.so??

2007-02-04 Thread Gary Kline
On Mon, Feb 05, 2007 at 12:27:37AM -0600, Richard Lynch wrote:
> On Sun, February 4, 2007 12:45 am, Gary Kline wrote:
> > This is getting sranger and strangr.  (BTW, I'll check the
> > pkg-plist files; I forgot that; thanks.)
> >
> > On my ThinkPad, I have cloned my web files and php works.
> > There is a different apache/httpd.conf file on my laptop,
> > but only slightly: it lacks my many vitural websites.
> > zen.thought.org has the same php4.* ports as on my real
> > webserver. Fewer, in fact.  On zen, the libphp4.so was
> > (by default, obviously) commented.  On my webserver, I had
> > uncommented it.  This is the only diffrence I can think of
> > that makes any sense.  On zen, my php pages display.  Here
> > (ns1.thought.org) I get the "Firefox does not know" etc,
> > and asks if it should save the page.
> >
> > I'm utterly, completely stumped.  Ideas?
> 
> First, is libphp4.so in that directory or not?
> 
> If not, install the PHP 4 port and it will be.
> 
> Next, if you managed to screw up httpd.conf so that it doesn't "know"
> that .php files are supposed to be run through PHP, then you'll get
> the message you are seeing.  So check your httpd.conf settings
> carefully.


Well, after hours of experimentation and thanks *very*, nay
__extremely__ much to the many people on this list, I finally
realized that the default on php4 (and php5) does NOT set up
php to work with apache.  I took in for granted that php and
apache worked hand-in-glove.  Nope.  Matthew Seaman had me bring
up the blue frame and select the appropriate [X].  I looked at the
Makefiles and edited the "off" to "on".  After my 90-11th build,
things worked.  Both on "sage" (aka ns1) and on zen and here on
tao.thought.org.

Live 'n' learn; and this time, the lesson is burned into my
neurons:-)

gary
> 
> -- 
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some starving artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?
> 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file vs swap partition

2007-02-04 Thread Peter Jeremy
Please wrap your lines and don't top-post.

On Sun, 2007-Feb-04 15:24:39 -0800, Aloha Guy wrote: What I actually
>meant was, I know in the old days, if you had 128MB, you want a 256MB
>swap but with 2GB RAM, isn't 4GB going to be overkill for a swap or
>are you saying that a 2GB swap will work?  I'm still lost on the
>ratio since I thought the 2x was only if you had like small amounts
>of RAM.

2:1 was a very old rule of thumb.  A better approach is to consider
your workload:  Your working set needs to fit in RAM and the total
virtual size needs to fit into RAM+swap.  If you tend to leave lots
of large processes lying around not doing anything, you might be
able to usefully use much more swap than if you religiously kill
processes that you aren't using - particularly if you don't have
massive amounts of RAM.  My desktop at work typically runs with
swap utilisation about twice RAM (but it only has ~160MB RAM).

Keep in mind that you can use multiple swap partitions so it can
be useful to have an active swap on each disk.  (The VM system
stripes across available swaps).

-- 
Peter Jeremy


pgpMv9rkbZ7oC.pgp
Description: PGP signature


Re: READ_DMA48 error interpretation

2007-02-04 Thread Richard Lynch
On Tue, January 16, 2007 3:21 pm, Chuck Swiger wrote:
> On Jan 16, 2007, at 1:13 PM, Richard Lynch wrote:
>> I know the messages below mean the hard drive or IDE cards are
>> having
>> problems.  But is this like RED ALERT or more like YELLOW or what?
...
>> +ad1: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=404955007
>> +ad1: FAILURE - READ_DMA48 status=51
>> error=10
>> LBA=404955007
>> +g_vfs_done():ad1s1[READ(offset=207336931328, length=16384)]error = 5

> If you have current backups, it's a yellow alert.  Otherwise...
>
>> And what do I do about it?
>>
>> umount and fsck everything a lot?
>> swap cards/drives around until it stops?
>> Ignore it and pray?
>
> Try installing the sysutils/smartmontools port and run a drive self-
> test.  That will give you a much better assessment of the state of
> the drive and whether it is likely to completely fail in the next 24
> hours...

I ran the short test on the problem drives, and it said everything was
fine.

I'll try the long test at a later date.

Meanwhile, I turned on the smartd daemon, and am seeing two issues in
the logs...

#1. The drive temperatures seem ridiculously high to this naive
reader, but what do I know?...
110 to 190 Celcius?  Yikes...  Or maybe that's normal?
How hot is too hot?

#2. Sequences like this show up a fair amount:
Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time changed
from 152 to 153
Device: /dev/ad2, SMART Prefailure Attribute: 3 Spin_Up_Time changed
from 153 to 152
Device: /dev/ad0, SMART Prefailure Attribute: 8 Seek_Time_Performance
changed from 251 to 250

So is the real "problem" just that the drives are spun down and can't
spin up fast enough? I can probably live with the consequences of
that, and just go on with life -- The occasional HTTP request for an
audio file will fail the first time, and they have to hit reload.

This box is the fail-safe roll-over server for audio files that are
all up online somewhere else managed by a professional (not me), so
it's no surprise that the rare time-out on the real server also ends
up with a drive spin up and failed request on the "backup".  Kind of
annoying, I guess, to an end user, but forcing the drives to always be
spinning is probably not a Good Idea.

Oh, here's a rather long excerpt of the log in case there's minutae
within it that I've failed to include:
http://l-i-e.com/smartd.log

Any help in interpreting these results is most appreciated!

THANKS!!!

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iTunes - once again.

2007-02-04 Thread Josh Carroll

Call me silly, but it seems to me you ought to be lobbying Apple for
Linux support.

Get a decent Apple-made Linux player, and FreeBSD support via the
linux emulator would *probably* work, no?


I agree, getting Apple to support iTunes on Linux is key. I don't know
if there have been other online petitions, but here's a recent one for
just that:

http://www.petitiononline.com/itunesli/petition.html

Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Richard Lynch
On Sun, February 4, 2007 12:45 am, Gary Kline wrote:
>   This is getting sranger and strangr.  (BTW, I'll check the
>   pkg-plist files; I forgot that; thanks.)
>
>   On my ThinkPad, I have cloned my web files and php works.
>   There is a different apache/httpd.conf file on my laptop,
>   but only slightly: it lacks my many vitural websites.
>   zen.thought.org has the same php4.* ports as on my real
>   webserver. Fewer, in fact.  On zen, the libphp4.so was
>   (by default, obviously) commented.  On my webserver, I had
>   uncommented it.  This is the only diffrence I can think of
>   that makes any sense.  On zen, my php pages display.  Here
>   (ns1.thought.org) I get the "Firefox does not know" etc,
>   and asks if it should save the page.
>
>   I'm utterly, completely stumped.  Ideas?

First, is libphp4.so in that directory or not?

If not, install the PHP 4 port and it will be.

Next, if you managed to screw up httpd.conf so that it doesn't "know"
that .php files are supposed to be run through PHP, then you'll get
the message you are seeing.  So check your httpd.conf settings
carefully.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file vs swap partition

2007-02-04 Thread Richard Lynch
On Sun, February 4, 2007 3:53 pm, Aloha Guy wrote:
> Thanks for the input.  You do have good points.  The only issue with
> swap partitions is that it seems like you need to increase it
> everytime you increase the physical memory.  Is there a swap partition
> size limit that pretty much will handle anything and setting a number
> larger than that will really not offer anything?

What you *might* consider doing:

A swap partition the size of *ONE* RAM chip.

A swap file the size of all your RAM chips.

If you are having kernel panics, you can pull out RAM and then get
your kernel dump, I would presume.

This is a made-up answer from a guy who has no idea what he's talking
about, really...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iTunes - once again.

2007-02-04 Thread Richard Lynch
On Sun, February 4, 2007 2:47 pm, Chris wrote:
> Heya folks -
>
>   Every 6 months (sometimes longer) I ask about either a port, or a
> Wine
> config that allows the playing of iTune-purchased music.
>
>   Last I seen, Banshee comes close (Under Linux) and of course I opted
> to
> give Wine a shot.
>
>   I could settle for Wine *IF* there is/was a version of iTunes that
> some
> has gotten to work - no need pointing me to the WineHQ site. The docs
> for versions of iTunes is lacking (and of course, I'm being kind).
>
>   So - if anyone has gotten iTunes files to work (Please, I don't want
> to
> go through the madness of converting 7 DVD's into MP3 format), let me
> know.
>
>   With a little luck, someone has gotten this done without hours of
> kludging.

Call me silly, but it seems to me you ought to be lobbying Apple for
Linux support.

Get a decent Apple-made Linux player, and FreeBSD support via the
linux emulator would *probably* work, no?

While I feel your pain about converting to MP3, having your music held
hostage and restricting your pre-existing legal rights of use seems
like a pretty good motivator...

A junk box out of the closet running flat-out to do the conversion of
AAC to MP3 wouldn't take that long, even for 7 DVD worth, I shouldn't
think...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dumb filesystem idea

2007-02-04 Thread Atom Powers

On 2/4/07, Indigo <[EMAIL PROTECTED]> wrote:

Hello Everyone,
  Im about to try a disklayout experiment and I wanted to ask everyone if
Im trying things that are pointless or if I should extend the experiment
somehow.

Hardware:
  Highpoint RocketRAID 2320
  2xWD Raptor 74GB
  5xWD Caviar 320GB

Original idea for the setup:
  74GB RAID1 (Raptors)
   /,/var,/usr
  50GB RAID0 (Caviars[10GB from each - maybe less])
   swap,/usr/obj,/tmp,[/var/audit]
  1TB+ RAID5 (Caviars[the rest])
   /home (or just general storage)

The goal is to waste as few fast/reliable space as possible on things that
CAN be lost and to generally reorganize the filesystem by file purpose.


It looks to me like you are wasting system drive channels. That is,
IDE can only have two drives per channel, SATA can have one drive per
channel. SCSI is too expensive to waste on 10GB drives. So while you
might be moving low-use data off of a high-use file system you are
losing the ability to have a high-capacicy file system.


Known issue is that I'll need some script to recreate the RAID0
filesystems when they crash.


Shouldn't be a prolem with gvinum. Except that some applications
/will/ crash if /tmp dissipears, and you certainly don't want swap to
dissipear if it's being used either.


Am I onto something here? I feel like running in circles - it's dumb to
put /var/obj on the RAID1 where it just eats valuable space. But it's also
dumb to put things on a RAID0 where they will crash a running system in
the event of disk failure. I know my idea won't work but I wanted to ask
if anyone was playing with similar ideas.


The trick is to balance your performance requirements and your fault
tolerance with the data usage and system security requirements. The
fault tolerance of RAID 1 and RAID 5 are nearly the same, each can
survice exactly one drive failure. In your example above, the Raptor's
are fast, but depending on what the system is used for you might need
that speed in /var, swap, or some other mount point, most of the time
IO on / and /usr is pretty low. On the other hard, RAID 5 is fine for
a file server, but if you have a database on that volume you might
want to go with RAID 10.

So no, your idea isn't dumb, you just didn't give enough information
to make a meaningful assessment.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


port install vim no gettext feature

2007-02-04 Thread peter
Hi, I install vim from port /usr/ports/editors/vim,
In gvim, use :version command:

Big version with GTK GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard
+cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope
+cursorshape +dialog_con_gui +diff
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
+file_in_path +find_in_path +folding
-footer +fork() -gettext -hangul_input +iconv +insert_expand +jumplist
+keymap +langmap +libcall +linebreak
+lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse
+mouseshape +mouse_dec -mouse_gpm
-mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang
-mzscheme +netbeans_intg -osfiletype
+path_extra -perl +postscript +printer -profile -python +quickfix
+reltime +rightleft -ruby +scrollbind
+signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl
+terminfo +termresponse +textobjects +title +toolbar +user_commands
+vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows
+writebackup +X11 +xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save


How to modify Makefile to enable gettext?

thanks

peter

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ahci ata/sata controllers and bios (was: Re: Fwd (by request from fbsd-questions): Help! Sata controller reset failure after 6.2 upgrade!)

2007-02-04 Thread Steve Franks

Sorry about that last subject line, gents.  Shouldn't have blindly
forwarded it.  Rest of message identical.

Steve

On 2/4/07, Steve Franks <[EMAIL PROTECTED]> wrote:

On 2/4/07, Søren Schmidt <[EMAIL PROTECTED]> wrote:
> Steve Franks wrote:
> > Soren,
> >
> > I was instructed to forward this information to you by Ted
> > Mittelstaedt on the freebsd-questions list.  I see the M5287 listed in
> > "man ata" but it doesn't work on my system.  I found several other
> > emails with identical info from novemeber on the freebsd-stable list,
> > also unresolved.  Those were for 6.2-RC2.  Was working fine under
> > 6.1-release. dmesg output is below in the forward.
> Somewhere along the lines AHCI support for the 5287 was added, that is
> probably the problem. It might be nessesary to enable AHCI in the BIOS
> if possible.
> Otherwise a way to tell when this is actually working on the HW is
> needed as its clearly not enough that the BIOS says the resources are
> there
>
> -Søren
> >
> > Thanks,
> > Steve
> >
> > -- Forwarded message --
> > From: Steve Franks <[EMAIL PROTECTED]>
> > Date: Feb 2, 2007 11:43 AM
> > Subject: Help! Sata controller reset failure after 6.2 upgrade!
> > To: FreeBSD Users Questions 
> >
> >
> > Everything looks spiffy after my upgrade except all my sata disks are
> > gone.  Thank goodness the os in on a pata controller:
> >
> > atapci1:  port
> > 0xec00-0xec0f,0xe880-0xe887,0xe800-0xe80f,0xe480-0xe487,0xe400-0xe41f
> > mem 0xd800-0xdbff irq 21 at device 31.1 on pci0
> > atapci1: AHCI controller reset failure
> > device_attach: atapci1 attach returned 6
> >
> > So, I booted the 6.2 iso to find identical behavior, so it is not my
> > mistake in the upgrade process (unless the mistake was to upgrade at
> > all).
> >
> > Thanks,
> > Steve
> >
> >
>
>

Soren,

I don't see any AHCI settings anywhere in my bios or in my sata raid
controller page.  It is the latest bios.  Is there a way to force the
driver to a standard ata device instead of ahci?

Steve




Sorry about that last subject line, gents.  Shouldn't have blindly
forwarded it.  Rest of message identical.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fwd (by request from fbsd-questions): Help! Sata controller reset failure after 6.2 upgrade!

2007-02-04 Thread Steve Franks

On 2/4/07, Søren Schmidt <[EMAIL PROTECTED]> wrote:

Steve Franks wrote:
> Soren,
>
> I was instructed to forward this information to you by Ted
> Mittelstaedt on the freebsd-questions list.  I see the M5287 listed in
> "man ata" but it doesn't work on my system.  I found several other
> emails with identical info from novemeber on the freebsd-stable list,
> also unresolved.  Those were for 6.2-RC2.  Was working fine under
> 6.1-release. dmesg output is below in the forward.
Somewhere along the lines AHCI support for the 5287 was added, that is
probably the problem. It might be nessesary to enable AHCI in the BIOS
if possible.
Otherwise a way to tell when this is actually working on the HW is
needed as its clearly not enough that the BIOS says the resources are
there

-Søren
>
> Thanks,
> Steve
>
> -- Forwarded message --
> From: Steve Franks <[EMAIL PROTECTED]>
> Date: Feb 2, 2007 11:43 AM
> Subject: Help! Sata controller reset failure after 6.2 upgrade!
> To: FreeBSD Users Questions 
>
>
> Everything looks spiffy after my upgrade except all my sata disks are
> gone.  Thank goodness the os in on a pata controller:
>
> atapci1:  port
> 0xec00-0xec0f,0xe880-0xe887,0xe800-0xe80f,0xe480-0xe487,0xe400-0xe41f
> mem 0xd800-0xdbff irq 21 at device 31.1 on pci0
> atapci1: AHCI controller reset failure
> device_attach: atapci1 attach returned 6
>
> So, I booted the 6.2 iso to find identical behavior, so it is not my
> mistake in the upgrade process (unless the mistake was to upgrade at
> all).
>
> Thanks,
> Steve
>
>




Soren,

I don't see any AHCI settings anywhere in my bios or in my sata raid
controller page.  It is the latest bios.  Is there a way to force the
driver to a standard ata device instead of ahci?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: packet destination from pcap

2007-02-04 Thread Giorgos Keramidas
On 2007-02-04 20:16, nocturnal <[EMAIL PROTECTED]> wrote:
> Hi
> I'm sniffing packets with pcap but i need information about where the
> packet is going.

This is a decision made by the routing table, so there's no good way to
'guess' where it will go before the packet reaches the outgoing queue of
the IP layer.

> I'm thinking i need to open two pcap sessions with two different
> filters because the application i'm writing has a need for
> distinguishing between packets going to a specified ip-address and
> those going from it.

Well, the destination IP address should be easy to grab.  Even if you do
get hold of that though, you may have to listen to multiple pcap
connections to find out where the routing decisions send the packet on
its way out.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: temporary IP addition to firewall rules

2007-02-04 Thread Noah



Erik Norgaard wrote:

Noah wrote:

the servers and clients are not on the same LAN segment.  capturing 
MAC has nothing to do with this scenario.


You haven't exactly told a lot about the network you want to setup. 
The logic thing is to authenticate against the firewall connected to 
the same subnet - and that will know the mac address. The same setup 
is assumed in the scenario using pfauth (or is it authpf).


alot of assumptions that are incorrect.  the fireware is running as part 
of freeBSD there is no edge firewall device to the LAN segment.  your 
ideas will not work for my scenario.





Also, unless you are going to give a lot of instructions to people on 
how to configure their network, you will have a dhcp server on the 
same subnet - why not let that also do the web service for user 
management?


You haven't told either, how people connect - is it wireless or wired? 
Some access points supports that people authenticate WPA+something and 
the access point will verify against a radius server. And there are 
other possibilities depending on your setup.


But whichever way you setup your network, I think the best solution is 
if people establish an IPSec tunnel to the firewall, such that all 
traffic not destined for the local subnet must be tunneled through 
that. This gives you maximum control - you can even setup your 
firewall so that traffic coming in on a IPSec tunnel is also filtered.


Cheers, Erik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Rc.Local

2007-02-04 Thread RW
On Sat, 03 Feb 2007 18:56:15 -0600
Paul Schmehl <[EMAIL PROTECTED]> wrote:

> --On February 3, 2007 7:05:12 PM -0500 Bob <[EMAIL PROTECTED]> wrote:
> >
> > My Question: Where is the proper place under FreeBSD, to put truly
> > local start-up commands? Commands I want executed at the very END
> > of the boot process, and which are truly LOCAL?
> >
> man (8) rc
> 
> /usr/local/etc/rc.d/rc.local

/usr/local/etc/rc.d/ is a replacement for rc.local, so it would be odd
if /usr/local/etc/rc.d/rc.local had any special significance. 



I don't even have an rc.local file, so it doesn't play a part in the
normal boot process, and I assume it's only really deprecated for use
by packages, which should install a script instead. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Gary Kline
On Sun, Feb 04, 2007 at 01:12:03PM -0800, Garrett Cooper wrote:
> Gary Kline wrote:
> >On Sun, Feb 04, 2007 at 12:02:51AM -0800, Garrett Cooper wrote:
> >
> > I'd say something like "Aaaaggghhh!!!" but I don't have
> > the energy :-|
> >
> > gary
> >
> >
> >>-Garrett
> 
>   Wait, now I'm confused because everything shows up on the screen for 
> me. Are you having the problem server side or did you mess around with 
> something client side by chance that mucked up your system?
> 
> Could you:
> 1. Clear out your browser cache.
> 2. Clear out your history.
> 3. Take a screenshot of your error and post the link.
> 


sO long as my php files are displayed outside, that's a ++plus.
Changing one thing at a time when there are so many variables,
and especially with the ports changing every N weeks, is painful.

Looks like Matthew was right on the money with my marking X on
the Apache Module build.  Things are starting to get back to
normal on my side.  

gary



> Thanks,
> -Garrett
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox mess in Freebsd 6.1

2007-02-04 Thread Andrew Pantyukhin

On 1/18/07, Dak Ghatikachalam <[EMAIL PROTECTED]> wrote:

Did I screw up my firefox  big time, I see flash player
plugins files everywhere.


It's actually a cutting-edge technology called chaotic
symlinking :-) Don't bother your eyes with the internals,
/usr/local/lib/npapi is supposed to look scary.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file vs swap partition

2007-02-04 Thread Daniel O'Connor
On Monday 05 February 2007 08:58, Scott Long wrote:
> Processors and memory have vastly outpaced the speed of disks; any
> amount of swapping is going to be percieved as being very slow and
> something that should be avoided.  Since RAM is also very cheap now,
> most people just load enough RAM into their system to handle their load,
> and then configure enough swap to hold a crashdump of that RAM.  You
> always want swap so that you can handle unexpected spikes in load
> without crashing, but it's less of an integral piece of normal system
> operation these days.

Mini-dumps have made it a lot easier to get away with a small amount of swap.
That said it's not like disk is expensive either!

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpzXapmx8DNB.pgp
Description: PGP signature


Re: how do i find libphp4.so??

2007-02-04 Thread Garrett Cooper

Gary Kline wrote:

On Sun, Feb 04, 2007 at 09:42:45AM +, Matthew Seaman wrote:

Gary Kline wrote:

What utility will find the shared lib: libphp4.so?
	In the apache httpd.conf from a couple weeks ago, the file was 
	in /usr/local/libexec/apache/ and it just might be that if I

rebuild the library, PHP files will suddenly work.

...Hope springs eternal.

Did you recompile the php4 port recently?  If you:

cd /usr/ports/lang/php4
make config

Is the box for 'Build Apache Module' checked?  If not,
check it now, and reinstall the land/php4 port.  That
should regenerate the libphp4.so module in
/usr/local/libexec/apache




So it's the make config that pops up the Options frame.
I learnsomething every day.  (I was going into work/php4
	and running the ./configure script by hand.)  It's building 
	now.


There was a libtool fault yesterday; fingers crossed.

gary




Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW


You shouldn't be installing and configuring sources by hand in FreeBSD 
though if they're in ports =\..

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Gary Kline
On Sun, Feb 04, 2007 at 09:42:45AM +, Matthew Seaman wrote:
> Gary Kline wrote:
> > What utility will find the shared lib: libphp4.so?
> > In the apache httpd.conf from a couple weeks ago, the file was 
> > in /usr/local/libexec/apache/ and it just might be that if I
> > rebuild the library, PHP files will suddenly work.
> > 
> > ...Hope springs eternal.
> 
> Did you recompile the php4 port recently?  If you:
> 
> cd /usr/ports/lang/php4
> make config
> 
> Is the box for 'Build Apache Module' checked?  If not,
> check it now, and reinstall the land/php4 port.  That
> should regenerate the libphp4.so module in
> /usr/local/libexec/apache
> 


So it's the make config that pops up the Options frame.
I learnsomething every day.  (I was going into work/php4
and running the ./configure script by hand.)  It's building 
now.

There was a libtool fault yesterday; fingers crossed.

gary



>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>   Kent, CT11 9PW
> 



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Gary Kline
On Sun, Feb 04, 2007 at 02:19:26PM -0800, Garrett Cooper wrote:
> Gary Kline wrote:
> >On Sun, Feb 04, 2007 at 09:42:45AM +, Matthew Seaman wrote:
> >>Gary Kline wrote:
> >>>   What utility will find the shared lib: libphp4.so?
> >>>   In the apache httpd.conf from a couple weeks ago, the file was 
> >>>   in /usr/local/libexec/apache/ and it just might be that if I
> >>>   rebuild the library, PHP files will suddenly work.
> >>>
> >>>   ...Hope springs eternal.
> >>Did you recompile the php4 port recently?  If you:
> >>
> >>cd /usr/ports/lang/php4
> >>make config
> >>
> >>Is the box for 'Build Apache Module' checked?  If not,
> >>check it now, and reinstall the land/php4 port.  That
> >>should regenerate the libphp4.so module in
> >>/usr/local/libexec/apache
> >>
> >
> > Some questions for you, Matthew; hopefully not too uninformed...  .
> > One, how to I bring up that DOS-ish '3-D' (Or whatever) check
> > winfow? and how to reset if I make a mistake?   I've checked 
> > everywhere I can think of, or nearly.
> >
> > Of note is that overnight--from 03.00 until I finally unglued my
> > eyes--I installed php5 on zen.  The php files display; the
> > counter and other php code  may work; and for totally unknown
> > reasons, on tao php works without my having any php port
> > installed.  --It may just display as html displays.  The code
> > can't exec (barring ghosts in closets).  How does php work
> > elsewhere as it does on my laptop, zen, while I'm having such
> > troubles on ns1??   I have moved the *new* httpd.conf into
> > /usr/local/etc/apache, restarted apache.  Zip.  I am about to 
> > rebuild php4 on ns1 using portupgrade.  
> >
> > FWIW, I did a wholesale upgrade on my primary server toward the
> > end of January, and on the 31st  noticed trouble with PHP.  I 
> > figured it was because I was messing with the javascript
> > extensions/addons on firefox.  Nope.  I severely shot off both
> > feet.  Any help or insights much appreciated!  ...Yes, I googled
> > around for this problem.  Nothing worked.
> >
> > merci d'advanc,
> >
> > gary
> >
> >
> >
> >
> >>Cheers,
> >>
> >>Matthew
> >>
> >>-- 
> >>Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
> >>  Flat 3
> >>PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> 
> Just try running php on the command line with the php file. The only 
> thing that won't be set is the variables that are setup from apache 
> (HTML related environment variables). If anything fails, it will there 
> with a lot more info.


Good suggestion.  I just did (yet-another) ports upgrade and made
INDEx
on ns1.  About 90 mins about I moved the http.conf from zen to
ns1.  There is no /usr/local/bin/php now, or shouldn't be!--but
after php4 fnishes, I'll point it at jotting/index.php.

I have wiped out my Cache(s); didn't realize that the history was 
necessary too will try, thanks.

gary

> 
> -Garrett
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file vs swap partition

2007-02-04 Thread Aloha Guy
What I actually meant was, I know in the old days, if you had 128MB, you want a 
256MB swap but with 2GB RAM, isn't 4GB going to be overkill for a swap or are 
you saying that a 2GB swap will work?  I'm still lost on the ratio since I 
thought the 2x was only if you had like small amounts of RAM.

John


- Original Message 
From: Scott Long <[EMAIL PROTECTED]>
To: Aloha Guy <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, February 4, 2007 2:28:47 PM
Subject: Re: swap file vs swap partition


Aloha Guy wrote:
> Thanks for the input.  You do have good points.  The only issue with 
> swap partitions is that it seems like you need to increase it everytime 
> you increase the physical memory.  Is there a swap partition size limit 
> that pretty much will handle anything and setting a number larger than 
> that will really not offer anything?
>  
> John


Processors and memory have vastly outpaced the speed of disks; any
amount of swapping is going to be percieved as being very slow and
something that should be avoided.  Since RAM is also very cheap now,
most people just load enough RAM into their system to handle their load,
and then configure enough swap to hold a crashdump of that RAM.  You
always want swap so that you can handle unexpected spikes in load
without crashing, but it's less of an integral piece of normal system
operation these days.

Scott


 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with mod_fcgid inside a jail.

2007-02-04 Thread Vincent Bolinard

Hi,

I've added security.jail.sysvipc_allowed=1 in /etc/sysctl.conf, but it
still does not work.

Is that a bug or am I missing something ?

Thank you.

2007/2/4, John Nielsen <[EMAIL PROTECTED]>:

On Sunday 04 February 2007 05:38, Vincent Bolinard wrote:
> I've just tried to run Apache with mod_fcgid 1.10 and 2.0, but it
> still does not work.
>
> Here is the error with 1.10 :
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
> [info] mod_unique_id: using ip addr 192.168.1.3
> [emerg] (2)No such file or directory: mod_fcgid: Can't create global
> mutex
>
> Here is the error with 2.0 :
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
> [info] mod_unique_id: using ip addr 192.168.1.3
> [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> memory for size %zu byte

Try setting jail_sysvipc_allow=yes in /etc/rc.conf. (Or you can set the
security.jail.sysvipc_allowed sysctl to one, but the jail rc scripts will
change it if you use them and don't have the RC variable set.)

JN

> 2007/2/2, Josh Tolbert <[EMAIL PROTECTED]>:
> > On Fri, Feb 02, 2007 at 10:51:32PM +0100, Ivan Voras wrote:
> > > Vincent Bolinard wrote:
> > > > [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> > > > memory for size 316628 byte
> > > >
> > > > I'm running FreeBSD 6.2-RELEASE, Apache 2.0.59 and mod_fcgid 1.09.
> > >
> > > Try running v1.10, here's what it says in changelog:
> > >
> > > "3. Use anonymous shared memeory to make OS X happy. (Thank andkjar
> > > at obtech.net for the patch.)"
> > >
> > > Maybe it will help you.
> >
> > Update to 2.0 will be coming soon...Maybe this weekend, if I find some
> > time. I have no idea if it'll fix the problem, but 1.x is dead either
> > way.
> >
> > Thanks,
> >
> > Josh
> > --
> > Josh Tolbert
> > [EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/
> >
> > Security is mostly a superstition. It does not exist in nature, nor
> > do the children of men as a whole experience it. Avoiding danger
> > is no safer in the long run than outright exposure. Life is either
> > a daring adventure, or nothing.
> > -- Helen Keller
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dumb filesystem idea

2007-02-04 Thread Indigo

Hello Everyone,
 Im about to try a disklayout experiment and I wanted to ask everyone if  
Im trying things that are pointless or if I should extend the experiment  
somehow.


Hardware:
 Highpoint RocketRAID 2320
 2xWD Raptor 74GB
 5xWD Caviar 320GB

Original idea for the setup:
 74GB RAID1 (Raptors)
  /,/var,/usr
 50GB RAID0 (Caviars[10GB from each - maybe less])
  swap,/usr/obj,/tmp,[/var/audit]
 1TB+ RAID5 (Caviars[the rest])
  /home (or just general storage)

The goal is to waste as few fast/reliable space as possible on things that  
CAN be lost and to generally reorganize the filesystem by file purpose.


Known issue is that I'll need some script to recreate the RAID0  
filesystems when they crash.


Am I onto something here? I feel like running in circles - it's dumb to  
put /var/obj on the RAID1 where it just eats valuable space. But it's also  
dumb to put things on a RAID0 where they will crash a running system in  
the event of disk failure. I know my idea won't work but I wanted to ask  
if anyone was playing with similar ideas.


Thanks,
Vasek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file vs swap partition

2007-02-04 Thread Scott Long

Aloha Guy wrote:
Thanks for the input.  You do have good points.  The only issue with 
swap partitions is that it seems like you need to increase it everytime 
you increase the physical memory.  Is there a swap partition size limit 
that pretty much will handle anything and setting a number larger than 
that will really not offer anything?
 
John



Processors and memory have vastly outpaced the speed of disks; any
amount of swapping is going to be percieved as being very slow and
something that should be avoided.  Since RAM is also very cheap now,
most people just load enough RAM into their system to handle their load,
and then configure enough swap to hold a crashdump of that RAM.  You
always want swap so that you can handle unexpected spikes in load
without crashing, but it's less of an integral piece of normal system
operation these days.

Scott
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dumb filesystem idea

2007-02-04 Thread Indigo

Hello Everyone,
 Im about to try a disklayout experiment and I wanted to ask everyone if  
Im trying things that are pointless or if I should extend the experiment  
somehow.


Hardware:
 Highpoint RocketRAID 2320
 2xWD Raptor 74GB
 5xWD Caviar 320GB

Original idea for the setup:
 74GB RAID1 (Raptors)
  /,/var,/usr
 50GB RAID0 (Caviars[10GB from each - maybe less])
  swap,/usr/obj,/tmp,[/var/audit]
 1TB+ RAID5 (Caviars[the rest])
  /home (or just general storage)

The goal is to waste as few fast/reliable space as possible on things that  
CAN be lost and to generally reorganize the filesystem by file purpose.


Known issue is that I'll need some script to recreate the RAID0  
filesystems when they crash.


Am I onto something here? I feel like running in circles - it's dumb to  
put /var/obj on the RAID1 where it just eats valuable space. But it's also  
dumb to put things on a RAID0 where they will crash a running system in  
the event of disk failure. I know my idea won't work but I wanted to ask  
if anyone was playing with similar ideas.


Thanks,
Vasek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Garrett Cooper

Gary Kline wrote:

On Sun, Feb 04, 2007 at 09:42:45AM +, Matthew Seaman wrote:

Gary Kline wrote:

What utility will find the shared lib: libphp4.so?
	In the apache httpd.conf from a couple weeks ago, the file was 
	in /usr/local/libexec/apache/ and it just might be that if I

rebuild the library, PHP files will suddenly work.

...Hope springs eternal.

Did you recompile the php4 port recently?  If you:

cd /usr/ports/lang/php4
make config

Is the box for 'Build Apache Module' checked?  If not,
check it now, and reinstall the land/php4 port.  That
should regenerate the libphp4.so module in
/usr/local/libexec/apache



Some questions for you, Matthew; hopefully not too uninformed...  .
One, how to I bring up that DOS-ish '3-D' (Or whatever) check
	winfow? and how to reset if I make a mistake?   I've checked 
	everywhere I can think of, or nearly.


Of note is that overnight--from 03.00 until I finally unglued my
eyes--I installed php5 on zen.  The php files display; the
counter and other php code  may work; and for totally unknown
reasons, on tao php works without my having any php port
installed.  --It may just display as html displays.  The code
can't exec (barring ghosts in closets).  How does php work
elsewhere as it does on my laptop, zen, while I'm having such
troubles on ns1??   I have moved the *new* httpd.conf into
	/usr/local/etc/apache, restarted apache.  Zip.  I am about to 
	rebuild php4 on ns1 using portupgrade.  


FWIW, I did a wholesale upgrade on my primary server toward the
	end of January, and on the 31st  noticed trouble with PHP.  I 
	figured it was because I was messing with the javascript

extensions/addons on firefox.  Nope.  I severely shot off both
feet.  Any help or insights much appreciated!  ...Yes, I googled
around for this problem.  Nothing worked.

merci d'advanc,

gary





Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate


Just try running php on the command line with the php file. The only 
thing that won't be set is the variables that are setup from apache 
(HTML related environment variables). If anything fails, it will there 
with a lot more info.


-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: temporary IP addition to firewall rules

2007-02-04 Thread Erik Osterholm
On Sun, Feb 04, 2007 at 10:51:58PM +0100, Erik Norgaard wrote:
> Noah wrote:
>
> >the servers and clients are not on the same LAN segment.  capturing MAC
> >has nothing to do with this scenario.
>
> You haven't exactly told a lot about the network you want to setup. The
> logic thing is to authenticate against the firewall connected to the
> same subnet - and that will know the mac address. The same setup is
> assumed in the scenario using pfauth (or is it authpf).

It sounded a little bit like perhaps he wants to dynamically allow
services temporarily, but firewall them off (using a local machine
firewall rather than a dedicated firewall) all other times.  Hazarding
a guess, maybe this is due to the common SSH brute force attacks? :)

If the firewall is PF, it's simple enough to include a table of IPs
for which the service is allowed, and make the CGI on the webpage
issue a "pfctl -t  -T add $ENV{REMOTE_IP}" command.  A separate
process could watch the logs for an ssh logout and remove the IP from
the table when a logout from that IP occurs.

It's a dirty solution.  If the problem is specifically the SSH
attacks, there are better ones (denyhosts, or pf rules to block IPs
dynamically when they connect too frequently), but you're right--it's
hard to give good answers when the problem is so ill-defined.

Erik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: swap file vs swap partition

2007-02-04 Thread Aloha Guy
Thanks for the input.  You do have good points.  The only issue with swap 
partitions is that it seems like you need to increase it everytime you increase 
the physical memory.  Is there a swap partition size limit that pretty much 
will handle anything and setting a number larger than that will really not 
offer anything?

John

- Original Message 
From: Scott Long <[EMAIL PROTECTED]>
To: Aloha Guy <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, February 4, 2007 12:16:37 PM
Subject: Re: swap file vs swap partition


Aloha Guy wrote:
> Greetings everyone:
> 
> I am planning to build a few new boxes which will run -RELEASE and -CURRENT 
> and I have a question about the swap file.  In the past, I had always used a 
> swap partition of 256MB since I originally had 128MB system memory in the 
> 1990's but my system has been upgraded to 2GB and it seems the swap file 
> would have more flexibility as I can just change the size of the swapfile if 
> I needed to. My question is is there any difference in performance between a 
> swap file versus a swap partition and can one run a system with a swap file 
> instead of a swap partition?

Yes.  A swap file requires a pass through the filesystem code in order
to figure out where each block is.

> Also, searching has not gotten me very far but are there any drawbacks to a 
> swap file instead of a swap partition?  I read somewhere that a few people 
> seem to think that a swap file can't handle kernel crash dumps?

That's correct, it cannot.

> Shouldn't it be the same as both of them occupy disk space and as long as the 
> swap file is large enough, wouldn't it work?

The crashdump code is written to assume that the dump space is
completely contiguous, something that is not at all guaranteed by
a swap file.  While it would certainly be possible to modify it
to make a pass through the filesystem like above, the intention
of the crashdump code is also to be as simple as possible and to
depend on as few kernel services as possible.  When the system has
crashed, who knows what can be trusted anymore, right?  Also, filesystem
corruption is a frequent cause of crashes; why risk that dumping to
a swapfile might encounter corruption and trash your entire filesystem.

Scott


 

Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: temporary IP addition to firewall rules

2007-02-04 Thread Erik Norgaard

Noah wrote:

the servers and clients are not on the same LAN segment.  capturing MAC 
has nothing to do with this scenario.


You haven't exactly told a lot about the network you want to setup. The 
logic thing is to authenticate against the firewall connected to the 
same subnet - and that will know the mac address. The same setup is 
assumed in the scenario using pfauth (or is it authpf).


Also, unless you are going to give a lot of instructions to people on 
how to configure their network, you will have a dhcp server on the same 
subnet - why not let that also do the web service for user management?


You haven't told either, how people connect - is it wireless or wired? 
Some access points supports that people authenticate WPA+something and 
the access point will verify against a radius server. And there are 
other possibilities depending on your setup.


But whichever way you setup your network, I think the best solution is 
if people establish an IPSec tunnel to the firewall, such that all 
traffic not destined for the local subnet must be tunneled through that. 
This gives you maximum control - you can even setup your firewall so 
that traffic coming in on a IPSec tunnel is also filtered.


Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: how do i find libphp4.so??

2007-02-04 Thread Gary Kline
On Sun, Feb 04, 2007 at 09:42:45AM +, Matthew Seaman wrote:
> Gary Kline wrote:
> > What utility will find the shared lib: libphp4.so?
> > In the apache httpd.conf from a couple weeks ago, the file was 
> > in /usr/local/libexec/apache/ and it just might be that if I
> > rebuild the library, PHP files will suddenly work.
> > 
> > ...Hope springs eternal.
> 
> Did you recompile the php4 port recently?  If you:
> 
> cd /usr/ports/lang/php4
> make config
> 
> Is the box for 'Build Apache Module' checked?  If not,
> check it now, and reinstall the land/php4 port.  That
> should regenerate the libphp4.so module in
> /usr/local/libexec/apache
> 

Some questions for you, Matthew; hopefully not too uninformed...  .
One, how to I bring up that DOS-ish '3-D' (Or whatever) check
winfow? and how to reset if I make a mistake?   I've checked 
everywhere I can think of, or nearly.

Of note is that overnight--from 03.00 until I finally unglued my
eyes--I installed php5 on zen.  The php files display; the
counter and other php code  may work; and for totally unknown
reasons, on tao php works without my having any php port
installed.  --It may just display as html displays.  The code
can't exec (barring ghosts in closets).  How does php work
elsewhere as it does on my laptop, zen, while I'm having such
troubles on ns1??   I have moved the *new* httpd.conf into
/usr/local/etc/apache, restarted apache.  Zip.  I am about to 
rebuild php4 on ns1 using portupgrade.  

FWIW, I did a wholesale upgrade on my primary server toward the
end of January, and on the 31st  noticed trouble with PHP.  I 
figured it was because I was messing with the javascript
extensions/addons on firefox.  Nope.  I severely shot off both
feet.  Any help or insights much appreciated!  ...Yes, I googled
around for this problem.  Nothing worked.

merci d'advanc,

gary




>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>   Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
>   Kent, CT11 9PW
> 



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: iTunes - once again.

2007-02-04 Thread Garrett Cooper

Chris wrote:

Heya folks -

Every 6 months (sometimes longer) I ask about either a port, or a Wine
config that allows the playing of iTune-purchased music.

Last I seen, Banshee comes close (Under Linux) and of course I opted to
give Wine a shot.

I could settle for Wine *IF* there is/was a version of iTunes that some
has gotten to work - no need pointing me to the WineHQ site. The docs
for versions of iTunes is lacking (and of course, I'm being kind).

So - if anyone has gotten iTunes files to work (Please, I don't want to
go through the madness of converting 7 DVD's into MP3 format), let me know.

With a little luck, someone has gotten this done without hours of 
kludging.


Take a look at this project page and note the iTunes version warning: 
.


Better off not buying DRM protected files, or just get a Mac if you 
don't like Windows =D.


-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Garrett Cooper

Gary Kline wrote:

On Sun, Feb 04, 2007 at 12:02:51AM -0800, Garrett Cooper wrote:

Gary Kline wrote:

On Sat, Feb 03, 2007 at 10:52:33PM -0600, Dan Nelson wrote:

In the last episode (Feb 03), Gary Kline said:

On Sat, Feb 03, 2007 at 11:15:31PM -0500, Sahil Tandon wrote:

Gary Kline wrote:


What utility will find the shared lib: libphp4.so?

man find


Yeah,  obv'ly, but no joy.  I used locate and same results.
Isb't one of the pkg_ utilities supposed to give the cntents of
every pacake or port?

Are you asking where libphp4.so is currently installed on your system
(find or locate will tell you), or which port installs libphp4.so (I'd
start looking at the php ports and their pkg-plist files)?

	This is getting sranger and strangr.  (BTW, I'll check the 
	pkg-plist files; I forgot that; thanks.)


On my ThinkPad, I have cloned my web files and php works.
	There is a different apache/httpd.conf file on my laptop, 
	but only slightly: it lacks my many vitural websites.

zen.thought.org has the same php4.* ports as on my real
	webserver. Fewer, in fact.  On zen, the libphp4.so was 
	(by default, obviously) commented.  On my webserver, I had

uncommented it.  This is the only diffrence I can think of
	that makes any sense.  On zen, my php pages display.  Here 
	(ns1.thought.org) I get the "Firefox does not know" etc, 
	and asks if it should save the page.


I'm utterly, completely stumped.  Ideas?



--
Dan Nelson
[EMAIL PROTECTED]
Check your lib directories (/usr/local/lib*)? That's the only thing I 
can think of, considering that that's the most likely place where the 
libraries would be kept. You may also want to look for executables that 
dynamically load php under /usr/local.


Finally, you may want to rebuild apache.



	I rebuild everything, including apache13--- and nojoy.  Another 
	screwup is that on my thinkpad I rebuilt php4, and now it, too,
	fails to display anything PHP.  


Will you do me a favor and point firefox at
http://jottings.thought.org ?  Everything  on that v-site has php
stuff.  See if the browser says it can't display and asks
	what-to-do.   


I'm in the process of doing a ports-tree update on this server
(tao) and going to try here.  My newest platform is under
	construction.   


I'd say something like "Aaaaggghhh!!!" but I don't have
the energy :-|

gary



-Garrett


	Wait, now I'm confused because everything shows up on the screen for 
me. Are you having the problem server side or did you mess around with 
something client side by chance that mucked up your system?


Could you:
1. Clear out your browser cache.
2. Clear out your history.
3. Take a screenshot of your error and post the link.

Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


iTunes - once again.

2007-02-04 Thread Chris
Heya folks -

Every 6 months (sometimes longer) I ask about either a port, or a Wine
config that allows the playing of iTune-purchased music.

Last I seen, Banshee comes close (Under Linux) and of course I opted to
give Wine a shot.

I could settle for Wine *IF* there is/was a version of iTunes that some
has gotten to work - no need pointing me to the WineHQ site. The docs
for versions of iTunes is lacking (and of course, I'm being kind).

So - if anyone has gotten iTunes files to work (Please, I don't want to
go through the madness of converting 7 DVD's into MP3 format), let me know.

With a little luck, someone has gotten this done without hours of 
kludging.


-- 
Best regards,
Chris

Cost of repair can be determined by multiplying the
cost of your new coat by 1.75, or by multiplying the
cost of a new washer by .75.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: swap file vs swap partition

2007-02-04 Thread Scott Long

Aloha Guy wrote:

Greetings everyone:

I am planning to build a few new boxes which will run -RELEASE and -CURRENT and 
I have a question about the swap file.  In the past, I had always used a swap 
partition of 256MB since I originally had 128MB system memory in the 1990's but 
my system has been upgraded to 2GB and it seems the swap file would have more 
flexibility as I can just change the size of the swapfile if I needed to. My 
question is is there any difference in performance between a swap file versus a 
swap partition and can one run a system with a swap file instead of a swap 
partition?


Yes.  A swap file requires a pass through the filesystem code in order
to figure out where each block is.


Also, searching has not gotten me very far but are there any drawbacks to a 
swap file instead of a swap partition?  I read somewhere that a few people seem 
to think that a swap file can't handle kernel crash dumps?


That's correct, it cannot.


Shouldn't it be the same as both of them occupy disk space and as long as the 
swap file is large enough, wouldn't it work?


The crashdump code is written to assume that the dump space is
completely contiguous, something that is not at all guaranteed by
a swap file.  While it would certainly be possible to modify it
to make a pass through the filesystem like above, the intention
of the crashdump code is also to be as simple as possible and to
depend on as few kernel services as possible.  When the system has
crashed, who knows what can be trusted anymore, right?  Also, filesystem
corruption is a frequent cause of crashes; why risk that dumping to
a swapfile might encounter corruption and trash your entire filesystem.

Scott

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


swap file vs swap partition

2007-02-04 Thread Aloha Guy
Greetings everyone:

I am planning to build a few new boxes which will run -RELEASE and -CURRENT and 
I have a question about the swap file.  In the past, I had always used a swap 
partition of 256MB since I originally had 128MB system memory in the 1990's but 
my system has been upgraded to 2GB and it seems the swap file would have more 
flexibility as I can just change the size of the swapfile if I needed to. My 
question is is there any difference in performance between a swap file versus a 
swap partition and can one run a system with a swap file instead of a swap 
partition?  Also, searching has not gotten me very far but are there any 
drawbacks to a swap file instead of a swap partition?  I read somewhere that a 
few people seem to think that a swap file can't handle kernel crash dumps?  
Shouldn't it be the same as both of them occupy disk space and as long as the 
swap file is large enough, wouldn't it work?  Thanks.

John


 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


packet destination from pcap

2007-02-04 Thread nocturnal

Hi

I'm sniffing packets with pcap but i need information about where the
packet is going. So far i haven't found any structure or any other way
to get this information from looking at the pcap(3) manual and the
pcap.h header file. I have not had a chance to go through the source for
pcap yet because i have been offline for a while with no source on my
laptop.

I'm thinking i need to open two pcap sessions with two different filters
because the application i'm writing has a need for distinguishing
between packets going to a specified ip-address and those going from it.
 I doubt it should have to come to that though so that's why i ask here
first.

I could not reach the tcpdump list so i thought i'd ask here since it
uses the bpf. Might be a long shot.
--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp errors,

2007-02-04 Thread Kees Plonsz
Marwan Sultan wrote in msgid:
<[EMAIL PROTECTED]>

> 
> I keep getting
> arplookup 168.186.1.19 failed: host is not on local network
> arplookup 168.186.1.19 failed: host is not on local network
> arplookup 168.186.1.19 failed: host is not on local network
> arplookup 168.186.1.19 failed: host is not on local network
> arplookup 168.186.1.19 failed: host is not on local network
> arplookup 168.186.1.19 failed: host is not on local network
> arplookup 168.186.1.19 failed: host is not on local network
> 
You have a dsl-modem with an extra defined eth interface on your local
network with ip 168.186.1.19 ??
-- 
Key-ID = 0xA6581435e-mail address is valid



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: temporary IP addition to firewall rules

2007-02-04 Thread J65nko

On 2/4/07, Noah <[EMAIL PROTECTED]> wrote:


Does anybody have a recommendation for a program out there that would
allow somebody to enter an account and password on my website, their IP
address is cached, and the cached IP address is added temporarily to the
firewall ruleset to be allowed.



Have you checked authpf? There is a man page and
http://openbsd.unixtech.be/faq/pf/authpf.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thunar with Fluxbox

2007-02-04 Thread John Nielsen
On Sunday 04 February 2007 08:26, Olivier Regnier wrote:
> I'm currently running Fluxbox on FreeBSD 6.2. I installed Thunar 0.8.0_1
> and icons-tango 0.7.2_3.
> The problem is simple, when i start Thunar, i do not see the icons and
> in console, i get an error that says "(thunar:1056): Gtk-WARNING **:
> Error loading theme icon for stock; Icon 'gnome-fs-home' not present in
> theme"
>
> What happened ?  Can you  help me please ?

Try installing the x11-themes/xfce4-icon-theme port and/or the 
misc/gnome-icon-theme port. You should also submit a PR requesting that the 
needed port be added as a dependency for Thunar so others don't have the 
same problem.

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with mod_fcgid inside a jail.

2007-02-04 Thread John Nielsen
On Sunday 04 February 2007 05:38, Vincent Bolinard wrote:
> I've just tried to run Apache with mod_fcgid 1.10 and 2.0, but it
> still does not work.
>
> Here is the error with 1.10 :
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
> [info] mod_unique_id: using ip addr 192.168.1.3
> [emerg] (2)No such file or directory: mod_fcgid: Can't create global
> mutex
>
> Here is the error with 2.0 :
>
> [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
> [info] mod_unique_id: using ip addr 192.168.1.3
> [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> memory for size %zu byte

Try setting jail_sysvipc_allow=yes in /etc/rc.conf. (Or you can set the 
security.jail.sysvipc_allowed sysctl to one, but the jail rc scripts will 
change it if you use them and don't have the RC variable set.)

JN

> 2007/2/2, Josh Tolbert <[EMAIL PROTECTED]>:
> > On Fri, Feb 02, 2007 at 10:51:32PM +0100, Ivan Voras wrote:
> > > Vincent Bolinard wrote:
> > > > [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> > > > memory for size 316628 byte
> > > >
> > > > I'm running FreeBSD 6.2-RELEASE, Apache 2.0.59 and mod_fcgid 1.09.
> > >
> > > Try running v1.10, here's what it says in changelog:
> > >
> > > "3. Use anonymous shared memeory to make OS X happy. (Thank andkjar
> > > at obtech.net for the patch.)"
> > >
> > > Maybe it will help you.
> >
> > Update to 2.0 will be coming soon...Maybe this weekend, if I find some
> > time. I have no idea if it'll fix the problem, but 1.x is dead either
> > way.
> >
> > Thanks,
> >
> > Josh
> > --
> > Josh Tolbert
> > [EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/
> >
> > Security is mostly a superstition. It does not exist in nature, nor
> > do the children of men as a whole experience it. Avoiding danger
> > is no safer in the long run than outright exposure. Life is either
> > a daring adventure, or nothing.
> > -- Helen Keller
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: temporary IP addition to firewall rules

2007-02-04 Thread Noah



Erik Norgaard wrote:

Noah wrote:

Does anybody have a recommendation for a program out there that would 
allow somebody to enter an account and password on my website, their 
IP address is cached, and the cached IP address is added temporarily 
to the firewall ruleset to be allowed.


I am not aware of anything that works like that, pfauth may do the job 
for you, but not using a web site. Generally the problem is that web 
pages are stateless, so your firewall won't know when to remove the ip 
again.


You can hack up a solution that does sort of the same:

- let your web page manage accounts, the web server can get ip of the
  client registering and hence also the corresponding mac.




the servers and clients are not on the same LAN segment.  capturing MAC 
has nothing to do with this scenario.



- tell your dhcp server not to expire ip delegations, or make host
  entries with the registered ip/mac, but that requires the dhcp server
  to be restarted at every new client.

- make a static entry in your arp table to prevent others from taking
  over the ip later.

People will only need to authenticate first time. You can decide to 
expire their accounts and revoke access after a given time with a 
cron-job if you like.


Alternatively, require people to connect with IPSec tunnel and allow 
only tunneled traffic to be routed. When they register a set of keys 
are generated for use with that client only. This is really the ideal 
as you can for example leave an AP open, yet have traffic encrypted.


Cheers, Erik

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Rc.Local

2007-02-04 Thread Bob
On Sat, 03 Feb 2007 18:56:15 -0600
Paul Schmehl <[EMAIL PROTECTED]> wrote:

> 
> /usr/local/etc/rc.d/rc.local
> 
> 

Thanks folks! 

-- 
/"\
\ /ASCII Ribbon Campaign-  Motor Vessel Tamara B
 X   against HTML email & vCards-  http://www.tamara-b.org
/ \



signature.asc
Description: PGP signature


large mail broken - qmail

2007-02-04 Thread Cristian Mijea

Not really a freebsd question, sorry.
I have a mail server on a  freebsd machine. Qmail+SpamAssasin+Clamav.
At a first look, everything works just fine, but any lage atachement
gets corrupted.
Smaller mail is just fine.
Removed the extras (qmail-scanner, clamav, spamassasin) and still the same.
No problem receiving any mail, just when is sending it.

Anyone had a similar problem ever?

Regards!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'borrowing' 6.1 drivers for use in 6.2 (sata)

2007-02-04 Thread Steve Franks

On 2/3/07, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:

Hi Steve,

  I should have been more clear, sorry!  You cannot just replace a .ko file
that is a binary file.  You have to install the kernel sources, then go into
the
directory that the driver .c and .h files are, back those up, and replace
them,
then recompile the kernel.

  Here's probably what you want to do:

Go to here:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/

examine the files.  For example, assume it was ata-disk.c  Examine the
history
by clicking on the file you will see the different changes.  For example
according to this revision 1.189.2.5  was used for 6.2-release, revision
 1.189.2.4  was used for 6.1-release.  If the bug is in this file it was
introduced
in one of the intermediate revisions between these 2.

You will note this cooresponds with:

/sys/dev/ata

on your system assuming you installed the kernel sources.  If you wanted to
backrev this driver you would install sources, recompile the kernel and
install it and reboot to make sure you know how to build a running
kernel, then you would go to this directory, replace the file you want
(ata-disk.c for example) and recompile the kernel and install it and reboot
and
cross your fingers.  Rebuilding the kernel is covered in the online handbook
on the website.

It most likely won't work the first time.  You will need to try this with
several files.  You also want to try newer revisions of this file.  Or you
can
get bold and tar up the entire directory from a 6.1-release system and
move /sys/dev/ata to /sys/dev/ata.bak and untar the old directory into your
6.2 system than try that.  Obviously you need a 6.1 system around for this.

If Soren has a guess to this he may send you patches to one or more
of these files for testing, you will need to apply them and rebuild and
reboot to see
if it works.

This sort of thing can take a lot of time.  But it is really critical that
you get
on it right away.  Since right now there wern't many changes between
the drivers and it will be very easy to narrow it down to precisely what
revision change causes the problem.  It is much worse when people post
things like such-and-such piece of hardware worked under FreeBSD 2.2
5 years ago and not under 6.2 today.

Ted

- Original Message -
From: "Steve Franks" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "FreeBSD Users Questions" 
Sent: Saturday, February 03, 2007 10:19 AM
Subject: Re: 'borrowing' 6.1 drivers for use in 6.2 (sata)


> Ted,
>
> I emailed [EMAIL PROTECTED] with that info, since that was who was under
> "man ata".
>
> In the meantime, I replaced /boot/kernel/atapci.ko with the one from
> my 6.1 install cd, and it seriously #$%#^'ed my system.  Restored now,
> but, do you suggest I need ata*.ko, not just atapci.ko?  Or am I on
> the wrong track entirely?  Also, where do I find info on the server
> and folder structure I should be looking for in cvs when you mention
> getting the latest thing?
>
> Steve
>
> On 2/3/07, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> >
> > You shouldn't have any trouble downgrading to the 6.1 drivers but
> > I would suggest instead that you e-mail Soren the maintainer of the SATA
> > driver before doing anything.  He may have patched it already.  At
least,
> > try the current driver from CVS first.
> >
> > All you really have to do is copy the current driver to a backup file
> > then download the older driver from the cvs webinterface on freebsd.org
> > and recompile your kernel.
> >
> > If you really want this fixed, find the exact revision in cvs where the
> > support broke, obviously it will be between 6.1-release and 6.2-release,
> > and let Soren know.  It will take a few kernel recompiles to do that.
> > Fortunately your system boot isn't on the controller, not many folks I'm
> > sure have that setup.  When you do figure it out, please create a PR
> > using send-pr
> >
> > Ted
> >
> > - Original Message -
> > From: "Steve Franks" <[EMAIL PROTECTED]>
> > To: "FreeBSD Users Questions" 
> > Sent: Saturday, February 03, 2007 7:57 AM
> > Subject: 'borrowing' 6.1 drivers for use in 6.2 (sata)
> >
> >
> > > If anyone has read my earlier posts, they know the acer/uli/asus
> > > motherboard sata chipset simply won't work in 6.2.  It worked fine in
> > > 6.1, so I wonder if I can steal the driver from a 6.1 install?  Or do
> > > I just have to downgrade?  Having my server offline (even though it's
> > > only my personal files) is simply not an option.  FYI, several others
> > > have complained about the same chipset with no resolution, so I'm
> > > fairly certain it's not something I did.
> > >
> > > Steve
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> > >
> >
> >
>
>
> --
> Steve Franks, KE7BTE
> Staff Engineer
> La Palma Devices, LLC

arp errors,

2007-02-04 Thread Marwan Sultan

Hello List,

I'm on FreeBSD 6.2R

$ uname -a
FreeBSD 192.168.0.3 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Jan 24 16:35:32 
AST 2007 admin@:/usr/obj/usr/src/sys/MYKERNEL  i386

$

this box acting as NAT, gateway
$ ifconfig -a
vr0: flags=8843 mtu 1500
   inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
   ether 00:15:e9:82:26:af
   media: Ethernet autoselect (100baseTX )
   status: active
em0: flags=8843 mtu 1500
   options=b
   inet 192.168.0.3 netmask 0xff00 broadcast 192.168.0.255
   inet 192.168.0.20 netmask 0x broadcast 192.168.0.20
   ether 00:08:74:d4:8f:4a
   media: Ethernet autoselect (100baseTX )
   status: active
plip0: flags=108810 mtu 1500
lo0: flags=8049 mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
   inet6 ::1 prefixlen 128
   inet 127.0.0.1 netmask 0xff00
$

I keep getting
arplookup 168.186.1.19 failed: host is not on local network
arplookup 168.186.1.19 failed: host is not on local network
arplookup 168.186.1.19 failed: host is not on local network
arplookup 168.186.1.19 failed: host is not on local network
arplookup 168.186.1.19 failed: host is not on local network
arplookup 168.186.1.19 failed: host is not on local network
arplookup 168.186.1.19 failed: host is not on local network

This is Odd! I dunt know this IP by any chance. and even its not in my 
region area!

 why the box keep complaining from this IP?
 Is it possible that someone on my LAN, are trying to use this IP by 
mistake?

 If yes, how would I know who and what?

 Or is it some hacking attempt.
 I know my server replying and saying NO im not this IP, nor on the same 
LAN,
 but this IP is from australia i belive and im way far from that 
region,

 any explains please?

 Marwan Sultan.

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ImageMagick and Gallery2

2007-02-04 Thread Joacim Melin

Hi all,

I tried to install ImageMagick from the ports-distribution for  
FreeBSD 6.0 on a sparc32-box but I'm unsure if I did something wrong  
or if the ports package is messed up since there are no binaries  
installed for ImageMagick?


Joacim

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Thunar with Fluxbox

2007-02-04 Thread Olivier Regnier

Hello,

I'm currently running Fluxbox on FreeBSD 6.2. I installed Thunar 0.8.0_1 
and icons-tango 0.7.2_3.
The problem is simple, when i start Thunar, i do not see the icons and 
in console, i get an error that says "(thunar:1056): Gtk-WARNING **: 
Error loading theme icon for stock; Icon 'gnome-fs-home' not present in 
theme"


What happened ?  Can you  help me please ?

Thank you in advance.

--
Cheers,
Olivier Regnier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backspaces converted to ^? -- want to get rid of ^? -_-...

2007-02-04 Thread Jordan Gordeev

[EMAIL PROTECTED] wrote:

On Fri, 2 Feb 2007, Bill Campbell wrote:


On Fri, Feb 02, 2007, [EMAIL PROTECTED] wrote:


  Ok, this happens regularly on my FreeBSD box at home when I'm not
  su'ed in as root using vim, or the SuSe box at work when I VNC 
into

  it (using vim once again), and I'm frankly quite tired of lame
  control characters screwing up my day. Is there any way to fix 
this
  behavior so pressing backspace erases a character, not prints 
out a

  ^? character?



This is generally a function of your terminal emulator or xterm and is a
carryover from old DEC terminal's stupid keyboard mappings.

The attached XTerm file put in $HOME/XTerm will get xterms to send ctrl-h
from the backspace key.  Other programs like putty typically have a
keyboard configuration that permits setting the backspace key to send
either ctrl-H or a DEL character.

I leave it as an exercise for the student to figure out my other 
tweaks in

this file :-).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 
236-1676


``Microsoft IIS has more holes than a wheel of Swiss Cheese after a 
shotgun

blast'' -- John Dvorak



Hmmm... you have a lot of different tweaks in there.
I'll definitely implement the delete thing as soon as possible.
Thanks!
-Garrett


The correct way to fix is to use stty(1).
For example: stty erase2 '^?'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mainboard buzzer -- How to disable?

2007-02-04 Thread Mike
On Sun, Feb 04, 2007 at 05:23:27AM -0700, Modulok wrote:
> The integrated buzzer on system mainboards, can this be disabled from
> FreeBSD? I looked through my BIOS and didn't see any relevant settings.
> Everytime I press backspace one too many times, it beeps at me. It is damn
> annoying.
> 
> Before I get the pliers...thoughts, hints, pointers?

Hi,

In X11 you can do

xset b off

... but personally I would recommend ripping the wire out.

- Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mainboard buzzer -- How to disable?

2007-02-04 Thread Ivan Voras
Modulok wrote:
> The integrated buzzer on system mainboards, can this be disabled from
> FreeBSD? I looked through my BIOS and didn't see any relevant settings.
> Everytime I press backspace one too many times, it beeps at me. It is damn
> annoying.
> 
> Before I get the pliers...thoughts, hints, pointers?

If you're asking about the beeps during command line editing, this is a
feature of your shell. For example, in tcsh there's this variable:

   nobeep (+)
   If set, beeping is completely disabled.  See also
visiblebell.




signature.asc
Description: OpenPGP digital signature


Mainboard buzzer -- How to disable?

2007-02-04 Thread Modulok

The integrated buzzer on system mainboards, can this be disabled from
FreeBSD? I looked through my BIOS and didn't see any relevant settings.
Everytime I press backspace one too many times, it beeps at me. It is damn
annoying.

Before I get the pliers...thoughts, hints, pointers?

Thanks.
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: temporary IP addition to firewall rules

2007-02-04 Thread Erik Norgaard

Noah wrote:

Does anybody have a recommendation for a program out there that would 
allow somebody to enter an account and password on my website, their IP 
address is cached, and the cached IP address is added temporarily to the 
firewall ruleset to be allowed.


I am not aware of anything that works like that, pfauth may do the job 
for you, but not using a web site. Generally the problem is that web 
pages are stateless, so your firewall won't know when to remove the ip 
again.


You can hack up a solution that does sort of the same:

- let your web page manage accounts, the web server can get ip of the
  client registering and hence also the corresponding mac.

- tell your dhcp server not to expire ip delegations, or make host
  entries with the registered ip/mac, but that requires the dhcp server
  to be restarted at every new client.

- make a static entry in your arp table to prevent others from taking
  over the ip later.

People will only need to authenticate first time. You can decide to 
expire their accounts and revoke access after a given time with a 
cron-job if you like.


Alternatively, require people to connect with IPSec tunnel and allow 
only tunneled traffic to be routed. When they register a set of keys are 
generated for use with that client only. This is really the ideal as you 
can for example leave an AP open, yet have traffic encrypted.


Cheers, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


SOT: How to install non-standard LaTeX fonts

2007-02-04 Thread Erik Norgaard

Hi:

I know this may be slightly off topic, but I see many non-standard latex 
fonts (http://www.tug.dk/FontCatalogue/) not included in ports, that I'd 
like to use, for example those distributed with the emerald package.


Now, I have two problems:

- The documentation seems to apply to all distributions of LaTeX but 
teTeX. How do I install and make latex/pdflatex aware of these new fonts?


- Installing non-standard fonts not included in ports in the standard 
paths will mess things up, is it possible to install these in a user 
defined path? I am aware of the TEXINPUTS environment variable, is there 
something similar, like FONTINPUTS, I need to set?


Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Problem with mod_fcgid inside a jail.

2007-02-04 Thread Vincent Bolinard

Hi,

I've just tried to run Apache with mod_fcgid 1.10 and 2.0, but it
still does not work.

Here is the error with 1.10 :

[notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
[info] mod_unique_id: using ip addr 192.168.1.3
[emerg] (2)No such file or directory: mod_fcgid: Can't create global mutex

Here is the error with 2.0 :

[notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
[info] mod_unique_id: using ip addr 192.168.1.3
[emerg] (2)No such file or directory: mod_fcgid: Can't create share
memory for size %zu byte

What is the problem ?

Thank you.

2007/2/2, Josh Tolbert <[EMAIL PROTECTED]>:

On Fri, Feb 02, 2007 at 10:51:32PM +0100, Ivan Voras wrote:
> Vincent Bolinard wrote:
>
> > [emerg] (2)No such file or directory: mod_fcgid: Can't create share
> > memory for size 316628 byte
>
> > I'm running FreeBSD 6.2-RELEASE, Apache 2.0.59 and mod_fcgid 1.09.
>
> Try running v1.10, here's what it says in changelog:
>
> "3. Use anonymous shared memeory to make OS X happy. (Thank andkjar at
> obtech.net for the patch.)"
>
> Maybe it will help you.

Update to 2.0 will be coming soon...Maybe this weekend, if I find some time. I
have no idea if it'll fix the problem, but 1.x is dead either way.

Thanks,

Josh
--
Josh Tolbert
[EMAIL PROTECTED]  ||  http://www.puresimplicity.net/~hemi/

Security is mostly a superstition. It does not exist in nature, nor
do the children of men as a whole experience it. Avoiding danger
is no safer in the long run than outright exposure. Life is either
a daring adventure, or nothing.
-- Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Matthew Seaman
Gary Kline wrote:
>   What utility will find the shared lib: libphp4.so?
>   In the apache httpd.conf from a couple weeks ago, the file was 
>   in /usr/local/libexec/apache/ and it just might be that if I
>   rebuild the library, PHP files will suddenly work.
> 
>   ...Hope springs eternal.

Did you recompile the php4 port recently?  If you:

cd /usr/ports/lang/php4
make config

Is the box for 'Build Apache Module' checked?  If not,
check it now, and reinstall the land/php4 port.  That
should regenerate the libphp4.so module in
/usr/local/libexec/apache

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: phpMyAdmin httpd segmentation fault

2007-02-04 Thread Matthew Seaman
Terry Todd wrote:
> I installed FreeBSD 6.2-RELEASE, php-5.1.6_3, php5-extensions-1.0,
> mysql-5.0.27 and apache_1.3.37_1.
> 
> php -i now works Ok after I moved recode.so to the top of the list
> of extensions in extensions.ini.  It took a while to figure that
> one out.  Before that php -i would seg fault and core dump.  It
> took some google searching and using gdb on the core file to fix
> it.
> 
> A test web page for phpinfo works fine too.  Mysql works OK from
> the command line.
> 
> However I can't get phpMyAdmin to work.  It seg faults in reading 
> /usr/local/www/phpMyAdmin/libraries/url_generating.lib.php
> There is no core dump produced.

Hmmm... very strange.  We have just built a RELENG_6_2 server with
apache13-ssl, php5 and phpMyAdmin and no such problems are apparent.

Did you modify the CFLAGS or otherwise change the level of
optimization used by the compiler?

> I ran ktrace httpd -X
> 
> Then when I try to open the phpMyAdmin/index.php page in a browser
> httpd seg faults.
> 
> Here is the tail of kdump from the ktrace.out from the above ktrace.
> 
> 
>   1372 httpdCALL  gettimeofday(0xbfbf7158,0)
>   1372 httpdRET   gettimeofday 0
>   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
>   1372 httpdNAMI  "/usr"
>   1372 httpdRET   lstat 0
>   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
>   1372 httpdNAMI  "/usr/local"
>   1372 httpdRET   lstat 0
>   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
>   1372 httpdNAMI  "/usr/local/www"
>   1372 httpdRET   lstat 0
>   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
>   1372 httpdNAMI  "/usr/local/www/phpMyAdmin"
>   1372 httpdRET   lstat 0
>   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
>   1372 httpdNAMI  "/usr/local/www/phpMyAdmin/libraries"
>   1372 httpdRET   lstat 0
>   1372 httpdCALL  lstat(0xbfbf75b0,0xbfbf70f0)
>   1372 httpdNAMI  
> "/usr/local/www/phpMyAdmin/libraries/url_generating.lib.php"
>   1372 httpdRET   lstat 0
>   1372 httpdCALL  open(0x845eda8,0,0x1b6)
>   1372 httpdNAMI  
> "/usr/local/www/phpMyAdmin/libraries/url_generating.lib.php"
>   1372 httpdRET   open 4
>   1372 httpdCALL  fstat(0x4,0x8102748)
>   1372 httpdRET   fstat 0
>   1372 httpdCALL  lseek(0x4,0,0,0,0x1)
>   1372 httpdRET   lseek 0
>   1372 httpdCALL  read(0x4,0x82e3028,0x2000)
>   1372 httpdGIO   fd 4 read 4096 bytes
>" /* $Id: url_generating.lib.php,v 2.12.2.1 2006/09/26 19:23:24 lem9 
> Exp $ */
> // vim: expandtab sw=4 ts=4 sts=4:
> 
> 
> /**
>  * URL/hidden inputs generating.
>  */
> 
> 
> /**
>  * Generates text with hidden inputs.
>  *
>  * @see PMA_generate_common_url()
>  * @param   string   optional database name
>  * @param   string   optional table name
>  * @param   int  indenting level
>  *
>  * @return  string   string with input fields
>  *
>  * @global  string   the current language
>  * @global  string   the current conversion charset
>  * @global  string   the current connection collation
>  * @global  string   the current server
>  * @global  arraythe configuration array
>  * @global  boolean  whether recoding is allowed or not
>  *
>  *
>  * @access  public
>  *
>  * @author  nijel
>  */
> function PMA_generate_common_hidden_inputs($db = '', $table = '', 
> $indent = 0, $skip = array())
> {
> if (is_array($db)) {
> $params  =& $db;
> $_indent = empty($table) ? $indent : $table;
> $_skip   = empty($indent) ? $skip : $indent;
> $indent  =& $_indent;
> $skip=& $_skip;
> } else {
> $params = array();
> if (isset($db) && strlen($db)) {
> $params['db'] = $db;
> }
> if (isset($table) && strlen($table)) {
> $params['table'] = $table;
> }
> }
> 
> if (! empty($GLOBALS['server'])
> &&  $GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']) {
> $params['server'] = $GLOBALS['server'];
> }
> if (empty($_COOKIE['pma_lang'])
> && ! empty($GLOBALS['lang'])) {
> $params['lang'] = $GLOBALS['lang'];
> }
> if (empty($_COOKIE['pma_charset'])
> && ! empty($GLOBALS['convcharset'])) {
> $params['convcharset'] = $GLOBALS['convcharset'];
> }
> if (empty($_COOKIE['pma_collation_connection'])
> && ! empty($GLOBALS['collation_connection'])) {
> $params['collation_connection'] = 
> $GLOBALS['collation_connection'];
> }
> 
> $params['token'] = $_SESSION[' PMA

freebsd on laptop (len problem)

2007-02-04 Thread S. M. Ibrahim \(Lavlu\)
i installed freebsd 6 on a old laptop, it's p3 600 mhz.
everthing goes fine, but after installation, my len is not working. It's IBM 
10/10 EtherJet CardBus Adapter and connected in pcmci . it's not detected. Any 
idea ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Gary Kline
On Sun, Feb 04, 2007 at 12:02:51AM -0800, Garrett Cooper wrote:
> Gary Kline wrote:
> >On Sat, Feb 03, 2007 at 10:52:33PM -0600, Dan Nelson wrote:
> >>In the last episode (Feb 03), Gary Kline said:
> >>>On Sat, Feb 03, 2007 at 11:15:31PM -0500, Sahil Tandon wrote:
> Gary Kline wrote:
> 
> > What utility will find the shared lib: libphp4.so?
> man find
> 
> >>>   Yeah,  obv'ly, but no joy.  I used locate and same results.
> >>>   Isb't one of the pkg_ utilities supposed to give the cntents of
> >>>   every pacake or port?
> >>Are you asking where libphp4.so is currently installed on your system
> >>(find or locate will tell you), or which port installs libphp4.so (I'd
> >>start looking at the php ports and their pkg-plist files)?
> >>
> >
> > This is getting sranger and strangr.  (BTW, I'll check the 
> > pkg-plist files; I forgot that; thanks.)
> >
> > On my ThinkPad, I have cloned my web files and php works.
> > There is a different apache/httpd.conf file on my laptop, 
> > but only slightly: it lacks my many vitural websites.
> > zen.thought.org has the same php4.* ports as on my real
> > webserver. Fewer, in fact.  On zen, the libphp4.so was 
> > (by default, obviously) commented.  On my webserver, I had
> > uncommented it.  This is the only diffrence I can think of
> > that makes any sense.  On zen, my php pages display.  Here 
> > (ns1.thought.org) I get the "Firefox does not know" etc, 
> > and asks if it should save the page.
> >
> > I'm utterly, completely stumped.  Ideas?
> >
> >
> >>-- 
> >>Dan Nelson
> >>[EMAIL PROTECTED]
> 
> Check your lib directories (/usr/local/lib*)? That's the only thing I 
> can think of, considering that that's the most likely place where the 
> libraries would be kept. You may also want to look for executables that 
> dynamically load php under /usr/local.
> 
> Finally, you may want to rebuild apache.


I rebuild everything, including apache13--- and nojoy.  Another 
screwup is that on my thinkpad I rebuilt php4, and now it, too,
fails to display anything PHP.  

Will you do me a favor and point firefox at
http://jottings.thought.org ?  Everything  on that v-site has php
stuff.  See if the browser says it can't display and asks
what-to-do.   

I'm in the process of doing a ports-tree update on this server
(tao) and going to try here.  My newest platform is under
construction.   

I'd say something like "Aaaaggghhh!!!" but I don't have
the energy :-|

gary


> 
> -Garrett
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how do i find libphp4.so??

2007-02-04 Thread Garrett Cooper

Gary Kline wrote:

On Sat, Feb 03, 2007 at 10:52:33PM -0600, Dan Nelson wrote:

In the last episode (Feb 03), Gary Kline said:

On Sat, Feb 03, 2007 at 11:15:31PM -0500, Sahil Tandon wrote:

Gary Kline wrote:


What utility will find the shared lib: libphp4.so?

man find


Yeah,  obv'ly, but no joy.  I used locate and same results.
Isb't one of the pkg_ utilities supposed to give the cntents of
every pacake or port?

Are you asking where libphp4.so is currently installed on your system
(find or locate will tell you), or which port installs libphp4.so (I'd
start looking at the php ports and their pkg-plist files)?



	This is getting sranger and strangr.  (BTW, I'll check the 
	pkg-plist files; I forgot that; thanks.)


On my ThinkPad, I have cloned my web files and php works.
	There is a different apache/httpd.conf file on my laptop, 
	but only slightly: it lacks my many vitural websites.

zen.thought.org has the same php4.* ports as on my real
	webserver. Fewer, in fact.  On zen, the libphp4.so was 
	(by default, obviously) commented.  On my webserver, I had

uncommented it.  This is the only diffrence I can think of
	that makes any sense.  On zen, my php pages display.  Here 
	(ns1.thought.org) I get the "Firefox does not know" etc, 
	and asks if it should save the page.


I'm utterly, completely stumped.  Ideas?



--
Dan Nelson
[EMAIL PROTECTED]


Check your lib directories (/usr/local/lib*)? That's the only thing I 
can think of, considering that that's the most likely place where the 
libraries would be kept. You may also want to look for executables that 
dynamically load php under /usr/local.


Finally, you may want to rebuild apache.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"