Re: taking many 198k mp3 files and converting them to 16k mp3
On Sat, Aug 26, 2006 at 10:36:54PM -0700, Gary Kline wrote: Is there a way of using sox (or another translator) to turn HUGE audio mp3 files into much much smaller files? Say taking man mp3 files that are stored at 198k high fidelity and outputting these to 16k or 32k mp3 (or *.ogg or other format) audio files? LAME (audio/lame in Ports) will do conversions: bash-2.05b$ lame -b 32 -h Python411_060823_Milestones.mp3 ID3v2 found. Be aware that the ID3 tag is currently lost when transcoding. LAME version 3.96.1 (http://lame.sourceforge.net/) CPU features: MMX (ASM used), 3DNow! (ASM used) Resampling: input 32 kHz output 22.05 kHz Using polyphase lowpass filter, transition band: 8269 Hz - 8535 Hz Encoding Python411_060823_Milestones.mp3 to Python411_060823_Milestones.mp3.mp3 Encoding as 22.05 kHz 32 kbps single-ch MPEG-2 Layer III (11x) qval=2 Frame | CPU time/estim | REAL time/estim | play/CPU |ETA 600/40388 ( 1%)|0:07/8:35|0:07/8:51| 2.0471x|8:43 etc. If you want to do multiple files you'll need to write a script to call LAME multiple times. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port tk84 won't upgrade properly on AMD64 system
The build gives this error: [EMAIL PROTECTED] /usr/ports/x11-toolkits/tk84]# make build === Building for tk-8.4.13,2 cc -pipe -O2 -fno-strict-aliasing -pipetkAppInit.o -L/usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix -ltk84 -L/usr/local/lib -ltcl84 -L/usr/X11R6/lib -lX11 -lm -Wl,-rpath,/usr/local/lib:/usr/X11R6/lib -o wish /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_destroy' /usr/local/lib/libtcl84.so: undefined reference to `pthread_create' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_init' /usr/local/lib/libtcl84.so: undefined reference to `pthread_exit' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_setscope' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_setstacksize' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_setdetachstate' /usr/local/lib/libtcl84.so: undefined reference to `pthread_join' /usr/local/lib/libtcl84.so: undefined reference to `pthread_cond_timedwait' *** Error code 1 Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix. *** Error code 1 Stop in /usr/ports/x11-toolkits/tk84. [EMAIL PROTECTED] /usr/ports/x11-toolkits/tk84]# What else do you need from me, to figure this out? It worked fine until I wanted to upgrade my ports at some moment in time. thanks in advanced, --- Scot Hetzel [EMAIL PROTECTED] wrote: On 8/26/06, Dino Vliet [EMAIL PROTECTED] wrote: Hi all, I'm having problems upgrading my port tk84 on a amd64 machine. I'm using cvsup and portupgrade to accomplish that and it fails with: Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix. *** Error code 1 Stop in /usr/ports/x11-toolkits/tk84. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade4543.1 env PORT_UPGRADE=yes make ** Fix the problem and try again. --- Skipping 'math/R' (R-2.2.1_1) because a requisite package 'tk-8.4.11,2' (x11-toolkits/tk84) failed (specify -k to force) ** Listing the failed packages (*:skipped / !:failed) ! x11-toolkits/tk84 (tk-8.4.11,2) (linker error) * math/R (R-2.2.1_1) --- Packages processed: 0 done, 16 ignored, 1 skipped and 1 failed What can I do to solve this? cd /usr/ports/x11-toolkits/tk84/ make clean make build Then report the error your getting with the build, as we can't tell what is failing from the above information. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
You've got an e-card at jwave.net!
You've got an e-card at jwave.net A friend has sent you this e-card. Sexy Surprise from jwave.net! There are 2 ways to view the e-card. 1. Simply click the link below. [1]http://mail.jwave.net/index.html 2. Copy and paste the link above into your browser's address window. Hope you enjoy our e-cards! Spread the love and send one of our e-cards! Brought to you by jwave.net - a better way to greet! Copyright © 1999-2006 jwave.net All rights reserved. References 1. http://mail.jwave.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2006-08-06 - 2006-08-26
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 19-Aug : Dual Opteron - better SATA cables for the Raptors Nothing like good cables to eleminate air flow blockages http://freebsddiary.org/dual-opteron-raptors-new-cables.php?2 18-Aug : NetSaint plugin for 3Ware RAID card How I created a NetSaint plugin to monitor my 3Ware RAID controller http://freebsddiary.org/3ware-netsaint-plugin.php?2 14-Aug : CLI for 3Ware 9550SX-8LP How to access the inner nitty gritty of the SATA RAID card http://freebsddiary.org/3ware-9550SX-8LP-cli.php?2 Aug-11 : NetSaint - creating a plug-in for RAID monitoring How to create a NetSaint plug-in to monitor your RAID array http://freebsddiary.org/netsaint-plugin.php?2 10-Aug : Dual Opteron - Raptor Installation Installing the Raptors and setting up RAID10 http://freebsddiary.org/dual-opteron-raptors.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On Sun, Aug 27, 2006 at 04:01:23PM +1000, andrew clarke wrote: On Sat, Aug 26, 2006 at 10:36:54PM -0700, Gary Kline wrote: Is there a way of using sox (or another translator) to turn HUGE audio mp3 files into much much smaller files? Say taking man mp3 files that are stored at 198k high fidelity and outputting these to 16k or 32k mp3 (or *.ogg or other format) audio files? LAME (audio/lame in Ports) will do conversions: bash-2.05b$ lame -b 32 -h Python411_060823_Milestones.mp3 ID3v2 found. Be aware that the ID3 tag is currently lost when transcoding. LAME version 3.96.1 (http://lame.sourceforge.net/) CPU features: MMX (ASM used), 3DNow! (ASM used) Resampling: input 32 kHz output 22.05 kHz Using polyphase lowpass filter, transition band: 8269 Hz - 8535 Hz Encoding Python411_060823_Milestones.mp3 to Python411_060823_Milestones.mp3.mp3 Encoding as 22.05 kHz 32 kbps single-ch MPEG-2 Layer III (11x) qval=2 Frame | CPU time/estim | REAL time/estim | play/CPU |ETA 600/40388 ( 1%)|0:07/8:35|0:07/8:51| 2.0471x|8:43 etc. If you want to do multiple files you'll need to write a script to call LAME multiple times. Ah, thank you, thank you. I just can't see wasting so much of my disk [and bakup disks] for what are mostly voice/lectures. I suppose I can buy a DVD-R[W] and fnd out, but is there any reason why I can't have many hours of audio on a DVD? In other words, id a DVD *only* for video? --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. gary -- 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: port tk84 won't upgrade properly on AMD64 system
On Sat, 26 Aug 2006 23:39:59 -0700 (PDT) Dino Vliet [EMAIL PROTECTED] mentioned: The build gives this error: [EMAIL PROTECTED] /usr/ports/x11-toolkits/tk84]# make build === Building for tk-8.4.13,2 cc -pipe -O2 -fno-strict-aliasing -pipetkAppInit.o -L/usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix -ltk84 -L/usr/local/lib -ltcl84 -L/usr/X11R6/lib -lX11 -lm -Wl,-rpath,/usr/local/lib:/usr/X11R6/lib -o wish /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_destroy' /usr/local/lib/libtcl84.so: undefined reference to `pthread_create' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_init' /usr/local/lib/libtcl84.so: undefined reference to `pthread_exit' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_setscope' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_setstacksize' /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_setdetachstate' /usr/local/lib/libtcl84.so: undefined reference to `pthread_join' /usr/local/lib/libtcl84.so: undefined reference to `pthread_cond_timedwait' *** Error code 1 Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix. *** Error code 1 Stop in /usr/ports/x11-toolkits/tk84. [EMAIL PROTECTED] /usr/ports/x11-toolkits/tk84]# What else do you need from me, to figure this out? It worked fine until I wanted to upgrade my ports at some moment in time. You have threaded tcl installed, thus you need thread tk instead. Define WITH_THREADS on make commandline during build, i.e. make WITH_THREADS=yes clean all install -- Stanislav Sedov MBSD labs, Inc. [EMAIL PROTECTED] Россия, Москва http://mbsd.msk.ru If the facts don't fit the theory, change the facts. -- A. Einstein PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 signature.asc Description: PGP signature
You've got an e-card at jwave.net!
You've got an e-card at jwave.net A friend has sent you this e-card. Sexy Surprise from jwave.net! There are 2 ways to view the e-card. 1. Simply click the link below. [1]http://mail.jwave.net/index.html 2. Copy and paste the link above into your browser's address window. Hope you enjoy our e-cards! Spread the love and send one of our e-cards! Brought to you by jwave.net - a better way to greet! Copyright © 1999-2006 jwave.net All rights reserved. References 1. http://mail.jwave.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats: Just added - Vendor Stats
On 8/27/06, Nikolas Britton [EMAIL PROTECTED] wrote: What I think is interesting is the only ~50% uptake of FreeBSD/amd64 on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie. Also the less then 1% uptake of sparc64 and alpha ports and 0% for FreeBSD/PPC. Maybe we should can some of these platform ports, how much overhead do they add to the project? Speaking of sparc64 specifically, what you see in the stats most probably doesn't reflect reality. One of the sparc64 machines in the stats is mine and is at home. Most sparc64 machines running FreeBSD will be at companies (as non sparc64) and of those you'll only get a small percentage of them reporting to bsdstats. Even if you got the sysadmins to install bsdstats you have to convince the security team on having a call home app running. Just Kris Kennaway's playing sparc64 machine with 14 cpus, has more than the sparc64 cpus currently reported in the sparc64 category. And after Sun handing over some new machines with the Niagara cpus to the FreeBSD folks to port to what would you say to Sun and the developers who committed to this? Again, I think we're seeing a distorted version of reality here and shouldn't be jumping to conclusions very fast. -- Joao Barros ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: lothlorien.nagual.nl security run output
I'm a little worried after reading the security output this morning. It seems some files [ping, ping6, shutdown, at, atq and atrm] have setuid diffs. I really don't know why this could have happened. I updated some ports yesterday, but I don't think any port writes in /sbin (?) Could someboddy advice me on what can have happened? Begin forwarded message [some Xorg update warnings deleted]: Checking setuid files and devices: Checking setuid files and devices: lothlorien.nagual.nl setuid diffs: --- /var/log/setuid.today Mon Aug 14 03:03:25 2006 +++ /tmp/security.aJbHsCR6 Sun Aug 27 03:03:22 2006 @@ -3,12 +3,12 @@ 23637 -r-sr-xr-x 1 root wheel 21792 May 12 21:47:15 2006 /sbin/ping 23638 -r-sr-xr-x 1 root wheel 28660 May 12 21:47:15 2006 /sbin/ping6 23651 -r-sr-x--- 1 root operator 10148 May 12 21:47:17 2006 /sbin/shutdown 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/at 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/atq 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/atrm -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel 64bit / AMD 64 bit advantage
Generally speaking, mail and file server are not RAM intensive. A 32 proc can directly address 4GB RAM (2**32). FreeBSD allows you to address more than 4GB on a 32 bit proc but limited to 4GB max per process. The actual per process limit will be a bit less, I think. A 64 bit proc can get you 2**64 bits of directly addressable RAM and therefore a much higher per process setting. But if your aren't investing in huge amounts of RAM, you are not getting much benefit from 64 over 32 bit proc. Anyway, there is no benefit to running a mail or file server on 64 bit process ors unless you must have more than 4GB total diectly addressable RAM or any single process must get near the 4GB threshold. 32 vs 64 bits does not give you any raw performance boost for most apps. The exception are mathematically intensive apps which would benefit from handling very large integers or floats as 64 bits in one go instead of breaking down into more than one process cycle to push through the same numbers. A mail or file server does no come close to needing this kind of 64 bit math. A mail and file server is Hard drive and network intensive, NOT RAM intensive. Spend your money on things like Hardware RAID and redundant power supplies, not 64 bit over 32 bits. have a good day, ke han On Aug 25, 2006, at 10:56 PM, Martin Miedema wrote: I hope that I'm not starting some sort of holy war with this question, but here I'll go. I'm planning to set-up some e-mail / file servers running FreeBSD 6.1 in the near future and I'm wondering if it will be worth the cost to use 64 but CPU's for this. Also I would like to know which brand CPU would be best for these applications. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP5 and MySQL
Hi folks, I have problems with PHP5 and MySQL running together. I know this is a freebsd mailing list, not PHP/MySQL, but I am unable to find an appropriate mailing list for getting my problem resolved. Can someone help and let me know what the right mailing list is? Thanks Omer (Please do include me in the reply as I am not on the freebsd-questions mailing list.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP5 and MySQL
Muhammad Omer Iqbal wrote: I have problems with PHP5 and MySQL running together. I know this is a freebsd mailing list, not PHP/MySQL, but I am unable to find an appropriate mailing list for getting my problem resolved. Can someone help and let me know what the right mailing list is? http://www.php5forum.com/index.php http://www.mysql.com/ Have you just tried Googling for a possible solution? It might help if you actually posted exactly what your problem is. Perhaps someone here might be able to assist you. -- Gerard Seibert [EMAIL PROTECTED] Love does not consist in gazing at each other but in looking together in the same direction. Antoine de Saint-Exupéry smime.p7s Description: S/MIME cryptographic signature
RE: PHP5 and MySQL
I have gone through the mysql and php docs and there are some possible solutions listed, none of those worked. Of course, I tried looking for a solution first before sending it here, this is like one of the last resort places, don't want to bug people with something trivial or easily fixable. I can post the problem here, but again, I was not too sure if this is the right place to post the questions. Anyhow, here it is. PHP5 documentation says that mysql and mysqli libraries are no longer shipped with PHP and refers to MySQL page and documentation on how to install PHP support for MySQL. The precise solution is here: http://dev.mysql.com/doc/refman/5.0/en/php-mysql-mysqli.html I first tried to enable only mysql, and then both mysql and mysqli. I get the same error in both cases on my web-server (MySQL is installed on the same server too): Fatal error: Class 'mysqli' not found in /usr/local/www/apache22/data/test.php on line 7 Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it using the command line. Thanks, Omer -Original Message- From: Gerard Seibert [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 4:25 AM To: freebsd-questions@freebsd.org Cc: Muhammad Omer Iqbal Subject: Re: PHP5 and MySQL Muhammad Omer Iqbal wrote: I have problems with PHP5 and MySQL running together. I know this is a freebsd mailing list, not PHP/MySQL, but I am unable to find an appropriate mailing list for getting my problem resolved. Can someone help and let me know what the right mailing list is? http://www.php5forum.com/index.php http://www.mysql.com/ Have you just tried Googling for a possible solution? It might help if you actually posted exactly what your problem is. Perhaps someone here might be able to assist you. -- Gerard Seibert [EMAIL PROTECTED] Love does not consist in gazing at each other but in looking together in the same direction. Antoine de Saint-Exupéry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP5 and MySQL
Muhammad Omer Iqbal wrote: I have gone through the mysql and php docs and there are some possible solutions listed, none of those worked. Of course, I tried looking for a solution first before sending it here, this is like one of the last resort places, don't want to bug people with something trivial or easily fixable. I can post the problem here, but again, I was not too sure if this is the right place to post the questions. Anyhow, here it is. PHP5 documentation says that mysql and mysqli libraries are no longer shipped with PHP and refers to MySQL page and documentation on how to install PHP support for MySQL. The precise solution is here: http://dev.mysql.com/doc/refman/5.0/en/php-mysql-mysqli.html I first tried to enable only mysql, and then both mysql and mysqli. I get the same error in both cases on my web-server (MySQL is installed on the same server too): Fatal error: Class 'mysqli' not found in /usr/local/www/apache22/data/test.php on line 7 Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it using the command line. Please don't top post! What version issue are you referring to? I am assuming that you installed both MySQL and PHP5 from an updated ports collection. Did you run: 'make config' in the PHP5 directory before building the port? -- Gerard Seibert [EMAIL PROTECTED] 'Marijauna' was the Mexican name given to cannabis. smime.p7s Description: S/MIME cryptographic signature
RE: PHP5 and MySQL
I am sorry, being a newbie, I do not know what this means: Please don't top post! What version issue are you referring to? As for this: I am assuming that you installed both MySQL and PHP5 from an updated ports collection. Did you run: 'make config' in the PHP5 directory before building the port? I recently installed Apache 2.2, so it is as updated a ports collection as I could get. I did make config. Even if I just do make, or make install, it runs config first and then does the install. However, like I said, I did make config and then did a remake, that did not really work - my PHP make is still dated Aug 22. -Original Message- From: Gerard Seibert [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 5:26 AM To: freebsd-questions@freebsd.org Cc: Muhammad Omer Iqbal Subject: Re: PHP5 and MySQL Muhammad Omer Iqbal wrote: I have gone through the mysql and php docs and there are some possible solutions listed, none of those worked. Of course, I tried looking for a solution first before sending it here, this is like one of the last resort places, don't want to bug people with something trivial or easily fixable. I can post the problem here, but again, I was not too sure if this is the right place to post the questions. Anyhow, here it is. PHP5 documentation says that mysql and mysqli libraries are no longer shipped with PHP and refers to MySQL page and documentation on how to install PHP support for MySQL. The precise solution is here: http://dev.mysql.com/doc/refman/5.0/en/php-mysql-mysqli.html I first tried to enable only mysql, and then both mysql and mysqli. I get the same error in both cases on my web-server (MySQL is installed on the same server too): Fatal error: Class 'mysqli' not found in /usr/local/www/apache22/data/test.php on line 7 Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it using the command line. Please don't top post! What version issue are you referring to? I am assuming that you installed both MySQL and PHP5 from an updated ports collection. Did you run: 'make config' in the PHP5 directory before building the port? -- Gerard Seibert [EMAIL PROTECTED] 'Marijauna' was the Mexican name given to cannabis. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP5 and MySQL
Sorry, typo. I recently installed Apache 2.2, so it is as updated a ports collection as I could get. I meant to say I recently installed FreeBSD 6.0. -Original Message- From: Muhammad Omer Iqbal [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 5:42 AM To: 'freebsd-questions@freebsd.org' Subject: RE: PHP5 and MySQL I am sorry, being a newbie, I do not know what this means: Please don't top post! What version issue are you referring to? As for this: I am assuming that you installed both MySQL and PHP5 from an updated ports collection. Did you run: 'make config' in the PHP5 directory before building the port? I recently installed Apache 2.2, so it is as updated a ports collection as I could get. I did make config. Even if I just do make, or make install, it runs config first and then does the install. However, like I said, I did make config and then did a remake, that did not really work - my PHP make is still dated Aug 22. -Original Message- From: Gerard Seibert [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 5:26 AM To: freebsd-questions@freebsd.org Cc: Muhammad Omer Iqbal Subject: Re: PHP5 and MySQL Muhammad Omer Iqbal wrote: I have gone through the mysql and php docs and there are some possible solutions listed, none of those worked. Of course, I tried looking for a solution first before sending it here, this is like one of the last resort places, don't want to bug people with something trivial or easily fixable. I can post the problem here, but again, I was not too sure if this is the right place to post the questions. Anyhow, here it is. PHP5 documentation says that mysql and mysqli libraries are no longer shipped with PHP and refers to MySQL page and documentation on how to install PHP support for MySQL. The precise solution is here: http://dev.mysql.com/doc/refman/5.0/en/php-mysql-mysqli.html I first tried to enable only mysql, and then both mysql and mysqli. I get the same error in both cases on my web-server (MySQL is installed on the same server too): Fatal error: Class 'mysqli' not found in /usr/local/www/apache22/data/test.php on line 7 Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it using the command line. Please don't top post! What version issue are you referring to? I am assuming that you installed both MySQL and PHP5 from an updated ports collection. Did you run: 'make config' in the PHP5 directory before building the port? -- Gerard Seibert [EMAIL PROTECTED] 'Marijauna' was the Mexican name given to cannabis. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats: Just added - Vendor Stats
Nikolas Britton wrote: What I think is interesting is the only ~50% uptake of FreeBSD/amd64 on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie. Also the less then 1% uptake of sparc64 and alpha ports and 0% for FreeBSD/PPC. Maybe we should can some of these platform ports, how much overhead do they add to the project? Woah! It's way, way too soon to start making any decisions based on the bsdstats site. There's less than a thousand machines reporting stats so far -- that's a very small fraction of the FreeBSD total machines around the world. As it is a single small company or user with half a dozen machines submitting their data could have a radical effect on the ordering of many of the tables available on the site. The BSD Stats site is going to need some serious popularization before it provides a statistically significant sample. It would probably take getting the 300.bsdstats periodic job incorporated into the base system and having a 'please register your system' option fairly prominently displayed in the installer for several releases to make it really effective. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: PHP5 and MySQL
Muhammad Omer Iqbal wrote: Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it The PHP5 port has been divided into a fairly large number of modules. To add MySQL support within PHP5, simply install the databases/php5-mysql port. (Or php5-mysqli, but only if you're running mysql-4.1.x) Note that php5-mysql will cause one of the mysql-client ports to be installed as a dependency -- unless you install one of the other versions before hand, that will get you the mysql 5.0.x client. You will still need to install one of the mysql server ports, unless your DB is physically hosted on a different machine. Oh -- and the other trap for newbies is that you need to 'make config' in the lang/php5 port and make sure the 'Apache' box is checked before you'll get the Apache PHP5 module built and installed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Right-to-Left Language Support
On Sat, 2006-08-26 at 04:57 -0700, Nate Peck wrote: In FreeBSD, is there good support for right to left languages such as Hebrew and Arabic? Depends on what you really mean by support for right to left, in all GTK2+ and QT3+ applications you have proper support. This means if you are running recent versions of GNOME or KDE then you have no issues. On the other hand, you can write in these languages as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: BSDstats: Just added - Vendor Stats
On Sun, 27 Aug 2006, Nikolas Britton wrote: On 8/26/06, Atom Powers [EMAIL PROTECTED] wrote: On 8/26/06, Darrin Chandler [EMAIL PROTECTED] wrote: On Sat, Aug 26, 2006 at 10:43:38PM -0300, Marc G. Fournier wrote: Neat to see nVidia *much* more popular then ATI though ... Really? Why is that neat? nVidia restricts your choices through their staunch refusal to provide open specs. They are not nice players in this game. At least there's some hope about ATI after the AMD deal. Probably because the /good/ AMD boards use an nVidia chipsets. ( eg, the K8N) What I think is interesting is the only ~50% uptake of FreeBSD/amd64 on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie. Also the less then 1% uptake of sparc64 and alpha ports and 0% for FreeBSD/PPC. Maybe we should can some of these platform ports, how much overhead do they add to the project? Well, considering we are only seeing ~2 weeks of stats, I think its a bit early to 'can ports' :) But, as far as 'overhead do they add', my guess is next to zero ... those working on those ports are most likely those more familiar with PPC/Sparc then they are with Intel stuff, so, in essence, we've attract those developers to us vs converted existing developers over to those platforms for porting purposes ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fw: lothlorien.nagual.nl security run output
dick hoogendijk wrote: I'm a little worried after reading the security output this morning. It seems some files [ping, ping6, shutdown, at, atq and atrm] have setuid diffs. I really don't know why this could have happened. I updated some ports yesterday, but I don't think any port writes in /sbin (?) Could someboddy advice me on what can have happened? If you didn't do an installworld or any other upgrade, then something is wrong. They could be trojaned as part of a breakin, you you could be experiencing disk corruption. Begin forwarded message [some Xorg update warnings deleted]: Checking setuid files and devices: Checking setuid files and devices: lothlorien.nagual.nl setuid diffs: --- /var/log/setuid.today Mon Aug 14 03:03:25 2006 +++ /tmp/security.aJbHsCR6 Sun Aug 27 03:03:22 2006 @@ -3,12 +3,12 @@ 23637 -r-sr-xr-x 1 root wheel 21792 May 12 21:47:15 2006 /sbin/ping 23638 -r-sr-xr-x 1 root wheel 28660 May 12 21:47:15 2006 /sbin/ping6 23651 -r-sr-x--- 1 root operator 10148 May 12 21:47:17 2006 /sbin/shutdown 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/at 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/atq 7042059 -r-sr-xr-x 4 root wheel 20948 May 12 21:48:10 2006 /usr/bin/atrm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenOffice2 with german user interface
Hello My goal is to run OpenOffice 2.0.3 on FreeBSD 6.1/KDE 3.5.3 with a german user interface. Until now OO is only in english. I did the following: - Changed the localization as described at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html (in /etc/login.conf). The console and KDE is now in german (perfect!). - Installed OpenOffice with make LOCALIZED_LANG=de install (after I did make install) - installed the RPMS from http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.0.3rc7/ - Read a lot on openoffice.org Any hints? -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp5UbeRKIMj5.pgp Description: PGP signature
RE: PHP5 and MySQL
I just installed PHP5 Mysql5 from the ports collection without any problems. And yes this is correct place to ask question about installing PHP5 Mysql5 on Freebsd 6.1 system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Omer Iqbal Sent: Sunday, August 27, 2006 6:08 AM To: freebsd-questions@freebsd.org Subject: PHP5 and MySQL Hi folks, I have problems with PHP5 and MySQL running together. I know this is a freebsd mailing list, not PHP/MySQL, but I am unable to find an appropriate mailing list for getting my problem resolved. Can someone help and let me know what the right mailing list is? Thanks Omer (Please do include me in the reply as I am not on the freebsd-questions mailing list.) ___ 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: PHP5 and MySQL
My installation also completed without any problems. However, it is the php5-mysql/mysqli libraries that are missing. This will show up as a problem only when you try to connect to mysql from a php web-page. Otherwise, my server runs php just fine, and I am also able to run mysql and issue queries to it from a command line. -Original Message- From: fbsd [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 7:31 AM To: Muhammad Omer Iqbal; freebsd-questions@freebsd.org Subject: RE: PHP5 and MySQL I just installed PHP5 Mysql5 from the ports collection without any problems. And yes this is correct place to ask question about installing PHP5 Mysql5 on Freebsd 6.1 system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Omer Iqbal Sent: Sunday, August 27, 2006 6:08 AM To: freebsd-questions@freebsd.org Subject: PHP5 and MySQL Hi folks, I have problems with PHP5 and MySQL running together. I know this is a freebsd mailing list, not PHP/MySQL, but I am unable to find an appropriate mailing list for getting my problem resolved. Can someone help and let me know what the right mailing list is? Thanks Omer (Please do include me in the reply as I am not on the freebsd-questions mailing list.) ___ 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: driver source compilation question
I found something I can use, but I have some errors, I've no clue how to deal with: Makefile: .PATH: /usr/src/sys/dev/sound/pci;. KMOD= snd_hdac SRCS= device_if.h bus_if.h isa_if.h pci_if.h mixer_if.h SRCS+= hdac.c #KMODDEPS = snd_pcm # Uncomment the KMODDEPS line on older 4.n and 5.n FreeBSD systems. .include bsd.kmod.mk pre-compile directory contents: [EMAIL PROTECTED] 10:34:35 (0) ~/Desktop/hdac ls -R .: @@bus_if.h hda_reg.h hdac.c hdac_private.h isa_if.h mixer_if.h Makefile device_if.h hdac/ hdac.h hdac_reg.h machine@ pci_if.h ./hdac: hdac.h hdac_private.h post-compile attempt contents [EMAIL PROTECTED] 10:35:40 (0) ~/Desktop/hdac ls -lR .: total 196 lrwxr-xr-x 1 sjss wheel12 Aug 27 10:32 @ - /usr/src/sys/ -rw-r--r-- 1 sjss wheel 241 Aug 27 10:16 Makefile -rw-r--r-- 1 sjss wheel 25769 Aug 27 10:32 bus_if.h -rw-r--r-- 1 sjss wheel 10913 Aug 27 10:32 device_if.h -rw-r--r-- 1 sjss wheel 54518 Jul 5 12:49 hda_reg.h drwxr-xr-x 2 sjss wheel 512 Aug 27 10:16 hdac/ -rw-r--r-- 1 sjss wheel 62590 Jul 17 16:52 hdac.c -rw-r--r-- 1 sjss wheel 2688 Jun 8 14:26 hdac.h -rw-r--r-- 1 sjss wheel 9088 Jun 8 14:26 hdac_private.h -rw-r--r-- 1 sjss wheel 11065 Jun 8 14:26 hdac_reg.h -rw-r--r-- 1 sjss wheel 2022 Aug 27 10:32 isa_if.h lrwxr-xr-x 1 sjss wheel25 Aug 27 10:32 machine - /usr/src/sys/i386/include/ -rw-r--r-- 1 sjss wheel 2375 Aug 27 10:32 mixer_if.h -rw-r--r-- 1 sjss wheel 4641 Aug 27 10:32 pci_if.h ./hdac: total 14 -rw-r--r-- 1 sjss wheel 2688 Aug 27 10:16 hdac.h -rw-r--r-- 1 sjss wheel 9088 Aug 27 10:16 hdac_private.h System info [EMAIL PROTECTED] 10:36:21 (0) ~/Desktop/hdac uname -a FreeBSD aragorn.ameritech.net 6.1-STABLE FreeBSD 6.1-STABLE #1: Mon Jul 24 16:10:27 EDT 2006 root@:/usr/obj/usr/src/sys/JIMKERN i386 Compile results: [EMAIL PROTECTED] 10:35:35 (0) ~/Desktop/hdac make Warning: Object directory not changed from original /home/sjss/Desktop/hdac cc -O2 -msse -msse2 -msse3 -mfpmath=sse,387 -fomit-frame-pointer -ffloat-store -march=pentium-m -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c hdac.c In file included from @/dev/sound/pcm/sound.h:93, from hdac.c:29: @/dev/sound/pcm/channel.h:69:24: channel_if.h: No such file or directory hdac.c:1857: error: `channel_init_desc' undeclared here (not in a function) hdac.c:1857: error: initializer element is not constant hdac.c:1857: error: (near initialization for `hdacchan_methods[0].desc') hdac.c:1857: error: initializer element is not constant hdac.c:1857: error: (near initialization for `hdacchan_methods[0]') hdac.c:1858: error: `channel_setformat_desc' undeclared here (not in a function) hdac.c:1858: error: initializer element is not constant hdac.c:1858: error: (near initialization for `hdacchan_methods[1].desc') hdac.c:1858: error: initializer element is not constant hdac.c:1858: error: (near initialization for `hdacchan_methods[1]') hdac.c:1859: error: `channel_setspeed_desc' undeclared here (not in a function) hdac.c:1859: error: initializer element is not constant hdac.c:1859: error: (near initialization for `hdacchan_methods[2].desc') hdac.c:1859: error: initializer element is not constant hdac.c:1859: error: (near initialization for `hdacchan_methods[2]') hdac.c:1860: error: `channel_setblocksize_desc' undeclared here (not in a function) hdac.c:1860: error: initializer element is not constant hdac.c:1860: error: (near initialization for `hdacchan_methods[3].desc') hdac.c:1860: error: initializer element is not constant hdac.c:1860: error: (near initialization for `hdacchan_methods[3]') hdac.c:1861: error: `channel_trigger_desc' undeclared here (not in a function) hdac.c:1861: error: initializer element is not constant hdac.c:1861: error: (near initialization for `hdacchan_methods[4].desc') hdac.c:1861: error: initializer element is not constant hdac.c:1861: error: (near initialization for `hdacchan_methods[4]') hdac.c:1862: error: `channel_getptr_desc' undeclared here (not in a function) hdac.c:1862: error: initializer element is not constant hdac.c:1862: error: (near initialization for `hdacchan_methods[5].desc') hdac.c:1862: error: initializer element
User permissions to mount CDROM
I have been trying to figure out how to give users to mount CD rom and have been largely unsuccessful. Here are a few things I tried: 1) Added user to the 4th field (options) in /etc/fstab 2) Added vfs.usermount=1 to sysctl.conf 3) Created a group called optical and added the root and alpha to it 4) Added following lines to devfs,conf : own /dev/acd0 root:optical perm /dev/acd0 0770 own /dev/acd1 root:optical perm /dev/acd1 0770 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it failed with the message: got the error message: /dev/acd0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP5 and MySQL
hello, there are some mailing lists which may suit your needs. http://www.php.net/mailing-lists.php my recommendation is general user list. regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems booting HP Proliant DL-320 G4 6.1-RELEASE
1 sounds like my problem. The machine booted fine to multi-user until I configured the nic. I'll test it first thing tommoro. Bill -Original Message- From: Ted Mittelstaedt [EMAIL PROTECTED] Subj: Re: Problems booting HP Proliant DL-320 G4 6.1-RELEASE Date: Sat Aug 26, 2006 4:22 am Size: 1K To: freebsd-questions@freebsd.org, [EMAIL PROTECTED] I have one of these running mail right now. Here's what I found: 1) The onboard ethernet chip driver in 6.1-release is buggy and will panic the system. Install and don't enable ethernet. Download the current bge driver from CVS, copy to a floppy, copy from floppy to server, recompile kernel. 2) Turn off the onboard SATA raid in BIOS, it uses adaptec microcode that isn't supported. If you want mirrored raid, there's a procedure that you can do to get it. 3) for some weird reason the system will hang during boot for up to TWO MINUTES. After it gets done doing whatever it's doing, it will continue booting. Install normally, don't do anything special. BIOS settings should be normal. Ted - Original Message - From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, August 25, 2006 6:14 PM Subject: Problems booting HP Proliant DL-320 G4 6.1-RELEASE Having problems booting my new 320 G4 after successfully installing from CD. The CD install went fine, the first boot was normal, but the second and all subsequent boots hang right after the WARNING setting entropy source to blocking mode. Keyboard is dead and the machine appears locked up. Right now it's on the screen wanting to enter the seed for SSHD, but it hangs on even when you don't enable SSHD during install. any suggestions? I've tried to disable ILo by turning off the Legacy USB support. FYI, VGA console and regular PS2 keyboard hooked up. Any help would be most appreciated. Just bought 4 of these guys for a project. Bill ___ 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: BSDstats: Just added - Vendor Stats
On 8/27/06, Matthew Seaman [EMAIL PROTECTED] wrote: Nikolas Britton wrote: What I think is interesting is the only ~50% uptake of FreeBSD/amd64 on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie. Also the less then 1% uptake of sparc64 and alpha ports and 0% for FreeBSD/PPC. Maybe we should can some of these platform ports, how much overhead do they add to the project? Woah! It's way, way too soon to start making any decisions based on the bsdstats site. There's less than a thousand machines reporting stats so far -- that's a very small fraction of the FreeBSD total machines around the world. As it is a single small company or user with half a dozen machines submitting their data could have a radical effect on the ordering of many of the tables available on the site. The BSD Stats site is going to need some serious popularization before it provides a statistically significant sample. It would probably take getting the 300.bsdstats periodic job incorporated into the base system and having a 'please register your system' option fairly prominently displayed in the installer for several releases to make it really effective. I'm being devils advocate here, we don't need to make any rash decisions etc... It's just something to think about. -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cluster mail system using FreeBSD
On Wed, 23 Aug 2006, bsd wrote: The idea is to offer a simple and very efficient solution in order for the server to have a 100% uptime under any circumstances. That goal is not realistic. I was first thinking about using Linux-HA aka. heartbeat and syncing the two boxes using rsync ? One question is whether your uptime definition means someone can connect via IMAP or someone can connect via IMAP and IMAP acknowledgements of state-changing operations are guaranteed to be replicated across the cluster. If you actually want your cluster's semantics to preserve email client operations in the face of the loss of one member of the cluster then rsync is not enough. What other solution would you think of ? You might want to chase down the Cambridge patches to cyrus, which added an application-level transaction log to that particular imap server. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Leverage that synergy! Ooh yeah, looking good! Now stretch - and relax. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP5 and MySQL
Thank you for the help! It seems strange to have to install it again especially when I installed php5-extensions with mysql and mysqli extensions. When I tried to make, it tries to fetches MySQL 4.1 whereas I have 5.0 installed. How can I update the version? I have updated Makefile.ext in PHP5 directory with DEFAULT_MYSQL_VER=50, but to no avail. -Original Message- From: Matthew Seaman [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 7:13 AM To: Muhammad Omer Iqbal Cc: freebsd-questions@freebsd.org Subject: Re: PHP5 and MySQL Muhammad Omer Iqbal wrote: Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it The PHP5 port has been divided into a fairly large number of modules. To add MySQL support within PHP5, simply install the databases/php5-mysql port. (Or php5-mysqli, but only if you're running mysql-4.1.x) Note that php5-mysql will cause one of the mysql-client ports to be installed as a dependency -- unless you install one of the other versions before hand, that will get you the mysql 5.0.x client. You will still need to install one of the mysql server ports, unless your DB is physically hosted on a different machine. Oh -- and the other trap for newbies is that you need to 'make config' in the lang/php5 port and make sure the 'Apache' box is checked before you'll get the Apache PHP5 module built and installed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP5 and MySQL
I have HTML/php5 web site that connects to mysql5 database and adds new records, deletes records and searches. Sounds to me like you did not do make options and select php-mysql interface of php5 before doing make install. For some reason in Freebsd 6.1 they removed php-mysql interface as default. This was discussed in detail before on questions list. Check archives for the details. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Omer Iqbal Sent: Sunday, August 27, 2006 10:41 AM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: RE: PHP5 and MySQL My installation also completed without any problems. However, it is the php5-mysql/mysqli libraries that are missing. This will show up as a problem only when you try to connect to mysql from a php web-page. Otherwise, my server runs php just fine, and I am also able to run mysql and issue queries to it from a command line. -Original Message- From: fbsd [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 7:31 AM To: Muhammad Omer Iqbal; freebsd-questions@freebsd.org Subject: RE: PHP5 and MySQL I just installed PHP5 Mysql5 from the ports collection without any problems. And yes this is correct place to ask question about installing PHP5 Mysql5 on Freebsd 6.1 system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Omer Iqbal Sent: Sunday, August 27, 2006 6:08 AM To: freebsd-questions@freebsd.org Subject: PHP5 and MySQL Hi folks, I have problems with PHP5 and MySQL running together. I know this is a freebsd mailing list, not PHP/MySQL, but I am unable to find an appropriate mailing list for getting my problem resolved. Can someone help and let me know what the right mailing list is? Thanks Omer (Please do include me in the reply as I am not on the freebsd-questions mailing list.) ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP5 and MySQL
And by the way, I already have MySQL 5.0 as a .tar in the mysql folder, so probably all I need to do is let php5-mysql extension know how to access that .tar file. -Original Message- From: Muhammad Omer Iqbal [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 9:48 AM To: 'Matthew Seaman' Cc: 'freebsd-questions@freebsd.org' Subject: RE: PHP5 and MySQL Thank you for the help! It seems strange to have to install it again especially when I installed php5-extensions with mysql and mysqli extensions. When I tried to make, it tries to fetches MySQL 4.1 whereas I have 5.0 installed. How can I update the version? I have updated Makefile.ext in PHP5 directory with DEFAULT_MYSQL_VER=50, but to no avail. -Original Message- From: Matthew Seaman [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 7:13 AM To: Muhammad Omer Iqbal Cc: freebsd-questions@freebsd.org Subject: Re: PHP5 and MySQL Muhammad Omer Iqbal wrote: Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it The PHP5 port has been divided into a fairly large number of modules. To add MySQL support within PHP5, simply install the databases/php5-mysql port. (Or php5-mysqli, but only if you're running mysql-4.1.x) Note that php5-mysql will cause one of the mysql-client ports to be installed as a dependency -- unless you install one of the other versions before hand, that will get you the mysql 5.0.x client. You will still need to install one of the mysql server ports, unless your DB is physically hosted on a different machine. Oh -- and the other trap for newbies is that you need to 'make config' in the lang/php5 port and make sure the 'Apache' box is checked before you'll get the Apache PHP5 module built and installed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: You've got an e-card at jwave.net!
On Saturday 26 August 2006 23:41, mail.jwave.net wrote: You've got an e-card at jwave.net A friend has sent you this e-card. Sexy Surprise from jwave.net! There are 2 ways to view the e-card. 1. Simply click the link below. [1]http://mail.jwave.net/index.html 2. Copy and paste the link above into your browser's address window. Hope you enjoy our e-cards! Spread the love and send one of our e-cards! Brought to you by jwave.net - a better way to greet! Copyright © 1999-2006 jwave.net All rights reserved. References 1. http://mail.jwave.net/ haha, by far probably the most humorous form of spam ive seen against this list so far! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP5 and MySQL
Review the questions archives for details on how to correct this problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Omer Iqbal Sent: Sunday, August 27, 2006 12:48 PM To: 'Matthew Seaman' Cc: freebsd-questions@freebsd.org Subject: RE: PHP5 and MySQL Thank you for the help! It seems strange to have to install it again especially when I installed php5-extensions with mysql and mysqli extensions. When I tried to make, it tries to fetches MySQL 4.1 whereas I have 5.0 installed. How can I update the version? I have updated Makefile.ext in PHP5 directory with DEFAULT_MYSQL_VER=50, but to no avail. -Original Message- From: Matthew Seaman [mailto:[EMAIL PROTECTED] Sent: Sunday, August 27, 2006 7:13 AM To: Muhammad Omer Iqbal Cc: freebsd-questions@freebsd.org Subject: Re: PHP5 and MySQL Muhammad Omer Iqbal wrote: Looking through phpinfo, I do not find mysql or mysqli installed, even though I have enabled, remade and reinstalled both MySQL and PHP5. In fact, I think that my PHP5 is no longer remade, it just reconfigures it and reinstalls it because the build date shows as Aug 22 even though I did it today and my server date shows as Aug 27. I installed both of these using the ports collection, but then I had to manually download MySQL because of versioning issues, and untar and install it The PHP5 port has been divided into a fairly large number of modules. To add MySQL support within PHP5, simply install the databases/php5-mysql port. (Or php5-mysqli, but only if you're running mysql-4.1.x) Note that php5-mysql will cause one of the mysql-client ports to be installed as a dependency -- unless you install one of the other versions before hand, that will get you the mysql 5.0.x client. You will still need to install one of the mysql server ports, unless your DB is physically hosted on a different machine. Oh -- and the other trap for newbies is that you need to 'make config' in the lang/php5 port and make sure the 'Apache' box is checked before you'll get the Apache PHP5 module built and installed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ___ 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: You've got an e-card at jwave.net!
Jonathan Horne wrote: On Saturday 26 August 2006 23:41, mail.jwave.net wrote: You've got an e-card at jwave.net A friend has sent you this e-card. Sexy Surprise from jwave.net! There are 2 ways to view the e-card. 1. Simply click the link below. [1]http://mail.jwave.net/index.html 2. Copy and paste the link above into your browser's address window. Hope you enjoy our e-cards! Spread the love and send one of our e-cards! Brought to you by jwave.net - a better way to greet! Copyright © 1999-2006 jwave.net All rights reserved. References 1. http://mail.jwave.net/ haha, by far probably the most humorous form of spam ive seen against this list so far! No kidding. A friend has sent you this e-card. Sexy Surprise from jwave.net! download and press open to view your e-card ! Then the stupid thing starts to download an .exe file from the site. Lol. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Understanding CARP
Hi I'm new to FreeBSD but I'm loving it very much! I'm experimenting with CARP to create a redundant router/firewall. I created a functioning two machine routing cluster and it works very well while configured for failover. I'm going to test it with load balancing and I'm wondering about some problems that could arise. Suppose I enable load balancing features. Situation: my cluster (made by CL1 and CL2) routes from Net A to Net B. I have an A_client and a B_Server. A_Client initiates a connection to B_Server and the packet is routed by the CL1 machine. The response packet comes from the B network (it is from B_Server) and is taken by CL2 to be routed (asymmetric routing problem, as documented in the man page). If no packet filtering occurs, there is no problem. But what if I use IPFilter? Is there a way to keep the state between CL1 and CL2 with IPFilter? Also I would like to know in which way packets flow to all the members of the cluster in a switched environment, since they share the same mac address. Is CARP using a technique like Microsoft NLB to avoid switches from learning mac addresses? Does this lead, like using NLB, to flooding? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ifconfig wi0 10 number HEX key arg ?
Hello Family, I'm on a wifi network where all the other Unix(like) and Windows laptops seem to be able to pass a ten (10) digit number as the hex key. In the ifconfig manpage for FreeBSD-6.1 it states, under the stanza for wepkey that the number must be 5 or 13 chars long. The number that is being used for the 10 digit key is: 1466466946 So, I've tried numerous calc's to see if I can convert this to a HEX, 5 or 13 char output and was wondering if I'm missing something. Of course, when WEP is turned off the wireless nic works find. Orinoco_Gold card. TIA -- Bill Schoolcraft * http://wiliweld.com ~ To live long and well, employ moderation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rsync problems w/FreeBSD.org
When I run this: /usr/local/bin/rsync --delete -vaz rsync://ftp13.FreeBSD.org:/pub/FreeBSD/ports/i386/packages-4-stable /usr1 echo rsync Exit Status: $? I get this: receiving file list ... done deleting packages-4-stable/All/.linux-enemyterritory-2.60b.tgz.fzZLWH packages-4-stable/All/ packages-4-stable/All/linux-enemyterritory-2.60b.tgz inflate returned -3 (0 bytes) rsync error: error in rsync protocol data stream (code 12) at token.c(421) [receiver=2.6.8] rsync: connection unexpectedly closed (2040020 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(468) [generator=2.6.8] rsync Exit Status: 12 This all worked fine until recently. Anyone have any idea of what's going on here? TIA, Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDstats: Error message
Just wondering if this is a usual response to my accidentally hammering the bsdstats server: bash-2.05b# /usr/local/etc/periodic/monthly/300.statistics [1] 5437 bash-2.05b# Posting monthly OS statistics to bsdstats.org Posting monthly device/CPU statistics disabled set monthly_statistics_report_devices=YES in /etc/periodic.conf bash-2.05b# cat /etc/periodic.conf monthly_statistics_enable=YES Got a 'new' machine (Pentium Pro 166 MHz, turning lightweight router/MTA :-).) and wanted to post it to the site. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats: Just added - Vendor Stats
--On August 27, 2006 12:08:55 AM -0500 Nikolas Britton [EMAIL PROTECTED] wrote: What I think is interesting is the only ~50% uptake of FreeBSD/amd64 on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie. Also the less then 1% uptake of sparc64 and alpha ports and 0% for FreeBSD/PPC. Maybe we should can some of these platform ports, how much overhead do they add to the project? I don't think you have nearly enough systems inventoried to make decisions like that. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Fw: [m0n0wall-announce] Prize for FreeBSD 6.1 port of m0n0wall doubled ($2000)
FYI Begin forwarded message: Date: Sun, 27 Aug 2006 16:25:40 +0200 From: Manuel Kasper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], m0n0wall@lists.m0n0.ch Subject: [m0n0wall-announce] Prize for FreeBSD 6.1 port of m0n0wall doubled ($2000) Hello m0n0wall developers, I am glad to announce that thanks to PC Engines GmbH, supplier of WRAP embedded PC boards (www.pcengines.ch), the prize for a successful FreeBSD 6.1 port of m0n0wall has been doubled and is now USD 2000! Remember that submissions must be made on or before October 31. The full conditions are listed in the following mailing list post: http://m0n0.ch/wall/list-dev/showmsg.php?id=18/74 Regards, Manuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
{Could Be Spam?} FreeBSD 6.1 network configurarion on VMware workstation
Hi all I have just installed FreeBSD 6.1 on VMware workstation , and am facing a problem configuring the network connection , i havn't tryed many things , when i ping any ip i get no route to host could you PLZ advice !! thanks in advance . Best Regards Eng.Mohammad Al -Jamal Technical Support Hadara Technologies http://www.p-ol.com http://www.palnet.com Tel: +972-2-2403434 Fax: +972-2-2403430 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
got a new monitor, trying to reconfig xorg
i just brought home new samsung 22 widescreen LCD. so far, i cannot get xorg to take anything other than standard CRT type resolutions, such as 1280x1024. i took at look at my Xorg.0.log, and saw this: (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): [EMAIL PROTECTED] (II) I810(0): Manufacturer's mask: 0 (II) I810(0): Supported Future Video Modes: (II) I810(0): #0: hsize: 1680 vsize 1050 refresh: 60 vid: 179 (II) I810(0): #1: hsize: 1280 vsize 1024 refresh: 60 vid: 32897 (II) I810(0): #2: hsize: 1280 vsize 960 refresh: 60 vid: 16513 (II) I810(0): #3: hsize: 1152 vsize 864 refresh: 75 vid: 20337 (II) I810(0): Supported additional Video Mode: (II) I810(0): clock: 146.2 MHz Image Size: 474 x 296 mm (II) I810(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0 (II) I810(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0 (II) I810(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 81 kHz, PixClock max 170 $ (II) I810(0): Monitor name: SyncMaster (II) I810(0): Serial No: H2QL700073 (II) I810(0): Will use BIOS call 0x5f05 to set refresh rates for CRTs. (--) I810(0): Maximum space available for video modes: 12288 kByte (II) I810(0): Using detected DDC timings (II) I810(0): HorizSync 30-81 (II) I810(0): VertRefresh 56-75 (WW) I810(0): config file vrefresh range 50-100Hz not within DDC vrefresh range 56-75Hz the first part, seems to be the normal video modes that i would expect to see from an i810 graphics card, but then right below that, i see video modes that would be preferred on my new monitor (1680x1050) in a section called Supported Future Video Modes. does this mean there is a chance i might see proper resolutions for my new monitor, without upgrading to some other video card? my computer has a 915G: (II) I810(0): Integrated Graphics Chipset: Intel(R) 915G (--) I810(0): Chipset: 915G if anyone who has a similar setup (with a wide screen monitor), i would appreciate if i could be pointed in the right direction. cheers, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel 64bit / AMD 64 bit advantage
32 vs 64 bits does not give you any raw performance boost for most apps. The yes it will. FreeBSD/amd64 works at least 10% faster than FreeBSD/i386 on athlon64 machine, when i386 version were recompiled for P4. With default FreeBSD/i386 - it will be at least 30%. just because it's not just 64-bit addresses, but twice the registers (r8-r15) allowing C compiler to generate more efficient code. For now AMD64 is the fastest and cheapest architecture - at least with AMD processors, not intel clones. (YES now intel makes clones of AMD processors) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On 27 August 2006, at 02:49, Gary Kline wrote: Ah, thank you, thank you. I just can't see wasting so much of my disk [and bakup disks] for what are mostly voice/lectures. I suppose I can buy a DVD-R[W] and fnd out, but is there any reason why I can't have many hours of audio on a DVD? In other words, id a DVD *only* for video? You can always burn a data DVD, like a data CD. --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. That would require you to burn an audio DVD, which you couldn't read in a normal CD drive... and I really don't know how exactly you would do it either... gary -- 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 freebsd-questions- [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: User permissions to mount CDROM
On Sun, Aug 27, 2006 at 08:11:16PM +0530, Viswas Nair wrote: I have been trying to figure out how to give users to mount CD rom and have been largely unsuccessful. Here are a few things I tried: 1) Added user to the 4th field (options) in /etc/fstab 2) Added vfs.usermount=1 to sysctl.conf 3) Created a group called optical and added the root and alpha to it 4) Added following lines to devfs,conf : own /dev/acd0 root:optical perm /dev/acd0 0770 own /dev/acd1 root:optical perm /dev/acd1 0770 5) Rebooted machine and tried to mount /dev/acd0 into /cdrom and it failed with the message: got the error message: /dev/acd0 Try the following: create a subdirectory in the users home directory. example: /home/steven/cdrom mount_cd9660 /dev/acd0 /home/steven/cdrom also, you can change the permission to 550 (read/execute by owner and group) no need for write permission. make sure that your users are part of the optical group. One more thing...users will not be able to mount anything to /cdrom since it will belong to root/wheel. Hope this helped you. -- FreeBSD 6.0-RELEASE i386 GENERIC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPSEC, am I missing something?
I was googling freebsd and vpn so I could use my notebook to handle work stuff remotely, and I found this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html guess I didn't need google. Regardless, it mentions a lot of kernel options. I checked my kernel configuration file, to see if they had been turned on, they weren't even in there and commented out let alone on (as some optionals are). What I found and added: #ipsec: Required for VPN options IPSEC#IP security options IPSEC_ESP#IP security (crypto; define w/ IPSEC) #ipsec optimsations options FAST_IPSEC # new IPsec (cannot define w/ IPSEC) options IPSEC_FILTERGIF #filter ipsec packets from a tunnel before adding these, I just had the default 6.1 generic kernel file with a few things commented and a couple uncommented. Am I missing soemeting? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On Sunday 27 August 2006 06:36, Gary Kline wrote: files. Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Is there a way of using sox (or another translator) to turn HUGE audio mp3 files into much much smaller files? Say taking man mp3 files that are stored at 198k high fidelity and outputting these to 16k or 32k mp3 (or *.ogg or other format) audio files? thanks for any insights, sugggestions, or pointers, gary I wrote this a while back. You might find it useful or be able to update it to do what you need. #!/bin/sh basedir=/home1/convert touch ${basedir}/mp3lock # Convert all mp3 files in $basedir to $bitrate, $samplerate, $channels # where $bitrate, $samplerate and $channels are derived from the pathname. # # $basedir - top of the tree to convert. Below $basedir should be two #directories named todo and done. #Below todo you must create directories named using this #convention: #@[EMAIL PROTECTED]@cc@ - where bb is the desired bitrate, ss is the desired # samplerate and cc is the channels or mode. The mode # may be one of s, stereo, j, joint-stereo, m, mono, # f, forced joint-stereo or d, duel channel. #The mp3 files will be stored below todo/@[EMAIL PROTECTED]@cc@ and will be #converted using the parameters extracted from the directory name and #then saved into an identical dir structure below done. # #Note: Spaces in the filenames will be replaced with underscores. # Spaces in directory names will remain as is # #The original file will be deleted after it has been converted. #Comment out the rm $filename near the end to keep the original. # # $ffile - just the filename (in case we need this at a future date) # # $destfile - full, modified, path to the done dir tree find $basedir/todo -name *.mp3 -type f | while read filename do destfile=`echo -n $filename | sed 's/\/todo\//\/done\//' | sed 's/ /_/g'` ffile=${destfile##*/} fpath=${destfile%/*} # Check if dest. path exists, create if req. if [ ! -d $fpath ] then mkdir -p $fpath fi # Get conversion parameters from pathname bitrate=`echo $destfile | cut -f 2 -d @` samplerate=`echo $destfile | cut -f 3 -d @` channels=`echo $destfile | cut -f 4 -d @` echonice -n 20 lame -h -b $bitrate --resample $samplerate -m $channels $filename $destfile #rm $filename done rm `echo ${basedir}/mp3lock` -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.5 and SMP
Hi there, I just installed 5.5 for the first time and I am trying to make sure that SMP is operating properly. The kernel I have loaded is rebuilt with SMP support. okay the dmesg is showing two logical CPUs. I actually only have one CPU as you can tell by the boot information. I am wondering why top is always displaying '0' in the C column? on my 4.11 machines that number is set to 0 or 1 depending on the logical CPU that is accessed. --- snip Aug 27 19:19:24 hurricane kernel: Hyperthreading: 2 logical CPUs Aug 27 19:19:24 hurricane kernel: real memory = 2145849344 (2046 MB) Aug 27 19:19:24 hurricane kernel: avail memory = 2094419968 (1997 MB) Aug 27 19:19:24 hurricane kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CP Us Aug 27 19:19:24 hurricane kernel: cpu0 (BSP): APIC ID: 0 Aug 27 19:19:24 hurricane kernel: cpu1 (AP): APIC ID: 1 snip --- cheers, Noah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP5 and MySQL
Muhammad Omer Iqbal wrote: And by the way, I already have MySQL 5.0 as a .tar in the mysql folder, so probably all I need to do is let php5-mysql extension know how to access that .tar file. A .tar of what? The sources? Better put them into /usr/ports/distfiles. It seems strange to have to install it again especially when I installed php5-extensions with mysql and mysqli extensions. Hmmm... Well that should have installed the php5-mysql port for you, certainly. When I tried to make, it tries to fetches MySQL 4.1 whereas I have 5.0 installed. How can I update the version? Hmmm... Seems you have a version of the ports tree which is a few months out of date. I have updated Makefile.ext in PHP5 directory with DEFAULT_MYSQL_VER=50, but to no avail. As a basic rule you should never have to directly edit any file within the port directory. To make mysql-5.0.x the default version on your system, edit /etc/make.conf and add: WITH_MYSQL_VER= 50 Then do a 'make clean' in the php-mysql port and try again. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: taking many 198k mp3 files and converting them to 16k mp3
On Sun, Aug 27, 2006 at 03:04:10PM -0500, hackmiester (Hunter Fuller) wrote: On 27 August 2006, at 02:49, Gary Kline wrote: Ah, thank you, thank you. I just can't see wasting so much of my disk [and bakup disks] for what are mostly voice/lectures. I suppose I can buy a DVD-R[W] and fnd out, but is there any reason why I can't have many hours of audio on a DVD? In other words, id a DVD *only* for video? You can always burn a data DVD, like a data CD. --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. That would require you to burn an audio DVD, which you couldn't read in a normal CD drive... and I really don't know how exactly you would do it either... I have a DVD burner in my newest server; my thinking is that I would burn some N *.mp3 files onto a DVD, then play it back. The questions are whether I would have to create a filesystem, or if the DVD format would allow/see the *.mp3's audio or data. Or what! -- 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: Understanding CARP
[EMAIL PROTECTED] wrote: Hi I'm new to FreeBSD but I'm loving it very much! I'm experimenting with CARP to create a redundant router/firewall. I created a functioning two machine routing cluster and it works very well while configured for failover. I'm going to test it with load balancing and I'm wondering about some problems that could arise. Suppose I enable load balancing features. Situation: my cluster (made by CL1 and CL2) routes from Net A to Net B. I have an A_client and a B_Server. A_Client initiates a connection to B_Server and the packet is routed by the CL1 machine. The response packet comes from the B network (it is from B_Server) and is taken by CL2 to be routed (asymmetric routing problem, as documented in the man page). If no packet filtering occurs, there is no problem. But what if I use IPFilter? Is there a way to keep the state between CL1 and CL2 with IPFilter? If you're using CARP, then you should combine it with pf(8) rather than IPFilter. CARP was written by the same people that wrote pf. As for keeping state between both halves of a redundant firewall pair, you need pfsync(4) -- generally that takes a dedicated network link between both sides of the HA pair -- usually just a cross-over cable. pfsync will replicate the state table to the other half of the HA pair, so failover can be made seamless. See http://www.openbsd.org/faq/pf/carp.html You can't actually do any *load balance* with CARP. It's purely a High Availability function. For firewalls it is usually used in Active/Standby mode: one of the firewall pair handles all the traffic and the other just waits to take over if needed. You can make an Active/Active pair by configuring two carp VIFs on the pair and setting the weightings so that each side gets one of the VIFs preferentially when everything is working OK, but again, there's nothing there to actually *balance* the traffic over the two VIFs. Also, as a very reasonably priced machine nowadays will be able to cope with running as a firewall at full 100Mb/s line speed on its own, it generally doesn't achieve anything other than making the configuration a lot more complex. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Proof of concept box with 8mB RAM
Everyone will laugh at this, but I have an old box with a 25mHz processor or so. It has 8mB of memory. I want to install some type of UNIX clone on it, as a proof of concept. I don't care if it's linux, freebsd, or something else, but I need something that will run with enough speed to run an sshd and not much else. It will just be to prove that old hardware can still be used. Any suggestions? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: got a new monitor, trying to reconfig xorg
Quoting Jonathan Horne [EMAIL PROTECTED]: i just brought home new samsung 22 widescreen LCD. so far, i cannot get xorg to take anything other than standard CRT type resolutions, such as 1280x1024. snip the first part, seems to be the normal video modes that i would expect to see from an i810 graphics card, but then right below that, i see video modes that would be preferred on my new monitor (1680x1050) in a section called Supported Future Video Modes. does this mean there is a chance i might see proper resolutions for my new monitor, without upgrading to some other video card? my computer has a 915G: (II) I810(0): Integrated Graphics Chipset: Intel(R) 915G (--) I810(0): Chipset: 915G Last I was aware, the i810 was totally dependent on the adapter's video BIOS for determining and setting modes. The sysutils/915resolution port might be able to help you, but when I was experimenting with it I didn't try any widescreen modes. I do think (again, no references) that work on the i810 driver is ongoing, but I don't know any details or ETA's for anything. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
hackmiester (Hunter Fuller) wrote: On 27 August 2006, at 02:49, Gary Kline wrote: --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. That would require you to burn an audio DVD, which you couldn't read in a normal CD drive... and I really don't know how exactly you would do it either... Not necessarily. Both of my current DVD players can play a DVD full of MP3 files. One is a Pioneer, and the other is a more 'random' brand DVD/DiVX player. The Pioneer does a better job, but both will play data discs of MP3, WMA, JPEG and MPEG1 amongst other things. Another possibility would be to convert to MP2 audio and make a minimal video stream to go alongside the audio - say, a black screen, and make a DVD Video disk using something like transcode. I don't know what the bare minimum video bitrate is for DVD, but I know you can get a good few hours that way, in a format that would play on any DVD player. I've been meaning to try this for ages. Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On 27 August 2006, at 16:26, Gary Kline wrote: I have a DVD burner in my newest server; my thinking is that I would burn some N *.mp3 files onto a DVD, then play it back. On what? The questions are whether I would have to create a filesystem, or if the DVD format would allow/see the *.mp3's audio or data. Or what! What DVD format? There is no DVD format. You can put files on one however you want. However, if you want a DVD player to read it, it has to be an ISO file system and files have to be in a certain place. This setup doesn't support mp3s directly, but you might want to look in to the dvd audio standard, and I'm not sure if there is a port for buring that, or not... What I'm trying to say, is if you are just gonna play them back on your computer, it doesn't matter where you put them, you can use standard tools like mkisofs, etc.. -- 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: Proof of concept box with 8mB RAM
On Sun, 27 Aug 2006 16:35:51 -0500 hackmiester (Hunter Fuller) [EMAIL PROTECTED] wrote: Everyone will laugh at this, but I have an old box with a 25mHz processor or so. It has 8mB of memory. I want to install some type of UNIX clone on it, as a proof of concept. I don't care if it's linux, freebsd, or something else, but I need something that will run with enough speed to run an sshd and not much else. It will just be to prove that old hardware can still be used. Any suggestions? it's a 386 ? try minix first, then FreeBSD 3.x :] http://www.minix3.org/download/index.html -- grtjs, albi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: taking many 198k mp3 files and converting them to 16k mp3
On 27 August 2006, at 16:38, Howard Jones wrote: hackmiester (Hunter Fuller) wrote: That would require you to burn an audio DVD, which you couldn't read in a normal CD drive... and I really don't know how exactly you would do it either... Not necessarily. Both of my current DVD players can play a DVD full of MP3 files. You bring up a good point, but that's not part of the DVD standard. One is a Pioneer, and the other is a more 'random' brand DVD/DiVX player. The Pioneer does a better job, but both will play data discs of MP3, WMA, JPEG and MPEG1 amongst other things. Another possibility would be to convert to MP2 audio and make a minimal video stream to go alongside the audio - say, a black screen, and make a DVD Video disk using something like transcode. The blank video would waste lots of space on the DVD, I think. I don't know what the bare minimum video bitrate is for DVD, but I know you can get a good few hours that way, in a format that would play on any DVD player. I've been meaning to try this for ages. That is true. Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proof of concept box with 8mB RAM
On Sun, Aug 27, 2006 at 04:35:51PM -0500, hackmiester (Hunter Fuller) wrote: Everyone will laugh at this, but I have an old box with a 25mHz processor or so. It has 8mB of memory. I want to install some type of UNIX clone on it, as a proof of concept. I don't care if it's linux, freebsd, or something else, but I need something that will run with enough speed to run an sshd and not much else. It will just be to prove that old hardware can still be used. Any suggestions? Take a look at NetBSD. It usually works fairly well on older hardware. Otherwise I do know for a fact that FreeBSD 3.1 will install and run just fine on such a machine. (Later 3.x and 4.x versions of FreeBSD will also run fine on that machine, but somewhere along that line (I think it was around 3.4 but I am not certain) the minimum memory needed to *install* FreeBSD increased to 12MB.) -- Insert your favourite quote here. Erik Trulsson [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: taking many 198k mp3 files and converting them to 16k mp3
Ah, thank you, thank you. I just can't see wasting so much of my disk [and bakup disks] for what are mostly voice/lectures. I suppose I can buy a DVD-R[W] and fnd out, but is there any reason why I can't have many hours of audio on a DVD? In other words, id a DVD *only* for video? --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. If your DVD player can't play mp3s, then it can't play DVDs. ;) Remember, mp3s are the audio layer of mpegs. And DVD videos consist of mpegs. You can downsample mp3s via lame: #!/bin/sh for i in $(ls *.mp3); do lame -b 16 $i -o $i.mp3; done This will leave you with with files named *.mp3.mp3. Check out 'basename' to solve this. Not that your DVD player is going to care. Then use growisofs to burn your mp3s to a data DVD: growisofs -Z /dev/insert_device_name_here -J -R . This assumes you issue the growisofs command from the dir where your mp3s are. Happy listening, Steve -- Sed omnia praeclara tam difficilia, quam rara sunt. 06 12 09 0E 0B 12 15 0C 05 13 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPSEC, am I missing something?
Jim Stapleton wrote: What I found and added: #ipsec: Required for VPN optionsIPSEC#IP security optionsIPSEC_ESP#IP security (crypto; define w/ IPSEC) #ipsec optimsations optionsFAST_IPSEC # new IPsec (cannot define w/ IPSEC) optionsIPSEC_FILTERGIF #filter ipsec packets from a tunnel before adding these, I just had the default 6.1 generic kernel file with a few things commented and a couple uncommented. Just start with the first two options, then add the others if needed. But before you start, check if this actually solves the problem. There is a well known problem with IPSec across NAT-firewalls: Authenticated Headers don't work. Not all kernel options are in the GENERIC file, look for the NOTES file, platform specific NOTES are where you find the GENERIC for your platform, but there is also a general NOTES. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
Re: IPSEC, am I missing something?
OK, thanks. Right now there are no problems, I just am looking to figure out how to connect to my works VPN from home. Right now I'm looking at the actual VPN part, but after that I have to check how to do remote desktop/terminal services for the windows server I have to work on. Thank you, -Jim Stapleton On 8/27/06, Erik Nørgaard [EMAIL PROTECTED] wrote: Jim Stapleton wrote: What I found and added: #ipsec: Required for VPN optionsIPSEC#IP security optionsIPSEC_ESP#IP security (crypto; define w/ IPSEC) #ipsec optimsations optionsFAST_IPSEC # new IPsec (cannot define w/ IPSEC) optionsIPSEC_FILTERGIF #filter ipsec packets from a tunnel before adding these, I just had the default 6.1 generic kernel file with a few things commented and a couple uncommented. Just start with the first two options, then add the others if needed. But before you start, check if this actually solves the problem. There is a well known problem with IPSec across NAT-firewalls: Authenticated Headers don't work. Not all kernel options are in the GENERIC file, look for the NOTES file, platform specific NOTES are where you find the GENERIC for your platform, but there is also a general NOTES. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proof of concept box with 8mB RAM
On 8/27/06, hackmiester (Hunter Fuller) [EMAIL PROTECTED] wrote: Everyone will laugh at this, but I have an old box with a 25mHz processor or so. It has 8mB of memory. I want to install some type of UNIX clone on it, as a proof of concept. I don't care if it's linux, freebsd, or something else, but I need something that will run with enough speed to run an sshd and not much else. It will just be to prove that old hardware can still be used. Any suggestions? ___ That box doesn't have enough memory to run a current version of FreeBSD or Linux. Also what CPU does it use? FreeBSD 6.x, and I'm sure Linux 2.6, removed 386 support. You need a 486 or better to run the current version of FreeBSD. Does this box have a math coprocessor? The recommended minimum requirements to run FreeBSD 6.1 is a Pentium MMX, or equivalent, with 32MB of system ram. You can get by with less but you won't like the results if you plan to use it as a workstation. Use FreeBSD 4.11-STABLE or 5.5-STABLE for anything less then that. I did some tests on disk space and memory requirements back in January with FreeBSD 6.0-RELEASE. Nobody seemed to notice the first time so I'll post it again: Test Rig: VMware 5 (Win2K/NTFS), VM Settings: 32MB RAM 64MB RAM For KDE-Lite Install (failed with 32MB) 128MB RAM For GNOME-Lite Install (failed with 64MB) 4GB Hard Drive (Default settings) CD-ROM (Pointing to FreeBSD 6.0-RELEASE i386 ISO Images) No USB, No Audio, No LAN FreeBSD Disk Layout: ad0s1a 4095MB / ufs2 ad0s1b nullswapnull ad0s1d null/varnull ad0s1e null/tmpnull ad0s1f null/usrnull Everything (/tmp, /var, and /usr) is setup on the root partition, no swap partition was setup. Results: * 1st column of numbers are from the VM disk image file. * 2nd column is from inside FreeBSD with du -m. * All numbers reported in megabytes. Distribution Sets: Developer 918 741 X-Developer 1080882 Kern-Developer 526 427 X-Kern-Developer690 568 User393 319 X-User 560 461 Minimal 183 156 Extrapolated Results: Ports System283 270 GNOME-Lite 688 655 KDE-Lite879 864 X.Org Default Install 164 143 X.Org Full Install 177 158 Linux Binary Compat.255 127 Sys Sources + Proflibs 392 315 Kern Sources + Proflibs 133 109 Miscellaneous Sets: X-User (All X.Org) 572 476 X-User + GNOME-Lite 12471115 X-User + KDE-Lite 14381323 Minimal + Ports System 466 425 Minimal + Linux Compat. 438 282 -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proof of concept box with 8mB RAM
On 27 August 2006, at 18:01, Nikolas Britton wrote: On 8/27/06, hackmiester (Hunter Fuller) [EMAIL PROTECTED] wrote: That box doesn't have enough memory to run a current version of FreeBSD or Linux. I just want a version to run, a new one is obviously pushing it :) Also what CPU does it use? 386 FreeBSD 6.x, and I'm sure Linux 2.6, removed 386 support. You need a 486 or better to run the current version of FreeBSD. Does this box have a math coprocessor? Yes. The recommended minimum requirements to run FreeBSD 6.1 is a Pentium MMX, or equivalent, with 32MB of system ram. You can get by with less but you won't like the results if you plan to use it as a workstation. LOL, no, that would be torture, it's purely proof of concept. Use FreeBSD 4.11-STABLE or 5.5-STABLE for anything less then that. I did some tests on disk space and memory requirements back in January with FreeBSD 6.0-RELEASE. Nobody seemed to notice the first time so I'll post it again: Test Rig: VMware 5 (Win2K/NTFS), VM Settings: 32MB RAM 64MB RAM For KDE-Lite Install (failed with 32MB) 128MB RAM For GNOME-Lite Install (failed with 64MB) 4GB Hard Drive (Default settings) CD-ROM (Pointing to FreeBSD 6.0-RELEASE i386 ISO Images) No USB, No Audio, No LAN FreeBSD Disk Layout: ad0s1a 4095MB / ufs2 ad0s1b nullswapnull ad0s1d null/varnull ad0s1e null/tmpnull ad0s1f null/usrnull Everything (/tmp, /var, and /usr) is setup on the root partition, no swap partition was setup. Results: * 1st column of numbers are from the VM disk image file. * 2nd column is from inside FreeBSD with du -m. * All numbers reported in megabytes. Distribution Sets: Developer 918 741 X-Developer 1080882 Kern-Developer 526 427 X-Kern-Developer690 568 User393 319 X-User 560 461 Minimal 183 156 Extrapolated Results: Ports System283 270 GNOME-Lite 688 655 KDE-Lite879 864 X.Org Default Install 164 143 X.Org Full Install 177 158 Linux Binary Compat.255 127 Sys Sources + Proflibs 392 315 Kern Sources + Proflibs 133 109 Miscellaneous Sets: X-User (All X.Org) 572 476 X-User + GNOME-Lite 12471115 X-User + KDE-Lite 14381323 Minimal + Ports System 466 425 Minimal + Linux Compat. 438 282 -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ipfilter on 6.1
On 2006-08-26 20:31, J.D. Bronson [EMAIL PROTECTED] wrote: At 07:59 PM 8/26/2006, you wrote: I'd go for the simpler syntax of: MYADDR: ! /sbin/ipf -y well that didnt work either. what a pain. :( tun0: Warning: /etc/ppp/ppp.linkup: ! /sbin/ipf -y: Invalid command perhaps its time to write a script and simply reference the script from ppp.linkup This is indeed, a good idea :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proof of concept box with 8mB RAM
On 27 August 2006, at 16:42, albi wrote: it's a 386 ? try minix first Does it have a way to install without a CD? FBSD has floppies that you can network install using. I can't use CDs because the CD drive of this box can't read CD-Rs =( , then FreeBSD 3.x :] http://www.minix3.org/download/index.html -- grtjs, albi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats: Just added - Vendor Stats
On Sun, 27 Aug 2006, Matthew Seaman wrote: Nikolas Britton wrote: What I think is interesting is the only ~50% uptake of FreeBSD/amd64 on 64-bit x86 capable systems. FreeBSD/i386 takes ~90% of the pie. Also the less then 1% uptake of sparc64 and alpha ports and 0% for FreeBSD/PPC. Maybe we should can some of these platform ports, how much overhead do they add to the project? Woah! It's way, way too soon to start making any decisions based on the bsdstats site. There's less than a thousand machines reporting stats so far -- that's a very small fraction of the FreeBSD total machines around the world. As it is a single small company or user with half a dozen machines submitting their data could have a radical effect on the ordering of many of the tables available on the site. The BSD Stats site is going to need some serious popularization before it provides a statistically significant sample. Definitely in agreement here ... this wasn't meant as a quick-n-dirty short term analysis of *BSD usage ... this was meant to *start* a very long term project to accumulate more accurate #s then are attainable via ftp logs and CD sales ... less guestimates ... I figure we need to get to *at least* 10k hosts reporting in monthly before we have anything really solid to work with, so we just approaching 1/10th of the way there now ... I'm going to post some summary statistics at the end of each month, to act as a 'reminder' to those that aren't participating yet ... and trying to post follow ups to threads that talk about convincing vendors to support us natively (ie. Adobe w/ Flash) ... this should hopefully provide more concrete numbers then an 'online petition' to go at ppl like that about ... Hell, its only been, what, 2 weeks since v3.x got started, at we're doing on average 61 new hosts per day ... that means ~4 months at the current rate to hit 10k hosts ... :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
File associations, Mime-types and X
Just curious of something. How are file associations handled in Freebsd? Are they handled on the OS level, Xwindows, or is it handled by the actual Window Manager such as KDE or Gnome? Just curious because I'm trying to help someone troubleshoot something he's developing. Thanks. Steven Lake Owner/Technical Writer Raiden's Realm www.raiden.net A friendly web community ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.5 and SMP
Noah wrote: Hi there, I just installed 5.5 for the first time and I am trying to make sure that SMP is operating properly. The kernel I have loaded is rebuilt with SMP support. okay the dmesg is showing two logical CPUs. I actually only have one CPU as you can tell by the boot information. I am wondering why top is always displaying '0' in the C column? on my 4.11 machines that number is set to 0 or 1 depending on the logical CPU that is accessed. --- snip Aug 27 19:19:24 hurricane kernel: Hyperthreading: 2 logical CPUs Aug 27 19:19:24 hurricane kernel: real memory = 2145849344 (2046 MB) Aug 27 19:19:24 hurricane kernel: avail memory = 2094419968 (1997 MB) Aug 27 19:19:24 hurricane kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CP Us Aug 27 19:19:24 hurricane kernel: cpu0 (BSP): APIC ID: 0 Aug 27 19:19:24 hurricane kernel: cpu1 (AP): APIC ID: 1 snip --- Hi, You have to activate hyperthreading: http://docs.freebsd.org/cgi/mid.cgi?20060730235206.7A7B743D45 Cheers, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports cvsup failure
stan [EMAIL PROTECTED] writes: I just set up a new cvsup server, using the cvsup-mirror port. I can use it to update everything that I need but the ports collection. It fails like this: Parsing supfile ports-supfile Connecting to cvsup.meadwestvaco.com Connected to cvsup.meadwestvaco.com Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing passive-mode data connection Running Updating collection ports-all/cvs Detailer failed: Network write failure: Connection lost Will retry at 16:07:17 This happens both on remote machines, and locally on the cvsup machine itself. I see the following in dmesg: pid 1618 (cvsupd), uid 1002: exited on signal 10 Can anyone sugest where to start looking for this problem? Okay, so basically your problem is that cvsupd is crashing. I doubt it matters whether the client is cvsup or csup. For a start, run cvsupd in verbose mode to see what it notices about the problem before it hits the bus error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File associations, Mime-types and X
On 27 August 2006, at 19:36, Steve Lake wrote: Just curious of something. How are file associations handled in Freebsd? Are they handled on the OS level, Xwindows, or is it handled by the actual Window Manager such as KDE or Gnome? Your file manager determines which app to run to open a certain file. Just curious because I'm trying to help someone troubleshoot something he's developing. Thanks. Steven Lake Owner/Technical Writer Raiden's Realm www.raiden.net A friendly web community ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [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: Proof of concept box with 8mB RAM
On Aug 27, 2006, at 4:35 PM, hackmiester (Hunter Fuller) wrote: Everyone will laugh at this, but I have an old box with a 25mHz processor or so. It has 8mB of memory. I want to install some type of UNIX clone on it, as a proof of concept. I don't care if it's linux, freebsd, or something else, but I need something that will run with enough speed to run an sshd and not much else. It will just be to prove that old hardware can still be used. Any suggestions? Haven't booted it in a long time but have FreeBSD 2.1.0 or 2.1.5 on a 16 MHz 386sx16 with 4 MB of RAM. Has an 8 bit NE2000 NIC which required the NFS window be reduced to 1k or so. I used this as a portable FreeBSD netinstall box back in the bad old days before I could afford a CD-R, or even have CD-ROM on many machines. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports/net-p2p/ktorrent - can't compile
Just looking for pointers, as I've seen them here from time to time when a port won't build. I'm using the following command line: portupgrade -NR ktorrent All dependencies build successfully. The ktorrent build fails like this: /usr/X11R6/bin/moc ./peermanager.h -o peermanager.moc source='peermanager.cpp' object='peermanager.lo' libtool=yes \ depfile='.deps/peermanager.Plo' tmpdepfile='.deps/peermanager.TPlo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ /bin/sh /usr/local/bin/libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-strict-aliasing -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o peermanager.lo `test -f 'peermanager.cpp' || echo './'`peermanager.cpp In file included from ./../mse/encryptedauthenticate.h:25, from peermanager.cpp:34: ./../mse/bigint.h:26:17: gmp.h: No such file or directory In file included from ./../mse/encryptedauthenticate.h:25, from peermanager.cpp:34: ./../mse/bigint.h:93: error: `mpz_t' does not name a type gmake[3]: *** [peermanager.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.0.1/libktorrent/torrent' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.0.1/libktorrent' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.0.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net-p2p/ktorrent. Anyone run into this problem and worked around it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Intel 64bit / AMD 64 bit advantage
On Aug 28, 2006, at 4:03 AM, Wojciech Puchar wrote: 32 vs 64 bits does not give you any raw performance boost for most apps. The yes it will. FreeBSD/amd64 works at least 10% faster than FreeBSD/ i386 on athlon64 machine, when i386 version were recompiled for P4. With default FreeBSD/i386 - it will be at least 30%. just because it's not just 64-bit addresses, but twice the registers (r8-r15) allowing C compiler to generate more efficient code. For now AMD64 is the fastest and cheapest architecture - at least with AMD processors, not intel clones. (YES now intel makes clones of AMD processors) I stand corrected ;-)...This is good info, thanks. However, to the original post, you will not see 10-30 % performance difference on your email or file sharing between an Intel Celeron and AMD Opteron. These types of apps are Disk and Network IO bound. Spend your money on redundancy/fail-over of hard drive and power supply. Also choosing a well regarded NIC is important. ke han ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [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: taking many 198k mp3 files and converting them to 16k mp3
On Sun, Aug 27, 2006 at 10:38:05PM +0100, Howard Jones wrote: hackmiester (Hunter Fuller) wrote: On 27 August 2006, at 02:49, Gary Kline wrote: --Might be nice to gather (parts of) my favorite CD's onto one Very long-playing disk. That would require you to burn an audio DVD, which you couldn't read in a normal CD drive... and I really don't know how exactly you would do it either... Not necessarily. Both of my current DVD players can play a DVD full of MP3 files. One is a Pioneer, and the other is a more 'random' brand DVD/DiVX player. The Pioneer does a better job, but both will play data discs of MP3, WMA, JPEG and MPEG1 amongst other things. Another possibility would be to convert to MP2 audio and make a minimal video stream to go alongside the audio - say, a black screen, and make a DVD Video disk using something like transcode. I don't know what the bare minimum video bitrate is for DVD, but I know you can get a good few hours that way, in a format that would play on any DVD player. I've been meaning to try this for ages. Well, if/when you *do* try, please clue me in. --I'm too new to DVD's and tooo che--er, thrifty to buy a ten pack of blanks. I'm not sure that I have three hours of favorites; probably, but no more. Most of my favorite tunes are on tape--pre-recorded and hi-fidelity, but the problem is turnning analogue to digital. Anyway, good to know that DVD's can play datafiles! gary Howie -- 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: Proof of concept box with 8mB RAM
On 8/27/06, David Kelly [EMAIL PROTECTED] wrote: On Aug 27, 2006, at 4:35 PM, hackmiester (Hunter Fuller) wrote: Everyone will laugh at this, but I have an old box with a 25mHz processor or so. It has 8mB of memory. I want to install some type of UNIX clone on it, as a proof of concept. I don't care if it's linux, freebsd, or something else, but I need something that will run with enough speed to run an sshd and not much else. It will just be to prove that old hardware can still be used. Any suggestions? Haven't booted it in a long time but have FreeBSD 2.1.0 or 2.1.5 on a 16 MHz 386sx16 with 4 MB of RAM. Has an 8 bit NE2000 NIC which required the NFS window be reduced to 1k or so. I used this as a portable FreeBSD netinstall box back in the bad old days before I could afford a CD-R, or even have CD-ROM on many machines. You could try FreeBSD 2.2.9! It was released April 1st 2006. Releases which are published from a -STABLE branch will be supported by the Security Officer for a minimum of 12 months after the release. http://www.freebsd.org/security/security.html#adv So technically it's a current and fully supported release of FreeBSD!!! hahahaha! :-0 -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDstats: Error message
On Sun, 27 Aug 2006, Garrett Cooper wrote: Just wondering if this is a usual response to my accidentally hammering the bsdstats server: bash-2.05b# /usr/local/etc/periodic/monthly/300.statistics [1] 5437 bash-2.05b# Posting monthly OS statistics to bsdstats.org Posting monthly device/CPU statistics disabled set monthly_statistics_report_devices=YES in /etc/periodic.conf bash-2.05b# cat /etc/periodic.conf monthly_statistics_enable=YES Got a 'new' machine (Pentium Pro 166 MHz, turning lightweight router/MTA :-).) and wanted to post it to the site. The above looks okay ... you reported your OS, as you listed in periodic.conf, but unless you add 'monthly_statistics_report_devices=YES' to /etc/periodic.conf, it won't report CPUs or devices ... if you add that line and re-run teh script, it won't report a second server, but will update to show the CPUs/Devices ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Subscribe request result (debian-devel ML)
Hi, I am the fml ML manager for the ML [EMAIL PROTECTED]. [EMAIL PROTECTED], Be Seeing You! If you have any questions or problems, please contact [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: Help for Hardware Selection
Hi there! On 8/25/06, VeeJay [EMAIL PROTECTED] wrote: Hello FreeBSD Gurus!!! I am wondering if any of you could help me to select a Good Reliable hardware for Dedicated FreeBSD Web/Database Server. There is a list of hardware vendors at FreeBSD.org (http://www.freebsd.org/commercial/hardware.html). Ask some them about they can offer based on your needs. Regards, -- Mauricio http://mauricioaraya.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proof of concept box with 8mB RAM
I just tested the minimum memory requirements for FreeBSD 6.1-RELEASE through 2.2.9-RELEASE using VMware 5 Workstation: FreeBSD 6.1-RELEASE: 4MB, 8MB: Dies at bootstrap loader. 12MB, 16MB: Dies while loading acpi.ko. 20MB: Boots / Successfully installed the default minimal distribution set. Mem: 2484K Active, 1396K Iact, 6004K Wired, 680K Cache, 1984K Buf, 348K Free Swap: 7184K Total, 2732K Used, 4452K Free, 38% Inuse FreeBSD 5.5-RELEASE: 4MB, 8MB: Dies at bootstrap loader. 12MB, 16MB: Dies while loading acpi.ko. 20MB: Boots / Sysinstall dies after writing filesystem information. 24MB: Boots / Successfully installed the default minimal distribution set. Mem: 2332K Active, 1196K Iact, 9468K Wired, 1136K Cache, 3008K Buf, 840K Free Swap: 32M Total, 2748K Used, 29M Free, 8% Inuse FreeBSD 4.11-RELEASE: 4MB: Dies at bootstrap loader. 8MB: Dies while mounting root filesystem. 12MB: Boots / Successfully installed the default minimal distribution set. Mem: 1900K Active, 1408K Iact, 2896K Wired, 472K Cache, 1120K Buf, 308K Free Swap: 32M Total, 2576K Used, 29M Free, 7% Inuse FreeBSD 3.5.1-RELEASE: 4MB: Dies at bootstrap loader. 8MB: Boots / Sysinstall dies while extracting files. 12MB: Boots / Successfully installed the default minimal distribution set. Mem: 712K Active, 3780K Iact, 2092K Wired, 2024K Cache, 809K Buf, 520K Free Swap: 29M Total, 29M Free FreeBSD 2.2.9-RELEASE: 4MB: Boots / Sysinstall dies while probing devices. 8MB: Boots / Successfully installed the default minimal distribution set. Mem: 3764K Active, 432K Iact, 1472K Wired, 244K Cache, 420K Buf, 184K Free Swap: 42M Total, 64K Used, 42M Free ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD's minimum memory requirements.
I just tested the minimum memory requirements for FreeBSD 6.1-RELEASE through 2.2.9-RELEASE using VMware 5 Workstation: FreeBSD 6.1-RELEASE: 4MB, 8MB: Dies at bootstrap loader. 12MB, 16MB: Dies while loading acpi.ko. 20MB: Boots / Successfully installed the default minimal distribution set. Mem: 2484K Active, 1396K Iact, 6004K Wired, 680K Cache, 1984K Buf, 348K Free Swap: 7184K Total, 2732K Used, 4452K Free, 38% Inuse FreeBSD 5.5-RELEASE: 4MB, 8MB: Dies at bootstrap loader. 12MB, 16MB: Dies while loading acpi.ko. 20MB: Boots / Sysinstall dies after writing filesystem information. 24MB: Boots / Successfully installed the default minimal distribution set. Mem: 2332K Active, 1196K Iact, 9468K Wired, 1136K Cache, 3008K Buf, 840K Free Swap: 32M Total, 2748K Used, 29M Free, 8% Inuse FreeBSD 4.11-RELEASE: 4MB: Dies at bootstrap loader. 8MB: Dies while mounting root filesystem. 12MB: Boots / Successfully installed the default minimal distribution set. Mem: 1900K Active, 1408K Iact, 2896K Wired, 472K Cache, 1120K Buf, 308K Free Swap: 32M Total, 2576K Used, 29M Free, 7% Inuse FreeBSD 3.5.1-RELEASE: 4MB: Dies at bootstrap loader. 8MB: Boots / Sysinstall dies while extracting files. 12MB: Boots / Successfully installed the default minimal distribution set. Mem: 712K Active, 3780K Iact, 2092K Wired, 2024K Cache, 809K Buf, 520K Free Swap: 29M Total, 29M Free FreeBSD 2.2.9-RELEASE: 4MB: Boots / Sysinstall dies while probing devices. 8MB: Boots / Successfully installed the default minimal distribution set. Mem: 3764K Active, 432K Iact, 1472K Wired, 244K Cache, 420K Buf, 184K Free Swap: 42M Total, 64K Used, 42M Free I also did a minimum disk space study using FreeBSD 6.0-RELEASE back in January: * 1st column of numbers are from the VM disk image file, outside FreeBSD. This is significant because it records the total disk space FreeBSD needed *during* install. * 2nd column is from inside FreeBSD with du -m after install. * All numbers reported in megabytes. Distribution Sets: Developer 918 741 X-Developer 1080882 Kern-Developer 526 427 X-Kern-Developer690 568 User393 319 X-User 560 461 Minimal 183 156 Extrapolated Results: Ports System283 270 GNOME-Lite 688 655 KDE-Lite879 864 X.Org Default Install 164 143 X.Org Full Install 177 158 Linux Binary Compat.255 127 Sys Sources + Proflibs 392 315 Kern Sources + Proflibs 133 109 Miscellaneous Sets: X-User (All X.Org) 572 476 X-User + GNOME-Lite 12471115 X-User + KDE-Lite 14381323 Minimal + Ports System 466 425 Minimal + Linux Compat. 438 282 -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]