Re: getpwent bug?

2010-07-22 Thread Jens Rehsack
2010/7/21 Dan Nelson dnel...@allantgroup.com:
 In the last episode (Jul 21), Jens Rehsack said:
 On 07/16/10 18:13, Dan Nelson wrote:

 Hi Dan,

  In the last episode (Jul 16), Jens Rehsack said:
  On 07/16/10 15:07, Dan Nelson wrote:
  In the last episode (Jul 16), Jens Rehsack said:
  Could you please take a look to my other mail (getgrent related) - there
  seems another bug ...
 
  Do you have another one-liner that will reproduce it?  A simple
  /usr/bin/getent group doesn't return dupes for me.  Oddly enough, the
  *grent code doesn't use an internal counter, so the bug you found in
  endpwent doesn't exist in endgrent (afaik; the nsswitch code isn't that
  easy to read).
 
  Not really a one-liner:
  perl -MData::Dumper -e 'setgrent; my %dupchk; while( my ( $name,
  $grpass, $gid, $members ) = getgrent() ) { print $name is returned
  more than once (No $dupchk{$name} comes here)\n if( $dupchk{$name}++
  ); print Dumper( [ $name, $grpass, $gid, $members ] ) };'
 
  setgrent() doesn't work here.
 
  I ran that and got dupes for group entries that exist both in /etc/groups 
  and
  my LDAP source, but that's expected.

 You can see here
 http://www.cpantesters.org/cpan/report/f5100ac6-9418-11df-9ebc-c4a68065c34d
 the typical error picture. FreeBSD is the only system, where this error
 occurs.

 I don't know how to read perl's test output; what part of that report
 failed, and how do you know it was due to getgrent returning duplicate
 values?

Because I know the error picture - I've seen it on my FreeBSD box first.
I probably should add some diag() output for failing tests ...

 BTW - I ran your one-liner above on a SLES 10.2 Linux box and a Solaris 10u7
 box, and got duplicate entries where groups existed in both /etc/groups and
 LDAP, just like on FreeBSD.  I think you may be relying on behaviour that
 getgrent doesn't guarantee on any OS.

But the duplicated entries I get are not duplicated in the source. I sent you my
/var/yp/groups file and the output of my one-liner.

I have no LDAP setup to try out, but in this case my workaround could be a good
idea.

Best regards,
Jens
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Port upgrade problem

2010-07-22 Thread Petre Bandac
Hallo

While upgrading port, I have the following problems:
- some cfg files are overwritten (authdaemon's authmysqlrc)
- some make install options are not kept (maildrop - not compiled against mysql 
and courier imap - fam is compiled, even though initially was ruled out)

The upgrade sequence is:

# portsnap fetch update
# portmanager -u

Am I doing something wrong?

Thank yoy for your time,

petre
-- 

Petre Bandac

Network Scientist

-
pe...@kgb.ro
#
Sent via BlackBerry from Vodafone Romania
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: new jail utility is available. announcement.

2010-07-22 Thread krad
On 22 July 2010 02:16, Adam Vande More amvandem...@gmail.com wrote:

 On Wed, Jul 21, 2010 at 4:52 AM, Aiza aiz...@comclark.com wrote:

 
   Not yet, when I have a spare box I might, although I quite like using
  zfs for jails as you can limit the disk usage dynamically per zfs
  filesystem and I didnt see any support there yet, even basic support
  like there is with ezjail would be nice.
 
 
  Zfs was left out because its over kill. Sparse image jails gives the same
  protection at a 10th of the overhead.


 You didn't factor in slowness due to having a file-backed filesystem.
  While
 probably pretty low, it's definitely there and not good in an io heavy
 jail.  Also, the host will have to mount a UFS based FS, and cache it so
 you're going to have increased memory usage.

 Ideal setup for an io intensive jaill(eg database) is to be bound to
 compressed ZFS file-system, not a sparse image located on such a setup.

 even better when we get zfs v22 as we will have dedup. THat has its own
memory issues though.



 I'm not sure what overhead you're referring too.  If it's hard to tie into
 your application, you are probably correct, but from a host perspective you
 are increasing overhead.

 There are advantages to sparse or raw file as well, it would be nice to
 have
 a choice.

 --
 Adam Vande More
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: system hangs on; Probing devices, please wait (this can take a while)...

2010-07-22 Thread Thomas Mueller
Rich, if you can't get either the installation CD or live-file-system CD to 
boot (FreeBSD), maybe your computer is allergic to FreeBSD?  I've had that
problem with both FreeBSD and NetBSD on the older computer (Cx486DX-2 at
66 MHz; 1.2 GB hard drive).  One thing that could possibly help is if you
could get a custom installation kernel or running kernel, but you'd need
a different computer to build it on.  

Any way to cross-compile a FreeBSD kernel from NetBSD or Linux?  Does anybody
know?  NetBSD guide tells how to make customized installation kernels and
media, but I see nothing like that for FreeBSD.

You might read the sysinstall man page from FreeBSD web site.  Under NOTES

 This product is currently at the end of its life cycle and will eventu-
 ally be replaced.

Under BUGS, toward the end

 This utility is a prototype which lasted several years past its expira-
 tion date and is greatly in need of death.

I guess you and I both agree on this last statement.  I also have to say that
splitting the installation sets into 1392 KB chunks like base.aa, base.ab, 
and so on, is much less user-friendly and more error-prone than one .tgz or
.tbz file for each installation set: base.tgz, etc.tgz, man.tgz and so on.

Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD for intel(r) Xeon(r) Processor X5560

2010-07-22 Thread Debarshi Chakravarti
Hi,
I am interested in having a production grade BIND9 implementation on FreeBSD. 
My hardware is as below

Intel(r) Xeon(r) Processor X5560

I learned from the site that FreeBSD for ia64 is still in TIER2. Can you please 
advise me on the below.


1.  When it will be moved to TIER1.

2.  If I go ahead with the current release what is the risk?

Please note this implementation would be mission critical.


Thanks in advance.

Regards,
Debarshi Chakravarti


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


Re: FreeBSD for intel(r) Xeon(r) Processor X5560

2010-07-22 Thread Olivier Nicole
Hi, 

 Intel(r) Xeon(r) Processor X5560

 I learned from the site that FreeBSD for ia64 is still in TIER2. Can
 you please advise me on the below.

For Intel Xeon, I think you want the amd64 branch. ia64 would be for
Ithanium.

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD for intel(r) Xeon(r) Processor X5560

2010-07-22 Thread krad
On 22 July 2010 10:17, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote:

 Hi,

  Intel(r) Xeon(r) Processor X5560

  I learned from the site that FreeBSD for ia64 is still in TIER2. Can
  you please advise me on the below.

 For Intel Xeon, I think you want the amd64 branch. ia64 would be for
 Ithanium.

 Bests,

 Olivier
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


We run 20+ large dns caches at work running on freebsd 8 (64bit) one dell
2950 with no major problems.

The CPUs are Intel(R) Xeon(R) CPU5140  @ 2.33GHz and have 4gb
ram, so you should be fine.

Just make sure that you limit the size of the caches. I generally leave
about 512 MB for the base os and let the cache use the rest. BIND will only
use 4GB max though (32bit internal memory addressing), although that might
be per cache.

If you use views you might want to look at the attach cache feature, to
boost cache efficiency.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with setting up a mail server

2010-07-22 Thread Ruben de Groot
On Wed, Jul 21, 2010 at 07:35:48PM +0100, krad typed:
 
 while we are on the topic of debugging I would recomend exim as an MTA. I
 manage a few large enterprise mail systems with 10M + active accounts. A lot
 of them are legacy systems that we gained through acquisitions. I generally
 have to support them until we can get the accounts migrated onto the main
 platform. They are a mixture of exim, postfix, qmail, and sendmail, and
 quite often are in a poor state when we first get our hands on them. I have
 to say when you are getting mail routing issues exim is by the far the
 easiest to debug mainly due to the -bt option. When you combine it with the
 debug flag it produced a very detailed output on the mail routing. I have
 never found such a feature in all the other MTA's above.

Actually, the -bt option comes from sendmail originally ;)

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


Re: Install Apache in qjail?

2010-07-22 Thread Ruben de Groot
On Thu, Jul 22, 2010 at 04:58:39AM +0200, Peter Boosten typed:
 On 22-7-2010 2:10, Aiza wrote:
  
  If this apache jail is going to use the standard port 80 to listen on,
  then the host and any other jails can not use that port number.
 
 Nonsense!

Indeed

 Since the IP address assigned to the jail is the only one the jail is
 seeing, Apache will only bind to that IP address. So you can have as
 many jails running Apache on port 80 as you like, because they only will
 bind to the IP address belonging to the jail.
 
 The only 'challenge' will be configuring Apache on the host itself to
 only listen to one IP address, instead of *, which is piece of cake.

Actually, not even that is necessary. A socket on the host bound to INADDR_ANY
is overridden by the more specific IP address in the jail, at least on my 
systems (not using multi IP jails yet, so maybe that's different)

So you can run e.g. sshd on the host and all jails without having to specify
a ListenAddress anywhere. Only thing is that you'll get connected to the host
if sshd in the jail would stop or go down.

Ruben

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


Re: Help with setting up a mail server

2010-07-22 Thread krad
On 22 July 2010 12:26, Ruben de Groot mai...@bzerk.org wrote:

 On Wed, Jul 21, 2010 at 07:35:48PM +0100, krad typed:
 
  while we are on the topic of debugging I would recomend exim as an MTA. I
  manage a few large enterprise mail systems with 10M + active accounts. A
 lot
  of them are legacy systems that we gained through acquisitions. I
 generally
  have to support them until we can get the accounts migrated onto the main
  platform. They are a mixture of exim, postfix, qmail, and sendmail, and
  quite often are in a poor state when we first get our hands on them. I
 have
  to say when you are getting mail routing issues exim is by the far the
  easiest to debug mainly due to the -bt option. When you combine it with
 the
  debug flag it produced a very detailed output on the mail routing. I have
  never found such a feature in all the other MTA's above.

 Actually, the -bt option comes from sendmail originally ;)


yep I know exim is sendmail cli compatible, but the output from sendmail is
not the same on exim (interactive prompt). You can probably get similar
output from sendmail, but with most things sendmail it is archaic and
obfuscated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with setting up a mail server

2010-07-22 Thread Jerry
On Thu, 22 Jul 2010 13:32:36 +0100
krad kra...@googlemail.com articulated:


 yep I know exim is sendmail cli compatible, but the output from sendmail is
 not the same on exim (interactive prompt). You can probably get similar
 output from sendmail, but with most things sendmail it is archaic and
 obfuscated.

With Postfix installed, using sendmail -bv works quite well.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: Install Apache in qjail?

2010-07-22 Thread Ed Flecko
Gentlemen,
Since the ONLY instance of Apache on this box will BE the one I'm
installing in the jail, I should just be able to connect to it by its
IP address...just like any other web server.

Yes? No? Am I missing something?

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Install Apache in qjail?

2010-07-22 Thread Bill Moran
In response to Ed Flecko edfle...@gmail.com:

 Gentlemen,
 Since the ONLY instance of Apache on this box will BE the one I'm
 installing in the jail, I should just be able to connect to it by its
 IP address...just like any other web server.
 
 Yes? No? Am I missing something?

Yes.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: system hangs on; Probing devices, please wait (this can take a while)...

2010-07-22 Thread Ryan Coleman
I agree, but I might start pulling parts and see if it works then. swap video 
cards if you can, etc.

On Jul 22, 2010, at 3:28 AM, Thomas Mueller wrote:

 Rich, if you can't get either the installation CD or live-file-system CD to 
 boot (FreeBSD), maybe your computer is allergic to FreeBSD?  I've had that
 problem with both FreeBSD and NetBSD on the older computer (Cx486DX-2 at
 66 MHz; 1.2 GB hard drive).  One thing that could possibly help is if you
 could get a custom installation kernel or running kernel, but you'd need
 a different computer to build it on.  
 
 Any way to cross-compile a FreeBSD kernel from NetBSD or Linux?  Does anybody
 know?  NetBSD guide tells how to make customized installation kernels and
 media, but I see nothing like that for FreeBSD.
 
 You might read the sysinstall man page from FreeBSD web site.  Under NOTES
 
 This product is currently at the end of its life cycle and will eventu-
 ally be replaced.
 
 Under BUGS, toward the end
 
 This utility is a prototype which lasted several years past its expira-
 tion date and is greatly in need of death.
 
 I guess you and I both agree on this last statement.  I also have to say that
 splitting the installation sets into 1392 KB chunks like base.aa, base.ab, 
 and so on, is much less user-friendly and more error-prone than one .tgz or
 .tbz file for each installation set: base.tgz, etc.tgz, man.tgz and so on.
 
 Tom
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: Help with setting up a mail server

2010-07-22 Thread Odhiambo Washington
On Thu, Jul 22, 2010 at 4:52 PM, Jerry freebsd.u...@seibercom.net wrote:

 On Thu, 22 Jul 2010 13:32:36 +0100
 krad kra...@googlemail.com articulated:


  yep I know exim is sendmail cli compatible, but the output from sendmail
 is
  not the same on exim (interactive prompt). You can probably get similar
  output from sendmail, but with most things sendmail it is archaic and
  obfuscated.

 With Postfix installed, using sendmail -bv works quite well.


With Postfix installed and configured or just installed? I just installed.

[w...@mail ~]$ ls -al /usr/local/sbin/sendmail
-rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
[w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com
postdrop: warning: unable to look up public/pickup: No such file or
directory
Mail Delivery Status Report will be mailed to wash.

[w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com
sendmail: illegal option -- d
sendmail: illegal option -- d
sendmail: fatal: usage: sendmail [options]

[w...@mail ~]$ exim -bt odhia...@gmail.com
odhia...@gmail.com
  router = dnslookup, transport = remote_smtp
  host gmail-smtp-in.l.google.com  [209.85.227.27] MX=5
  host alt1.gmail-smtp-in.l.google.com [74.125.39.27]  MX=10
  host alt2.gmail-smtp-in.l.google.com [74.125.53.27]  MX=20
  host alt3.gmail-smtp-in.l.google.com [74.125.95.27]  MX=30
  host alt4.gmail-smtp-in.l.google.com [74.125.65.27]  MX=40

I cannot post the output that comes with -d here, it's so much that trying
to feed the trawl will get it chocked:-)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
   -- Lucky Dube
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


where is pfm2afm

2010-07-22 Thread Matthias Apitz


Hello,

Is 'pfm2afm' part of some port in /usr/ports? Thanks in advance

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: where is pfm2afm

2010-07-22 Thread Ryan Coleman
It converts Postscript Font files into Adobe Font Manager files.

I've have not a use for it (yet).


On Jul 22, 2010, at 9:39 AM, Matthias Apitz wrote:

 
 
 Hello,
 
 Is 'pfm2afm' part of some port in /usr/ports? Thanks in advance
 
   matthias
 -- 
 Matthias Apitz
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e g...@unixarea.de - w http://www.unixarea.de/
 Solidarity with the zionistic pirates of Israel?   Not in my  name!
 ¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: where is pfm2afm

2010-07-22 Thread Matthias Apitz
El día Thursday, July 22, 2010 a las 09:47:52AM -0500, Ryan Coleman escribió:

 It converts Postscript Font files into Adobe Font Manager files.
 
 I've have not a use for it (yet).

Background of my question is the need of Type 1 font files which cover
most of the European Unicode scripts for the usage in CUPS.

In some FAQ I read:

http://tldp.org/HOWTO/html_single/Font-HOWTO/

9.2. Type 1 Fonts and Metafont
9.2.1. Dealing With Mac and Windows Formats
Many foundries ship fonts with Windows and Mac users in mind. This can
sometimes pose a problem. Typically, the ``Windows fonts'' are fairly
easy to handle, because they are packed in a zip file. The only work to
be done is converting the pfm file to and afm file (using pfm2afm)

That's why the question:

  Is 'pfm2afm' part of some port in /usr/ports? Thanks in advance

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: where is pfm2afm

2010-07-22 Thread Daniel Bye
On Thu, Jul 22, 2010 at 04:57:10PM +0200, Matthias Apitz wrote:
 El día Thursday, July 22, 2010 a las 09:47:52AM -0500, Ryan Coleman escribió:
 
  It converts Postscript Font files into Adobe Font Manager files.
  
  I've have not a use for it (yet).
 
 Background of my question is the need of Type 1 font files which cover
 most of the European Unicode scripts for the usage in CUPS.
 
 In some FAQ I read:
 
 http://tldp.org/HOWTO/html_single/Font-HOWTO/
 
 9.2. Type 1 Fonts and Metafont
 9.2.1. Dealing With Mac and Windows Formats
 Many foundries ship fonts with Windows and Mac users in mind. This can
 sometimes pose a problem. Typically, the ``Windows fonts'' are fairly
 easy to handle, because they are packed in a zip file. The only work to
 be done is converting the pfm file to and afm file (using pfm2afm)
 
 That's why the question:
 
   Is 'pfm2afm' part of some port in /usr/ports? Thanks in advance

print/ghostscript* installs something called pf2afm, which seems to be
the same thing.

Dan

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


pgprZ0wRICco6.pgp
Description: PGP signature


Re: Help with setting up a mail server

2010-07-22 Thread Jerry
On Thu, 22 Jul 2010 17:28:00 +0300
Odhiambo Washington odhia...@gmail.com articulated:

 On Thu, Jul 22, 2010 at 4:52 PM, Jerry freebsd.u...@seibercom.net wrote:
 
  On Thu, 22 Jul 2010 13:32:36 +0100
  krad kra...@googlemail.com articulated:
 
 
   yep I know exim is sendmail cli compatible, but the output from sendmail
  is
   not the same on exim (interactive prompt). You can probably get similar
   output from sendmail, but with most things sendmail it is archaic and
   obfuscated.
 
  With Postfix installed, using sendmail -bv works quite well.
 
 
 With Postfix installed and configured or just installed? I just installed.
 
 [w...@mail ~]$ ls -al /usr/local/sbin/sendmail
 -rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
 [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com
 postdrop: warning: unable to look up public/pickup: No such file or
 directory
 Mail Delivery Status Report will be mailed to wash.
 
 [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com
 sendmail: illegal option -- d
 sendmail: illegal option -- d
 sendmail: fatal: usage: sendmail [options]
 
 [w...@mail ~]$ exim -bt odhia...@gmail.com
 odhia...@gmail.com
   router = dnslookup, transport = remote_smtp
   host gmail-smtp-in.l.google.com  [209.85.227.27] MX=5
   host alt1.gmail-smtp-in.l.google.com [74.125.39.27]  MX=10
   host alt2.gmail-smtp-in.l.google.com [74.125.53.27]  MX=20
   host alt3.gmail-smtp-in.l.google.com [74.125.95.27]  MX=30
   host alt4.gmail-smtp-in.l.google.com [74.125.65.27]  MX=40
 
 I cannot post the output that comes with -d here, it's so much that trying
 to feed the trawl will get it chocked:-)
 
 


For starters, you are using the wrong sendmail. You need to use the
Postfix 'sendmail' version.

$ which sendmail
/usr/sbin/sendmail

I have Postfix installed and running. Sorry, I thought that was obvious.

Typing: man sendmail should show this at the top of the page:

NAME   sendmail - Postfix to Sendmail compatibility interface

If not, then something is configured incorrectly. By the way, in order
to run Postfix, you have to completely shutdown the base system's
'sendmail'

cat /etc/rc.conf

# Shutdown sendmail
sendmail_enable=NO
sendmail_msp_queue_enable=NO
sendmail_outbound_enable=NO
sendmail_submit_enable=NO

#Start Postfix
postfix_enable=YES

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: rmconfig from all ports tree

2010-07-22 Thread Paul Schmehl
--On Thursday, July 22, 2010 02:21:59 +0200 claudiu vasadi 
claudiu.vas...@gmail.com wrote:



Hi Greg,

Thanks for the rmconfig-recursive. I did not know about it.


Nor did I.  And it begs the question - is there a way to find out what all the 
make targets are in /usr/ports?  Is this documented anywhere?


--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead. Thomas Jefferson

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


Re: rmconfig from all ports tree

2010-07-22 Thread Polytropon
On Thu, 22 Jul 2010 12:15:10 -0500, Paul Schmehl pschmehl_li...@tx.rr.com 
wrote:
 And it begs the question - is there a way to find out what all the 
 make targets are in /usr/ports?  Is this documented anywhere?

Yes, man 7 ports, section TARGETS.

-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rmconfig from all ports tree

2010-07-22 Thread Glen Barber

On 7/22/10 1:15 PM, Paul Schmehl wrote:

--On Thursday, July 22, 2010 02:21:59 +0200 claudiu vasadi
claudiu.vas...@gmail.com wrote:


Hi Greg,

Thanks for the rmconfig-recursive. I did not know about it.


Nor did I. And it begs the question - is there a way to find out what
all the make targets are in /usr/ports? Is this documented anywhere?



Hi,

This is documented in ports/Mk/bsd.port.mk - look for the string 
Default targets and their behaviors:.


Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help with setting up a mail server

2010-07-22 Thread RW
On Thu, 22 Jul 2010 13:28:54 -0400
Jerry freebsd.u...@seibercom.net wrote:


 For starters, you are using the wrong sendmail. You need to use the
 Postfix 'sendmail' version.
 
 $ which sendmail
 /usr/sbin/sendmail
 
 I have Postfix installed and running. Sorry, I thought that was
 obvious.
 
 Typing: man sendmail should show this at the top of the page:
 
 NAME   sendmail - Postfix to Sendmail compatibility interface

On FreeBSD /usr/sbin/sendmail is a link to mailwrapper(8), which is a
part of the base system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: system hangs on; Probing devices, please wait (this can take a while)...

2010-07-22 Thread Rich
No I'm not going to start ripping my computer apart because FreeBSD can't deal 
with my hard drive. I think the problem is a shortcoming in FreeBSD where it 
can't deal with drives that have old stale RAID metadata on them. I'm just 
going 
to have to wait until they can. Until then no FreeBSD for me. Back to crappy 
windows.





From: Ryan Coleman ryan.cole...@cwis.biz
To: User Questions freebsd-questions@freebsd.org
Sent: Thu, July 22, 2010 7:19:28 AM
Subject: Re: system hangs on; Probing devices, please wait (this can take a 
while)... 

I agree, but I might start pulling parts and see if it works then. swap video 
cards if you can, etc.

On Jul 22, 2010, at 3:28 AM, Thomas Mueller wrote:

 Rich, if you can't get either the installation CD or live-file-system CD to 
 boot (FreeBSD), maybe your computer is allergic to FreeBSD?  I've had that
 problem with both FreeBSD and NetBSD on the older computer (Cx486DX-2 at
 66 MHz; 1.2 GB hard drive).  One thing that could possibly help is if you
 could get a custom installation kernel or running kernel, but you'd need
 a different computer to build it on.  
 
 Any way to cross-compile a FreeBSD kernel from NetBSD or Linux?  Does anybody
 know?  NetBSD guide tells how to make customized installation kernels and
 media, but I see nothing like that for FreeBSD.
 
 You might read the sysinstall man page from FreeBSD web site.  Under NOTES
 
 This product is currently at the end of its life cycle and will eventu-
 ally be replaced.
 
 Under BUGS, toward the end
 
 This utility is a prototype which lasted several years past its expira-
 tion date and is greatly in need of death.
 
 I guess you and I both agree on this last statement.  I also have to say that
 splitting the installation sets into 1392 KB chunks like base.aa, base.ab, 
 and so on, is much less user-friendly and more error-prone than one .tgz or
 .tbz file for each installation set: base.tgz, etc.tgz, man.tgz and so on.
 
 Tom
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: system hangs on; Probing devices, please wait (this can take a while)...

2010-07-22 Thread Ryan Coleman
Then you can suffer through crappy windows or spend $50 on a hard drive... 


On Jul 22, 2010, at 1:15 PM, Rich wrote:

 No I'm not going to start ripping my computer apart because FreeBSD can't 
 deal 
 with my hard drive. I think the problem is a shortcoming in FreeBSD where it 
 can't deal with drives that have old stale RAID metadata on them. I'm just 
 going 
 to have to wait until they can. Until then no FreeBSD for me. Back to crappy 
 windows.
 
 
 
 
 
 From: Ryan Coleman ryan.cole...@cwis.biz
 To: User Questions freebsd-questions@freebsd.org
 Sent: Thu, July 22, 2010 7:19:28 AM
 Subject: Re: system hangs on; Probing devices, please wait (this can take a 
 while)... 
 
 I agree, but I might start pulling parts and see if it works then. swap video 
 cards if you can, etc.
 
 On Jul 22, 2010, at 3:28 AM, Thomas Mueller wrote:
 
 Rich, if you can't get either the installation CD or live-file-system CD to 
 boot (FreeBSD), maybe your computer is allergic to FreeBSD?  I've had that
 problem with both FreeBSD and NetBSD on the older computer (Cx486DX-2 at
 66 MHz; 1.2 GB hard drive).  One thing that could possibly help is if you
 could get a custom installation kernel or running kernel, but you'd need
 a different computer to build it on.  
 
 Any way to cross-compile a FreeBSD kernel from NetBSD or Linux?  Does anybody
 know?  NetBSD guide tells how to make customized installation kernels and
 media, but I see nothing like that for FreeBSD.
 
 You might read the sysinstall man page from FreeBSD web site.  Under NOTES
 
 This product is currently at the end of its life cycle and will eventu-
ally be replaced.
 
 Under BUGS, toward the end
 
This utility is a prototype which lasted several years past its expira-
tion date and is greatly in need of death.
 
 I guess you and I both agree on this last statement.  I also have to say that
 splitting the installation sets into 1392 KB chunks like base.aa, base.ab, 
 and so on, is much less user-friendly and more error-prone than one .tgz or
 .tbz file for each installation set: base.tgz, etc.tgz, man.tgz and so on.
 
 Tom
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: system hangs on; Probing devices, please wait (this can take a while)...

2010-07-22 Thread Rich
Lol, true.





From: Ryan Coleman ryan.cole...@cwis.biz
To: Rich rl...@pacbell.net
Cc: User Questions freebsd-questions@freebsd.org
Sent: Thu, July 22, 2010 11:50:58 AM
Subject: Re: system hangs on; Probing devices, please wait (this can take a 
while)... 

Then you can suffer through crappy windows or spend $50 on a hard drive... 


On Jul 22, 2010, at 1:15 PM, Rich wrote:

 No I'm not going to start ripping my computer apart because FreeBSD can't 
 deal 

 with my hard drive. I think the problem is a shortcoming in FreeBSD where it 
 can't deal with drives that have old stale RAID metadata on them. I'm just 
going 

 to have to wait until they can. Until then no FreeBSD for me. Back to crappy 
 windows.
 
 
 
 
 
 From: Ryan Coleman ryan.cole...@cwis.biz
 To: User Questions freebsd-questions@freebsd.org
 Sent: Thu, July 22, 2010 7:19:28 AM
 Subject: Re: system hangs on; Probing devices, please wait (this can take a 
 while)... 
 
 I agree, but I might start pulling parts and see if it works then. swap video 
 cards if you can, etc.
 
 On Jul 22, 2010, at 3:28 AM, Thomas Mueller wrote:
 
 Rich, if you can't get either the installation CD or live-file-system CD to 
 boot (FreeBSD), maybe your computer is allergic to FreeBSD?  I've had that
 problem with both FreeBSD and NetBSD on the older computer (Cx486DX-2 at
 66 MHz; 1.2 GB hard drive).  One thing that could possibly help is if you
 could get a custom installation kernel or running kernel, but you'd need
 a different computer to build it on.  
 
 Any way to cross-compile a FreeBSD kernel from NetBSD or Linux?  Does anybody
 know?  NetBSD guide tells how to make customized installation kernels and
 media, but I see nothing like that for FreeBSD.
 
 You might read the sysinstall man page from FreeBSD web site.  Under NOTES
 
 This product is currently at the end of its life cycle and will eventu-
ally be replaced.
 
 Under BUGS, toward the end
 
This utility is a prototype which lasted several years past its expira-
tion date and is greatly in need of death.
 
 I guess you and I both agree on this last statement.  I also have to say that
 splitting the installation sets into 1392 KB chunks like base.aa, base.ab, 
 and so on, is much less user-friendly and more error-prone than one .tgz or
 .tbz file for each installation set: base.tgz, etc.tgz, man.tgz and so on.
 
 Tom
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: system hangs on; Probing devices, please wait (this can take a while)...

2010-07-22 Thread Jerry
On Thu, 22 Jul 2010 11:54:29 -0700 (PDT)
Rich rl...@pacbell.net articulated:

 Lol, true.

Two top posters in succession. My lucky day. In any case, the OP should
NOT have to suffer the agita of being forced to due either. While the
ability do accomplish what the OP desires does not exist ab initio in
FreeBSD, it does not preclude its eventual inclusion.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: Eclipse build fails

2010-07-22 Thread Lowell Gilbert
Caleb Stein caleb.st...@me.com writes:

 the last lines of the output can be found here:
 http://pastebin.com/8VAdvEjH

 How should I fix this?

That's pretty weird; I can't make any sense out of it.
If it were me, I would start by making sure that the dependencies are
all up to date, and start over the eclipse build from scratch.

The build cluster hasn't seen any failures on eclipse lately, for what
that's worth.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Strip high bit from text?

2010-07-22 Thread David Kelly
On Wed, Jul 21, 2010 at 04:03:46PM -0700, Chuck Swiger wrote:
 
  Already use procmail so adding an automatic filter should not be
  difficult if only I can come up with on.
  
  Tried tr \240 ' '  testfile | hd and was not able to change the 0xa0
  into anything. Have already spent much more time trying to make tr or
  sed do the job than it would have taken to knock something out in C, but
  I think there should be something laying around already in the base
  system to perform this task.
  
  Suggestions? Repair the email while procmail has it? Reconfigure mutt 
  and/or vim?
 
 If you've got procmail in the loop already, then calling iconv  as a filter 
 like so:
 
iconv -f utf-8 -t ascii
 
 ...is likely to help.  Another choice would be to switch to using a
 MIME+Unicode/UTF-8 aware mail reader.

Am thinking I initially succumbed to the novice goof of not escaping the
backslash in tr \240 ' '  testfile | hd. Currently have this in my
procmailrc but haven't seen an example come through. For some reason
today my friend's Blackberry is sending 7bit rather than
quoted-printable. He doesn't know why. 

:0 fW
* ^X-MIME-Autoconverted: from quoted-printable to 8bit
| tr '\240' ' '
:0 afW
| formail -I X-Converted: 0xA0 Stripper

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is software update in a working state yet?

2010-07-22 Thread Lowell Gilbert
Jeff Molofee n...@telus.net writes:

 I've noticed software update pop up on the screen quite a bit lately.
 Initially it popped up and did nothing.  Now in 8.1-RC2 it pops up and
 shows me that I actually have updates.  When I click update, it seems
 like it's actually attempting to upgrade the listed packages, but the
 entire process always ends with command 'update-packages' is not
 known.

 Do I have something misconfigured or is it still incomplete?

Pardon my naivete, but:

What is software update? 
It sounds like a GUI-ish thing;
Is it a part of some desktop manager?
Do you know what it uses as a backend?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re:FreeBSD and Broadband network connection

2010-07-22 Thread subbu 4u
Hi,
  My name is Subburaj from India, I bought a broadband internet connection and 
tried to connect with Freebsd system, I edited the /etc/ppp/ppp.conf with my 
username, password and i.p address that my ISP gave me but its not going 
through.  I tried to troubleshoot with freebsd handbook and also with forums 
but 
its not working but my internet connection is working with windows 7 systems.  
The freeBSD were able to detect my ethernet card as vr0 and also my external 
modem is working with freebsd but there is no connection when I ping.  Kindly 
help.

Thank you


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


Re: FreeBSD and Broadband network connection

2010-07-22 Thread Chuck Swiger
Hi, Subburaj--

On Jul 22, 2010, at 10:36 AM, subbu 4u wrote:
  My name is Subburaj from India, I bought a broadband internet connection and 
 tried to connect with Freebsd system, I edited the /etc/ppp/ppp.conf with my 
 username, password and i.p address that my ISP gave me but its not going 
 through.  I tried to troubleshoot with freebsd handbook and also with forums 
 but 
 its not working but my internet connection is working with windows 7 systems. 
  
 The freeBSD were able to detect my ethernet card as vr0 and also my external 
 modem is working with freebsd but there is no connection when I ping.  Kindly 
 help.

It's quite possible that you've got PPPoE involved; in which case the FreeBSD 
docs have the answer:

  http://www.freebsd.org/doc/en/books/handbook/pppoe.html

Otherwise, a few more details about your config and what it looks like when 
working under Win7 would be helpful...

Regards,
-- 
-Chuck

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


How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Ed Flecko
Hi folks,
I have Apache installed in a qjail named webserver (I.P. address
192.168.225.130) using the pkg_add -r apache22 command, but how do
you get Apache (or Bind, etc.) to automatically start upon boot?

I got the jail to start by adding qjail_enable=YES to hosts'
/etc/rc.conf and I also added apache22_enable=YES, but that doesn't
seem to work.

Suggestions?



Also, when I console into the jail, and issue an apachectl start
command, I get the following error:

httpd: apr_sockaddr_info_get() failed for webserver
httpd: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1 for ServerName

I figured out if I add the IP address of the jail as well as
webserver to the jails' hosts file, I can start Apache, but I still
get this error:

httpd: Could not reliably determine the server's fully qualified
domain name, using 192.168.225.130 for ServerName

What am I doing wrong?



Finally, rather than installing Apache using the typical pkg_add -r
apache22 command, is there a way to install Apache using the
./configure script? In MY case, I know the EXACT parameters I want to
pass to the ./configure script (like enabling SSL, etc), but I don't
know how to do this in a jail.

From the jail console, I tried:

cd /usr/ports/www/apache22
./configure --enable-ssl...etc., etc., etc.???

but this doesn't work.

Do I need to do the opposite, i.e., from the HOST console:

./configure --prefix=/PathToJail --enable-ssl...etc., etc., etc???

Thank you!

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ULE scheduler and the WCPU column in top

2010-07-22 Thread Nerius Landys
I have this interesting behavior in the top utility on _both_ my 7.1
and 8.0 FreeBSD servers (updated to latest patches).  The interesting
behavior happens only when my kernel is compiled with the ULE
scheduler.  It does not happen when the kernel uses the old BSD
scheduler.

Here is a link of a screenshot of top on one of my servers:
http://daffy.nerius.com/temp/top.png
The output of top usually looks just like this, at most times of the
day.  The row that worries me is the process ioUrTded.i3 run by the
user urt1, which is reported to be using 1.17% WCPU in the screenshot.
 It's the sixth row down.  The thing that makes no sense is that this
process is in fact using more CPU than any other process on my system,
and I know this as a fact.  The processes that are most active are all
video game servers, and the game server run by the urt1 user is the
most populated with the most going on, by far.  With my kernel
compiled to use the old BSD scheduler, the process run by urt1 is
_always_ the most active as reported by top; the WCPU shows between 30
and 40 percent on this process normally (with the BSD scheduler).

The WCPU percentage on the process owned by urt1 never reaches very
high - it always stays abnormally low as reported by top (with the ULE
scheduler).  The process itself is running just fine and the game
server is very busy.

Any ideas?  Is this a known issue when running the ULE scheduler?  Any
negative impacts that might occur?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Glen Barber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/22/10 6:20 PM, Ed Flecko wrote:
 Hi folks,
 I have Apache installed in a qjail named webserver (I.P. address
 192.168.225.130) using the pkg_add -r apache22 command, but how do
 you get Apache (or Bind, etc.) to automatically start upon boot?
 
 I got the jail to start by adding qjail_enable=YES to hosts'
 /etc/rc.conf and I also added apache22_enable=YES, but that doesn't
 seem to work.
 

You would need to add apache22_enable=YES to the jail's rc.conf, not
the host's.

 Suggestions?
 
 
 
 Also, when I console into the jail, and issue an apachectl start
 command, I get the following error:
 
 httpd: apr_sockaddr_info_get() failed for webserver
 httpd: Could not reliably determine the server's fully qualified
 domain name, using 127.0.0.1 for ServerName
 

Edit httpd.conf, adding a ServerName directive.  (An example exists in
the file, so you can model after that.)  If you don't have a FQDN, use
the jail's hostname, and add that hostname to the jail's /etc/hosts.

 I figured out if I add the IP address of the jail as well as
 webserver to the jails' hosts file, I can start Apache, but I still
 get this error:
 
 httpd: Could not reliably determine the server's fully qualified
 domain name, using 192.168.225.130 for ServerName
 
 What am I doing wrong?
 
 
 
 Finally, rather than installing Apache using the typical pkg_add -r
 apache22 command, is there a way to install Apache using the
 ./configure script? In MY case, I know the EXACT parameters I want to
 pass to the ./configure script (like enabling SSL, etc), but I don't
 know how to do this in a jail.
 

You can build from source if you like, but ports are easier, IMHO.

Have a look here for more information on the ports tree:

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

From the jail console, I tried:
 
 cd /usr/ports/www/apache22
 ./configure --enable-ssl...etc., etc., etc.???
 

'make config' to show the configuration screen; 'make install' to
compile and install.

 but this doesn't work.
 
 Do I need to do the opposite, i.e., from the HOST console:
 
 ./configure --prefix=/PathToJail --enable-ssl...etc., etc., etc???
 

Nope; have a look at the link I pasted above.  I think you might like
the ports tree rather than compiling from source, since all of the hard
work has already been taken care of for you.

Regards,

- -- 
Glen Barber
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxIyKEACgkQeHhHJjlriYVw0QCeMvja3z3manD9lHgBk7VTfocI
iCoAn1F4ycv7P+dPv6GhWpghEIOgOxRm
=wLii
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and Broadband network connection

2010-07-22 Thread Jonathan Chen
On Thu, Jul 22, 2010 at 10:36:27AM -0700, subbu 4u wrote:
 Hi,
   My name is Subburaj from India, I bought a broadband internet connection 
 and 
 tried to connect with Freebsd system, I edited the /etc/ppp/ppp.conf with my 
 username, password and i.p address that my ISP gave me but its not going 
 through.  I tried to troubleshoot with freebsd handbook and also with forums 
 but 
 its not working but my internet connection is working with windows 7 systems. 
  
 The freeBSD were able to detect my ethernet card as vr0 and also my external 
 modem is working with freebsd but there is no connection when I ping.  Kindly 
 help.

If you have an external modem, this will mean that your probably nat'ing
from your modem. ie: your modem establishes the connection with your
ISP.

If this is the case, all you have to do is establish your vr0 network
with your modem, and set it as the default route.

If this is not the case, you will need to provide the list with more
details as to the internal network structure; ie IP addresses, etc.
-- 
Jonathan Chen j...@chen.org.nz
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Ed Flecko
Thanks Glen.

:-)

I'm not clear how I get the 'make config' to show the configuration
screen or the 'make install' to compile and install???

That might allow me to install Apache (with a limited number of
modules) like I want, but I don't understand what you're suggesting.



Also, do you know for sure that compiling from source and specifying
the install target (i.e., ./configure --prefix=/PathToJail
--enable-ssl...etc., etc., etc???) won't work?

Thank you again!

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Glen Barber

On 7/22/10 6:51 PM, Ed Flecko wrote:

Thanks Glen.

:-)

I'm not clear how I get the 'make config' to show the configuration
screen or the 'make install' to compile and install???



Depending on what you've previously done in the www/apache22 directory, 
a configuration may already exist.  'make showconfig' will tell you.  If 
so, you can run 'make rmconfig' in the apache22 port directory, and a 
subsequent 'make config' will display the configuration screen. 
(Actually, I believe www/apache22 does this automatically if a 
configuration doesn't already exist.)



That might allow me to install Apache (with a limited number of
modules) like I want, but I don't understand what you're suggesting.



The config screen will allow you to select/deselect various build-time 
options, such as DAV, AUTH_BASIC, etc.





Also, do you know for sure that compiling from source and specifying
the install target (i.e., ./configure --prefix=/PathToJail
--enable-ssl...etc., etc., etc???) won't work?



It will work, sure, but make(1) and the port Makefile does this for you.


Thank you again!



You're welcome.

Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Glen Barber

On 7/22/10 7:07 PM, Glen Barber wrote:

Also, do you know for sure that compiling from source and specifying
the install target (i.e., ./configure --prefix=/PathToJail
--enable-ssl...etc., etc., etc???) won't work?



It will work, sure, but make(1) and the port Makefile does this for you.



To be clear, you'd need the apache22 source tarball for that to work. 
That isn't in the port directory (/usr/ports/www/apache22).  make(1) in 
the port directory fetches the source tarball when the build starts.\


Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Ed Flecko
Oh, O.K., so I CAN just download the tarball (from
http://httpd.apache.org/), unpack and install it (just like any other
source install) and specify the jail as the target or did I
misinterpret you?

Sorry if I've missed your point!

:-)

Ed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How do you automatically start Apache, Bind, etc. in a jail?

2010-07-22 Thread Glen Barber

On 7/22/10 7:19 PM, Ed Flecko wrote:

Oh, O.K., so I CAN just download the tarball (from
http://httpd.apache.org/), unpack and install it (just like any other
source install) and specify the jail as the target or did I
misinterpret you?



Do it from _inside_ the jail, not from the host.

Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ports INDEX file

2010-07-22 Thread Fbsd8

I have a pristine install  of 8.0.
There is no /usr/ports directory yet.
I am trying to use the portcheckout port and the porteasy port to 
just populate the ports tree with only the ports I use.


Problem is in both cases the above ports require an existing INDEX file 
to process and since I have none they don't work.


How can I just download the ports INDEX file?
Portsnap is not a solution.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports INDEX file

2010-07-22 Thread Tim Daneliuk
On 7/22/2010 8:20 PM, Fbsd8 wrote:
 I have a pristine install  of 8.0.
 There is no /usr/ports directory yet.
 I am trying to use the portcheckout port and the porteasy port to
 just populate the ports tree with only the ports I use.
 
 Problem is in both cases the above ports require an existing INDEX file
 to process and since I have none they don't work.
 
 How can I just download the ports INDEX file?
 Portsnap is not a solution.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

You can use 'csup' to get the ports tree down.  You'll find the
relevant config file (assuming you installed the source tree) at:

/usr/src/share/examples/cvsup


-- 

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: ports INDEX file

2010-07-22 Thread Fbsd8

Tim Daneliuk wrote:

On 7/22/2010 8:20 PM, Fbsd8 wrote:

I have a pristine install  of 8.0.
There is no /usr/ports directory yet.
I am trying to use the portcheckout port and the porteasy port to
just populate the ports tree with only the ports I use.

Problem is in both cases the above ports require an existing INDEX file
to process and since I have none they don't work.

How can I just download the ports INDEX file?
Portsnap is not a solution.
___


You can use 'csup' to get the ports tree down.  You'll find the
relevant config file (assuming you installed the source tree) at:

/usr/src/share/examples/cvsup



Not interested in the ports tree. Just the INDEX file
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports INDEX file

2010-07-22 Thread Benjamin Lee
On 07/22/2010 06:20 PM, Fbsd8 wrote:
 I have a pristine install  of 8.0.
 There is no /usr/ports directory yet.
 I am trying to use the portcheckout port and the porteasy port to
 just populate the ports tree with only the ports I use.
 
 Problem is in both cases the above ports require an existing INDEX file
 to process and since I have none they don't work.
 
 How can I just download the ports INDEX file?
 Portsnap is not a solution.

Well, The INDEX file is a component of the ports tree distribution.  If
you choose not to use the supported method of installing it (i.e.
installing the ports tree), you'll have to create your own.

Hint: Per ports(7), take a look at the definition of the 'fetchindex'
target.


-- 
Benjamin Lee
http://www.b1c1l1.com/



signature.asc
Description: OpenPGP digital signature


Anybody using the portcheckout port

2010-07-22 Thread Fbsd8

Is this port broken?

I can not get it to work.

It gives this message

cvs checkout: No CVSROOT specified! Please use the -d option
Cannot read the INDEX file. Give up

The manpage has no information about any options at all, so have no idea 
how the -d option is to be coded. I do have a /usr/ports/INDEX file so 
don't understand what its complaining about.

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


Re: Anybody using the portcheckout port

2010-07-22 Thread Rob Farmer
On Thu, Jul 22, 2010 at 6:48 PM, Fbsd8 fb...@a1poweruser.com wrote:
 Is this port broken?

 I can not get it to work.

 It gives this message

 cvs checkout: No CVSROOT specified! Please use the -d option
 Cannot read the INDEX file. Give up


I am not familiar with that port, but it looks to be a wrapper for
running cvs to get the port directory (and dependencies) you have
requested, then installing from that. cvs needs either the -d flag or
the CVSROOT environment variable to tell it which CVS repo to checkout
from. There are some examples here:

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

-- 
Rob Farmer

 The manpage has no information about any options at all, so have no idea how
 the -d option is to be coded. I do have a /usr/ports/INDEX file so don't
 understand what its complaining about.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


why do I require WPA in rc.conf even for open networks.

2010-07-22 Thread Eitan Adler
For some reason I can not connect to *any* wireless network regardless
of the connection type unless I have WPA in /etc/rc.conf right
before DHCP. Why would I require this to connect to open networks?

-- 
Eitan Adler
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports INDEX file

2010-07-22 Thread Fbsd8

Benjamin Lee wrote:

On 07/22/2010 06:20 PM, Fbsd8 wrote:

I have a pristine install  of 8.0.
There is no /usr/ports directory yet.
I am trying to use the portcheckout port and the porteasy port to
just populate the ports tree with only the ports I use.

Problem is in both cases the above ports require an existing INDEX file
to process and since I have none they don't work.

How can I just download the ports INDEX file?
Portsnap is not a solution.


Well, The INDEX file is a component of the ports tree distribution.  If
you choose not to use the supported method of installing it (i.e.
installing the ports tree), you'll have to create your own.

Hint: Per ports(7), take a look at the definition of the 'fetchindex'
target.


I see in the source of porteasy that its fetching 
http://www.freebsd.org/ports/INDEX-8.bz2


How can I verify this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Is software update in a working state yet?

2010-07-22 Thread Jeff Molofee

 packagekit... moreso gnome-packagekit

On 7/22/2010 1:23 PM, Lowell Gilbert wrote:

Jeff Molofeen...@telus.net  writes:


I've noticed software update pop up on the screen quite a bit lately.
Initially it popped up and did nothing.  Now in 8.1-RC2 it pops up and
shows me that I actually have updates.  When I click update, it seems
like it's actually attempting to upgrade the listed packages, but the
entire process always ends with command 'update-packages' is not
known.

Do I have something misconfigured or is it still incomplete?

Pardon my naivete, but:

What is software update?
It sounds like a GUI-ish thing;
Is it a part of some desktop manager?
Do you know what it uses as a backend?

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


Re: ports INDEX file

2010-07-22 Thread Matthew Seaman
On 23/07/2010 02:20:02, Fbsd8 wrote:
 I have a pristine install  of 8.0.
 There is no /usr/ports directory yet.
 I am trying to use the portcheckout port and the porteasy port to
 just populate the ports tree with only the ports I use.

I've heard of a few people trying to do things like this, and mostly the
consensus is that's it's more trouble than it's worth.  Good luck.

In order to make your cut-down tree work properly, you'ld have to
maintain custom versions of /usr/ports/Makefile and which ever of the
category Makefiles you use (ie. the Makefiles one level down the tree).

 Problem is in both cases the above ports require an existing INDEX file
 to process and since I have none they don't work.
 
 How can I just download the ports INDEX file?
 Portsnap is not a solution.

You can use my ports-mgmt/p5-FreeBSD-Portindex port to build an INDEX
file -- ideally you should get it to run without complaints about
missing dependencies and such, but if you don't it will do the best it
can to produce something resembling an INDEX.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: ports INDEX file

2010-07-22 Thread Jason

On Fri, Jul 23, 2010 at 06:14:12AM +0100, Matthew Seaman thus spake:

On 23/07/2010 02:20:02, Fbsd8 wrote:

I have a pristine install  of 8.0.
There is no /usr/ports directory yet.
I am trying to use the portcheckout port and the porteasy port to
just populate the ports tree with only the ports I use.




Portcheckout really won't grab all the dependencies that are needed. I've
filed a PR for this.

I wrote up a quick script that has the same output that grabs all the
dependencies. Portcheckout doesn't grab dependencies of dependencies (ie.
make all-depends-list)


I've heard of a few people trying to do things like this, and mostly the
consensus is that's it's more trouble than it's worth.  Good luck.

In order to make your cut-down tree work properly, you'ld have to
maintain custom versions of /usr/ports/Makefile and which ever of the
category Makefiles you use (ie. the Makefiles one level down the tree).


Problem is in both cases the above ports require an existing INDEX file
to process and since I have none they don't work.

How can I just download the ports INDEX file?
Portsnap is not a solution.


You can use my ports-mgmt/p5-FreeBSD-Portindex port to build an INDEX
file -- ideally you should get it to run without complaints about
missing dependencies and such, but if you don't it will do the best it
can to produce something resembling an INDEX.

Cheers,

Matthew

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


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