Re: Setting Env
- Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 1:02:01 AM Subject: Re: Setting Env Drew Jenkins wrote: LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you? Why not source environment variables from an outside script / rc-file? It's better / smarter in the long run, IMHO. Sounds great. Again, as I wrote in my last post, I don't know *exactly* what command needs to be entered!! I have tried this in the /etc/rc.conf file: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ --or-- export LD_LIBRARY_PATH=/usr/local/lib/mysql/ --or-- LD_LIBRARY_PATH=/usr/local/lib/mysql/ none of which work. I have tried creating a script and chmod +x in the /usr/local/etc/rc.d folder: #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ and that doesn't work, either. Would it be okay if I asked anyone out there to tell me *exactly* what I need to do to get this to be set on startup?? TIA. Drew Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
.wavs play but not .mp3s
Hello all, I'm not having any trouble playing .wav files; lame -h seems to happily convert them, and mpg123 and madplay don't complain when I ask them to play .mp3s, but I'm also not hearing any sound. xmms does nothing. I'm not getting any visible errors in any of this. I tried using the sample command from the FreeBSD manual, which specifies a device; I don't have dsp1.0 so I tried dsp0.0 . I have: crw-rw-rw- 1 root wheel 0, 45 Mar 2 13:49 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 48 Mar 6 22:28 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 51 Mar 2 13:49 /dev/dsp0.2 crw-rw-rw- 1 root wheel 0, 54 Mar 2 13:49 /dev/dsp0.3 crw-rw-rw- 1 root wheel 0, 57 Mar 2 13:49 /dev/dsp0.4 crw-rw-rw- 1 root wheel 0, 61 Mar 2 13:49 /dev/dsp0.5 crw-rw-rw- 1 root wheel 0, 46 Mar 2 13:49 /dev/dspW0.0 crw-rw-rw- 1 root wheel 0, 49 Mar 2 13:49 /dev/dspW0.1 crw-rw-rw- 1 root wheel 0, 52 Mar 2 13:49 /dev/dspW0.2 crw-rw-rw- 1 root wheel 0, 55 Mar 2 13:49 /dev/dspW0.3 crw-rw-rw- 1 root wheel 0, 58 Mar 2 13:49 /dev/dspW0.4 crw-rw-rw- 1 root wheel 0, 62 Mar 2 13:49 /dev/dspW0.5 crw-rw-rw- 1 root wheel 0, 60 Mar 2 13:49 /dev/dspr0.4 crw-rw-rw- 1 root wheel 0, 64 Mar 2 13:49 /dev/dspr0.5 So, why is this such a problem? -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpw4jkxecbDO.pgp Description: PGP signature
An alternative to FOP
Hi all I am working on a documentation project using docbook in which I need to incorporate some arabic text. I am using xsltproc to convert to xhtml and fo, and it works perfectly. Normally I use FOP to convert from fo to pdf, but FOP can't render the arabic text. And the result is hashes (###). I have checket the fo file and it has been converted perfectly as well. I need an alternative to FOP, which can handle utf8, any recommendations would be appreciated. Best and kind regards, Rico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Drew Jenkins wrote: - Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 1:02:01 AM Subject: Re: Setting Env Drew Jenkins wrote: LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you? Why not source environment variables from an outside script / rc-file? It's better / smarter in the long run, IMHO. Sounds great. Again, as I wrote in my last post, I don't know *exactly* what command needs to be entered!! I have tried this in the /etc/rc.conf file: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ --or-- export LD_LIBRARY_PATH=/usr/local/lib/mysql/ --or-- LD_LIBRARY_PATH=/usr/local/lib/mysql/ none of which work. I have tried creating a script and chmod +x in the /usr/local/etc/rc.d folder: #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ and that doesn't work, either. Would it be okay if I asked anyone out there to tell me *exactly* what I need to do to get this to be set on startup?? TIA. Drew The question is, what's failing (or not behaving as expected)? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .wavs play but not .mp3s
David Benfell wrote: Hello all, I'm not having any trouble playing .wav files; lame -h seems to happily convert them, and mpg123 and madplay don't complain when I ask them to play .mp3s, but I'm also not hearing any sound. xmms does nothing. I'm not getting any visible errors in any of this. I tried using the sample command from the FreeBSD manual, which specifies a device; I don't have dsp1.0 so I tried dsp0.0 . I have: crw-rw-rw- 1 root wheel 0, 45 Mar 2 13:49 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 48 Mar 6 22:28 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 51 Mar 2 13:49 /dev/dsp0.2 crw-rw-rw- 1 root wheel 0, 54 Mar 2 13:49 /dev/dsp0.3 crw-rw-rw- 1 root wheel 0, 57 Mar 2 13:49 /dev/dsp0.4 crw-rw-rw- 1 root wheel 0, 61 Mar 2 13:49 /dev/dsp0.5 crw-rw-rw- 1 root wheel 0, 46 Mar 2 13:49 /dev/dspW0.0 crw-rw-rw- 1 root wheel 0, 49 Mar 2 13:49 /dev/dspW0.1 crw-rw-rw- 1 root wheel 0, 52 Mar 2 13:49 /dev/dspW0.2 crw-rw-rw- 1 root wheel 0, 55 Mar 2 13:49 /dev/dspW0.3 crw-rw-rw- 1 root wheel 0, 58 Mar 2 13:49 /dev/dspW0.4 crw-rw-rw- 1 root wheel 0, 62 Mar 2 13:49 /dev/dspW0.5 crw-rw-rw- 1 root wheel 0, 60 Mar 2 13:49 /dev/dspr0.4 crw-rw-rw- 1 root wheel 0, 64 Mar 2 13:49 /dev/dspr0.5 So, why is this such a problem? This looks like it might be a Sony device (or perhaps an HDA Intel sound device). If this is the case, try the OSS sound drivers. I had to use them from 6.0 till current. Not sure if 6.2 supports the above natively (only because I went with what I knew worked). Here's the link: http://www.opensound.com/download.cgi It's really easy to install. -- Best regards, Chris Nothing is ever so bad that it can't get worse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .wavs play but not .mp3s
Original-Nachricht Datum: Wed, 7 Mar 2007 00:07:09 -0800 Von: David Benfell [EMAIL PROTECTED] An: freebsd-questions@freebsd.org CC: Betreff: .wavs play but not .mp3s Hello all, I'm not having any trouble playing .wav files; lame -h seems to happily convert them, and mpg123 and madplay don't complain when I ask them to play .mp3s, but I'm also not hearing any sound. xmms does nothing. I'm not getting any visible errors in any of this. I tried using the sample command from the FreeBSD manual, which specifies a device; I don't have dsp1.0 so I tried dsp0.0 . I have: crw-rw-rw- 1 root wheel 0, 45 Mar 2 13:49 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0, 48 Mar 6 22:28 /dev/dsp0.1 crw-rw-rw- 1 root wheel 0, 51 Mar 2 13:49 /dev/dsp0.2 crw-rw-rw- 1 root wheel 0, 54 Mar 2 13:49 /dev/dsp0.3 crw-rw-rw- 1 root wheel 0, 57 Mar 2 13:49 /dev/dsp0.4 crw-rw-rw- 1 root wheel 0, 61 Mar 2 13:49 /dev/dsp0.5 crw-rw-rw- 1 root wheel 0, 46 Mar 2 13:49 /dev/dspW0.0 crw-rw-rw- 1 root wheel 0, 49 Mar 2 13:49 /dev/dspW0.1 crw-rw-rw- 1 root wheel 0, 52 Mar 2 13:49 /dev/dspW0.2 crw-rw-rw- 1 root wheel 0, 55 Mar 2 13:49 /dev/dspW0.3 crw-rw-rw- 1 root wheel 0, 58 Mar 2 13:49 /dev/dspW0.4 crw-rw-rw- 1 root wheel 0, 62 Mar 2 13:49 /dev/dspW0.5 crw-rw-rw- 1 root wheel 0, 60 Mar 2 13:49 /dev/dspr0.4 crw-rw-rw- 1 root wheel 0, 64 Mar 2 13:49 /dev/dspr0.5 So, why is this such a problem? -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). Hi! I'm not sure about this, but sometimes the volume of the different output devices is just maladjusted. You may want to check the output of mixer to see if any relevant devices are zero. Maybe this helps, Benjamin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kerberos authenticatino and ldap authorization
there are many difficulties and YES there is the documentation on FreeBSD handbook but it does not helped me so much I Still ahve difficulties. I isntalled MIT krb5 also and I Am using kadmin from MIT to manage krb5 server. First problem kadmin: ktadd -k /etc/krb5.keytab host/host.domain kadmin: Unsupported key table format version number while adding key to keytab I can't undertand this message i touched /etc/krb5.keytab but via kadmin it is unable to export the krb5 key I added before with addprinc -randkey host/host.domain i also chmod 777 krb5.keytab nothing to do at the end I exported it from the kdc and copied it by hand in /etc/krb5.keytab on my client FreeBSD box, but I do not know if in this way it will work. anyway now I have another problem. I am not able to configure ssh to login via kerberos. I tryed everything KerberosAuthentication yes KerberosOrLocalPasswd yes KerberosTicketCleanup yes Then I changed /etc/pam.d/sshd # auth authrequiredpam_nologin.so no_warn authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local authsufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass # account account requiredpam_krb5.so account requiredpam_login_access.so account requiredpam_unix.so # session #sessionoptionalpam_ssh.so session requiredpam_permit.so # password passwordsufficient pam_krb5.so no_warn try_first_pass passwordrequiredpam_unix.so no_warn try_first_pass and ssh won't authenticate via kerberos: Mar 7 10:27:24 bastionbox1 sshd[1019]: Invalid user myself from 131.x.y.z Mar 7 10:27:33 bastionbox1 sshd[1019]: error: PAM: authentication error for illegal user myself from mylapdop.domain I must miss something I do not know what... Actually I do not think this scenario on BSD users is commonly used, and I Cannot find documentation to help myself, anyway I need this scenario that was implemented on Linux before. I do not want to use Linux anyway for this porpouse (bastion SSH box for public login via krb5/ldap) At the end anyway the scenario needs to be krb5 for authentication and LDAP for authorization For now I am not able to authenticate via krb5 any hints ? thanks Rick On Tue, 6 Mar 2007, Tillman Hodgson wrote: On Tue, Mar 06, 2007 at 10:07:57AM -0700, RJ45 wrote: for example I would like to installa MIT krb5 implementation from ports instead of using heidmal default this because the kerberos server on my network is a MIT server and I can't use kadmin on FreeBSD to administrer the kerberos server remotely using heidmal implementation. Anyone has experience of MIT krb5 implementation on FreeBSD ? The handbook has a chapter on setting up Kerberos, albeit focused on Heimdal. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kerberos5.html In section 14.8.6 it notes that the kadmin protocol differs between Kerberos implementations -- you have to use the MIT kadmin to administer a remote MIT KDC. Other than the kadmin bits (which are fairly different between the two but isn't used by end-users anyway), it's pretty much transparent to a Kerberos-enabled workstation which implementation it's using. I typically install both (to different paths to avoid file conflicts) because I like using the newest Heimdal rather than the one in base and also because the included client applications differ. For example, MIT has Kerberos rsh whereas the base Heimdal doesn't for some of the platforms that I use. If you run into any specific issues when setting it up, please post back to the list and cc me and I'll give you a hand. -T -- I once bought a cellphone that had a little sticker on the box that said 'DO NOT EAT PACKAGING MATERIAL'. There went another freebie snack at the office. - A.S.R. quote (Andreas Buzh Skau) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reprocess mails in sendmail
On Wednesday 07 March 2007 07:28, kk kumar wrote: Hi all, Do you need to include specific commands to periodically process the queue with sendmail? With sendmail I would explicitly (via cron) rerun queue processing every 30 minutes or so. Is there any better method to do this in sendmail itself. The reason for this question is that some of the mails which needs to be delivered to another mail server was not reachable and this mail was not processed for 4 days. but when i manually flush the queue i am able to send the mail to the RCPT mail server. Any fields i need to change in Sendmail for solving this problem. This should be happening automatically unless you've changed the startup flags from the defaults in /etc/defaults/rc.conf. Read the manpage for rc.sendmail(8). It lists the various options available for starting sendmail. The default values for these settings are in /etc/defaults/rc.conf. Unless you've changed them in /etc/rc.conf, every set of flags contains -q30m which runs the queue every 30 minutes. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eoghan Sent: Tuesday, March 06, 2007 3:04 PM To: Mike Galvez Cc: freebsd-questions@freebsd.org Subject: Re: apache problem On 3/6/07, Mike Galvez [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eoghan Sent: Tuesday, March 06, 2007 5:50 AM To: freebsd Subject: apache problem Hi I am running apache 2.2.4 on FreeBSD 6.1. This is a recent upgrade from ports (in the past few days or so). Since then I cant browse to localhost. Just get an unable to connect message. The server seems to start with: $sudo apachectl start If I try it again I see its already running. My error log shows: [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch configured -- resuming normal operations [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down I have tried the apache list but no real answers, and apache was working fine for me before I upgraded. Has anyone else noticed this since an upgrade to the 2.2.4 version from ports? Thanks Eoghan I had the same problem. Here is how I fixed it: #apachectl stop # cd /usr/ports/www/apache22 #make clean # make deinstall # rm ./* Then do a cvsup ports all now once more #cd /usr/ports/www/apache22 # make (it will use your stored config) #make install #make clean #apachectl start Hi Gret, thanks for that, I will give this a go. Regards Eoghan all the best please let me know if it works 4U -- I have made a posting on [EMAIL PROTECTED] -- so the maintainer knows aboutthe problem. If this also works for you it should not be too difficult for someone to fix the port. David Hi I have tried this and i still cant get it working. Also tried syntax check and its checks out OK, as someone else suggested to do... any further suggestions? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I was rebuilding one of my servers yesterday. I was having trouble getting ldap support to build, but I was also seeing the same issue you describe. The configtest reported no errors and Apache appeared to start and I could see it in the process list, but could not contact the server. Out of frustration i bounced the box and when it came back up Apache started as expected (minus ldap of course). -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist University of Virginia Hi By bounced the box, do you mean restarted it? Thanks Eoghan You might get more informed help by post a detailed report on [EMAIL PROTECTED] (you eill need to subscribe to post there) - you might get a more specialised response. There certainly seems to be something odd happening with the latest upgrade. David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ps showing [appname] for some things -- how to get whole thing?
On my 6.1 system I have a script that launches some java programs [jdk142] and when I do a ps -auxwww I get the whole java command line that was used in launching. On my 6.2 system with jdk15 teh scame scripts launch the same java programs but I just get [java] in the ps output. Nothing in the ps manpage jumped out at me. I would like to be able to get the whole commandline when I do the ps Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't install PHP5: missing pkg-descr
I'm trying to install PHP5 but keep getting the missing pkg-desc for php5-5.1.6_3. It complies all right with make. But when I try make install, I get the error. The make -V DESCR gives /home/alhabsi/packages/pkg-descr. This directory is where I keep my downloaded packages. Amer, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bind9 question
Hi, I have installed Bind9 before I could know that Bind is included in Base System in FreBSD 6.2. My NOOB understanding tells me that the Bind that has been installed by me is not jailed whereas the Base Bind was jailed one. Is there any go back possible for me to Base Bind without reinstalling complete system. Regards __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lsmod
Paulette McGee wrote: --- Johannes Ambrose [EMAIL PROTECTED] wrote: Hi, I'm trying to install an application (vmware tools) and I get as far as: Setup is unable to find the lsmod program on your machine. Please make sure it is installed. Do you want to specify the location of this program by hand? It seems there is no lsmod, modprobe, or any other related tools. How can I install these? Regards, Johannes Hello Johannes, There is no lsmod, modprobe et al; however there are similar tools like: kldstat, kldload, etc. Here is some additional information that might prove useful. http://www.onlamp.com/pub/a/bsd/2005/01/13/FreeBSD_Basics.html Regards, Paulette McGee Which begs the question *why* he's having this problem ... ? Johannes, are you installing via the ports tree, or trying to install from scratch? Kevin Kinsey -- If I knew what brand [of whiskey] he drinks, I would send a barrel or so to my other generals. -- Abraham Lincoln, on General Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lsmod
On 3/7/07, Johannes Ambrose [EMAIL PROTECTED] wrote: Hi, I'm trying to install an application (vmware tools) and I get as far as: Setup is unable to find the lsmod program on your machine. Please make sure it is installed. Do you want to specify the location of this program by hand? That application (vmware tools) is supposed to be installed on a Linux system, and depends on Linux specific stuff (such as lsmod). Be sure to follow the right instructions (available on VMWare's website) to install vmware-tools on FreeBSD. Regards, Regards, Johannes -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firebird 2 Server Port
Hi all FreeBSD 6.2 i386 I am trying to make from ports the Firebird2-server and I have a problem when doing it. First, I was under root and when it going to make a message says that you must not be under root in order not conflict with SYSV semaphores and then stop. So I created a user and try to make the ports, but says that I have no permissions. I created a user in the gorup wheel, because I thougth that is with more priviliges. How can I make this port? I need it. Thanks in advance Juan Coruña Desarrollo de Software Atlantico ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mplayer (gmplayer) with xfce4.4.0
FreeBSD-6.2 xfce-4.4.0 I posted this on the xfce4 list; however, they thought it might be a FreeBSD problem. Scenario: Right click on desktop Click Multimedia Click mplayer This error message is displayed: [ws] Shared Memory Extensions Error I can start mplayer from a terminal window, but not directly on the xfce4 desktop, now will gmplayer work either. The same error message is displayed. I am hoping someone has a useful suggestion. White Hat [EMAIL PROTECTED] 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer (gmplayer) with xfce4.4.0
White Hat wrote: FreeBSD-6.2 xfce-4.4.0 I posted this on the xfce4 list; however, they thought it might be a FreeBSD problem. Scenario: Right click on desktop Click Multimedia Click mplayer This error message is displayed: [ws] Shared Memory Extensions Error I can start mplayer from a terminal window, but not directly on the xfce4 desktop, now will gmplayer work either. The same error message is displayed. I am hoping someone has a useful suggestion. What is your mplayer/gmplayer version? `pkg_info | grep mplayer` will probably tell you. Is the underlying menu entry the same command that you run in the terminal? Kevin Kinsey -- SPAGMUMPS: Any of the millions of Styrofoam wads that accompany mail-order items. -- Sniglets, Rich Hall Friends ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't install PHP5: missing pkg-descr
Amer H. Alhabsi wrote: I'm trying to install PHP5 but keep getting the missing pkg-desc for php5-5.1.6_3. It complies all right with make. But when I try make install, I get the error. The make -V DESCR gives /home/alhabsi/packages/pkg-descr. This directory is where I keep my downloaded packages. Are you running make from the port directory, or somewhere else? We need more information on *exactly* what you are doing (cwd, what commands are being typed, etc) to have any real idea what might be happening. I'm guessing that it should say /usr/ports/lang/php5/pkg-descr instead, since there is such a file there. You might try something like: $ cd /usr/ports/lang/php5 $ make DESCR=/usr/ports/lang/php5/pkg-descr install clean Kevin Kinsey -- They call them squares because it's the most complicated shape they can deal with. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
20- Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 4:55:19 AM Subject: Re: Setting Env Drew Jenkins wrote: - Original Message From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 1:02:01 AM Subject: Re: Setting Env Drew Jenkins wrote: LD_LIBRARY_PATH=/usr/local/lib/mysql/ not work for you? Why not source environment variables from an outside script / rc-file? It's better / smarter in the long run, IMHO. Sounds great. Again, as I wrote in my last post, I don't know *exactly* what command needs to be entered!! I have tried this in the /etc/rc.conf file: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ --or-- export LD_LIBRARY_PATH=/usr/local/lib/mysql/ --or-- LD_LIBRARY_PATH=/usr/local/lib/mysql/ none of which work. I have tried creating a script and chmod +x in the /usr/local/etc/rc.d folder: #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ and that doesn't work, either. Would it be okay if I asked anyone out there to tell me *exactly* what I need to do to get this to be set on startup?? TIA. Drew The question is, what's failing (or not behaving as expected)? I would like that line to execute upon startup. Right now, every time I boot the machine, I have to remember to enter that setenv command, and that's a nuisance. I would like it to be automatic. TIA, Drew Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Tuesday 06 March 2007, Drew Jenkins wrote: 20Hi; For some reason, I need to run this: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ to get my Zope instances up and running. I'm trying to figure out how to automate that. I wrote a little script: What makes you think that? How did you install MySQL and Zope? -- Kirk Strauser pgp0lflqMejX7.pgp Description: PGP signature
Re: Setting Env
- Original Message From: Kirk Strauser [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, March 7, 2007 11:14:51 AM Subject: Re: Setting Env On Tuesday 06 March 2007, Drew Jenkins wrote: 20Hi; For some reason, I need to run this: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ to get my Zope instances up and running. I'm trying to figure out how to automate that. I wrote a little script: What makes you think that? How did you install MySQL and Zope? MySQL from the port and Zope (since it's an older version) from source. Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Torrent Server
- Original Message - From: Oliver Fromme [EMAIL PROTECTED] To: freebsd-questions@freebsd.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 05, 2007 3:50 AM Subject: Re: FreeBSD Torrent Server Sorry for the late reply, but I think this one needs a correction, so others don't find wrong information in the archives ... Ted Mittelstaedt wrote: [...] The FreeBSD Beastie was struck from his position as logo for FreeBSD for some EXTREMELY minor controversy surrounding religions icons. Well, using a Devil image didn't pirate anyone software or break a law. Yet Beastie was axed for exactly the same guilt by association reasons. I'm afraid that paragraph is completely wrong. The BSD daemon (sometimes called Beastie, but that's not its official name) was not struck from his position as a logo, and it was not axed. The BSD daemon never was a logo of the FreeBSD project. It was rather a mascot (and it still is!). Not this again. Before the devil controversy flared up, there was no usage of mascot in relation to Beastie. The term mascot began to be used by the anti-Beastie people as a way of appeasement of the pro-Beastie people. However, it was sometimes used in a context where a logo would be used normally, simply for the fact that FreeBSD didn't have a real logo. It was always used in a context where a logo would be used normally simply for the fact that it WAS the FreeBSD logo. The many years of Walnut Creek selling FreeBSD cd's firmly established Beastie as the logo. Now, after the result of the logo contest last year, FreeBSD has a real, official logo, in addition to the BSD daemon mascot. There is no law or requirement that says that anyone cannot still continue to use the Beastie image as a logo if they want. What we got from the contest is simply a second image that can be used as a logo. Nobody is arguing that Beastie was the best logo image that could of been used. This is something that the anti-Beastie people have never understood. One of it's drawbacks is that the image is copyrighted by McKusick and permission must be sought by him when using it. Another is that it does not reporduce well at all as a thumbnail. A third is that so many different forms of Beastie have been drawn that it has diluted the it's value as a logo. And last and most importantly, it has religious connotations that can cause trouble for it being used as an image with certain groups. If the anti-Beastie people had approached Beastie with reverence and brought up these issues there would never have been a controversy. However the fact was that the anti-Beastie people were so hell-bent on getting a new logo design that they took the tack that oh we aren't going to replace Beastie to try to pacify the pro-Beastie people. It didn't work, people saw through it. That is why the logo contest dragged on easily 6 months longer than the organizers originally hoped. It is also why the logo contest was not a public one - nobody but the contest organizers saw all of the submissions, the userbase was no given any kind of voting choice. The entire issue was dynamite and caused an uproar whenever it was brought up in any online discussion. The very fact that you feel compelled even now, a year after your site has successfully bulldozed the new FreeBSD sex-toy logo design through, to still try to rewrite history shows the emotion that is still there in the controversy. Just look at www.freebsd.org. It doesn't look axed to me. ;-) If the pro-Beastie people had rolled over without complaining then Beastie would not be on the website anymore. What happened is that in order to calm the controversy, the website designers continued to use Beastie on the website. For now, that is. But there is a long term plan to gradually convince the userbase that Beastie is obsolete, and one of the techniques is rewriting history on the public forums, like you are attempting to do here with your post. This discussion is exactly the same issue as why the US Department of Defense still does not allow the Pentagram (wiccan symbol) to be drawn on military tombstones. They allow every other major religious symbol including the stupid universal swirl that some Athiests use. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Tue, Mar 06, 2007 at 04:28:39PM -0800, Drew Jenkins wrote: - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place in the script, then that variable must either be set in a durable way in the parent environment or be set right there in the script that is using it. The rc.conf method will make it available from the parent. That is the whole point of rc.conf. Right. I figured that much. So, what do I actually put in that file? I tried these two options: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ export LD_LIBRARY_PATH=/usr/local/lib/mysql/ Well, setenv is a csh or tcsh command and isn't in sh and probably not in bash either (I haven't used bash). The export command is an sh and probably bash command and it doesn't exist in csh or tcsh. It didn't like either, presumably because it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf that will achieve my objective? Look at other variable setting in rc.conf. That should give you a good clue. For example, in my rc.conf I have several. One is: moused_enable=YES That makes the moused_enable variable have a value of YES. So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ might that not be: LD_LIBRARY_PATH=/usr/local/lib/mysql/ If you put it in the script that starts things - there needs to be one - then it depends on the script language, csh/tcsh sh/bash. csh/tcsh use setenv and set sh [and bash] use set and variable_name=value and needs an export to make it available to other entities besides the shell itself. You should look up the man pages on these things and take a look at some other scripts such as those in /usr/local/etc/rc.d for examples. jerry TIA, Drew Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer (gmplayer) with xfce4.4.0
On Wed, 07 Mar 2007 07:51:47 -0600 Kevin Kinsey [EMAIL PROTECTED] wrote: [snip] What is your mplayer/gmplayer version? `pkg_info | grep mplayer` will probably tell you. Is the underlying menu entry the same command that you run in the terminal? mplayer-0.99.10_5 I have tried running mplayer and gmplayer via the 'run' command, but that fails also with the same error message. -- Gerard Youth is when you blame all your troubles on your parents; maturity is when you learn that everything is the fault of the younger generation. signature.asc Description: PGP signature
Re: FreeBSD Torrent Server
On Wed, Mar 07, 2007 at 07:35:33AM -0800, Ted Mittelstaedt wrote: - Original Message - From: Oliver Fromme [EMAIL PROTECTED] To: freebsd-questions@freebsd.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 05, 2007 3:50 AM Subject: Re: FreeBSD Torrent Server Sorry for the late reply, but I think this one needs a correction, so others don't find wrong information in the archives ... Ted Mittelstaedt wrote: [...] The FreeBSD Beastie was struck from his position as logo for FreeBSD for some EXTREMELY minor controversy surrounding religions icons. Well, using a Devil image didn't pirate anyone software or break a law. Yet Beastie was axed for exactly the same guilt by association reasons. I'm afraid that paragraph is completely wrong. The BSD daemon (sometimes called Beastie, but that's not its official name) was not struck from his position as a logo, and it was not axed. The BSD daemon never was a logo of the FreeBSD project. It was rather a mascot (and it still is!). Not this again. Before the devil controversy flared up, there was no usage of mascot in relation to Beastie. Who cares!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
- Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place in the script, then that variable must either be set in a durable way in the parent environment or be set right there in the script that is using it. The rc.conf method will make it available from the parent. That is the whole point of rc.conf. Right. I figured that much. So, what do I actually put in that file? I tried these two options: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ export LD_LIBRARY_PATH=/usr/local/lib/mysql/ Well, setenv is a csh or tcsh command and isn't in sh and probably not in bash either (I haven't used bash). I am aware of that. I was trying to explain how I used every_possible_combination of things I could think of! The export command is an sh and probably bash command and it doesn't exist in csh or tcsh. Yes, yes. I know. It didn't like either, presumably because it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf that will achieve my objective? Look at other variable setting in rc.conf. That should give you a good clue. For example, in my rc.conf I have several. One is: moused_enable=YES That makes the moused_enable variable have a value of YES. So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ might that not be: LD_LIBRARY_PATH=/usr/local/lib/mysql/ I tried that and posted yesterday that that failed. If you put it in the script that starts things - there needs to be one - then it depends on the script language, csh/tcsh sh/bash. csh/tcsh use setenv and set sh [and bash] use set and variable_name=value and needs an export to make it available to other entities besides the shell itself. You should look up the man pages on these things and take a look at some other scripts such as those in /usr/local/etc/rc.d for examples. What *things*? As far as scripts, this *should* be easy... #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ ...right? It doesn't work. Any other ideas? Drew Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Jerry McAllister wrote: On Tue, Mar 06, 2007 at 04:28:39PM -0800, Drew Jenkins wrote: - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place in the script, then that variable must either be set in a durable way in the parent environment or be set right there in the script that is using it. The rc.conf method will make it available from the parent. That is the whole point of rc.conf. Right. I figured that much. So, what do I actually put in that file? I tried these two options: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ export LD_LIBRARY_PATH=/usr/local/lib/mysql/ Well, setenv is a csh or tcsh command and isn't in sh and probably not in bash either (I haven't used bash). The export command is an sh and probably bash command and it doesn't exist in csh or tcsh. It didn't like either, presumably because it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf that will achieve my objective? Look at other variable setting in rc.conf. That should give you a good clue. For example, in my rc.conf I have several. One is: moused_enable=YES That makes the moused_enable variable have a value of YES. So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ might that not be: LD_LIBRARY_PATH=/usr/local/lib/mysql/ If you put it in the script that starts things - there needs to be one - then it depends on the script language, csh/tcsh sh/bash. csh/tcsh use setenv and set sh [and bash] use set and variable_name=value and needs an export to make it available to other entities besides the shell itself. You should look up the man pages on these things and take a look at some other scripts such as those in /usr/local/etc/rc.d for examples. jerry TIA, Drew Ok. Simplest way to solve this is to make your own run script and invoke it at boot. It's not that bad to do from what I understand.. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Drew Jenkins wrote: - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place in the script, then that variable must either be set in a durable way in the parent environment or be set right there in the script that is using it. The rc.conf method will make it available from the parent. That is the whole point of rc.conf. Right. I figured that much. So, what do I actually put in that file? I tried these two options: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ export LD_LIBRARY_PATH=/usr/local/lib/mysql/ Well, setenv is a csh or tcsh command and isn't in sh and probably not in bash either (I haven't used bash). I am aware of that. I was trying to explain how I used every_possible_combination of things I could think of! The export command is an sh and probably bash command and it doesn't exist in csh or tcsh. Yes, yes. I know. It didn't like either, presumably because it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf that will achieve my objective? Look at other variable setting in rc.conf. That should give you a good clue. For example, in my rc.conf I have several. One is: moused_enable=YES That makes the moused_enable variable have a value of YES. So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ might that not be: LD_LIBRARY_PATH=/usr/local/lib/mysql/ I tried that and posted yesterday that that failed. If you put it in the script that starts things - there needs to be one - then it depends on the script language, csh/tcsh sh/bash. csh/tcsh use setenv and set sh [and bash] use set and variable_name=value and needs an export to make it available to other entities besides the shell itself. You should look up the man pages on these things and take a look at some other scripts such as those in /usr/local/etc/rc.d for examples. What *things*? As far as scripts, this *should* be easy... #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ ...right? It doesn't work. Any other ideas? Drew It probably gets overwritten somewhere later on down the line. Also, something to the effect like the following is better for portability reasons: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi # run mysql junk here.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Torrent Server
Ted Mittelstaedt wrote: Before the devil controversy flared up, there was no usage of mascot in relation to Beastie. Historically, the daemon image was always used as a mascot for BSD (not just FreeBSD). I've always perceived it that way. FreeBSD in particular adopted the daemon rendering by Tatsumi Hosokawa and used it both as a mascot and a logo (because of lack of a real logo). There is no law or requirement that says that anyone cannot still continue to use the Beastie image as a logo if they want. Sure, you can use it whatever way you want, subject to the copyright restrictions. What we got from the contest is simply a second image that can be used as a logo. What we got from the contest is simply an _official_ logo. The daemon image is not an officiel logo of the FreeBSD project. Just look at www.freebsd.org. It doesn't look axed to me. ;-) If the pro-Beastie people had rolled over without complaining then Beastie would not be on the website anymore. What happened is that in order to calm the controversy, the website designers continued to use Beastie on the website. For now, that is. But there is a long term plan to gradually convince the userbase that Beastie is obsolete, and one of the techniques is rewriting history on the public forums, like you are attempting to do here with your post. That's pure speculation (and quite paranoid). The daemon image is still visible on many FreeBSD.org web pages. In fact, no less pages than before the contest, and there is no indication that it might change. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd With Perl you can manipulate text, interact with programs, talk over networks, drive Web pages, perform arbitrary precision arithmetic, and write programs that look like Snoopy swearing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Jerry McAllister wrote: Ok. Simplest way to solve this is to make your own run script and invoke it at boot. It's not that bad to do from what I understand.. Will this do? #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ Because I've already tried it (in /usr/local/etc/rc.d with chown +x). It didn't work. Other ideas? Drew Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Wed, Mar 07, 2007 at 08:08:35AM -0800, Drew Jenkins wrote: - Original Message From: Jerry McAllister [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, March 6, 2007 7:46:26 PM Subject: Re: Setting Env If you want the environment variable to be set for something that is taking place in the script, then that variable must either be set in a durable way in the parent environment or be set right there in the script that is using it. The rc.conf method will make it available from the parent. That is the whole point of rc.conf. Right. I figured that much. So, what do I actually put in that file? I tried these two options: setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ export LD_LIBRARY_PATH=/usr/local/lib/mysql/ Well, setenv is a csh or tcsh command and isn't in sh and probably not in bash either (I haven't used bash). I am aware of that. I was trying to explain how I used every_possible_combination of things I could think of! The export command is an sh and probably bash command and it doesn't exist in csh or tcsh. Yes, yes. I know. It didn't like either, presumably because it's not calling a bash or c-shell. So, what should I put in /etc/rc.conf that will achieve my objective? Look at other variable setting in rc.conf. That should give you a good clue. For example, in my rc.conf I have several. One is: moused_enable=YES That makes the moused_enable variable have a value of YES. So, if you want LD_LIBRARY_PATH to have the value of /usr/local/lib/mysql/ might that not be: LD_LIBRARY_PATH=/usr/local/lib/mysql/ I tried that and posted yesterday that that failed. Did you source the rc.conf files? I am used to using csh/tcsh which uses the source command. I am not sure I remember it for sh, but it might be just '.' followed by the file name. Sourcing the file sucks it in and makes all the variable settings available to the current shell.You need to do some handbook and shell documentation reading and example studying. There are lots of things on the system that do this and that make good examples to emulate.I am not a shell programmer per se, but I manage to get by through grabbing chunks of things that already work on the system ad modifying they for my current use. I think many people learn that way. If you put it in the script that starts things - there needs to be one - then it depends on the script language, csh/tcsh sh/bash. csh/tcsh use setenv and set sh [and bash] use set and variable_name=value and needs an export to make it available to other entities besides the shell itself. You should look up the man pages on these things and take a look at some other scripts such as those in /usr/local/etc/rc.d for examples. What *things*? As far as scripts, this *should* be easy... Things like setenv, set, source and such. rc.d startup scripts, rc.conf. What does your rc.conf look like? Boot up with it and then take a look at the values. make a startup script for whatever it is - probably the install already put one in /usr/local/etc/rc.d/ and in that startup script, source the /etc/rc.conf file. #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ ...right? It doesn't work. Any other ideas? Drew Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Wed, Mar 07, 2007 at 08:24:05AM -0800, Drew Jenkins wrote: Jerry McAllister wrote: Ok. Simplest way to solve this is to make your own run script and invoke it at boot. It's not that bad to do from what I understand.. Will this do? #!/bin/csh setenv LD_LIBRARY_PATH /usr/local/lib/mysql/ Because I've already tried it (in /usr/local/etc/rc.d with chown +x). It didn't work. Other ideas? Drew Check out what Garret Cooper just posted. It is a cleaner solution. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
3dm-2.04.00.035
Does anyone have any working experiecne with the 3dm-2.04.00.035, 3ware RAID controller monitoring daemon and web server? I installed the port on my machine, edited the config file (changed passwords) and the daemon is running, but I cannot connect to it on port 888 as per the config. I'm running FreeBSD 6.1 and have a 3ware 7500 series card. I'm not even sure if that one is supported or not, as there is no reference to v 2.04.00.035 (or anything 2.X) on 3wares web site. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_smb shows no files
We are starting to use mount_smbfs to mount backup shares on our Windows XP systems. Formerly we were using Linux successfully, but now many of our mounts succeed, but don't show any files. We can't tell what might be different among the XP systems to explain the difference, or why FreeBSD and Linux should be different in this regard. Demonstration (note that ls /mnt shows no files, but there are files): backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt Password: backup2# ls /mnt backup2# df /mnt Filesystem1K-blocks UsedAvail Capacity Mounted on //[EMAIL PROTECTED]/BACKUP 36659328 13238176 2342115236%/mnt backup2# mount_smbfs -v mount_smbfs: version 1.1.0 backup2# uname -a FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Thanks Daniel Feenberg feenberg isat nber dotte org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Bind9 question
The base bind is in /usr/sbin, if you installed your own it is in /usr/local/sbin You set the path to bind in /etc/rc.conf named_program=/usr/sbin/named for the base one. There are other variables you can set for the jail, etc if you want to change those. -Derek At 06:07 AM 3/7/2007, dharam paul wrote: Hi, I have installed Bind9 before I could know that Bind is included in Base System in FreBSD 6.2. My NOOB understanding tells me that the Bind that has been installed by me is not jailed whereas the Base Bind was jailed one. Is there any go back possible for me to Base Bind without reinstalling complete system. Regards __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: reprocess mails in sendmail
Depending on the version of FreeBSD and the version of sendmail in that version will determine how sendmail is started by default. Look in /etc/rc.conf and /etc/defaults/rc.conf for specific settings. Typically sendmail will process queues on its own on a regular interval. No cron job required. -Derek At 11:28 PM 3/6/2007, kk kumar wrote: Hi all, Do you need to include specific commands to periodically process the queue with sendmail? With sendmail I would explicitly (via cron) rerun queue processing every 30 minutes or so. Is there any better method to do this in sendmail itself. The reason for this question is that some of the mails which needs to be delivered to another mail server was not reachable and this mail was not processed for 4 days. but when i manually flush the queue i am able to send the mail to the RCPT mail server. Any fields i need to change in Sendmail for solving this problem. Regards Kiran Kumar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is there any flashcard application, game or edu?
Maybe somebody knows this one: is there a game or educational app that will popup a small frame with a question and space for answer? Say: What is the capitol of Kansas? or What is the cube root of 8? The questions and answers could be in a textfile: #Q #A What is the capitol of Kansas? Topeka What is the cube root of 8? 2 I'm thinking of something very simple that could be expanded over time. Linux has something that's pretty near what I'm aiming for, but it breaks--I'm obviously missing some libraries. After looking for four days I thought I'd ask here. thanks for any clues, gary PS: I could probably knock something out in a half hour using /bin/sh but I'd rather have something more graphic and flexible. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
System freezes on install
I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup and a partition for FreeBSD. It's a one year old 'puter. Any ideas? Thank you, Steve Moyzis [EMAIL PROTECTED] The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is there any flashcard application, game or edu?
On Wed, Mar 07, 2007 at 09:23:43AM -0800, Gary Kline wrote: Maybe somebody knows this one: is there a game or educational app that will popup a small frame with a question and space for answer? Say: What is the capitol of Kansas? or What is the cube root of 8? The questions and answers could be in a textfile: #Q #A What is the capitol of Kansas? Topeka What is the cube root of 8? 2 I'm thinking of something very simple that could be expanded over time. Linux has something that's pretty near what I'm aiming for, but it breaks--I'm obviously missing some libraries. After looking for four days I thought I'd ask here. thanks for any clues, gary PS: I could probably knock something out in a half hour using /bin/sh but I'd rather have something more graphic and flexible. You could check out curses/ncurses. There is a man page. It might be overkill for what you want, but you can look. It takes some effort to get started, but is not too bad to keep adding to. I actually just do this sort of thing in a quickie web page and run it through a browser.It only takes some simple tables. If you want to read in the answers, a Perl or PHP script will take care of it nicely. jerry -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Garret Cooper wrote: Also, something to the effect like the following is better for portability reasons: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi I put that in the /usr/local/etc/rc.d/mysql-server script (which is #!/bin/sh) but it didn't work :( Jerry McAllister wrote: What does your rc.conf look like? # -- sysinstall generated deltas -- # Sat Feb 24 04:38:22 2007 # Created: Sat Feb 24 04:38:22 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=203.223.150.1 hostname=server312.web.vi ifconfig_fxp0=inet 203.223.150.58 netmask 255.255.255.192 linux_enable=YES sshd_enable=YES usbd_enable=YES pound_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO slapd_enable=YES slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/;' slapd_sockets=/var/run/openldap/ldapi mysql_enable=YES LD_LIBRARY_PATH=/usr/local/lib/mysql/ That last line, of course, is useless. Boot up with it and then take a look at the values. What values and how do I look for them? make a startup script for whatever it is - probably the install already put one in /usr/local/etc/rc.d/ and in that startup script, source the /etc/rc.conf file. I did. Then I used Garrett's (see above). No luck. TIA, Drew Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System freezes on install
s.moyzis wrote: I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup and a partition for FreeBSD. It's a one year old 'puter. Any ideas? Thank you, Steve Moyzis [EMAIL PROTECTED] The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one Have you tried a non-ancient copy of FreeBSD? Ta, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Smartctl - Smartmontools
Anyone know why this wouldn't work: smartctl -a /dev/ad0 I get: Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) It works fine on my 3ware raid drives: smartctl -a -d 3ware,0 /dev/twed0 Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade, portupgrade or not ?
P.U.Kruppa wrote: On Tue, 6 Mar 2007, jbousseau wrote: Hi everyone, I actually got a FreeBSD 5.4 for Mail server ( postfix+imp+horde) , and DNS server with bind. I really hesitate to upgrade my ports and my BSD because the configuration of IMP+horde+php is a real mess. ^ What are your advices about it ? Pls notice i'm not a Bsd specialist. Thanx Under these special circumstances: Don't mess around with your running system. Do a completely fresh install on an extra machine and exchange the old one, when the new is up and running. Or upgrade base to 5.5 so you wont fall to much behind the supported releases, it shouldn't affect your ports or installed application, and then setup a jail and slowly migrate while you do continously testing, it always works for me. In general it's always getting very suddenly messy when your fall way behind releases. -- Best regards Brian Josefsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: is there any flashcard application, game or edu?
On Wed, Mar 07, 2007 at 12:38:42PM -0500, Jerry McAllister wrote: On Wed, Mar 07, 2007 at 09:23:43AM -0800, Gary Kline wrote: Maybe somebody knows this one: is there a game or educational app that will popup a small frame with a question and space for answer? Say: What is the capitol of Kansas? or What is the cube root of 8? The questions and answers could be in a textfile: #Q #A What is the capitol of Kansas? Topeka What is the cube root of 8? 2 I'm thinking of something very simple that could be expanded over time. Linux has something that's pretty near what I'm aiming for, but it breaks--I'm obviously missing some libraries. After looking for four days I thought I'd ask here. thanks for any clues, gary PS: I could probably knock something out in a half hour using /bin/sh but I'd rather have something more graphic and flexible. You could check out curses/ncurses. There is a man page. It might be overkill for what you want, but you can look. It takes some effort to get started, but is not too bad to keep adding to. I actually just do this sort of thing in a quickie web page and run it through a browser.It only takes some simple tables. If you want to read in the answers, a Perl or PHP script will take care of it nicely. Yeah, I was thinking of exactly that; usring a random function and php4 and some web pages:: quick and dirty//(half-clean?:-) since I've already got that implemented. Is there a tk/tcl app to create popups on-the-fly? Anyway, thanks for your insights, gary jerry -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Wed, Mar 07, 2007 at 09:43:24AM -0800, Drew Jenkins wrote: Garret Cooper wrote: Also, something to the effect like the following is better for portability reasons: #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi I put that in the /usr/local/etc/rc.d/mysql-server script (which is #!/bin/sh) but it didn't work :( Does the script even run? Try putting some echo-s in their and see if anything happens. What are the permissions and ownership of the /usr/local/etc/rc.d/mysql-server script file? jerry Jerry McAllister wrote: What does your rc.conf look like? # -- sysinstall generated deltas -- # Sat Feb 24 04:38:22 2007 # Created: Sat Feb 24 04:38:22 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=203.223.150.1 hostname=server312.web.vi ifconfig_fxp0=inet 203.223.150.58 netmask 255.255.255.192 linux_enable=YES sshd_enable=YES usbd_enable=YES pound_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO slapd_enable=YES slapd_flags='-h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/;' slapd_sockets=/var/run/openldap/ldapi mysql_enable=YES LD_LIBRARY_PATH=/usr/local/lib/mysql/ That last line, of course, is useless. Boot up with it and then take a look at the values. What values and how do I look for them? make a startup script for whatever it is - probably the install already put one in /usr/local/etc/rc.d/ and in that startup script, source the /etc/rc.conf file. I did. Then I used Garrett's (see above). No luck. TIA, Drew Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
- Original Message From: Jerry McAllister [EMAIL PROTECTED] #!/bin/sh if [ -n $LD_LIBRARY_PATH ] ; then export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/mysql else export LD_LIBRARY_PATH=/usr/local/lib/mysql fi I put that in the /usr/local/etc/rc.d/mysql-server script (which is #!/bin/sh) but it didn't work :( Does the script even run? Yes. It was only when I put this script in that mysql came up on boot. Try putting some echo-s in their and see if anything happens. I did that. I found out BTW that it executes the if part of the above, not the else part. What are the permissions and ownership of the /usr/local/etc/rc.d/mysql-server script file? # ls -al /usr/local/etc/rc.d/mysql-server -r-xr-xr-x 1 root wheel 1824 Mar 7 11:29 /usr/local/etc/rc.d/mysql-server TIA, Drew TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. http://tv.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Temperature Montoring on ServerWorks chipset
Anyone know of a temperature monitoring app that works with the Intel ServerWorks chipset? I've tried heald and mbmon, but neither work with that chipset. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
20BTW, here is how I test to see if it works after reboot. 1) Try to pull up a page served by Zope. Get an error. 2) Shut Zope down. 3) Restart Zope with runzope to read the error. It is concerning the MySQL environment. 4) Enter the command: setenv LD_LIBRARY_PATH /usr/local/lib/mysql 5) Restart Zope. Everything fine. Drew Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ps showing [appname] for some things -- how to get whole thing?
On Mar 7, 2007, at 2:49 AM, Chad Leigh -- Shire.Net LLC wrote: On my 6.1 system I have a script that launches some java programs [jdk142] and when I do a ps -auxwww I get the whole java command line that was used in launching. On my 6.2 system with jdk15 teh scame scripts launch the same java programs but I just get [java] in the ps output. Nothing in the ps manpage jumped out at me. I would like to be able to get the whole commandline when I do the ps From the manpage: When printing using the command keyword, a process that has exited and has a parent that has not yet waited for the process (in other words, a zombie) is listed as ``defunct'', and a process which is blocked while trying to exit is listed as ``exiting''. If the command vector cannot be located (usually because it has not been set, as is the case of system processes and/or kernel threads) the command name is printed within square brackets. The ps utility makes an educated guess as to the file name and arguments given when the process was created by examining memory or the swap area. The method is inherently somewhat unreliable and in any event a process is entitled to destroy this information, so the names cannot be depended on too much. The ucomm (accounting) keyword can, how- ever, be depended on. In other words, the process is allowed to over-write the environment (aka, the command line args exported env variables) and that will prevent ps from reliably returning that info. All you can be sure of it getting argv[0], which is used for accounting in the ucomm variable -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mplayer (gmplayer) with xfce4.4.0
Gerard Seibert wrote: FreeBSD-6.2 xfce-4.4.0 Kevin Kinsey [EMAIL PROTECTED] wrote: What is your mplayer/gmplayer version? `pkg_info | grep mplayer` will probably tell you. Is the underlying menu entry the same command that you run in the terminal? mplayer-0.99.10_5 I have tried running mplayer and gmplayer via the 'run' command, but that fails also with the same error message. Well, 0.99.8_5 here, although portupgrade -arR is running on ttyv0, so I may be installing a broken player also. I assume you have tried under another WM such as good old TWM? Same result? What about on the console (no X)? Are you playing video files or audio (probably video)? The [ws] Shared Memory Extensions Error sounds pretty application-specific to me. It's possible the xfce people should have referred you to mplayer as well as FBSD. I'm guessing somewhere between mplayer and X11 and FreeBSD. What about recompiling whilst passing --disable-shm to configure? Also, I assume you're on X.org, correct? Grasping at straws, KDK -- Insomnia isn't anything to lose sleep over. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/usr/local/etc/rc.d startup scripts
Are there any special naming requirements for scripts in /usr/local/etc/rc.d for 6.1? Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. Just trying to confirm the correct info. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_smb shows no files
It is not clear what you are trying to do. Are you mounting Windows shares on a FreeBSD server? Or mounting FreeBSD samba shares onto a Windows XP client? -Derek At 10:35 AM 3/7/2007, Daniel Feenberg wrote: We are starting to use mount_smbfs to mount backup shares on our Windows XP systems. Formerly we were using Linux successfully, but now many of our mounts succeed, but don't show any files. We can't tell what might be different among the XP systems to explain the difference, or why FreeBSD and Linux should be different in this regard. Demonstration (note that ls /mnt shows no files, but there are files): backup2# mount_smbfs //[EMAIL PROTECTED]/backup /mnt Password: backup2# ls /mnt backup2# df /mnt Filesystem1K-blocks UsedAvail Capacity Mounted on //[EMAIL PROTECTED]/BACKUP 36659328 13238176 2342115236%/mnt backup2# mount_smbfs -v mount_smbfs: version 1.1.0 backup2# uname -a FreeBSD backup2 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Thanks Daniel Feenberg feenberg isat nber dotte org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d startup scripts
Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. It need not have an sh extension. The MySQL port, for example, installs /usr/local/etc/rc.d/mysql-server, which works fine. Thanks, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. Also, the -aout flag would likely confuse things even further, unless we were running a very old version of freebsd. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Wednesday 07 March 2007 13:27, [EMAIL PROTECTED] wrote: On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql Thanks for the correction. This is actually what gets run when mysql is installed via ports. The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. Also, the -aout flag would likely confuse things even further, unless we were running a very old version of freebsd. -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpd7i9DTMJEL.pgp Description: PGP signature
Re: Setting Env
On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. # ldconfig -m /usr/local/lib/mysql ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root I had some permissions problems earlier with this installation and ended up chowning everything to mysql. But I think that dir needs to be owned by mysql. Comment? TIA, Drew Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d startup scripts
In the last episode (Mar 07), Don O'Neil said: Are there any special naming requirements for scripts in /usr/local/etc/rc.d for 6.1? Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. Scripts in /usr/local/etc/rc.d are processed using a two-pass method. New rc.subr-style scripts are detected by the presence of a # PROVIDE: line, and are ordered based on dependencies listed in REQUIRE and BEFORE lines. Old-style scripts have to end in *.sh, and are run in alphabetical order after new scripts. Files not ending in .sh without a PROVIDE: line are ignored. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 3dm-2.04.00.035
Don O'Neil wrote: Does anyone have any working experiecne with the 3dm-2.04.00.035, 3ware RAID controller monitoring daemon and web server? I installed the port on my machine, edited the config file (changed passwords) and the daemon is running, but I cannot connect to it on port 888 as per the config. I'm running FreeBSD 6.1 and have a 3ware 7500 series card. I'm not even sure if that one is supported or not, as there is no reference to v 2.04.00.035 (or anything 2.X) on 3wares web site. Thanks! You can't change the passwords in the config file, they are encrypted. The default passwords for both administrator and user are 3ware. You need to set them back to the default values. Also on i386 it is https://xxx.xxx.xxx.xxx:888/ on amd64 it is http://xxx.xxx.xxx.xxx:888/ Hope this helps Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
On Wednesday 07 March 2007 13:39, Drew Jenkins wrote: On 06/03/07, Drew Jenkins [EMAIL PROTECTED] wrote: Don Hinton wrote: # ldconfig -aout -f /etc/ld.so.conf /usr/local/lib/mysql/ will create it for you. man ldconfig for more info... Well, that created a binary, but when I rebooted...nothing. Same problem :( The command should be # ldconfig -m /usr/local/lib/mysql The file is not /etc/ld.so.conf, nor does this file exist on the default install of freebsd, but rather /var/run/ld.so.hints. # ldconfig -m /usr/local/lib/mysql ldconfig: /usr/local/lib/mysql: ignoring directory not owned by root I had some permissions problems earlier with this installation and ended up chowning everything to mysql. But I think that dir needs to be owned by mysql. Comment? Here's what the man page says about it: For security reasons, directories which are world or group-writable or which are not owned by root produce warning messages and are skipped, unless the -i option is present. So pass -i or fix the ownership/permissions. Take a look at man ldconfig for more info... Also, sorry for my initial erroneous post.. hth... don TIA, Drew ___ _ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Don Hinton don.hinton at vanderbilt.edu or hintonda at gmail.com Institute for Software Integrated Systems (ISIS), Vanderbilt University tel: 615.480.5667 or 615.870.9728 pgpGxjH4dI980.pgp Description: PGP signature
Re: Setting Env
The command should be # ldconfig -m /usr/local/lib/mysql Thanks for the correction. This is actually what gets run when mysql is installed via ports. With that, I went ahead and chowned the dir back to mysql, ran the command successfully, but it still didn't work. Now I'm wondering if maybe it's a permissions problem. As I mentioned earlier, I chowned everything to mysql:mysql because of an earlier permissions problem. Should I chown that whole dir ( /usr/local/lib/mysql )? Or something else? TIA, Drew Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
So pass -i or fix the ownership/permissions. Well, I've tried both now with no luck! Drew Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: .wavs play but not .mp3s
On Wed, 07 Mar 2007 10:13:35 +0100, Benjamin Sobotta wrote: Original-Nachricht Datum: Wed, 7 Mar 2007 00:07:09 -0800 Von: David Benfell [EMAIL PROTECTED] An: freebsd-questions@freebsd.org CC: Betreff: .wavs play but not .mp3s I'm not having any trouble playing .wav files; lame -h seems to happily convert them, and mpg123 and madplay don't complain when I ask them to play .mp3s, but I'm also not hearing any sound. So, why is this such a problem? I'm not sure about this, but sometimes the volume of the different output devices is just maladjusted. You may want to check the output of mixer to see if any relevant devices are zero. Hi Benjamin, earth% mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer line1is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 Mixer videois currently set to 75:75 Recording source: mic And like I say, .wav files play fine. Why would these settings affect mp3s and not wavs? Thanks! -- David Benfell, LCP [EMAIL PROTECTED] --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). pgpMPODD4hRmZ.pgp Description: PGP signature
Dependencys and confusion
I'm a bit confused with dependency's. When you have a stale dependency's what does this usually mean? Does that mean that the dependency was already updated and not noted in the pkgdb? Or does it mean the version in the pkgdb is wrong and that I have a newer or older version installed? Also, how do I correct it when running pkgdb -F I tried to enter the newer version of the dependency and it told me I need to pick from a list it gave me. :( Any feedback would be greatly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d startup scripts
On Wed, Mar 07, 2007 at 10:58:22AM -0800, Don O'Neil wrote: Are there any special naming requirements for scripts in /usr/local/etc/rc.d for 6.1? Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. You can do both, see rc(8). If you use the .sh extension, the script will be executed by the current shell, while those without will be run in a subshell (which is probably what you want). 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) pgpvNQFvzxCcK.pgp Description: PGP signature
w hangs before loading
Hi, When I type the command 'w' it holds for a while before printing the output. There is no firewall in the system, load average is below 0.8 and I suspect it is something else. Any thoughts on this. -Vivek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /usr/local/etc/rc.d startup scripts
On Wed, 7 Mar 2007 13:40:09 -0600 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Mar 07), Don O'Neil said: Are there any special naming requirements for scripts in /usr/local/etc/rc.d for 6.1? Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. Scripts in /usr/local/etc/rc.d are processed using a two-pass method. New rc.subr-style scripts are detected by the presence of a # PROVIDE: line, and are ordered based on dependencies listed in REQUIRE and BEFORE lines. Old-style scripts have to end in *.sh, and are run in alphabetical order after new scripts. Files not ending in .sh without a PROVIDE: line are ignored. An RcNG script that ends in .sh is sourced into the current shell rather than executed in a new one. This allows you to bring down the entire boot process. Assuming this behaviour applies to local RcNG scripts too, it's best to avoid the .sh suffix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
About root user rights
I use Freebsd6.0.stable. Let me explain my scene. I am an admin for my bsdserver. That is, I can be root user. But There are 3 people who can be root user in the same server. I have a directory. I want them not to enter that directory. if it be possible the server should ask one more password for that directory when anyone reaches there. Or let another user can reache there but let Root user not able to read there. Does it possible ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: w hangs before loading
Check to make sure your /etc/resolv.conf is configured correctly. It sounds like it could be taking a while to resolve the remote addresses connected. Vivek Prasannan wrote: Hi, When I type the command 'w' it holds for a while before printing the output. There is no firewall in the system, load average is below 0.8 and I suspect it is something else. Any thoughts on this. -Vivek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache problem
On Tue, Mar 06, 2007 at 11:03:34PM +, eoghan wrote: On 3/6/07, Mike Galvez [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eoghan Sent: Tuesday, March 06, 2007 5:50 AM To: freebsd Subject: apache problem Hi I am running apache 2.2.4 on FreeBSD 6.1. This is a recent upgrade from ports (in the past few days or so). Since then I cant browse to localhost. Just get an unable to connect message. The server seems to start with: $sudo apachectl start If I try it again I see its already running. My error log shows: [Mon Mar 05 11:20:00 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch configured -- resuming normal operations [Mon Mar 05 11:20:22 2007] [notice] caught SIGTERM, shutting down I have tried the apache list but no real answers, and apache was working fine for me before I upgraded. Has anyone else noticed this since an upgrade to the 2.2.4 version from ports? Thanks Eoghan I had the same problem. Here is how I fixed it: #apachectl stop # cd /usr/ports/www/apache22 #make clean # make deinstall # rm ./* Then do a cvsup ports all now once more #cd /usr/ports/www/apache22 # make (it will use your stored config) #make install #make clean #apachectl start Hi Gret, thanks for that, I will give this a go. Regards Eoghan all the best please let me know if it works 4U -- I have made a posting on [EMAIL PROTECTED] -- so the maintainer knows aboutthe problem. If this also works for you it should not be too difficult for someone to fix the port. David Hi I have tried this and i still cant get it working. Also tried syntax check and its checks out OK, as someone else suggested to do... any further suggestions? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi, I was rebuilding one of my servers yesterday. I was having trouble getting ldap support to build, but I was also seeing the same issue you describe. The configtest reported no errors and Apache appeared to start and I could see it in the process list, but could not contact the server. Out of frustration i bounced the box and when it came back up Apache started as expected (minus ldap of course). -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist University of Virginia Hi By bounced the box, do you mean restarted it? Thanks Eoghan Yes. Restart the OS. Even though I had killed all http processes, Apache 2.2.4 server would not restart correctly without restarting the OS. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist University of Virginia ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: w hangs before loading
On Mar 7, 2007, at 12:41 PM, Vivek Prasannan wrote: [ ...cross-posting between freebsd-questions and other FreeBSD lists is generally not encouraged; Reply-To: set... ] When I type the command 'w' it holds for a while before printing the output. There is no firewall in the system, load average is below 0.8 and I suspect it is something else. Any thoughts on this. The 'w' command attempts to look up the hostnames for any users which are remotely logged in. If you encounter a significant delay, that suggests that reverse DNS (aka PTR record lookups) is not properly configured or is performing slowly in your situation. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error message: inetd[667]: ssh/tcp: bind: Address already in use
Hi All, Can anyone please help me with this error message which pops up at regular intervals on the console and in the log? It's been happening since I built the box a few days ago and extensive Googling and BSD list searches haven't resulted in any clues. Unfortunately I'm a FreeBSD newb but I'm not a technology newb. So far I have: 1) Downloaded and burned the 6v2 CD's 2) Used them to build the box. 3) Set up a few Host Table entries 4) Put the box on my LAN. 5) Created my user account with root priviliges 6) Turned on SSH. 7) Allowed remote root log in over SSH. (I know bad security practice). Next I want to: 1) Sort/understand the above error message 2) Set up two network HP printers (any recommendations) 3) Get CVS configured and working. (I'm surprised I can't find a recommended basic build anywhere.) Thanks Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error message: inetd[667]: ssh/tcp: bind: Address already in use
In the last episode (Mar 07), Andy Kendall said: Hi All, Can anyone please help me with this error message which pops up at regular intervals on the console and in the log? ssh is usually started as a daemon via /etc/rc.d/sshd, so it shouldn't be enabled via /etc/inetd.conf. Just comment out the ssh line in inetd.conf and bounce inetd. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bsnmpd
Hi, please keep me CCed - I'm not subscribed to questions@ Is there a way to have bsnmpd execute a script when questioning a specific oid and returning it's output? Like it can be done with the following config directive in net-snmp exec .1.1.5.0 hdte /usr/local/snmp-scripts/get_hdd_temp.sh ata /dev/ad0 [EMAIL PROTECTED] olivleh1 snmpwalk -v2c -c * kartoffel 1.1.5 iso.1.5.0.1.1 = INTEGER: 1 iso.1.5.0.2.1 = STRING: hdte iso.1.5.0.3.1 = STRING: /usr/local/snmp-scripts/get_hdd_temp.sh ata /dev/ad0 iso.1.5.0.100.1 = INTEGER: 0 iso.1.5.0.101.1 = STRING: 31 iso.1.5.0.101.2 = STRING: 0 iso.1.5.0.102.1 = INTEGER: 0 iso.1.5.0.103.1 = [EMAIL PROTECTED] /root /usr/local/snmp-scripts/get_hdd_temp.sh ata /dev/ad0 31 0 -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: About root user rights
On Mar 7, 2007, at 12:42 PM, Halid Faith wrote: I am an admin for my bsdserver. That is, I can be root user. But There are 3 people who can be root user in the same server. I have a directory. I want them not to enter that directory. if it be possible the server should ask one more password for that directory when anyone reaches there. Or let another user can reache there but let Root user not able to read there. Does it possible ? Not easily, no-- by design, root has complete access to the system. If you don't trust the other users, then they simply should not have root access to the machine. It's perhaps possible to create an encrypted file which you'd mount via mdconfig -t vnode -f _file_ once you've supplied another password... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
On Sat, 3 Mar 2007 15:01:12 +0100 (CET) Christian Baer [EMAIL PROTECTED] wrote: You do know that you can use 'tunefs -m 0'? This will in fact cause fragmentation to happen - even on UFS2! UFS2 has methods of avoiding fragmentation that work quite well but it is not a 'magical' file system, which only means that every gain comes with a price. In this case the price is 10-15% of the HD's space. What happens if you use tunefs -m 0, but don't use the released space? Or if you only occasionally use it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
- Original Message From: DAve [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Sent: Wednesday, March 7, 2007 4:25:12 PM Subject: Re: Setting Env /usr/local/lib/mysql should be owned by root:wheel, at least it is all my servers. I chown'd it back. Do that and run ldconfig -r | grep mysql I get the following, bash-2.05b# ldconfig -r | grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/mysql:/usr/local/lib/compat/pkg 82:-lmysqlclient_r.14 = /usr/local/lib/mysql/libmysqlclient_r.so.14 83:-lmysqlclient.14 = /usr/local/lib/mysql/libmysqlclient.so.14 Same here. TIA, Drew Food fight? Enjoy some healthy debate in the Yahoo! Answers Food Drink QA. http://answers.yahoo.com/dir/?link=listsid=396545367 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting Env
Thanks. I'm downloading a big file right now, so can't reboot, but did chown :) Drew - Original Message From: Kevin Kinsey [EMAIL PROTECTED] To: Drew Jenkins [EMAIL PROTECTED] Sent: Wednesday, March 7, 2007 6:14:50 PM Subject: Re: Setting Env Drew Jenkins wrote: The command should be # ldconfig -m /usr/local/lib/mysql Thanks for the correction. This is actually what gets run when mysql is installed via ports. With that, I went ahead and chowned the dir back to mysql, ran the command successfully, but it still didn't work. Now I'm wondering wondering if maybe it's a permissions problem. As I mentioned earlier, I chowned everything to mysql:mysql because of an earlier permissions problem. Should I chown that whole dir ( /usr/local/lib/mysql )? Or something else? TIA, Drew Upgraded last night: [502] Wed 07.Mar.2007 16:09:00 [EMAIL PROTECTED] ls -l /usr/local/lib | grep mysql drwxr-xr-x 2 root wheel 1024 Mar 6 21:19 mysql/ [503] Wed 07.Mar.2007 16:09:07 [EMAIL PROTECTED] ls -l /usr/local/lib/mysql total 4 -rwxr-xr-x 1 root wheel 840 Mar 6 21:19 ha_example.la* lrwxr-xr-x 1 root wheel 15 Mar 6 21:19 ha_example.so@ - ha_example.so.0 -rwxr-xr-x 1 root wheel 29443 Mar 6 21:19 ha_example.so.0* -r--r--r-- 1 root wheel1402 Mar 6 21:19 libdbug.a -r--r--r-- 1 root wheel 77136 Mar 6 21:19 libheap.a -r--r--r-- 1 root wheel 373300 Mar 6 21:19 libmyisam.a -r--r--r-- 1 root wheel 60970 Mar 6 21:19 libmyisammrg.a -rw-r--r-- 1 root wheel 513856 Mar 6 20:47 libmysqlclient.a -rwxr-xr-x 1 root wheel 860 Mar 6 20:47 libmysqlclient.la* lrwxr-xr-x 1 root wheel 20 Mar 6 20:47 libmysqlclient.so@ - libmysqlclient.so.15 -rwxr-xr-x 1 root wheel 443684 Mar 6 20:47 libmysqlclient.so.15* -rw-r--r-- 1 root wheel 523008 Mar 6 20:47 libmysqlclient_r.a -rwxr-xr-x 1 root wheel 892 Mar 6 20:47 libmysqlclient_r.la* lrwxr-xr-x 1 root wheel 22 Mar 6 20:47 libmysqlclient_r.so@ - libmysqlclient_r.so.15 -rwxr-xr-x 1 root wheel 451915 Mar 6 20:47 libmysqlclient_r.so.15* -r--r--r-- 1 root wheel 302608 Mar 6 21:19 libmystrings.a -r--r--r-- 1 root wheel 272920 Mar 6 21:19 libmysys.a -r--r--r-- 1 root wheel6670 Mar 6 21:19 libvio.a HTH, KDK -- I have a map of the United States. It's actual size. I spent last summer folding it. People ask me where I live, and I say, E6. -- Steven Wright Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
Hello, I just acquired a Linksys Instant Wireless Network PC Card 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is it the NIC, the wi(4) driver, or what? -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RESEND: Re: BSDstats report for Mar 1st, 2006
On 3/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: suggested adding a prompt to sysinstall asking if ppl wanted to participate, and the response I heard was that someone basically needed to submit a patch ... anyone here know enough about sysinstall to do so? If considering work on sysinstall to improve the stats, how about fixing some of the pitfalls that drive away prospective new users? (IOW increase the actual number of installations rather than just the fraction that get reported.) Do we enough samples to accurately estimate the population using statistics, and do we have any numbers for the total BSD user-base and system-base? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
Hello, I have just acquired a Linksys Instant Wireless Network PC Card 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is the NIC or the wi(4) driver incapable of WPA encryption? Thanks for the help. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved: Router with multiple DSL uplinks
CyberLeo Kitsana wrote: Hi! I'm trying to configure a NAT router with multiple DSL uplinks from the same provider. Everything seems to work properly, except when connecting via PPPoE--the second link to come up receives an error while attempting to configure the second tun interface, as both links assign addresses in the same subnet and to the same peer. Is there some configuration or trick I can use to coerce the router to bring up both links properly? PPp ON router1 Warning: iface add: ioctl(SIOCAIFADDR, xx.xx.xx.230/24 - 192.0.2.100): File exists Error: ipcp_InterfaceUp: unable to set ip address This is caused by multiple ptp interfaces with the same peer address (192.0.2.100 in the above example). At least with SBC (ATT), the actual IP there doesn't really matter, as it's just a way for the kernel to determine which interface to send the packet out on, and the other side will route the packet regardless. A simple iface up-script in mpd to change the peer IP to something else on each instance fixes the error nicely. This was for a multi-homed router project (2-4 DSL links, without ISP cooperation) that turns out to be quite functional. Details are at the following URL, for anyone interested (only notes for now): http://wiki.cyberleo.net/index.php/MultiHomedRouter Thanks! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
Doug Poland wrote: Hello, I have just acquired a Linksys Instant Wireless Network PC Card 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is the NIC or the wi(4) driver incapable of WPA encryption? Thanks for the help. Try adding; ifconfig_wi0=DHCP to /etc/rc.conf. That way it will run dhclient automatically whenever you plug the card in. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: System freezes on install
--- s.moyzis [EMAIL PROTECTED] wrote: I have a copy of FreeBSD 4.4, when I try to install from the boot CD, or the 2 floppies, the keyboard/system freezes on Kernal Configuration Menu. I also have 2 HD's, an internal 80 Gb for Windows XP, and a 250 Gb external HD for C; backup and a partition for FreeBSD. It's a one year old 'puter. Any ideas? Thank you, Steve Moyzis [EMAIL PROTECTED] The only secure computer is one that's unplugged, locked in a safe, and buried 20 feet under the ground in a secret location... and I'm not even too sure about that one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello Steve, The version of FreeBSD 4.4 was release in ~2001. Your hardware is a little newer. You may want to use a more updated version of FreeBSD (IE: FreeBSD 6.2). Here is a link to the download page: http://www.freebsd.org/where.html Regards, Paulette McGee The fish are biting. Get more visitors on your site using Yahoo! Search Marketing. http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsnmpd
Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kerberos authenticatino and ldap authorization
On Wed, Mar 07, 2007 at 02:43:15AM -0700, RJ45 wrote: there are many difficulties and YES there is the documentation on FreeBSD handbook but it does not helped me so much I Still ahve difficulties. I isntalled MIT krb5 also and I Am using kadmin from MIT to manage krb5 server. So no possibility of $PATH problems? First problem kadmin: ktadd -k /etc/krb5.keytab host/host.domain kadmin: Unsupported key table format version number while adding key to keytab I can't undertand this message i touched /etc/krb5.keytab but via kadmin it is unable to export the krb5 key I added before with Touching it ahead of time shouldn't be necessary. Your syntax might be off, I'm not sure because it looks like you've made it generic for purposes of posting it to the list. Here's a cut'n'paste of live data of me doing it (the host has been decommissioned recently, and I haven't yet deleted the host key from the KDC, which I'll do shortly): [EMAIL PROTECTED] ~]# ls -l /etc/test.keytab ls: /etc/test.keytab: No such file or directory [EMAIL PROTECTED] ~]# kadmin.local Authenticating as principal toor/[EMAIL PROTECTED] with password. kadmin.local: getprinc -terse host/[EMAIL PROTECTED] host/[EMAIL PROTECTED]0 1037304860 0 2419200 toor/[EMAIL PROTECTED]1037300 kadmin.local: ktadd -k /etc/test.keytab host/[EMAIL PROTECTED] Entry for principal host/[EMAIL PROTECTED] with kvno 6, encryption type Triple DES cbc mode with HMAC/sha1 Entry for principal host/[EMAIL PROTECTED] with kvno 6, encryption type DES cbc mode with CRC-32 added to keytab kadmin.local: exit [EMAIL PROTECTED] ~]# ls -l /etc/test.keytab -rw--- 1 root wheel 164 Mar 7 19:15 /etc/test.keytab [EMAIL PROTECTED] ~]# ktutil ktutil: read_kt /etc/test.keytab ktutil: list slot KVNO Principal - 16 host/[EMAIL PROTECTED] 26 host/[EMAIL PROTECTED] ktutil: exit So it does indeed work. addprinc -randkey host/host.domain i also chmod 777 krb5.keytab nothing to do chmod 777 on a keytab is a very very bad thing to do :-) If someone can read your keytab, it opens the door to impersonating that principal. at the end I exported it from the kdc and copied it by hand in /etc/krb5.keytab on my client FreeBSD box, but I do not know if in this way it will work. I'm never tried it -- it definitely doesn't sound like it'd be fun to type in, however :-) I tend to extract my keytabs right on the KDC and then scp them to the appropriate host. I don't use kadmin for remote admin -- if I need to admin the KDC, I log in via the serial console and use kadmin.local to keep everything off the network. anyway now I have another problem. I am not able to configure ssh to login via kerberos. I tryed everything KerberosAuthentication yes KerberosOrLocalPasswd yes KerberosTicketCleanup yes Kerberos* is, counterintuitively, not what you want. Google for sshd_config GSSAPI. At the end anyway the scenario needs to be krb5 for authentication and LDAP for authorization I use Kerberos for authentication and NIS-over-IPsec (transport mode), which is very similar. I have a cross-realm trust to another Realm that uses Kerberos and flat files, also on BSD. It's definitely doable. For now I am not able to authenticate via krb5 any hints ? Get some basic troubleshooting information in place by trying the following tests and posting the results to the list: * Have a running KDC computer, a workstation computer, and a server computer that can run a Kerberos service (let's say it's the kerberos telnetd for this example). Ensure that all their clocks are in sync. Ensure that all computers have full naem resolution correctly working. * Confirm the KDC is running and that you ave at least one valid user principal and one valid host principal created. The user principal should also exist in /etc/passwd and the other flat files on both the workstation and the server computer. * Confirm that your /etc/krb5.conf on the KDC sets your default realm and gives the hostname of the KDC * From the KDC, confirm that you can kinit and obtain a TGT (test with klist) * From a workstation with the krb5.conf installed, confirm that you can kinit and obtain a TGT (test with klist) * From a workstation with the krb5.conf, attempt to use a kerberos service on the host that has the valid host principal. Confirm with klist that you're able to obtain the host service ticket. * On the KDC, extract (ktadd) the server principal to a keytab file. Securely copy it (scp is fine) to the server host and ensure it's named /etc/krb5.keytab. Permissions should be 600 and owned by root. * Attempt to use the kerberos telnet client to connect to the kerberos host with the valid host principal (i.e., `telnet -x server_host`). You should be able to connect and login passwordless. If any of those steps don't work, please post back to the
gcc43 build snafu
Why, oh why, is this gcc-4.3 build bombing (jc1: out of memory) when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? I'm building every portinto a package since ftp.freebsd.org doesn't have that many v6- packages and these I can share with my other platforms. So far I've been able to figure out every other build. At least those not totally fouled up. Here, I need help. gary Makefile:11912: warning: ignoring old commands for target `multi-clean' /bin/sh ./libtool --mode=compile /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -o gnu/javax/swing/text/html/parser/HTML_401F.lo -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o gnu/javax/swing/text/html/parser/.libs/HTML_401F.o jc1: out of memory allocating 4072 bytes after a total of 536277936 bytes gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[1]: *** [all-target-libjava] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc43. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc43 build snafu
Gary Kline wrote: Why, oh why, is this gcc-4.3 build bombing (jc1: out of memory) when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? I'm building every portinto a package since ftp.freebsd.org doesn't have that many v6- packages and these I can share with my other platforms. So far I've been able to figure out every other build. At least those not totally fouled up. Here, I need help. gary Makefile:11912: warning: ignoring old commands for target `multi-clean' /bin/sh ./libtool --mode=compile /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -o gnu/javax/swing/text/html/parser/HTML_401F.lo -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o gnu/javax/swing/text/html/parser/.libs/HTML_401F.o jc1: out of memory allocating 4072 bytes after a total of 536277936 bytes gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[1]: *** [all-target-libjava] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc43. http://gcc.gnu.org/ It's right there on the front page. So yes I'd call it experimental. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing command-line resolution
Hi! I was wondering if there is a way to change the command-line resolution... Back then with Linux, I could adjust the resolution in grub or lilo by passing some parameters to the kernel. Is there any way to do the same thing in FreeBSD? I wouldn't want to waste that big wide screen =P I got a Dell Inspiron 6400 (e1505) with an NVidia video card running FreeBSD 6.2-STABLE amd64. Thanks! frzburn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing command-line resolution
On 3/8/07, frzburn [EMAIL PROTECTED] wrote: Hi! I was wondering if there is a way to change the command-line resolution... Back then with Linux, I could adjust the resolution in grub or lilo by passing some parameters to the kernel. Is there any way to do the same thing in FreeBSD? I wouldn't want to waste that big wide screen =P I got a Dell Inspiron 6400 (e1505) with an NVidia video card running FreeBSD 6.2-STABLE amd64. man vidcontrol Vidcontrol is your friend. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem Launching Applications in Gnome
Hi, I haven't been able to figure this out, and am hoping someone has some ideas. I can't seem to find any previous mention of a similar problem, so I hope I'm not missing something obvious. I run FreeBSD 6.2-STABLE. I also have installed GNOME 2.16.3. I use Gnome-Terminal 2.16.1. The main application I run is Vim, which I run through Gnome- Terminal. I frequently have several copies running simultaneously. In general response to Gnome-Terminal commands is very fast, but sometimes when I try to open a file with Vim it takes up to 20-30 seconds to load. The files are not particularly large (max 300 lines). During this time, if I try to launch another application in Gnome (e.g., Opera or another Gnome-Terminal), it will not come up. It is as if everything is frozen until finally Vi loads and opens the file, at which point anything else I have tried to open works fine. While this loading takes place, I can work in any other open application normally. Oftentimes I have another Vim session which I am editing in. I have of course looked at top when this problem occurs. CPU usage is about 2%, and there is no significant memory usage either. I never experience this problem outside Gnome, whether I'm using screen or several virtual terminals. It's really strange. Anyway, I hope someone out there has some ideas. Thanks very much in advance. -- Ned Ruggeri PS I'll include my ~/.vimrc file: autocmd! set nocompatible syntax on set showmatch set number set backspace=2 autocmd BufRead *.c set cindent ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing command-line resolution
Good! =D Thanks! =) frzburn On 3/7/07, Daniel Marsh [EMAIL PROTECTED] wrote: On 3/8/07, frzburn [EMAIL PROTECTED] wrote: Hi! I was wondering if there is a way to change the command-line resolution... Back then with Linux, I could adjust the resolution in grub or lilo by passing some parameters to the kernel. Is there any way to do the same thing in FreeBSD? I wouldn't want to waste that big wide screen =P I got a Dell Inspiron 6400 (e1505) with an NVidia video card running FreeBSD 6.2-STABLE amd64. man vidcontrol Vidcontrol is your friend. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
On Wed, March 7, 2007 17:57, Patrick Bowen wrote: Doug Poland wrote: Hello, I have just acquired a Linksys Instant Wireless Network PC Card 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is the NIC or the wi(4) driver incapable of WPA encryption? Try adding; ifconfig_wi0=DHCP to /etc/rc.conf. That way it will run dhclient automatically whenever you plug the card in. I don't have a problem running dhclient, I have a problem with WPA. Initially, my rc.conf said: ifconfig_wi0=WPA DHCP and I had the correct entry in my /etc/wpa_supplicant.conf. I could not connect to my WAP until I turned off WPA, as I stated in my OP. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PRISM3(PCMCIA) and/or wi(4) driver unable to do WPA?
Doug Poland wrote: On Wed, March 7, 2007 17:57, Patrick Bowen wrote: Doug Poland wrote: Hello, I have just acquired a Linksys Instant Wireless Network PC Card 802.11b wireless NIC. When plugged into a 6.2 i386 laptop, dmesg reports: wi0: The Linksys Group, Inc. Instant Wireless Network PC Card at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 wi0: using RF:PRISM3(PCMCIA) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.2) wi0: Ethernet address: 00:06:25:18:6e:1d When I attempted to connect to my WPA-PSK WAP, wpa_supplicant(8) just hangs. When I turned off encryption on the WAP, and enter: # dhclient wi0 Then the NIC connects just fine. So the question is, is the NIC or the wi(4) driver incapable of WPA encryption? Try adding; ifconfig_wi0=DHCP to /etc/rc.conf. That way it will run dhclient automatically whenever you plug the card in. I don't have a problem running dhclient, I have a problem with WPA. Initially, my rc.conf said: ifconfig_wi0=WPA DHCP and I had the correct entry in my /etc/wpa_supplicant.conf. I could not connect to my WAP until I turned off WPA, as I stated in my OP. Doug: Sorry, I misunderstood. Please excuse the noise... Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing command-line resolution
On Wednesday 07 March 2007 21:48, frzburn wrote: Hi! I was wondering if there is a way to change the command-line resolution... Back then with Linux, I could adjust the resolution in grub or lilo by passing some parameters to the kernel. Is there any way to do the same thing in FreeBSD? I wouldn't want to waste that big wide screen =P I got a Dell Inspiron 6400 (e1505) with an NVidia video card running FreeBSD 6.2-STABLE amd64. Build and install a kernel with options VESA and SC_PIXEL_MODE. Reboot. Run vidcontrol -i mode. Pick one you like and make a note of its number. Then do something similar to vidcontrol -f 8x14 cp437-8x14.fnt MODE_NNN, replacing NNN with the mode you noted previously and 8x14 with one of 8x8, 8x14 or 8x16. The font file should match the font size and codepage you want your terminal to be in. Repeat until you find the settings you want, then add a line like this to /etc/rc.conf: allscreens_flags=-f 8x14 cp437-8x14.fnt MODE_NNN using the same substitutions. See also man vidcontrol, man sc, and the FreeBSD handbook. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bsnmpd
Andrew Pantyukhin wrote: Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ with this i would need a cronjob, executing my scrips from time to time and passing their output to the regexSocket, or? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc43 build snafu
Sean Bryant wrote: Gary Kline wrote: Why, oh why, is this gcc-4.3 build bombing (jc1: out of memory) when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? I'm building every portinto a package since ftp.freebsd.org doesn't have that many v6- packages and these I can share with my other platforms. So far I've been able to figure out every other build. At least those not totally fouled up. Here, I need help. gary Makefile:11912: warning: ignoring old commands for target `multi-clean' /bin/sh ./libtool --mode=compile /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -o gnu/javax/swing/text/html/parser/HTML_401F.lo -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list /usr/ports/lang/gcc43/work/build/gcc/gcj -B/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/ -B/usr/ports/lang/gcc43/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=../.././..//gcc-4.3-20070302/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c -fsource-filename=/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML_401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/swing/text/html/parser/HTML_401F.list -fPIC -o gnu/javax/swing/text/html/parser/.libs/HTML_401F.o jc1: out of memory allocating 4072 bytes after a total of 536277936 bytes gmake[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc43/work/build/i386-portbld-freebsd6.2/libjava' gmake[1]: *** [all-target-libjava] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc43/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc43. http://gcc.gnu.org/ It's right there on the front page. So yes I'd call it experimental. 4.3's very experimental, so yes.. be wary and be prepared to post a lot of bug reports (esp when building ports with gcc-4.3). Cheers, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc43 build snafu
On Wed, Mar 07, 2007 at 09:00:10PM -0500, Sean Bryant wrote: Gary Kline wrote: Why, oh why, is this gcc-4.3 build bombing (jc1: out of memory) when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? [[ ... ]] http://gcc.gnu.org/ It's right there on the front page. So yes I'd call it experimental. Right. I should've checked ggc.gnu.org. Be glad when they got their new compiler working. Looks soild for increased optimization, too. -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc43 build snafu
Gary Kline wrote: On Wed, Mar 07, 2007 at 09:00:10PM -0500, Sean Bryant wrote: Gary Kline wrote: Why, oh why, is this gcc-4.3 build bombing (jc1: out of memory) when I've got .75G of RAM and a huge disk? If the gcc43 port is experimental, would somebodt kindly clue me in? [[ ... ]] http://gcc.gnu.org/ It's right there on the front page. So yes I'd call it experimental. Right. I should've checked ggc.gnu.org. Be glad when they got their new compiler working. Looks soild for increased optimization, too. You could try building without java support--that should cut down on your build resources use a ton. Oh, I'm not sure how fast your PC is, but it'll probably take 2-3 hours to compile that alone :).. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleaning old files
Hello, Somehow in the process of upgrading PHP from 5.16 to 5.2.1 I got a few 5.1.6 extenstions which were not deleted. When I issue pkg_info -Ix php5, I get: php5-ctype-5.1.6The ctype shared extension for php php5-ctype-5.1.6_2 The ctype shared extension for php php5-dom-5.1.6 The dom shared extension for php php5-dom-5.1.6_2The dom shared extension for php and so on. I tried checking /usr/local/etc/php/extensions.ini but there are no double entries in there. My question is how do I get rid of these old extensions? Vulnerability test port alerts me I still have them. Thanks! -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg 7.2 with Radeon x1650 card
Just curious what the support's like for this under modular Xorg in FreeBSD. I heard that ATI's drivers (all except the GLX capable ones) work pretty well with Xorg under Linux, but I was curious what support's like in FreeBSD since Radeon has its own kernel driver, etc. Thanks! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]