Re: how do i find libphp4.so??

2007-02-03 Thread Gary Kline
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]

-- 
  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: Fast SCSI RAID controller

2007-02-03 Thread Ted Mittelstaedt

- Original Message - 
From: "Josef Grosch" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "Philippe Lang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, February 03, 2007 5:18 PM
Subject: Re: Fast SCSI RAID controller


> On Sat, Feb 03, 2007 at 09:19:27AM -0800, Ted Mittelstaedt wrote:
> > he still ought to look at them, cheaper faster disk arrays are nothing
> > to sneeze at.
> >
> > SCSI is only a win these days if your running the most expensive 10K
> > RPM drives in a mirrored configuration, which is common on database
> > servers.  And raid-5 in particular unless you have a minimum of 5 drives
> > in your array, you are going to just be throwing the performance edge
> > of the more expensive scsi drives into the toilet, so what is the point
of
> > buying them?
> >
> > If your doing raid 5 for redundancy, there's no argument, sata is the
> > clear winner on the 3ware or highpoint cards.
> >
> > Ted
>
>
> This system is going to be a testbuild server to answer the question,
"Will
> this commit break the build?" It needs to be really fast.

Have you tried the Qlogic ISP12160?

I don't believe there's stable RAID cards supported under FreeBSD that are
much faster than the 3ware/highpoint cards with the 7200 rpm sata drives.
If it
was me building the machine I would dispense with raid entirely and just
stripe
the disks.  Your dealing with transient info and who gives a poop if a disk
dies, you just replace, restore and march onward.

I suspect though your dealing with the same problem I ran into a decade
ago when I was admining at the now defunct Central Point Software - you
got a house full of developers who all want the quickest things under their
desks so they can build their own trees.  For a while they got that but code
production
ultimately slowed because too much time was wasted repairing blown up
developers personal systems.  Finally the department head forced all of
them to give up local storage on their systems and store everything on the
network servers, they put into effect several build machines that that was
all they did all day long.

> I'm looking at
> 15K RPM drives most likley either RAID 10 or RAID 0. Most of our systems
> that have local disk are RAID 10. We have used SCSI disks becuase they are
> fast and reliable. For data that we can not loose we use NetApps either
> attached via Gige copper or fiber.
>

Just my opinion only but I think you ought to use NASes for everything and
dispense with local storage entirely.  To get speed and redundancy, gigE
is the future.  Just my opinion!

In the corporate arena that I play in these days we have been doing that for
years.  Most companies have really crunched down very hard on laptops,
you can't use a laptop at work unless your a roaming sales person and
policies are setup on those so that local storage is replicated to the
server
without user control when they dock to the network.  And laptops are
about the only reason you can justify local storage on a computer.

The liabilities today and federal reporting and document retention laws
today
are such that it's a huge problem to allow people to create and save work
on their local machines.  Everything is put on the servers, all of the
systems
are configured so that the users are pretty well locked down that they can't
store data anywhere else BUT the servers.

Ted

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


The FreeBSD Diary: 2007-01-14 - 2007-02-03

2007-02-03 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 

These are the articles posted during this period:

23-Jan : Bacula - Transport Layer Security (TLS)
 Encrypt your data during transportation 
 http://freebsddiary.org/bacula-tls.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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-03 Thread Dan Nelson
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)?


-- 
Dan Nelson
[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: Port upgrade/install problem: MySQL and Perl I/F

2007-02-03 Thread Ted Mittelstaedt
Stuff like this happens, you can e-mail the port maintainer and
bitch him out for making a stupid change to the dependency
requirement, or you can simply dispense with ports, download
the perl module and compile and install it "the old fashioned way"

You ought to have nuked and repaved that server, your just lucky
that this very minor thing was the only thing that blew up.

Ted

- Original Message - 
From: "Robert Inder" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, February 03, 2007 11:58 AM
Subject: Port upgrade/install problem: MySQL and Perl I/F


> p5-DBD-mysql50 and mysql itself
> Date: 03 Feb 2007 19:58:22 +
> Message-ID: <[EMAIL PROTECTED]>
> Lines: 128
> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
>
>
> I've upgraded Perl (via "portupgrade"), but the ports I need
> to re-install to restore my perl-to-MySQL interface won't!
>
> I'm working on a rather long-neglected server running
>
>  FreeBSD 5.2.1-RELEASE-p7 FreeBSD 5.2.1-RELEASE-p7
>
> It was running Perl 5.6, but I'm trying to install some code that
> needs 5.8.  So I did "cvsup" and then
>
> portupgrade -o lang/perl5.8 perl
>
> All went smoothly, and "perl-after-upgrade" gave me a list of
> perl packages to re-install, and I did "portupgrade" on each of them.
>
> Super!
>
> EXCEPT for the Perl to MySQL interface package:  p5-DBD-mysql50
>
> This is causing me two problems.
>
> Currently, "mysql" is installed and working.
>
> # pkg_info -Ia | grep mysql
> mysql-client-5.0.0_2 Multithreaded SQL database (client)
> mysql-server-5.0.0_2 Multithreaded SQL database (server)
>
> When I try to portupgrade the perl interface, it starts trying to
> build mysql for itself, even without a "-R" option.  And it does the
> same thing even if I change to the ports directory and type "make".
>
> I don't understand why it is doing that.  I am guessing the installed
> version of mysql is too old for the perl interface.  But I didn't
> think upgrade (or a port "make") would recurse unless "told" to
> But here's what it says...
>
> ===>   p5-DBD-mysql50-4. depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm - found
> ===>   p5-DBD-mysql50-4. depends on file:
/usr/local/bin/perl5.8.8 - found
> ===>   p5-DBD-mysql50-4. depends on shared library:
mysqlclient.15 - not found
> ===>Verifying install for mysqlclient.15 in
/usr/ports/databases/mysql50-client
> ===>  Building for mysql-client-5.0.33
>
> The second problem is that the mysql port won't actually compile.  It
> announces that it is "Configuring for mysql-client-5.0.33", and then
> proceeds to report a whole slew (hundreds) of "checking..." activities.
> About a dozen that start "pthread_", and some of them succeed.  Then
> it starts compling, but this process finishes with
>
> mkdir .libs
> cc -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -o factorial
my_main.o factorial.o  libdbug.a ../mysys/libmysys.a
../strings/libmystrings.a -lcrypt -lm
> ../mysys/libmysys.a(my_thr_init.o): In function
`my_thread_global_end':
> my_thr_init.o(.text+0x1b7): undefined reference to
`pthread_cond_timedwait'
> *** Error code 1
>
> Stop in
/data/ports_build/usr/ports/databases/mysql50-client/work/mysql-5.0.33/dbug.
> *** Error code 1
>
> Stop in
/data/ports_build/usr/ports/databases/mysql50-client/work/mysql-5.0.33.
> *** Error code 1
>
> Stop in
/data/ports_build/usr/ports/databases/mysql50-client/work/mysql-5.0.33.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql50-client.
> *** Error code 1
>
> Stop in /usr/ports/databases/p5-DBD-mysql50.
>
> I've tried googling for this, but although I've found a handful of
> people with broadly similar problems, nobody has actually been offered
> anything I recognise as an applicable solution!
>
> The upshot of this is that the previous Perl application is now broken
> because it cannot access the MySQL database.
>
> So I need to either...
>
> get the latest MySQL port to compile, or
>
> somehow get p5-DBD-mysql50 to work with the existing MySQL.
>
> ...but I'm not sure how to start on either.
>
> Help?  Any advice welcome!
>
> I have tried putting the p5-DBD-mysql50 package back the way it was
> (albeit in a rather simple-minded way -- just copying
> /usr/ports/databases/p5-DBD-mysql50 from its sister machine).  But
> this didn't make any difference.  It still decides that even this
> version (which was working) is incompatible with the existing mysql...
>
> boru/p5-DBD-mysql50# make
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for p5-DBD-mysql50-2.9003
> => MD5 Checksum OK for DBD-mysql-2.9003.tar.gz.
> ===>   p5-DBD-mysql50-2.9003 depends on file:
/usr/local/bin/perl5.8.8 - found
> ===>  Patching for p5-DBD-mysql50-2.9003
> ===>   p5-DBD-mysql50-2.9003 depends on file:
/usr/local/bin/perl5.8.8 - found

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

2007-02-03 Thread Ted Mittelstaedt
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
> http://www.lapalmadevices.com
> (520) 312-0089
>

___

Re: how do i find libphp4.so??

2007-02-03 Thread Gary Kline
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?

I wrote a script to tar -tyvf $file and grep'd for the missing 
library.  Zip.

> --
> Sahil Tandon <[EMAIL PROTECTED]>
> ___
> 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-03 Thread Sahil Tandon

Gary Kline wrote:


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


man find

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


how do i find libphp4.so??

2007-02-03 Thread Robert Huff
Gary Kline writes:

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

"man whereis"?
"man find".



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


how do i find libphp4.so??

2007-02-03 Thread Gary Kline

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.

gary


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


phpMyAdmin httpd segmentation fault

2007-02-03 Thread Terry Todd

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.

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
   " $val) {
$return .= $spaces . '' . "\\n";
}

return $return;
}

/**
 * Generates text with URL parameters.
 *
 * 
 * // note the ?
 * echo 'script.php?' . PMA_generate_common_url('mysql', 'rights');
 * // produces with cookies enabled:
 * // script.php?db=mysql&table=rights
 * // with cookies disabled:
 * // 
script.php?server=1&lang=en-utf-8&db=mysql&table=rights
 *
 * $params['myparam'] = 'myvalue';
 * $params['db']  = 'mysql';
 * $params['table']   = 'rights';
 * // note the missing ?
 * echo 'script.php' . PMA_generate_common_url($params);
 * // produces with cookies enabled:
 * // script.php?myparam=myvalue&db=mysql&table=rights
 * // with cookies disabled:
 * // 
script.php?server=1&lang=en-utf-8&myparam=myvalue&db=mysql&table=rights
 *
 * // note the missing ?
 * echo 'script.php' . PMA_generate_common_url();
 * // produces with cookies enabled:
 * // script.php
 * // with cookies disabled:
 * // script.php?server=1&lang=en-utf-8
 * 
 *
 * @param   mixedassoc. array with url params or optional string 
with database name
 *   if first param is an array there is also an ? 
prefixed to the url
 * @param   string   optional table name only if first param is array
 * @param   string   character to use instead of '&' for deviding
 *   multiple URL parameters from each other
 *
 * @return  string   string with URL parameters
 *
 * @global  string   the current language
 * @global  string   the current conversion charset
 * @global  string   the current connection collation
 * @global  string   the current server
 * @global  arra"
  1372 httpdRET   read 6467/0x1943
  1372 httpdCALL  read(0x4,0x82e3028,0x2000)
  1372 httpdGIO   fd 4 read 0 bytes
   ""
  1372 httpdRET   read 0
  1372 httpdCALL  read(0x4,0x82e3028,0x2000)
  1372 httpdGIO   fd 4 read 0 bytes
   ""
  1372 httpdRET   read 0
  1372 httpdCALL  close(0x4)
  1372 httpdRET   close 0
  1372 httpdPSIG  SIGSEGV SIG_DFL


I moved url_generating.lib.php to url_generating.lib.php.sav and
copied url_generating.lib.php.sav to a new url_generating.lib.php.
Same thing happens.

I tried the latest phpMyAdmin-2.9.2 and it does the exact same thing.

It always seg faults in the exact same place in the exact same way.

/var/log/messages file gets:
Feb  3 16:07:38 testbox kernel: pid 8512 (httpd), uid 80: exited on signal 11

/var/log/httpd-errors gets:
[Sat Feb  3 16:07:39 2007] [notice] child pid 8512 exit signal Segmentation 
fault (11)

I am out of ideas on what to try 

temporary IP addition to firewall rules

2007-02-03 Thread Noah

Hi,

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.


cheers,

Noah


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


temporary IP addition to firewall rules

2007-02-03 Thread Noah

Hi,

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.



cheers,

Noah

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


Re: Fast SCSI RAID controller

2007-02-03 Thread Josef Grosch
On Sat, Feb 03, 2007 at 09:19:27AM -0800, Ted Mittelstaedt wrote:
> he still ought to look at them, cheaper faster disk arrays are nothing
> to sneeze at.
> 
> SCSI is only a win these days if your running the most expensive 10K
> RPM drives in a mirrored configuration, which is common on database
> servers.  And raid-5 in particular unless you have a minimum of 5 drives
> in your array, you are going to just be throwing the performance edge
> of the more expensive scsi drives into the toilet, so what is the point of
> buying them?
> 
> If your doing raid 5 for redundancy, there's no argument, sata is the
> clear winner on the 3ware or highpoint cards.
> 
> Ted


This system is going to be a testbuild server to answer the question, "Will
this commit break the build?" It needs to be really fast. I'm looking at
15K RPM drives most likley either RAID 10 or RAID 0. Most of our systems
that have local disk are RAID 10. We have used SCSI disks becuase they are
fast and reliable. For data that we can not loose we use NetApps either
attached via Gige copper or fiber.


Josef 

-- 
FreeBSD 6.2 |
Josef Grosch| Listen, strange women lying in ponds distributing
[EMAIL PROTECTED] | swords is no basis for a system of government.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dhcpd authorisation

2007-02-03 Thread WizLayer
On Saturday 03 February 2007 17:03, [EMAIL PROTECTED] proclaimed:
> Hello,
>
> Do you know any way to put an authentication wih ISC Dhcpd server for a lan
> network users ?
>
> Thanks in advance
> ___


Not sure what you mean by authorization, but if you're talking about 
user/shhh, then I doubt it.  You can specify IPs by MAC, though.  Then if 
you're wanting to keep specific MACs from connecting at all, add a drop quick 
rule to pf.

I haven't tried it, but if you assign all desired MACs an IP, and leave none 
to spare, then how would dhcpd react (would it fill screen with errors or 
would it simply deny the additional requests)?

Interesting.  Probably wasn't much help, but there ya go.


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


Re: Dhcpd authorisation

2007-02-03 Thread Scott Peshak

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

Hello,

Do you know any way to put an authentication wih ISC Dhcpd server for a lan 
network users ?

Thanks in advance


You may want to look at netreg.  I've never done a setup of it, but
have been on the user side plenty.

http://netreg.sourceforge.net/

--speshak
___
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-03 Thread Vince

Bob wrote:

Hi:

While running Linux, I would put things like:

/sbin/route add -net 87.5.0.0  -netmask 255.255.0.0 127.0.0.1 -blackhole

in /etc/rc.d/rc.local along with any "local" configurations I wanted.

Under FreeBSD, /etc/rc.d/rc.local does not seem to be an end-user rc
file IE, it does real start-up stuff, and is part of the base system.
 
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?

Bob

  

Man rc.local suggests:
The rc.local script contains com-
mands which are pertinent only to a specific site.  Typically, the
/usr/local/etc/rc.d/ mechanism is used instead of rc.local these 
days but

if you want to use rc.local, it is still supported.  In this case, it
should source /etc/rc.conf and contain additional custom startup 
code for
your system.  The best way to handle rc.local, however, is to 
separate it

out into rc.d/ style scripts and place them under /usr/local/etc/rc.d/.

so either create and use /etc/rc.local or create scripts in 
/usr/local/etc/rc.d/
However the correct way to add a route as per your example would be to 
add something like:


static_routes="blackhole"
route_blackhole="87.5.0.0/16 127.0.0.1"

to /etc/rc.conf (or if you prefer /etc/rc.conf.local)


Hope that helps a little.

Vince
___
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-03 Thread Paul Schmehl

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

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Rc.Local

2007-02-03 Thread Bob

Hi:

While running Linux, I would put things like:

/sbin/route add -net 87.5.0.0  -netmask 255.255.0.0 127.0.0.1 -blackhole

in /etc/rc.d/rc.local along with any "local" configurations I wanted.

Under FreeBSD, /etc/rc.d/rc.local does not seem to be an end-user rc
file IE, it does real start-up stuff, and is part of the base system.
 
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?

Bob

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



signature.asc
Description: PGP signature


RE: Routed and netmask...

2007-02-03 Thread Grzegorz Pluta
> The top interface address is wrong. It cant be eee.eee.eee.11 with /26 
> mask.
> The lowest address with this mask is 193.

Ops... I'm wrong here ofcourse... The address is correct ;]




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


RE: Routed and netmask...

2007-02-03 Thread Grzegorz Pluta
If eee.eee.eee.0/26 is a separate network (wich i guess it is) there needs
to be a routing device there too. How can a packet find its way to the
internet? The router sees only eee.eee.eee.o network on its port (not
mentioning the iii.iii.iii.0 network from wich the packet travels)

It is also possible that im missing something. Your network visualization is
kinda weird...
The top interface address is wrong. It cant be eee.eee.eee.11 with /26 mask.
The lowest address with this mask is 193.

What actually is this eee network? How did you connect your eee network to
the internet? For me it makes little sense...

Sorry if im wrong. Please explain more!
Cheers,
greg
> Hi,
> 
> I'm using "FreeBSD 6.2 Stable" with routed to connect
> networks(gateway)
> 
> 
>THE INTERNET
>  |
>  |
> 
> |  eee.eee.eee.0/26  |
> 
>  |
>  |
>eee.eee.eee.11/26
>ROUTER
>iii.iii.iii.1
>  |
>  |
>  
>  |  iii.iii.iii.0/24 |  "My Network"
>  
> 
> 
> The problem...
> 
> The system is routing, but only to iii.iii.iii.0/26 .
> 
> Look... my rc.conf
> 
> ifconfig_em0="inet iii.iii.iii.1 netmask 255.255.255.0"
> ifconfig_sk0="inet eee.eee.eee.11 netmask 255.255.255.192"
> 
> defaultrouter="eee.eee.eee.1"
> router_enable="YES"
> router_flags="-s"
> gateway_enable="YES"
> router="/sbin/routed"


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


Dhcpd authorisation

2007-02-03 Thread venchev
Hello,

Do you know any way to put an authentication wih ISC Dhcpd server for a lan 
network users ?

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


Re: FreeBSD 6.1 - libltdl

2007-02-03 Thread Dan Nelson
In the last episode (Feb 03), Chris Knipe said:
> Can anyone shed some light perhaps as to why GCC is not seeing libltdl ???
> 
> bash-2.05b# gcc  -lltdl
> /usr/bin/ld: cannot find -lltdl
> bash-2.05b# ldconfig -r|grep ltdl
>115:-lltdl.4 => /usr/local/lib/libltdl.so.4
> bash-2.05b# pkg_info |grep ltdl
> libltdl-1.5.22_1System independent dlopen wrapper
> bash-2.05b# uname -a
> FreeBSD xxx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 
> 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> bash-2.05b#

Add "-L /usr/local/lib" to your gcc commandline.

-- 
Dan Nelson
[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:FreeBSD 6.1 - libltdl

2007-02-03 Thread Arthur Barlow

The "so" file is found in /usr/local/lib.  I'd go to
/usr/ports/dev/libltdl15 and do "make deinstall reinstall clean."  That
will probably fix it.

Hi,

Can anyone shed some light perhaps as to why GCC is not seeing libltdl ???


bash-2.05b# gcc  -lltdl
/usr/bin/ld: cannot find -lltdl
bash-2.05b# ldconfig -r|grep ltdl
   115:-lltdl.4 => /usr/local/lib/libltdl.so.4
bash-2.05b# pkg_info |grep ltdl
libltdl-1.5.22_1System independent dlopen wrapper
bash-2.05b# uname -a
FreeBSD xxx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC
2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
bash-2.05b#


Thanks,
Chris.

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


php4 still broken

2007-02-03 Thread Gary Kline


Guys,

The date update on php4 was 30jan07, if memory serves.  All php4 ports are gone;
I have updated libtool to libtool15, still, there  is this linkage trouble.

Can someone try to try upgrading the ports tree and making lang/php4?  See if 
you get bitten here.  It toward the start of the build, just after the build is 
thru configuring.

I've checked regex/regcomp.lo and don't see anything wrong, but obviously,
I'm missing something.

tia,

gary




cc -I/usr/ports/lang/php4/work/php-4.4.4/sapi/cgi/libfcgi/include -Isapi/cgi/ -I
/usr/ports/lang/php4/work/php-4.4.4/sapi/cgi/ -DPHP_ATOM_INC -I/usr/ports/lang/p
hp4/work/php-4.4.4/include -I/usr/ports/lang/php4/work/php-4.4.4/main -I/usr/por
ts/lang/php4/work/php-4.4.4 -I/usr/ports/lang/php4/work/php-4.4.4/TSRM -I/usr/po
rts/lang/php4/work/php-4.4.4/Zend-pipe -g -Wall  -c /usr/ports/lang/php4/wor
k/php-4.4.4/sapi/cgi/getopt.c -o sapi/cgi/getopt.o  && echo > sapi/cgi/getopt.lo
cc  -Imain/ -I/usr/ports/lang/php4/work/php-4.4.4/main/ -DPHP_ATOM_INC -I/usr/po
rts/lang/php4/work/php-4.4.4/include -I/usr/ports/lang/php4/work/php-4.4.4/main 
-I/usr/ports/lang/php4/work/php-4.4.4 -I/usr/ports/lang/php4/work/php-4.4.4/TSRM
 -I/usr/ports/lang/php4/work/php-4.4.4/Zend-pipe -g -Wall  -c main/internal_
functions.c -o main/internal_functions.o  && echo > main/internal_functions.lo
/bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc -export-dynami
c -pipe -g -Wall regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/r
egfree.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functi
ons.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/
standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standar
d/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standa
rd/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/
standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.l
o ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/lin
k.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/
metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinf
o.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo e
xt/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/s
canf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/s
tandard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/vers
ioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levensht
ein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/stand
ard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fop
en_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unser
ializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo
 TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/s
nprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wra
ppers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rf
c1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesor
t.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo 
main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
 main/memory_streams.lo main/user_streams.lo main/suhosin_patch.lo Zend/zend_lan
guage_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_
ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Ze
nd/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/ze
nd_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Ze
nd/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_
extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_
builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Ze
nd/zend_multibyte.lo Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.l
o sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo sapi/cgi/libfcgi/os
_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcr
ypt -lcrypt -lm -lcrypt -lcrypt  -o sapi/cgi/php
libtool: link: `regex/regcomp.lo' is not a valid libtool object
*** Error code 1



Stop in /usr/ports/lang/php4/work/php-4.4.4.
*** Error code 1


-- 
  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: 305 GB hard drive reduced to 266 GB (why?)

2007-02-03 Thread Jerry McAllister
On Fri, Feb 02, 2007 at 06:39:29PM -0500, Peter wrote:

> I am installing a new 6.2 STABLE system and I am troubled by the amount 
> of available disk space I'm getting on one of my IDE devices:
> 
> # df -h
> Filesystem SizeUsed   Avail Capacity  Mounted on
> ...
> ...
> /dev/ad1a  289G4.0K266G 0%/ad1
> 
> This drive is 320 GB by the manufacturer and thus I should theoretically 
> have 305 GBs.  This is confirmed by dmesg:
> 
> ad1: 305244MB  at ata0-slave UDMA33

This is well covered in the FreeBSD FAQ and answered many times
in this Email list.   Do some checking.

jerry

> 
> Steps:
> 
> # fdisk -i /dev/ad1
> # bsdlabel -w /dev/ad1
> # newfs /dev/ad1a
> # mount /dev/ad1a /ad1
> 
> Info:
> 
> # bsdlabel /dev/ad1
> # /dev/ad1:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>   a: 625140319   164.2BSD 2048 16384 28552
>   c: 6251403350unused0 0
> 
> Thanks in advance for any pointers,
> 
> PM
> ___
> 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: recommendations for wireless nics

2007-02-03 Thread Roland Smith
On Sat, Feb 03, 2007 at 06:53:28PM +0100, Paul Eskello wrote:
> Hi all,
> 
> looking for any recommendations regarding wireless lan pci cards and
> freebsd, please.

It is impossible to give a general recommendation like "buy brand X,
model Y". Manufacturers sometimes switch chipsets on their cards without
changing the model number, and brand names may not be available
depending on where on the globe you are located.

The best advice is to look at all the wireless drivers (zgrep for 802.11
in /usr/share/man/man4/*), and look at cards in shops to identify the
chips they use. In my experience, the chipset used is seldom if ever
noted in the documentation or on the packaging. Sometimes all the chips
(not just the transmitter) are covered under a RF shield, in which case
you're out of luck.

In my experience, if you go into a computer shop and ask for a "802.11
card with a type Z chipset", the most likely response from the
salesperson will be a blank stare.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpkyeToqgFON.pgp
Description: PGP signature


Re: recommendations for wireless nics

2007-02-03 Thread Steve Franks

Don't get the motorolas; you can check, but classically, they all have
non-open-source (and therefore unsupported) broadcom chipsets.  My
usual method is to type in the model number of the card and "chipset"
into a google search, which ususally works.  I'd say the atheros cards
are most widely used in freebsd, although anything prism/orinoco has
been supported forever too.  I tried a ralink with my laptop (non pci
obviously), but all laptops these days will lock up the bios if you
don't put a manufacturer approved card in, so I didn't get to try it.
Intel cards are also supported by iwi and ipw(?) drivers.  Just type
"man wlan" to get a list of drivers, man for each driver will give you
a pretty good idea of what chipsets.

Another consideration is that the pci->pcmcia docks are supported in
freebsd - I have an atheros card in a proprietary linksys dock for my
primary personal server with no hiccups.

I don't know under 6.2, but under 6.1 both intel and texas instruments
chipsets were supported, but you had to build some propriety/closed
source/licenced thingamabob from /usr/ports to get them to work, so
they are good after your system is running, but a pain if you are
installing and they are your only card.

Summary: my best luck has been the atheros.  Had some trouble on prism
with dhclient not renewing the ip when the link would drop
intermittently.  Several others reported similar issues.  One
resolution that I did not try was to use an alternate dhclient package
from /usr/ports, don't recall which.

Best,
Steve

On 2/3/07, Paul Eskello <[EMAIL PROTECTED]> wrote:

Hi all,

looking for any recommendations regarding wireless lan pci cards and
freebsd, please.

Thx in advance.

Cheers,
Paul
___
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
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Gary Kline
On Sun, Feb 04, 2007 at 12:11:28AM +0300, Andrew Pantyukhin wrote:
> On 2/3/07, Gary Kline <[EMAIL PROTECTED]> wrote:
> >Thanks for the clue!!  Now, is there any way to automagically
> >deinstalll all php4 ports?  And:: is php5 worth going for?
> >From what I've seen of php5, I Like it.
> 
> Hi Gary,
> 
> why do you indent text in your letters that much?


:-)  I'm used to typewriters and tabs.  [[ google `typewriters'
if you are under 55! ]]  

> 
> I'd try pkg_delete -rx php4 and then install php
> and everything else that depends on it from scratch.
> 
> As for php5, go for it if the apps you use don't
> require php4. You'll find support for php5 in most
> open-source php-based projects.


The last I checked--months--php5 had some more C-like functions.
I had to code workarounds to get the functionality I needed.
Meanwhile, I'm sticking with pre-hacked code; almost everything
is out there somewhere.

> 
> Good luck!

thank you.

gary


-- 
  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, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Andrew Pantyukhin

On 2/3/07, Gary Kline <[EMAIL PROTECTED]> wrote:

Thanks for the clue!!  Now, is there any way to automagically
deinstalll all php4 ports?  And:: is php5 worth going for?
From what I've seen of php5, I Like it.


Hi Gary,

why do you indent text in your letters that much?

I'd try pkg_delete -rx php4 and then install php
and everything else that depends on it from scratch.

As for php5, go for it if the apps you use don't
require php4. You'll find support for php5 in most
open-source php-based projects.

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


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Gary Kline
On Sat, Feb 03, 2007 at 09:28:06AM -0800, Ted Mittelstaedt wrote:
> 
> - Original Message - 
> From: "Gary Kline" <[EMAIL PROTECTED]>
> To: "Joe Holden" <[EMAIL PROTECTED]>
> Cc: "Gary Kline" <[EMAIL PROTECTED]>; "FreeBSD Mailing List"
> 
> Sent: Friday, February 02, 2007 11:08 PM
> Subject: Re: firefox, mozilla won't display PHP (Was: Re: firefox,
> extensions,and *.php pages)
> 
> 
> > On Sat, Feb 03, 2007 at 06:38:10AM +, Joe Holden wrote:
> > > Gary Kline wrote:
> > > >On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:
> > > >
> > > >
> > > >
> > > > Well, the fact that my trying seever firefox addson and the
> > > > failure of firefox and mozilla to display my PHP  files just
> > > > happened to be co-incident.  As of this writing, none of my
> > > > browsers displays my php pages.   I am rebuilding php5; php4
> > > > refuses to build.
> > > >
> > > > If anybody knows if I ought to be building php4, please let me
> > > > know. --I've surfed the web looking for answers; so far,
> > > > nothing-works
> > > >
> > > > (***)
> > > >
> > > >> "You have chosen to open
> > > >>
> > > >> [  ]  (blank)
> > > >>
> > > >> which is a: appplication/x-httpd-php
> > > >> from http://www.thought.org
> > > >>
> > > >>   What should Firefox do with this file?"
> > > >>
> > > >> The one of three options *not* greyed out is:
> > > >>
> > > >> (*) Save to Disk
> > > >>
> > > >>
> > > >> What's going on?  And/or: how did I shoot myself in the foot?
> > > >>
> > > >> thanks for any insights; a couple of these addon are useful...
> > > >>
> > > >> gary
> > > >>
> > >
> > > You've added AddType lines to config, but the module is missing, or
> > > isn't being loaded presumably.
> >
> >
> >
> > Right; after a couple hours tracing, I find that for some reason,
> > devel/libtool15 says that regex/regcomp.lo isn't valid.
> >
> >
> > 
> > [EMAIL PROTECTED]:/usr/ports/lang/php4/work/php-4.4.4# k
> > "Makefile", line 496: warning: duplicate script for target
> > "main/internal_functions.lo" ignored
> > /bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc
> > -export-dynamic -pipe -g -Wall regex/regcomp.lo regex/regexec.lo
> >
> > [[ ... ]
> >
> > Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
> > Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.lo
> > sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo
> > sapi/cgi/libfcgi/os_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
> > main/internal_functions.lo -lcrypt -lcrypt -lm -lcrypt -lcrypt  -o
> > sapi/cgi/php
> > libtool: link: `regex/regcomp.lo' is not a valid libtool object
> > *** Error code 1
> >
> > 
> >
> > I have php4 and apache running on other servers, and there,
> > when I point mozilla at a php file, it works, of course..
> > --So: nothing to do with the "extensions"; for unknown reasons,
> > php4 will not build.
> >
> > Has anybody else experienced this snufu??
> >
> 
> Yes.  I assume your building php from the ports?
> 
> What you have to do is do a make deinstall in -all- the php4
> directories, as well as apache, then cvsupdate your ports,
> then do a make install to put everything back together.
> 
> If you don't go through the correct make deinstall procedure and you
> just try overwriting stuff you will end up with a mess.  That is
> probably what happened here.
> 


Thanks for the clue!!  Now, is there any way to automagically 
deinstalll all php4 ports?  And:: is php5 worth going for?
From what I've seen of php5, I Like it.

gary



> Ted
> 

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


Routed and netmask...

2007-02-03 Thread Thiago Esteves de Oliveira

Hi,

I'm using "FreeBSD 6.2 Stable" with routed to connect networks(gateway)


  THE INTERNET
|
|

|  eee.eee.eee.0/26  |

|
|
  eee.eee.eee.11/26
  ROUTER
  iii.iii.iii.1
|
|

|  iii.iii.iii.0/24 |  "My Network"



The problem...

The system is routing, but only to iii.iii.iii.0/26 .

Look... my rc.conf

ifconfig_em0="inet iii.iii.iii.1 netmask 255.255.255.0"
ifconfig_sk0="inet eee.eee.eee.11 netmask 255.255.255.192"

defaultrouter="eee.eee.eee.1"
router_enable="YES"
router_flags="-s"
gateway_enable="YES"
router="/sbin/routed"


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


FreeBSD 6.1 - libltdl

2007-02-03 Thread Chris Knipe

Hi,

Can anyone shed some light perhaps as to why GCC is not seeing libltdl ???


bash-2.05b# gcc  -lltdl
/usr/bin/ld: cannot find -lltdl
bash-2.05b# ldconfig -r|grep ltdl
   115:-lltdl.4 => /usr/local/lib/libltdl.so.4
bash-2.05b# pkg_info |grep ltdl
libltdl-1.5.22_1System independent dlopen wrapper
bash-2.05b# uname -a
FreeBSD xxx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

bash-2.05b#


Thanks,
Chris. 


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


Port upgrade/install problem: MySQL and Perl I/F

2007-02-03 Thread Robert Inder
p5-DBD-mysql50 and mysql itself
Date: 03 Feb 2007 19:58:22 +
Message-ID: <[EMAIL PROTECTED]>
Lines: 128
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


I've upgraded Perl (via "portupgrade"), but the ports I need
to re-install to restore my perl-to-MySQL interface won't!

I'm working on a rather long-neglected server running 

 FreeBSD 5.2.1-RELEASE-p7 FreeBSD 5.2.1-RELEASE-p7 

It was running Perl 5.6, but I'm trying to install some code that
needs 5.8.  So I did "cvsup" and then

portupgrade -o lang/perl5.8 perl

All went smoothly, and "perl-after-upgrade" gave me a list of
perl packages to re-install, and I did "portupgrade" on each of them.

Super!

EXCEPT for the Perl to MySQL interface package:  p5-DBD-mysql50

This is causing me two problems.

Currently, "mysql" is installed and working.

# pkg_info -Ia | grep mysql
mysql-client-5.0.0_2 Multithreaded SQL database (client)
mysql-server-5.0.0_2 Multithreaded SQL database (server)

When I try to portupgrade the perl interface, it starts trying to
build mysql for itself, even without a "-R" option.  And it does the
same thing even if I change to the ports directory and type "make".

I don't understand why it is doing that.  I am guessing the installed
version of mysql is too old for the perl interface.  But I didn't
think upgrade (or a port "make") would recurse unless "told" to
But here's what it says...

===>   p5-DBD-mysql50-4. depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm - found
===>   p5-DBD-mysql50-4. depends on file: /usr/local/bin/perl5.8.8 - 
found
===>   p5-DBD-mysql50-4. depends on shared library: mysqlclient.15 - 
not found
===>Verifying install for mysqlclient.15 in 
/usr/ports/databases/mysql50-client
===>  Building for mysql-client-5.0.33

The second problem is that the mysql port won't actually compile.  It
announces that it is "Configuring for mysql-client-5.0.33", and then
proceeds to report a whole slew (hundreds) of "checking..." activities. 
About a dozen that start "pthread_", and some of them succeed.  Then
it starts compling, but this process finishes with

mkdir .libs
cc -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -o factorial 
my_main.o factorial.o  libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a 
-lcrypt -lm
../mysys/libmysys.a(my_thr_init.o): In function `my_thread_global_end':
my_thr_init.o(.text+0x1b7): undefined reference to `pthread_cond_timedwait'
*** Error code 1

Stop in 
/data/ports_build/usr/ports/databases/mysql50-client/work/mysql-5.0.33/dbug.
*** Error code 1

Stop in 
/data/ports_build/usr/ports/databases/mysql50-client/work/mysql-5.0.33.
*** Error code 1

Stop in 
/data/ports_build/usr/ports/databases/mysql50-client/work/mysql-5.0.33.
*** Error code 1

Stop in /usr/ports/databases/mysql50-client.
*** Error code 1

Stop in /usr/ports/databases/p5-DBD-mysql50.

I've tried googling for this, but although I've found a handful of
people with broadly similar problems, nobody has actually been offered
anything I recognise as an applicable solution! 

The upshot of this is that the previous Perl application is now broken
because it cannot access the MySQL database.

So I need to either...

get the latest MySQL port to compile, or

somehow get p5-DBD-mysql50 to work with the existing MySQL.

...but I'm not sure how to start on either.

Help?  Any advice welcome!

I have tried putting the p5-DBD-mysql50 package back the way it was
(albeit in a rather simple-minded way -- just copying
/usr/ports/databases/p5-DBD-mysql50 from its sister machine).  But
this didn't make any difference.  It still decides that even this
version (which was working) is incompatible with the existing mysql...

boru/p5-DBD-mysql50# make   
===>  Vulnerability check disabled, database not found
===>  Extracting for p5-DBD-mysql50-2.9003
=> MD5 Checksum OK for DBD-mysql-2.9003.tar.gz.
===>   p5-DBD-mysql50-2.9003 depends on file: /usr/local/bin/perl5.8.8 - 
found
===>  Patching for p5-DBD-mysql50-2.9003
===>   p5-DBD-mysql50-2.9003 depends on file: /usr/local/bin/perl5.8.8 - 
found
===>   p5-DBD-mysql50-2.9003 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm - found
===>   p5-DBD-mysql50-2.9003 depends on file: /usr/local/bin/perl5.8.8 - 
found
===>   p5-DBD-mysql50-2.9003 depends on shared library: mysqlclient.15 - 
not found
:
:


Like the "current" version, this version claims it cannot find
mysqlclient.15.  And indeed, "locate" seems to confirm its absence...

# locate mysqlclient
/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.14
/usr/local/lib/mysql/libmysqlclient_r.a
/usr/local/lib/mysql/libmysqlclient_r.so
/usr/local/lib/mysql/libmysqlclient_r.so.14

I don

Re: How did i destroy my fpc compiler + compiled binaries?

2007-02-03 Thread Jurjen Middendorp
Putting the COMPAT_FREEBSD4 and 5 options back in the kernel config solved
the problem for not being able to use the binaries (the ones i had compiled
with fpc and the fpc i get with pkg_add itself) so all is good now.

Is it just a Bad Idea to put them out of the kernel or is freepascal a
litle out of date with freebsd6? Everything else seems to be working fine.

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


Re: create partition

2007-02-03 Thread Andrew Pantyukhin

On 2/3/07, cihan kömeçoğlu <[EMAIL PROTECTED]> wrote:

Hi
I have a problem with creating partition. I have one slice that ad2s1 and I
created four partition on ad2s1
ad2s1a  mounted  /
ad2s1b swap
ad2s1c
ad2s1d  mounted /usr
ad2s1e mounted /mnt
ad2s1f mounted /mnt2

I want to delete ad2s1f then create ad2s2 slice.  How can I do this?


You can delete f: using bsdlabel on ad2s1, but I'm
not sure you'll be able to resize s1 in order to
free some space for s2 without hacking (all data
loss risks included).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

How did i destroy my fpc compiler + compiled binaries?

2007-02-03 Thread Jurjen Middendorp
Hello, i have a very weird problem and am not sure what is wrong. I have
deinstalled my fpc compiler a while ago, but i wanted to install it again
today, but make-ing the port failed with some errors... not sure where to
send it to or what those errors mean, so i'll put them at the end of the
e-mail. If anyone knows what's wrong i'd like to hear it!

I have a slightly weirder problem though, all of the programs i compiled with
the freepascal compiler are failing mysteriously! I haven't run any of them
in awhile but all of them fail with the following message: "Bad system call:
12 (core dumped)". I'm not very sure what's wrong.  If i try to add the
freepascal compiler as a binary (with pkg-add -r fpc) it gives the same
message, so maybe it's an fpc problem. On the other hand those binaries used
to work, so maybe i screwed something up :)

I upgraded to stable a while ago and decided to remove some stuff from my
kernel config in the process, i think that maybe i removed a litle too much?
If anyone knows what is wrong or what i can do to get more information on
this problem please let me know! Maybe the problem is that i commented out
the compat-4 and compat-5 freebsd options? i thought i didn't needed them,
but maybe freepascal is a litle old? Most of the stuff i changed was removing
things i didn't have on my computer anyway, so that is the only thing i can
think of that could have broken fpc.

greetings, jurjen.


Here is the error i get from building the lang/fpc port. My kernel config
is below there :)

[EMAIL PROTECTED] ~]# uname -a
FreeBSD jurjen 6.2-STABLE FreeBSD 6.2-STABLE #8: Sat Feb  3 16:30:58 CET 2007   
 
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JURJEN  i386

[EMAIL PROTECTED] /usr/ports/lang/fpc]# make
===>  Building for fpc-2.0.4_1
gmake tempclean ppc3.exe
gmake[1]: Entering directory 
`/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler'
/bin/rm -f ppcross ppc ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe
gmake 'OLDFPC=' next
gmake[2]: Entering directory 
`/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler'
gmake rtlclean rtl
gmake[3]: Entering directory 
`/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler'
gmake -C  clean
gmake: Entering an unknown directory
gmake: *** clean: No such file or directory.  Stop.
gmake: Leaving an unknown directory
gmake[3]: *** [rtlclean] Error 2
gmake[3]: Leaving directory 
`/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler'
gmake[2]: *** [next] Error 2
gmake[2]: Leaving directory 
`/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler'
gmake[1]: *** [ppc1.exe] Error 2
gmake[1]: Leaving directory 
`/usr/ports/lang/fpc/work/fpcbuild_2.0.4_exp/fpcsrc/compiler'
gmake: *** [cycle] Error 2
*** Error code 2


here is my kernel config file:

machine i386
cpu I686_CPU
options SMP
ident   JURJEN

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
option   IPSEC
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
#optionsMD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
#optionsGEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
#optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5
#optionsSCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
#optionsKBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC
device  npx #floating point support

#Pseudo devices
device  mem

recommendations for wireless nics

2007-02-03 Thread Paul Eskello

Hi all,

looking for any recommendations regarding wireless lan pci cards and
freebsd, please.

Thx in advance.

Cheers,
Paul
___
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-03 Thread Steve Franks

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
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox, mozilla won't display PHP (Was: Re: firefox, extensions, and *.php pages)

2007-02-03 Thread Ted Mittelstaedt

- Original Message - 
From: "Gary Kline" <[EMAIL PROTECTED]>
To: "Joe Holden" <[EMAIL PROTECTED]>
Cc: "Gary Kline" <[EMAIL PROTECTED]>; "FreeBSD Mailing List"

Sent: Friday, February 02, 2007 11:08 PM
Subject: Re: firefox, mozilla won't display PHP (Was: Re: firefox,
extensions,and *.php pages)


> On Sat, Feb 03, 2007 at 06:38:10AM +, Joe Holden wrote:
> > Gary Kline wrote:
> > >On Fri, Feb 02, 2007 at 04:53:39PM -0800, Gary Kline wrote:
> > >
> > >
> > >
> > > Well, the fact that my trying seever firefox addson and the
> > > failure of firefox and mozilla to display my PHP  files just
> > > happened to be co-incident.  As of this writing, none of my
> > > browsers displays my php pages.   I am rebuilding php5; php4
> > > refuses to build.
> > >
> > > If anybody knows if I ought to be building php4, please let me
> > > know. --I've surfed the web looking for answers; so far,
> > > nothing-works
> > >
> > > (***)
> > >
> > >> "You have chosen to open
> > >>
> > >> [  ]  (blank)
> > >>
> > >> which is a: appplication/x-httpd-php
> > >> from http://www.thought.org
> > >>
> > >>   What should Firefox do with this file?"
> > >>
> > >> The one of three options *not* greyed out is:
> > >>
> > >> (*) Save to Disk
> > >>
> > >>
> > >> What's going on?  And/or: how did I shoot myself in the foot?
> > >>
> > >> thanks for any insights; a couple of these addon are useful...
> > >>
> > >> gary
> > >>
> >
> > You've added AddType lines to config, but the module is missing, or
> > isn't being loaded presumably.
>
>
>
> Right; after a couple hours tracing, I find that for some reason,
> devel/libtool15 says that regex/regcomp.lo isn't valid.
>
>
> 
> [EMAIL PROTECTED]:/usr/ports/lang/php4/work/php-4.4.4# k
> "Makefile", line 496: warning: duplicate script for target
> "main/internal_functions.lo" ignored
> /bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc
> -export-dynamic -pipe -g -Wall regex/regcomp.lo regex/regexec.lo
>
> [[ ... ]
>
> Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
> Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.lo
> sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo
> sapi/cgi/libfcgi/os_unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo
> main/internal_functions.lo -lcrypt -lcrypt -lm -lcrypt -lcrypt  -o
> sapi/cgi/php
> libtool: link: `regex/regcomp.lo' is not a valid libtool object
> *** Error code 1
>
> 
>
> I have php4 and apache running on other servers, and there,
> when I point mozilla at a php file, it works, of course..
> --So: nothing to do with the "extensions"; for unknown reasons,
> php4 will not build.
>
> Has anybody else experienced this snufu??
>

Yes.  I assume your building php from the ports?

What you have to do is do a make deinstall in -all- the php4
directories, as well as apache, then cvsupdate your ports,
then do a make install to put everything back together.

If you don't go through the correct make deinstall procedure and you
just try overwriting stuff you will end up with a mess.  That is
probably what happened here.

Ted

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


Re: 305 GB hard drive reduced to 266 GB (why?)

2007-02-03 Thread Ted Mittelstaedt

- Original Message - 
From: "Peter" <[EMAIL PROTECTED]>
To: 
Cc: "Peter A. Giessel" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2007 4:18 PM
Subject: Re: 305 GB hard drive reduced to 266 GB (why?)


> Le Vendredi 2 Février 2007 18:46, Peter A. Giessel a écrit :
> > On 2007/02/02 14:39, Peter seems to have typed:
> > > I am installing a new 6.2 STABLE system and I am troubled by the
> > > amount of available disk space I'm getting on one of my IDE
> > > devices:
> >
> > Its in the FAQ:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MANUF
> >ACTURER-DISK-SIZE
>
> I already took account of manufacturer disk size.  However, I didn't
> know about the FreeBSD 8% rule which accounts for the discrepancy
> between my disk size of 289 GB and its available space of 266 GB.
>
> So now my question becomes "Where does FreeBSD get 289 from 305?".

Whall, on Ford small blocks you get a 302 when you bore out a 289, you
could probably go the other direction if you sleeved an old tired
302 block down. ;-)

Ted

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


Re: Fast SCSI RAID controller

2007-02-03 Thread Ted Mittelstaedt
he still ought to look at them, cheaper faster disk arrays are nothing
to sneeze at.

SCSI is only a win these days if your running the most expensive 10K
RPM drives in a mirrored configuration, which is common on database
servers.  And raid-5 in particular unless you have a minimum of 5 drives
in your array, you are going to just be throwing the performance edge
of the more expensive scsi drives into the toilet, so what is the point of
buying them?

If your doing raid 5 for redundancy, there's no argument, sata is the
clear winner on the 3ware or highpoint cards.

Ted

- Original Message - 
From: "Philippe Lang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, February 03, 2007 5:47 AM
Subject: RE: Fast SCSI RAID controller


> [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] wrote:
> >
> >> Can anyone suggest a fast SCSI RAID controller for FreeBSD 6.2 ? Our
> >> vendor is having trouble with the latest Adaptec
> >
> > Have a look at 3WARE controllers, they work great. All the necessary
> > tools are available in the kernel and in FBSD ports.
>
> Sorry, 3WARE are SATA controllers...
>
> Philippe
> ___
> 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: 'borrowing' 6.1 drivers for use in 6.2 (sata)

2007-02-03 Thread Ted Mittelstaedt

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

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


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

2007-02-03 Thread Steve Franks

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


Enable type 28 (SHM) in base NTPD

2007-02-03 Thread Tuc at T-B-O-H.NET
Hi,

I'm trying to enable the type 28 clock, SHM, in the FreeBSD
5.X base package. It seems to have only a few clocks available, and
thats not one. I've been google'n for 1/2 an hour with no luck. 
Should I just install from ports?

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


Re: error compiling linux-base-fc4

2007-02-03 Thread Gobbledegeek

PS; please cc: me as I am not subscribed.

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


error compiling linux-base-fc4

2007-02-03 Thread Gobbledegeek

Hi All

build  fails with  the following error

===>   Generating temporary packing list
** Missing pkg-descr for autoconf-2.13.000227_5.
*** Error code 1

The full  sequence is copied below:
-
===>   linux_base-fc-4_9 depends on file: /usr/local/bin/rpm2cpio - not found
===>Verifying install for /usr/local/bin/rpm2cpio in
/usr/ports/archivers/rpm
===>   rpm-3.0.6_13 depends on executable in : gmake - found
===>   rpm-3.0.6_13 depends on file: /usr/local/bin/automake14 - not found
===>Verifying install for /usr/local/bin/automake14 in
/usr/ports/devel/automake14
===>   automake-1.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   automake-1.4.6_2 depends on file: /usr/local/bin/autoconf213 - not found
===>Verifying install for /usr/local/bin/autoconf213 in
/usr/ports/devel/autoconf213
===>  Installing for autoconf-2.13.000227_5
===>   autoconf-2.13.000227_5 depends on executable in : gm4 - found
===>   autoconf-2.13.000227_5 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
** Missing pkg-descr for autoconf-2.13.000227_5.
*** Error code 1

Stop in /usr/ports/devel/autoconf213.
*** Error code 1

Stop in /usr/ports/devel/automake14.
*** Error code 1

Stop in /usr/ports/archivers/rpm.
*** Error code 1

Stop in /usr/ports/emulators/linux_base-fc4.
-

Thanks for your help
--
Rgrds
GobbledeGeek
[Everything but Gobbledegook.. !!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Fast SCSI RAID controller

2007-02-03 Thread Philippe Lang
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> 
>> Can anyone suggest a fast SCSI RAID controller for FreeBSD 6.2 ? Our
>> vendor is having trouble with the latest Adaptec
> 
> Have a look at 3WARE controllers, they work great. All the necessary
> tools are available in the kernel and in FBSD ports. 

Sorry, 3WARE are SATA controllers...

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


RE: Fast SCSI RAID controller

2007-02-03 Thread Philippe Lang
[EMAIL PROTECTED] wrote:

> Can anyone suggest a fast SCSI RAID controller for FreeBSD 6.2 ? Our
> vendor is having trouble with the latest Adaptec 

Have a look at 3WARE controllers, they work great. All the necessary
tools are available in the kernel and in FBSD ports.

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


Re: configuring all dependancies before making in ports

2007-02-03 Thread Jim Stapleton

Thanks, that's a big help... Especially since I might have to rebuild
my new system again soon, due to the lack of 64 bit support for my
video card (PCIeGeForce 7300 - the X drivers can't seem to find the
video device)

On 2/2/07, Jonathan Horne <[EMAIL PROTECTED]> wrote:

try:

make config-recursive

or, if i want to just take all the default options (like, for kde which is a
ridiculously long build):

make BATCH=yes install clean

cheers,
jonathan

On Friday 02 February 2007 20:55, you wrote:
> Quick question, I'm trying to build a couple of packages that take a
> long time to build, even longer because they just stop when it's time
> to configure something. That's a problem if it's configure time, say
> when I need to sleep, or am at work.
>
> Is there a way to have the make run through all the dependancies that
> need build, running their configuration menus /before/ doing any of
> the builds?
>
> i.e.
> $ cd /usr/ports/x11/kde3
> $ make -dependancies=configure install clean
>
>
> Thanks,
> -Jim Stapleton
> ___
> 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: 305 GB hard drive reduced to 266 GB (why?)

2007-02-03 Thread Amitabh Kant

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



Thank you.  Now what happens to the other 9 GBs?  Is it the
formatting/fat?



Not sure of it, but I would assume that is the case.

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


Re: Determining daylight savings changes on BSD

2007-02-03 Thread Ian Smith
On Fri, 2 Feb 2007 22:06:42 -0500, John Nielsen <[EMAIL PROTECTED]> wrote:
 > On Friday 02 February 2007 17:35, Dan Nelson wrote:
 > > In the last episode (Feb 02), Robert Fitzpatrick said:
 > > > On Fri, 2007-02-02 at 10:36 -0600, Dan Nelson wrote:
 > > > > In the last episode (Feb 02), Robert Fitzpatrick said:
[..]
 > > > > That means you need to update your zoneinfo tables.  You can also use
 > > > > the date command to see if you need updating:
 > > > >
 > > > > date -r 1173679260
 > > >
 > > > Yes, thanks, looks like I need to do that, how do I update my zoneinfo
 > > > tables?
 > >
 > > Upgrading to 5.5 or 6.2 will get you the new tables as a side-effect of
 > > the upgrade :)  If you don't want to upgrade, just install the
 > > misc/zoneinfo port and rerun tzsetup.
 > 
 > The last bit (rerunning tzsetup(8)) is good advice for anyone who hasn't run 
 > it in a while. Upgrading from earlier versions of FreeBSD will install the 
 > new tzdata files but it will not touch /etc/localtime.

I think that was likely why I followed someone(?)'s advice to link

lrwxr-xr-x 1 root wheel 36 Apr 12 2006 /etc/localtime -> 
/usr/share/zoneinfo/Australia/Sydney

which continues to work despite several world upgrades, and despite
living over 500 miles from Sydney :) 

Cheers, Ian

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


Re: Fast SCSI RAID controller

2007-02-03 Thread Stanislav Sedov
On Fri, 2 Feb 2007 14:22:44 -0800
Josef Grosch <[EMAIL PROTECTED]> mentioned:

> Can anyone suggest a fast SCSI RAID controller for FreeBSD 6.2 ? Our vendor
> is having trouble with the latest Adaptec
>

LSI Logic produce very good SCSI controllers that work just fine with
amr (4).

--
Stanislav Sedov
ST4096-RIPE


pgpf50wBZgn2X.pgp
Description: PGP signature


Your message to Dailynews awaits moderator approval

2007-02-03 Thread dailynews-bounces
Your mail to 'Dailynews' with the subject

Message could not be delivered

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.ziobudda.net/mailman/confirm/dailynews/24a24bdeba40b560c8bc52636220abd4c5ca6d74

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


Re: Help with autostarting Apache

2007-02-03 Thread Pieter de Goeje
On Saturday 03 February 2007 04:21, Belanger, Benoit wrote:
> Hi,
>
>
>
> It seems that I am unable to autostart apache 2.2.4 at boot time with
> FreeBSD 6.2. Apache is working fine once loaded manually but I really need
> it to run by itself at system startup since this system will be left
> unattended for long periods.
>
>
>
> It seems that adding apache2_enable="YES" in rc.conf does not produce the
> desired result. Can anybody tell me what I am doing wrong?
Change it to apache22_enable="YES" and you'll be fine :) 
(Also see pkg-message in $PORTSDIR/www/apache22)
>
>
>
> Otherwise, this version of FreeBSD is working just fine (almost
> flawlessly).
>
>
>
> Thanks in advance.
>
>
>
> Benoit Belanger
>
> Securidata
>
> 514.748.4838 (Bureau)
>
> 514.945.3647 (Mobile)
>
> [EMAIL PROTECTED]
>
>   http://www.securidata.net
Cheers,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: File won't move

2007-02-03 Thread Pieter de Goeje
On Friday 02 February 2007 17:44, Jay Chandler wrote:
> Have a file mounted on an NFS share.
>
> I attempt to move it, rename it, copy it, or just about ANYTHING to it
> as root, and get a Permission Denied error.
>
> How can I figure out what's going on?
man exports.
See the section about -maproot.

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


create partition

2007-02-03 Thread cihan kömeçoğlu

Hi
I have a problem with creating partition. I have one slice that ad2s1 and I
created four partition on ad2s1
ad2s1a  mounted  /
ad2s1b swap
ad2s1c
ad2s1d  mounted /usr
ad2s1e mounted /mnt
ad2s1f mounted /mnt2

I want to delete ad2s1f then create ad2s2 slice.  How can I do this?



--
Cihan Kömeçoğlu
Enderunix Edu ST
www.enderunix.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"