Re: Filesystem that both FreeBSD and OS X can read/write

2007-04-02 Thread bram

mal content schreef:

Hello.

I have a small USB hard disk enclosure and would like to start
using it to transfer files between OS X and FreeBSD machines.

Is there a filesystem that both OS X and FreeBSD can reliably
read and write to? I've heard that OS X supports UFS, but there's
no clear definition on what UFS actually is. I mean Free/Open/Net/
DragonFly all seem to have slightly differing definitions...

Any ideas?
MC

I have done this frequently.
In my experience the only way is FAT32, for large drives you need to 
compile the freebsd kernel with the MSDOSFS_LARGE option.
You should be able to read/write the drive in OSX 10.3 and upwards, I do 
not think it works with 10.2 and 10.1

Formatting the drive is easy in OSX so I would do it there
I beleive the reason for UFS not being compatible is an endian (big vs 
small) issue, maybe solved now with the new intel macs.

I have not tried it with usb, but it worked with firewire.

If both machines are connected through a network you may also want to 
take a look at netatalk


kind regards bram


(please cc: as I'm not subscribed)
___
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: no subject.

2007-04-02 Thread Joseba Sanchez
Hi,

I am very new to Freebsd so this might be a dumb
question, but I can't 
find
an answer through FAQ..

 

I used the command make install clean to install
some ported 
applications,
and the installs went off without a hitch and reported
successful.My 
problem
is that I can't find the locations of the installed
applications or the
executables for the apps to run them.What am I missing
here?

Normally the instaled binary of the applications are
in /usr/bin, /usr/local/bin, /usr/X11R6/bin...

If the applications has been succesfully instaled via
ports, type whereis application-name, and it will show
you the place. For example, previous to the
instalation, if you type whereis xmms, it will just
show you /usr/ports/chinese/xmms. After the
instalation, typieng the same, whereis xmms, it will
show you something like that.

bash-2.05b$ whereis xmms
xmms: /usr/X11R6/bin/xmms
/usr/X11R6/man/man1/xmms.1.gz /usr/ports/chinese/xmms

If you have /usr/X11R6/bin in your path, (echo $PATH
will show it) just typing xmms in a terminal will run
the application.

Thank you in advance.

Michael Brady



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot pkg_add linux-flashplugin7

2007-04-02 Thread Joseba Sanchez
Hi,

I have tried to a couple of times to install a
Micromedia-alike flash 
plugin for FreeBSD but failed.  So far I have 
  successfully installed the linux-pluginwrapper as a
requirement at 
/usr/ports/www/linuxpluginwrapper. So I tried 
/usr/ports/www/linux-flashplugin7 and
  issued the command pkg-add -r linux-flashplugin7.
The system 
attempted to download the file from ftp site but came
back saying the file 
linux-flashplugin7 did not exist.  Any idea what I may
be doing wrong?

The answer that you receive is just because it doesn't
exist it like a package on the ftp server that your
are fetching from.
Try to install it via ports way, typing make install
clean on /usr/ports/www/linux-flashplugin7, as
described in the manual

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

Hope this help.





__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem that both FreeBSD and OS X can read/write

2007-04-02 Thread Eric Crist

On Apr 1, 2007, at 9:08 PM, Garrett Cooper wrote:

I'd do it on the FreeBSD machine. IIRC Mac OSX did some funky  
stuff with the MBR / slices when formatting disks.

-Garrett


I just took another disk, formated with UNIX Files System on my  
Mac, and it mounts just fine as UFS on my FreeBSD system.
Well, hmm.. that's where the IIRC came from though because I wasn't  
positive. What version of OSX were you running when you formatted  
the disk, by the way?

-Garrett


Latest version, 10.4.9.  Note: I'm not trying to boot from the disk  
in question - just using for file transfer.

-
Eric F Crist
Secure Computing Networks


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


Re: New to FreeBSD

2007-04-02 Thread Ivan Zenzerović

I have a problem with my firewall. When booting freebsd i get the message
that pf is enabling, but there are syntax errors in the /etc/pf.conf file
and that no IP adresses were found for sk0 network. What should i change
here?
I took the conf file from
http://www.xs4all.nl/~rsmith/freebsd/index.html#sec

Ivan
On 3/30/07, Roland Smith [EMAIL PROTECTED] wrote:


On Fri, Mar 30, 2007 at 07:21:32PM +0200, Ivan Zenzerović wrote:
 Try xvidtune.

 Thanks, I'll try. I knew of that program, but with time I forgot it's
name.

 I must say that freebsd works very well as a workstation, there are no
 viruses (am I right?),

As good as right. There have been proof-of-concept viruses for UNIX, but
AFAIK no one has ever been found in the wild. And most of them rely on
the operator doing something stupid (like running an un-trusted binary
as root).

That doesn't mean FreeBSD is invulnerable though. If you're running a
workstation there are several things you should do IMHO.

1) Enable one of the firewalls that are available on FreeBSD (I like
   pf). This firewall should be set up to block incoming connections.
2) Do not enable any services that you don't need.
3) Disable all logins that don't come from the local machine.

See http://www.xs4all.nl/~rsmith/freebsd/index.html#sec
You might find the rest of this page usefull as well.

 But, let me ask something. When I was configuring the mounting of usb
memory
 sticks, I had to create the /etc/devfs.rules file and write something in
it.
 (
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html)
 and I did it. Everything works fine, but is it ok to create files like
this
 if they are not already created by the system. I just followed the
hanbook,
 but the only difference was that I had to create that file.

It is fine to create those files. It is just not used by default.

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)





--

---
Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton
Senna
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

ffs_valloc: dup alloc panic under 6.0 with RAID 5 iir driver

2007-04-02 Thread Philippe Lang
Hi,

After 370 days of uptime, I suddenly got an ffs_valloc: dup alloc
panic under our production server, for the swap partition.

-

Dump header from device /dev/da0s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 4026068992B (3839 MB)
  Blocksize: 512
  Dumptime: Mon Apr  2 08:44:33 2007
  Hostname: xeon.attiksystem.ch
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.0-RELEASE-p6 #0: Sun Mar 26 15:43:19 CEST
2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-ATTIK
  Panic String: ffs_valloc: dup alloc
  Dump Parity: 1261171921
  Bounds: 0
  Dump Status: good

-

xeon# more /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/da0s1b noneswapsw  0
0
/dev/da0s1a /   ufs rw  1
1
/dev/da0s1e /tmpufs rw  2
2
/dev/da0s1f /usrufs rw  2
2
/dev/da0s1d /varufs rw  2
2
/dev/acd0   /cdrom  cd9660  ro,noauto   0
0

-

After a reboot in single-user mode, fsck found 200+ errors (a lot of
soft updates inconsistencies, plus others), but corrected them
apparently well. At the next reboot, except a few things, everything
works fine, but this is quite frightening.

The server has an INTEL SRCU42L card, with RAID 5, firmware
2.34.05-R043. (iir driver)

What would you change first in order to correct that problem? OS patch
release? OS version? Raid firmware?

The odd thing here is that swap ist not used at all on this server,
built with 4 GB and where no more than 2 GB is being used.

Thanks!

Regards,


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


Re: no subject.

2007-04-02 Thread Jerry McAllister
On Mon, Apr 02, 2007 at 10:04:20AM +0200, Joseba Sanchez wrote:

 Hi,
 
 I am very new to Freebsd so this might be a dumb
 question, but I can't 
 find an answer through FAQ..

The first thing to learn is to put a meaningful subject on your posts.
Leaving the subject blank is most likely to get your messages ignored
by those who get too many messages and questions.

 
 I used the command make install clean to install
 some ported 
 applications,
 and the installs went off without a hitch and reported
 successful.My 
 problem
 is that I can't find the locations of the installed
 applications or the
 executables for the apps to run them.What am I missing
 here?

Well, it is possible that your shell does not yet know about
the new command.When you log in and start a shell, it goes
out and does a search of your path[s] and makes a hash table
that helps it find everything out there quickly.  Your new stuff
probably needs to be added to the hash table.  You can
either log out and log in again or you can enter the command  'rehash'.
If that doesn't do it, then you should see what the command name
is supposed to be or read up on how to start the utility. 

jerry

 
 Normally the instaled binary of the applications are
 in /usr/bin, /usr/local/bin, /usr/X11R6/bin...
 
 If the applications has been succesfully instaled via
 ports, type whereis application-name, and it will show
 you the place. For example, previous to the
 instalation, if you type whereis xmms, it will just
 show you /usr/ports/chinese/xmms. After the
 instalation, typieng the same, whereis xmms, it will
 show you something like that.
 
 bash-2.05b$ whereis xmms
 xmms: /usr/X11R6/bin/xmms
 /usr/X11R6/man/man1/xmms.1.gz /usr/ports/chinese/xmms
 
 If you have /usr/X11R6/bin in your path, (echo $PATH
 will show it) just typing xmms in a terminal will run
 the application.
 
 Thank you in advance.
 
 Michael Brady
 
 
   
 __ 
 LLama Gratis a cualquier PC del Mundo. 
 Llamadas a fijos y móviles desde 1 céntimo por minuto. 
 http://es.voice.yahoo.com
 ___
 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]


UPGRADing from 5.4- Sysinstall or makeworld

2007-04-02 Thread Jean-Paul Natola
Hi everyone,

I'm think I really need to upgrade  from 5.4  as I'm having a slew of issues
with my programs- specifically  exim-sa-clamav- 

My concern is that this was the only BSD install I had ever done with
assistance from a colleague from across the border- So all I have been doing
for the past year is cvsup-ing and portupgrading- however as mentioned
earlier I'm running into issues that are consuming too much time for me to
resolve as I am a one man IT department here.

The first thing I'd like to know is if my box can indeed handle the upgrade
to 6.2  -

I have the following hardware-

PIII 500mhz
256 ram
8 gig hard-drive

The ONLY thing I use this box for is to filter mail that then gets passed to
my exchange server-

Are there any gotcha's I need to lookout for before attempting this upgrade,
since this filters my e-mail if I screw up- I will have no incoming mail-
lest I choose to redirect my SMTP directly to my mail server- NOT A GOOD
IDEA.

So I see there are two methods of upgrading - sysinstall  or makeworld- what
would be the optimal choice for someone with limited  experience in the BSD
world-

Thanks 









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [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: UPGRADing from 5.4- Sysinstall or makeworld

2007-04-02 Thread Derek Ragona
The difference is a binary upgrade using sysinstall booting a later version 
CD or using cvsup and a source install.  Both should work fine for your 
setup.  If you want to go to 6.X you should go to 5.5 first.


Read /usr/src/UPDATING in all cases.

-Derek


At 09:44 AM 4/2/2007, Jean-Paul Natola wrote:

Hi everyone,

I'm think I really need to upgrade  from 5.4  as I'm having a slew of issues
with my programs- specifically  exim-sa-clamav-

My concern is that this was the only BSD install I had ever done with
assistance from a colleague from across the border- So all I have been doing
for the past year is cvsup-ing and portupgrading- however as mentioned
earlier I'm running into issues that are consuming too much time for me to
resolve as I am a one man IT department here.

The first thing I'd like to know is if my box can indeed handle the upgrade
to 6.2  -

I have the following hardware-

PIII 500mhz
256 ram
8 gig hard-drive

The ONLY thing I use this box for is to filter mail that then gets passed to
my exchange server-

Are there any gotcha's I need to lookout for before attempting this upgrade,
since this filters my e-mail if I screw up- I will have no incoming mail-
lest I choose to redirect my SMTP directly to my mail server- NOT A GOOD
IDEA.

So I see there are two methods of upgrading - sysinstall  or makeworld- what
would be the optimal choice for someone with limited  experience in the BSD
world-

Thanks









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: fsck fails on 6T system

2007-04-02 Thread Dan D Niles

On Thu, 2007-03-29 at 05:47 +0200, Pieter de Goeje wrote:
 On woensdag 28 maart 2007, Dan D Niles wrote:
  I am trying to fsck a 6T filesystem on a server that crashed.  I'm
  running FreeBSD 6.2-p3.
 
  # fsck -t ufs -y /dev/da0
  fsck_ufs: cannot alloc 1993797728 bytes for inoinfo
 Could you run 'limits' here? I suspect 'datasize' is too low.

# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize  2935808 kB
  stacksize   65536 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB


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


Re: fsck fails on 6T system

2007-04-02 Thread Dan D Niles
On Thu, 2007-03-29 at 07:37 -0800, Peter A. Giessel wrote:
 On 2007/03/28 19:47, Pieter de Goeje seems to have typed:
  On woensdag 28 maart 2007, Dan D Niles wrote:
  I am trying to fsck a 6T filesystem on a server that crashed.  I'm
  running FreeBSD 6.2-p3.
 
  # fsck -t ufs -y /dev/da0
  fsck_ufs: cannot alloc 1993797728 bytes for inoinfo
  Could you run 'limits' here? I suspect 'datasize' is too low.
 
 It might also help to turn your swap space on:
 http://www.freebsd.org/cgi/man.cgi?query=swapon

# swapctl -l
Device:   1024-blocks Used:
/dev/amrd0s2b   2097152 4



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


RE: UPGRADing from 5.4- Sysinstall or makeworld

2007-04-02 Thread Jean-Paul Natola
I do not have /usr/src/UPDATING

 

I have 

 

# locate UPDATING

/usr/local/share/doc/exim/README.UPDATING

/usr/ports/UPDATING

/usr/ports/mail/dspam/files/UPDATING

/usr/ports/mail/dspam-devel/files/UPDATING

 



From: Derek Ragona [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 02, 2007 11:02 AM
To: Jean-Paul Natola; freebsd-questions@freebsd.org
Subject: Re: UPGRADing from 5.4- Sysinstall or makeworld

 

The difference is a binary upgrade using sysinstall booting a later version
CD or using cvsup and a source install.  Both should work fine for your
setup.  If you want to go to 6.X you should go to 5.5 first.

Read /usr/src/UPDATING in all cases.

-Derek


At 09:44 AM 4/2/2007, Jean-Paul Natola wrote:



Hi everyone,

I'm think I really need to upgrade  from 5.4  as I'm having a slew of issues
with my programs- specifically  exim-sa-clamav- 

My concern is that this was the only BSD install I had ever done with
assistance from a colleague from across the border- So all I have been doing
for the past year is cvsup-ing and portupgrading- however as mentioned
earlier I'm running into issues that are consuming too much time for me to
resolve as I am a one man IT department here.

The first thing I'd like to know is if my box can indeed handle the upgrade
to 6.2  -

I have the following hardware-

PIII 500mhz
256 ram
8 gig hard-drive

The ONLY thing I use this box for is to filter mail that then gets passed to
my exchange server-

Are there any gotcha's I need to lookout for before attempting this upgrade,
since this filters my e-mail if I screw up- I will have no incoming mail-
lest I choose to redirect my SMTP directly to my mail server- NOT A GOOD
IDEA.

So I see there are two methods of upgrading - sysinstall  or makeworld- what
would be the optimal choice for someone with limited  experience in the BSD
world-

Thanks 









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is 
believed to be clean. 
MailScanner thanks transtec Computers http://www.transtec.co.uk/  for their
support. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


adding a host how-to

2007-04-02 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hello Freebsd Gurus!
I set up the test server with Windows 2003 to play. Now I'm trying to
add a hostname to our existing domain: newhostname.domain.com The
server runs FreeBSD 6.2 with pf firewall.
I added ip address and hostname to /etc/hosts Is there anything else
that needs to be done besides that? Did anyone see a good how-to?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGERkcUZGmaUWxLn8RAhiPAKCDSLV5TgHSX9bRJFud37Nzes4PuwCggtN7
mxlzVfBOSX5mZoiWf3sguaU=
=oey9
-END PGP SIGNATURE-

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


RE: UPGRADing from 5.4- Sysinstall or makeworld

2007-04-02 Thread Derek Ragona
/usr/src/UPDATING is part of the regular /usr/src tree.  You will see this 
on the install CD or if you cvsup to a newer version.


-Derek


At 10:20 AM 4/2/2007, Jean-Paul Natola wrote:

I do not have /usr/src/UPDATING

I have

# locate UPDATING
/usr/local/share/doc/exim/README.UPDATING
/usr/ports/UPDATING
/usr/ports/mail/dspam/files/UPDATING
/usr/ports/mail/dspam-devel/files/UPDATING


--
From: Derek Ragona [mailto:[EMAIL PROTECTED]
Sent: Monday, April 02, 2007 11:02 AM
To: Jean-Paul Natola; freebsd-questions@freebsd.org
Subject: Re: UPGRADing from 5.4- Sysinstall or makeworld

The difference is a binary upgrade using sysinstall booting a later 
version CD or using cvsup and a source install.  Both should work fine for 
your setup.  If you want to go to 6.X you should go to 5.5 first.


Read /usr/src/UPDATING in all cases.

-Derek


At 09:44 AM 4/2/2007, Jean-Paul Natola wrote:

Hi everyone,

I'm think I really need to upgrade  from 5.4  as I'm having a slew of issues
with my programs- specifically  exim-sa-clamav-

My concern is that this was the only BSD install I had ever done with
assistance from a colleague from across the border- So all I have been doing
for the past year is cvsup-ing and portupgrading- however as mentioned
earlier I'm running into issues that are consuming too much time for me to
resolve as I am a one man IT department here.

The first thing I'd like to know is if my box can indeed handle the upgrade
to 6.2  -

I have the following hardware-

PIII 500mhz
256 ram
8 gig hard-drive

The ONLY thing I use this box for is to filter mail that then gets passed to
my exchange server-

Are there any gotcha's I need to lookout for before attempting this upgrade,
since this filters my e-mail if I screw up- I will have no incoming mail-
lest I choose to redirect my SMTP directly to my mail server- NOT A GOOD
IDEA.

So I see there are two methods of upgrading - sysinstall  or makeworld- what
would be the optimal choice for someone with limited  experience in the BSD
world-

Thanks









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: [EMAIL PROTECTED]

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

--
This message has been scanned for viruses and
dangerous content by http://www.mailscanner.info/MailScanner, and is
believed to be clean.
MailScanner thanks http://www.transtec.co.uk/transtec Computers for 
their support.

--
This message has been scanned for viruses and
dangerous content by http://www.mailscanner.info/MailScanner, and is
believed to be clean.
MailScanner thanks http://www.transtec.co.uk/transtec Computers for 
their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Filesystem that both FreeBSD and OS X can read/write

2007-04-02 Thread Peter A. Giessel
On 2007/04/01 23:21, bram seems to have typed:
 If both machines are connected through a network you may also want to 
 take a look at netatalk

or Samba or NFS.  For my network, I mostly transfer files between my
Macs (5 boxes) and FreeBSD (4 boxes) boxes via sftp.  It doesn't mount
any drives, but it efficiently and securely transfers files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPGRADing from 5.4- Sysinstall or makeworld

2007-04-02 Thread Guido Demmenie


On Apr 2, 2007, at 5:20 PM, Jean-Paul Natola wrote:


I do not have /usr/src/UPDATING



I have



# locate UPDATING

/usr/local/share/doc/exim/README.UPDATING

/usr/ports/UPDATING

/usr/ports/mail/dspam/files/UPDATING

/usr/ports/mail/dspam-devel/files/UPDATING


After you did a cvsup with src-all in the supfile there should be a
/usr/src/UPDATING file. Read it before updating, it can help you not
getting in trouble.

I just did an upgrade although that was from 6.0  to 6.2 so not  
perfectly

 comparable. But it workedout   fi. e, I used the nex  thowto:
http://mikestammer.com/dokuwiki/bsd:updateos

The howto is only fine, although I had some issues with understanding  
mergemaster.
Mergemaster askes you whether to use the new file, the old file or to  
merge
them. When merging them it gives a left and a right file and the  
diffs of it.

You just have to select which one of them you want to keep.

Well, good luck and make sure you have a working level 0 dump at hand to
restore in case everything goes wrong.

--
Guido
www.rottnic.nl   0





From: Derek Ragona [mailto:[EMAIL PROTECTED]
Sent: Monday, April 02, 2007 11:02 AM
To: Jean-Paul Natola; freebsd-questions@freebsd.org
Subject: Re: UPGRADing from 5.4- Sysinstall or makeworld



The difference is a binary upgrade using sysinstall booting a later  
version
CD or using cvsup and a source install.  Both should work fine for  
your

setup.  If you want to go to 6.X you should go to 5.5 first.

Read /usr/src/UPDATING in all cases.

-Derek


At 09:44 AM 4/2/2007, Jean-Paul Natola wrote:



Hi everyone,

I'm think I really need to upgrade  from 5.4  as I'm having a slew  
of issues

with my programs- specifically  exim-sa-clamav-

My concern is that this was the only BSD install I had ever done with
assistance from a colleague from across the border- So all I have  
been doing

for the past year is cvsup-ing and portupgrading- however as mentioned
earlier I'm running into issues that are consuming too much time  
for me to

resolve as I am a one man IT department here.

The first thing I'd like to know is if my box can indeed handle the  
upgrade

to 6.2  -

I have the following hardware-

PIII 500mhz
256 ram
8 gig hard-drive

The ONLY thing I use this box for is to filter mail that then gets  
passed to

my exchange server-

Are there any gotcha's I need to lookout for before attempting this  
upgrade,
since this filters my e-mail if I screw up- I will have no incoming  
mail-
lest I choose to redirect my SMTP directly to my mail server- NOT A  
GOOD

IDEA.

So I see there are two methods of upgrading - sysinstall  or  
makeworld- what
would be the optimal choice for someone with limited  experience in  
the BSD

world-

Thanks



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


Re: Filesystem that both FreeBSD and OS X can read/write

2007-04-02 Thread mal content

On 02/04/07, Peter A. Giessel [EMAIL PROTECTED] wrote:

On 2007/04/01 23:21, bram seems to have typed:
 If both machines are connected through a network you may also want to
 take a look at netatalk

or Samba or NFS.  For my network, I mostly transfer files between my
Macs (5 boxes) and FreeBSD (4 boxes) boxes via sftp.  It doesn't mount
any drives, but it efficiently and securely transfers files.



Unfortunately, they are only connected via the internet. Transferring
8gb+ files over a DSL-grade connection is rather painful...

The version of OS X that I'm using (10.3) doesn't seem to want to let
me format a drive as FAT32, so I'm trying in FreeBSD now.

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


Re: Filesystem that both FreeBSD and OS X can read/write

2007-04-02 Thread Bill Campbell
On Mon, Apr 02, 2007, mal content wrote:
On 02/04/07, Peter A. Giessel [EMAIL PROTECTED] wrote:
On 2007/04/01 23:21, bram seems to have typed:
 If both machines are connected through a network you may also want to
 take a look at netatalk

or Samba or NFS.  For my network, I mostly transfer files between my
Macs (5 boxes) and FreeBSD (4 boxes) boxes via sftp.  It doesn't mount
any drives, but it efficiently and securely transfers files.


Unfortunately, they are only connected via the internet. Transferring
8gb+ files over a DSL-grade connection is rather painful...

You may want to look at ``rsync'' as it's very good at doing
things like this as it minimzes the network traffic.  The Mac
version of rsync handles resource forks properly, but this may be
an issue going between OS X and FreeBSD depending on the progams
that use the data (e.g. the Reunion genealogy software still loos
at the resource forks).

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

Bagdikian's Observation:
Trying to be a first-rate reporter on the average American
newspaper is like trying to play Bach's St. Matthew Passion
on a ukelele.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD HP Netserver LH 3000 hang at sysinstall

2007-04-02 Thread backyard
Hello,

I have an HP Netserver LH 3000 Server w/
2x 800 MHZ pIII
1128 MB RAM (HP Parts)
Integrated Netraid, 4 drives 100 GB of storage

Bios 4.06.33 PT
MMC 10.46
netraid bios 2.04 firmware 1.12
I have scene posts that quote this hardware working
with LH 3000/6000 (2-way piii, 6-way piii xeon)

basically all applied updates available from HP short
of the Ultra3 conversion, which they say don't do
unless your migrating to ultra3; which I will be but
lack the hardware and don't want more mess on my
hands. 

FreeBSD 6.2-Release, 6.0-Release, and FreeSBIE 1.1 (
Rel_5.4 I think) tried to no avail. Would dig up my
Rel_5.x disks but if FreeSBIE won't work...


I can't boot with ACPI enabled have to hit 2 at loader
screen. which is fine any computer rated at 1.2 KW
isn't going to have power management... although with
the bios updates I think it will work now, but I still
have been hitting 2 most of the time.

Everything works fine until sysintall loads. The
keyboard just doesn't work. Caps lock etc al does
nothing no Leds light up. Sometimes it seems during
the 

probing devices 

message the keyboard appears to go through a bus
reset, and it doesn't come back. sometimes it doesn't
appear to reset at all; all leds lighting up and
turning off again is what I mean by reset. I have
tried two keyboards, both do the same.

With FreeSBIE 1.1 I can get as far as 

md1.gzip
loading  12454 blocks of 65535

 or soemthing basically when it is loading up the
Ramdrives and that is typed from memeory. usually it
never leaves the splash screen.

I haven't scene anything in my searches as to why I
cannot get this thing to work. the biggest issues seem
to be ACPI and EISA SCSI... I did see one thing on
Interupts but I haven't found it again since.

I have tried disabling SE SCSI, IRQ sharing, turning
netraid back to LVD SCSI, pulling out option boards
I'm not using (2 network cards). I've tried disabling
hot swap PCI resources, changing the sharing methods
from smart to fixed. My guess is the keyboard is
sharing an IRQ with something FreeBSD doesn't like but
I am not sure how to fix that, or if that is even the
issue.

I've considered putting jumpers on the hot swap RAID
drives because I know FreeBSD doesn't like
autoenumeration of SCSI devices, but I don't think
this is a storage issue. And this (when I set the
jumpers manually in the past) was a problem with
finding drives not booting into sysinstall

Has anyone had issues like this with FreeBSD on an HP
netserver? I have seriously considered giving up and
installing eComstation and running BSD in a virtual
machine, but I would rather be running BSD on this
box.

Please respond to

backyard1454-bsd (some-kind-of-symbol) yahoo
(a-seperator) com

as I am not on the questions list.


Thanks for any help that can be offered,

Brian McKeon




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


Re: New to FreeBSD

2007-04-02 Thread Roland Smith
On Mon, Apr 02, 2007 at 03:11:01PM +0200, Ivan Zenzerović wrote:
 I have a problem with my firewall. When booting freebsd i get the message
 that pf is enabling, but there are syntax errors in the /etc/pf.conf file
 and that no IP adresses were found for sk0 network. What should i change
 here?
 I took the conf file from
 http://www.xs4all.nl/~rsmith/freebsd/index.html#sec

Take a look at the macros that define the external and internal
networks. They are called ext_if and int_if. If you don't have an
internal network, remove all lines that have localnet or int_if in them.

Make sure that the ext_if macro matches your network interface. Look
at the output of the ifconfig command, and disregard lo0, pflog0 and
plip0. You're looking for the network device that has a status: active
line in the ifconfig output.

Do not change the order of the lines in the file! pf expects them to be
in a certain order. See 'man pf.conf'.

If that still doesn't work, let me know and I'll send you a cleaned-up
copy off the list.

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)


pgpQH3qMcOFWo.pgp
Description: PGP signature


Re: adding a host how-to

2007-04-02 Thread Jerry McAllister
On Mon, Apr 02, 2007 at 10:54:20AM -0400, Ilya Vishnyakov wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
  
 Hello Freebsd Gurus!
 I set up the test server with Windows 2003 to play. Now I'm trying to
 add a hostname to our existing domain: newhostname.domain.com The
 server runs FreeBSD 6.2 with pf firewall.
 I added ip address and hostname to /etc/hosts Is there anything else
 that needs to be done besides that? Did anyone see a good how-to?

Who is doing DNS (name service) for your domain?
That entity will need to know about the new hostname.
If you are doing DNS for your domain, then you will have
to add it to your DNS server config.

jerry

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
  
 iD8DBQFGERkcUZGmaUWxLn8RAhiPAKCDSLV5TgHSX9bRJFud37Nzes4PuwCggtN7
 mxlzVfBOSX5mZoiWf3sguaU=
 =oey9
 -END PGP SIGNATURE-
 
 ___
 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]


Multiple versions of PHP

2007-04-02 Thread patrick

I have a FreeBSD 6.2 server with Apache 1.3.x and PHP 4.4.x built from
ports. I'd like to install PHP 5 from the ports tree, but target its
install location to /usr/local/php5 to keep it separate from the PHP 4
stuff. (I'll be running PHP through fastcgi.) I'm wondering if there's
a way to do built a port where the install root is different from the
default? If not, I'll hand-build PHP5, but I'd much rather take
advantage of ports.

Thanks,

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


Re: no libphp5.so

2007-04-02 Thread patrick

You should just install it from the ports. As root, type:

cd /usr/ports/lang/php5
make all install clean

Be sure to check the APACHE option to build the Apache module.
You'll probably also want to install some of the extensions from
/usr/ports/lang/php5-extensions and /usr/ports/www/php-session.

Patrick


On 4/1/07, jekillen [EMAIL PROTECTED] wrote:

Hello agian;
I have been gripping about
php not producing libphp5.so
for use as a DSO with Apache
on FreeBSD v 6.2
  good news 
I solved it.
By re installing the system
and starting all over again.
After reading the output of ./configure
in the php source dir, it was reporting
that it could not find a compatible version
of Bison.
I cannot say that that is THE cause, but
whatever it was re installing solved it.
I did not get any responses so there
is no one in particular to thank but
thanks all, FreeBSD is free software
and what works is far greater in volume
and value than what does not
Now if only we could get to the developers
of the human (user level) mind, maybe we could
debug that and be better off.
Jeff K

___
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: adding a host how-to

2007-04-02 Thread Kimi Ostro

On 02/04/07, Ilya Vishnyakov [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Freebsd Gurus!
I set up the test server with Windows 2003 to play. Now I'm trying to
add a hostname to our existing domain: newhostname.domain.com The
server runs FreeBSD 6.2 with pf firewall.
I added ip address and hostname to /etc/hosts Is there anything else
that needs to be done besides that? Did anyone see a good how-to?


If you not using DNS server on you network, you need to edit the host
file on both systems on FreeBSD as you know has this in /etc and on
Windows it is %SystemRoot%\system32\drivers\etc - just remember to
keep them in sync, Both Windows and FreeBSD can use the same hosts
file.

Longterm solution, setup a DNS server.

HTH :)

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


Re: adding a host how-to

2007-04-02 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Thank you. The server runs dns service.
How do I add it to your DNS server config?

Jerry McAllister wrote:
 On Mon, Apr 02, 2007 at 10:54:20AM -0400, Ilya Vishnyakov wrote:

 Hello Freebsd Gurus! I set up the test server with Windows 2003 to
 play. Now I'm trying to add a hostname to our existing domain:
 newhostname.domain.com The server runs FreeBSD 6.2 with pf
 firewall. I added ip address and hostname to /etc/hosts Is there
 anything else that needs to be done besides that? Did anyone see a
 good how-to?

 Who is doing DNS (name service) for your domain? That entity will
 need to know about the new hostname. If you are doing DNS for
 your domain, then you will have to add it to your DNS server
 config.

 jerry


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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGETvgUZGmaUWxLn8RAs/pAKDKbFOjC4A1QcahBybX0ZJhkBHmpACfU2/u
sdo7qnno0dUi9xxCmcu1Swk=
=96pL
-END PGP SIGNATURE-

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


Re: Multiple versions of PHP

2007-04-02 Thread Kimi Ostro

On 02/04/07, patrick [EMAIL PROTECTED] wrote:

I have a FreeBSD 6.2 server with Apache 1.3.x and PHP 4.4.x built from
ports. I'd like to install PHP 5 from the ports tree, but target its
install location to /usr/local/php5 to keep it separate from the PHP 4
stuff. (I'll be running PHP through fastcgi.) I'm wondering if there's
a way to do built a port where the install root is different from the
default? If not, I'll hand-build PHP5, but I'd much rather take
advantage of ports.

Thanks,



% man 7 ports

look for PREFIX

HTH,

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


automatically starting PostgreSQL

2007-04-02 Thread Charles Farinella

Hi all,

FreeBSD 6.2:

I built PostgreSQL from source and copied the supplied startup script to 
/etc/rc.d/postgresql.  The script works as expected.


In /etc/rc.conf I've added the following:

postgresql_enable=YES

expecting this to automatically start PostgeSQL at boot, yet this 
doesn't happen and there is nothing in any error log that I can find 
that mentions any failure.


?

thanks,

--charlie

--

Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079   fax: 603.924.8668

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


Re: adding a host how-to

2007-04-02 Thread Kimi Ostro

On 02/04/07, Ilya Vishnyakov [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thank you. The server runs dns service.
How do I add it to your DNS server config?



We need more info. Who/What is running the DNS server? if it's
Windows, look at the documentation or do a web search. Same goes for
FreeBSD, although maybe look at this:
http://www.arda.homeunix.net/dnssetup.html


Jerry McAllister wrote:
 On Mon, Apr 02, 2007 at 10:54:20AM -0400, Ilya Vishnyakov wrote:

 Hello Freebsd Gurus! I set up the test server with Windows 2003 to
 play. Now I'm trying to add a hostname to our existing domain:
 newhostname.domain.com The server runs FreeBSD 6.2 with pf
 firewall. I added ip address and hostname to /etc/hosts Is there
 anything else that needs to be done besides that? Did anyone see a
 good how-to?

 Who is doing DNS (name service) for your domain? That entity will
 need to know about the new hostname. If you are doing DNS for
 your domain, then you will have to add it to your DNS server
 config.

 jerry


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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGETvgUZGmaUWxLn8RAs/pAKDKbFOjC4A1QcahBybX0ZJhkBHmpACfU2/u
sdo7qnno0dUi9xxCmcu1Swk=
=96pL
-END PGP SIGNATURE-

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




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


Re: automatically starting PostgreSQL

2007-04-02 Thread Nagy László Zsolt

Charles Farinella írta:

Hi all,

FreeBSD 6.2:

I built PostgreSQL from source and copied the supplied startup script 
to /etc/rc.d/postgresql.  The script works as expected.


In /etc/rc.conf I've added the following:

postgresql_enable=YES

expecting this to automatically start PostgeSQL at boot, yet this 
doesn't happen and there is nothing in any error log that I can find 
that mentions any failure.

Try to rename it to postgresql.sh and give execute rights.

 Laszlo

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


Re: adding a host how-to

2007-04-02 Thread Peter A. Giessel
On 2007/04/02 9:22, Ilya Vishnyakov seems to have typed:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
  
 Thank you. The server runs dns service.
 How do I add it to your DNS server config?

You might check the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pan crashing

2007-04-02 Thread Tsu-Fan Cheng

hi,
 quick question, does anybody encounter pan (ports/news) crashing after
upgrading to the latest version, or it's just me??

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


Re: automatically starting PostgreSQL

2007-04-02 Thread Matthew Seaman
Nagy László Zsolt wrote:

 Try to rename it to postgresql.sh and give execute rights.

Execute rights, yes, but you shouldn't rename it to foo.sh under
6.2 -- that's not how things are supposed to work in recent releases.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


dhcp.conf relay howto?

2007-04-02 Thread Noah

Hi,

Is there a good How to so I can configure my dhcpd server to handle DHCP
relayed leases for networks it is not directly attached to?

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: automatically starting PostgreSQL

2007-04-02 Thread Josh Carroll

Execute rights, yes, but you shouldn't rename it to foo.sh under
6.2 -- that's not how things are supposed to work in recent releases.


Without the PROVIDE: in the rc script, it won't get executed unless it
has an .sh extension. man rc has details, but .sh should still work
and I think is required without the rcorder keywords.

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


Re: automatically starting PostgreSQL

2007-04-02 Thread Warren Block

On Mon, 2 Apr 2007, Charles Farinella wrote:


I built PostgreSQL from source


In other words, not from ports?  Or if it was from ports, which port?

and copied the supplied startup script to 
/etc/rc.d/postgresql.  The script works as expected.


Yes, but that's not where it should be in FreeBSD, if that's even a 
startup script meant for FreeBSD.



In /etc/rc.conf I've added the following:

postgresql_enable=YES

expecting this to automatically start PostgeSQL at boot, yet this doesn't 
happen and there is nothing in any error log that I can find that mentions 
any failure.


For that to work, you'd have to have the (correct) script in 
/usr/local/etc/rc.d.  Remove the source version of PostgreSQL and 
install it from the appropriate port, and the port will install the 
right script in the right place.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error loading php5.so

2007-04-02 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anybody see this error before?

# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol __res_ninit


This is occurring under FBSD 6.2 running the latest versions of Apache/PHP

- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEUsiCgdfeCwsL5ERAoSOAJ4rMtiZ0HMUIZYvtLzLg4D/cj5hgQCfb8Us
gUokor6Xt50UcU8GgfGMojU=
=odrU
-END PGP SIGNATURE-

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


Re: automatically starting PostgreSQL

2007-04-02 Thread Charles Farinella

Warren Block wrote:

On Mon, 2 Apr 2007, Charles Farinella wrote:


I built PostgreSQL from source


In other words, not from ports?  Or if it was from ports, which port?

and copied the supplied startup script to /etc/rc.d/postgresql.  The 
script works as expected.


Yes, but that's not where it should be in FreeBSD, if that's even a 
startup script meant for FreeBSD.



In /etc/rc.conf I've added the following:

postgresql_enable=YES

expecting this to automatically start PostgeSQL at boot, yet this 
doesn't happen and there is nothing in any error log that I can find 
that mentions any failure.


For that to work, you'd have to have the (correct) script in 
/usr/local/etc/rc.d.  Remove the source version of PostgreSQL and 
install it from the appropriate port, and the port will install the 
right script in the right place.


Thank you all for the responses, please help me understand how this works.

For reasons having to do with our particular operation, it is our custom 
to build many packages from source code no matter the operating system, 
so I don't want to install from the ports tree.


The script I used is one which is part of the PostgreSQL package and is 
specifically for FreeBSD.  As I said the script works as expected. 
'/etc/rc.d/postgresql start|stop|restart' all work.  I also have a 
duplicate script in /usr/local/etc/rc.d which also works as expected 
when run manually.  Neither of these start the server at boot time.


I have an apache2 installation also built from source code, and also 
with a script from an external source, also placed in /etc/rc.d and 
referenced by the line 'apache2_enable=YES', and this *does* start at 
boot time.


So I am a little confused as to what I need to do.  If I add .sh to 
/usr/local/etc/rc.d/postgresql, in my /etc/rc.conf do I change my 
reference line to 'enable_postgresql.sh=YES'?


thanks again for the help.

--charlie

--

Charles Farinella
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079   fax: 603.924.8668

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


Freebsd 6.2 AMD64 .... support nvidia geforce?

2007-04-02 Thread Dan Sikorsky

Simple question, Im on 6.1 i386 right now, using my geforce 7300 gt card,
will this also work on the new 6.2 AMD 64 release?   and by that i mean
using the official nvidia drivers.

thanks,
Dan
___
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.2 AMD64 .... support nvidia geforce?

2007-04-02 Thread Kris Kennaway
On Mon, Apr 02, 2007 at 02:42:38PM -0400, Dan Sikorsky wrote:
 Simple question, Im on 6.1 i386 right now, using my geforce 7300 gt card,
 will this also work on the new 6.2 AMD 64 release?   and by that i mean
 using the official nvidia drivers.

nvidia have not released a version of their binary drivers that works
on amd64.

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


Re: adding a host how-to

2007-04-02 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
hmm. thank you all. I did added hostname in: named.conf, /etc/hosts,
set up redirection in pf.conf, restarted all processes and it fine
worked for me.

Peter A. Giessel wrote:
 On 2007/04/02 9:22, Ilya Vishnyakov seems to have typed:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

 Thank you. The server runs dns service. How do I add it to your
 DNS server config?

 You might check the handbook:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGEVoUUZGmaUWxLn8RAlW9AJ0VHY7zjlwew0MZEszAfTaD9hBqTACfdY34
teMwOdnKowRyfMAW8zDTdqg=
=HAX/
-END PGP SIGNATURE-

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


Re: automatically starting PostgreSQL

2007-04-02 Thread Nagy László Zsolt




For reasons having to do with our particular operation, it is our 
custom to build many packages from source code no matter the operating 
system, so I don't want to install from the ports tree.
Did you know that when you install from the ports tree, it will actually 
download the sources, make important patched for freebsd, and install 
from that source? In particular, you can give CFLAGS, makefile defines 
etc. In addition, when you install it from the ports tree, it gets 
recorded in the package database so you can install other applications 
that depend on postgresql. (For example, pgadmin3). Why do you want to 
install it from the sources? If you only want to optimize for your CPU 
and compile some contrib/extension modules, then you do not need to 
install from a source tarball yourself. Using the port will be enough.
The script I used is one which is part of the PostgreSQL package and 
is specifically for FreeBSD.  As I said the script works as expected. 
'/etc/rc.d/postgresql start|stop|restart' all work.  I also have a 
duplicate script in /usr/local/etc/rc.d which also works as expected 
when run manually.  Neither of these start the server at boot time.
First of all, since postgresql is not part of the base system, you 
should put its rc script under /usr/local/etc/rc.d instead of /etc/rc.d. 
The rc script won't be execute unless the following criterion are met:


1. The script is executeable (chmod +x filename)
2. The script has a .sh suffix, OR it uses rcorder. (See: man rcorder). 
Using rcorder is the better because you can define when to start your 
service. (Obvious example: you need to start networking before starting 
postgresql...)
3. If the script supports rc variables, then probably you need to adjust 
some variables in /etc/rc.conf. However, it depends on the script 
itself. Most ports work with rc scripts. Custom programs installed from 
source may not need this.


I have an apache2 installation also built from source code, and also 
with a script from an external source, also placed in /etc/rc.d and 
referenced by the line 'apache2_enable=YES', and this *does* start 
at boot time.

I guess because it is named apache.sh instead of apache, am I right?
So I am a little confused as to what I need to do.  If I add .sh to 
/usr/local/etc/rc.d/postgresql, in my /etc/rc.conf do I change my 
reference line to 'enable_postgresql.sh=YES'?
Of course not. The rc variables can be set in rc.conf. They will be 
checked by the postgresql.sh script. E.g. it is not the base system that 
checks these variables. Putting variables in rc.conf for programs like 
postgresql is good because usually you want to disable/enable services 
in rc.conf. Configuring postgresql is another story. However, it is the 
startup script of your program that needs to have support for rc variables.


I hope this helps.

Best,

  Laszlo

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


php5 and SQL Scripts

2007-04-02 Thread Martin McCormick
About 4 years ago, we installed php from the FreeBSD
ports collection on a system in order to query a MS-SQL data
base on another server.  It worked fine until we upgraded to
FreeBSD6.2 and php5.  I had moved the old binary across and also pulled several
libraries in to /usr/local/lib and the old binary seemed to be
happy until we actually tried to use it at which time it hung
until manually killed.

After installing /usr/ports/lang/php5 and even trying
/usr/ports/lang/php4, our new php gives the following error:

Fatal error: Call to undefined function mssql_connect()

Has anybody in the FreeBSD world seen this before and
better yet, how do you fix it?  We do a little piece of a
back-end operation which gathers information from a web
application and uses it to create or remove rules in a firewall.
The folks who own the rest of the pieces of the operation are
asking frequently if it is fixed yet.  I am out of things to
try.  Obviously, something changed between our older system and
the present because the object is either here but in a wrong
directory or I didn't pick the right configuration options in setting
up the port.

The sql script has worked fine until now for all these
years.

Any ideas are much appreciated.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 and SQL Scripts

2007-04-02 Thread Bill Moran
In response to Martin McCormick [EMAIL PROTECTED]:

   About 4 years ago, we installed php from the FreeBSD
 ports collection on a system in order to query a MS-SQL data
 base on another server.  It worked fine until we upgraded to
 FreeBSD6.2 and php5.  I had moved the old binary across and also pulled 
 several
 libraries in to /usr/local/lib and the old binary seemed to be
 happy until we actually tried to use it at which time it hung
 until manually killed.
 
   After installing /usr/ports/lang/php5 and even trying
 /usr/ports/lang/php4, our new php gives the following error:
 
 Fatal error: Call to undefined function mssql_connect()

Install /usr/ports/databases/php5-mssql

Don't know what you're doing with all that moving binaries around, but
make sure you didn't overwrite something.  If you did, you may need to
completely reinstall PHP.

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


Re: automatically starting PostgreSQL

2007-04-02 Thread Reko Turja
For reasons having to do with our particular operation, it is our 
custom to build many packages from source code no matter the 
operating system, so I don't want to install from the ports tree.


The ports tree is just there for installation from source and putting 
the software after compile into canonical locations (and adding 
usually the necessary startup scripts etc. in the process - Ports are 
not to be mixed with packages.


As FreeBSD supports the source centric way from centralised location, 
there shouldn't really be any need for doing the compile outside the 
ports tree. You can basically tweak the ports to your hearts content 
(most of the relevant options can be tweaked from the ports Makefile 
already) and in addition the port installs into location using a 
method the rest of FreeBSD users can give you meaningful advice.


-Reko 


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


Re: php5 and SQL Scripts

2007-04-02 Thread Anish Mistry
On Monday 02 April 2007, Martin McCormick wrote:
   About 4 years ago, we installed php from the FreeBSD
 ports collection on a system in order to query a MS-SQL data
 base on another server.  It worked fine until we upgraded to
 FreeBSD6.2 and php5.  I had moved the old binary across and also pulled
 several libraries in to /usr/local/lib and the old binary seemed to be
 happy until we actually tried to use it at which time it hung
 until manually killed.

   After installing /usr/ports/lang/php5 and even trying
 /usr/ports/lang/php4, our new php gives the following error:

 Fatal error: Call to undefined function mssql_connect()

   Has anybody in the FreeBSD world seen this before and
 better yet, how do you fix it?  We do a little piece of a
 back-end operation which gathers information from a web
 application and uses it to create or remove rules in a firewall.
 The folks who own the rest of the pieces of the operation are
 asking frequently if it is fixed yet.  I am out of things to
 try.  Obviously, something changed between our older system and
 the present because the object is either here but in a wrong
 directory or I didn't pick the right configuration options in setting
 up the port.

   The sql script has worked fine until now for all these
 years.

   Any ideas are much appreciated.
Is /usr/ports/databases/php5-mssql
installed?

-- 
Anish Mistry


pgpkNZ66b543w.pgp
Description: PGP signature


Re: php5 and SQL Scripts

2007-04-02 Thread Martin McCormick
Bill Moran writes:
 Don't know what you're doing with all that moving binaries around, but
 make sure you didn't overwrite something.  If you did, you may need to
 completely reinstall PHP.

First of all, thanks to all who replied.  I missed the 
php5-mssql port, thinking that php5 was all I needed.  The
moving binaries phase was after we moved to a new platform and I
rebuilt all our directories.  I had carefully used tar xfk to
recover /usr/local/bin from our previous system.  For the 2 or 3
libraries I brought over to make the php binary work, I checked
before copying to make sure there was nothing of the same name.
When I discovered it didn't work, I looked at /usr/ports and
discovered the php4 and php5 ports and did, in fact, properly
build php.

Now, php is hanging again which makes me think there is
a problem between this system and the SQL server we communicate
with.  Our campus had Spring Break week before last and lots of
systems were upgraded and or modified.  It's like trying to find
that one dead Christmas tree lamp in a series string of 100
which is killing the whole string.

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


Re: php5 and SQL Scripts

2007-04-02 Thread Kevin Kinsey

Bill Moran wrote:

In response to Martin McCormick [EMAIL PROTECTED]:


About 4 years ago, we installed php from the FreeBSD
ports collection on a system in order to query a MS-SQL data
base on another server.  It worked fine until we upgraded to
FreeBSD6.2 and php5.  I had moved the old binary across and also pulled several
libraries in to /usr/local/lib and the old binary seemed to be
happy until we actually tried to use it at which time it hung
until manually killed.

After installing /usr/ports/lang/php5 and even trying
/usr/ports/lang/php4, our new php gives the following error:

Fatal error: Call to undefined function mssql_connect()


Install /usr/ports/databases/php5-mssql

Don't know what you're doing with all that moving binaries around, but
make sure you didn't overwrite something.  If you did, you may need to
completely reinstall PHP.


Which isn't so much fun :-(

Martin, did you install /usr/ports/lang/php5-extensions ?  It's been
quite a while (see /usr/ports/UPDATING), but a lot of functions that
PHP traditionally has are part of the extensions port, so you may
find yourself banging your head on a few of these sorts of issues
unless you've installed that as well (for example, session support,
GD support, CURL support, SOAP, XML, etc.)

HTH,

Kevin Kinsey
--
WARNING TO ALL PERSONNEL:

Firings will continue until morale improves.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: automatically starting PostgreSQL

2007-04-02 Thread Jonathan Chen
On Mon, Apr 02, 2007 at 03:09:29PM -0400, Charles Farinella wrote:

[...]
 For reasons having to do with our particular operation, it is our custom 
 to build many packages from source code no matter the operating system, 
 so I don't want to install from the ports tree.

Short answer: to get it working the way you expect it to under
FreeBSD, you will have to apply the patches for Postgresql in the
ports tree.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot pkg_add linux-flashplugin7

2007-04-02 Thread Joseph Marah
Hi Joseba, you are right the file does not exist.  I tried the port way but got 
the same. Did some searching in -FreeBSD ports and found out that the file 
/linux-flashplugin7 has been updated to /linux-flashplugin9.  This one worked 
fine as a port.

Joseba Sanchez [EMAIL PROTECTED] wrote:  Hi,

I have tried to a couple of times to install a
Micromedia-alike flash 
plugin for FreeBSD but failed. So far I have 
successfully installed the linux-pluginwrapper as a
requirement at 
/usr/ports/www/linuxpluginwrapper. So I tried 
/usr/ports/www/linux-flashplugin7 and
issued the command pkg-add -r linux-flashplugin7.
The system 
attempted to download the file from ftp site but came
back saying the file 
linux-flashplugin7 did not exist. Any idea what I may
be doing wrong?

The answer that you receive is just because it doesn't
exist it like a package on the ftp server that your
are fetching from.
Try to install it via ports way, typing make install
clean on /usr/ports/www/linux-flashplugin7, as
described in the manual

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

Hope this help.





__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
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]


Question about Item # 160092516098

2007-04-02 Thread From: eBay Member ackspike

   eBay eBay sent this message from Albert Fuller (ackspike).
   Registered name is included to show this message originated from eBay.
   [1]Learn more.

   [ltCurve.gif]

Question about Item --- Respond Now

   [rtCurve.gif]

   [s.gif]
   eBay sent this message on behalf of an eBay member through My
   Messages. Responses sent using email will go to the eBay member
   directly and will include your email address. [s.gif]

   [s.gif]
   [s.gif]
   [s.gif]

   Question from ackspike

  [s.gif] [2]ackspike( [3]30 [iconYellowStar_25x25.gif] )
  [s.gif] Positive feedback: 100%
  [s.gif] Member since:  Sep-06-01
  [s.gif] Location:  MA, United States
  [s.gif] Registered on: www.ebay.com
  [s.gif]

   Item: Canon CR-180 CR180 Check Reader Scanner Transport NR
   ([4]160092516098)
   This message was sent while the listing was active.
   ackspike is a potential buyer.

  [s.gif]

   Congratulation for winning your item from our account i am waiting for
   your payment to ship your item. Thanks ackspike
   Respond to this question
   [s.gif]
   [5]Respond Now 
   [s.gif]
   Responses in My Messages will not include your email address.

   [s.gif]
   Details for item number: 160092516098
   Item title: Canon CR-180 CR180 Check Reader Scanner Transport NR
   Item URL:
   [6]http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemitem=160092516098ssp
   agename=ADME:B:AAQ:US:1
   End date:   Thunsday, Apr 5, 2007 13:04:45 PDT
   [s.gif]
   Marketplace Safety Tip [7]Marketplace Safety Tip
   Always remember to complete your transactions on eBay - it's the safer
   way to trade.
   Is this message an offer to buy your item directly through email
   without winning the item on eBay? If so, please help make the eBay
   marketplace safer by reporting it to us. These outside of eBay
   transactions may be unsafe and are against eBay policy. [8]Learn more
   about trading safely.
   [s.gif]
   [s.gif]
   Is this email inappropriate? Does it violate [9]eBay policy? Help
   protect the Community by [10]reporting it.
   [s.gif]
   [s.gif]
   [s.gif]
   [s.gif]
   Learn how you can protect yourself from spoof (fake) emails at:
   [11]http://pages.ebay.com/education/spooftutorial
   This eBay notice was sent to [EMAIL PROTECTED] on behalf of
   another eBay member through the eBay platform and in accordance with
   our Privacy Policy. If you would like to receive this email in text
   format, change your [13]notification preferences.
   See our Privacy Policy and User Agreement if you have questions about
   eBay's communication policies.
   Privacy Policy:
   [14]http://pages.ebay.com/help/policies/privacy-policy.html
   User Agreement: [15]http://pages.ebay.com/help/policies/user-agreement
   .html
   Copyright ? 2006-2007 eBay, Inc. All Rights Reserved.
   Designated trademarks and brands are the property of their respective
   owners.
   eBay and the eBay logo are registered trademarks or trademarks of
   eBay, Inc.
   eBay is located at 2145 Hamilton Avenue, San Jose, CA 95125.

References

   1. http://pages.ebay.com/help/confidence/name-userid-emails.html
   2. http://myworld.ebay.com/ackspike
   3. http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedbackuserid=ackspike
   4. 
http://0x7df7c604/SIgnIn/signin.ebay.com/ws/eBayISAPI.dllSignIn.php?msgusr=ackspikeSignInco_partnerId=2pUserId=siteidsitei
   5. 
http://0x7df7c604/SIgnIn/signin.ebay.com/ws/eBayISAPI.dllSignIn.php?msgusr=ackspikeSignInco_partnerId=2pUserId=siteidsitei
   6. 
http://0x7df7c604/SIgnIn/signin.ebay.com/ws/eBayISAPI.dllSignIn.php?msgusr=ackspikeSignInco_partnerId=2pUserId=siteidsitei
   7. http://pages.ebay.com/securitycenter
   8. http://pages.ebay.com/securitycenter/selling_safely.html
   9. http://pages.ebay.com/help/policies/rfe-unwelcome-email-misuse.html
  10. 
http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?ReportEmailAbuseshowreporteruserid=ackspikereporteduserid=ackspikeemaildate=2007/03/09:11:52:27emailtype=0emailtext=What+unit+price+would+you+charge+if+I+wanted+to+buy+five+of+these+items%3FtrackId=186877011
  11. http://pages.ebay.com/education/spooftutorial
  12. mailto:[EMAIL PROTECTED]
  13. http://cgi4.ebay.com/ws/eBayISAPI.dll?OptinLoginShow
  14. http://pages.ebay.com/help/policies/privacy-policy.html
  15. http://pages.ebay.com/help/policies/user-agreement.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


advice on anti-spam tools

2007-04-02 Thread Angelin Lalev
Hi List,   
  
My e-mail server is running the latest spamassassin with all of the blacklist 
enabled and etc. 
but I still receive over 20 spam messages a day (image spam mostly). 
The situation with other users may be worse.  That's why I was thinking about 
some tool that 
1. store incoming email
2. send request to the sender of the message, requiring to go to some address 
and enter the numbers (letters) 
from image
3. if the puzzle is solved in time (week or so) deliver the message, otherwise 
delete it.

Is there such tool(s) ?

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


comparing the default compilr with gcc-4.2

2007-04-02 Thread Gary Kline

Enclosed is one of the first comparsions of gcc-3.4 with no
additional switches and gcc-4.2 with the flags -O3 and
loop-unrolling set.  I'll post a couple more of these; but the
nutshell is that is most cases, gcc-4.x seems to be quite an
improvment.  In this test, I did not try gcc-3.4 with any
optimization or loop tweaking.  Some people may not care about
efficieency.  I'll submit my own runs of a floating point test,
and another of basicly integer and function call tests.

gary



/*
 system gcc, no CFLAGS:

gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
 
 */


   FLOPS C Program (Double Precision), V2.0 18 Dec 1992

   Module ErrorRunTime  MFLOPS
(usec)
 1  4.0146e-13  0.0511273.8293
 2 -1.4166e-13  0.0461151.8889
 3  4.7184e-14  0.0500339.8183
 4 -1.2557e-13  0.0482311.0951
 5 -1.3800e-13  0.1006288.2295
 6  3.2380e-13  0.0743390.0978
 7 -8.4583e-11  0.1231 97.5168
 8  3.4867e-13  0.0791379.4285

   Iterations  =  51200
   NullTime (usec) = 0.0040
   MFLOPS(1)   =   185.4108
   MFLOPS(2)   =   186.1495
   MFLOPS(3)   =   277.3309
   MFLOPS(4)   =   361.6132


/*
  gcc42 with CFLAGF -O3 -funroll-loops

gcc version 4.2.0 20070228 (prerelease)
 
 */



   FLOPS C Program (Double Precision), V2.0 18 Dec 1992

   Module ErrorRunTime  MFLOPS  RT inc/(dec)
(usec)
 1  4.0146e-13  0.0422332.1242  21.09%
 2 -1.4166e-13  0.0399175.5128  15.54%
 3  4.7184e-14  0.0435391.0462  14.94%
 4 -1.2557e-13  0.0436343.7848  10.55%
 5 -1.3800e-13  0.1144253.5990  31.65%
 6  3.2380e-13  0.0818354.6371  17.20%
 7 -8.4583e-11  0.1223 98.1568  01.83%
 8  3.4867e-13  0.0912329.0118  (-27.75%)

   Iterations  =  51200
   NullTime (usec) = 0.0003
   MFLOPS(1)   =   214.0898
   MFLOPS(2)   =   186.6407
   MFLOPS(3)   =   270.9620
   MFLOPS(4)   =   349.9180

-- 
  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: advice on anti-spam tools

2007-04-02 Thread Warren Block

On Tue, 3 Apr 2007, Angelin Lalev wrote:


My e-mail server is running the latest spamassassin with all of the blacklist 
enabled and etc.
but I still receive over 20 spam messages a day (image spam mostly).
The situation with other users may be worse.  That's why I was thinking about 
some tool that
1. store incoming email
2. send request to the sender of the message, requiring to go to some address 
and enter the numbers (letters)
from image
3. if the puzzle is solved in time (week or so) deliver the message, otherwise 
delete it.


This is called challenge-response.  The headers of the spam 
are almost certainly forged and can't be trusted.


So it's impossible to really tell the sender of the message.  Your 
challenge will be spam sent to an innocent person whose From: address 
was forged in the original.


A quick search of ports doesn't show any obvious challenge-response 
software.


If you're not already using greylisting, consider that.

-Warren Block * Rapid City, South Dakota USA
___
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.2 AMD64 .... support nvidia geforce?

2007-04-02 Thread youshi10

On Mon, 2 Apr 2007, Kris Kennaway wrote:


On Mon, Apr 02, 2007 at 02:42:38PM -0400, Dan Sikorsky wrote:

Simple question, Im on 6.1 i386 right now, using my geforce 7300 gt card,
will this also work on the new 6.2 AMD 64 release?   and by that i mean
using the official nvidia drivers.


nvidia have not released a version of their binary drivers that works
on amd64.

Kris


At least nvidia has x86 drivers out though for FreeBSD =\...

-Garrett

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


Re: automatically starting PostgreSQL

2007-04-02 Thread Kevin Kinsey

Reko Turja wrote:


Ports are not to be mixed with packages.


If you are using ports and packages solely in
FreeBSD Terms, then this isn't correct*.  Once installed,
there is no/little-if-any difference; /var/db/pkg is
common to both, and the standard package tools operate
equally well for upgrading and/or de-installation.

I'm not trying to stomp anyone, but this is an area
that confused me Once Upon A Time, and we don't do
anyone any favors by continuing to propagate this 
statement as an axiom.


Kevin Kinsey

*I'm ready to accept responses from a superior intellect 
who says I'm wrong, but I really don't think so in this case.

--
Death has been proven to be 99% fatal in laboratory rats.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error loading php5.so

2007-04-02 Thread Kevin Kinsey

Joe Auty wrote:


# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol __res_ninit

This is occurring under FBSD 6.2 running the latest versions of Apache/PHP


Possibly looks as if PHP is unaware of Apache's 
existence? (or at least it was at time of compile). How did 
you do the upgrade?



Kevin Kinsey
--
First rule of public speaking.
First, tell 'em what you're goin' to tell 'em;
then tell 'em;
then tell 'em what you've tole 'em.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: advice on anti-spam tools

2007-04-02 Thread Kurt Buff

Do you receive mail from lists such as this one?

Do you receive mail from non-responding mailboxes, such as network
notificationss, etc.?

Do you care about your new correspondents?

If you answer 'yes' to any of these messages, then a Challenge/Respons
system isn't a good idea for you.

Instead, since you are already using SpamAssassin, and the problem
seems to be image spam, you should probably try installing FuzzyOCR
instead, which is in ports.

# make search name=fuzzyocr
Port:   p5-FuzzyOcr-2.3.b_2,1
Path:   /usr/ports/mail/p5-FuzzyOcr
Info:   Plugin for SpamAssassin which scans image attachments for spam

Kurt


On 4/2/07, Angelin Lalev [EMAIL PROTECTED] wrote:

Hi List,

My e-mail server is running the latest spamassassin with all of the blacklist 
enabled and etc.
but I still receive over 20 spam messages a day (image spam mostly).
The situation with other users may be worse.  That's why I was thinking about 
some tool that
1. store incoming email
2. send request to the sender of the message, requiring to go to some address 
and enter the numbers (letters)
from image
3. if the puzzle is solved in time (week or so) deliver the message, otherwise 
delete it.

Is there such tool(s) ?

___
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: advice on anti-spam tools

2007-04-02 Thread Doug Hardie


On Apr 2, 2007, at 17:08, Kurt Buff wrote:


Do you receive mail from lists such as this one?

Do you receive mail from non-responding mailboxes, such as network
notificationss, etc.?

Do you care about your new correspondents?

If you answer 'yes' to any of these messages, then a Challenge/Respons
system isn't a good idea for you.


TMDA is in the ports.  It is a challenge/Response system that can  
handle non-responding mailboxes.  You use one of its specially  
crafted addresses with those maillist servers etc.  They will come  
through fine.  There is no puzzle to solve though.  The originator  
only has to respond.


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


xorg resolution on new laptop

2007-04-02 Thread Michael W. Lucas

Hi folks,

I've scoured Google seeking wisdom, and found nothing except hordes of
Linux users whining about this same problem.  FreeBSD users don't seem
to have this issue, except for me.  Finally I have no choice but to
throw myself on your tender mercies.

I've been going nuts trying to get 1440x900 resolution on my new
Toshiba P105.  Any help anyone could offer would be greatly
appreciated.  Xorg assures me that the 945GM video card is supported
by the i810 driver, provided I use the 915resolution program to set
the resolution before starting X.  I run:

/usr/local/bin/915resolution 3c 1440 900

to add the resolution 1440x900 to the video BIOS.  915resolution -l
now shows me:

...
Mode 3c : 1440x900, 8 bits/pixel
...
Mode 4d : 1440x900, 16 bits/pixel
...
Mode 5c : 1440x900, 32 bits/pixel
..

So, in theory 1440x900 should be available to the card.

startx fails without a config file, so I let it create one and tweaked
in based on gossip, rumour, and innuendo I've uncovered in three days
of Web searching.  I get something that looks *about* like 1200x768,
but it's a far cry from 1440x900.

pciconf -lv tells me:

...
[EMAIL PROTECTED]:2:0:   class=0x03 card=0xff311179 chip=0x27a28086 
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile Integrated Graphics Controller'
class  = display
subclass   = VGA
[EMAIL PROTECTED]:2:1:   class=0x038000 card=0xff311179 chip=0x27a68086 
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'Mobile Integrated Graphics Controller'
class  = display
...

Here's relevant stuff trimmed from my xorg.conf.

--

Section Module
Load  extmod
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
Load  i2c
Load  bitmap
Load  int10
EndSection

...

Section Monitor
#DisplaySize  370   230 # mm
Identifier   Monitor0
VendorName   LPL
ModelName0
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corporation
BoardName   Mobile Integrated Graphics Controller
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 1
Modes   1440x900
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
Modes   1440x900
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
Modes   1440x900
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
Modes   1440x900
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes   1440x900
EndSubSection
EndSection

Any ideas, anyone?

Thanks,
==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
Latest book: PGP  GPG -- http://www.pgpandgpg.com
The cloak of anonymity protects me from the nuisance of caring. -Non Sequitur
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: advice on anti-spam tools

2007-04-02 Thread Jeffrey Goldberg

[mailed and posted]

On Apr 2, 2007, at 5:28 PM, Angelin Lalev wrote:


Hi List,

My e-mail server is running the latest spamassassin with all of the  
blacklist enabled and etc.

but I still receive over 20 spam messages a day (image spam mostly).
The situation with other users may be worse.  That's why I was  
thinking about some tool that

1. store incoming email
2. send request to the sender of the message, requiring to go to  
some address and enter the numbers (letters)

from image
3. if the puzzle is solved in time (week or so) deliver the  
message, otherwise delete it.


Is there such tool(s) ?


Most people with email administration experience (including me) think  
that such challenge/response systems are a bad idea.  Others have  
mentioned some of the reasons.


Many people have taken to doing OCR (Optical Character Recognition)  
on incoming email to try to filter out image spam.  Personally, I  
don't think that that is a good use of resources, and that the  
spammers clearly have the upper hand in that battle.  You may wish to  
look at the ImageInfo plug-in to spamassassin.


Have you tried Bayesian learning with spamassassin?  Also when you  
say all of the black lists enabled there still may be more that are  
useful.  Look at the IP addresses of things that pass you spam and  
look them up at


  www.dnsbl.info

to see which, if any, lists they are in.  Consider using those  
lists.  But more and more of the things that I am seeing aren't  
listed in any of those lists.


I try to do as much blocking as early as possible (using SPF and  
sanity checks on the initial part of the SMTP session (reverse  
mapping of client IP, sane HELO values, etc).  So I can do most of my  
rejections prior to ever having to pass mail to spamassassin.


But on the whole, spam is an unsolved problem.  And is well beyond  
the topic of this discussion list.  I'd recommend that you look at  
something like a spamassassin mailing list.  Sorry I can't be more  
helpful.


-j

--
Jeffrey Goldberghttp://www.goldmark.org/jeff/



Re: Install FreeBSD 6.2 on Nokia IP350 box (BSD)

2007-04-02 Thread Anurak Cherdsuriya

Hi Dave,

Sorry for just reading your response this morning.   Thanks for your
suggestions.   I installed freebsd 6.2 from a notebook and then put the hard
disk back on to ip350.   I can't even boot beyond the first screen.   The
system keeps rebooting all the time.   My company has a retired Nokia IP350
that we would like to donate to schools in Thailand.   I'm trying to
configure it as a Moodle CMS server.

I've searched thru the internet and found no one has successfully installed
freebsd on ip350.   There are some monowall and linux installation on ip330
but they have to fake MAC address on it.   I don't know whether this would
work for ip350 or not.   I'll try it soon.

Regards,
Jeff


On 3/26/07, David Cecil [EMAIL PROTECTED] wrote:


Hi Jeff,

I expect you'd have problems with a number of devices not working.
Specifically, the network cards, as the interrupts will not be routed
properly because the BIOS doesn't configure them properly.  You might
get lucky and find that a couple of interfaces work.  You might be able
to configure the devices in polling mode; it all depends on what you
plan on doing with the box.

There are a few other problems you'll encounter too, but this is
probably the biggest one.

Regards,
Dave

 Hi,

 Is it possible to install FreeBSD 6.2 on Nokia IP350 platform?   Could
you
 please suggest me a link to the URL?

 Thanks,
 Jeff


--
Software Engineer
Secure and Mobile Connectivity
Nokia Enterprise Solutions
+61 7 5553 8307 (office)
+61 412 728 222 (cell)



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


Re: Changing Console Resolution - Vidcontrol

2007-04-02 Thread Chris Slothouber

Wouldn't it be easier to ssh in Windows in to your virtual machine?

This would certainly be a lot more effective at getting used to working 
with FreeBSD remotely, if you are indeed replacing a Linux box that you 
work on remotely.


- Chris Slothouber

Schiz0 wrote:

I'd just like to be able to type commands without having them wrap to the
next line. Same goes to compiling software: More screen space = Less data
flying by at once = More time to read whatever's going on, let it be 
errors,

warnings, whatever.

And in my case, because I'm running it in VMWare at the moment due to the
fact that I'm new to BSD and I'd like to learn before I put it into
production, the console window barely fills the VMWare window, so I'm
wasting a whole lot of space. Half the screen is just blank.

On 4/2/07, Daniel O'Connor [EMAIL PROTECTED] wrote:



I don't understand why people who want high resolution consoles don't run
X.

It is a *lot* faster for the vast majority of cards (ie ones which aren't
doing VESA modes).

Scrolling a screen full of text at a decent resolution using VESA ==
slideshow.



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
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: Changing Console Resolution - Vidcontrol

2007-04-02 Thread Schiz0

Yeah, I do SSH in most of the time, but with the vmware window open, I'm
always tempted to type commands in there. So I figured it'd be nice just to
be able to have a nice sized window to do it in.

On 4/3/07, Chris Slothouber [EMAIL PROTECTED] wrote:


Wouldn't it be easier to ssh in Windows in to your virtual machine?

This would certainly be a lot more effective at getting used to working
with FreeBSD remotely, if you are indeed replacing a Linux box that you
work on remotely.

- Chris Slothouber

Schiz0 wrote:
 I'd just like to be able to type commands without having them wrap to
the
 next line. Same goes to compiling software: More screen space = Less
data
 flying by at once = More time to read whatever's going on, let it be
 errors,
 warnings, whatever.

 And in my case, because I'm running it in VMWare at the moment due to
the
 fact that I'm new to BSD and I'd like to learn before I put it into
 production, the console window barely fills the VMWare window, so I'm
 wasting a whole lot of space. Half the screen is just blank.

 On 4/2/07, Daniel O'Connor [EMAIL PROTECTED] wrote:


 I don't understand why people who want high resolution consoles don't
run
 X.

 It is a *lot* faster for the vast majority of cards (ie ones which
aren't
 doing VESA modes).

 Scrolling a screen full of text at a decent resolution using VESA ==
 slideshow.


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

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


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


Rebuilding World Failed

2007-04-02 Thread Schiz0

Hello,

I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
world. I have followed the steps in the handbook at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

I used csup to get the latest updates of both ports-all tag=. and src-all
tag=RELENG_6

What I did:
-updated via csup
-droped to single user mode
-cleared out /usr/obj
-make -j4 buildworld
-make buildkernel KERNCONF=my kern config
-make installkernel KERNCONF=my kern config
-rebooted into the new kernel; everything worked fine
-dropped to single user mode
-make installworld

During the installworld process I got the following output (Caught with
script installworld.out):


Script started on Mon Apr  2 23:42:05 2007
# pwd
/usr/src
# make installworld
mkdir -p /tmp/install.hC53vnAg
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl
test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
/usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
awk: Permission denied
/usr/src/Makefile.inc1, line 101: warning: awk
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
/usr/include/osreldate.h returned non-zero status
echo:Permission denied
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# exit

Script done on Mon Apr  2 23:42:14 2007


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


Re: advice on anti-spam tools

2007-04-02 Thread Dan Nelson
In the last episode (Apr 03), Angelin Lalev said:
 My e-mail server is running the latest spamassassin with all of the
 blacklist enabled and etc.  but I still receive over 20 spam messages
 a day (image spam mostly).

 The situation with other users may be worse.  That's why I was
 thinking about some tool that

 1. store incoming email
 2. send request to the sender of the message, requiring to go to some
address and enter the numbers (letters) from image
 3. if the puzzle is solved in time (week or so) deliver the message,
otherwise delete it.

Chances are you would just be annoying innocent people with backscatter
email due to the forged addresses of most spam.

You say you're running the latest spamassassin, but are you downloading
updated rulesets?  All of the image/stock spam I get is caught by
spamassassin rules.  Make sure you're running sa-update on a regular
basis and restarting spamd when an update is applied.  Putting

/usr/local/bin/sa-update  /usr/local/etc/rc.d/sa-spamd.sh restart

in a nightly cron job should suffice, I think.  I have also found
greylisting to be very effective.  greylisting penalizes unknown smtp
sources by tempfailing the first message seen from them for 5 minutes.
Spammers usually don't spend resources queueing messages, so you never
see them again.  Real mail servers retry the message, which gets
delivered.  Subsequent messages from the same server come through
without delay because the source is known.  I use
ports/mail/milter-greylist , which lets you adjust the greylist period
and the whitelist timeout, and also can synch its database between
multiple servers if you're running in a clustered setup.

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