Unable to download FreeBSD
Hi FreeBSD Team, When I try to download the FreeBSD distribution (by clicking on the link that refers to location: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE) , I get an error 425 Failed to establish connection. Could you please let me know an alternate working link. Thanks Regards, Balaje. ___ 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: Unable to download FreeBSD
Balaje Suri wrote: Hi FreeBSD Team, When I try to download the FreeBSD distribution (by clicking on the link that refers to location: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE) , I get an error 425 Failed to establish connection. Try remving the ) close parenthesis from the end of the URI. -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
Re: pkg_add problem
On 04/19/2011 11:35 AM, H.Erkin ATAK wrote: I am running freebsd 8.2 on virtualbox on an ubuntu machine. I am running gnome and have network access no problem. But I can not add any packages via pkg_add. It gives can not fetch ftp address. I tried different mirrors but it did not work. Please help me. Try setting the virtual network card in vbox to bridged mode. AFAIR it defaults to NAT. ___ 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
Subversion over SSH works through GIT but not with SVN
Hi all, I have recently discovered that by subversion client (1.16_2) is not able any more to access my subversion accounts over svn+ssh (with key based authentication). It seems very odd to me, because in the same time git can access these accounts (with the git svn command) and commit to these repositories! I am here absolutely clueless, so I would welcome your insights and your help! I set up `SVN_SSH' to `ssh -vv' in order to get a little more feedback than the `connexion unexpectedly closed' that subversion gave me. Here is an exceirpt of the successful svn+ssh authentication achieved by git svn: debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/michael/.ssh/id_rsa (0x801a61680) debug2: key: /home/michael/.ssh/id_dsa (0x0) debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/michael/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Server accepts key: pkalg ssh-rsa blen 277 on the pure svn side I have instead debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/michael/.ssh/id_rsa (0x801a61660) debug2: key: /home/michael/.ssh/id_dsa (0x0) debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/michael/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey debug1: Trying private key: /home/michael/.ssh/id_dsa debug2: we did not send a packet, disable method (this is the point were the two transcripts start to disagree). I do not know what is the hex value after the name of the file containing my private key, but it semms weird to me that the two runs give here different results! Do you see a symptom related to my problem? -- Thanks a lot, Michael ___ 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
relayd.conf interval and timeout values
Hi list, I have a question regarding the interval and timeout values. Here is my relayd.conf host1=10.0.0.1 host2=10.0.0.2 host_ext=10.0.1.1 interval 5 timeout 3000 table host_table { $host1 $host2 } relay smtp_relay { listen on $host_ext port smtp forward to host_table port smtp interval 15 timeout 14000 check script /tmp/chk_test.sh } and the little script to test the intervals and timeouts: #!/usr/local/bin/bash while true; do echo PID: $$ - HOST: $1 - DATE: $(date) /tmp/chk_test.txt sleep 1 done As I understand relayd should start the script /tmp/chk_test.sh every 15 seconds and kills it after 14 seconds since the table configuration overwrites the global configuration. But relayd starts the script every 5 seconds and kills it after 3 seconds. Have I misunderstood something? I've installed relayd-4.6.20090813_5 from the ports. And the FreeBSD version is: # uname -vp FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Many thanks 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: redirecting command output depending on exit status
On Tue, Apr 19, 2011 at 04:00:52PM +0200, Bastien Semene typed: Hi list, I have a cron task set up using lockf. I'd like to redirect one exit status to /dev/null : it (lockf command) returns one of the exit codes defined in sysexits(3), as follows: EX_TEMPFAIL The specified lock file was already locked by another process. EX_CANTCREAT The lockf utility was unable to create the lock file, e.g., because of insufficient access privileges. EX_USAGE There was an error on the lockf command line. EX_OSERR A system call (e.g., fork(2)) failed unexpectedly. EX_SOFTWARE The command did not exit normally, but may have been sig- naled or stopped. I don't care about the EX_TEMPFAIL output as I consider it as a successful exit status, not an error. I there a trick to do that in a short way ? something like logfile=/var/log/lockf.log lockf lockfile command [ $? -eq 75 ] logfile=/dev/null ## EX_TEMPFAIL is defined to be 75 Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Unable to download FreeBSD
On Wed, Apr 20, 2011 at 11:09:57AM +0530, Balaje Suri typed: Hi FreeBSD Team, When I try to download the FreeBSD distribution (by clicking on the link that refers to location: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE) , I get an error 425 Failed to establish connection. Could you please let me know an alternate working link. The link is good. You should probably configure your ftp client to use passive mode. ___ 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: Unable to download FreeBSD
On 4/20/11 9:23 AM, Ruben de Groot wrote: On Wed, Apr 20, 2011 at 11:09:57AM +0530, Balaje Suri typed: Hi FreeBSD Team, When I try to download the FreeBSD distribution (by clicking on the link that refers to location: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE) , I get an error 425 Failed to establish connection. Could you please let me know an alternate working link. The link is good. You should probably configure your ftp client to use passive mode. And if ftp just won't cooperate with you, you can always go to http://torrents.FreeBSD.org:8080/ grab a torrent file using HTTP and use a BitTorrent client to get what you need. Unless, of course, your local firewall/network/ISP/etc blocks BitTorrent also. --Jon Radel j...@radel.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
How to be an imap Client?
This FreeBSD system uses sendmail in normal smtp configuration. I use procmail and nmh to manage incoming messages and it all works great so I don't want to destroy all that. I do, however, need to use imap to send messages from this system through our Microsoft Exchange gateway because some systems use DNSBL and our entire network is on the blacklist so one must send from the gateway which, I guess, must be whitlisted. Is there any FreeBSD-compatible package that will act as a imap client so I can send messages, when needed, through the Exchange gateway and still preserve present smtp functionality? Many thanks. What a mess needing to send one message to one person is turning in to. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ 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: redirecting command output depending on exit status
Bastien Semene Administrateur Réseau Système Cyanide Studio - FRANCE Le 20/04/2011 15:01, Ruben de Groot a écrit : On Tue, Apr 19, 2011 at 04:00:52PM +0200, Bastien Semene typed: Hi list, I have a cron task set up using lockf. I'd like to redirect one exit status to /dev/null : it (lockf command) returns one of the exit codes defined in sysexits(3), as follows: EX_TEMPFAIL The specified lock file was already locked by another process. EX_CANTCREAT The lockf utility was unable to create the lock file, e.g., because of insufficient access privileges. EX_USAGE There was an error on the lockf command line. EX_OSERR A system call (e.g., fork(2)) failed unexpectedly. EX_SOFTWARE The command did not exit normally, but may have been sig- naled or stopped. I don't care about the EX_TEMPFAIL output as I consider it as a successful exit status, not an error. I there a trick to do that in a short way ? something like logfile=/var/log/lockf.log lockf lockfile command [ $? -eq 75 ] logfile=/dev/null ## EX_TEMPFAIL is defined to be 75 Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I used this $? test in a script. My question was to know if it is possible to do this in 1 command line, but I found nothing anywhere to do this. Thank you for the answer ! ___ 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 be an imap Client?
There is the Mail::IMAPClient perl module (or Net::IMAP::Simple, perl's about choice ;-) ) Ruben On Wed, Apr 20, 2011 at 10:01:28AM -0500, Martin McCormick typed: This FreeBSD system uses sendmail in normal smtp configuration. I use procmail and nmh to manage incoming messages and it all works great so I don't want to destroy all that. I do, however, need to use imap to send messages from this system through our Microsoft Exchange gateway because some systems use DNSBL and our entire network is on the blacklist so one must send from the gateway which, I guess, must be whitlisted. Is there any FreeBSD-compatible package that will act as a imap client so I can send messages, when needed, through the Exchange gateway and still preserve present smtp functionality? Many thanks. What a mess needing to send one message to one person is turning in to. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Image activator
On Wed, Apr 20, 2011 at 12:48:38AM +0530, akash kumar wrote: Hi, Can someone throw light on what ELF image activators is all about and point me to some good articles on it. You mean the thingy that starts execution of a file by setting up process memory and remapping the text and initialized data segments into the low part of the address space and setting up the user stack? Aside from a brief mention in McKusick's and Neville-Neil's book on FreeBSD, I haven't found anything on it. I think this is a case of RTFS. ___ 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 be an imap Client? Solved, somewhat
Ruben de Groot writes: There is the Mail::IMAPClient perl module (or Net::IMAP::Simple, perl's about choice ;-) ) Many thanks as this may come up again. In actuality, I was able to end up using simple SMPT mail to use our Exchange gateway. I just set that gateway as a smarthost which I thought I was already doing. I then made nmh generate the from line that we need for such messages and it now is going through the gateway as a smart host. Again thanks. ___ 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
Fails to install editors/libreoffice
divHi all! I'm try to install editors/libreoffice on my machine:/divdivOS: nbsp;8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Apr 20 15:18:53 YEKST 2011 nbsp;i386/divdivls /var/db/pkg | grep jdk/divdivdiablo-jdk-1.6.0.07.02_13br /jdk-1.6.0.3p4_22/divdivnbsp;/divdivRAM: 2Gb + 4Gb swap file/divdivHard disk space 29Gb/divdivnbsp;/divdivI'm try disable all options, and try enable KDE + JAVA and KDE w/o JAVA./divdivnbsp;/divdivthere is output of error:/divdivnbsp;/divdivEntering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/utilbr /br /Making:sdbc_hsqldb.dpjbr /br /dmake: Executing shell macro: cd $(MISC)/registry/data/org/openoffice/Office/DataAccess amp;amp; ls *.xcubr //usr/local/jdk1.6.0/bin/javac -source 1.5 -target 1.5 -classpath .:../../../../../../unxfbsdi.pro/class:/usr/local/jdk1.6.0/jre/lib/rt.jar:.:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/hsqldb.jar::/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib -d ../../../../../../unxfbsdi.pro/class @/tmp/mkUcfJf6br /terminate called after throwing an instance of 'com::sun::star::lang::IllegalArgumentException'br //usr/local/bin/bash: line 1: 2894 Abort trap: 6 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester ../../unxfbsdi.pro/lib/test_metadatable.sobr /dmake: Error code 134, while making 'test1'br /Making:sdbc_hsqldb.dpjbr /br /echo Class-Path: hsqldb.jar .. gt;gt; ../../../../../../unxfbsdi.pro/class/sdbc_hsqldb/META-INF/MANIFEST.MFbr /updating: META-INF/MANIFEST.MF (deflated 7%)br /updating: com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.class (deflated 55%)br /updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.class (deflated 51%)br /updating: com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.class (deflated 56%)br /updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.class (deflated 50%)br /updating: com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.class (deflated 53%)br /updating: com/sun/star/sdbcx/comp/hsqldb/StorageAccess.class (deflated 54%)br /updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess$FileSync.class (deflated 52%)br /updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.class (deflated 57%)br /updating: com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.class (deflated 46%)br /updating: org/hsqldb/lib/FileSystemRuntimeException.class (deflated 48%)br /connectivity deliverbr /Module 'connectivity' delivered successfully. 0 files copied, 115 files unchangedbr /br /---br / Oh dear - something failed during the build - sorry !br / For more help with debugging build errors, please see the section in:br / http://wiki.documentfoundation.org/Developmentbr /br / internal build errors:br /br /ERROR: error 65280 occurred while making /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunitbr /ERROR: error 65280 occurred while making /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/pyuno/source/loaderbr /br / it seems you are using a threaded build, which means that thebr / actual compile error is probably hidden far above, and could bebr / inside any of these other modules:br / sfx2br / please re-run build inside each one to isolate the problem.br /---br /br //usr/local/bin/bashbr /cd /var/XXX/libreoffice-build-3.3.2.2/build/libreofficebr /source ./FreeBSDX86Env.Set.shbr /cd pyunobr /buildbr /br /when the problem is isolated and fixed exit and re-run 'make' from the top-levelbr /sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module.br /gmake: *** [stamp/build] Ошибка 1br /*** Error code 1br /br /Stop in /usr/ports/editors/libreoffice.br /*** Error code 1br /br /Stop in /usr/ports/editors/libreoffice./div___ 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 be an imap Client?
On Wed, 20 Apr 2011 10:01:28 -0500 Martin McCormick mar...@dc.cis.okstate.edu articulated: I do, however, need to use imap to send messages from this system through our Microsoft Exchange gateway because some systems use DNSBL and our entire network is on the blacklist so one must send from the gateway which, I guess, must be whitlisted. Why are you blacklisted? It seems correcting that problem would be my first priority. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Never tell a lie unless it is absolutely convenient. ___ 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
libreoffice not builds (sorry for codepage problem)
Hi all! I'm try to install editors/libreoffice on my machine: OS: 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Apr 20 15:18:53 YEKST 2011 i386 ls /var/db/pkg | grep jdk diablo-jdk-1.6.0.07.02_13 jdk-1.6.0.3p4_22 RAM: 2Gb + 4Gb swap file Hard disk space 29Gb I'm try disable all options, and try enable KDE + JAVA and KDE w/o JAVA. there is output of error: Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/connectivity/util Making: sdbc_hsqldb.dpj dmake: Executing shell macro: cd $(MISC)/registry/data/org/openoffice/Office/DataAccess ls *.xcu /usr/local/jdk1.6.0/bin/javac -source 1.5 -target 1.5 -classpath .:../../../../../../unxfbsdi.pro/class:/usr/local/jdk1.6.0/jre/lib/rt.jar:.:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/hsqldb.jar::/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib -d ../../../../../../unxfbsdi.pro/class @/tmp/mkUcfJf6 terminate called after throwing an instance of 'com::sun::star::lang::IllegalArgumentException' /usr/local/bin/bash: line 1: 2894 Abort trap: 6 LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester ../../unxfbsdi.pro/lib/test_metadatable.so dmake: Error code 134, while making 'test1' Making: sdbc_hsqldb.dpj echo Class-Path: hsqldb.jar .. ../../../../../../unxfbsdi.pro/class/sdbc_hsqldb/META-INF/MANIFEST.MF updating: META-INF/MANIFEST.MF (deflated 7%) updating: com/sun/star/sdbcx/comp/hsqldb/NativeInputStreamHelper.class (deflated 55%) updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeInputStream.class (deflated 51%) updating: com/sun/star/sdbcx/comp/hsqldb/NativeOutputStreamHelper.class (deflated 56%) updating: com/sun/star/sdbcx/comp/hsqldb/StorageNativeOutputStream.class (deflated 50%) updating: com/sun/star/sdbcx/comp/hsqldb/NativeStorageAccess.class (deflated 53%) updating: com/sun/star/sdbcx/comp/hsqldb/StorageAccess.class (deflated 54%) updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess$FileSync.class (deflated 52%) updating: com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.class (deflated 57%) updating: com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.class (deflated 46%) updating: org/hsqldb/lib/FileSystemRuntimeException.class (deflated 48%) connectivity deliver Module 'connectivity' delivered successfully. 0 files copied, 115 files unchanged --- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit ERROR: error 65280 occurred while making /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/pyuno/source/loader it seems you are using a threaded build, which means that the actual compile error is probably hidden far above, and could be inside any of these other modules: sfx2 please re-run build inside each one to isolate the problem. --- /usr/local/bin/bash cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice source ./FreeBSDX86Env.Set.sh cd pyuno build when the problem is isolated and fixed exit and re-run 'make' from the top-level sometimes (sadly) it is necessary to rm -Rf unxfbsdi.pro in a module. gmake: *** [stamp/build] Ошибка 1 *** Error code 1 Stop in /usr/ports/editors/libreoffice. *** Error code 1 Stop in /usr/ports/editors/libreoffice. -- С уважением, Гуляев Гоша. ___ 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
Modifying Sendmail's Configuration the Correct way.
The /etc/mail/sendmail.cf file very clearly tells one not to edit it directly so I edited the /etc/mail/my.name.domain.mc file as stated in documentation to cause this system to send all out-bound mail through a smart host. The .mc file part that adds the smart host looks like: dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') define(`SMART_HOST', `mailserver.okstate.edu') After that, I did a make in that directory and things seemed to go well. After restarting sendmail, it still wanted to resolve normally and not use the gateway. The only way we could get it to behave as desired was to do what one is not supposed to do and edit sendmail.cf and add the mailserver.okstate.edu name right against the line beginning with DS After another restart, everything worked. What am I failing to do as this is not the proper way to reconfigure sendmail? The DS line in the master file looks like DSmailserver.okstate.edu Many thanks and the handbook is very helpful but I haven't seemed to run across anything that directly addresses this situation. ___ 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: Modifying Sendmail's Configuration the Correct way.
On 4/20/2011 2:47 PM, Martin McCormick wrote: dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') define(`SMART_HOST', `mailserver.okstate.edu') I usually do make make install make stop make start after the first make, you should be able to diff the created .cf file and the actuall sendmail.cf file. It doesnt actually install it, it just creates a temp copy. 0(cage)# make /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 cage.simianscience.com.mc cage.simianscience.com.cf 0(cage)# diff -u sendmail.cf cage.simianscience.com.cf --- sendmail.cf 2011-04-20 15:32:46.0 -0400 +++ cage.simianscience.com.cf 2011-04-20 15:32:52.0 -0400 @@ -76,6 +76,7 @@ + # $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ # # level 10 config file format @@ -110,7 +111,7 @@ CP. # Smart relay host (may be null) -DS +DSsmarthost2.sentex.ca # operators that cannot be in local usernames (i.e., network indicators) 1(cage)# Then a full stop and start after the install should get you what you want. ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.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: Modifying Sendmail's Configuration the Correct way.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/20/11 2:47 PM, Martin McCormick wrote: The /etc/mail/sendmail.cf file very clearly tells one not to edit it directly so I edited the /etc/mail/my.name.domain.mc file as stated in documentation to cause this system to send all out-bound mail through a smart host. The .mc file part that adds the smart host looks like: dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server') define(`SMART_HOST', `mailserver.okstate.edu') After that, I did a make in that directory and things seemed to go well. After restarting sendmail, it still wanted to resolve normally and not use the gateway. The only way we could get it to behave as desired was to do what one is not supposed to do and edit sendmail.cf and add the mailserver.okstate.edu name right against the line beginning with DS After another restart, everything worked. What am I failing to do as this is not the proper way to reconfigure sendmail? The DS line in the master file looks like DSmailserver.okstate.edu Many thanks and the handbook is very helpful but I haven't seemed to run across anything that directly addresses this situation. Hi Martin, Try these commands, and the sendmail.cf will be updated from the .mc file: edit .mc file make install make restart Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2vNisACgkQ0sRouByUApDFLQCfcnoA8rbGxi5NunLjKlnfaxSS E7sAmweUPxSIHqkU6crW8Qjxmp8+Nmf8 =bO3y -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't determine sound card driver to use in /etc/rc.conf
This MAY be a codec problem. You can try the following: First mount the DVD (cd_9660), then use mplayer on one of the VOB files directly. Choose one of the bigger files for this test, and maybe use mplayer's -v option to get an idea what may be wrong - the program should tell you about this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Here's output from shell [olivares@grulla ~]$ mplayer dvd://1 MPlayer SVN-r32577-snapshot-4.2.1 (C) 2000-2010 MPlayer Team Playing dvd://1. libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.BU. Can't open VMG info! No stream found to handle url dvd://1 Exiting... (End of file) [olivares@grulla ~]$ I have tried different movies and get similar results :( [olivares@grulla ~]$ uname -a FreeBSD grulla 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #0: Sat Apr 2 15:06:58 UTC 2011 r...@hybrid.freebsdgr.org:/usr/obj/usr/src/sys/GENERIC amd64 [olivares@grulla ~]$ uname -m amd64 Regards, Antonio ___ 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: Modifying Sendmail's Configuration the Correct way.
Thanks to all. Somehow, I missed the make install. I will give it another try and it will probably work as it should. This is a great list and everybody is very nice even to those of us who have been running FreeBSD for many years but are trying new things. Greg Larkin writes: Try these commands, and the sendmail.cf will be updated from the .mc file: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Modifying Sendmail's Configuration the Correct way.
On Wed, Apr 20, 2011 at 2:47 PM, Martin McCormick mar...@dc.cis.okstate.edu wrote: The /etc/mail/sendmail.cf file very clearly tells one not to edit it directly so I edited the Hey Martin, this might not be the exact answer you're looking for but I despise sendmail but *love* FreeBSD so here are my $0.02: 1) edit your /etc/rc.conf sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO postfix_enable=YES 2) cd /usr/ports/mail/postfix make install clean Play close attention to all messages, remember to regenerate the aliases with newalias and let the script modify your mailer.conf to enable postfix and say yes. In case you forget here is my /etc/mail/mailer.conf # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail # sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail then /usr/local/etc/rc.d/postfix start Enjoy! http://www.postfix.org There have been many requests to let us choose our favorite MTA for the base system. It seems things are moving in that direction since you will notice an option in the make config of the newer postfix versions it says to install postfix in the base. Right now I would avoid this, (other maybe other can comment more on this option) but hopefully in the future those of use that don't like sendmail can avoid it's use. best, Alejandro Imass ___ 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: Subversion over SSH works through GIT but not with SVN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/20/11 7:21 AM, Michael Grünewald wrote: Hi all, I have recently discovered that by subversion client (1.16_2) is not able any more to access my subversion accounts over svn+ssh (with key based authentication). It seems very odd to me, because in the same time git can access these accounts (with the git svn command) and commit to these repositories! I am here absolutely clueless, so I would welcome your insights and your help! I set up `SVN_SSH' to `ssh -vv' in order to get a little more feedback than the `connexion unexpectedly closed' that subversion gave me. Here is an exceirpt of the successful svn+ssh authentication achieved by git svn: debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/michael/.ssh/id_rsa (0x801a61680) debug2: key: /home/michael/.ssh/id_dsa (0x0) debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/michael/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Server accepts key: pkalg ssh-rsa blen 277 on the pure svn side I have instead debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/michael/.ssh/id_rsa (0x801a61660) debug2: key: /home/michael/.ssh/id_dsa (0x0) debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/michael/.ssh/id_rsa debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey debug1: Trying private key: /home/michael/.ssh/id_dsa debug2: we did not send a packet, disable method (this is the point were the two transcripts start to disagree). I do not know what is the hex value after the name of the file containing my private key, but it semms weird to me that the two runs give here different results! Do you see a symptom related to my problem? Hi Michael, I think the hex value discrepancy is significant, but I'm not yet sure why the value changes. The private key filename looks the same. When I run into problems like this, I first start by eliminating the application connecting through ssh and just try a standard ssh connection like so: ssh -vvv -l username hostname You may also want to add -i ~/.ssh/id_rsa to the command line to see if that changes anything. If you authenticate successfully with that command, then check the ~/.subversion/config file for suspect entries in the [tunnels] section. Finally, if all else fails, I run commands through truss or strace to see if there are any strange errors generated by system calls, like a missing library or config file, or an unexpected chdir() or chroot(). Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2vROsACgkQ0sRouByUApDzZwCfaQ1TPWXr4YFNKRhE792XXR3o LBMAnjWrw8Y+DqZnAz9YJqP/Qh9lS7uX =wtcF -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: #make all vs #/make buildworld
Good Day; Okay, stupid question answered! I found the appropriate section of the Handbook which tells the reasons to use the right build procedure. I then CVSup'd source and ports today. make buildworld seems to be executing as expected. Then... the screen blanked and the mouse and keyboard quit working but, that is a story for another day. I can ssh into the machine from a laptop and see the processes running. I'll wait until the drive light stops indicating activity and ps -A tells me the build process has finished, then do a shutdown -r remotely. Thank You, michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: freebsd-questions Digest, Vol 359, Issue 2
On Tue, April 19, 2011 8:30 am, erkin.a...@gmail.com wrote: fetch is not working. Of the twenty emails that you just quoted, which are you replying to? Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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: Modifying Sendmail's Configuration the Correct way.
--As of April 20, 2011 3:50:16 PM -0400, Alejandro Imass is alleged to have said: There have been many requests to let us choose our favorite MTA for the base system. It seems things are moving in that direction since you will notice an option in the make config of the newer postfix versions it says to install postfix in the base. Right now I would avoid this, (other maybe other can comment more on this option) but hopefully in the future those of use that don't like sendmail can avoid it's use. --As for the rest, it is mine. I picked the option to install postfix in the base. It works the same as postfix out of the base. Only one real difference that I've noted: Instead of being in '/usr/local/sbin/' it's in '/usr/sbin/'. There are quite a few other ports I've noticed that see postfix and assume it's in /usr/local/*, so this can be annoying as you are installing other things. On the other hand, every time I've run into it, it's just been a config option or so that needed changing. You just have to be on the lookout for it: lots of things send the occasional email, or can. Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ 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