What is procmail dies

2007-10-30 Thread Olivier Nicole
Hi,

On my mail server, I am using sendmail as transport agent procmail to
deliver the mail to the final user mailbox.

Procmail runs the mail trough SpamAssassin, and it some time happens
that teh SpamAssassin process goes to the wild. I have seen that
happening when the user disk is over quota for example, or when some
of the SpamAssassin user's file get corrupted.

In that case, SpamAssassin process will never end until it is manually
killed.

I am wondering what happens to the message that was being processed:
it was already out of sendmail, so will it be bounced anyway, or will
it be lost (bad bad).

TIA,

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


apache finds mod_perl.so garbled

2007-10-30 Thread Noah

Hi there,

this is a FreebSD machine and I've built apache, perl, and mod_perl all
from /usr/ports

what could be wrong - and How do I fix it?

Cheers,

Noah



access1# /usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 54 of /usr/local/etc/apache22/httpd.conf:
API module structure 'perl_module' in file
/usr/local/libexec/apache2/mod_perl.so is garbled - expected signature
41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or
was compiled for a different Apache version?
Starting apache22.
httpd: Syntax error on line 54 of /usr/local/etc/apache22/httpd.conf:
API module structure 'perl_module' in file
/usr/local/libexec/apache2/mod_perl.so is garbled - expected signature
41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or
was compiled for a different Apache version?
access1# uname -a
FreeBSD access1 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #1: Wed Aug  1
22:59:54 PDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOCAL  i386
access1# pkg_info | grep apache
apache-2.2.6_2  Version 2.2 of Apache web server with prefork MPM.
apache-tomcat-6.0.13_1 Open-source Java web server by Apache, 6.x branch

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


Now it is ntpd that can't find anything

2007-10-30 Thread jekillen

Hello again.
I set up ntpd on FreeBSD 6.2 and am getting complaints from ntpd that
there is no route to such and such address. It gives what appears to be
an interface card address. I found several time servers and listed them
in ntp.conf. One is unreachable as demonstrated by ping failure. The
rest respond without hesitation, both to dig and ping.
But why would ntpd be looking for interface addresses and not ip/domain
names?
The recent resolver problems I had have been solved, to the extent they
have been a problem. Is ntpd trying arp or rarp for these addresses or
is it something else I am not aware of? This is the first time I have 
dealt
with ntp. I am trying to follow instructions from latest FreeBSD 
handbook.

Thanks in advance;
Jeff K

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


Re: [freebsd-questions] Dangers of using a non-base shell

2007-10-30 Thread Benjamin M. A'Lee
On Tue, Oct 30, 2007 at 08:39:00PM +, Howard Jones wrote:
> Benjamin M. A'Lee wrote:
>> You could possibly also put "bash -l && exit" in your .shrc, which would
>> exit if bash exited successfully. I haven't tested it, but it should
>> work.
>>   
> or 'exec bash -l' which will replace the existing shell with bash in 
> memory, rather than run it from it as a subprocess. I was going to verify 
> that that's the technical explanation, but 'man exec' gets you the utterly 
> useless builtin(1) manpage.
> 
> The effect is that you only have to type exit once, anyway.

I was going to suggest exec, but if bash then failed to execute, you'd be
immediately logged out of sh as well. My suggestion would execute bash if it
could, and drop back to sh if bash failed.

There may be a better way of doing it, and you can always get a shell prompt
some other way if needs be, but this is what works for me.

-- 
Benjamin A'Lee :: [EMAIL PROTECTED]
Subvert Technologies :: http://subvert.org.uk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Virtualization

2007-10-30 Thread Ivan Voras
Bart Silverstrim wrote:
> I was curious with the information coming out regarding FreeBSD 7 what
> option are available for virtualizing other OS's using FreeBSD as a host.

Extremely limited.

> I've been running several servers (Windows of various versions and a
> Linux system) as virtual machines under VMWare Server for Linux for
> about a year now.  I remember there were some problems with trying to
> get FreeBSD to run VMWare previously?

It's possible some early VMWare products (Like VMWare Workstation 3)
work on FreeBSD 7, but a) you can't buy that products any more and b)
you probably wouldn't want to use them even if you did.

The only approximately useful option is Qemu, but it's slow and may not
work on AMD64.

There's a donation box on
http://www.rsync.net/resources/notices/2007cb.html for developers to get
VMWare Workstation working on FreeBSD but the status of the project is
unknown. There's also some indication someone is working on VirtualBox
but that's probably in very early stages (and besides that, VirtualBox
doesn't work reliably).



signature.asc
Description: OpenPGP digital signature


Re: Fw: Best way for a gmirrored gjournal?

2007-10-30 Thread Ivan Voras
Patrick Hurrelmann wrote:

> I kindly ask you for your ideas and proposals on my questions below.

Some of the questions seem a bit confused.


> The server in question is a amd64 with 512mb of ram and 2x 80gb sata
> hdds. So I was thinking of a mount-point layout like the following:
> 
> ad0s1
>  /   (1gb)
>  swap(1gb)
>  /var(8gb)
>  /tmp(1gb)
>  /home   (4gb)
>  /usr   (13gb)
>  /jails (39gb)
> ad0s2
>  10gb for journaling
> 
> Which would leave a space of 10gb for journaling. I digged through the
> mailinglist-archives and man-pages of gmirror and gjournal but all I
> ended up with are questions and doubts :)
> 
> Now I wanted to create 2 mirrors (gm0s1 and gm0s2). Gmirror gm0s1
> containing the slices ad0s1 and ad2s1, while gm0s2 should contain ad0s2
> and ad2s2. I created 2 slices, as with the above shown partitioning I
> was running out of mount-points for this slice.

What do you mean by "running out of mount-points"? Do you mean you don't
have any more bsdlabel entries available (e.g. the "a" part of
"ad0s1a")? If so, you should probably stop using bsdlabels for
everything except the root partition (i.e. make ad0s1a the root, make
all other space into ad0s2 and sub-partition ad0s2 with GPT. This
"weird" setup is required because 7.0 can't boot from GPT).

> Is such a layout reasonable? Or is it stupid to use a dedicated slice
> just for journaling and better skip e.g /tmp partition to leave space
> for a dedicated journaling partition on this slice? 

In your case, it doesn't really matter from the technical point of view.
It's easier for administration when the journal is embedded on the same
slice as the file system.

>Btw. are 10gb
> enough for journaling of 6 partitions? Or do I need one dedicated
> partition for journaling each?

Required journal size depends on the speed of your drive and journal
switch (sync) time intervals. You need at least (drive_speed *
switch_time * 2) space for the journal (e.g. for a drive that does 50
MB/s and for switch time of 10 seconds, you need 50*10*2=1 GB). The
reasoning behind the magic number "2" is that you need two journal
areas, one being used and the other committed.

> What do you people out there suggest? How do you handle systems with
> gmirror and gjournal combined? Or even use ZFS although ram is limited
> (as the machine will serve up several jails with e.g. postgres)? 

You probably don't want to use ZFS with 512 MB of RAM if you need the
machine up 24/7. If you have that many file systems, one journal per
file system is about the only thing you can do (and it doesn't matter if
the file system is on a regular or gmirrored drive). A slightly simpler
solution would be to mirror the whole drives (ad0+ad2) but it's mostly a
cosmetical issue.





signature.asc
Description: OpenPGP digital signature


Re: ipfw -- why need to let icmp out that I already let in?

2007-10-30 Thread Ivan Voras
[EMAIL PROTECTED] wrote:

> add 10510 allow icmp from any to any out via oif() keep-state

I don't think ICMP is stateful :)

You need both in and out rules for ICMP because the logical responses to
packets can't be reliably connected into a single communication.




signature.asc
Description: OpenPGP digital signature


Re: Migrating a file system with minimal downtime

2007-10-30 Thread Doug Clements
On 10/30/07, Daniel Eriksson <[EMAIL PROTECTED]> wrote:
>
>
> I want to migrate a file system containing multiple jails from a small
> drive to a large (RAID-1) array. I want to do this with minimal
> downtime.
>

I did a migration like this, but instead of dump, I used rdist. Take an
initial snapshot (live) with rdist, then when you're ready to do the final
copy, the offline rdist will run much more quickly, resulting in less
downtime. Replace rdist with rsync if you like.

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


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Jeff D
James,

On 10/30/07, James <[EMAIL PROTECTED]> wrote:
>
> All OSes have their good and bad points. Sometimes, even the mighty ubuntu
> pushes out broken updates (such as the one a version or two back that broke
> a significant percentage's X-configuration). And ubuntu has a bug tracker
> for a reason, not just for kicks.
>
> Just like FreeBSD.
>
> If you want a smoother sailing way of going forwards, try installing the
> older version of apache that's available in ports. Its install is the one
> that's handbook documented. If you decide to go with ubuntu, I hope it goes
> well for you. They have a friendly community that can help most problems.
>


Thanks for the 'points'.

I certainly get the fact that all OSes have bugs.  That's not my concern.

What's a bit confounding is why/how the "process" allows two very mainstream
& released/stable versions of programs (Apache 22 & Berkeley DB 46) to not
play nice together for so long.  ( Reading the PR reference from above, it's
been at least a solid month, if not longer ...).  It's not liike my
expectation was to get anything but the most popular, widely used, programs
set up.

To a Newby, it seems like a guessing game as to what works and what
doesn't.  Frustrating, if only after an extended 'sales job' on how the
ports system makes such problems go away got me here in the 1st place.

And, yes the Ubuntu crowd has been very responsive -- and I do have a fully
functional server with up to date program version up and running (mostly)
without any of problems of out of date Ports not being dealt with.

That said, I've stumbled on the PF firewall.  After the headache I was
getting trying to learn & configure IPTables, it's seemingly straightforward
to use.  And, if I read correctly, NOT available in the Linux world, only on
OpenBSD & FreeBSD.

So, I've some choices to make.  The PR author replied to an email I sent,
and has given me some options to "workaround" the out of date Apache22 port
instead of downgrading to an earlier/older version of Berkeley DB.  But
that's starting to get me into a system that isn't managed by a
port-management system.  Which is what I was hoping to avoid in the first
place.

All of this would cease to be a problem for me if that port were simply
updated.  But, that seems unlikely anytime soon without some intervention by
someone with the right knowledge & clout.  That's certainly not me.

Regards,

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


Re: is this for OO-2 for FBSD?

2007-10-30 Thread Gary Kline
On Tue, Oct 30, 2007 at 01:55:57PM -0800, Gary Kline wrote:
> On Tue, Oct 30, 2007 at 10:11:40AM +, Vince wrote:
> > Gary Kline wrote:
> > >   I'm in  the middle of upgrading some platforms and just caught
> > >   OOo_OOG680_m6_source.tar.bz2 (278MB) being downloaded. The port
> > >   says that this is OO-2.3, but the build says Ishould have
> > >   11GB of disk and ~2GB of memory.
> > > 
> > >   I somehow downloaded OO_2.3 as a package on one platform.  Does
> > >   this make any sense?  How many of us have 2 gigs of memory?
> > >   Seems more than a biit irrational to me.  Or did my
> > >   portupgrade -aP grab the wrong port?
> > > 
> > I think the problem is that the build does take so long and so much
> > resources that the package updates are a bit scarce. The latest I can
> > see on the mirrors is openoffice.org-2.3.20070910.tbz which doesnt seem
> > to fit the numbering scheme for the openoffice.org-2 port but does fit
> > openoffice.org-2-RC which seems a bit odd. I would probably just get the
> > latest package from the openoffice package site
> > (ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.3.0/i386/FreeBSD6)
> > and upgrade manually. As a 7.0 user I had to build my own which took a
> > while.
> > 
> 
>   Thanks foe thr ftp.  I'll see if I can grab it?
> 
>   gary


Update: lynx is the better tool for this kind of job.  Looks like 
after several hours I'll move up a couple of OOo releases.

-gk

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: Greeter application missing (??) gdm login ?

2007-10-30 Thread Gary Kline
On Mon, Oct 29, 2007 at 10:39:29PM +, Tino Engel wrote:
> Stupid question:
> Have you reinstalled gdm? That should fix missing files.


Hmm.  I figured that gdm was part of the gnome2 built.
I'll look for a seperate "gdm" utility/daemon.  

danke,

gary

> 
> Best regards, Tino
> 
> Am Montag 29 Oktober 2007 06:24 schrieb Gary Kline:
> > Well, I managed to hose my gnome config *thoroughly*.  Can
> > anybody clue me in how to set things right?
> >
> > /home is now where /usr/home was before.  I have a dummy
> > acccolunt that when I typr (as root) kdm, KDE starts up.
> > But trying gdm (or automating this in /etc/rc.conf) gets me
> > nowhere.  I deleted ~/.gnome2 thinking that itwould be rebuilt on
> > my next login. Nope.  --i Also messed with the login screen
> > andnow I see a large daisy on the lower right.  There is a dialog
> > about my missing some files in /var/tmp.
> >
> > Any/all insights welcome here!
> >
> > gary
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


release(8) environmental variables

2007-10-30 Thread Brian A. Seklecki


As far as building goes, the variables in play are:

  DESTDIR, MAKEOBJDIRPREFIX, RELEASEDIR, CHROOTDIR, CVSROOT,
  EXTSRCDIR, EXTDOCDIR, BUIILDNAME, RELEASETAG, NODOC, NOPORTS,
  WORLD_FLAGS, LOCAL_SCRIPT

For stage one of the release process, the following seem relevant:

  DESTDIR, MAKEOBJDIRPREFIX, RELEASEDIR

For stage two:

  CHROOTDIR, CVSROOT, EXTSRCDIR, EXTDOCDIR, BUIILDNAME, RELEASETAG, NODOC,
  NOPORTS, WORLD_FLAGS, LOCAL_SCRIPT


Do you guys prefer to set these in make.conf(5) or as exported 
environmental variables in the shell that spawn's make(1) ?


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


Re: tar Ignoring out-of-order file What Does that Mean?

2007-10-30 Thread Tino Engel

http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/078081.html
This may help

Am Dienstag 30 Oktober 2007 14:02 schrieb Martin McCormick:
>   I need to modify the first installation image for a
> headless installation of Freebsd6.2. The file in question is:
>
> 6.2-RELEASE-i386-disc1.iso
>
>   Thanks to a helpful member of the list, I found out that
> tar works on unpacking these images and it mostly does on this
> one, but there is a  complaint I get from tar that I haven't
> found on other images. If I do a
>
> tar tvf 6.2-RELEASE-i386-disc1.iso
>
> Here is what happens while looking at the contents list:
>
> 0   44232 Jan 12  2007 RELNOTES.HTM lr-xr-xr-x  1 0  0
> 0 Jan 12  2007 stand -> /rescue lr-xr-xr-x  1 0  0   0
> Jan 12  2007 sys -> usr/src/systar: Ignoring out-of-order file
>
> -r--r--r--  1 0  0   22916 Jan 12  2007 RELNOTES.TXT
>
> It appears that the entire image unpacks except for the
> ignored file. If one tries the extraction with
>
> tar xf 6.2-RELEASE-i386-disc1.iso
>
> The complaint about the out-of-order file is the only indication
> that anything is wrong.
>
>   In looking at the man page for tar, nothing jumps out at
> me  as to how to end up with the proper file structure that
> mkisofs can put back in to an image to put on a CDROM.
>
>   My thanks for any suggestions as I may be needing to do
> one of these installs in a day or so and it would be nice to
> know that all the image is there.
>
> 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]"


pgpkd4fq7OZpX.pgp
Description: PGP signature


Re: is this for OO-2 for FBSD?

2007-10-30 Thread Gary Kline
On Tue, Oct 30, 2007 at 10:11:40AM +, Vince wrote:
> Gary Kline wrote:
> > I'm in  the middle of upgrading some platforms and just caught
> > OOo_OOG680_m6_source.tar.bz2 (278MB) being downloaded. The port
> > says that this is OO-2.3, but the build says Ishould have
> > 11GB of disk and ~2GB of memory.
> > 
> > I somehow downloaded OO_2.3 as a package on one platform.  Does
> > this make any sense?  How many of us have 2 gigs of memory?
> > Seems more than a biit irrational to me.  Or did my
> > portupgrade -aP grab the wrong port?
> > 
> I think the problem is that the build does take so long and so much
> resources that the package updates are a bit scarce. The latest I can
> see on the mirrors is openoffice.org-2.3.20070910.tbz which doesnt seem
> to fit the numbering scheme for the openoffice.org-2 port but does fit
> openoffice.org-2-RC which seems a bit odd. I would probably just get the
> latest package from the openoffice package site
> (ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.3.0/i386/FreeBSD6)
> and upgrade manually. As a 7.0 user I had to build my own which took a
> while.
> 

Thanks foe thr ftp.  I'll see if I can grab it?

gary

> 
> Vince
> 
> > gary
> > 
> 

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: is this for OO-2 for FBSD?

2007-10-30 Thread Gary Kline
On Tue, Oct 30, 2007 at 12:14:40AM -0400, Robert Huff wrote:
> 
> Gary Kline writes:
> 
> > I somehow downloaded OO_2.3 as a package on one platform.  Does
> >  this make any sense?  How many of us have 2 gigs of memory?
> >  Seems more than a biit irrational to me.  Or did my portupgrade
> >  -aP grab the wrong port?
> 
>   I have successfully built OOo 2.3 in 512mb.  Took 16+ hours,
> but it worked.
> 
> 

That's what I wanted to know: I don't care if it take three weeks
so long as it'll build on < a gig of SDRAM.   

gary

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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: ncftpput & ncftpget

2007-10-30 Thread Daniel Bye
On Tue, Oct 30, 2007 at 08:48:28AM -0400, Bill Banks wrote:
> What port should I make to get ncftpput?

ftp/ncftp3

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpLkDZpdZJmd.pgp
Description: PGP signature


Re: telnet mydomain.ild 465 : connection closed

2007-10-30 Thread Pollywog
On Tuesday 30 October 2007 09:18:17 dhaneshk k wrote:

> telnet localhost 465
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> Trying 127.0.0.1...
> Connected to localhost.sun.iosn.net.
> Escape character is '^]'.
>    upto this line oly  I am getting out putnot showing the line 
> 220 host.domain.tld ESMTP Postfix
>
> Q1 :   when I tested with the EHLO test.com  command  telnet connection
> closed immediatelywhy this  ?

Look at /etc/hosts

The line that is at the top is in IPv6 format?
If so, move it down so it appears below the line that says:

127.0.0.1   localhost

(I sent this a while ago but it did not appear to have actually been sent; 
apologies if it posts twice)


I think that will fix the problem.

I have sent this twice, but I never saw it post.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread James
On Tue, 2007-10-30 at 06:42 -0700, Jeff D wrote:

> Matthew,
> 
> On 10/30/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> >
> > This is a known problem with the apache22 port.  At the moment it only
> > understands about Berkeley DB versions up to 4.4.x -- there's an open
> > ticket in the PR system which requests support for versions up to 4.6.x:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116637
> >
> > Until that gets fixed, use BDB 4.4.x instead.  To make that the default
> > version on your system add this to /etc/make.conf:
> >
> >   WITH_BDB_VER=   44
> 
> 
> Thanks for pointing this out.
> 
> I'd thought that the port system in Freebsd was assured to be internally
> consistent with all other stuff in the system by a central team (QA?).  I
> didn't realize that each port was from a different person, and that the
> process could get held up for weeks or months.
> 
> I guess your advice is what I should do.  I'm a little nervous about undoing
> what's already been done, and think I might just start over with db44 to be
> safe.
> 
> Knowing this now, I guess I should also make a list of the programs and
> versions I need, and check each & every one for problems before I start
> again.  If something popular like the Apache Web Server has long standing
> unresolved issues like this, other programs may too.
> 
> A friend is pushing me to use Ubunutu Linux instead, saying that stuff like
> this doesn't happen with it, but I'm not so convinced.  After being  'sold'
> on the Freebsd ports, it's worth some more reading.
> 
> Thanks.
> 
> Regards,
> 
>   Jeff

All OSes have their good and bad points. Sometimes, even the mighty
ubuntu pushes out broken updates (such as the one a version or two back
that broke a significant percentage's X-configuration). And ubuntu has a
bug tracker for a reason, not just for kicks.

Just like FreeBSD.

If you want a smoother sailing way of going forwards, try installing the
older version of apache that's available in ports. Its install is the
one that's handbook documented. If you decide to go with ubuntu, I hope
it goes well for you. They have a friendly community that can help most
problems.


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


RE: 192.168.1.1 is on lo0 but got reply from...

2007-10-30 Thread Brent Jones
You are correct, and that's all it probably means.  Someone on your ISP
side (and it could be the ISP itself) is using the 192.168 address
space.  Our ISP here uses the 172.16 private address space for a bunch
of stuff, including all their internal mail relays.

Cheers,
Brent
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Modulok
Sent: Monday, 29 October 2007 4:57 p.m.
To: freebsd-questions@freebsd.org
Subject: arp: 192.168.1.1 is on lo0 but got reply from...

One of my FreeBSD machines acts as a router, providing shared internet
access via ipfw/natd to the local network. Recently I've been getting
a lot of these in the logs:

arp: 192.168.1.1 is on lo0 but got reply from (someEthernetAddress)
on xl1

xl1 is my Internet-facing interface. The address  192.168.1.1 is
configured on the internal interface, xl0 not xl1. The address mapping
for 192.168.1.1 is a permanent entry in the ARP table. 1) After
reading the arp(4) manpage am I to assume that someone on my ISP's
side of things has something terribly mis-configured? 2) If the local
host has a permanent entry for 192.168.1.1, why would it send out an
arp request for an address it already knows (is this normal)?

Just trying to make sure it's not something I screwed up...
-Modulok-
___
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]"


how many IPFW rules?

2007-10-30 Thread eBoundHost: Artur

Hello FreeBSD people!

I have a smtp server under attack by what seems like a large botnet.  My 
inetd is choking under the load and not allowing real mail through.  I've 
successfully used tshark to find the offenders and put them into ipfw 
firewall for port 25.


So here is my question, I'm currently blocking 55,529 ip addresses and the 
server seems pretty snappy, with no noticible load or lag.  How many more 
rulesets will I be able to handle before things start getting fuzzy?


Best Regards,

Artur
eBoundHost.com
http://www.eboundhost.com 


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


Re: is this for OO-2 for FBSD?

2007-10-30 Thread Jan Grant
On Mon, 29 Oct 2007, Aryeh M. Friedman wrote:

> OOo-2 from ports is really odd anyways... some
> people seem to be able to get it made right out of the box and others
> can't as far I can tell there is no rhyme or reason as to why it fails
> or does not fail

Seem to recall that OOo won't complete a build on a filesystem with 
noatime; there's a perl(? it's a long time since I did this) script that 
can't tell the difference between an fstat successfully returning 0 (for 
midnight, Jan 1 1970) and failing.

jan

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
OORDBMSs make me feel old; I remember when this was all fields.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ncftpput & ncftpget

2007-10-30 Thread Dan Nelson
In the last episode (Oct 30), Bill Banks said:
> What port should I make to get ncftpput?

ftp/ncftp3


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


Re: Virtualization

2007-10-30 Thread Tino Engel
On 6.2-RELEASE vmware compiled without problems from ports collection. You 
just need kernel sources to be installed.
Actually in addition you need to retrieve a key from vmware to unlock the 
vmware workstation. I was not able to find out a free solution longer than 
for a testing period (of 30 days as far as I remember).
Anyhow for me connecting to a windows server using rdesktop was an alternative 
to emulationg windows with wmware.

greez, Tino

Am Dienstag 30 Oktober 2007 13:03 schrieb Bart Silverstrim:
> I was curious with the information coming out regarding FreeBSD 7 what
> option are available for virtualizing other OS's using FreeBSD as a host.
>
> I've been running several servers (Windows of various versions and a
> Linux system) as virtual machines under VMWare Server for Linux for
> about a year now.  I remember there were some problems with trying to
> get FreeBSD to run VMWare previously?
>
> Is anyone virtualizing systems using a FreeBSD host, and if so what are
> you using?  Or is FreeBSD primarily just useful for being a virtual
> guest if it isn't on the physical machine?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


pgp76xDOLZJOG.pgp
Description: PGP signature


Re: [freebsd-questions] Dangers of using a non-base shell

2007-10-30 Thread Howard Jones

Benjamin M. A'Lee wrote:

You could possibly also put "bash -l && exit" in your .shrc, which would
exit if bash exited successfully. I haven't tested it, but it should
work.
  
or 'exec bash -l' which will replace the existing shell with bash in 
memory, rather than run it from it as a subprocess. I was going to 
verify that that's the technical explanation, but 'man exec' gets you 
the utterly useless builtin(1) manpage.


The effect is that you only have to type exit once, anyway.

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


Re: ncftpput & ncftpget

2007-10-30 Thread Tino Engel
Am Dienstag 30 Oktober 2007 12:48 schrieb Bill Banks:
> What port should I make to get ncftpput?
ftp/ncftp[2|3]


pgpZkz7j1M6cc.pgp
Description: PGP signature


architecture considered wrong

2007-10-30 Thread Noah

Hi there,


I am on a 32-bit machine but see that 64-bit is the considered 
architecture.  What do I have configured and/or built wrong?


Cheers,

Noah


access1# make deinstall clean install clean
===>  Deinstalling for www/apache22
===>   apache not installed, skipping
===>  Cleaning for libtool-1.5.24
===>  Cleaning for apache-2.2.6_2

 To enable a module category: WITH__MODULES
 To disable a module category: WITHOUT__MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC 
THREADS


  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for apache-2.2.6_2
===>  Extracting for apache-2.2.6_2
=> MD5 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/lib/libcrypto.so.5 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/autoconf-2.61 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/libtool - found
===>   apache-2.2.6_2 depends on shared library: expat.6 - found
===>   apache-2.2.6_2 depends on shared library: db-4.2 - found
===>   apache-2.2.6_2 depends on shared library: ldap-2.3.2 - found
===>   apache-2.2.6_2 depends on shared library: iconv.3 - found
===>  Configuring for apache-2.2.6_2
found apr source: srclib/apr
found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.61 (ok)
buildconf: libtool version 1.5.24 (ok)
Copying libtool helper files ...
buildconf: Using libtool15.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
Creating configure ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autom4te-2.61 line 44.
BEGIN failed--compilation aborted at /usr/local/bin/autom4te-2.61 line 44.
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in 
/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr

Creating include/private/apu_config.h ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
./buildconf failed for apr-util
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.

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


Clean shutdown - but who made the shutdown?

2007-10-30 Thread Michael Dosser

Hi,

I have odd situation with one of our servers: it suddenly shut down to 
system halt. This is what makes think of that it was a shutdown:


Oct 30 18:21:23 x kernel: Stopping inetd.
Oct 30 18:21:23 x kernel: Shutting down daemon processes:
Oct 30 18:21:23 x ntpd[687]: kernel time sync enabled 6001
Oct 30 18:21:27 x kernel: .
Oct 30 18:21:33 x last message repeated 6 times
Oct 30 18:21:34 x kernel: daemon process stopped

And in fact, the machine was powered off, when I saw it at the 
datacenter. I powered it on and it came up with no filesystem checks. It 
was cleanly shut down.


We have accounting turned on, but lastcomm does not display any commands 
like shutdown, halt or init. I suspected that someone could have pressed 
the power button but I don't see any acpi events in the logs. There is a 
apcupsd running on that system, but there are no apcupsd.events logged 
and the battery is fully charged.


Can someone give me a hint, where else I could look at to find the 
culprit? What could be the cause to cleanly shutdown a system off 
without anything logged by process accounting?


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


Re: nvidia display driver on amd64

2007-10-30 Thread Bruce Cran

Yuri Pankov wrote:

On Mon, 2007-10-29 at 22:32 +, Tino Engel wrote:

Dear all,

Does anyone see any chance to get the nvidia display driver (with OpenGL 
support) set up on amd64?

Or someone has even succeded?

The ports driver tell me they are only for i386, the downloaded driver from 
nvidia stops with:


ld: Relocatable linking with relocations from format elf32-i386-freebsd 
(nv-kernel.o) to format elf64-x86-64 (nvidia.ko) is not supported

*** Error code 1

Stop in /usr/root/src/NVIDIA-FreeBSD-x86-1.0-9639/src.
*** Error code 1

Stop in /usr/root/src/NVIDIA-FreeBSD-x86-1.0-9639.

That probaly is the same reason, it is just only for i386.

So where are the genious porters?

Best regards, Tino Engel


Yes, binary driver is i386 only. NVIDIA made request for some kernel
features for amd64 driver -
http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
No news yet (or am I mistaken?). You can also read read long (over 2
years old now) thread here
http://www.nvnews.net/vbulletin/showthread.php?t=41545
Be sure to check other similar threads :-)


Yuri


http://wiki.freebsd.org/NvidiaFeatureRequests also shows the status of 
the various tasks that need to be done before an amd64 nVidia driver can 
work. Should that page be linked to from the wiki homepage?  It's 
somewhat difficult to find at the moment.


--
Bruce

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


Re: Dangers of using a non-base shell

2007-10-30 Thread James
On Mon, 2007-10-29 at 20:50 +, Stephen Allen wrote:

> It's been drawn to my attention not to use bash from the ports 
> collection, because if one of it's dependencies (gettext or libiconv) 
> fails or is updated significantly, it could break, and prevent login. 
> The suggested solution was to use a base shell (such as sh) and append 
> 'bash -l' to .shrc to automatically enter bash.
> 
> The quite annoying side-effect is having to type 'exit' twice to get out 
> of a su shell or screen.
> 
> Would it be a better idea to use the pre-compiled binary for bash?  

No, as the same problem exists.

What you're looking for is a statically compiled binary. There have been
a few threads in the October about statically compiling bash.

If you look hard enough, you'll even find someone who claims that the
only shells for unix lovers are sh, csh, and tcsh. 

But I like bash's tab completion. No other shell implements it as well
that I've found.





> And 
> if I did so, could I be alerted to updates as easy as using 'pkg_version 
> -v' when checking if any ports need updating?
> 
> Many thanks,
> Steve
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dangers of using a non-base shell

2007-10-30 Thread Josh Carroll
> It's been drawn to my attention not to use bash from the ports
> collection, because if one of it's dependencies (gettext or libiconv)
> fails or is updated significantly, it could break, and prevent login.
> The suggested solution was to use a base shell (such as sh) and append
> 'bash -l' to .shrc to automatically enter bash.

Personally, I use zsh for root's shell, and I just have the port
compile it statically, so I don't have to worry about a broken
dependency. There are other caveats, of course.

In my case, I just throw this in /etc/make.conf:

.if ${.CURDIR:M*/shells/zsh}
NO_SHARED=yes
.endif

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


Re: is this for OO-2 for FBSD?

2007-10-30 Thread RW
On Mon, 29 Oct 2007 23:21:25 -0400
"Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:

> Gary Kline wrote:
> > I'm in  the middle of upgrading some platforms and just
> > caught OOo_OOG680_m6_source.tar.bz2 (278MB) being downloaded. The
> > port says that this is OO-2.3, but the build says Ishould have
> > 11GB of disk and ~2GB of memory.
> >
> > I somehow downloaded OO_2.3 as a package on one platform.
> > Does this make any sense?  How many of us have 2 gigs of memory?
> > Seems more than a biit irrational to me.  Or did my
> > portupgrade -aP grab the wrong port?
> >   
> 
> It got the right port... OOo-2 from ports is really odd anyways...
> some people seem to be able to get it made right out of the box and
> others can't as far I can tell there is no rhyme or reason as to why
> it fails or does not fail 

I wouldn't say that. I've been building it for years, and in my
experience it's just like any other port, mostly it builds,
occasionally it doesn't, when it doesn't I just stick to the old
version until it does. Its complexity make it a bit more unreliable,
but not radically so.

OTOH I use security branches and i386, so I have every advantage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: telnet mydomain.ild 465 : connection closed

2007-10-30 Thread RW
On Tue, 30 Oct 2007 09:18:17 +
dhaneshk k <[EMAIL PROTECTED]> wrote:

> 

> I tried to use TELNET machine ip  465  from another machine : then I
> checke d the  maillog  this is the O/P this is the o/p   :
>  telnet mydomain.tld 465
> Trying 63.19.25.1...
> Connected to mydomain.net (63.19.25.1).
> Escape character is '^]'.
> UPTO the above line I am able to get  the O/P (HERE YOU CAN NOTICE
> the ABSENCE OF 220 host.domain.tld ESMTP Postfix ///Here  I tried
> EHLO test.com as follows EHLO test.com Connection closed by foreign
> host.  // this wa the result 

You can't telnet to SSL/TLS ports. Try s_client[1]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dangers of using a non-base shell

2007-10-30 Thread RW
On Mon, 29 Oct 2007 20:50:40 +
Stephen Allen <[EMAIL PROTECTED]> wrote:

> It's been drawn to my attention not to use bash from the ports 
> collection, because if one of it's dependencies (gettext or libiconv) 
> fails or is updated significantly, it could break, and prevent login. 

It's only really root that matters. There is a alternate account called
toor which you can use with bash if you like, it has a uid  of zero
like root, and the same home directory, so it's just the same.

It's also possible to build a statically linked version of bash from
ports if you want.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wrong architecture used for apache build

2007-10-30 Thread Noah

Hi,

I am trying to figure out why the wrong architecture when I am building 
apache.  Any clues where I can correct this information?


Cheers,


Noah



access1# uname -a
FreeBSD access1.pslab.juniper.net 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 
#1: Wed Aug  1 22:59:54 PDT 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LOCAL  i386



===>  Cleaning for apache-2.2.6_2

 To enable a module category: WITH__MODULES
 To disable a module category: WITHOUT__MODULES

 Per default categories are:
  AUTH AUTHN AUTHZ DAV CACHE MISC
 Categories available:
  AUTH AUTHN AUTHZ CACHE DAV EXPERIMENTAL LDAP  MISC PROXY SSL SUEXEC 
THREADS


  To see all available knobs, type make show-options
  To see all modules in different categories, type make show-categories
  You can check your modules configuration by using make show-modules

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for apache-2.2.6_2
===>  Extracting for apache-2.2.6_2
=> MD5 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
=> SHA256 Checksum OK for apache22/httpd-2.2.6.tar.bz2.
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for apache-2.2.6_2
===>   apache-2.2.6_2 depends on file: /usr/local/lib/libcrypto.so.5 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/autoconf-2.61 - found
===>   apache-2.2.6_2 depends on file: /usr/local/bin/libtool - found
===>   apache-2.2.6_2 depends on shared library: expat.6 - found
===>   apache-2.2.6_2 depends on shared library: db-4.2 - found
===>   apache-2.2.6_2 depends on shared library: ldap-2.3.2 - found
===>   apache-2.2.6_2 depends on shared library: iconv.3 - found
===>  Configuring for apache-2.2.6_2
found apr source: srclib/apr


found apr-util source: srclib/apr-util
rebuilding srclib/apr/configure
buildconf: checking installation...
buildconf: autoconf version 2.61 (ok)
buildconf: libtool version 1.5.24 (ok)
Copying libtool helper files ...
buildconf: Using libtool15.m4 at /usr/local/share/aclocal/libtool.m4.
Creating include/arch/unix/apr_private.h.in ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-64int-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
Creating configure ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-64int-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autom4te-2.61 line 44.
BEGIN failed--compilation aborted at /usr/local/bin/autom4te-2.61 line 44.
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in 
/usr/ports/www/apache22/work/httpd-2.2.6/srclib/apr

Creating include/private/apu_config.h ...
Errno architecture (i386-freebsd-64int-6.2-release) does not match 
executable architecture (i386-freebsd-64int-6.2-release-p6) at 
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.
BEGIN failed--compilation aborted at 
/usr/local/share/autoconf-2.61/Autom4te/XFile.pm line 90.

Compilation failed in require at /usr/local/bin/autoheader-2.61 line 48.
BEGIN failed--compilation aborted at /usr/local/bin/autoheader-2.61 line 48.
./buildconf failed for apr-util
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

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


Re: telnet mydomain.ild 465 : connection closed

2007-10-30 Thread Noel Jones
On 10/30/07, dhaneshk k <[EMAIL PROTECTED]> wrote:
>
> Hi all , pls  hepl me to fix this issue
>
>
> I followed this DOC
>
>
>   http://www.purplehat.org/?page_id=8
>
>
> Here while I am testing postfix setup  at this point
>
> telnet localhost 25   :  the  OutPut  obtained as described  as in the 
> tutorial in the above link (This test SUCCESSFULL)
>
>   BUT for telnet loclhost  465 I cant get the o/p as in tutorial
>
>
> Here what I am able to getfor  telnet localhost 465
>

When you specify "-o smtpd_tls_wrappermode=yes" port 465 is tunneled
through SSL and cannot be tested with telnet.  The website you are
looking at faked their test results.  This automatically makes me
suspicious of the rest of their how-to, but I didn't check anything
else for accuracy.

To test wrappermode TLS, use the "openssl s_client" command, which you
can think of as an encrypted telnet for testing TLS connections.  Try:
$ openssl s_client -connect localhost:465

You will be presented with a couple screens of TLS handshake info, and
then presented with the postfix 220 greeting banner.  Also note that
after you issue an EHLO command on port 465, the STARTTLS option won't
be offered since TLS is already active.

You can also test that TLS is working on port 25 (which requires the
STARTTLS command) with:
$ openssl s_client -connect localhost:25 -starttls smtp

The above command issues the STARTTLS command for you and establishes
an encrypted connection.

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


Re: telnet mydomain.tld 465 ERROR : connection closed

2007-10-30 Thread Noel Jones
On 10/30/07, dhaneshk k <[EMAIL PROTECTED]> wrote:
>
>
> Hi all , pls  hepl me to fix this issue
>
>
> I followed this DOC
>
>
>   http://www.purplehat.org/?page_id=8
>
>
> Here while I am testing postfix setup  at this point
>
> telnet localhost 25   :  the  OutPut  obtained as described  as in the 
> tutorial in the above link (This test SUCCESSFULL)
>
>   BUT for telnet loclhost  465 I cant get the o/p as in tutorial
>
>
> Here what I am able to getfor  telnet localhost 465


When you specify "-o smtpd_tls_wrappermode=yes" port 465 is tunneled
through SSL and cannot be tested with telnet.  The website you are
looking at faked their test results.  This automatically makes me
suspicious of the rest of their how-to, but I didn't check anything
else for accuracy.

To test wrappermode TLS, use the "openssl s_client" command, which you
can think of as an encrypted telnet for testing TLS connections.  Try:
$ openssl s_client -connect localhost:465

You will be presented with a couple screens of TLS handshake info, and
then presented with the postfix 220 greeting banner.  Also note that
after you issue an EHLO command on port 465, the STARTTLS option won't
be offered since TLS is already active.

You can also test that TLS is working on port 25 (which requires the
STARTTLS command) with:
$ openssl s_client -connect localhost:25 -starttls smtp

The above command issues the STARTTLS command for you and establishes
an encrypted connection.

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


Primary group and parent dir

2007-10-30 Thread Alexey Vlasov
Hi.

Linux:
$ id
uid=42451(u42451) gid=155(clients) groups=155(clients), 42451(u42451)

$ ls -la
drwx--x---   7u42451   www   512   29 oct 19:33 .
drwxr-x--x   254  root wheel 79872 29 oct 19:28 ..
drwx---r-x   16   u42451   clients   1024  29 oct 18:34 http

$ mkdir test
$ ls -ld test
drwxr-xr-x  2 u42451  clients  512 29 oct 19:39 test

it means that dirs are always made with primary usergroup.

FreeBSD:
Everithing the same but,
$ mkdir test
$ ls -ld test
drwxr-xr-x  2 u42451  www  512 29 oct 19:39 test
it means the group is alway inherited from parent dir.

Can I make this as in linux?
Thanks.

--
BRGDS. Alesha Vlasov.

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


Re: telnet mydomain.tld 465 ERROR : connection closed

2007-10-30 Thread zbigniew szalbot

Hi,

dhaneshk k pisze:
Hi all , pls  hepl me to fix this issue 
 
 
I followed this DOC
 
 
  http://www.purplehat.org/?page_id=8 
 
 
Here while I am testing postfix setup  at this point 
 
telnet localhost 25   :  the  OutPut  obtained as described  as in the tutorial in the above link (This test SUCCESSFULL)
 
  BUT for telnet loclhost  465 I cant get the o/p as in tutorial 
 
 
Here what I am able to getfor  telnet localhost 465  
 
 
telnet localhost 465

Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.sun.iosn.net.
Escape character is '^]'.
   upto this line oly  I am getting out putnot showing the line  220 host.domain.tld ESMTP Postfix
  
This is perfectly OK. Telnet cannot speak to the secure channel. Just 
continue with your setup.


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


Re: ABI for i386 binaries under FreeBSD-amd64

2007-10-30 Thread Roland Smith
On Tue, Oct 30, 2007 at 09:39:24AM +0200, David Naylor wrote:
> Hi,
> 
> I have seen that recently on the mailing list there has been a discussion on
> running i386 FreeBSD binaries under an amd64 system.  As far as I have been
> able to read there does not appear to be anyway of achieving this except
> though either a chroot/jail or vitalization.  I think this is a short fall
> of FreeBSD currently as there are still proprietary i386 programs for
> FreeBSD that people may want to use under FreeBSD.  

Than they should run i386. You only _need_ (as opposed to "nice to play
with" :-) amd64 if you run out of address space on a typical workload.

And it's not a given that amd64 will be faster than i386. It depends on
the workload. If your workload is IO-bound (i.e. constantly waiting for
the disk to finish reading/writing) the CPU doesn't really matter.

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)


pgpBrNf9QlGRi.pgp
Description: PGP signature


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Roland Smith
On Mon, Oct 29, 2007 at 02:22:24PM -0700, Jeff D wrote:
> I've decided to try to build up my 1st FreeBSD server.
> 
> Reading the Handbook is mostly helpful, but I' getting hit with a couple of
> problems I can't figure out.
> 
> I was looking for a beginner's list.  I think this is the closest to it.
> 
> The main reason I'm trying out FreeBSD is because I want to set up my own
> web server, and the Ports seemed liked a way to do it that manages conflicts
> & dependencies better even that Linux systems.  Not being much of a program
> guy, that sounds good to me!
> 
> When I try to install the Apache port in /usr/ports/www/apache22, it errors
> out with
> 
> IGNORED
> Unknown Berkeley DB version

It builds fine on my machine (7.0-BETA1, amd64).

Which version of FreeBSD are you running? 
Did you update your ports tree before building apache? (run 'portsnap
fetch extract' once. Later use 'portsnap fetch update' to keep the tree
up-to-date.)
Did you set or unset any options?

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)


pgpqxQe8srwJR.pgp
Description: PGP signature


Re: telnet mydomain.ild 465 : connection closed

2007-10-30 Thread Pollywog
On Tuesday 30 October 2007 09:18:17 dhaneshk k wrote:

> telnet localhost 465
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> Trying 127.0.0.1...
> Connected to localhost.sun.iosn.net.
> Escape character is '^]'.
>    upto this line oly  I am getting out putnot showing the line 
> 220 host.domain.tld ESMTP Postfix
>
> Q1 :   when I tested with the EHLO test.com  command  telnet connection
> closed immediatelywhy this  ?

Look at /etc/hosts

The line that is at the top is in IPv6 format?
If so, move it down so it appears below the line that says:

127.0.0.1   localhost

(I sent this a while ago but it did not appear to have actually been sent; 
apologies if it posts twice)


I think that will fix the problem.

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


Re: Dangers of using a non-base shell

2007-10-30 Thread Roland Smith
On Mon, Oct 29, 2007 at 08:50:40PM +, Stephen Allen wrote:
> It's been drawn to my attention not to use bash from the ports collection, 
> because if one of it's dependencies (gettext or libiconv) fails or is 
> updated significantly, it could break, and prevent login. The suggested 
> solution was to use a base shell (such as sh) and append 'bash -l' to .shrc 
> to automatically enter bash.

This is only a problem for root. If you want to use bash as root you
should compile it statically. See below.

> Would it be a better idea to use the pre-compiled binary for bash?  And if 
> I did so, could I be alerted to updates as easy as using 'pkg_version -v' 
> when checking if any ports need updating?

You can define WITH_STATIC_BASH when you're building bash, so the binary
is self-contained.

But if you're starting in single user mode, only / will be mounted. So
if you have /usr or /usr/local on a separate partition, you'd be screwed.

That is why root should only use a shell that's in the / partition.

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)


pgpsNmMLeqBVg.pgp
Description: PGP signature


Re: telnet mydomain.ild 465 : connection closed

2007-10-30 Thread Pollywog
On Tuesday 30 October 2007 09:18:17 dhaneshk k wrote:

> telnet localhost 465
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> Trying 127.0.0.1...
> Connected to localhost.sun.iosn.net.
> Escape character is '^]'.
>    upto this line oly  I am getting out putnot showing the line 
> 220 host.domain.tld ESMTP Postfix
>
> Q1 :   when I tested with the EHLO test.com  command  telnet connection
> closed immediatelywhy this  ?

Look at /etc/hosts

The line that is at the top is in IPv6 format?
If so, move it down so it appears below the line that says:

127.0.0.1   localhost


I think that will fix the problem.

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


Re: LaTeX oder teTeX

2007-10-30 Thread Roland Smith
On Mon, Oct 29, 2007 at 09:46:20AM +0100, Predrag Punosevac wrote:
> Roland Smith <[EMAIL PROTECTED]> writes:
> 
> > I've installed TeXLive 2007 to use /usr/local/texlive/2007 as its prefix
> > and data directory, and that works fine. Everything is contained
> > within that tree. It does not put things in /etc or /usr/local/etc if
> > you do this. What you do need to do after building the binaries is add
> > /usr/local/texlive/2007/bin/-unknown-freebsd to the path
> > in /etc/login.conf.
> 
> I am considering giving a try to TeXlive these days. I take the
> opportunity of this thread to ask you about your strategy to make the
> TeXlive system cohabit with ports that wants teTeX.

For the moment I just remove the teTeX dependencies from those ports
before I build them.

I've thought about whipping up a fake teTeX port, but I was not sure if
I could pull that off.

> The second question is about ports that install TeX related stuff
> (such as macro packages, like NOWEB do). I guess you edited texmf.cnf
> to let /usr/local/share/texmf-local appear in TEXMF trees. Am I right,
> and was this enough to let things run well?

TeXLive is so complete that I didn't really have to install any stuff
from ports. I have a $HOME/texmf tree where I can stick the odd style
file. The standard texmf.cnf uses $HOME/texmf be default.

> To consider more FreeBSD specific issues, I have read elsethread that
> some people are working on porting TeXlive to FreeBSD. When this
> (awesome) work will be done, FreeBSD users will have two options to
> install a TeX system from the ports: teTeX and TeXlive. These two
> systems provide similar service. In such a situation, how are managed
> the dependencies? How would a porter say ``This port run-depends on a
> TeX system, no matter which one it is''?

No idea. Maybe there will be a generic TeX dependency that can be
fullfilled by either TeXLive or teTeX. But in the long run I expect
that TeXLive will replace teTeX.

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)


pgpC1kPGeoLi3.pgp
Description: PGP signature


Re: project management software for freebsd?

2007-10-30 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFHJ19nNTm8fWdRgmIRAv50AKClzN70xw0he/d5PXm+ctUUzxGbXgCfYu7o
2Bb7liWQ39eQtDjziTmDwJY=
=C4Em
-END PGP SIGNATURE-

On 10/27/07, zbigniew szalbot <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am looking for recommendation of software which could be installed
> from ports and which would help us register new ideas, be able to see if
> they have been started/completed, etc.
>
> I did have a look at Horde but this is not what I am looking for. I do
> not want a simple task list. Rather something more like project
> management software (best if installed from ports but it is not really
> necessary). Many thanks in advance for your recommendations!

Another one worth mentioning is webcollab.   I had it running on
FreeBSD at my last job and it works great.

http://webcollab.sourceforge.net/

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


Re: OpenSSL upgrade.

2007-10-30 Thread Josh Paetzel
On Saturday 27 October 2007 07:22:35 am Grant Peel wrote:
> Hiall,
>
> Due to a security issue, I need to upgrade my OpenSSL version.
>
> What is the correct method?
>
> ports?
>
> package?
>
> a CVSUP of the whole server source?
>
> Here is the version I have now (on freebsd 6.2)
>
> const# openssl version
> OpenSSL 0.9.7e-p1 25 Oct 2004
> const#
>
> TIA,
>
> -Grant

There is a link to the security advisory for OpenSSL on the homepage of 
www.freebsd.org that contains step by step instructions on how to upgrade it.


-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Jeff D wrote:
> Matthew,
> 
> On 10/30/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
>> This is a known problem with the apache22 port.  At the moment it only
>> understands about Berkeley DB versions up to 4.4.x -- there's an open
>> ticket in the PR system which requests support for versions up to 4.6.x:
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116637
>>
>> Until that gets fixed, use BDB 4.4.x instead.  To make that the default
>> version on your system add this to /etc/make.conf:
>>
>>   WITH_BDB_VER=   44
> 
> 
> Thanks for pointing this out.
> 
> I'd thought that the port system in Freebsd was assured to be internally
> consistent with all other stuff in the system by a central team (QA?).  I
> didn't realize that each port was from a different person, and that the
> process could get held up for weeks or months.

Correct: there is a continual process of testing and compilation of ports
for all supported OS versions and architectures.  You can see the results
here:

   http://pointyhat.freebsd.org/errorlogs/

and there's also

   http://portsmon.freebsd.org/index.html

which summarises all of the known issues within the ports tree.

However, due to resource limitations it's only ever the *default* set of
options that are used when test-compiling any port.  At the moment, the
ports system uses databases/db41 (db41-4.1.25_4) as the default version
of Berkeley DB -- you can find that out by reading
/usr/ports/Mk/bsd.database.mk

As to why db41 is still considered the default -- probably because no one
has requested it be updated and there isn't a specific maintainer to take
care of bsd.database.mk.  In any case, changes to the ports infrastructure
like that will require a test package build run before being committed, and
that's not a trivial undertaking.  There's a ports freeze coming up prior to
the release of FreeBSD 6.3 and 7.0 so it's exceedingly unlikely to be changed
in the next month or two.

> I guess your advice is what I should do.  I'm a little nervous about undoing
> what's already been done, and think I might just start over with db44 to be
> safe.

Fear not.  You can install several BDB ports for different versions of BDB
simultaneously.  No need to rip out any ports you've previously compiled
against bdb46 and rebuild them.  You can make just apache depend on bdb44 by
a snippet like the following in /etc/make.conf:

.if ${.CURDIR:M*/www/apache22}
WITH_DBM=   bdb
WITH_BERKELEYDB=db44
.endif

That's assuming you want to install apache-2.2.6 -- there are several other
versions of apache in the tree, and you can use much the same sort of construct,
just changing the 'www/apache22' bit, to apply options to those ports.

See also the ports-mgmt/portconf port for a possibly more user friendly way of
doing this sort of thing.

> Knowing this now, I guess I should also make a list of the programs and
> versions I need, and check each & every one for problems before I start
> again.  If something popular like the Apache Web Server has long standing
> unresolved issues like this, other programs may too.

I usually find that so long as I've accounted for anything from
/usr/ports/UPDATING, then just trying to install or upgrade the port is
successful 99 times out of 100. Only on the 100th time is it necessary to go
hunting around in bug databases and so forth.

The ports tree contains over 17,000 individual ports, maintained by a wide
variety of volunteers or (in perhaps too many cases) without any particular 
person
or group of people to maintain them at all.  Despite this, over all the quality
and consistency of ports is generally good.  There will be occasional problems
- -- and when these are reported, usually they are fixed with a great deal of
dispatch.

> A friend is pushing me to use Ubunutu Linux instead, saying that stuff like
> this doesn't happen with it, but I'm not so convinced.  After being  'sold'
> on the Freebsd ports, it's worth some more reading.

You friend is living in a dream world, I'm afraid.  It is practically
impossible to have zero problems in any large collection of software packages or
ports like this.  Ubuntu has it's points and a lot of people find it suits them
very well, but to my mind it is best fitted to being a point'n'click style 
desktop
for Windows refugees.  FreeBSD (IMHO) is unbeaten as a serious Unix server 
platform,
but to get the best out of it, you should not be afraid of getting to grips
with command line interfaces.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8

Re: Dangers of using a non-base shell

2007-10-30 Thread Bill Campbell
On Mon, Oct 29, 2007, Stephen Allen wrote:
>It's been drawn to my attention not to use bash from the ports 
>collection, because if one of it's dependencies (gettext or libiconv) 
>fails or is updated significantly, it could break, and prevent login. 
>The suggested solution was to use a base shell (such as sh) and append 
>'bash -l' to .shrc to automatically enter bash.
>
>The quite annoying side-effect is having to type 'exit' twice to get out 
>of a su shell or screen.

Try using ``exec'' to start these which will replace your current
shell with the one being exec'ed.

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

Many companies that have made themselves dependent on [the equipment of a
certain major manufacturer] (and in doing so have sold their soul to the
devil) will collapse under the sheer weight of the unmastered complexity of
their data processing systems.
-- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Undelivered Mail Returned to Sender

2007-10-30 Thread Daniel Bye
On Mon, Oct 29, 2007 at 05:14:44PM -0700, Rob Lytle wrote:
> >
> > From: "Rob Lytle" <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Date: Mon, 29 Oct 2007 16:21:41 -0700
> > Subject: Upgrading Xorg to 7.2- problems
> > Hi,
> >
> > I am sure I followed the /usr/port/Updating instructions to the letter.
> > But now when I try to bring up Xorg I get this error that it "cant find the
> > 'fixed font'" or no fixed font available, something like that.   I have
> > noticed that many of the fonts have somehow gone into oblivion.  They were
> > installed under /usr/X11R6/lib/X11/fonts, but they aren't under
> > /usr/local/lib/X11/fonts either.

You need to install x11-fonts/xorg-fonts (or a suitable subset). You should
be good to go after that.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpNdFlRY66Pb.pgp
Description: PGP signature


Migrating a file system with minimal downtime

2007-10-30 Thread Daniel Eriksson

I want to migrate a file system containing multiple jails from a small
drive to a large (RAID-1) array. I want to do this with minimal
downtime.

Simply shutting down the jails and using dump/restore to move the file
system takes too long, but what if I do it in several steps like this:

1. "dump -0 -L -f - /usr/jails | restore -rf -" to dump the live file
system at level 0
2. shut down the jails
3. unmount the original file system
4. "dump -1 -f - /usr/jails | restore -rf -" to dump any changes since
the first dump
5. remount the new file system in the proper location
6. restart the jails

This should work, right? Or am I missing something? (One of the jails is
a mysql server, the rest are www servers.)


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


Re: Dangers of using a non-base shell

2007-10-30 Thread Erik Osterholm
On Mon, Oct 29, 2007 at 08:50:40PM +, Stephen Allen wrote:
> It's been drawn to my attention not to use bash from the ports 
> collection, because if one of it's dependencies (gettext or libiconv) 
> fails or is updated significantly, it could break, and prevent login. 
> The suggested solution was to use a base shell (such as sh) and append 
> 'bash -l' to .shrc to automatically enter bash.

I've only ever heard this advice applied to the root account.
Generally speaking, I keep my root accounts using /bin/csh and I run
(z|k)sh on my user accounts.  If something were ever to break, I'd
just log in as root to fix it.

 
> The quite annoying side-effect is having to type 'exit' twice to get out 
> of a su shell or screen.

For screen, you can just change the SHELL environment variable before
you run it:
SHELL=/usr/local/bin/pdksh screen
New screen windows will use the new shell.  For a more permanent fix,
you can add e.g. "shell /usr/local/bin/pdksh" to your .screenrc file.


> Would it be a better idea to use the pre-compiled binary for bash?  And 
> if I did so, could I be alerted to updates as easy as using 'pkg_version 
> -v' when checking if any ports need updating?

There was a pretty long thread on this here: 
http://lists.freebsd.org/pipermail/freebsd-questions/2007-October/159670.html

Another issue that you'll have to contend with is that if your
filesystem on which bash lives fails to mount, you'll be in the same
boat.  You could copy it to /bin (which is usually on the same
filesystem as / and /boot, meaning you're almost guaranteed to have
it, even if other filesystems fail to mount) but I don't like
cluttering up my filesystem.


> Many thanks,
> Steve

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


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Jeff D
James,

On 10/30/07, james <[EMAIL PROTECTED]> wrote:

> Okay, great. Have you also done a successful portupgrade since then? I
> should have asked this earlier, but it's before nine and I'm not at my
> best when tired ;)


Before I got re-started, now I have.  Other than the complaint about
Apache22 not finding db46, all seemed to go ok.

apache on FreeBSD is installed consistently (i.e. you know where to look
> for files based upon sensible reasoning), and it follows exactly the
> conventions you expect it to follow, with httpd.conf etc.
>
> The only weirdness to be aware of is that the handbook covers apache
> 1.3, not 2.x.


I'll keep this in mind, and eventually investigate.

But for now I can't exactly agree OR disagree, since Apache22 simply doesn't
install on Freebsd because of this out of date Port.

I've just been told that there's some sort of a Port version freeze in place
in preparation for the version 7 release (?), which will delay any update to
that Apache22 port even longer.

I've swapped in an Ubuntu disk, and I can say that Apache 2.2.4 & BerkeleyDB
4.6.19 install just fine on Ubuntu right out of the box.  I'm not sure which
way to go now.  Being a big believer in "a bird in the hand ...", I'm
leaning towards Ubuntu instead, beacuse it works now.  But, I'll Google some
more for objective comparisons to be sure.

Regards,

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


Re: Dangers of using a non-base shell

2007-10-30 Thread Daniel Bye
On Mon, Oct 29, 2007 at 08:50:40PM +, Stephen Allen wrote:
> It's been drawn to my attention not to use bash from the ports 
> collection, because if one of it's dependencies (gettext or libiconv) 
> fails or is updated significantly, it could break, and prevent login. 

Hmm, I guess it *could* happen, but in the 8 years I have been using
bash on FreeBSD, it never *has* happened. Of course, that's not to say
that it never *will* happen... 

As long as you adopt a sensible approach to upgrading your installed
ports, then I don't think you'll go far wrong - portupgrade can be made
to rebuild dependent packages, so any significant change to libiconv 
can be picked up by all other packages that require it.

> The suggested solution was to use a base shell (such as sh) and append 
> 'bash -l' to .shrc to automatically enter bash.
> 
> The quite annoying side-effect is having to type 'exit' twice to get out 
> of a su shell or screen.

You could instead do something like this (untested!):

if (bash --version > /dev/null)
then
  exec bash
fi

which will replace your login shell with a bash, as long as bash can 
successfully run and display its version info. Then you only have one
shell to kill to log out.

> 
> Would it be a better idea to use the pre-compiled binary for bash?  And 
> if I did so, could I be alerted to updates as easy as using 'pkg_version 
> -v' when checking if any ports need updating?

Using a binary package will make no difference - it will still cause 
dependencies to be installed, just as if you built it from source. As
long as you take time to check which ports/packages need updating at any
particular time, and keep an eye on /usr/ports/UPDATING, then you shouldn't
go far wrong. If you are really worried about it, then you can build a
static bash, which you can then install on your / fs. Set WITH_STATIC_BASH
and you can put the resulting monolithic binary anywhere you like.

And yes, pkg_version -v will tell you which ports/packages are outdated,
whether you installed them from binary packages or from source. To get a
slightly clearer result, try

 # pkg_version -v | grep -v =

to only see outdated ports.

HTH

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recommended servers for FreeBSD

2007-10-30 Thread Erich Dollansky

Hi,

ok, I did not buy any kind of servers in recent times.

Before I either took Tyan motherboards for real low-cost servers and 
either got them built into a machine by the supplier or even did it myself.


Both routes offered the best price/performance ratio.

In all other cases I took Fire servers from Sun.

I believe the biggest difference between IBM and Sun will actually be 
the people who will finally arrive at your site in case of problems.


The same should be true for HP.

Erich

Andrew Wasilczuk wrote:

Hi,

I'm interested to see what servers people use for FreeBSD.  I used to
buy the IBM xSeries x306 for firewalls and web servers and the x206 for
low budget file servers, but both aren't being sold anymore.  I recently
got a few IBM x3200 and x3550.  They are really nicely built and I
hardly have any problems.  However, the on-board RAID controllers
(Adaptec AIC-9580W) aren't supported under FreeBSD so I fit them with
3ware 9000 series RAID cards.  Although I really like those 3ware cards,
it seems like an extra expense that could be avoided.

What servers do you guys buy and why?  I would really like to have the
on-board RAID supported. Do HP servers play well with FreeBSD?  If yes,
which models would you recommend?


Many thanks,


Andrew.


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


Re: Dangers of using a non-base shell

2007-10-30 Thread Daniel Bye
On Mon, Oct 29, 2007 at 08:50:40PM +, Stephen Allen wrote:
> It's been drawn to my attention not to use bash from the ports 
> collection, because if one of it's dependencies (gettext or libiconv) 
> fails or is updated significantly, it could break, and prevent login. 

Hmm, I guess it *could* happen, but in the 8 years I have been using
bash on FreeBSD, it never *has* happened. Of course, that's not to say
that it never *will* happen... 

As long as you adopt a sensible approach to upgrading your installed
ports, then I don't think you'll go far wrong - portupgrade can be made
to rebuild dependent packages, so any significant change to libiconv 
can be picked up by all other packages that require it.

> The suggested solution was to use a base shell (such as sh) and append 
> 'bash -l' to .shrc to automatically enter bash.
> 
> The quite annoying side-effect is having to type 'exit' twice to get out 
> of a su shell or screen.

You could instead do something like this (untested!):

if (bash --version > /dev/null)
then
  exec bash
fi

which will replace your login shell with a bash, as long as bash can 
successfully run and display its version info. Then you only have one
shell to kill to log out.

> 
> Would it be a better idea to use the pre-compiled binary for bash?  And 
> if I did so, could I be alerted to updates as easy as using 'pkg_version 
> -v' when checking if any ports need updating?

Using a binary package will make no difference - it will still cause 
dependencies to be installed, just as if you built it from source. As
long as you take time to check which ports/packages need updating at any
particular time, and keep an eye on /usr/ports/UPDATING, then you shouldn't
go far wrong. If you are really worried about it, then you can build a
static bash, which you can then install on your / fs. Set WITH_STATIC_BASH
and you can put the resulting monolithic binary anywhere you like.

And yes, pkg_version -v will tell you which ports/packages are outdated,
whether you installed them from binary packages or from source. To get a
slightly clearer result, try

 # pkg_version -v | grep -v =

to only see outdated ports.

HTH

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread james

On Tue, 2007-10-30 at 07:15 -0700, Jeff D wrote:
> James,
> 
> On 10/30/07, james <[EMAIL PROTECTED]> wrote:
> What version of the operating system are you using?
> 
> I'm using the Version 6.2 Release, updated with Patchset 7

> 
> When did you last update your ports tree?
> 
> Last time was yesterday afternoon. 

Okay, great. Have you also done a successful portupgrade since then? I
should have asked this earlier, but it's before nine and I'm not at my
best when tired ;)



> 
> But, you should know that apache on FreeBSD is fantastic. I
> tried
> getting it configured once on Ubuntu; that was a harsh, harsh
> experience. Weird custom configuration files in weird
> locations.
> 
> What makes it "fantastic" versus not?  Isn't an Apache configuration
> supposed to be the same?  In httpd.conf, or whatever?

I agree! However, some folks think that httpd.conf should be deprecated
in favour of apache2.conf. And then it gets weirder and weirder...

apache on FreeBSD is installed consistently (i.e. you know where to look
for files based upon sensible reasoning), and it follows exactly the
conventions you expect it to follow, with httpd.conf etc.

The only weirdness to be aware of is that the handbook covers apache
1.3, not 2.x.


James

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


Re: Fetching sources for 6.2-Release including changes from Security Advisories

2007-10-30 Thread Dan Nelson
In the last episode (Oct 29), Tino Engel said:
> Is there a proper entry in stable-supfile that gives me the
> opportunity to cvsup the sources from 6.2-RELEASE including security
> advisories?
> 
> The tag
> *default release=cvs tag=RELENG_6
> is actually not what I want, since I am not looking for 6.3-PRERELEASE

You want RELENG_6_2

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

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


tar Ignoring out-of-order file What Does that Mean?

2007-10-30 Thread Martin McCormick
I need to modify the first installation image for a
headless installation of Freebsd6.2. The file in question is:

6.2-RELEASE-i386-disc1.iso

Thanks to a helpful member of the list, I found out that
tar works on unpacking these images and it mostly does on this
one, but there is a  complaint I get from tar that I haven't
found on other images. If I do a

tar tvf 6.2-RELEASE-i386-disc1.iso

Here is what happens while looking at the contents list:

0   44232 Jan 12  2007 RELNOTES.HTM lr-xr-xr-x  1 0  0
0 Jan 12  2007 stand -> /rescue lr-xr-xr-x  1 0  0   0
Jan 12  2007 sys -> usr/src/systar: Ignoring out-of-order file

-r--r--r--  1 0  0   22916 Jan 12  2007 RELNOTES.TXT

It appears that the entire image unpacks except for the
ignored file. If one tries the extraction with

tar xf 6.2-RELEASE-i386-disc1.iso

The complaint about the out-of-order file is the only indication
that anything is wrong.

In looking at the man page for tar, nothing jumps out at
me  as to how to end up with the proper file structure that
mkisofs can put back in to an image to put on a CDROM.

My thanks for any suggestions as I may be needing to do
one of these installs in a day or so and it would be nice to
know that all the image is there.

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


libXfont not installing

2007-10-30 Thread james
Hi folks,

I'm having issues getting libXfont installed from ports. It's a
requirement of a lot of different things, such as xorg, xpdf etc.

The problem that ran up to this was a while back, upgrading x11 from 6.9
to 7.2, I apparently borked it but didn't notice. I remembered
everything as going off smoothly, but then the upgrade to 7.3 broke. I
checked pkg_info and found that some of the x11 components were still at
6.9, some were at 7.2, and some were at 7.3. So that was bust.

I managed to get x updated consistently to 7.3, but libXfonts errored.
And has been erroring for a long, long time. I can't seem to get this
one ironed out.

It *looks* like a library is being called on that shouldn't be.


Here's the relevant output:



===>Verifying install for /usr/local/libdata/xorg/libraries
in /usr/ports/x11/xorg-libraries
===>  Vulnerability check disabled, database not found
===>  Extracting for xorg-libraries-7.3_1
===>  Patching for xorg-libraries-7.3_1
===>  Configuring for xorg-libraries-7.3_1
===>  Installing for xorg-libraries-7.3_1
===>   xorg-libraries-7.3_1 depends on
file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   xorg-libraries-7.3_1 depends on
file: /usr/local/libdata/pkgconfig/xfont.pc - not found
===>Verifying install for /usr/local/libdata/pkgconfig/xfont.pc
in /usr/ports/x11-fonts/libXfont
===>  Building for libXfont-1.3.1,1
make  all-recursive
Making all in src
Making all in fontfile
/bin/sh ../../libtool --tag=CC--mode=compile cc -DHAVE_CONFIG_H -I.
-I../.. -I../../include/X11/fonts -I../../include
-DFONT_ENCODINGS_DIRECTORY=
\"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall
-Wpointer-arith -Wstrict-prototypes-Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe  -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP
-MF .deps/fontencc.Tpo -c -o fontencc.lo fontencc.c
 cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts
-I../../include -DFONT_ENCODINGS_DIRECTORY=
\"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP
-MF .deps/fontencc.Tpo -c fontencc.c  -fPIC -DPIC -o .libs/fontencc.o
fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory
In file included from fontencc.c:35:
../../include/X11/fonts/fontencc.h:32: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:32: warning: function declaration
isn't a prototype
../../include/X11/fonts/fontencc.h:33: error: syntax error before
"font_encoding_find"
../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int'
in declaration of `font_encoding_find'
../../include/X11/fonts/fontencc.h:33: warning: data definition has no
type or storage class
../../include/X11/fonts/fontencc.h:34: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:34: warning: function declaration
isn't a prototype
fontencc.c: In function `font_encoding_from_xlfd':
fontencc.c:42: warning: implicit declaration of function
`FontEncFromXLFD'
fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD'
fontencc.c:42: warning: return makes pointer from integer without a cast
fontencc.c: At top level:
fontencc.c:46: error: syntax error before "font_encoding_find"
fontencc.c:47: warning: return type defaults to `int'
fontencc.c: In function `font_encoding_find':
fontencc.c:48: warning: implicit declaration of function `FontEncFind'
fontencc.c:48: warning: nested extern declaration of `FontEncFind'
fontencc.c: At top level:
fontencc.c:53: error: syntax error before "FontEncPtr"
fontencc.c:54: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_recode':
fontencc.c:55: error: `encoding' undeclared (first use in this function)
fontencc.c:55: error: (Each undeclared identifier is reported only once
fontencc.c:55: error: for each function it appears in.)
fontencc.c:55: error: `mapping' undeclared (first use in this function)
fontencc.c:59: warning: implicit declaration of function `FontEncRecode'
fontencc.c:59: warning: nested extern declaration of `FontEncRecode'
fontencc.c:59: error: `code' undeclared (first use in this function)
fontencc.c: At top level:
fontencc.c:64: error: syntax error before "FontEncPtr"
fontencc.c:65: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_name':
fontencc.c:66: error: `encoding' undeclared (first use in this function)
fontencc.c:66: error: `mapping' undeclared (first use in this function)
fontencc.c:70: warning: implicit declaration of function `FontEncName'
fontencc.c:70: warning: nested extern declaration of `FontEncName'
fontencc.c:70: error: `code' undeclared (first use in this function)
fontencc.c:70: warning: re

Re: ifconfig -- how to remove address and mask?

2007-10-30 Thread Erik Osterholm
On Sun, Oct 28, 2007 at 09:14:48PM -0700, [EMAIL PROTECTED] wrote:
> running 6.1,
> 
> Is there a way to bring an interface down and remove the ipaddr and mask?
> I've tried ifconfig destroy with no effect, and I'm getting tired of
> twiddling rc.conf and rebooting...
> 
> The problem arises when testing a new configuration where an existing
> interface has an assigned ip addr, and is then changed to be used with
> pppoe.  The routine tables get really confused...
> 
> Thanks,
> 
> Gary

Might /etc/rc.d/netif restart resolve this, too?

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


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Jeff D
James,

On 10/30/07, james <[EMAIL PROTECTED]> wrote:
>
> What version of the operating system are you using?


I'm using the Version 6.2 Release, updated with Patchset 7

When did you last update your ports tree?


Last time was yesterday afternoon.

These're both important for us to know.


Sorry about that!

But, you should know that apache on FreeBSD is fantastic. I tried
> getting it configured once on Ubuntu; that was a harsh, harsh
> experience. Weird custom configuration files in weird locations.
>

What makes it "fantastic" versus not?  Isn't an Apache configuration
supposed to be the same?  In httpd.conf, or whatever?

Regards,

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


Re: Dangers of using a non-base shell

2007-10-30 Thread Vince
Stephen Allen wrote:
> It's been drawn to my attention not to use bash from the ports
> collection, because if one of it's dependencies (gettext or libiconv)
> fails or is updated significantly, it could break, and prevent login.
> The suggested solution was to use a base shell (such as sh) and append
> 'bash -l' to .shrc to automatically enter bash.
> 
> The quite annoying side-effect is having to type 'exit' twice to get out
> of a su shell or screen.
> 
I tend to activate the toor user and use bash with toor and csh with
root, After all thats kind of why its there :)

([EMAIL PROTECTED])$grep toor /etc/passwd
toor:*:0:0:Bourne-again Superuser:/root:/usr/local/bin/bash


Vince


> Would it be a better idea to use the pre-compiled binary for bash?  And
> if I did so, could I be alerted to updates as easy as using 'pkg_version
> -v' when checking if any ports need updating?
> 
> Many thanks,
> Steve
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Re: How to provide fail-over capability for servers?

2007-10-30 Thread Bob Johnson
It depends on what type of services the servers offer. Mail servers,
web servers, file servers, DHCP servers?  SMTP (the mail protocol) for
instance has built-in provisions for automatic failover.

- Bob


On 10/29/07, Stephen Allen <[EMAIL PROTECTED]> wrote:
> I'm completely new to this so some of my ideas may sound ludicrous...
> please put me right where necessary!
>
> I will have 3 net-facing servers which must be available 24/7.  I had
> planned to have an additional box located in a different building on the
> same site (in case of part power-outage) that will run VMware server and
> host all the fail-over servers.
>
> What options are there for providing automatic fail-over capability?  I
> had thought of running a cron job every minute that would test for the
> existence of the other server and assume its identity if it couldn't get
> a reply, but it feels like a 'sub-optimal' way of doing it.
>
> Can anyone give me some ideas I should be looking at?
>
> Many thanks,
> Steve :)
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread james

On Mon, 2007-10-29 at 15:54 -0700, Jeff D wrote:
> I've decided to try to build up my 1st FreeBSD server.
> 
> Reading the Handbook is mostly helpful, but I' getting hit with a couple of
> problems I can't figure out.
> 
> I was looking for a beginner's list.  I think this is the closest to it.
> 
> The main reason I'm trying out FreeBSD is because I want to set up my own
> web server, and the Ports seemed liked a way to do it that manages conflicts
> & dependencies better even that Linux systems.  Not being much of a program
> guy, that sounds good to me!
> 
> When I try to install the Apache port in /usr/ports/www/apache22, it errors
> out with
> 
> IGNORED
> Unknown Berkeley DB version
> 
> After checking on the Oracle site, I made sure to install the latest, most
> up to date /usr/ports/databases/db46 port.  It seems to have worked and I
> can use it in other ports.
> 
> I'm not sure where to turn next.
> 
> Anybody got some advice to share?

What version of the operating system are you using?
When did you last update your ports tree?

These're both important for us to know.

But, you should know that apache on FreeBSD is fantastic. I tried
getting it configured once on Ubuntu; that was a harsh, harsh
experience. Weird custom configuration files in weird locations.

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


Re: Regarding Flow of sendto (UDP) using IPv6.

2007-10-30 Thread Prasad Dandra
Hi All,

Thank You for the reply.
But I still haven't got the information I am expecting.

I am using the *FreeBSD IPv6 stack*.

I would be very grateful if you help me to know the following:

1) I wrote the UDP client server program, the client is continously sending
packets to server till some condition is met and then recieving the packets
from the server untill some other condition is met. The code is working
fine. I want to know how the *sendto flow works in the client when I am
continously calling it without bind??* Doesn't it require connection to
be disconnected after each sendto? if no why?

Ex: sendto calls sendit and sendit calls kern_sendit in it and then using
prusend the control goes to sosend and udp6_output is called.
In udp6_output what are the functions it enters when 1st time sendto is
called and in the subsequent sendto calls? i,e *what is the diffrence in th
code flow?*

2) I used the same code using other IPv6 stack which has *FreeBSD ported* in
it but here the same code doesn't work. If bind is used it works properly.
Without Bind it fails at the function if
(!IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) in udp6_output when tryin the
send packet 2nd time.
I am not able to find where *in6p->in6p_faddr is initialised to 0*(which i
feel is necessary to send the packet next time or else it fails as mentioned
above)* in FreeBSD IPv6 stack. is it required? *Kindly help me in this
regard.

3) Similarly how is the code flow when the stack recieves the packet i.e the
*code flow in udp6_input? *
Like udp6_input calls in6_pcblookup_hash. In *in6_pcblookup_hash whether it
enters 1st LIST_FOREACH function or the one in wildcard?*
**
The implementation of IPv6 is bit different compared to IPv4 like the
pcbconnect is avoided and pcbsetport is used in IPv6, the theory and
explaination is not available in books as that of IPv4 hence it is diificult
to analyse the code flow, so expecting help.
Waiting for response.

Thanks and Regards
Prasad





On 10/17/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote:
>
> "Prasad Dandra" <[EMAIL PROTECTED]> writes:
>
> > I have some doubts regarding the BSD stack flow.
> > I am very much interested to know the code flow from sendto (UDP case)
> upto
> > udp6_output function when used in IPv6 client (simple client) and also
> how
> > the local port and destination address are assigned without using bind
> > when 1st time the sendto is called i.e  where the pcbconnect and pcbbind
> are
> > called (particularly in case of ipv6)?
> >
> > Any information provided about the links, books to be refered for more
> > details will also be helpful.
>
> Bear in mind that the IPv6 implementation in FreeBSD has recently been
> exchanged for a different one, but I don't think the basic concepts
> are much changed.  For that matter, the IPv4 model (which has plenty
> of book documentation covering it) isn't very different.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recommended servers for FreeBSD

2007-10-30 Thread Grant Peel
All,

We have been using Dell since early 2001. in fact, I have one comming up on two 
years uptime. (FreeBSD 4.4, Yeah, I know, but I just can't bring myself to shut 
it down to upgrade). Raid works well, new SAS systems work well, no burn CPUs 
or Memory. Lots of great online and on phone support. 

I tried sourcing some 1u and 2u systems elsewhere (no names please), and in the 
end the Dells with 3 Year silver support and Waranttee were the same price, in 
a couple ways cheaper.

As for speed, they seem to middle of the pack. BUT remember ... bus speed, 
memory speed, disk access, are all sky high anyways, so speed may not bee an 
issue anyways, even with slower systems.

About the only negative thing I have to say is that I was not at all impressed 
with the DRAC III/XT cards. The new generation 4 and 5 cards seem to be better 
though.

I had some problems with freeBSD 6.0 freezing, but the same hardware is running 
6.2 with no issues now. I am sure that was a FReeBSD quotas problem anyway.

Even a simple 24 port managed switch I have works good.

My two cents,

-Grant
  - Original Message - 
  From: Terry Sposato 
  To: 'Eric Crist' ; 'User Questions' 
  Sent: Monday, October 29, 2007 11:04 PM
  Subject: RE: Recommended servers for FreeBSD


  On Oct 29, 2007, at 2:15 PM, Byung-Hee HWANG wrote:

  > Hello,
  >
  > On Mon, 2007-10-29 at 12:05 -0500, Eric Crist wrote:
  >> On Oct 29, 2007, at 11:04 AM, Byung-Hee HWANG wrote:
  >>
  >> How do HP servers compare to Dell? We're Dell fans here, but always
  >> willing to look at something better.
  >
  > I do not know about Dell well. However i *really* want to use Dell 
  > if i
  > have a chance. I think Dell is also good friend of FreeBSD.
  >

  If you're looking for a Dell recommendation, I'll give you one. 
  I've had nothing but great luck with them. So far, all their 
  hardware I've tried to use has been supported. There are rumors that 
  their newest systems have gigabit network cards that FreeBSD doesn't 
  have a stable driver for, so you're forced to install an Intel or 
  other one in one of the available PCI slots.

  RAID works great, hot swap and the whole works. Even the RAID 
  battery status comes up in dmesg appropriately.

  We tend to use used systems, as we're not in need of the fastest 
  systems out there, but we're looking at buying a couple brand-new 
  within the next month or so. If you're interested, trying buying a 
  box on eBay (great prices), and you'll be pleasantly surprised.

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


  Sorry for the awkward posting but I am at work so hence using a Windows
  machine with Outlook.
  I have attached a dmesg output of a Dell 2950 machine we recently purchased
  and have running flawlessly on FreeBSD amd64 6.2-RELEASE.
  Everything works great, didn't have to fiddle around with anything, GENERIC
  kernel picked up everything also.

  Cheers,

  Terry

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

--
  Total Control Panel Login 
   
To: [EMAIL PROTECTED] 
From: [EMAIL PROTECTED] 
 Remove this sender from my allow list 
 
   
  You received this message because the sender is on your allow 
list. 
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fsck failing

2007-10-30 Thread Dudley
Note: If there's a more appropriate mailing list, please let me know.

I've been running a FreeBSD 4.11 installation for a couple of years without
issue. Unfortunately, one of the drives on the 3Ware Escalada 8500 RAID
array died leaving the array in a degraded state. The drive likely died in
an outage which also corrupted the filesystem. That said, the FreeBSD
install is still able to boot until it attempts to mount the filesystem.

During the boot process, I get the following error:

Can't stat /dev/twed0s1a: Bad file Descriptor
Can't stat /dev/twed0s1a: Bad file Descriptor
/dev/twed0s1a: CAN"T CHECK FILE SYSTEM
/dev/twed0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

It drops me in to single user mode allowing me to run fsck. If I run just
fsck then, it runs successfully but doesn't check twed0s1a which means on
reboot the problem is still there. If I force fsck on that partition by
running `fsck /dev/twed0s1a` then I get the same errors as above.

Please let me know what other steps I should take to get the system booting
again.

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


Re: Dangers of using a non-base shell

2007-10-30 Thread Michaël Grünewald
Stephen Allen <[EMAIL PROTECTED]> writes:

> It's been drawn to my attention not to use bash from the ports
> collection, because if one of it's dependencies (gettext or libiconv)
> fails or is updated significantly, it could break, and prevent
> login. The suggested solution was to use a base shell (such as sh) and
> append 'bash -l' to .shrc to automatically enter bash.

The root account has a duplicate `toor'. Thus administrators can
change `toor' login shell to their preferred, with no risk of
making the `root' account unusable.

Regarding user accounts, I have no suggestions.

BTW, when I moved from Linux to FreeBSD, I wanted to use BASH as my
login shell. On day, I decided to try TCSH: user experience in FreeBSD
is awesome, and since TCSH is the default shell there, I was convinced
it was worth. My try was a switch, first because TCSH has cool
features (see tcshrc at sourceforge) and second because of the
advantage of using a shell you cannot program. The advantage is that
you I not write illegible one-liners that cripple my files because I
hit ENTER instead of BACKSPACE. In lieu of one-liners I now write
one-filers, and I have much less shell incident than before.
-- 
Best regards,
Michaël
___
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 size, vidcontrol only lists 80x25

2007-10-30 Thread Doug Poland

Joshua Isom wrote:
I recently bought a new LCD monitor for my computer.  It handles 
1440x900 and seems to automatically do some scaling(although buggy) to 
utilize the entire screen, resulting in a stretched, blurry, and cropped 
screen for the console.  After some time and playing around, I was about 
to get Xorg to behave and use the native resolution of the monitor.  
When I run vidcontrol -i mode, only 80x25 is displayed for options, 
nothing else.  The "option VESA" doesn't seem to work in STABLE anymore 
so I'm not sure how to be able to get better support.  I'm currently 
running STABLE on amd64.




You also need

options SC_PIXEL_MODE

in your kernel

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


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Jeff D
Matthew,

On 10/30/07, Matthew Seaman <[EMAIL PROTECTED]> wrote:
>
> This is a known problem with the apache22 port.  At the moment it only
> understands about Berkeley DB versions up to 4.4.x -- there's an open
> ticket in the PR system which requests support for versions up to 4.6.x:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116637
>
> Until that gets fixed, use BDB 4.4.x instead.  To make that the default
> version on your system add this to /etc/make.conf:
>
>   WITH_BDB_VER=   44


Thanks for pointing this out.

I'd thought that the port system in Freebsd was assured to be internally
consistent with all other stuff in the system by a central team (QA?).  I
didn't realize that each port was from a different person, and that the
process could get held up for weeks or months.

I guess your advice is what I should do.  I'm a little nervous about undoing
what's already been done, and think I might just start over with db44 to be
safe.

Knowing this now, I guess I should also make a list of the programs and
versions I need, and check each & every one for problems before I start
again.  If something popular like the Apache Web Server has long standing
unresolved issues like this, other programs may too.

A friend is pushing me to use Ubunutu Linux instead, saying that stuff like
this doesn't happen with it, but I'm not so convinced.  After being  'sold'
on the Freebsd ports, it's worth some more reading.

Thanks.

Regards,

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


Re: LaTeX oder teTeX

2007-10-30 Thread Michaël Grünewald
Predrag Punosevac <[EMAIL PROTECTED]> writes:

> ...
> Michaël

I have unintentionally (and automatically) put your address in the `From'
field of my last message. I am sorry for the annoyance.
-- 
All the best,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ncftpput & ncftpget

2007-10-30 Thread Bill Banks

What port should I make to get ncftpput?

--
---
Bill Banks 508-829-2005
Wachusett Programming  Ourweb
http://www.ourweb.net
http://www.ourwebtemplates.com
 



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


Virtualization

2007-10-30 Thread Bart Silverstrim
I was curious with the information coming out regarding FreeBSD 7 what 
option are available for virtualizing other OS's using FreeBSD as a host.


I've been running several servers (Windows of various versions and a 
Linux system) as virtual machines under VMWare Server for Linux for 
about a year now.  I remember there were some problems with trying to 
get FreeBSD to run VMWare previously?


Is anyone virtualizing systems using a FreeBSD host, and if so what are 
you using?  Or is FreeBSD primarily just useful for being a virtual 
guest if it isn't on the physical machine?

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


Re: Dangers of using a non-base shell

2007-10-30 Thread Benjamin M. A'Lee
On Mon, Oct 29, 2007 at 08:50:40PM +, Stephen Allen wrote:
> It's been drawn to my attention not to use bash from the ports collection, 
> because if one of it's dependencies (gettext or libiconv) fails or is 
> updated significantly, it could break, and prevent login. The suggested 
> solution was to use a base shell (such as sh) and append 'bash -l' to .shrc 
> to automatically enter bash.
> 
> The quite annoying side-effect is having to type 'exit' twice to get out of 
> a su shell or screen.
> 
> Would it be a better idea to use the pre-compiled binary for bash?  And if 
> I did so, could I be alerted to updates as easy as using 'pkg_version -v' 
> when checking if any ports need updating?

With some of the shells there's the option to compile them statically,
which would avoid the problem. 

You could possibly also put "bash -l && exit" in your .shrc, which would
exit if bash exited successfully. I haven't tested it, but it should
work.

A precompiled binary wouldn't help, AFAIK, because you still wouldn't be
able to use it if there was a problem with one of the libraries.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ifconfig -- how to remove address and mask?

2007-10-30 Thread Steve Bertrand
[EMAIL PROTECTED] wrote:
> I tried delete, but it only works for *additional* ip addresses added
> using the alias command, not the original, primary one.  I can't
> remember the error message.

Are you specifying the primary IP as an argument to delete? It works
here for me with a primary IP ok:

# ifconfig fxp1 delete 192.168.0.3

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


Re: How to provide fail-over capability for servers?

2007-10-30 Thread Steve Bertrand
> I will have 3 net-facing servers which must be available 24/7.  I had
> planned to have an additional box located in a different building on the
> same site (in case of part power-outage) that will run VMware server and
> host all the fail-over servers.

Is it safe to assume that both boxes, albeit being in different
buildings on the same site are located within the same logical network?

If that is the case, you may want to see if CARP will do what you want:

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

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


Re: ifconfig -- how to remove address and mask?

2007-10-30 Thread Alexey Karguine


On 29.10.2007, at 7:14, [EMAIL PROTECTED] wrote:


running 6.1,

Is there a way to bring an interface down and remove the ipaddr and  
mask?

I've tried ifconfig destroy with no effect, and I'm getting tired of
twiddling rc.conf and rebooting...

The problem arises when testing a new configuration where an existing
interface has an assigned ip addr, and is then changed to be used with
pppoe.  The routine tables get really confused...


You can use something like that:

ifconfig fxp0 inet 10.10.10.1/24 -alias

It will remove address 10.10.10.1/24 from interface fxp0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox crashing

2007-10-30 Thread Frederic Chardon
2007/10/30, Frederic Chardon <[EMAIL PROTECTED]>:
> > -- Message transféré --
> > From: "Neil Munro" <[EMAIL PROTECTED]>
> > To: freebsd-questions@freebsd.org
> > Date: Mon, 29 Oct 2007 12:43:02 +
> > Subject: Firefox crashing
> > Hey, I have recently gotten FreeBSD working for the first time ever. I am
> > very happy with it, however there are a few things I have having trouble
> > getting to work, firefox is my main issue atm, it got installed along with
> > Gnome 2.20 as you would expect however when I tried to run it nothing
> > happened, now while I am new to FreeBSD I am not new to *Nix systems, so I
> > used a tip I picked up from adjusting portupgrade to use BDB4 and ran 'make
> > config' in the firefox ports directory, I enabled logging and debug etc just
> > to see if it could provide any useful output as to what might be the cause
> > of firefox crashing. It worked, and attached is the log of what happens when
> > I try to start Firefox.
> >
> > I am cvsup'ing now and will try recompiling firefox again, see if that makes
> > a difference, but I have been playing with FreeBSD all week and not gotten
> > Firefox to work yet.
> >
> > Thanks
> > Niadh
>
> Hello
> I had problems also to get firefox running, maybe it will help:
> first of all, firefox is very sensitive to optimization options and I
> had to keep conservative flags in make.conf (never had a crash during
> compilation but impossible to launch later)
> second, there is a problem of ownership: the first time you launch it,
> it creates a directory in home directory, but since the directory
> owner is root you don't have read-write access and can't launch as
> user. Try to sudo the first launch to see if it works, if it does
> chmod rw the home/.firefox directory to user (not sure about the name
> of directory, I'm not on my machine now). Maybe the directory is
> created under /root, you must move it to home and chmod it. It worked
> for me, hope it helps.
> Fred
>
I meant chown, but I'm sure you corrected yourself ;-)

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

Re: Dangers of using a non-base shell

2007-10-30 Thread Giorgos Keramidas
On 2007-10-29 20:50, Stephen Allen <[EMAIL PROTECTED]> wrote:
> It's been drawn to my attention not to use bash from the ports
> collection, because if one of it's dependencies (gettext or libiconv)
> fails or is updated significantly, it could break, and prevent
> login. The suggested solution was to use a base shell (such as sh) and
> append 'bash -l' to .shrc to automatically enter bash.
>
> The quite annoying side-effect is having to type 'exit' twice to get
> out of a su shell or screen.
>
> Would it be a better idea to use the pre-compiled binary for bash?
> And if I did so, could I be alerted to updates as easy as using
> 'pkg_version -v' when checking if any ports need updating?

I've been using the following for some time:

keramida> su -
Password: 
root# exec env SHELL=/usr/local/bin/bash bash -l

The same trick works with s/bash/mksh/ or s/bash/pdksh/, as far as I can
tell, and tcsh's history mechanism makes it easy to run the same command
later.  All I have to type is "exec " and hit the arrow-up key :)

The env(1) trick makes sure that sub-shells use bash(1) too, and 'exec'
reduces the number of 'exit' commands I have to type.

Now, if there's a problem with bash(1), I will probably have to su
again, but that's less trouble than being locked out because gettext has
broken, the *default* root shell is bash and _that_ fails all the time.

- Giorgos

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


Re: Dangers of using a non-base shell

2007-10-30 Thread Olivier Nicole
> The quite annoying side-effect is having to type 'exit' twice to get out 
> of a su shell or screen.

It seems that another anoying effect is that it breaks scp(1)

Best regards,

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


Re: Firefox crashing

2007-10-30 Thread Frederic Chardon
> -- Message transféré --
> From: "Neil Munro" <[EMAIL PROTECTED]>
> To: freebsd-questions@freebsd.org
> Date: Mon, 29 Oct 2007 12:43:02 +
> Subject: Firefox crashing
> Hey, I have recently gotten FreeBSD working for the first time ever. I am
> very happy with it, however there are a few things I have having trouble
> getting to work, firefox is my main issue atm, it got installed along with
> Gnome 2.20 as you would expect however when I tried to run it nothing
> happened, now while I am new to FreeBSD I am not new to *Nix systems, so I
> used a tip I picked up from adjusting portupgrade to use BDB4 and ran 'make
> config' in the firefox ports directory, I enabled logging and debug etc just
> to see if it could provide any useful output as to what might be the cause
> of firefox crashing. It worked, and attached is the log of what happens when
> I try to start Firefox.
>
> I am cvsup'ing now and will try recompiling firefox again, see if that makes
> a difference, but I have been playing with FreeBSD all week and not gotten
> Firefox to work yet.
>
> Thanks
> Niadh

Hello
I had problems also to get firefox running, maybe it will help:
first of all, firefox is very sensitive to optimization options and I
had to keep conservative flags in make.conf (never had a crash during
compilation but impossible to launch later)
second, there is a problem of ownership: the first time you launch it,
it creates a directory in home directory, but since the directory
owner is root you don't have read-write access and can't launch as
user. Try to sudo the first launch to see if it works, if it does
chmod rw the home/.firefox directory to user (not sure about the name
of directory, I'm not on my machine now). Maybe the directory is
created under /root, you must move it to home and chmod it. It worked
for me, hope it helps.
Fred
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: is this for OO-2 for FBSD?

2007-10-30 Thread Vince
Gary Kline wrote:
>   I'm in  the middle of upgrading some platforms and just caught
>   OOo_OOG680_m6_source.tar.bz2 (278MB) being downloaded. The port
>   says that this is OO-2.3, but the build says Ishould have
>   11GB of disk and ~2GB of memory.
> 
>   I somehow downloaded OO_2.3 as a package on one platform.  Does
>   this make any sense?  How many of us have 2 gigs of memory?
>   Seems more than a biit irrational to me.  Or did my
>   portupgrade -aP grab the wrong port?
> 
I think the problem is that the build does take so long and so much
resources that the package updates are a bit scarce. The latest I can
see on the mirrors is openoffice.org-2.3.20070910.tbz which doesnt seem
to fit the numbering scheme for the openoffice.org-2 port but does fit
openoffice.org-2-RC which seems a bit odd. I would probably just get the
latest package from the openoffice package site
(ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.3.0/i386/FreeBSD6)
and upgrade manually. As a 7.0 user I had to build my own which took a
while.


Vince

>   gary
> 

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


telnet mydomain.tld 465 ERROR : connection closed

2007-10-30 Thread dhaneshk k


Hi all , pls  hepl me to fix this issue 
 
 
I followed this DOC
 
 
  http://www.purplehat.org/?page_id=8 
 
 
Here while I am testing postfix setup  at this point 
 
telnet localhost 25   :  the  OutPut  obtained as described  as in the tutorial 
in the above link (This test SUCCESSFULL)
 
  BUT for telnet loclhost  465 I cant get the o/p as in tutorial 
 
 
Here what I am able to getfor  telnet localhost 465  
 
 
telnet localhost 465
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.sun.iosn.net.
Escape character is '^]'.
   upto this line oly  I am getting out putnot showing the line  220 
host.domain.tld ESMTP Postfix
 
Q1 :   when I tested with the EHLO test.com  command  telnet connection closed 
immediatelywhy this  ?
 
  this is the o/p   :
 telnet localhost 465
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.sun.iosn.net.
Escape character is '^]'.
EHLO test.com
Connection closed by foreign host.
 
 
I tried to use TELNET machine ip  465  from another machine : then I checke d 
the  maillog  this is the O/P
 this is the o/p   :
 telnet mydomain.tld 465
Trying 63.19.25.1...
Connected to mydomain.net (63.19.25.1).
Escape character is '^]'.
UPTO the above line I am able to get  the O/P (HERE YOU CAN NOTICE the ABSENCE 
OF 220 host.domain.tld ESMTP Postfix ///Here  I tried EHLO test.com as follows 
EHLO test.com
Connection closed by foreign host.  // this wa the result 
 
 
So I analyzed my maillog Its says this 
 
 
 
Oct 30 14:06:21 sun postfix/smtpd[1557]: connect from unknown[63.19.25.1]
Oct 30 14:08:10 sun postfix/smtpd[1557]: SSL_accept error from 
unknown[63.19.25.1]: -1
Oct 30 14:08:10 sun postfix/smtpd[1557]: warning: TLS library problem: 
1557:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown 
protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_srvr.c:580:
Oct 30 14:08:10 sun postfix/smtpd[1557]: lost connection after STARTTLS from 
unknown[63.19.25.1]
Oct 30 14:08:10 sun postfix/smtpd[1557]: disconnect from unknown[63.19.25.1]
  
 
Can you help me what I  made wrong in the configuration  : above there a 
WARNING message  about TLS Library problem 
 
waiting for your kind response 
 
thanks in advance 
KK
_
Check out some new online services at Windows Live Ideas—so new they haven’t 
even been officially released yet.
http://www.msnspecials.in/windowslive/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fetching sources for 6.2-Release including changes ....

2007-10-30 Thread Bill Vermillion
At Tue, Oct 30, 2007 at 08:56 , our malformed and occasionally
flatulent friend [EMAIL PROTECTED] spewed
forth this fount of brain juice:


> Date: Mon, 29 Oct 2007 22:48:00 +
> From: Tino Engel <[EMAIL PROTECTED]>
> Subject: Fetching sources for 6.2-Release including changes from Security 
> Advisories

> Dear all,

> Is there a proper entry in stable-supfile that gives me the opportunity to 
> cvsup the sources from 6.2-RELEASE including security advisories?

> The tag
> *default release=cvs tag=RELENG_6
> is actually not what I want, since I am not looking for 6.3-PRERELEASE

> Best regards, Tino

tag=RELENG_6_2

Bill

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


telnet mydomain.ild 465 : connection closed

2007-10-30 Thread dhaneshk k

Hi all , pls  hepl me to fix this issue 


I followed this DOC


  http://www.purplehat.org/?page_id=8 
 
 
Here while I am testing postfix setup  at this point 
 
telnet localhost 25   :  the  OutPut  obtained as described  as in the tutorial 
in the above link (This test SUCCESSFULL)
 
  BUT for telnet loclhost  465 I cant get the o/p as in tutorial 
 
 
Here what I am able to getfor  telnet localhost 465  
 
 
telnet localhost 465
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.sun.iosn.net.
Escape character is '^]'.
   upto this line oly  I am getting out putnot showing the line  220 
host.domain.tld ESMTP Postfix
 
Q1 :   when I tested with the EHLO test.com  command  telnet connection closed 
immediatelywhy this  ?
 
  this is the o/p   :
 telnet localhost 465
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.sun.iosn.net.
Escape character is '^]'.
EHLO test.com
Connection closed by foreign host.
 
 
I tried to use TELNET machine ip  465  from another machine : then I checke d 
the  maillog  this is the O/P
 this is the o/p   :
 telnet mydomain.tld 465
Trying 63.19.25.1...
Connected to mydomain.net (63.19.25.1).
Escape character is '^]'.
UPTO the above line I am able to get  the O/P (HERE YOU CAN NOTICE the ABSENCE 
OF 220 host.domain.tld ESMTP Postfix ///Here  I tried EHLO test.com as follows 
EHLO test.com
Connection closed by foreign host.  // this wa the result 
 
 
So I analyzed my maillog Its says this 
 
 
 
Oct 30 14:06:21 sun postfix/smtpd[1557]: connect from unknown[63.19.25.1]
Oct 30 14:08:10 sun postfix/smtpd[1557]: SSL_accept error from 
unknown[63.19.25.1]: -1
Oct 30 14:08:10 sun postfix/smtpd[1557]: warning: TLS library problem: 
1557:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown 
protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_srvr.c:580:
Oct 30 14:08:10 sun postfix/smtpd[1557]: lost connection after STARTTLS from 
unknown[63.19.25.1]
Oct 30 14:08:10 sun postfix/smtpd[1557]: disconnect from unknown[63.19.25.1]
  
 
Can you help me what I  made wrong in the configuration  : above there a 
WARNING message  about TLS Library problem 
 
waiting for your kind response 
 
thanks in advance 
KK
 
_
Call friends with PC-to-PC calling -- FREE
http://get.live.com/messenger/overview___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fetching sources for 6.2-Release including changes from Security Advisories

2007-10-30 Thread Peter Boosten
On Mon, October 29, 2007 23:48, Tino Engel wrote:
> Dear all,
>
>
> Is there a proper entry in stable-supfile that gives me the opportunity
> to cvsup the sources from 6.2-RELEASE including security advisories?
>
> The tag
> *default release=cvs tag=RELENG_6
> is actually not what I want, since I am not looking for 6.3-PRERELEASE

*default release=cvs tag=RELENG_6_2

Peter

-- 
http://www.boosten.org

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


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Jeff D wrote:
 
> When I try to install the Apache port in /usr/ports/www/apache22, it errors
> out with
> 
> IGNORED
> Unknown Berkeley DB version

This is a known problem with the apache22 port.  At the moment it only
understands about Berkeley DB versions up to 4.4.x -- there's an open
ticket in the PR system which requests support for versions up to 4.6.x:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116637

Until that gets fixed, use BDB 4.4.x instead.  To make that the default
version on your system add this to /etc/make.conf:

  WITH_BDB_VER=   44

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJuw+3jDkPpsZ+VYRA4rOAJ9zn9QMdCY9BM6VDF1BjLlsEv9dwACfdwTg
h8OP6o+MNYUQibJwfApmhao=
=TfMF
-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]"


Xorg and WSXGA

2007-10-30 Thread Crist J. Clark
I finally dumped the CRT and bought a ridiculusly cheap 20"
LCD monitor. Works great except I'm having problems getting it
to go widescreen and use the full display area.

I followed the instructions of section 5.4.3.2 of the Handbook,

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

But I'm not getting anywhere. The Xorg logs always say,

(II) I810(0): Not using driver mode "1680x1050" (bad mode 
clock/interlace/doublescan)

For the widescreen resolution. The printed documentation with
the monitor says it does 1680x1050 at 65.29 kHz horizontal and
60 Hz vertical, and the probed DDC gives,

(II) I810(0): Modeline "1680x1050"  146.25  1680 1784 1960 2240  1050 
1053 1059 1089 -hsync +vsync
(II) I810(0): Modeline "1680x1050"  146.25  1680 1960 2136 2240  1050 
1053 1059 1089 +hsync -vsync

But I still get the error. Manually adding the numbers to the
xorg.conf gives the same results.

So what do I try next?

Attached are the Xorg.0.log and the xorg.conf. Again, the monitor
works fine in other modes, but I want to use widescreen.

As the probed info from the xorg.conf indicates, the graphics
card is an Intel i810 family. The new monitor is an Envision
G2016wa.

Thanks for any help.
-- 
Crist J. Clark | [EMAIL PROTECTED]

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386 
Current Operating System: FreeBSD goku.pumpky.net 6.2-STABLE FreeBSD 6.2-STABLE 
#0: Fri Feb 16 11:58:12 PST 2007 [EMAIL 
PROTECTED]:/home/cjc/obj/usr/src/sys/GOKU i386
Build Date: 08 August 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 29 08:10:23 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(**) RgbPath set to "/usr/local/share/X11/rgb"
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(II) Loader magic: 0x819e340
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: "pcidata"
(II) Loading /usr/local/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.1
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7124 card 1028,00b4 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7125 card 1028,00b4 rev 03 class 03,00,00 hdr 00
(II) PCI: 00:1e:0: chip 8086,2418 card , rev 02 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,2410 card , rev 02 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,2411 card 8086,2411 rev 02 class 01,01,80 hdr 00
(II) PCI: 00:1f:2: chip 8086,2412 card 8086,2412 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1f:3: chip 8086,2413 card 8086,2413 rev 02 class 0c,05,00 hdr 00
(II) PCI: 01:07:0: chip 1274,1371 card 1274,1371 rev 06 class 04,01,00 hdr 00
(II) PCI: 01:08:0: chip 10b7,9050 card , rev 00 class 02,00,00 hdr 00
(II) PCI: 01:0c:0: chip 10b7,9200 card 1028,00b4 rev 78 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:30:0), (0,1,1), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 1 I/O range:
[0] -1  0   0xe000 - 0xe0ff (0x100) IX[B]
[1] -1  0   0xe400 - 0xe4ff (0x100) IX[B]
[2] -1  0   0xe800 - 0xe8ff (0x100) IX[B]
[3] -1

Re: What's best way to copy a filesystem? [was: Re: slight emergency here...]

2007-10-30 Thread Derek Ragona

At 08:45 PM 10/28/2007, Gary Kline wrote:

On Sun, Oct 28, 2007 at 06:34:22PM -0500, Jon Hamilton wrote:
> Gary Kline <[EMAIL PROTECTED]>, said on Sun Oct 28, 2007 [03:02:03 PM]:
>
> } >   At any rate, how do i as root, single user, cp -rp all of /var to
> } >   elsewhere (/storage) and rmdir /var, them mkdir /var and copy
> } >   everything back?? I've forgotten the cpio magic command.
> } >
> } The nutshelll of this posting could be: What's the best tool
> } to copy a /FILESYSTEM to /storage/FILESYSTEM?
>
> The best tool is the one you use successfully.  If you're really 
talking about

> a whole filesystem, dump and restore may contain the least surprises in
> unusual situations:
>
> $ newfs /dev/whatever
> $ mount /dev/whatever /mnt
> $ cd /dev/whatever
> $ dump 0af - /old_filesystem | restore -rf -
>
> Then delete /mnt/restoresymtable when it's all done.
>
> Of course you can use tar, cpio, cpdup if you have it, or even cp.  At
> different points in time historically some of those have had problems with
> some situations like sparse files, "extra" hard links, symlinks, etc.
>


Seems like I'm running into inode problems I finally
tar'd  /var to a /temp fs, then forgot to do the newfs.  So now
I've got a fs panic.

Hope it isn't a bad drive.

thanks.

gary


I would run the manufacturer's diagnostics on the drive to be sure.  Often 
drives will have a media issue SMART doesn't catch.


-Derek

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


ABI for i386 binaries under FreeBSD-amd64

2007-10-30 Thread David Naylor
Hi,

I have seen that recently on the mailing list there has been a discussion on
running i386 FreeBSD binaries under an amd64 system.  As far as I have been
able to read there does not appear to be anyway of achieving this except
though either a chroot/jail or vitalization.  I think this is a short fall
of FreeBSD currently as there are still proprietary i386 programs for
FreeBSD that people may want to use under FreeBSD.  For me it is the Unreal
Tournament series that all have i386 binaries (running under Linux ABI).  (I
do not think this short fall is of any major significance as the majority of
programs people use can be compiled under ports.  Thank you for such a
wonderful infrastructure, truly a jewel for FreeBSD).

Onto my questions (most appropriate since this is the freebsd-questions
mailing list :-):
1) Is it possible to set up something along the lines of the Linuxulator for
i386 binary support including a ghost file hierarchy under
/compat/freebsd-i386 (or something more appropriate)?  This should not be
too hard as the kernel already has i386 support.
2) Could the above also be extended to give support for running i386 and
amd64 Linux binaries under FreeBSD (with an additional directory hierarchy
under /compat?)?
3) With the appropriate files under /compat would it be reasonably easy to
set up a cross-architecture build system with ports, where all
cross-compiled ports are installed under /compat?

Could someone please add the above ideas to the Project Ideas page provided
they are of sufficient quality.

Thank you for listening to me.

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


Re: Newby Question: What to do when one port can't recognize another port?

2007-10-30 Thread Erich Dollansky

Hi,

there should be a file under

/usr/ports/

called UPGRADING

It contains some hints of changes.

Jeff D wrote:


IGNORED
Unknown Berkeley DB version


Can you configure Apache to use other database systems?

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


Re: Fetching sources for 6.2-Release including changes from Security Advisories

2007-10-30 Thread Beech Rintoul
On Monday 29 October 2007, Tino Engel said:
> Dear all,
>
> Is there a proper entry in stable-supfile that gives me the
> opportunity to cvsup the sources from 6.2-RELEASE including
> security advisories?
>
> The tag
> *default release=cvs tag=RELENG_6
> is actually not what I want, since I am not looking for
> 6.3-PRERELEASE
>
> Best regards, Tino

*default release=cvs tag=RELENG_6_2

cheers,

Beech


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


Re: Fetching sources for 6.2-Release including changes from Security Advisories

2007-10-30 Thread Byung-Hee HWANG
Hi,

On Mon, 2007-10-29 at 22:48 +, Tino Engel wrote:
> Dear all,
> 
> Is there a proper entry in stable-supfile that gives me the opportunity to 
> cvsup the sources from 6.2-RELEASE including security advisories?
> 
> The tag
> *default release=cvs tag=RELENG_6
> is actually not what I want, since I am not looking for 6.3-PRERELEASE

IMHO you should use 'tag=RELENG_6_2' if i understood correctly ;;

Sincerely,

-- 
"I trust these two men with my life. They are my two right arms. I cannot
insult them by sending them away."
-- Vito Corleone, "Chapter 1", page 29
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ifconfig -- how to remove address and mask?

2007-10-30 Thread freebsd

I stand corrected.
  ifconfig  delete
did the job;
destroy is what failed.
Thanks.

I tried delete, but it only works for *additional* ip addresses added 
using the alias command, not the original, primary one.  I can't 
remember the error message.


Yuri Pankov wrote:

On Sun, 2007-10-28 at 21:14 -0700, [EMAIL PROTECTED] wrote:

running 6.1,

Is there a way to bring an interface down and remove the ipaddr and 
mask?

I've tried ifconfig destroy with no effect, and I'm getting tired of
twiddling rc.conf and rebooting...

The problem arises when testing a new configuration where an existing
interface has an assigned ip addr, and is then changed to be used with
pppoe.  The routine tables get really confused...

...

Try  ifconfig  delete.




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


arp: 192.168.1.1 is on lo0 but got reply from...

2007-10-30 Thread Modulok
One of my FreeBSD machines acts as a router, providing shared internet
access via ipfw/natd to the local network. Recently I've been getting
a lot of these in the logs:

arp: 192.168.1.1 is on lo0 but got reply from (someEthernetAddress) on xl1

xl1 is my Internet-facing interface. The address  192.168.1.1 is
configured on the internal interface, xl0 not xl1. The address mapping
for 192.168.1.1 is a permanent entry in the ARP table. 1) After
reading the arp(4) manpage am I to assume that someone on my ISP's
side of things has something terribly mis-configured? 2) If the local
host has a permanent entry for 192.168.1.1, why would it send out an
arp request for an address it already knows (is this normal)?

Just trying to make sure it's not something I screwed up...
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i810 driver problem

2007-10-30 Thread Tino Engel

> I was monkeying around with the xorg.conf.new file and I was able to get
> going X -config   /root/xorg.conf.new. However when
> I cp  /root/xorg.conf.new /etc/X11/xorg.conf.new and startx the X would
> start without clients and then would crush within a second. I could just
> see various colors  all over the place.
I assume you did #cp /root/xorg.conf.new /etc/xorg.conf? 
(not /etc/xorg.conf.new)

Best regards, Tino Engel


pgp5xZ3CRCvVv.pgp
Description: PGP signature


Re: nvidia display driver on amd64

2007-10-30 Thread Yuri Pankov

On Mon, 2007-10-29 at 22:32 +, Tino Engel wrote:
> Dear all,
> 
> Does anyone see any chance to get the nvidia display driver (with OpenGL 
> support) set up on amd64?
> Or someone has even succeded?
> 
> The ports driver tell me they are only for i386, the downloaded driver from 
> nvidia stops with:
> 
> ld: Relocatable linking with relocations from format elf32-i386-freebsd 
> (nv-kernel.o) to format elf64-x86-64 (nvidia.ko) is not supported
> *** Error code 1
> 
> Stop in /usr/root/src/NVIDIA-FreeBSD-x86-1.0-9639/src.
> *** Error code 1
> 
> Stop in /usr/root/src/NVIDIA-FreeBSD-x86-1.0-9639.
> 
> That probaly is the same reason, it is just only for i386.
> 
> So where are the genious porters?
> 
> Best regards, Tino Engel

Yes, binary driver is i386 only. NVIDIA made request for some kernel
features for amd64 driver -
http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
No news yet (or am I mistaken?). You can also read read long (over 2
years old now) thread here
http://www.nvnews.net/vbulletin/showthread.php?t=41545
Be sure to check other similar threads :-)


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


Fw: Best way for a gmirrored gjournal?

2007-10-30 Thread Patrick Hurrelmann
Dear all,

I'm forwarding this message to this lists, as current@ obviously was
the wrong recipient.

I kindly ask you for your ideas and proposals on my questions below.

Regards,
Patrick



Begin forwarded message:

Date: Mon, 22 Oct 2007 19:08:35 +0200
From: Patrick Hurrelmann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Best way for a gmirrored gjournal?


Hi all,

Currently I'm trying to install a new server and need some hints on how
to best configure filesystems using gmirror and gjournal.

The server in question is a amd64 with 512mb of ram and 2x 80gb sata
hdds. So I was thinking of a mount-point layout like the following:

ad0s1
 /   (1gb)
 swap(1gb)
 /var(8gb)
 /tmp(1gb)
 /home   (4gb)
 /usr   (13gb)
 /jails (39gb)
ad0s2
 10gb for journaling

Which would leave a space of 10gb for journaling. I digged through the
mailinglist-archives and man-pages of gmirror and gjournal but all I
ended up with are questions and doubts :)

Now I wanted to create 2 mirrors (gm0s1 and gm0s2). Gmirror gm0s1
containing the slices ad0s1 and ad2s1, while gm0s2 should contain ad0s2
and ad2s2. I created 2 slices, as with the above shown partitioning I
was running out of mount-points for this slice.

Is such a layout reasonable? Or is it stupid to use a dedicated slice
just for journaling and better skip e.g /tmp partition to leave space
for a dedicated journaling partition on this slice? Btw. are 10gb
enough for journaling of 6 partitions? Or do I need one dedicated
partition for journaling each?

If I skip using a separate partition for journaling data, gjournal keeps
telling me that e.g. the root partion of 1gb is too small for
jorunaling. Would it be save to decrease journal size altough man-page
discourages?

What do you people out there suggest? How do you handle systems with
gmirror and gjournal combined? Or even use ZFS although ram is limited
(as the machine will serve up several jails with e.g. postgres)? 

I'm really looking forward to suggestions from you. I intentionally
directed this mail to current@ as I think that here are the most people
around with experience on gjournal. But if I better should direct this
mail to questions@ I'm happy to do so, too.

Best regards,

Patrick

-- 

Patrick Hurrelmann   | "Programming today is a race between software
Mannheim, Germany| engineers striving to build bigger and better
 | idiot-proof programs, and the Universe trying
[EMAIL PROTECTED]   | to produce bigger and better idiots. So far,
www.bytephobia.de| the Universe is winning." - Rich Cook

  /"\
  \ /ASCII Ribbon Campaign
   X   against HTML email & vCards
  / \
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ifconfig -- how to remove address and mask?

2007-10-30 Thread Christopher Cowart
On Sun, Oct 28, 2007 at 09:14:48PM -0700, [EMAIL PROTECTED] wrote:
> running 6.1,
> 
> Is there a way to bring an interface down and remove the ipaddr and mask?
> I've tried ifconfig destroy with no effect, and I'm getting tired of
> twiddling rc.conf and rebooting...

Have you tried `ifconfig fxp0 -alias 192.168.1.10'?

-- 
Chris Cowart
Lead Systems Administrator
Network & Infrastructure Services, RSSP-IT
UC Berkeley


pgp1s3uwpi4uA.pgp
Description: PGP signature


RE: Recommended servers for FreeBSD

2007-10-30 Thread Terry Sposato
On Oct 29, 2007, at 2:15 PM, Byung-Hee HWANG wrote:

> Hello,
>
> On Mon, 2007-10-29 at 12:05 -0500, Eric Crist wrote:
>> On Oct 29, 2007, at 11:04 AM, Byung-Hee HWANG wrote:
>>
>> How do HP servers compare to Dell?  We're Dell fans here, but always
>> willing to look at something better.
>
> I do not know about Dell well. However i *really* want to use Dell  
> if i
> have a chance. I think Dell is also good friend of FreeBSD.
>

If  you're looking for a Dell recommendation, I'll give you one.   
I've had nothing but great luck with them.  So far, all their  
hardware I've tried to use has been supported.  There are rumors that  
their newest systems have gigabit network cards that FreeBSD doesn't  
have a stable driver for, so you're forced to install an Intel or  
other one in one of the available PCI slots.

RAID works great, hot swap and the whole works.  Even the RAID  
battery status comes up in dmesg appropriately.

We tend to use used systems, as we're not in need of the fastest  
systems out there, but we're looking at buying a couple brand-new  
within the next month or so.  If you're interested, trying buying a  
box on eBay (great prices), and you'll be pleasantly surprised.

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


Sorry for the awkward posting but I am at work so hence using a Windows
machine with Outlook.
I have attached a dmesg output of a Dell 2950 machine we recently purchased
and have running flawlessly on FreeBSD amd64 6.2-RELEASE.
Everything works great, didn't have to fiddle around with anything, GENERIC
kernel picked up everything also.

Cheers,

Terry

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


  1   2   >