RE: FreeBSD Release Question

2004-10-11 Thread Sheets, Jason (OZ CEEDR)
While TM4525's points are valid even FreeBSD 5.2.1 is pretty stable
(insert sual disclaimer about using non -stable version here) and I use
it over 4 in many circumstances.

FreeBSD 5 will rapidly become the standard and if you are targeting your
application for introduction in late 2005 at a minimum I would plan on
shipping it with FreeBSD 5 so considering the changes in FreeBSD 5 in
your design/programming stage would be very valuable.

I have been testing FreeBSD 5 since 5 was first released and more than
likely will be rolling most my boxes to 5.3 a few weeks after it is
released.

Of course you should evaluate both 4 and 5 to see if they meet your
needs in a test environment. 

IMHO FreeBSD 5.3 is far beyond the hopes of others and is poised to be
quite good especially by your release time.

, Jason

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Monday, October 11, 2004 8:21 AM
 To: [EMAIL PROTECTED]
 Subject: Re: FreeBSD Release Question
 
 In a message dated 10/9/04 6:25:49 PM Eastern Daylight Time,
 [EMAIL PROTECTED] writes:
  1. By Sep 2005, do you think 5.x performance will be optimized and
be
  comparable to today's 4.x stable versions ?
 
 5.3 is supposed to be stable, and it's expected to be on part with
4.x
 performance, and it's supposed to release before the end of the month.
 
 From what I've seen and heard, it looks like all that is going to
 happen.
 
  2. By Sep 2005, do you think 5.x will be as stable as today's 4.x
  released versions ?
 
 Yes.
 I hope you're not betting your business on these questions, because
 the reality is that 1) they're not very good questions and 2) the
people
 who are answering them can't really know the answers. stable
requires
 time, and since 5.2.1 and 5.3 are substantially different, I can't see
how
 one can predict the level of stability a year from now.
 
 You also didnt mention what your project is, so how can you expect
 anyone to comment on performance or stability? If you're developing a
 CD duplicator the answer is likely much different than if you are
 developing
 a networking product.
 
 If you can, do it on 4.x and move it to 5.x when you determine that it
 meets
 your needs. Don't bet the farm on the hopes and expectations of
others.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: phpwiki

2004-10-06 Thread Sheets, Jason (OZ CEEDR)
mysql_pconnect is MySQL functionality, make sure your PHP installation
has MySQL support.

You can find out by making a page named putting ?php phpinfo(); ? and
then visiting it in your web browser.

Jason



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Alan Curtis
 Sent: Wednesday, October 06, 2004 12:27 PM
 To: [EMAIL PROTECTED]
 Subject: phpwiki
 
 I am trying to install the phpwiki port using mysql, following the
 instructions in /usr/local/share/doc/phpwiki. I get to testing the
 installation by loading http://localhost/phpwiki/index.php and I get
 the error
 
 Fatal error: Call to undefined function: mysql_pconnect()
 
 Any suggestions?
 
 Alan
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: phpwiki

2004-10-06 Thread Sheets, Jason (OZ CEEDR)
Restart apache and make sure that the mysql extension is being loaded in
the php.ini file (phpinfo() gives you the path to php.ini, use the
extension directive to tell php to load a module).

Jason

 -Original Message-
 From: Alan Curtis [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 06, 2004 1:14 PM
 To: Sheets, Jason (OZ CEEDR)
 Cc: [EMAIL PROTECTED]
 Subject: Re: phpwiki
 
 I installed php4-mysql. Is there more I have to do? ?php phpinfo();
?
 does not indicate any mysql stuff and phpwiki still does not work.
 There is probably some option I have to set when compiling php?
 
 Alan
 
 On Oct 6, 2004, at 2:37 PM, Sheets, Jason (OZ CEEDR) wrote:
 
  mysql_pconnect is MySQL functionality, make sure your PHP
installation
  has MySQL support.
 
  You can find out by making a page named putting ?php phpinfo(); ?
and
  then visiting it in your web browser.
 
  Jason
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-freebsd-
  [EMAIL PROTECTED] On Behalf Of Alan Curtis
  Sent: Wednesday, October 06, 2004 12:27 PM
  To: [EMAIL PROTECTED]
  Subject: phpwiki
 
  I am trying to install the phpwiki port using mysql, following the
  instructions in /usr/local/share/doc/phpwiki. I get to testing the
  installation by loading http://localhost/phpwiki/index.php and I
get
  the error
 
  Fatal error: Call to undefined function: mysql_pconnect()
 
  Any suggestions?
 
  Alan
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-
  [EMAIL PROTECTED]
 

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


RE: Load increase after upgrading php4

2004-10-04 Thread Sheets, Jason (OZ CEEDR)
Building PHP modules makes it very easy to load optional functionality
however it will decrease performance, sometimes drastically.

I hand build PHP because of this reason and also because I want upgrades
as soon as they are released and ports usually lags a few days.

It is also possible something changed in PHP between the two installs,
I'd try a hand compile of PHP without using modules for the
functionality you know you want.

There is a lot of really good information available about tuning PHP +
Apache that can be accessed by searching on google.com.

Jason


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Bjorn Swift
 Sent: Sunday, October 03, 2004 6:58 PM
 To: [EMAIL PROTECTED]
 Subject: Load increase after upgrading php4
 
 Early September I upgraded php4 using the new php port structure (that
 is php4 and php4-extensions). Since then I have noticed quite an
 increase in server load - I'd say my current load is about five times
 what it was before. Graph available here:
 http://bjorn.swift.is/tmp/hermes-uptime-year.png
 
 I suspect this being because the new way seems to compile everything
 as loadable modules. My question is basically whether this is just
how
 it is and that I should compile php myself I want it built as one
 binary - or if this increase in load is something not to be expected.
 
 Has anyone else witnessed anything like this on their servers? What
did
 you do ?
 
 The server is a patched FreeBSD 4.8 running php 4.3.8 and apache
1.3.31.
 It's not a heavy loaded one, serving an average of just over 3
req/sec,
 but most of the files (besides images) are rather bloated php scripts;
 webmail, message boards and such. The server is running Nick
Lindridge's
 PHP Accelerator.
 
 If anyone has any tips or thoughts they would be greatly appreciated.
 
 (Would freebsd-isp perhaps be a better list for a question of this
 sort?)
 
 Cheers,
 Bjorn Swift
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Which Development Environment/Tools For FreeBSD + PostgreSQL Service?

2004-09-29 Thread Sheets, Jason (OZ CEEDR)
It sounds like you are wanting to research Unix development tools in
general not just BSD as they are fairly standard and widely available
for Linux/BSD.

It seems like you've selected c or c++ by the exclusion of the other
languages, if you are not happy with c or c++ perhaps you should
re-evaulate the other languages and really determine why you excluded
them and also your needs, if you need a real time solution that will
eliminate a lot of them right off the bat.

I'm not sure I would characterize the extensive use of pointers as a
disadvantage when used correctly they work well, regardless of the
language you choose you will need to keep an eye out for dangerous
utilization of language features.

There is a wealth of information on writing better code using a variety
of methods including code review, code guidelines, etc that are outside
the scope of my message.

Pretty much all the GNU development tools are available on BSD,
autoconf, automake, gcc, gdb, the front ends to gdb, kdevel (KDE
programming environment). I encourage you to look in /usr/ports/devel
and lang.

Borlands C++ BuilderX IDE is nice because it works on Window, Linux and
probably on BSD through the Linux compatability layer and is able to
take advantage of pretty much every tool chain available including GNU.
Kdevel is also nice, there is also gvim, emacs and a wealth of other
editors both commercial and open source so it really depends on the
features you need and the overhead you are willing to run with.

I use scons (http://www.scons.org/) for the build infrastructure instead
of gmake, and then use gcc for the compiler.  I use subversion or CVS
for version control needs.

There is also distcc and ccache that allow you to do distributed/cached
builds across the network/development environment.

Jason




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, September 29, 2004 1:52 AM
 To: [EMAIL PROTECTED]
 Subject: Which Development Environment/Tools For FreeBSD + PostgreSQL
 Service?
 
 Hello All,
 
 We are a company looking for a good development environment/tool(s)
for a
 service-type application. The OS is FreeBSD and the database will be
 PostgreSQL. The first emphasis is placed on reliability, with
secondary
 emphasis on performance. Third in importance would be the richness of
the
 language/features and avoidance of plumbing code.
 
 - Is this the right place to be asking about development tools? Since
this
 involves FreeBSD, we thought it might be appropriate.
 
 - We do not need any GUI. The programs will either run from the shell,
or
 as services.
 
 - C/C++ comes to mind, but which flavour of compiler/debugger/third
party
 add-ons/editor? An advantage here is the fact that this language is
well
 established which should improve reliability to some extent (if we are
 careful with pointers). A disadvantage would be the extensive use of
 pointers, the cryptic and unreadable look of the code and the fact
that
 C/C++ is getting a bit long in the tooth.
 
 - We are considering the Borland tools (JBuilder/Kylix) since we are
 familiar with Borland tools and like their database connectivity, rich
 components and elegant looking code (less plumbing). But on the other
 hand, we don't need any GUI, and we had some problems in the past with
 reliability. Do you have any thoughts on this?
 
 - We would prefer not to use ODBC/JDBC, and instead interface directly
to
 the database. We had some bad experience in the past regarding
reliability
 and performance. We can either use the library provided by Postgres or
 write our own wrappers to make things more readable.
 
 - We would prefer not to use an interpreted language such as Python,
Java,
 and Perl etc for performance reasons. We know that Java can be
compiled,
 but is it a good solution without using JDBC? How about reliability?
 
 Are there any particularly elegant solutions you have experience with?
 Thank you for your help.
 
 Tom
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Very very slow

2004-09-24 Thread Sheets, Jason (OZ CEEDR)
What type of SCSI controller are you using, was performance always very
slow or has it just started recently, there isn't a lot of information
in your message but it sounds a lot like a hardware issue to me though
it could also be misconfiguration.

Check /var/log and see if there are any error messages that explain it,
are you certain you aren't experiencing failing hardware?

Also is CPU utilization abnormally high, try running some disk benchmark
utilities or otherwise measure I/O performance.

Are you running a custom kernel, if so does it perform differently with
the GENERIC kernel?

There are any number of things on the hardware or software side that can
manifest as performance problems.

Jason
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Albert Shih
 Sent: Friday, September 24, 2004 8:10 AM
 To: [EMAIL PROTECTED]
 Subject: Very very slow
 
 Hi
 
 I've very strange problem:
 
   On a bi-pro Xeon 2.4 Ghz, 2 Go Ram, 36 SCSI-3 disk.
 
 With Linux RH 9 everything work fine. But with FreeBSD 5.2.1 the
server is
 very very very slow. For example make buildworld use ~10 hours
 
 I've another server with approx same hardware (same motherboard but
with
 integrated scsi chipset) on FreeBSD 5.2.1 and everthing work fine.
 
 Anyone have a idea ?
 
 Regards.
 
 
 
 --
 Albert SHIH
 Universite de Paris 7 (Denis DIDEROT)
 U.F.R. de Mathematiques.
 Heure local/Local time:
 Fri Sep 24 16:01:54 CEST 2004
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Ultimately Safe User Account

2004-09-23 Thread Sheets, Jason (OZ CEEDR)
I'd suggest sending him a live CD of FreeBSD (LiveBSD at
http://www.livebsd.com) or Linux (Knoppix at http://www.knoppix.org) are
very good.

This will keep him on his own hardware and let him become familiar with
BSD in a fairly safe environment.

When he feels comfortable he can attempt a full install on his hardware.

Alternatively if he is just wanting to become proficient on the command
line he can install Cygwin (http://www.cygwin.com) on Windows and
Linux-like environment right on Windows and then progress to the real
thing.

I'd go with any of the above before giving him remote access but If you
are deadest on allowing him access to your system look at

man jail
man security
man login.conf

Jason




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Andrew
 Sent: Thursday, September 23, 2004 1:30 PM
 To: [EMAIL PROTECTED]
 Subject: Ultimately Safe User Account
 
 Hi,
 
 I have a production FreeBSD box. My friend is starting to learn Unix
 essentials and is asking me for an account. He doesn't require any
 special rights, but he certainly wants to be able to use shell and
read
 most manual pages. He'll access the server via Internet, SSH.
 
 How can I create an account, so that it is completely safe to let him
 in? How can I jail/chroot him and do I need to do it this way? I want
to
 limit everything: disk space (~500Mb), RAM (~10%), processes (~30),
cpu
 (~5-10%), _internet connectivity_ (bandwidth is expensive and he must
 not be able to download much). He is new to Unix but I have to suppose
 that somebody very experienced can steal his account info.
 
 I'd be glad if he had only very basic ls, cp, mv, as well as sh and
vi.
 I don't want him to have any browser or fetch-like utility.
 
 I know that letting somebody log in is already a security hole, but I
 want to minimize the risks.
 
 
 Thanks,
 Andrew P.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IPFILTER - Understanding log entries

2004-09-13 Thread Sheets, Jason (OZ CEEDR)
If your log is too large I'd carefully evaluate which rules are logging.

From the goole search: firewall log parsing I received the following
interesting results:

http://www.aetdata.com/tracer/firewalllogtutorial.html talks about
parsing firewall logs

http://www.dixongroup.net/hatchet/ is a tool for parsing OpenBSD PF
logs,




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Darryl Hoar
 Sent: Monday, September 13, 2004 8:13 AM
 To: [EMAIL PROTECTED]
 Subject: IPFILTER - Understanding log entries
 
 Greetings,
 I have a machine installed with Freebsd  IPFILTER.
 The machine is setup as a firewall.
 
 The log files generated are large.  First, is there a
 tutorial or tool that will process the log file and show
 what the threat is ?  (if there is one).
 
 Also, how do others handle the volume of entries in
 the log file ?
 
 thanks,
 Darryl
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: CLI tool for motherboard/CPU temp monitoring.

2004-09-08 Thread Sheets, Jason (OZ CEEDR)


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Stijn Hoop
 Sent: Wednesday, September 08, 2004 2:40 PM
 To: Kenji M
 Cc: FreeBSD - Questions
 Subject: Re: CLI tool for motherboard/CPU temp monitoring.
 
 On Wed, Sep 08, 2004 at 01:23:36PM -0700, Kenji M wrote:
  Does anyone know if there are any tools in ports that allows me to
  monitor the CPU and motherboard temperatures?  I am running 4.10 and
 5.2.1
  with assorted Intel and AMD x86 based mobos.
 
 For some mobo's, /usr/ports/sysutils/xmbmon will work; you can
instruct
 it to run without X and install only the CLI binary 'mbmon' by
installing
 WITHOUT_X11=yes.
 


Also look at /usr/ports/sysutils/healthd

 HTH,
 
 --Stijn
 
 --
 Man had always assumed that he was more intelligent than dolphins
because
 he had achieved so much... the wheel, New York, wars, and so on,
whilst
 all the dolphins had ever done was muck about in the water having a
good
 time. But conversely the dolphins believed themselves to be more
 intelligent
 than man for precisely the same reasons.
   -- Douglas Adams, The Hitchhikers Guide To The Galaxy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Update Databases from Webserver

2004-09-07 Thread Sheets, Jason (OZ CEEDR)


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Peter Risdon
 Sent: Tuesday, September 07, 2004 1:14 PM
 To: FreeBSD Mail Lists
 Cc: Questions
 Subject: Re: Update Databases from Webserver
 
 FreeBSD Mail Lists wrote:
  Peter, Thanks for your response. In response to
 
  You don't say why you'd want to do this. If you want to allow
  customers of an e-commerce site to avoid repeating their details
  whenever they want to buy, perhaps consider basing the payment
  backend around PayPal. The need for users to authenticate in order
  to make a payment hasn't brought e-Bay to its knees.
 
 
  Pretty much the end result would be Amazon like with the customer
  being able to choose a previously used card.  Is this possible
  without storing credit card numbers or using paypal?
 
 
 Well, yes, this is a convenience. But there's a very good reason why
you
 only find this at very big online retailers like Amazon: It's a
biggie.
 All the replies you had that I've seen point this out one way or
another.

Exactly right, I would look for a credit card processing company that
supports the functionality you are looking for and use their existing
functionality and let them absorb the liability if something horrible
were to happen.  You generally don't want to be the company or person
that is responsible for exposing financial information.

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