Re: SMTP Authentication

2009-07-30 Thread Ihor Prystay
Tray telnet to port 25 of your working SMTP server and compare the output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:
 The maillog does not log the sm-mta: AUTH=server action. The functional
 server has the AUTH=server action logged. How do I debug from this
 different?
 
 Reed
 
 From: Reed Lai
 Sent: Thursday, July 30, 2009 11:51 AM
 To: FreeBSD Questions
 Subject: Re: SMTP Authentication
 
 
 The mail client is Windows Live Mail and it work well with the functional
 server. Its SMTP authenication should be ok.
 
 Reed
 
 
 From: Ihor Prystay
 Sent: Thursday, July 30, 2009 10:49 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: SMTP Authentication
 
 
 your working server does support LOGIN mech while other one dosn't.
 I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
 auth, usually it's PLAIN or/and LOGIN.
 
 Ihor
 
 
 
 Reed Lai wrote:
 Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the Sendmail

 banyan# sendmail -d0.1 -bv root
 Version 8.14.2
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
 SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

  SYSTEM IDENTITY (after readcf) 
  (short domain name) $w = banyan
  (canonical domain name) $j = banyan...com
 (subdomain name) $m = ..com
  (node name) $k = banyan...com
 

 root... deliverable: mailer local, user root

 banyan# telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
 +0800 (CST)
 ehlo localhost
 250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250-DSN
 250-ETRN
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
 250-DELIVERBY
 250 HELP

 The Sendmail test seems OK
 But the SMTP authentication does not work from my mail client.

 Reed


 From: Reed Lai
 Sent: Wednesday, July 29, 2009 5:37 PM
 To: freebsd-questions@freebsd.org
 Subject: SMTP Authentication


 Hi,

 I have two freebsd mail servers both configured SMTP authentication:

FreeBSD Handbook 28.10 SMTP Authenticatin
http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

SMTP AUTO in sendmail 8.10-8.13
http://www.sendmail.org/~ca/email/auth.html

 One is functional, and the other one doesn't seem to work. Compare the
 maillogs of the two servers, there is an AUTH=server message appear in
 the
 functional server, but the other one has not.

 The maillog of functional server
 ==
 Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
 [59...147], authid=a660407, mech=LOGIN, bits=0
 Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
 size=1430, class=0, nrcpts=1,
 msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP,
 daemon=IPv4,
 relay=59-...net [59...147]

 The other one
 =
 Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
 arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
 reject=550 5.7.1 reed...@.. Relaying denied
 Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
 size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
 relay=59-...-147.HINET-IP.hinet.net [59...147]

 It seems the other one's smtp authentication is not trigged.

 Please help or tip me for something I forget.

 Thank you!

 Reed

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

Sony DSC Digital Camera

2009-07-30 Thread Christopher Chambers
Hi,

I am able to mount the camera (in 7.1-p6), but I am unable to read the
jpeg images. Varies programs claim that the file is not a valid jpeg.

I found a few pages on the internet discussing how to tell FreeBSD how
to mount the camera. Since I am already able to mount, these do not seem
relevant.

Any ideas?

Regards,
Chris

___
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: Parallel debugging

2009-07-30 Thread Roland Smith
On Wed, Jul 29, 2009 at 09:04:47PM -0400, Daniel Underwood wrote:
 Thanks for the reply.  I should have said that I'm also interested in
 profilers.  I have limited experience (in Linux) using gprof and
 valgrind.

gprof is part of the base system. Valgrind is available in ports, but
only for the i386 architecture.

Personally, I haven't felt the need to use a profiler in at least a
decade. Current machines are so fast that even interpreted languages are
fast enough for a lot of (smaller) programs.

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)


pgpTnAHS6Sf9K.pgp
Description: PGP signature


OpenMP

2009-07-30 Thread Andrea Venturoli

Hello.

I'm trying to use OpenMP in C++ on FreeBSD 6.3p10/i386 and I'm totally
stuck.

First off, base system's gcc (3.4.6) does not include OpenMP support, so
I'm using gcc 4.2.5 from ports (I also tried 4.3.4, but that does not
make much difference).

I've added the flag -fopenmp to the command line: this enables parsing
of #pragma omp directives, but results in undefined references at
compilation time. So I also added -lgomp (although Google suggests it
should be automatically picked up).

Now the program compiles and links fine, but at runtime, as soon as the
#pragmaed function is called, I get again undefined references (to
GOMP_parallel_start, GOMP_parallel_end, omp_get_num_threads and
omp_get_thread_num).

I tried removing the #pragmas (so OpenMP is not used, altough enabled
and linked in), and so I get Bad system call (core dumped) at runtime.
gdb tells me this happens in ksem_init and Google again helps by telling
me I need to put options P1003_1B_SEMAPHORES (from NOTES) in my kernel
config, or kldload sem.

The problem is, all these messages are very old:
_ kldload sem results in No such file or directory;
_ a sysvsem.ko exists in /boot/kernel, but kldload sysvsem results in
File exists (I have in fact options SYSVSEM in my kernel config);
_ my system's NOTES bears no mention of P1003_1B_SEMAPHORES;
_ man sem still reports FreeBSD 6.2 at the bottom.

So I was wondering if these suggestions are still valid, or if something
changed before 6.3 was released; on the other hand, is 6.3 too old and
would upgrading to some newer version solve this matter?

Any other hint or info is appreciated.

 bye  Thanks
av.

___
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: Sony DSC Digital Camera

2009-07-30 Thread Roland Smith
On Wed, Jul 29, 2009 at 11:38:30PM -0700, Christopher Chambers wrote:
 Hi,
 
 I am able to mount the camera (in 7.1-p6), but I am unable to read the
 jpeg images. Varies programs claim that the file is not a valid jpeg.

Can you display it properly on the camera itself? The image could be
corrupted. 
 
 I found a few pages on the internet discussing how to tell FreeBSD how
 to mount the camera. Since I am already able to mount, these do not seem
 relevant.
 
 Any ideas?
 
Most modern cameras do not even support mounting as a mass storage
device, but use the picture transfer protocol. Try the graphics/gphoto2 port.

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)


pgpRoRJgoeI2g.pgp
Description: PGP signature


Re: SMTP Authentication

2009-07-30 Thread Reed Lai

Yes, the new server leaks LOGIN in the 250-AUTH list!

New server
=
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

Functional server
==
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

I have checked the generated .cf file in the new server and there are class 
and option listed


C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

The new server has same configuration to old server, but has not LOGIN in 
the 250-AUTH list.
BTW, the new server has hostname changed once... I don't know if it does 
matter or not..


Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


Tray telnet to port 25 of your working SMTP server and compare the output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:

The maillog does not log the sm-mta: AUTH=server action. The functional
server has the AUTH=server action logged. How do I debug from this
different?

Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
+0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@freebsd.org
Subject: SMTP Authentication


Hi,

I have two freebsd mail servers both configured SMTP authentication:

   FreeBSD Handbook 28.10 SMTP Authenticatin
   http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

   SMTP AUTO in sendmail 8.10-8.13
   http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the
maillogs of the two servers, there is an AUTH=server message appear in
the
functional server, but the other one has not.

The maillog of functional server
==
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
size=1430, class=0, nrcpts=1,
msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP,
daemon=IPv4,
relay=59-...net [59...147]

The other one
=
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
reject=550 5.7.1 reed...@.. Relaying denied
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
relay=59-...-147.HINET-IP.hinet.net [59...147]

It seems the other one's smtp authentication is not trigged.

Please help or tip me for something I forget.

Thank you!

Reed

___
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

Re: SMTP Authentication

2009-07-30 Thread Ihor Prystay
Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
recompile sasl with LOGIN mech support.
Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
make sure 'p' parameter is not on the list or LOGIN would be available
only after TLS encryption which is not a case for you as your working
configuration offers LOGIN during telnet session (it's actually a bad
idea to do authentication clear text).

Ihor


Reed Lai wrote:
 Yes, the new server leaks LOGIN in the 250-AUTH list!
 
 New server
 =
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
 
 Functional server
 ==
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
 
 I have checked the generated .cf file in the new server and there are
 class and option listed
 
 C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
 O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
 
 The new server has same configuration to old server, but has not LOGIN
 in the 250-AUTH list.
 BTW, the new server has hostname changed once... I don't know if it does
 matter or not..
 
 Reed
 
 From: Ihor Prystay
 Sent: Thursday, July 30, 2009 2:35 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: SMTP Authentication
 
 
 Tray telnet to port 25 of your working SMTP server and compare the output.
 Check
 250-AUTH list of supported auth mech
 According to the provided log from the working server it should be LOGIN
 mech available in the list, which is not present on the new server.
 
 Ihor
 
 
 Reed Lai wrote:
 The maillog does not log the sm-mta: AUTH=server action. The functional
 server has the AUTH=server action logged. How do I debug from this
 different?

 Reed

 From: Reed Lai
 Sent: Thursday, July 30, 2009 11:51 AM
 To: FreeBSD Questions
 Subject: Re: SMTP Authentication


 The mail client is Windows Live Mail and it work well with the functional
 server. Its SMTP authenication should be ok.

 Reed


 From: Ihor Prystay
 Sent: Thursday, July 30, 2009 10:49 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: SMTP Authentication


 your working server does support LOGIN mech while other one dosn't.
 I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
 auth, usually it's PLAIN or/and LOGIN.

 Ihor



 Reed Lai wrote:
 Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
 Sendmail

 banyan# sendmail -d0.1 -bv root
 Version 8.14.2
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
 SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

  SYSTEM IDENTITY (after readcf) 
  (short domain name) $w = banyan
  (canonical domain name) $j = banyan...com
 (subdomain name) $m = ..com
  (node name) $k = banyan...com
 

 root... deliverable: mailer local, user root

 banyan# telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
 +0800 (CST)
 ehlo localhost
 250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250-DSN
 250-ETRN
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
 250-DELIVERBY
 250 HELP

 The Sendmail test seems OK
 But the SMTP authentication does not work from my mail client.

 Reed


 From: Reed Lai
 Sent: Wednesday, July 29, 2009 5:37 PM
 To: freebsd-questions@freebsd.org
 Subject: SMTP Authentication


 Hi,

 I have two freebsd mail servers both configured SMTP authentication:

FreeBSD Handbook 28.10 SMTP Authenticatin
http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

SMTP AUTO in sendmail 8.10-8.13
http://www.sendmail.org/~ca/email/auth.html

 One is functional, and the other one doesn't seem to work. Compare the
 maillogs of the two servers, there is an AUTH=server message appear in
 the
 functional server, but the other one has not.

 The maillog of functional server
 ==
 Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
 [59...147], authid=a660407, mech=LOGIN, bits=0
 Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
 size=1430, class=0, nrcpts=1,
 msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP,
 daemon=IPv4,
 relay=59-...net [59...147]

 The other one
 =
 Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
 arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
 reject=550 5.7.1 reed...@.. Relaying denied
 Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
 size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
 relay=59-...-147.HINET-IP.hinet.net [59...147]

 It seems the other one's smtp authentication is not trigged.

 Please help or tip me for something I forget.

 Thank you!

 Reed

 ___
 freebsd-questions@freebsd.org mailing list
 

Re: A port for FireGPG?

2009-07-30 Thread cpghost
On Sat, May 23, 2009 at 04:53:53PM +0200, cpghost wrote:
 On Sat, May 23, 2009 at 12:31:29AM +0200, cpghost wrote:
  Hi,
  
  I'd like to use GnuPG with Webmail (e.g. with gmail or other
  webmails). AFAICS, the following Firefox add-on would help:
  
http://www.getfiregpg.org/
  
  Unfortunately, according to http://www.getfiregpg.org/install.html
  one needs to compile an IPC library (?) out of the firefox3 sources,
  like this:
  
http://blog.getfiregpg.org/2008/10/17/how-to-compile-the-ipc-library/
  
  Is there a port to automate this task, or could someone with the
  necessary skills please create such a port? That would be great!
 
 Just a little follow-up.
 
 Those are the (manual) steps to get libipc compiled on FreeBSD/amd64,
 assuming www/firefox3 is already installed:

Hi,

this is an update for www/firefox35

# cd /usr/ports/www/firefox35
# make configure
# make build

(Be patient, it takes some time)

# cd work/mozilla-1.9.1/extensions

# now fetch libipc (ipc-latest.tar.gz) to /path/to/ipc-latest.zip

(source of ipc-latest.tar.gz is
  https://bugzilla.mozilla.org/attachment.cgi?id=299132)

# tar -xvpf /path/to/ipc-latest.zip
# chown -R root:wheel ipc

(We now have /usr/ports/www/firefox35/work/mozilla-1.9.1/extensions/ipc)

# cd ipc now: /usr/ports/www/firefox35/work/mozilla-1.9.1/extensions/ipc

# ./makemake -r -o .

Here, you need to manually edit (like this):
  Makefile(topsrcdir = ../..)
  build/Makefile  (topsrcdir = ../../..)
  public/Makefile (topsrcdir = ../../..)
  src/Makefile(topsrcdir = ../../..)

# gmake

(This will create libipc.so, ipc.xpt in:
  /usr/ports/www/firefox35/work/mozilla-1.9.1/dist/bin/components)

# cd /usr/ports/www/firefox35/work/mozilla-1.9.1/dist/bin/components
# cp -i libipc.so /usr/local/lib/firefox3/components/
# cp -i ipc.xpt /usr/local/lib/firefox3/components/

(There is no need to install firefox3 again. Only libipc.so and ipc.xpt count)

$ cd ~/.mozilla/firefox/the_firefox_profile
$ touch .autoreg

(And restart firefox3). 

With that, firegpg add-on works flawlessly.

All this can probably be automated with a slave port of www/firefox35.

IMPORTANT: you don't want to use the port www/xpi-firegpg. It is extremely
outdated (firegpg-0.5.2).

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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: port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-30 Thread Pietro Cerutti
On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
 this is a regression
 
 after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
 port lang/g95 gives:
 
 % g95 any fortran file
 g95: installation problem, cannot exec 'f951': No such file or directory

Fixed, thanks.

http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html

 
 I updated g95 with portmaster, so all dependencies should've been
 followed.
 
 What is this f951?
 
 many thanks
 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 928 8233 
 Fax: +44 (0)117 929 4423
 ___
 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

-- 
Pietro Cerutti
The FreeBSD Project
g...@freebsd.org

PGP Public Key:
http://gahr.ch/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: port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-30 Thread Anton Shterenlikht
On Thu, Jul 30, 2009 at 09:43:28AM +0200, Pietro Cerutti wrote:
 On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
  this is a regression
  
  after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
  port lang/g95 gives:
  
  % g95 any fortran file
  g95: installation problem, cannot exec 'f951': No such file or directory
 
 Fixed, thanks.
 
 http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html

thank you, but now there is a linker error:

% g95 somefile
ld: cannot find -lf95

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: A port for FireGPG?

2009-07-30 Thread FireGPG - Maximilien Cuony
Hi,

Great it's working. I just sended a email this mornig to firegpg's port manager 
as 0.5.2 is outdated and with serious security issues. Someone should upgrade 
it ;)

Regards,

On Thursday 30 July 2009, cpghost cpgh...@cordula.ws wrote :
 On Sat, May 23, 2009 at 04:53:53PM +0200, cpghost wrote:
  On Sat, May 23, 2009 at 12:31:29AM +0200, cpghost wrote:
   Hi,
  
   I'd like to use GnuPG with Webmail (e.g. with gmail or other
   webmails). AFAICS, the following Firefox add-on would help:
  
 http://www.getfiregpg.org/
  
   Unfortunately, according to http://www.getfiregpg.org/install.html
   one needs to compile an IPC library (?) out of the firefox3 sources,
   like this:
  
 http://blog.getfiregpg.org/2008/10/17/how-to-compile-the-ipc-library/
  
   Is there a port to automate this task, or could someone with the
   necessary skills please create such a port? That would be great!
 
  Just a little follow-up.
 
  Those are the (manual) steps to get libipc compiled on FreeBSD/amd64,
  assuming www/firefox3 is already installed:

 Hi,

 this is an update for www/firefox35

 # cd /usr/ports/www/firefox35
 # make configure
 # make build

 (Be patient, it takes some time)

 # cd work/mozilla-1.9.1/extensions

 # now fetch libipc (ipc-latest.tar.gz) to /path/to/ipc-latest.zip

 (source of ipc-latest.tar.gz is
   https://bugzilla.mozilla.org/attachment.cgi?id=299132)

 # tar -xvpf /path/to/ipc-latest.zip
 # chown -R root:wheel ipc

 (We now have /usr/ports/www/firefox35/work/mozilla-1.9.1/extensions/ipc)

 # cd ipc now: /usr/ports/www/firefox35/work/mozilla-1.9.1/extensions/ipc

 # ./makemake -r -o .

 Here, you need to manually edit (like this):
   Makefile(topsrcdir = ../..)
   build/Makefile  (topsrcdir = ../../..)
   public/Makefile (topsrcdir = ../../..)
   src/Makefile(topsrcdir = ../../..)

 # gmake

 (This will create libipc.so, ipc.xpt in:
   /usr/ports/www/firefox35/work/mozilla-1.9.1/dist/bin/components)

 # cd /usr/ports/www/firefox35/work/mozilla-1.9.1/dist/bin/components
 # cp -i libipc.so /usr/local/lib/firefox3/components/
 # cp -i ipc.xpt /usr/local/lib/firefox3/components/

 (There is no need to install firefox3 again. Only libipc.so and ipc.xpt
 count)

 $ cd ~/.mozilla/firefox/the_firefox_profile
 $ touch .autoreg

 (And restart firefox3).

 With that, firegpg add-on works flawlessly.

 All this can probably be automated with a slave port of www/firefox35.

 IMPORTANT: you don't want to use the port www/xpi-firegpg. It is extremely
 outdated (firegpg-0.5.2).

 Regards,
 -cpghost.
-- 
FireGPG's team - Maximlien Cuony [The_glu] 
http://getfiregpg.org http://theglu.org


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


Re: SMTP Authentication

2009-07-30 Thread Reed Lai

The liblogin.so is in directory

banyan# ll /usr/local/lib/sasl2/liblogin.so
lrwxr-xr-x  1 root  wheel  13  7 29 14:54 
/usr/local/lib/sasl2/liblogin.so - liblogin.so.2

banyan# ll /usr/local/lib/sasl2/liblogin.so.2
-rwxr-xr-x  1 root  wheel  17172  7 29 14:54 
/usr/local/lib/sasl2/liblogin.so.2


There is only confAUTH_MECHANISMS in .mc file, not confAUTH_OPTIONS

dnl set SASL options
dnl 
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 4:58 PM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
recompile sasl with LOGIN mech support.
Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
make sure 'p' parameter is not on the list or LOGIN would be available
only after TLS encryption which is not a case for you as your working
configuration offers LOGIN during telnet session (it's actually a bad
idea to do authentication clear text).

Ihor


Reed Lai wrote:

Yes, the new server leaks LOGIN in the 250-AUTH list!

New server
=
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

Functional server
==
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

I have checked the generated .cf file in the new server and there are
class and option listed

C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

The new server has same configuration to old server, but has not LOGIN
in the 250-AUTH list.
BTW, the new server has hostname changed once... I don't know if it does
matter or not..

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


Tray telnet to port 25 of your working SMTP server and compare the output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:

The maillog does not log the sm-mta: AUTH=server action. The functional
server has the AUTH=server action logged. How do I debug from this
different?

Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
+0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@freebsd.org
Subject: SMTP Authentication


Hi,

I have two freebsd mail servers both configured SMTP authentication:

   FreeBSD Handbook 28.10 SMTP Authenticatin
   http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

   SMTP AUTO in sendmail 8.10-8.13
   http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the
maillogs of the two servers, there is an AUTH=server message appear in
the
functional server, but the other one has not.

The maillog of functional server
==
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
size=1430, class=0, nrcpts=1,
msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP,
daemon=IPv4,
relay=59-...net [59...147]

The other one
=
Jul 29 17:12:41 banyan sm-mta[2539]: 

FreeBSD (6.4/7.0/7.2) guest OS bootloader not being loaded in Linux KVM. (Ubuntu 9.04)

2009-07-30 Thread Daniel Franke

Hey all,

I've been tasked with installing a KVM machine for a customer.

My problem comes with me wanting to install FreeBSD as a guest in KVM.  
The installer works fine but as soon as I start the VM after the  
installation, the bootloader hangs, sometimes showing one character  
and other times it doesn't show anything. Is this a known problem? Are  
there any workarounds. Is there any place I can check for debug logs.


I use libvert to install and manage my VMs and I installed my VM like  
this:


# virt-install --connect qemu:///system -n freebsd64test -r 1024 -f / 
data/virtual_machines/freebsd64test.qcow2 -s 10 -c 6.4-RELEASE-amd64- 
disc1.iso --vnc --noautoconsole --os-type=unix --os-variant=freebsd6 -- 
network=bridge:br0  --hvm


I also tried without the --hvm flag and with FreeBSD 7.2 and 7.0.

The Ubuntu server is a fully up-to-date 9.04 machine.

Linux  2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC  
2009 x86_64 GNU/Linux


Has anyone else had this problem and/or know a way to fix it.

Thanks in advance,

Daniel
---
Daniel Franke
Quanza Engineering B.V.
Van Diemenstraat 132
1013 CN Amsterdam
E: supp...@quanza.net
T: +31 20 530 1613
F: +31 20 530 1601
W: www.quanza.net



PGP.sig
Description: This is a digitally signed message part


Re: Sony DSC Digital Camera

2009-07-30 Thread Polytropon
On Thu, 30 Jul 2009 09:14:56 +0200, Roland Smith rsm...@xs4all.nl wrote:
 On Wed, Jul 29, 2009 at 11:38:30PM -0700, Christopher Chambers wrote:
  Hi,
  
  I am able to mount the camera (in 7.1-p6), but I am unable to read the
  jpeg images. Varies programs claim that the file is not a valid jpeg.
 
 Can you display it properly on the camera itself? The image could be
 corrupted. 

You could easily check it with

% file /media/camera/*JPG

or even

% identify /media/camera/*JPG

if you've installed the ImageMagick port.



  I found a few pages on the internet discussing how to tell FreeBSD how
  to mount the camera. Since I am already able to mount, these do not seem
  relevant.
  
  Any ideas?
  
 Most modern cameras do not even support mounting as a mass storage
 device, but use the picture transfer protocol. Try the graphics/gphoto2 port.

I have a Canon S3 IS which supports both modes. Check the camera
for its settings.

In fact, the gphoto2 port is an excellent means for dealing with PTP
based cameras. You can use it to download the images off the camera
and then check / view them.


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


LightScribe Labeler

2009-07-30 Thread ajtiM
Hi!

Almost all DVD burners have LightScribe Labeler. Are ther any chance to use 
this on FreeBSD. I red about LightScribe Labeler for Linux but there are 
nothing about FreeBSD.
I have just FreeBSD 7.2 on my system and I use K3b. I am buying a Lite-On 22x 
DVD+/-RW Dual-Layer LightScribe (IDE) and I like to use labeling option too.

Thanks in advance.
-- 
Mitja
-
http://starikarp.redbubble.com
___
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: mutt with muttprofile and GnuPG-Support

2009-07-30 Thread Randall Wood

On Tue, 28 Jul 2009 14:53:47 -0500, Doug Poland d...@polands.org
said:
 
 On Tue, July 28, 2009 11:49, Christian Grube wrote:
  Hi,
 
  I was wondering, why there is no IMAP/SMTP-Support in mutt
  or mutt-devel. I have had mutt-ng and muttprofile on my debianbox
  and it works like a charm.
 
  Is there a small hint for me to provide the same functionality under
  FreeBSD 8?
 
 I've been using mutt-devel for years with IAMP support.  A quick look
 at the Makefile leads me to believe IMAP support is built in and not a
 configurable knob.
 
 
 -- 
 Regards,
 Doug
 

IMAP support is AT LEAST in mutt-devel and probably in mutt as well, and
has been since the 1.3 days (2003 or so).  As for SMTP support, that
appeared around 1.5.17 I think (about a year ago); you might have to use
mutt-devel for it.  That said, I find mutt-devel to be as stable as I
could hope for and never seem to have any problems with it, unlike some
devel packages that can be flaky.  I think if you type mutt -v at the
prompt, it will show you which options were compiled in.
___
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: port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-30 Thread Pietro Cerutti
On 2009-Jul-30, 10:08, Anton Shterenlikht wrote:
 On Thu, Jul 30, 2009 at 09:43:28AM +0200, Pietro Cerutti wrote:
  On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
   this is a regression
   
   after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
   port lang/g95 gives:
   
   % g95 any fortran file
   g95: installation problem, cannot exec 'f951': No such file or directory
  
  Fixed, thanks.
  
  http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html
 
 thank you, but now there is a linker error:
 
 % g95 somefile
 ld: cannot find -lf95

Please set your LIBRARY_PATH environment variable to $prefix/lib.

$ cat test.f90
program hello
  print *,Hello World!
end program hello
$ setenv LIBRARY_PATH /usr/local/lib
$ g95 -o test test.f90
$ ./test
Hello World!


 
 -- 
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 928 8233 
 Fax: +44 (0)117 929 4423
 ___
 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

-- 
Pietro Cerutti
The FreeBSD Project
g...@freebsd.org

PGP Public Key:
http://gahr.ch/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: messed up upgrade 7.0 7.1 to 7.2

2009-07-30 Thread PJ
PJ wrote:
 Roland Smith wrote:
   
 On Wed, Jul 29, 2009 at 01:33:50PM -0400, PJ wrote:
   
 
 I have been struggling for about 4 days trying to prepare 2 computers to
 update to 7.2 with no success whatsoever.
 The more I read the instructions, the less I understand.
 And almost nothing works as it should
 Some background:
 I have been using FreeBSD as a LAN server (for files storage  web
 development/backup etc. and part desktop for more than 10 years. I have
 never had great success when it comes to installation but have managed
 to get it running and have even kept on v. 4.10 for archiving older
 sites I have had.
 The older methods of upgrading worked well enough even though they were
 somewhat lengthy.
 Last week I finally managed to set up an Acer Travelmate 4400 amd64 with
 FreeBSD 7.2 and even got everything right. For the first time I was able
 to get Flash  Shockwave to work on a FreeBSD installation.
 With a bit of help from this list. Thanks, guys.
 However, I have not been able to figure out how a custom kernel could be
 set up nor how the new modular system works. Haven't found any coherent
 explanations.

 But now I have the following problems:
 PROBLEM 1. I freebsd-update fetch did not get the security patches or
 whatever else it should - all I got was error: configuration file not found
 
   
 Does /etc/freebsd-update.conf exist?
  
   
 
 PROBLEM 2. There seems to be some confusion about how to update and keep
 current the ports - portsnap seems to work in concert with portversion;
 there are some problems when one uses portsnap as there are with cvsup.
 The two seem necessary since some errors inn installing cannot be
 handled by both...
 If, for example, it is necessary to delete the port completely and
 reinstall it, portsnap just does not do it. I does not see that the port
 direcotry is empty; cvsup does and fills it in so the error can be
 correcte and the port properly installed.
 
   
 Portsnap only updates the ports tree (the directories under /usr/ports),
 not the installed ports themselves. You'll need either
 /usr/ports/ports-mgmt/portupgrade or /usr/ports/ports-mgmt/portmaster to
 keep installed ports up to date. I prefer portmaster since it doesn't
 depend on a separate database as portupgrade does. Depending on how long
 it has been since you've updated your ports and the speed of your
 machine, updates can indeed take a long time. You could choose to use
 pre-built packages instead of compiling from source, to speed things up.

   
 
 PROBLEM 3. I always have been running with a custom kernel. So, to
 upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went
 through that process as per manual instructions. 
 
   
 Did you check that the GENERIC kernel that you built was installed as
 /boot/kernel/kernel?

   
 
 Had to reboot as I needed to transfer some downloaded files from the
 7.1 box to the 7.0 box for port upgrading.
 
   
 It is unclear to me why you should have to reboot to transfer
 files... If you want to e.g. connect two machines with an ethernet
 cable, are you aware that you can use the scripts in /etc/rc.d to stop
 and restart networking?

 And why not just transfer files with a USB thumbdrive?

   
 
 That was a mistake. Nothing indicated that I could
 not reboot without screwing things up... of course, I should have known
 better; but I'm prone to that kind of error. But I'm pretty sure that
 the automatic upgrade would not have worked anyway as it doesn't work on
 the machine with 7.0 installed.
 
   
 Without a more thorough description of the steps that you followed,
 there is not really a lot others can do to help you. From your
 description it is totally unclear what has gone wrong.

   
 
 Booting on this 7.1 machine is now impossible. I tried to boot from the
 install CD but that only made it worse. As I understood the instruction
 it would upgrade the machine, but I understand now that it just doesn't
 work that way... it has to be upgraded from a 7.2 CD. That I don't have
 at the moment.
 So the boot now just says:
 Invalid format
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 -
 
   
 Type ? at the boot prompt to see a list of files in the root directory
 of the default boot device. Read the boot(8) manual page.

 It could be that something went wrong with your disk. Mabye the slices
 or partitions were deleted.

   
 
 PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried
 # freebsd-update -r 7.2-RELEASE upgrade
 and I get the famous no configuration file found.
 
   
 Does this configuration file (see above) exist? 

   
 
 Somehow, I don't recall that being indicated anywhere in the manual. Oh,
 I did read it... several times... and the more I read it, the more I
 didn't understand anything - from mergemaster to the configuration file
 to the modular kernels ...
 Maybe someone could explain to me just 

Re: mutt with muttprofile and GnuPG-Support

2009-07-30 Thread Andrew Gould
On Thu, Jul 30, 2009 at 6:55 AM, Randall Woodzafir...@gmail.com wrote:

 On Tue, 28 Jul 2009 14:53:47 -0500, Doug Poland d...@polands.org
 said:

 On Tue, July 28, 2009 11:49, Christian Grube wrote:
  Hi,
 
  I was wondering, why there is no IMAP/SMTP-Support in mutt
  or mutt-devel. I have had mutt-ng and muttprofile on my debianbox
  and it works like a charm.
 
  Is there a small hint for me to provide the same functionality under
  FreeBSD 8?
 
 I've been using mutt-devel for years with IAMP support.  A quick look
 at the Makefile leads me to believe IMAP support is built in and not a
 configurable knob.


 --
 Regards,
 Doug


 IMAP support is AT LEAST in mutt-devel and probably in mutt as well, and
 has been since the 1.3 days (2003 or so).  As for SMTP support, that
 appeared around 1.5.17 I think (about a year ago); you might have to use
 mutt-devel for it.  That said, I find mutt-devel to be as stable as I
 could hope for and never seem to have any problems with it, unlike some
 devel packages that can be flaky.  I think if you type mutt -v at the
 prompt, it will show you which options were compiled in.
 ___

I may be misunderstanding the issue with SMTP.  Is the poster just
needing to send email through a non-local email server?  If so, the
port msmtp is very easy to use and works very well with mutt.

Andrew
___
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: OpenMP

2009-07-30 Thread 文鳥
Hello Andrea,

I have no 6.3 box around for testing, but on 7.2 OpenMP works without
problems using base gcc when I compile using -fopenmp, but without
-lgomp. Thus I would suggest upgrading to 7.2 or 8 beta.

Best regards
___
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: mutt with muttprofile and GnuPG-Support

2009-07-30 Thread Frank Steinborn
Andrew Gould wrote:
  IMAP support is AT LEAST in mutt-devel and probably in mutt as well, and
  has been since the 1.3 days (2003 or so).  As for SMTP support, that
  appeared around 1.5.17 I think (about a year ago); you might have to use
  mutt-devel for it.  That said, I find mutt-devel to be as stable as I
  could hope for and never seem to have any problems with it, unlike some
  devel packages that can be flaky.  I think if you type mutt -v at the
  prompt, it will show you which options were compiled in.
  ___
 
 I may be misunderstanding the issue with SMTP.  Is the poster just
 needing to send email through a non-local email server?  If so, the
 port msmtp is very easy to use and works very well with mutt.
 
 Andrew

If mutt-devel is used and compiled WITH_MUTT_SMTP, no outside tool is
needed, mutt can handle SMTP itself then.

Cheers,
Frank
___
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: Striping a live file system RAID 10 help

2009-07-30 Thread John Nielsen
On Wednesday 29 July 2009 15:54:42 Richard Fairbanks wrote:
 OK, so this is what I want to do. I have 4 big fast drives that I want to
 run in RAID 10 (1+0). So, I'll need to mirror two sets of two disks, then
 stripe those two mirrors. So, how do I do this if I want this striped set
 of mirrors to be my entire fs? I can create both mirrors and have the
 entire fs on one of the mirrors (*mirror0*), but then I need to stripe it
 with the other mirrors (*mirror1*), and trying to create a stripe
 (*stripe*) from that a set of mirrors in which one of the mirrors contains
 the live file system does not work, obviously.

 I was thinking, very generally, of creating the fstab file that I'll need
 to point to the stripe instead of ad4 for example, rsyncing everything to a
 disk on a diffferent server, using a live CD to create the stripe, then
 rsyncing back to the stripe. I don't know if this will work, and haven't
 even come to a conclusion of the particulars needed.

When changing disk configurations on the same server I generally do everything 
by hand, then use dump+restore (rather than rsync) to move (UFS) filesystems 
around. (ZFS has zfs send/recv).

 Of course, if there is a way to create the striped set off mirrors before
 installation then installing onto that stripe, that'd be perfect. I don't
 know if that can be done. I'm sure someone has configured a RAID 10
 standalone system before. (Oh, I'm using 7.2). I'm just stuck at this
 point!

You need to consider where/how you are going to boot the system. It's 
straightforward to boot from a gmirror'ed UFS filesystem (the BIOS just uses 
one disk and thinks everything is normal), but you can't do the same from a 
stripe. You will either need a separate disk/device for your / or /boot 
partition or you will need to use slices/partitions on your disks. I 
frequently have the root filesystem on a small gmirror (partitions on 2 
disks) then use the equivalent extra space on the remaining disk(s) for 
swap.

Youi should be able to do this pre-install from the Fixit shell. Boot to the 
live CD, enter the shell, kldload geom_mirror and geom_stripe, create the 
mirrors, create the stripe, exit the shell, start the install, and tell 
sysinstall to use the device node under /dev/stripe for your filesystem.

Alternatively you could just do a regular install to one of the disks and do 
everything post-install. In this case you'd still create two mirrors but one 
of them would only contain a single disk at first. Then create your stripe, 
dump/restore your files, update fstab (in both locations if needed), reboot 
using the stripe, then add the original system disk into its mirror.

If you provide more details of how you want your setup to look I can give you 
a specific walkthrough if needed.

JN
___
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: mutt with muttprofile and GnuPG-Support

2009-07-30 Thread Frank Steinborn
Christian Grube wrote:
 Hi,
 
 I was wondering, why there is no IMAP/SMTP-Support in mutt
 or mutt-devel. I have had mutt-ng and muttprofile on my debianbox
 and it works like a charm.
 Is there a small hint for me to provide the same functionality under
 FreeBSD 8?
 Greetings Chris

For IMAP you don't have to set an extra knob, however, you definitely
want IMAP header caching (WITH_MUTT_IMAP_HEADER_CACHE). For SMTP, you
need to set WITH_MUTT_SMTP. GPG doesn't need an extra knob too.

So to install with the above options set, use in mail/mutt-devel:
make -DWITH_MUTT_IMAP_HEADER_CACHE -DWITH_MUTT_SMTP install clean

See /usr/ports/mail/mutt-devel/Makefile for more options you can set.

BTW, i think the stable Mutt does not support IMAP at all, you'd
have to use an extra fetchmail or whatever. However, virtually
everyone wants to use mutt-devel anyway.

HTH,
Frank
___
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: OpenMP

2009-07-30 Thread Daniel Underwood
Did you add the -fopenmp flag to both the compiler and the linker?
Both need it.
___
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: mutt with muttprofile and GnuPG-Support

2009-07-30 Thread Christian Grube
Hi Andrew,
 I may be misunderstanding the issue with SMTP.  Is the poster just
 needing to send email through a non-local email server?  If so, the
 port msmtp is very easy to use and works very well with mutt.
 
 Andrew
I've changed from Debian (used mutt there) to FreeBSD and it works
very well. My issue was, that i used the .muttrc and some Profiles
in my .mutt ( as example profile.chris, profile.seraphyn, profile.etc..)
with muttprofile to have an allinone-MUA. Using buildin smtp/imap to
use my Server at my hoster, SPAM/Virus etc is made there. OfflineIMAP
for Backup.
But after starting mutt-devel in FreeBSD i get following Errors:
Fehler in /home/seraphyn/.mutt/profile.seraphyn, Zeile 1: file_charset: 
Unbekannte Variable.
Fehler in /home/seraphyn/.mutt/profile.seraphyn, Zeile 13: header_cache: 
Unbekannte Variable.
Fehler in /home/seraphyn/.mutt/profile.seraphyn, Zeile 20: smtp_url: Unbekannte 
Variable.
Fehler in /home/seraphyn/.mutt/profile.seraphyn, Zeile 21: smtp_authenticators: 
Unbekannte Variable.
Fehler in /home/seraphyn/.mutt/profile.seraphyn, Zeile 22: smtp_pass: 
Unbekannte Variable.
 Unbekannte Variable = means not known variable
It is possible for me to spend my time without the file_charset, but the other 
ones gives me some
problems.
Now I've to find out, what patches mutt in debian lenny is using to provide 
them in FreeBSD.
Mutt is much important for me, I dislike any GUI-click-MUAs.
At the moment, I'm using mutt on my Srv ( till now debian driven, would be 
changed soon).
mutt in Debian is 1.15.18 and I saw the patches with mutt -v.
So I've to keep up the good work and will post again after I've changed the 
behaviour to a for
me well known mutt;)
If interrested mutt -v under Debian: http://deveth.pastebin.com/f1f082f38
Doesn't seems to be a problem for me really, hope so;)

Greetings and Thanks
Chris
___
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: port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-30 Thread Anton Shterenlikht
On Thu, Jul 30, 2009 at 03:11:35PM +0200, Pietro Cerutti wrote:
 On 2009-Jul-30, 10:08, Anton Shterenlikht wrote:
  On Thu, Jul 30, 2009 at 09:43:28AM +0200, Pietro Cerutti wrote:
   On 2009-Jul-29, 20:35, Anton Shterenlikht wrote:
this is a regression

after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
port lang/g95 gives:

% g95 any fortran file
g95: installation problem, cannot exec 'f951': No such file or directory
   
   Fixed, thanks.
   
   http://lists.freebsd.org/pipermail/cvs-ports/2009-July/177135.html
  
  thank you, but now there is a linker error:
  
  % g95 somefile
  ld: cannot find -lf95
 
 Please set your LIBRARY_PATH environment variable to $prefix/lib.

thank you

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: mutt with muttprofile and GnuPG-Support

2009-07-30 Thread Frank Steinborn
Christian Grube wrote:
 It is possible for me to spend my time without the file_charset, but the 
 other ones gives me some
 problems.
 Now I've to find out, what patches mutt in debian lenny is using to provide 
 them in FreeBSD.
 Mutt is much important for me, I dislike any GUI-click-MUAs.
 At the moment, I'm using mutt on my Srv ( till now debian driven, would be 
 changed soon).
 mutt in Debian is 1.15.18 and I saw the patches with mutt -v.
 So I've to keep up the good work and will post again after I've changed the 
 behaviour to a for
 me well known mutt;)
 If interrested mutt -v under Debian: http://deveth.pastebin.com/f1f082f38
 Doesn't seems to be a problem for me really, hope so;)

Christian,

please read my reply to you, i guess it's all explained there...

Cheers,
Frank
___
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: Striping a live file system RAID 10 help

2009-07-30 Thread chris scott
2009/7/30 John Nielsen li...@jnielsen.net

 On Wednesday 29 July 2009 15:54:42 Richard Fairbanks wrote:
  OK, so this is what I want to do. I have 4 big fast drives that I want to
  run in RAID 10 (1+0). So, I'll need to mirror two sets of two disks, then
  stripe those two mirrors. So, how do I do this if I want this striped set
  of mirrors to be my entire fs? I can create both mirrors and have the
  entire fs on one of the mirrors (*mirror0*), but then I need to stripe it
  with the other mirrors (*mirror1*), and trying to create a stripe
  (*stripe*) from that a set of mirrors in which one of the mirrors
 contains
  the live file system does not work, obviously.
 
  I was thinking, very generally, of creating the fstab file that I'll need
  to point to the stripe instead of ad4 for example, rsyncing everything to
 a
  disk on a diffferent server, using a live CD to create the stripe, then
  rsyncing back to the stripe. I don't know if this will work, and haven't
  even come to a conclusion of the particulars needed.

 When changing disk configurations on the same server I generally do
 everything
 by hand, then use dump+restore (rather than rsync) to move (UFS)
 filesystems
 around. (ZFS has zfs send/recv).

  Of course, if there is a way to create the striped set off mirrors before
  installation then installing onto that stripe, that'd be perfect. I don't
  know if that can be done. I'm sure someone has configured a RAID 10
  standalone system before. (Oh, I'm using 7.2). I'm just stuck at this
  point!

 You need to consider where/how you are going to boot the system. It's
 straightforward to boot from a gmirror'ed UFS filesystem (the BIOS just
 uses
 one disk and thinks everything is normal), but you can't do the same from a
 stripe. You will either need a separate disk/device for your / or /boot
 partition or you will need to use slices/partitions on your disks. I
 frequently have the root filesystem on a small gmirror (partitions on 2
 disks) then use the equivalent extra space on the remaining disk(s) for
 swap.

 Youi should be able to do this pre-install from the Fixit shell. Boot to
 the
 live CD, enter the shell, kldload geom_mirror and geom_stripe, create the
 mirrors, create the stripe, exit the shell, start the install, and tell
 sysinstall to use the device node under /dev/stripe for your filesystem.

 Alternatively you could just do a regular install to one of the disks and
 do
 everything post-install. In this case you'd still create two mirrors but
 one
 of them would only contain a single disk at first. Then create your stripe,
 dump/restore your files, update fstab (in both locations if needed), reboot
 using the stripe, then add the original system disk into its mirror.

 If you provide more details of how you want your setup to look I can give
 you
 a specific walkthrough if needed.

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


one thing i find invaluable whan doing fancy disk installs is my bootable
use stick with a full bsd installation on it. Much nicer than fixit. Also if
the kit is in the data center it means I can ssh into the box rather than
having to sit in there

I used the howto below to set up the stick

http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2

ive also used this to do zfs boot
zfsboot install
http://wiki.freebsd.org/ZFSOnRootWithZFSboot#installFreeBSD

If you dont want to do a zfs one and use gstripe on top of gmirror but dont
want to partition up all the drives you could of course leave the use stick
in permanently, and have the root fs on there. Just make sure fs that take
lots of writes dont reside on the stick ie /tmp /var

Also when you create your file systems make sure you label them with newfs's
-L flag. It can make the devices you need to mount slightly easier to use.

Also consider the use of gjournal as it could save you a lot of time with
not having to fsck large file systems
___
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: Parallel debugging

2009-07-30 Thread Daniel Underwood
 Valgrind is rather hopeless on fbsd for multithreaded programs

Interesting. Thanks for the note.
___
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: Parallel debugging

2009-07-30 Thread Nikolaj Thygesen

Roland Smith wrote:

gprof is part of the base system. Valgrind is available in ports, but
only for the i386 architecture.

Roland
  
Unfortunately, Valgrind is rather hopeless on fbsd for multithreaded 
programs. I had to resort to using Ubuntu when Valgrinding.


   N :o)
___
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: Evolution 2.24.5 Exchange can't Subscribe to Other user's Calendar

2009-07-30 Thread Matthias Apitz
El día Saturday, July 25, 2009 a las 08:30:16AM -0400, Charles Oppermann 
escribió:

 $ nslookup -type=SRV '_kerberos._udp.oa.OCLC.ORG'
 Server: yyy.yyy.yyy.yyy
 Address:yyy.yyy.yyy.yyy#53
 
 Non-authoritative answer:
 _kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc5server.oa.oclc.org.
 _kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc01ewbe.oa.oclc.org.
 _kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc1server.oa.oclc.org.
 _kerberos._udp.oa.OCLC.ORG  service = 0 100 88 oadc2server.oa.oclc.org.
 ...
 
 Why Evo is asking for '_kerberos._udp.OCLC.ORG' and not for 
 '_kerberos._udp.oa.OCLC.ORG'

 Active Directory LDAP schemes can be mis-configured and yet still appear 
 to work.  Check earlier to see if Evolution or PAM (if you're using 
 PAM), was given oa.oclc.org or just oclc.org.
 
 What domain are you in?  It's possible that Evolution assumes that SMTP 
 address reflects your domain.  If you are in the OA domain, it should 
 not hurt to list your address as x...@oa.oclc.org.  Mail sent to 
 x...@oclc.org will still find you, and you can set the reply-to: header 
 field to x...@oclc.org.
 
 I have this issue at work, as for testing purposes my email address is 
 currently chuc...@exchange.microsoft.com, but the alias 
 chuc...@microsoft.com works as well.  But my email client keeps wanting 
 to send @exchange.microsoft.com which confuses my friends into thinking 
 my email address has changed.
 
 Good luck and let us know.

Here is what I got from the Exchange server Admin:

«Mattias,
I am still looking into this issue. Your settings are correct in
Evolution. This appears to be an issue with Evolution itself
based on my testing and the information I found on Google»

Do you want to see the screens of my mail settings in Evolution,
Charles?

Thx

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/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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 to boot or access problem file system

2009-07-30 Thread PJ
What can be done to access a file system that seems to have the boot
sector screwed up?
The /usr files should be ok but how to access?
I get errors that the file system is full and I have no idea of how to
deal with the boot up - the help message is no help!
Boot says it cannot find a kernel... surely there must be some kind of
recovery process even if nothing has been backed up. Surely FreeBSD must
be have something that functions like certain software does on MS ?
I don't have a problem with irrecoverable files, I would just finally
understand how things work and what can be done on FBSD.
TIA.
PJ

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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: limit to number of files seen by ls?

2009-07-30 Thread Karl Vogel
 Karl Vogel wrote:

K The main reason I stick with 1000 is because directories are read
K linearly unless you're using something like ReiserFS...

 On Sun, 26 Jul 2009 08:34:50 +0100, 
 Matthew Seaman m.sea...@infracaninophile.co.uk said:

M You mean filesystems like FreeBSD UFS2 with DIRHASH?  The problem with
M linear time scanning of directory contents has been solved for awhile...

   Sure, that's why I said something like.  Not everyone is using the
   latest and greatest, especially if you have anything to do with the
   public sector.  It's not unusual to see people using servers that
   are 8-10 years old and run around the clock, and they can't upgrade
   because they're not allowed the downtime.

   I'm not saying we should act like everyone's using the moral equivalent
   of FreeBSD 2.2.7.  I am saying that if you have a design decision to
   make, you'll solve more problems than you cause if you add the extra
   2-3 lines of code to hash a huge directory into several smaller ones.

-- 
Karl Vogel  I don't speak for the USAF or my company

Since we have to speak well of the dead, let's knock them while they're alive.
 --John Sloan
___
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: Evolution 2.24.5 Exchange can't Subscribe to Other user's Calendar

2009-07-30 Thread Charles Oppermann
 Do you want to see the screens of my mail settings in Evolution, Charles?

Sure.  Have you tried setting up Evolution using the x...@oa.oclc.org
variant of your address?

___
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 to boot or access problem file system

2009-07-30 Thread Tim Judd
On 7/30/09, PJ af.gour...@videotron.ca wrote:
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 The /usr files should be ok but how to access?
 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!
 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. Surely FreeBSD must
 be have something that functions like certain software does on MS ?
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 TIA.
 PJ


That's when the livefs comes to the rescue -- if you cannot boot at all

Otherwise single-user boot works most of the time
___
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: SMTP Authentication

2009-07-30 Thread Ihor Prystay
You may check the location of sasl2 lib which sendmail is compiled with
- do ldd on sendmail executable. And verify if Sendmail.conf in the
sasl2 lib folder doesn't have any restrictions on available mechs.

Ihor



Reed Lai wrote:
 The liblogin.so is in directory
 
 banyan# ll /usr/local/lib/sasl2/liblogin.so
 lrwxr-xr-x  1 root  wheel  13  7 29 14:54
 /usr/local/lib/sasl2/liblogin.so - liblogin.so.2
 banyan# ll /usr/local/lib/sasl2/liblogin.so.2
 -rwxr-xr-x  1 root  wheel  17172  7 29 14:54
 /usr/local/lib/sasl2/liblogin.so.2
 
 There is only confAUTH_MECHANISMS in .mc file, not confAUTH_OPTIONS
 
 dnl set SASL options
 dnl 
 TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 
 Reed
 
 From: Ihor Prystay
 Sent: Thursday, July 30, 2009 4:58 PM
 To: FreeBSD Question
 Subject: Re: SMTP Authentication
 
 
 Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
 recompile sasl with LOGIN mech support.
 Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
 make sure 'p' parameter is not on the list or LOGIN would be available
 only after TLS encryption which is not a case for you as your working
 configuration offers LOGIN during telnet session (it's actually a bad
 idea to do authentication clear text).
 
 Ihor
 
 
 Reed Lai wrote:
 Yes, the new server leaks LOGIN in the 250-AUTH list!

 New server
 =
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

 Functional server
 ==
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

 I have checked the generated .cf file in the new server and there are
 class and option listed

 C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
 O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

 The new server has same configuration to old server, but has not LOGIN
 in the 250-AUTH list.
 BTW, the new server has hostname changed once... I don't know if it does
 matter or not..

 Reed

 From: Ihor Prystay
 Sent: Thursday, July 30, 2009 2:35 PM
 To: freebsd-questions@freebsd.org
 Subject: Re: SMTP Authentication


 Tray telnet to port 25 of your working SMTP server and compare the
 output.
 Check
 250-AUTH list of supported auth mech
 According to the provided log from the working server it should be LOGIN
 mech available in the list, which is not present on the new server.

 Ihor


 Reed Lai wrote:
 The maillog does not log the sm-mta: AUTH=server action. The functional
 server has the AUTH=server action logged. How do I debug from this
 different?

 Reed

 From: Reed Lai
 Sent: Thursday, July 30, 2009 11:51 AM
 To: FreeBSD Questions
 Subject: Re: SMTP Authentication


 The mail client is Windows Live Mail and it work well with the
 functional
 server. Its SMTP authenication should be ok.

 Reed


 From: Ihor Prystay
 Sent: Thursday, July 30, 2009 10:49 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: SMTP Authentication


 your working server does support LOGIN mech while other one dosn't.
 I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
 auth, usually it's PLAIN or/and LOGIN.

 Ihor



 Reed Lai wrote:
 Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
 Sendmail

 banyan# sendmail -d0.1 -bv root
 Version 8.14.2
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
 SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

  SYSTEM IDENTITY (after readcf) 
  (short domain name) $w = banyan
  (canonical domain name) $j = banyan...com
 (subdomain name) $m = ..com
  (node name) $k = banyan...com
 

 root... deliverable: mailer local, user root

 banyan# telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009
 21:19:40
 +0800 (CST)
 ehlo localhost
 250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250-DSN
 250-ETRN
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
 250-DELIVERBY
 250 HELP

 The Sendmail test seems OK
 But the SMTP authentication does not work from my mail client.

 Reed


 From: Reed Lai
 Sent: Wednesday, July 29, 2009 5:37 PM
 To: freebsd-questions@freebsd.org
 Subject: SMTP Authentication


 Hi,

 I have two freebsd mail servers both configured SMTP authentication:

FreeBSD Handbook 28.10 SMTP Authenticatin
http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

SMTP AUTO in sendmail 8.10-8.13
http://www.sendmail.org/~ca/email/auth.html

 One is functional, and the other one doesn't seem to work. Compare the
 maillogs of the two servers, there is an AUTH=server message appear in
 the
 functional server, but the other one has not.

 The maillog of functional server
 ==
 Jul 29 16:15:10 

Re: how to boot or access problem file system

2009-07-30 Thread Roland Smith
On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:
 What can be done to access a file system that seems to have the boot
 sector screwed up?

Do you mean the filesystem's superblock? Or the slice table (partitions
in PC parlance) or the freebsd partitions (disk labels)? Because the
boot sector is not part of any filesystem. 

The best way to try repairs is to make a complete copy of the partition
with dd(1), and experiment on the copy. That way you cannot further screw
up the original!

To check a UFS filesystem, use fsck_ffs(8). First, try if the preen
option '-p' is sufficient to fix the filesystem. If the superblock is
corrupt, try using the -b option to specify an alternate superblock. See
the manual page.

 The /usr files should be ok but how to access?

Use fsck_ffs to try and repair the filesystem.

 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!
 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. Surely FreeBSD must
 be have something that functions like certain software does on MS ?

Maybe the sleuth kit (sysutils/sleuthkit) can help you recover files. 

 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.

Make regular backups. Especially before big upgrades.

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)


pgpmhLAxjoNfi.pgp
Description: PGP signature


Re: how to boot or access problem file system

2009-07-30 Thread PJ
Roland Smith wrote:
 On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:
   
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 

 Do you mean the filesystem's superblock? Or the slice table (partitions
 in PC parlance) or the freebsd partitions (disk labels)? Because the
 boot sector is not part of any filesystem. 

 The best way to try repairs is to make a complete copy of the partition
 with dd(1), and experiment on the copy. That way you cannot further screw
 up the original!

 To check a UFS filesystem, use fsck_ffs(8). First, try if the preen
 option '-p' is sufficient to fix the filesystem. If the superblock is
 corrupt, try using the -b option to specify an alternate superblock. See
 the manual page.

   
 The /usr files should be ok but how to access?
 

 Use fsck_ffs to try and repair the filesystem.
   
how can I use it if I can't boot or access the file system?
 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!
 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. Surely FreeBSD must
 be have something that functions like certain software does on MS ?
 

 Maybe the sleuth kit (sysutils/sleuthkit) can help you recover files. 
   
How would that be? I can't access the disk or the file system and I
can't boot
   
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 

 Make regular backups. Especially before big upgrades.
   
Maybe the real problem is that the manual is too screwed up (why are
there so many problems being brought up on the mailing lists? we can't
all be that stupid.)
 Roland
   


-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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 to boot or access problem file system

2009-07-30 Thread PJ
Tim Judd wrote:
 On 7/30/09, PJ af.gour...@videotron.ca wrote:
   
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 The /usr files should be ok but how to access?
 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!
 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. Surely FreeBSD must
 be have something that functions like certain software does on MS ?
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 TIA.
 PJ
 


 That's when the livefs comes to the rescue -- if you cannot boot at all

 Otherwise single-user boot works most of the time
   
how does livefs come into the picture here? What is it? How do you use it?

Single-user? if the kernel is not accessible, how do I boot?


-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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 to boot or access problem file system

2009-07-30 Thread Michael Powell
PJ wrote:

 What can be done to access a file system that seems to have the boot
 sector screwed up?

Usually there are more than 1 file system present. The MBR will have no 
bearing on any other than the one you need to boot from, and this is usually 
the / - aka root. Having a screwed up MBR will only prevent a boot and 
generally shouldn't change or cause any corruption to the other file 
systems. Caveat being what occurred that produced the situation in the first 
place.

Look in here for a list of .iso files:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/

There are the boot-only and a livefs images available. The boot-only would 
be used for a network installation. What you want is the livefs image. 
Download and burn to a CD.

 The /usr files should be ok but how to access?

Boot from the LiveFS CD. There will be a very basic minimum system present 
that contains some tools which may be useful. Once booted you should be able 
to mount the problematic file systems from the hard disk and possibly make 
repairs. It is probably best to utilize the same version as the OS you are 
trying to repair.

 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!

It may be that you need to locate something you can delete so that the file 
system is now un-full. 

 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. 

There are recovery processes available, but mostly this involves a 
knowledgeable sysadmin and not some magic bullet automated software. This 
skill requires an in-depth understanding of how the OS functions, and this 
can take a while to learn. Along with making some mistakes along the way to 
have something with which to practice on.   :-)

 Surely FreeBSD must
 be have something that functions like certain software does on MS ?

Why would FreeBSD be concerned with being like $MS? Going down this path is 
a waste of time. Forget the $MS and learn the FreeBSD. The learning curve is 
initially very steep if all you've ever known is $MS, but if you plug away 
at it you will at some point crest the hill and have a light bulb goes on 
moment where all of the sudden a lot of disparate material solidifies into 
something cohesive.  

 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 TIA.
 PJ

Not knowing more details can lead to dangerous advice in this kind of 
situation. It may be something as simple as boot0cfg -B -d 0 is all you 
need. Blindly giving and following such advice without knowing all the 
circumstances may quickly escalate into disaster. An example would be 
something like you are triple booting 3 different OS's with Grub and us not 
knowing that.

You should probably read the man pages for fdisk, disklabel, and boot0cfg 
and see/learn what particular command will extricate you from the situation 
you are presently  more familiar with than us. Get it wrong and it will only 
get worse. But there are at least 3 ways present in those docs alone which 
can be used to write out a new MBR.


-Mike



___
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


7.2 RELEASE ? Buggy as hell

2009-07-30 Thread PJ
I have (supposedly, as I am told by my bootup) upgraded to 7.2
Wonderful. But how do i make this thing work. I've managed to do it on
an amd64 on an ACER Travelmate 4400 running at 1600mhz.
This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9
with linux-emulator f8 and all the tweaks does not work, acroread9 does
not either,
hal is useless. I've tried turning off the option AllowEmptyInput to
off; i've tried starting hal - and when I run startx, the configuration
file is the default built-in... I don't understand what the hell is
going on... None of the solutions on google seem to work either...
oh, but there is some sunlight in neverneverland... I can boot and I can
install all kinds of files - funny, I don't want to play with this crap...
and I certainly am not going to reinstall after all I have gone
through... If I do reinstall, it will be another OS.
If it all works on amd64, what's wrong with i386?
I think it's time to switch to something more reliable.

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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 to boot or access problem file system

2009-07-30 Thread PJ
Michael Powell wrote:
 PJ wrote:

   
 What can be done to access a file system that seems to have the boot
 sector screwed up?
 

 Usually there are more than 1 file system present. The MBR will have no 
 bearing on any other than the one you need to boot from, and this is usually 
 the / - aka root. Having a screwed up MBR will only prevent a boot and 
 generally shouldn't change or cause any corruption to the other file 
 systems. Caveat being what occurred that produced the situation in the first 
 place.

 Look in here for a list of .iso files:

 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/

 There are the boot-only and a livefs images available. The boot-only would 
 be used for a network installation. What you want is the livefs image. 
 Download and burn to a CD.

   
 The /usr files should be ok but how to access?
 

 Boot from the LiveFS CD. There will be a very basic minimum system present 
 that contains some tools which may be useful. Once booted you should be able 
 to mount the problematic file systems from the hard disk and possibly make 
 repairs. It is probably best to utilize the same version as the OS you are 
 trying to repair.

   
 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!
 

 It may be that you need to locate something you can delete so that the file 
 system is now un-full. 

   
 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. 
 

 There are recovery processes available, but mostly this involves a 
 knowledgeable sysadmin and not some magic bullet automated software. This 
 skill requires an in-depth understanding of how the OS functions, and this 
 can take a while to learn. Along with making some mistakes along the way to 
 have something with which to practice on.   :-)

   
 Surely FreeBSD must
 be have something that functions like certain software does on MS ?
 

 Why would FreeBSD be concerned with being like $MS? Going down this path is 
 a waste of time. Forget the $MS and learn the FreeBSD. The learning curve is 
 initially very steep if all you've ever known is $MS, but if you plug away 
 at it you will at some point crest the hill and have a light bulb goes on 
 moment where all of the sudden a lot of disparate material solidifies into 
 something cohesive.  

   
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 TIA.
 PJ
 

 Not knowing more details can lead to dangerous advice in this kind of 
 situation. It may be something as simple as boot0cfg -B -d 0 is all you 
 need. Blindly giving and following such advice without knowing all the 
 circumstances may quickly escalate into disaster. An example would be 
 something like you are triple booting 3 different OS's with Grub and us not 
 knowing that.

 You should probably read the man pages for fdisk, disklabel, and boot0cfg 
 and see/learn what particular command will extricate you from the situation 
 you are presently  more familiar with than us. Get it wrong and it will only 
 get worse. But there are at least 3 ways present in those docs alone which 
 can be used to write out a new MBR.


 -Mike



 ___
 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

   
Mike,
I am not particularly interested in becoming a guru on FreeBSD. I just
want to be able to use it productively... by that I do not mean make
money, but get something achieved in the way of programming stuff for my
own website etc. Having to go back to school to understand all the
stuff about FBSD is a bit overkill.
The real problem is that the instructions for upgrading and updating
trip all over themselves and confuse the shit out of most of us who are
not FBSD experts. Funny, that there are so many posts and wueries on
google to fix things on FreeBSD. I found one that was very clear and the
upgrade worked...
yet there is something wrong with the upgrade since I cannot get X to
recognize a puny little mouse. And consequently I have no idea if
Firefox is working or if flashplayer is working or acroread9 or anything
for that matter. And there are no explanations that are readily evident
on what to use, when, how and where to use the different programs line
the linux emulation... there are several and then there are sever
flavors of flshplayer (flashplayer9, linux-f8-flashplayer9, and a couple
more relating to linux f10 - those ridiculous descriptions about the
ports are leally a waste of time - why not just say do some heavy
research before using any of this stuff

I do appreciate the help you are offering as well as all the other guys
who take time out to help us.
It sounds, from what you are telling 

Re: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Adam Vande More
On Thu, Jul 30, 2009 at 2:32 PM, PJ af.gour...@videotron.ca wrote:

 I have (supposedly, as I am told by my bootup) upgraded to 7.2
 Wonderful. But how do i make this thing work. I've managed to do it on
 an amd64 on an ACER Travelmate 4400 running at 1600mhz.
 This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9
 with linux-emulator f8 and all the tweaks does not work, acroread9 does
 not either,
 hal is useless. I've tried turning off the option AllowEmptyInput to
 off; i've tried starting hal - and when I run startx, the configuration
 file is the default built-in... I don't understand what the hell is
 going on... None of the solutions on google seem to work either...
 oh, but there is some sunlight in neverneverland... I can boot and I can
 install all kinds of files - funny, I don't want to play with this crap...
 and I certainly am not going to reinstall after all I have gone
 through... If I do reinstall, it will be another OS.
 If it all works on amd64, what's wrong with i386?
 I think it's time to switch to something more reliable.

 There's nothing wrong i386, at least in the regard you're suggesting.  Try
searching deeper within yourself for the issue.


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


today's cvsup introduces kernel build error

2009-07-30 Thread Scott Bennett
 After running cvsup a few minutes ago, an attempt to build a new kernel
failed with:

=== zyd (depend)
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq 
-I/usr/src/sys/i386/compile/hellas 
/usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c
cc -c -O -pipe -march=prescott -std=c99 -g -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror  ../../../dev/ata/ata-all.c
../../../dev/ata/ata-all.c: In function 'ata_device_ioctl':
../../../dev/ata/ata-all.c:454: error: request for member 'max_iosize' in 
something not a structure or union
../../../dev/ata/ata-all.c:454: error: request for member 'max_iosize' in 
something not a structure or union
*** Error code 1

Stop in /usr/src/sys/i386/compile/hellas.
hellas#


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
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: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Julien Cigar
On Thu, 2009-07-30 at 15:32 -0400, PJ wrote:
 I have (supposedly, as I am told by my bootup) upgraded to 7.2
 Wonderful. But how do i make this thing work. I've managed to do it on
 an amd64 on an ACER Travelmate 4400 running at 1600mhz.
 This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9

This is probably due to a buggy bios, try to disable USB legacy
support, it should fix the problem (at least on mine)

 with linux-emulator f8 and all the tweaks does not work, acroread9 does
 not either,

Flash or Acroread have nothing to do with FreeBSD. Emulation is always
something hazardous, it might work, it might not. 

 hal is useless. I've tried turning off the option AllowEmptyInput to

define useless ? It works like a charm here. Did you read the FAQ on
freebsd.org/gnome ?

 off; i've tried starting hal - and when I run startx, the configuration
 file is the default built-in... I don't understand what the hell is
 going on... None of the solutions on google seem to work either...
 oh, but there is some sunlight in neverneverland... I can boot and I can
 install all kinds of files - funny, I don't want to play with this crap...
 and I certainly am not going to reinstall after all I have gone
 through... If I do reinstall, it will be another OS.
 If it all works on amd64, what's wrong with i386?
 I think it's time to switch to something more reliable.
 
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

___
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 to boot or access problem file system

2009-07-30 Thread Paul Schmehl

--On Thursday, July 30, 2009 14:45:46 -0500 PJ af.gour...@videotron.ca wrote:


Mike,
I am not particularly interested in becoming a guru on FreeBSD. I just
want to be able to use it productively... by that I do not mean make
money, but get something achieved in the way of programming stuff for my
own website etc. Having to go back to school to understand all the
stuff about FBSD is a bit overkill.
The real problem is that the instructions for upgrading and updating
trip all over themselves and confuse the shit out of most of us who are
not FBSD experts. Funny, that there are so many posts and wueries on
google to fix things on FreeBSD. I found one that was very clear and the
upgrade worked...
yet there is something wrong with the upgrade since I cannot get X to
recognize a puny little mouse.


You need to run both dbus and hal if you want Xorg to detect your mouse and 
keyboard.  That requires you to add two lines to /etc/rc.conf; hald_enable=YES 
and dbus_enable=YES.



And consequently I have no idea if
Firefox is working or if flashplayer is working or acroread9 or anything
for that matter.


If you're doing website development and you need to have flash working you need 
to find another OS.  Flash on FreeBSD is unreliable at best.  Move to Ubuntu or 
CentOS or Gentoo or some other Linux flavor that can run Flash natively.



And there are no explanations that are readily evident
on what to use, when, how and where to use the different programs line
the linux emulation...


No matter what you use, there is going to be a learning curve.  I've just 
started using Vista Enterprise, and it drives me nuts.  Things aren't where I'm 
used to them being, and I can't find what I used to know was there.  And I was 
editing the registry in Windows 3.1 when many people didn't even know there was 
a registry.


All OSes take time to learn, some more than others.  FreeBSD is on the steeper 
side of the learning curve table, so maybe you shouldn't invest the time.  Life 
is too short to be constantly frustrated.


I do appreciate the help you are offering as well as all the other guys
who take time out to help us.
It sounds, from what you are telling me, like it may be possible to do
something with my problem computer... will try.


If you are willing to invest the time, FreeBSD can be a great OS to use.  But 
nobody but you can run your box, and no amount of help can overcome an 
unwillingness to take the time to learn.  That's not an indictment of you. 
Your priorities are not others' priorities.  But don't keep banging your head 
against the FreeBSD wall if you just want to get an OS up and running and using 
Flash.


Hell, buy a Mac.  Then you'll have the best of both worlds.

--
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: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Andrew Gould
On Thu, Jul 30, 2009 at 3:06 PM, Adam Vande Moreamvandem...@gmail.com wrote:
 On Thu, Jul 30, 2009 at 2:32 PM, PJ af.gour...@videotron.ca wrote:

 I have (supposedly, as I am told by my bootup) upgraded to 7.2
 Wonderful. But how do i make this thing work. I've managed to do it on
 an amd64 on an ACER Travelmate 4400 running at 1600mhz.
 This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9
 with linux-emulator f8 and all the tweaks does not work, acroread9 does
 not either,
 hal is useless. I've tried turning off the option AllowEmptyInput to
 off; i've tried starting hal - and when I run startx, the configuration
 file is the default built-in... I don't understand what the hell is
 going on... None of the solutions on google seem to work either...
 oh, but there is some sunlight in neverneverland... I can boot and I can
 install all kinds of files - funny, I don't want to play with this crap...
 and I certainly am not going to reinstall after all I have gone
 through... If I do reinstall, it will be another OS.
 If it all works on amd64, what's wrong with i386?
 I think it's time to switch to something more reliable.

 There's nothing wrong i386, at least in the regard you're suggesting.  Try
 searching deeper within yourself for the issue.

 --
 Adam Vande More

I don't think that answer was helpful.

PJ is not alone in frustration regarding 7.2.  For many users, it's
hard to tell whether the balance of difficulties lies in bugs or new
manual configuration requirements of 7.2.

I think much of the frustration lies in our perception of STABLE.
When we upgraded from 7.1 (or 7.0), we expected a fairly smooth ride.
I had frustrations related to X (hal), mounting drives (hal), printing
(cups vs applications), and printing (gimp vs hpijs).  Yes, I read the
(uncentralized) documentation.  I even posted the urls of a few pages
on this list for others to find.  Again, the effort feels inconsistent
with STABLE -- my perception only, I'm sure 7.2 meets a technical
definition.

Those of us who upgraded further, to 7.2p1 and beyond, faced
additional challenges related to the change in the default version of
Python.  Keep in mind, for many of us, this is all in addition to
massive changes in KDE.

Simply put, I had a much easier time when I installed 5.0.  Your
mileage may have varied.

FreeBSD is still my choice for web and database serving.  As for the
desktop and printing, I will probably use Mac OS X until a few months
after FreeBSD 8.0 is released.  And that's okay.  There is no law that
states an operating system has to meet every computing need.

Andrew
___
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: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Mel Flynn
On Thursday 30 July 2009 12:50:11 Andrew Gould wrote:
 On Thu, Jul 30, 2009 at 3:06 PM, Adam Vande Moreamvandem...@gmail.com 
wrote:
  On Thu, Jul 30, 2009 at 2:32 PM, PJ af.gour...@videotron.ca wrote:
  I have (supposedly, as I am told by my bootup) upgraded to 7.2
  Wonderful. But how do i make this thing work. I've managed to do it on
  an amd64 on an ACER Travelmate 4400 running at 1600mhz.
  This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9
  with linux-emulator f8 and all the tweaks does not work, acroread9 does
  not either,
  hal is useless. I've tried turning off the option AllowEmptyInput to
  off; i've tried starting hal - and when I run startx, the configuration
  file is the default built-in... I don't understand what the hell is
  going on... None of the solutions on google seem to work either...
  oh, but there is some sunlight in neverneverland... I can boot and I can
  install all kinds of files - funny, I don't want to play with this
  crap... and I certainly am not going to reinstall after all I have gone
  through... If I do reinstall, it will be another OS.
  If it all works on amd64, what's wrong with i386?
  I think it's time to switch to something more reliable.
 
  There's nothing wrong i386, at least in the regard you're suggesting.
   Try
 
  searching deeper within yourself for the issue.
 
  --
  Adam Vande More

 I don't think that answer was helpful.

It's the right answer though.

 PJ is not alone in frustration regarding 7.2.  For many users, it's
 hard to tell whether the balance of difficulties lies in bugs or new
 manual configuration requirements of 7.2.

 I think much of the frustration lies in our perception of STABLE.
 When we upgraded from 7.1 (or 7.0), we expected a fairly smooth ride.
 I had frustrations related to X (hal), mounting drives (hal), printing
 (cups vs applications), and printing (gimp vs hpijs).  Yes, I read the
 (uncentralized) documentation.

I think release CD's should not contain packages anymore, cause everything you 
describe here, has absolutely nothing to do with FreeBSD 7.2, but with 3rd 
party software that happened to be packaged at release time.
You should really be using PCBSD if you want a packaged desktop system, for 
which the developers claim responsibility and for which much (if not all) of 
the configuration has been done for you.
When using FreeBSD you are expected to understand the handbook, configure 
things on your own and be able to troubleshoot problems and/or provide the 
right information in case you need help. If you can't do this, then FreeBSD is 
not the right tool for you. No harm in that, nobody forces you to use FreeBSD 
nor will convict you for using an OS that suits you better.
-- 
Mel
___
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: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Adam Vande More
On Thu, Jul 30, 2009 at 3:50 PM, Andrew Gould andrewlylego...@gmail.comwrote:

 On Thu, Jul 30, 2009 at 3:06 PM, Adam Vande Moreamvandem...@gmail.com
 wrote:
  On Thu, Jul 30, 2009 at 2:32 PM, PJ af.gour...@videotron.ca wrote:
 
  I have (supposedly, as I am told by my bootup) upgraded to 7.2
  Wonderful. But how do i make this thing work. I've managed to do it on
  an amd64 on an ACER Travelmate 4400 running at 1600mhz.
  This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9
  with linux-emulator f8 and all the tweaks does not work, acroread9 does
  not either,
  hal is useless. I've tried turning off the option AllowEmptyInput to
  off; i've tried starting hal - and when I run startx, the configuration
  file is the default built-in... I don't understand what the hell is
  going on... None of the solutions on google seem to work either...
  oh, but there is some sunlight in neverneverland... I can boot and I can
  install all kinds of files - funny, I don't want to play with this
 crap...
  and I certainly am not going to reinstall after all I have gone
  through... If I do reinstall, it will be another OS.
  If it all works on amd64, what's wrong with i386?
  I think it's time to switch to something more reliable.
 
  There's nothing wrong i386, at least in the regard you're suggesting.
  Try
  searching deeper within yourself for the issue.
 
  --
  Adam Vande More

 I don't think that answer was helpful.

 PJ is not alone in frustration regarding 7.2.  For many users, it's
 hard to tell whether the balance of difficulties lies in bugs or new
 manual configuration requirements of 7.2.

 I think much of the frustration lies in our perception of STABLE.
 When we upgraded from 7.1 (or 7.0), we expected a fairly smooth ride.
 I had frustrations related to X (hal), mounting drives (hal), printing
 (cups vs applications), and printing (gimp vs hpijs).  Yes, I read the
 (uncentralized) documentation.  I even posted the urls of a few pages
 on this list for others to find.  Again, the effort feels inconsistent
 with STABLE -- my perception only, I'm sure 7.2 meets a technical
 definition.

 Those of us who upgraded further, to 7.2p1 and beyond, faced
 additional challenges related to the change in the default version of
 Python.  Keep in mind, for many of us, this is all in addition to
 massive changes in KDE.

 Simply put, I had a much easier time when I installed 5.0.  Your
 mileage may have varied.

 FreeBSD is still my choice for web and database serving.  As for the
 desktop and printing, I will probably use Mac OS X until a few months
 after FreeBSD 8.0 is released.  And that's okay.  There is no law that
 states an operating system has to meet every computing need.

 Andrew


The answer was very help, depending on willing you are to take it.  Ports in
most cases has very little to do with what FBSD version you are running.
Blaming it on a version when it had nothing to do with the problem is
ignorant and harmful.  Some like myself think the arrogance of pointing
fingers on FreeBSD when it's clearly not at fault is a very poor approach in
many regards.  You'd need to man up and read the new X documentation on
whatever X platform you use anyway, it's not limited to FreeBSD.  Updating
libraries is a chore, no dispute there, but if it's such an issue that you
can't research it, stick to packages.  Neither of you have actually stated a
flaw specific to 7.2 Release.  Python upgrade needed to happen on any
version you wanted to take to 2.6.  There was also info to leave it
unchanged if you desired.

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


Re: how to boot or access problem file system

2009-07-30 Thread PJ
Paul Schmehl wrote:
 --On Thursday, July 30, 2009 14:45:46 -0500 PJ
 af.gour...@videotron.ca wrote:

 Mike,
 I am not particularly interested in becoming a guru on FreeBSD. I just
 want to be able to use it productively... by that I do not mean make
 money, but get something achieved in the way of programming stuff for my
 own website etc. Having to go back to school to understand all the
 stuff about FBSD is a bit overkill.
 The real problem is that the instructions for upgrading and updating
 trip all over themselves and confuse the shit out of most of us who are
 not FBSD experts. Funny, that there are so many posts and wueries on
 google to fix things on FreeBSD. I found one that was very clear and the
 upgrade worked...
 yet there is something wrong with the upgrade since I cannot get X to
 recognize a puny little mouse.

 You need to run both dbus and hal if you want Xorg to detect your
 mouse and keyboard.  That requires you to add two lines to
 /etc/rc.conf; hald_enable=YES and dbus_enable=YES.

 And consequently I have no idea if
 Firefox is working or if flashplayer is working or acroread9 or anything
 for that matter.

 If you're doing website development and you need to have flash working
 you need to find another OS.  Flash on FreeBSD is unreliable at best. 
 Move to Ubuntu or CentOS or Gentoo or some other Linux flavor that can
 run Flash natively.

 And there are no explanations that are readily evident
 on what to use, when, how and where to use the different programs line
 the linux emulation...

 No matter what you use, there is going to be a learning curve.  I've
 just started using Vista Enterprise, and it drives me nuts.  Things
 aren't where I'm used to them being, and I can't find what I used to
 know was there.  And I was editing the registry in Windows 3.1 when
 many people didn't even know there was a registry.

 All OSes take time to learn, some more than others.  FreeBSD is on the
 steeper side of the learning curve table, so maybe you shouldn't
 invest the time.  Life is too short to be constantly frustrated.

 I do appreciate the help you are offering as well as all the other guys
 who take time out to help us.
 It sounds, from what you are telling me, like it may be possible to do
 something with my problem computer... will try.

 If you are willing to invest the time, FreeBSD can be a great OS to
 use.  But nobody but you can run your box, and no amount of help can
 overcome an unwillingness to take the time to learn.  That's not an
 indictment of you. Your priorities are not others' priorities.  But
 don't keep banging your head against the FreeBSD wall if you just want
 to get an OS up and running and using Flash.

 Hell, buy a Mac.  Then you'll have the best of both worlds.
No way.

But isn't it strange that it used to be pretty simple to upgrade and
update. But recently, I notice that communication between the developers
and users (or is it the manual page writers) are getting far away from
the realities of user/operational needs. Oh, what's the sense of beating
a dead horse, mechanics will never be writers... let's not kid ourselves.


-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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 to boot or access problem file system

2009-07-30 Thread Tim Judd
On 7/30/09, PJ af.gour...@videotron.ca wrote:
 Tim Judd wrote:
 On 7/30/09, PJ af.gour...@videotron.ca wrote:

 What can be done to access a file system that seems to have the boot
 sector screwed up?
 The /usr files should be ok but how to access?
 I get errors that the file system is full and I have no idea of how to
 deal with the boot up - the help message is no help!
 Boot says it cannot find a kernel... surely there must be some kind of
 recovery process even if nothing has been backed up. Surely FreeBSD must
 be have something that functions like certain software does on MS ?
 I don't have a problem with irrecoverable files, I would just finally
 understand how things work and what can be done on FBSD.
 TIA.
 PJ



 That's when the livefs comes to the rescue -- if you cannot boot at all

 Otherwise single-user boot works most of the time

 how does livefs come into the picture here? What is it? How do you use it?

 Single-user? if the kernel is not accessible, how do I boot?

It's another ISO image you burn to CD and boot.  It's a live filesystem off CD.

Since it doesn't depend on your hard drive's filesystem - it can boot
to BSD, and give you a emergency repair environment to do your work
(including mounting your HDD partitions) and then restart with the
hard drive.  Windows still hasn't got that down, yet.
___
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 to boot or access problem file system

2009-07-30 Thread Roland Smith
On Thu, Jul 30, 2009 at 03:20:55PM -0400, PJ wrote:
 Roland Smith wrote:
  On Thu, Jul 30, 2009 at 01:40:58PM -0400, PJ wrote:

  What can be done to access a file system that seems to have the boot
  sector screwed up?

I forgot to mention that your boot sector is fine. If it were screwed
up, you wouldn't get to the boot prompt.

Since the boot code cannot locate your kernel, there are several things
that could have gone wrong. See below.

snip
  The /usr files should be ok but how to access?   
 
  Use fsck_ffs to try and repair the filesystem.

 how can I use it if I can't boot or access the file system?

Use a livefs cd or use the Fixit option in the main menu of sysinstall
on an install disk. That should get you a shell where you can run
fsck_ffs on your disk partitions.

If you have booted from CD, list the disk devices with e.g. 'ls
/dev/ad*'. If you have SCSI drives, use 'da' instead of 'ad'.
What does that command list? On my machine, I'll get
something like this:

/dev/ad4 /dev/ad4s1d  /dev/ad6 /dev/ad6s1d
/dev/ad4s1   /dev/ad4s1e  /dev/ad6s1   /dev/ad6s1e
/dev/ad4s1a  /dev/ad4s1f  /dev/ad6s1a  /dev/ad6s1f
/dev/ad4s1b  /dev/ad4s1g  /dev/ad6s1b  /dev/ad6s1g
/dev/ad4s1c  /dev/ad4s1g.eli  /dev/ad6s1c  /dev/ad6s1g.eli

If you only see e.g. /dev/ad4 and /dev/ad6, your slice table has been
overwritten (with fdisk) and your data is lost. If you see /dev/ad4s1
but not /dev/ad4s1a-g, the BSD partitions have been removed and your
data is lost as well.

Since there is only one slice on both ad4 and ad6 (otherwise you'd see
/dev/ad4s2x) The next step is to examine the disk labels:

bsdlabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  1024000   164.2BSD 2048 16384 64008 
  b: 16777216  1024016  swap
  c: 9767680020unused0 0 # raw part, don't 
edit
  d:  4194304 178012324.2BSD 2048 16384 28528 
  e: 104857600 219955364.2BSD 2048 16384 28528 
  f: 41943040 1268531364.2BSD 2048 16384 28528 
  g: 807971826 1687961764.2BSD 2048 16384 0

This tells us that the a, d, e, f and g partition are carrying a BSD
filesystem, and should be checked with fsck_ffs.

Try these steps and report back what you find.

  I don't have a problem with irrecoverable files, I would just finally
  understand how things work and what can be done on FBSD.
 
  Make regular backups. Especially before big upgrades.

 Maybe the real problem is that the manual is too screwed up (why are
 there so many problems being brought up on the mailing lists? we can't
 all be that stupid.)

It is a mailing list for questions. Ipso facto you'll see questions and
problems on this list. People who are not having problems will not be
posting very much. :-) 

As to the handbook, this is by necessity written by people who are
knowledgeable on the subject they write on. Unfortunately this sometimes
lead to really basic steps/assumptions being skipped because they are
self-evident for the writer. If you gain enough knowledge about a
subject it becomes really hard to write for people new to the system
because you've internalized a lot of stuff by then.

If you have specific questions about parts of the handbook, ask.


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)


pgp6XvLBCQx1m.pgp
Description: PGP signature


net/linux-nx-client: problems connecting to server

2009-07-30 Thread Daniel Underwood
I *can* connect to the server on my Ubuntu machine, but not on my
FreeBSD machine.

When trying to connect to my nx server (on a RHEL5 machine), I am able
to authenticate successfully but at the negotiating link parameters
step, an error dialog box opens asking if I want to terminate the
connection because it cannot connect to the server proxy.  The
details shows this text (X's used to hide IP):

[BEGIN DETAILS]

NXPROXY - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '2913'.
Session: Starting session at 'Thu Jul 30 18:19:13 2009'.
Info: Connecting to remote host 'XXX.X.XX.XX:5012'.
Info: Aborting the procedure due to signal '15'.
Session: Session terminated at 'Thu Jul 30 18:20:08 2009'.

[END DETAILS]

Trying to resolve this, I then enabled the enable SSL encryption of
all traffic, but the connection times out, with the following
details:

[BEGIN DETAILS]

NXPROXY - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '2985'.
Session: Starting session at 'Thu Jul 30 18:25:19 2009'.
Error: Failed to set TCP_NODELAY flag on FD#13 to 1. Error is 22
'Invalid argument'.
Warning: Connected to remote NXPROXY version 3.3.0 with local version 2.1.0.
Warning: Consider checking http://www.nomachine.com/ for updates.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Warning: Failed to set IPTOS_LOWDELAY flag on FD#13. Error is 92
'Protocol not available'.
Error: Failed to set TCP_NODELAY flag on FD#13 to 1. Error is 22
'Invalid argument'.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using image streaming parameters 50/128/1024KB/6144/768.
Info: Using image cache parameters 1/1/131072KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-gnome'.
Info: Using product 'LFE/None/LFEN/None'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using persistent cache.
Info: Listening for font server connections on port '11014'.
Session: Session started at 'Thu Jul 30 18:25:19 2009'.
Error: Failed to set TCP_NODELAY flag on FD#18 to 1. Error is 22
'Invalid argument'.
Info: Established X server connection.
Session: Terminating session at 'Thu Jul 30 18:25:19 2009'.
Info: End of NX transport requested by signal '15'.

[END DETAILS]

I'd appreciate any help/suggestions.

TIA,
Daniel
___
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: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Freminlins
2009/7/30 Mel Flynn
mel.flynn+fbsd.questi...@mailing.thruhere.netmel.flynn%2bfbsd.questi...@mailing.thruhere.net



 You should really be using PCBSD if you want a packaged desktop system, for
 which the developers claim responsibility and for which much (if not all)
 of
 the configuration has been done for you.

I disagree with that. It even says on the FreeBSD web site FreeBSD® is an
advanced operating system for modern server, desktop
I have used FreeBSD on the desktop for about 6 years (but not yet running
7.2). It has mostly been a pleasure. I didn't like it when X was changed to
individual packages, as it now takes considerably longer to install. And the
output from pkg_info takes correspondingly longer to search through. It also
installs two scripting languages (Perl and Python). I haven't had a problem
configuring X for years.
If something has changed which then causes problems to end users, then that
is not good. And it's no good telling people use PCBSD or something else.
That's not what we want. We want to use FreeBSD on the desktop.
Don't try and put people off using FreeBSD. It would be much better to help
them resolves the problems they are having.



 --
 Mel

MF.


___
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


B2B Europe

2009-07-30 Thread Mr. Storm, EU B2B
Welcome on the first multilingual B2B Portal on http://eu-b2b.eu
The European Union wants a better integration of new EU countries into the 
world economic cycle. For this reason, this multilingual B2B portal is created. 
The user can choose the product category in many languages and sell or buy 
products and services.
Your bonus includes:
. highest priority in product listing
.  full information on buying leads 
. premium presentation of your company
. entry of company-fairs
. contacts to wholesale buyers
.  5 products
These points  have a value of more than 200 euros. You will get them for free.

If you are looking for a product, you are also right here. Via our B2B network, 
we provide your request to more than 3 million sellers. So you can be sure our 
portal will find your product.
Best Regards! 
Alex Storm, EU-B2B.EU Comp. Support 
E-Mail: supp...@eu-b2b.eu
EU-B2B Comp. Brussel, Aven. La Foch 1, Belgie 
Please do not reply to this email. This mailbox is not monitored and you will 
not receive a response.
You get this e-mail as a recipient International B2B portals. If you don't want 
to receive any further information’s please send this e-mail with message 
UNSUBSCRIBE to e-mail address: unsubscr...@eu-b2b.eu
 
 
© 2009 EU-B2B Copyright
EU-B2B.EU
___
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: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Mel Flynn
On Thursday 30 July 2009 14:50:07 Freminlins wrote:
 2009/7/30 Mel Flynn
 mel.flynn+fbsd.questi...@mailing.thruhere.netmel.flynn%2bfbsd.questi...@m
ailing.thruhere.net

  You should really be using PCBSD if you want a packaged desktop system,
  for which the developers claim responsibility and for which much (if not
  all) of
  the configuration has been done for you.

 I disagree with that. It even says on the FreeBSD web site FreeBSD® is an
 advanced operating system for modern server, desktop

The key is that the Xorg software is *not* part of FreeBSD. It may work, it 
may not. A FreeBSD release is shipped with the intention that all software in 
base and kernel are working by default and if it's not, the FreeBSD 
developers claim responsibility for fixing it. The line is gray where it comes 
to X11, yet it's still a line.

 I have used FreeBSD on the desktop for about 6 years (but not yet running
 7.2). It has mostly been a pleasure. I didn't like it when X was changed to
 individual packages, as it now takes considerably longer to install. And
 the output from pkg_info takes correspondingly longer to search through. It
 also installs two scripting languages (Perl and Python). I haven't had a
 problem configuring X for years.

I never claimed that FreeBSD can't be used on a desktop, I've been doing that 
since 4.7-RELEASE. Whether you and me can do it, is not up for dispute. What 
is, is that bugs are attributed to 7.2-RELEASE, which are all bugs in 3rd 
party software and should be reported to ports@, with proper information if 
people care about those problems getting fixed. Even then it may be out of the 
hands of those volunteers, if it relies on propriety software of which the 
developers have expressed no interest to support FreeBSD (like flash).

 If something has changed which then causes problems to end users, then that
 is not good. And it's no good telling people use PCBSD or something else.
 That's not what we want. We want to use FreeBSD on the desktop.

And we are. It's not for everybody and PCBSD is a FreeBSD desktop system 
specifically created for people that don't want to do all the configuring and 
troubleshooting that may come with installing a desktop system. PCBSD is 
FreeBSD (the latest major version -STABLE), with extra effort to make things 
easier and people claiming responsibility for a working graphical desktop.

 Don't try and put people off using FreeBSD. It would be much better to help
 them resolves the problems they are having.

As said above, PCBSD is FreeBSD. And for many, it is the best help one can 
give. One must first learn to walk, if one wants to run.

Also, if you _really_ want things to change for *BSD, then you should acquire 
a group of people that are willing and able to fork Xorg, get rid of it's hal 
and python dependency, repackage sensibly and do some proper release 
engineering. Especially the latter is what is causing the problems of late. 
Either that, or convince the Xorg people to do that.
-- 
Mel
___
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: SMTP Authentication

2009-07-30 Thread Reed Lai
Both servers have same ldd outputs and Sendmail.conf contains only 
pwcheck_method: saslauthd



banyan# ldd -a /usr/sbin/sendmail
/usr/sbin/sendmail:
   libutil.so.7 = /lib/libutil.so.7 (0x2807d000)
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
/lib/libutil.so.7:
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
banyan#
banyan# ll /usr/local/lib/sasl2/Sendmail.conf
-rw-r--r--  1 root  wheel  26  7 29 14:56 /usr/local/lib/sasl2/Sendmail.conf
banyan# cat /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd


Reed

From: Ihor Prystay
Sent: Friday, July 31, 2009 2:55 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


You may check the location of sasl2 lib which sendmail is compiled with
- do ldd on sendmail executable. And verify if Sendmail.conf in the
sasl2 lib folder doesn't have any restrictions on available mechs.

Ihor



Reed Lai wrote:

The liblogin.so is in directory

banyan# ll /usr/local/lib/sasl2/liblogin.so
lrwxr-xr-x  1 root  wheel  13  7 29 14:54
/usr/local/lib/sasl2/liblogin.so - liblogin.so.2
banyan# ll /usr/local/lib/sasl2/liblogin.so.2
-rwxr-xr-x  1 root  wheel  17172  7 29 14:54
/usr/local/lib/sasl2/liblogin.so.2

There is only confAUTH_MECHANISMS in .mc file, not confAUTH_OPTIONS

dnl set SASL options
dnl 
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 4:58 PM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
recompile sasl with LOGIN mech support.
Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
make sure 'p' parameter is not on the list or LOGIN would be available
only after TLS encryption which is not a case for you as your working
configuration offers LOGIN during telnet session (it's actually a bad
idea to do authentication clear text).

Ihor


Reed Lai wrote:

Yes, the new server leaks LOGIN in the 250-AUTH list!

New server
=
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

Functional server
==
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

I have checked the generated .cf file in the new server and there are
class and option listed

C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

The new server has same configuration to old server, but has not LOGIN
in the 250-AUTH list.
BTW, the new server has hostname changed once... I don't know if it does
matter or not..

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


Tray telnet to port 25 of your working SMTP server and compare the
output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:

The maillog does not log the sm-mta: AUTH=server action. The functional
server has the AUTH=server action logged. How do I debug from this
different?

Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the
functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009
21:19:40
+0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@freebsd.org
Subject: SMTP Authentication


Hi,

I 

Re: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Andrew Gould
On Thu, Jul 30, 2009 at 4:08 PM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Thursday 30 July 2009 12:50:11 Andrew Gould wrote:
 On Thu, Jul 30, 2009 at 3:06 PM, Adam Vande Moreamvandem...@gmail.com
 wrote:
  On Thu, Jul 30, 2009 at 2:32 PM, PJ af.gour...@videotron.ca wrote:
  I have (supposedly, as I am told by my bootup) upgraded to 7.2
  Wonderful. But how do i make this thing work. I've managed to do it on
  an amd64 on an ACER Travelmate 4400 running at 1600mhz.
  This box runs on 3ghz; Xorg comes up and the mouse is dead. Flashplayer9
  with linux-emulator f8 and all the tweaks does not work, acroread9 does
  not either,
  hal is useless. I've tried turning off the option AllowEmptyInput to
  off; i've tried starting hal - and when I run startx, the configuration
  file is the default built-in... I don't understand what the hell is
  going on... None of the solutions on google seem to work either...
  oh, but there is some sunlight in neverneverland... I can boot and I can
  install all kinds of files - funny, I don't want to play with this
  crap... and I certainly am not going to reinstall after all I have gone
  through... If I do reinstall, it will be another OS.
  If it all works on amd64, what's wrong with i386?
  I think it's time to switch to something more reliable.
 
  There's nothing wrong i386, at least in the regard you're suggesting.
   Try
 
  searching deeper within yourself for the issue.
 
  --
  Adam Vande More

 I don't think that answer was helpful.

 It's the right answer though.

 PJ is not alone in frustration regarding 7.2.  For many users, it's
 hard to tell whether the balance of difficulties lies in bugs or new
 manual configuration requirements of 7.2.

 I think much of the frustration lies in our perception of STABLE.
 When we upgraded from 7.1 (or 7.0), we expected a fairly smooth ride.
 I had frustrations related to X (hal), mounting drives (hal), printing
 (cups vs applications), and printing (gimp vs hpijs).  Yes, I read the
 (uncentralized) documentation.

 I think release CD's should not contain packages anymore, cause everything you
 describe here, has absolutely nothing to do with FreeBSD 7.2, but with 3rd
 party software that happened to be packaged at release time.
 You should really be using PCBSD if you want a packaged desktop system, for
 which the developers claim responsibility and for which much (if not all) of
 the configuration has been done for you.
 When using FreeBSD you are expected to understand the handbook, configure
 things on your own and be able to troubleshoot problems and/or provide the
 right information in case you need help. If you can't do this, then FreeBSD is
 not the right tool for you. No harm in that, nobody forces you to use FreeBSD
 nor will convict you for using an OS that suits you better.
 --
 Mel


Your answer is presumptuous.  You've already assumed that my problems
lie in my inability or lack of willingness to read the documentation
and perform configuration.  I have been running X on FreeBSD
successfully since version 4.0 and have been reading documentation and
configuring my system since 2000.  I'm not just talking about X, I'm
talking about postfix, postgresql, samba, apache with webdav over ssl,
etc.

I am having far more trouble with a STABLE release than I had with
5.0.  After searching many decentralized sources of the sacred
documentation (when will the brow beating end?) and reconfiguring my
system, I am still having problems.  I have been to PC-BSD and back
again.   I prefer some of my own configurations.

If I, after these 8 to 9 years, am having a surprising level of
difficulty, I would prefer not to be handily dismissed as a spoon-fed
noob.

It is easy, and technically correct, to separate the core FreeBSD
system from the ports.  This I grant you.  Beyond the initial
clarification, however, it is not the least bit useful.  To the world
of FreeBSD users, even many of the technically advanced users, FreeBSD
would lose much of its usefulness without the ports.  So, beyond
saying that it's not your problem, what have you accomplished?

I'll get off my soap box now.  If I sound overly frustrated or sound
like I'm ranting, it's because I am accustomed to that sense of
control that FreeBSD provides.only, I've lost that feeling on the
desktop side.

Andrew
___
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: SMTP Authentication

2009-07-30 Thread Reed Lai
And there is LOGIN option selected (as ports default options) when 
installing the cyrus-sasl2.


Reed

From: Reed Lai
Sent: Friday, July 31, 2009 10:14 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Both servers have same ldd outputs and Sendmail.conf contains only
pwcheck_method: saslauthd


banyan# ldd -a /usr/sbin/sendmail
/usr/sbin/sendmail:
   libutil.so.7 = /lib/libutil.so.7 (0x2807d000)
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
/lib/libutil.so.7:
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
banyan#
banyan# ll /usr/local/lib/sasl2/Sendmail.conf
-rw-r--r--  1 root  wheel  26  7 29 14:56 /usr/local/lib/sasl2/Sendmail.conf
banyan# cat /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd


Reed

From: Ihor Prystay
Sent: Friday, July 31, 2009 2:55 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


You may check the location of sasl2 lib which sendmail is compiled with
- do ldd on sendmail executable. And verify if Sendmail.conf in the
sasl2 lib folder doesn't have any restrictions on available mechs.

Ihor



Reed Lai wrote:

The liblogin.so is in directory

banyan# ll /usr/local/lib/sasl2/liblogin.so
lrwxr-xr-x  1 root  wheel  13  7 29 14:54
/usr/local/lib/sasl2/liblogin.so - liblogin.so.2
banyan# ll /usr/local/lib/sasl2/liblogin.so.2
-rwxr-xr-x  1 root  wheel  17172  7 29 14:54
/usr/local/lib/sasl2/liblogin.so.2

There is only confAUTH_MECHANISMS in .mc file, not confAUTH_OPTIONS

dnl set SASL options
dnl 
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 4:58 PM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
recompile sasl with LOGIN mech support.
Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
make sure 'p' parameter is not on the list or LOGIN would be available
only after TLS encryption which is not a case for you as your working
configuration offers LOGIN during telnet session (it's actually a bad
idea to do authentication clear text).

Ihor


Reed Lai wrote:

Yes, the new server leaks LOGIN in the 250-AUTH list!

New server
=
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

Functional server
==
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

I have checked the generated .cf file in the new server and there are
class and option listed

C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

The new server has same configuration to old server, but has not LOGIN
in the 250-AUTH list.
BTW, the new server has hostname changed once... I don't know if it does
matter or not..

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


Tray telnet to port 25 of your working SMTP server and compare the
output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:

The maillog does not log the sm-mta: AUTH=server action. The functional
server has the AUTH=server action logged. How do I debug from this
different?

Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the
functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009
21:19:40
+0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail 

gmirror / crash dumps

2009-07-30 Thread Philip M. Gollucci
Hi,

Say I've got the following:
/dev/mirror/gm0s1bnoneswapsw

/dev/mirror/gm0s1a989M390M520M43%/
/dev/mirror/gm0s1g 15G1.7G 12G13%/usr
/dev/mirror/gm0s1h544G1.8M501G 0%/usr/home
/dev/mirror/gm0s1d1.9G500M1.3G27%/usr/src
/dev/mirror/gm0s1e1.9G1.1G733M60%/usr/obj
/dev/mirror/gm0s1f 97G2.0K 89G 0%/var

Well I'm trying to get my kernel panics to cause dumps
1) /etc/rc.conf
dumpdev=AUTO
crashinfo_enable=YES

2) sudo chmod 700 /var/crash

3) 8GB RAM, 16GB of swap, /var/crash is 16GB  97GB

4) I have the following in my 7-stable kernel
makeoptions DEBUG=-g
options AUDIT
options KTRACE
options KDB
options KDB_TRACE
options DDB
options GDB
options BREAK_TO_DEBUGGER
options INVARIANTS
options INVARIANT_SUPPORT
options WITNESS
options DEBUG_LOCKS
options DEBUG_VFS_LOCKS
options LOCK_PROFILING
options DIAGNOSTIC

The long and the short of it is I don't get any dumps.

I read somewhere that you can't dump onto a gmirror device.
So I've moved /var off of
/dev/mirror/gm0s1f 97G2.0K 89G 0%/var
and I can now do what I want with this.

How do I go about re-jiggering this (2-disk gmirror) so I can use 1
slice from one of them as my dumpon(8) device?

TIA

___
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: SMTP Authentication

2009-07-30 Thread Reed Lai

The test of saslauthd seems OK too:


banyan# testsaslauthd -s smtp -u aNN -p 
0: OK Success.


The auth login in smtp connection is still not available:


ehlo local
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
...
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
auth login
504 5.3.3 AUTH mechanism login not available


Reed

From: Reed Lai
Sent: Friday, July 31, 2009 10:26 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


And there is LOGIN option selected (as ports default options) when
installing the cyrus-sasl2.

Reed

From: Reed Lai
Sent: Friday, July 31, 2009 10:14 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Both servers have same ldd outputs and Sendmail.conf contains only
pwcheck_method: saslauthd


banyan# ldd -a /usr/sbin/sendmail
/usr/sbin/sendmail:
   libutil.so.7 = /lib/libutil.so.7 (0x2807d000)
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
/lib/libutil.so.7:
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
banyan#
banyan# ll /usr/local/lib/sasl2/Sendmail.conf
-rw-r--r--  1 root  wheel  26  7 29 14:56 /usr/local/lib/sasl2/Sendmail.conf
banyan# cat /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd


Reed

From: Ihor Prystay
Sent: Friday, July 31, 2009 2:55 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


You may check the location of sasl2 lib which sendmail is compiled with
- do ldd on sendmail executable. And verify if Sendmail.conf in the
sasl2 lib folder doesn't have any restrictions on available mechs.

Ihor



Reed Lai wrote:

The liblogin.so is in directory

banyan# ll /usr/local/lib/sasl2/liblogin.so
lrwxr-xr-x  1 root  wheel  13  7 29 14:54
/usr/local/lib/sasl2/liblogin.so - liblogin.so.2
banyan# ll /usr/local/lib/sasl2/liblogin.so.2
-rwxr-xr-x  1 root  wheel  17172  7 29 14:54
/usr/local/lib/sasl2/liblogin.so.2

There is only confAUTH_MECHANISMS in .mc file, not confAUTH_OPTIONS

dnl set SASL options
dnl 
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 4:58 PM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
recompile sasl with LOGIN mech support.
Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
make sure 'p' parameter is not on the list or LOGIN would be available
only after TLS encryption which is not a case for you as your working
configuration offers LOGIN during telnet session (it's actually a bad
idea to do authentication clear text).

Ihor


Reed Lai wrote:

Yes, the new server leaks LOGIN in the 250-AUTH list!

New server
=
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

Functional server
==
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

I have checked the generated .cf file in the new server and there are
class and option listed

C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

The new server has same configuration to old server, but has not LOGIN
in the 250-AUTH list.
BTW, the new server has hostname changed once... I don't know if it does
matter or not..

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


Tray telnet to port 25 of your working SMTP server and compare the
output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:

The maillog does not log the sm-mta: AUTH=server action. The functional
server has the AUTH=server action logged. How do I debug from this
different?

Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the
functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com

Re: SMTP Authentication

2009-07-30 Thread Reed Lai
I am very sorry. I forgot to make install to install the 
/etc/mail/sendmail.cf, so it has only banyan..mc/cf files updated.

I always forget the final target is sendmail.cf XD

The new server is available for AUTH LOGIN now.
The trouble is resolved.

Ihor, thank you very mcuh for all helps!

Reed Lai

From: Reed Lai
Sent: Friday, July 31, 2009 12:51 PM
To: FreeBSD Question
Subject: Re: SMTP Authentication


The test of saslauthd seems OK too:


banyan# testsaslauthd -s smtp -u aNN -p 
0: OK Success.


The auth login in smtp connection is still not available:


ehlo local
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
...
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
auth login
504 5.3.3 AUTH mechanism login not available


Reed

From: Reed Lai
Sent: Friday, July 31, 2009 10:26 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


And there is LOGIN option selected (as ports default options) when
installing the cyrus-sasl2.

Reed

From: Reed Lai
Sent: Friday, July 31, 2009 10:14 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Both servers have same ldd outputs and Sendmail.conf contains only
pwcheck_method: saslauthd


banyan# ldd -a /usr/sbin/sendmail
/usr/sbin/sendmail:
   libutil.so.7 = /lib/libutil.so.7 (0x2807d000)
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
/lib/libutil.so.7:
   libc.so.7 = /lib/libc.so.7 (0x2808a000)
banyan#
banyan# ll /usr/local/lib/sasl2/Sendmail.conf
-rw-r--r--  1 root  wheel  26  7 29 14:56 /usr/local/lib/sasl2/Sendmail.conf
banyan# cat /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd


Reed

From: Ihor Prystay
Sent: Friday, July 31, 2009 2:55 AM
To: FreeBSD Question
Subject: Re: SMTP Authentication


You may check the location of sasl2 lib which sendmail is compiled with
- do ldd on sendmail executable. And verify if Sendmail.conf in the
sasl2 lib folder doesn't have any restrictions on available mechs.

Ihor



Reed Lai wrote:

The liblogin.so is in directory

banyan# ll /usr/local/lib/sasl2/liblogin.so
lrwxr-xr-x  1 root  wheel  13  7 29 14:54
/usr/local/lib/sasl2/liblogin.so - liblogin.so.2
banyan# ll /usr/local/lib/sasl2/liblogin.so.2
-rwxr-xr-x  1 root  wheel  17172  7 29 14:54
/usr/local/lib/sasl2/liblogin.so.2

There is only confAUTH_MECHANISMS in .mc file, not confAUTH_OPTIONS

dnl set SASL options
dnl 
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 4:58 PM
To: FreeBSD Question
Subject: Re: SMTP Authentication


Check if /usr/local/lib/sasl2/liblogin.so exists - if not you have to
recompile sasl with LOGIN mech support.
Check in your .mc file if you define confAUTH_OPTIONS macro. If you do
make sure 'p' parameter is not on the list or LOGIN would be available
only after TLS encryption which is not a case for you as your working
configuration offers LOGIN during telnet session (it's actually a bad
idea to do authentication clear text).

Ihor


Reed Lai wrote:

Yes, the new server leaks LOGIN in the 250-AUTH list!

New server
=
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5

Functional server
==
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

I have checked the generated .cf file in the new server and there are
class and option listed

C{TrustAuthMech}GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN
O AuthMechanisms=GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN

The new server has same configuration to old server, but has not LOGIN
in the 250-AUTH list.
BTW, the new server has hostname changed once... I don't know if it does
matter or not..

Reed

From: Ihor Prystay
Sent: Thursday, July 30, 2009 2:35 PM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


Tray telnet to port 25 of your working SMTP server and compare the
output.
Check
250-AUTH list of supported auth mech
According to the provided log from the working server it should be LOGIN
mech available in the list, which is not present on the new server.

Ihor


Reed Lai wrote:

The maillog does not log the sm-mta: AUTH=server action. The functional
server has the AUTH=server action logged. How do I debug from this
different?

Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the
functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the
Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP 

Re: 7.2 RELEASE ? Buggy as hell

2009-07-30 Thread Mel Flynn
On Thursday 30 July 2009 18:24:54 Andrew Gould wrote:
 On Thu, Jul 30, 2009 at 4:08 PM, Mel

 Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
  On Thursday 30 July 2009 12:50:11 Andrew Gould wrote:
  On Thu, Jul 30, 2009 at 3:06 PM, Adam Vande Moreamvandem...@gmail.com
 
  wrote:
   On Thu, Jul 30, 2009 at 2:32 PM, PJ af.gour...@videotron.ca wrote:
   I have (supposedly, as I am told by my bootup) upgraded to 7.2
   Wonderful. But how do i make this thing work. I've managed to do it
   on an amd64 on an ACER Travelmate 4400 running at 1600mhz.
   This box runs on 3ghz; Xorg comes up and the mouse is dead.
   Flashplayer9 with linux-emulator f8 and all the tweaks does not work,
   acroread9 does not either,
   hal is useless. I've tried turning off the option AllowEmptyInput to
   off; i've tried starting hal - and when I run startx, the
   configuration file is the default built-in... I don't understand what
   the hell is going on... None of the solutions on google seem to work
   either... oh, but there is some sunlight in neverneverland... I can
   boot and I can install all kinds of files - funny, I don't want to
   play with this crap... and I certainly am not going to reinstall
   after all I have gone through... If I do reinstall, it will be
   another OS.
   If it all works on amd64, what's wrong with i386?
   I think it's time to switch to something more reliable.
  
   There's nothing wrong i386, at least in the regard you're suggesting.
Try
  
   searching deeper within yourself for the issue.
  
   --
   Adam Vande More
 
  I don't think that answer was helpful.
 
  It's the right answer though.
 
  PJ is not alone in frustration regarding 7.2.  For many users, it's
  hard to tell whether the balance of difficulties lies in bugs or new
  manual configuration requirements of 7.2.
 
  I think much of the frustration lies in our perception of STABLE.
  When we upgraded from 7.1 (or 7.0), we expected a fairly smooth ride.
  I had frustrations related to X (hal), mounting drives (hal), printing
  (cups vs applications), and printing (gimp vs hpijs).  Yes, I read the
  (uncentralized) documentation.
 
  I think release CD's should not contain packages anymore, cause
  everything you describe here, has absolutely nothing to do with FreeBSD
  7.2, but with 3rd party software that happened to be packaged at release
  time.
  You should really be using PCBSD if you want a packaged desktop system,
  for which the developers claim responsibility and for which much (if not
  all) of the configuration has been done for you.

The paragraph below is a generalized statement, perhaps I should've used 'one' 
instead of 'you'.

  When using FreeBSD you are expected to understand the handbook, configure
  things on your own and be able to troubleshoot problems and/or provide
  the right information in case you need help. If you can't do this, then
  FreeBSD is not the right tool for you. No harm in that, nobody forces you
  to use FreeBSD nor will convict you for using an OS that suits you
  better.
  --
  Mel

 Your answer is presumptuous.  You've already assumed that my problems
 lie in my inability or lack of willingness to read the documentation
 and perform configuration.  I have been running X on FreeBSD
 successfully since version 4.0 and have been reading documentation and
 configuring my system since 2000.  I'm not just talking about X, I'm
 talking about postfix, postgresql, samba, apache with webdav over ssl,
 etc.

 I am having far more trouble with a STABLE release than I had with
 5.0.

That is very weird, since most of the community regards the 5.x series as the 
worst in FreeBSD's history. They were a transitional release to dismiss the 
GIANT locking in favor of fine grained kernel locks as the main design change. 
I've personally seen significant improvements in both reliability and 
performance since 5.x, with respect to kernel and base. I'm seeing absolutely 
no issues with postfix or postgresql (especially since on 64-bit I can now 
increase kernel memory to satisfy postgresql's SHM requirements), don't have 
critical samba installations so can't comment on that and webdav over ssl I 
don't provide at all. Could you point me to some PR's you've filed? You got me 
curious now.

 It is easy, and technically correct, to separate the core FreeBSD
 system from the ports.  This I grant you.  Beyond the initial
 clarification, however, it is not the least bit useful.  To the world
 of FreeBSD users, even many of the technically advanced users, FreeBSD
 would lose much of its usefulness without the ports.  So, beyond
 saying that it's not your problem, what have you accomplished?

See $subject. As far as I'm concerned, 7.2 is the best release so far. The OP 
makes it sound like FreeBSD is the cause of all his problems, while looking at 
his posts, some can be attributed to himself and the rest to factors beyond 
FreeBSD's control, probably including hardware.

 I'll get off my soap box