Re: using /dev/random
What is the canonical way to get data from /dev/random? Specifically: having opened the file, how do I read the stream? I'm currently using union { float f; char c[4]; } foo; foo.f = 0.0; fscanf(rand_fp,"%4c",foo.c); simply read 4 bytes into foo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Run script as root from WebServer
Hi, I'm using mod_python3 and apache22 to create some scripts and access them through a web interface. The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. In the past, I've solved this issue by using sudo and allowing just the commands I want to allow in the sudoers file to the apache user.But I'm wondering if this is the better way to do what I want to do. What would you do in such a situation? Thanks for your help. I use suexec for situations like this. -- Sasa Stupar pgpt7kt09orQq.pgp Description: Digitalen podpis PGP
Re: upgrade from 6.1-RELEASE to 6.3-RELEASE
1) Do the system interface change? That is, will I have to recompile all ports after upgrading? no 2) Any gotcha, hints or things to be aware of? i don't think so Of course, as usual I'll take full backups before beginning the upgrade.. Best regards. Robi ___ 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: upgrade from 6.1-RELEASE to 6.3-RELEASE
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Roberto Nunnari wrote: | Hello list. | | I'm about to upgrade from 6.1-RELEASE to 6.3-RELEASE | from source and I'd like to ask a couple of questions. | | 1) Do the system interface change? That is, will I have to | recompile all ports after upgrading? No -- the rule is this isn't necessary for updates within the same major branch. In the past, there have been occasional excursions from that ideal but not AFAIR in any of the 5.x, 6.x or 7.x release series. | 2) Any gotcha, hints or things to be aware of? Nothing that I can recall -- this update worked very smoothly just by cvsup'ing to the appropriate tag and going through the usual buildworld cycle. | Of course, as usual I'll take full backups before beginning | the upgrade.. Always wise. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjYnMoACgkQ3jDkPpsZ+Va9IwCdEzv+32pELmxnVq9XTyyJdHeC UN8AnRz0tH3yUDjiaYqZsNJ2BTg6ZmWd =N2gP -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
semget: no space left on freebsd 6.2
hello everyone, i'm having some trouble with a freebsd 6.2 box and apache-2.0.59. When i try to install some apache_mods, i get this: For example with mod_cband: * apache2_mod_cband: cannot create shared memory segment for remote hosts * when i debug this, i get to the point where kernel says: semget: No space left on device It doesn't happen with all apache2_mods, but with a few, for example mod_cband and mod_tsunami. i've googled a lot and found some people with the same problem but with apache 1.3.x. Their fix doesn't work in my box. They have tried this: * ipcs -s | grep nobody | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}' * but it doesn't work for me. i also found this: ** Also try adding this options on FreeBSD kernel config: options SEMMNI=20 options SEMMNS=120 And set the kern.maxfiles sysctl option higher than 1000. * it didn't work either. do you have any idea where the problem is? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade from 6.1-RELEASE to 6.3-RELEASE
Good! Thank you guys for your quick answer. Best regards. Robi Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Roberto Nunnari wrote: | Hello list. | | I'm about to upgrade from 6.1-RELEASE to 6.3-RELEASE | from source and I'd like to ask a couple of questions. | | 1) Do the system interface change? That is, will I have to | recompile all ports after upgrading? No -- the rule is this isn't necessary for updates within the same major branch. In the past, there have been occasional excursions from that ideal but not AFAIR in any of the 5.x, 6.x or 7.x release series. | 2) Any gotcha, hints or things to be aware of? Nothing that I can recall -- this update worked very smoothly just by cvsup'ing to the appropriate tag and going through the usual buildworld cycle. | Of course, as usual I'll take full backups before beginning | the upgrade.. Always wise. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjYnMoACgkQ3jDkPpsZ+Va9IwCdEzv+32pELmxnVq9XTyyJdHeC UN8AnRz0tH3yUDjiaYqZsNJ2BTg6ZmWd =N2gP -END PGP SIGNATURE- ___ 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: semget: no space left on freebsd 6.2
On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco <[EMAIL PROTECTED]> wrote: > Also try adding this options on FreeBSD kernel config: > options SEMMNI=20 > options SEMMNS=120 > > And set the kern.maxfiles sysctl option higher than 1000. > > * > > it didn't work either. Hi, you don't have to recompile the kernel to change those, just add them in /boot/loader.conf: kern.ipc.semmni="256" kern.ipc.semmns="512" kern.ipc.semmnu="256" You should also add these lines to /etc/sysctl.conf: kern.ipc.shmmax=536870912 and/or also: kern.ipc.semmap=256 kern.ipc.shm_use_phys=1 kern.ipc.shmall=131072 depending on how much memory you have and how mush shared memory modules need. -- regards, Artis Caune <. CCNA <| <' didii FreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Moving to freebsd firewall for a small DataCenter network
Hello, I have been using FreeBSD for many years as a server and have based most of my hosting services on this fantastic OS. Since three years I have been using SonicWall firewall as a firewall device. As my hosting services are growing, It seems that the SonicWall device is quite "light" for what I am doing. I have now 10 servers hosted on one uniq /28 network with direct connexion to the Net. I was wondering if there is a good if possible "integrated" firewall device running on FreeBSD. I have deployed local firewall on each of my servers based on ipf. Works great, but I am not sure I want to dig all the time into a file based config, little visual interface could ease my pain… (of course this is optional). I would like something quite strong but simple that I could deploy on a small 1U server or dedicated device. Any pointer / howto / feed back on experience will be most welcome. Something similar to this could be nice: http://www.untangle.com/ Thanks for your support. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: using /dev/random
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Robert Huff > Sent: Monday, September 22, 2008 9:54 PM > To: [EMAIL PROTECTED] > Subject: using /dev/random > > > > What is the canonical way to get data from /dev/random? > Specifically: having opened the file, how do I read the stream? > I'm currently using > > > union { > float f; > char c[4]; > } foo; > > foo.f = 0.0; > > fscanf(rand_fp,"%4c",foo.c); > > > which doesn't seem to produce anywhere near "random bytes" as > promised by the man page. > > > Robert Huff > The canonical way is to use the functions random(), or srandom() or srandomdev() or arc4random() depending on what you need the random data for. /dev/random is really only useful for seeding these functions (some of them pull data from /dev/random internally) The thrust behind the FreeBSD /dev/random device is that we know that getting lots of real random data from /dev/random is difficult, however getting non-repeating seeds from /dev/random is easy. The device has thus been optimized for seed generation to feed these other functions. If you really want to roll-your-own and not use these functions then you could read blocks from /dev/random and run a Chi-square and Monte Carlo test on each block and discard the ones that don't pass. I've done my experimenting with the ENT program: http://www.fourmilab.ch/random/ ie: dd if=/dev/urandom bs=3000 count=100 of=random-sample ent random-sample Successive runs of that with different data sets and blocksizes clearly illustrates the generator can't pass Chi-square quite a lot of times. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving to freebsd firewall for a small DataCenter network
> I was wondering if there is a good if possible "integrated" firewall > device running on FreeBSD. I think monowall is what you are looking for. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving to freebsd firewall for a small DataCenter network
> I think monowall is what you are looking for. Or his more advanced brother - pfSense. Bye, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Moving to freebsd firewall for a small DataCenter network
Also have a look at pfsense www.pfsense.org regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.7.0/1685 - Release Date: 22-9-2008 16:08 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving to freebsd firewall for a small DataCenter network
quite "light" for what I am doing. I have now 10 servers hosted on one uniq /28 network with direct connexion to the Net. I was wondering if there is a good if possible "integrated" firewall device running on FreeBSD. just read manual. ipfw is excellent. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: semget: no space left on freebsd 6.2
hi, thanks a lot for the info. i'll give it a try and report back. En/na Artis Caune ha escrit: On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco <[EMAIL PROTECTED]> wrote: Also try adding this options on FreeBSD kernel config: options SEMMNI=20 options SEMMNS=120 And set the kern.maxfiles sysctl option higher than 1000. * it didn't work either. Hi, you don't have to recompile the kernel to change those, just add them in /boot/loader.conf: kern.ipc.semmni="256" kern.ipc.semmns="512" kern.ipc.semmnu="256" You should also add these lines to /etc/sysctl.conf: kern.ipc.shmmax=536870912 and/or also: kern.ipc.semmap=256 kern.ipc.shm_use_phys=1 kern.ipc.shmall=131072 depending on how much memory you have and how mush shared memory modules need. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Run script as root from WebServer
Bill Campbell escribió: On Tue, Sep 23, 2008, Mel wrote: On Monday 22 September 2008 22:51:26 Matias Surdi wrote: The problem is that some of these scripts deal with configuration files and some other tasks that require root privileges. There's 2 alternatives I have used: 1) If the configuration files allow 'includes', then include a file that is writeable by the webuser. This will additionally allow you to restrict what the webserver can change in the config of this application. Note, that configuration files that are modifyable by root only, often are for a reason, so this does not improve the security of the service being configured, but it takes a fork() and sudo out of the mix. 2) If the changes do not need to be immediate, then you can put it in a queue directory and run a script through root's cron that picks up the queue and runs the commands there in. You then have the opportunity to remove scripts before they are run or even build in authorization. Another option that we use is to have an XML-RPC server running as root on localhost, accessible from the web server. This server is written using the standard python SimpleXMLRPCServer, and handles a limited number of procedures. Some of these procedures, such as running ``make'' in the etc/postfix directory, do not have serious authentication. Others have stronger methods of authentication and restrictions. Bill This sounds as a good option also, but, How do you avoid any user (maybe non root) logged into the system to make calls to your xmlrpc server? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A strange compiling issue
Hi I'm trying to compile Perl on FreeBSD. It get cleanly compiled on FreeBSD 7.0. But on another test system running RELENG_7 where I do weired things, it develops errors. There must be something wrong with my test system, I would like to understand what cause this error. cc -c -DPERL_CORE -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -std=c89 -O -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat toke.c toke.c: In function 'Perl_yylex': toke.c:6633: error: lvalue required as unary '&' operand toke.c:6633: error: lvalue required as unary '&' operand toke.c: In function 'S_pending_ident': toke.c:6923: error: lvalue required as unary '&' operand toke.c:6923: error: lvalue required as unary '&' operand toke.c: In function 'S_scan_heredoc': toke.c:11182: error: invalid operands to binary + (have 'char *' and 'char *') toke.c:11182: error: lvalue required as unary '&' operand toke.c:11182: error: lvalue required as unary '&' operand toke.c: In function 'S_scan_formline': toke.c:12321: error: invalid operands to binary + (have 'char *' and 'char *') toke.c:12321: error: lvalue required as unary '&' operand toke.c:12321: error: lvalue required as unary '&' operand Line 6633: if (memchr(tmpbuf, ':', len)) sv_setpvn(PL_subname, tmpbuf, len); else { sv_setsv(PL_subname,PL_curstname); sv_catpvs(PL_subname,"::"); sv_catpvn(PL_subname,tmpbuf,len); } Line 6923: const char *const has_colon = (const char*) memchr (PL_tokenbuf, ':', tokenbuf_len); Please note, on test programs memchr works correctly. Appreciate your reply. Kind regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freeBSD Egypt Support Center
Dear Sir kindly is there any freeBSD Support Center at Egypt ?? i am waiting your swift reply Thank you -- Regards Islam Soliman System and Network Administrator Mobile: +20 10 73 96 5 36 email:[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 Egypt Support Center
Dear Sir kindly is there any freeBSD Support Center at Egypt ?? i am waiting your swift reply Thank you -- Regards Islam Soliman System and Network Administrator Mobile: +20 10 73 96 5 36 email:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MySQL Error: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
Hello, The error message: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug Our website started getting this error several weeks ago (when we increased the number of application server machines connecting to the database from 5 to 7. It seems to happen anywhere from every 2 days to once a week, there does not seem to be a consistent pattern. Our CPU utilization, memory utilization, and number of HTTP Requests seem to be at "normal" (they are no where closed to being maxed out). When this error happens we CAN log onto the server with the MySQL database, but I CAN NOT use the mysql client to connect to the mysql database (localhost connection as root) - it reports the error mentioned above. The way we temporarily solve the problem is to restart one of our web servers. Here is our technology stack: Web Servers: 7, Each server has: 4 Gb of Memory on each server FreeBSD 6.2-RELEASE-p9 2.4 GHz CPU Apache 2.2 Webware for Python Python 2.5 DB Servers: One Master, Two Read Only (replication) 4 GB of Memory on each server FreeBSD 6.3-RELEASE-p3 FreeBSD 6.3-RELEASE-p3 MySQL 5.0.1 We have tried bumping up our number of max allowed connections (up to 1000) on MySQL and kern.ssize to 512Mb for FreeBSD. That did not help. The max connections usually hovers ~300, so it does not even get close to the 1000 we have set. Finally the last place that we have looked is the openfiles, it is set at 20,000 for the whole system, with 14K per process on the FreeBSD operating system. Here are some relevent items from my.cnf: - set-variable = max_connections=1000 - set-variable = key_buffer_size=384M - set-variable = read_buffer_size=64M - set-variable = read_rnd_buffer_size=32M - set-variable = thread_cache_size=20 Any help would be much appreciated. Thanks - Sam Nilsson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Moving to freebsd firewall for a small DataCenter network
*This message was transferred with a trial version of CommuniGate(r) Pro* Nejc Škoberne wrote: *This message was transferred with a trial version of CommuniGate(r) Pro* I think monowall is what you are looking for. Or his more advanced brother - pfSense. Bye, Nejc Either m0n0wall or pfsense seconded here. Advantage pfsense has in a datacentre environment is failover, imo Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL Error: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
Sam Nilsson wrote: > Hello, > > The error message: Can't create a new thread (errno 35); if you are > not out of available memory, you can consult the manual for a possible > OS-dependent bug > > Our website started getting this error several weeks ago (when we > increased the number of application server machines connecting to the > database from 5 to 7. It seems to happen anywhere from every 2 days > to once a week, there does not seem to be a consistent pattern. Our > CPU utilization, memory utilization, and number of HTTP Requests seem > to be at "normal" (they are no where closed to being maxed out). When > this error happens we CAN log onto the server with the MySQL database, > but I CAN NOT use the mysql client to connect to the mysql database > (localhost connection as root) - it reports the error mentioned > above. The way we temporarily solve the problem is to restart one of > our web servers. > > Here is our technology stack: > > Web Servers: 7, Each server has: > 4 Gb of Memory on each server > FreeBSD 6.2-RELEASE-p9 > 2.4 GHz CPU > Apache 2.2 > Webware for Python > Python 2.5 > > DB Servers: One Master, Two Read Only (replication) > 4 GB of Memory on each server > FreeBSD 6.3-RELEASE-p3 FreeBSD 6.3-RELEASE-p3 > MySQL 5.0.1 > > > We have tried bumping up our number of max allowed connections (up to > 1000) on MySQL and kern.ssize to 512Mb for FreeBSD. That did not > help. The max connections usually hovers ~300, so it does not even > get close to the 1000 we have set. Finally the last place that we > have looked is the openfiles, it is set at 20,000 for the whole > system, with 14K per process on the FreeBSD operating system. > > > Here are some relevent items from my.cnf: > - set-variable = max_connections=1000 > - set-variable = key_buffer_size=384M > - set-variable = read_buffer_size=64M > - set-variable = read_rnd_buffer_size=32M > - set-variable = thread_cache_size=20 > > Any help would be much appreciated. > > Thanks > - Sam Nilsson > If you havent already, you could try increasing the per process memory limit as per examples in http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-05/msg00258.html (man tuning also says a bit about these tuneables but doesnt have the examples that post does) Vince > > ___ > 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]"
(no subject)
Hi all ; I installed eclipse(3.2.2) from ports , in my FreeBSD-7.0 RELEASE box , where diablo-jdk-15.0 installed but when I start eclipsegetting a splash message as follows ... #eclipse JVM terminated. Exit code=1 /usr/local/bin/java -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata b000f -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar in TTY i am getting error java: error: no suitable JavaVMs found How can I solve the issue with eclipse3.2.2 in FreeBSD7.0-Release with diablo-jdk-1.5.0 I got you contact from this post : http://lists.freebsd.org/pipermail/freebsd-current/2007-December/081473.html Your valuable tips most welcome .. That may help me to fix this issue.. Thanks in advance KK _ Searching for weekend getaways? Try Live.com http://www.live.com/?scope=video&form=MICOAL___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Postfix, maildir's, and writing filters
Da Rock wrote: On Mon, 2008-09-22 at 20:53 -0400, George Fazio wrote: Da Rock wrote: Howdy. This may seem simple, but I'm completely green on this: I have a postfix server with a courier-imap client frontend using maildir's. I'm using imap for an internal mta, but I need to setup a system which retains copies of sent emails on the network and not on individual workstations (which is what happens currently). When you say courier-imap client, do you mean you're using maildrop to deliver the message to the user's maildir or that there is an end-user courier-imap client? I am only familiar with the maildrop piece of courier. I've looked at some of the solutions (bcc and send to a psuedo account for each user, bcc to the user and filter the incoming mail on this) but it seems like a very roundabout way of doing things. I've read up on Postfix, and there is support for custom filters, so: 1. what does it take to write one? 2. how does one copy email from one folder to another in maildirs? Is it possible? This is a classic case of over engineering. You do not want to bcc back to the user, or filter the mta, just move the outgoing messages to the sent folder. You might need bcc for the purposes of journaling all email, if you have any legal requirement (sox, hippa, etc.) that require it. But, that it another ball of wax entirely. This idea I have should filter the outgoing mail and copy the messages to the sent folder as well as retaining its place in the queue. If the end-user's client is using imap and configured properly, it should do this for you. Thurderbird, the full version of Outlook (and probably Express), and many other clients support this natively - you just have to make sure the client is configured to do that. Typically, in the configuration of the client, there is something that says something like "save a copy of sent messages to ". I don't know what client you're using. I use Pine/Alpine, Thunderbird, and Outlook (when I have no other choice). If the end-user's client is using pop, then you have a problem that may require a custom solution like you speak of above. Any ideas? Maybe a link to some good info? I would like to know how to do this myself so I can do more in the future so info and pointers would be great (if you have a script you'd like to share then please show me how it works :) ). Cheers My mail system is running postfix (mta) w/ dovecot (for imap or pop access from the clients), maildrop (for delivering to a maildir), and amavis-new (for spam filtering and virus scanning w/ clamav). My mail clients are configured for imap, and they save copies of sent mail to the sent folder as expected. While I am using dovecot, and not courier, for my imap server - I cannot imagine that any other imap server would handle things any differently ... it's core functionality that ever imap server should have imho. -George Me too. It may be possible to save a copy in evolution, but I haven't found it in all clients. Plus my system needs to be suitable for a webmail system, and yes some pop clients. You sound like you know maildrop very well, I was considering using it as a part of the solution. If I wrote a milter script for postfix, is it possible to pass the message to maildrop so that it can take care of the formalities such as filenames and formats and tell it to put it in a sent folder? Something like a shell or perl script that uses this line to run maildrop: maildrop -d $user Maildir/.Sent Obviously the message itself will be piped, and the $user will be obtained by copying the from field in the message. Would something like this work? I've been searching on google but haven't found a clear answer, they only mention using maildrop filters and commands there- not actual usage of the maildrop cli. Cheers If you wrote a filter for postfix, which I have no idea how to do, the maildrop command you sight looks good. A friend of mine is using round cube for web mail (I don't have webmail setup on my server), and it will also save a copy to the sent folder. Most of the web clients should provide this functionality. The pop clients are the ones that are going to be an issue. I'm not sure what Google is using for gmail. But, when I send a message using their smtp service, a copy goes into my account. So, what you're looking to do is obviously possible, but I do not have an experience with it as I have not had need for a solution yet. I would certainly be interested in what you come up with though. Another possible option is to configure the clients to always bcc the sender, and then write a maildrop rule. Something like "if (/^From:[EMAIL PROTECTED]/) to Maildir/.Sent" might work (I have not tested this rule, it may not function as desired). That would have to go in the .mailfilter file in each user's home dir. I think you can have global maildrop rules if
eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0
Hi ; I installed eclipse(3.2.2) from ports , in my FreeBSD-7.0 RELEASE box , where diablo-jdk-15.0 installed but when I start eclipsegetting a splash message as follows ... #eclipse JVM terminated. Exit code=1 /usr/local/bin/java -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata b000f -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar in TTY i am getting error java: error: no suitable JavaVMs found How can I solve the issue with eclipse3.2.2 in FreeBSD7.0-Release with diablo-jdk-1.5.0 I got you contact from this post : http://lists.freebsd.org/pipermail/freebsd-current/2007-December/081473.html Your valuable tips most welcome .. That may help me to fix this issue.. Thanks in advance Dhanesh _ Searching for the best deals on travel? Visit MSN Travel. http://in.msn.com/coxandkings___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: using /dev/random
On Tue, 23 Sep 2008 00:51:02 -0700 "Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote: > The canonical way is to use the functions random(), or srandom() > or srandomdev() or arc4random() depending on what > you need the random data for. /dev/random is really only > useful for seeding these functions (some of them pull data > from /dev/random internally) It depends what you are trying to achieve, random and srandom aren't considered to be cryptographically secure. The userland version of arc4random() (which is RC4) is probably OK, but it's known to be distinguishable from random, which is technically a break. The kernel version is much less secure, because it's not guaranteed to be seeded properly. For non-trivial Monte-Carlo work you're better-off with something intended for the purpose, such as the Mersenne Twister. > The device has thus been optimized > for seed generation to feed these other functions. It wasn't, it was designed to be a fast and secure all-round random number generator. > If you really want to roll-your-own and not use these functions > then you could read blocks from /dev/random and run > a Chi-square and Monte Carlo test on each > block and discard the ones that don't pass. > > I've done my experimenting with the ENT program: > > http://www.fourmilab.ch/random/ I'm sceptical about this, if Rijndael in counter-mode produced output that's distinguishable from random numbers over a few thousand bytes it would surely never have made it into the AES competition, let alone win it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A strange compiling issue
hi you may install perl from ports? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: using /dev/random
On Tue, 23 Sep 2008 13:39:35 +0100 RW <[EMAIL PROTECTED]> wrote: > On Tue, 23 Sep 2008 00:51:02 -0700 > "Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote: > > If you really want to roll-your-own and not use these functions > > then you could read blocks from /dev/random and run > > a Chi-square and Monte Carlo test on each > > block and discard the ones that don't pass. > > > > I've done my experimenting with the ENT program: > > > > http://www.fourmilab.ch/random/ > > I'm sceptical about this, if Rijndael in counter-mode produced output > that's distinguishable from random numbers over a few thousand bytes > it would surely never have made it into the AES competition, let > alone win it. I tried it myself (the windows binary runs under wine), it looks OK to me, they look like normal statistical fluctuations. You need to worry of they are consistently low or high, or if you *never* get extreme values. Discarding the blocks that don't "pass" would produce less random numbers, not better. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Port of mrtg Not Happy when Trying to Start
Jerry writes: > On Mon, 22 Sep 2008 09:54:04 -0500 > Martin McCormick <[EMAIL PROTECTED]> wrote: > > We are moving a mrtg system to FreeBSD so I installed > > the port from /usr/ports/net-mgmt/mrtg and the installation went > > flawlessly along with perl5.88 which it needs. Then, I posted that I had failed to install the snmp utilities so had not done everything necessary. At about that time, I received the message I am partly quoting here. > You might want to check and see if the 'p5-SNMP-Util-1.8.1' port is > installed {/usr/ports/net-mgmt/p5-SNMP-Util}. If not, try installing it > yourself and see if the problem goes away. Thanks greatly. I did in fact not have it, installed it, and the problem is still unchanged. > If you have 'portmanager' installed, you could try: > > portmanager net-mgmt/p5-SNMP-Util -l -p -y I installed portmamager and it reported everything present. > > Check the '/var/log/portmanager.log' to see what transpired. No complaints at all. When installing mrtg, I left the ipv6 box unchecked as we have none, and turned on the snmpV3 support which made no difference. Still the same error: Can't locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 /u sr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5. 8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /us r/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/mrt g line 292. Since this is more or less a "dead in the water" error, I suspect I am doing something in the wrong sequence or am not totally starting from scratch on the mrtg make. I have been doing make clean, then make configure and then make install. There is no problem at all with the make process so I am at a loss as to what to try next. Martin McCormick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A strange compiling issue
--- On Tue, 9/23/08, v <[EMAIL PROTECTED]> wrote: > From: v <[EMAIL PROTECTED]> > Subject: Re: A strange compiling issue > To: [EMAIL PROTECTED] > Cc: freebsd-questions@freebsd.org > Date: Tuesday, September 23, 2008, 8:38 PM > hi > > you may install perl from ports? Hi, thanks for the reply. What if I'm a port developer? :) Inability to compile shows an error somewhere else. It looks like a wrong header files symptom. I'm waiting for FreeBSD pros opinion on this to narrow down the problem and fix the real issue. I'm sure there is nothing wrong with the Perl itself. Regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Postfix, maildir's, and writing filters
On Tue, 2008-09-23 at 08:24 -0400, George Fazio wrote: > Da Rock wrote: > > On Mon, 2008-09-22 at 20:53 -0400, George Fazio wrote: > > > >> Da Rock wrote: > >> > >>> Howdy. This may seem simple, but I'm completely green on this: I have a > >>> postfix server with a courier-imap client frontend using maildir's. I'm > >>> using imap for an internal mta, but I need to setup a system which > >>> retains copies of sent emails on the network and not on individual > >>> workstations (which is what happens currently). > >>> > >>> > >> When you say courier-imap client, do you mean you're using maildrop to > >> deliver the message to the user's maildir or that there is an end-user > >> courier-imap client? I am only familiar with the maildrop piece of > >> courier. > >> > >>> I've looked at some of the solutions (bcc and send to a psuedo account > >>> for each user, bcc to the user and filter the incoming mail on this) but > >>> it seems like a very roundabout way of doing things. I've read up on > >>> Postfix, and there is support for custom filters, so: > >>> 1. what does it take to write one? > >>> 2. how does one copy email from one folder to another in maildirs? Is it > >>> possible? > >>> > >>> > >>> > >> This is a classic case of over engineering. You do not want to bcc back > >> to the user, or filter the mta, just move the outgoing messages to the > >> sent folder. You might need bcc for the purposes of journaling all > >> email, if you have any legal requirement (sox, hippa, etc.) that require > >> it. But, that it another ball of wax entirely. > >> > >>> This idea I have should filter the outgoing mail and copy the messages > >>> to the sent folder as well as retaining its place in the queue. > >>> > >>> > >>> > >> If the end-user's client is using imap and configured properly, it > >> should do this for you. Thurderbird, the full version of Outlook (and > >> probably Express), and many other clients support this natively - you > >> just have to make sure the client is configured to do that. Typically, > >> in the configuration of the client, there is something that says > >> something like "save a copy of sent messages to ". I > >> don't know what client you're using. I use Pine/Alpine, Thunderbird, > >> and Outlook (when I have no other choice). > >> > >> If the end-user's client is using pop, then you have a problem that may > >> require a custom solution like you speak of above. > >> > >>> Any ideas? Maybe a link to some good info? I would like to know how to > >>> do this myself so I can do more in the future so info and pointers would > >>> be great (if you have a script you'd like to share then please show me > >>> how it works :) ). > >>> > >>> Cheers > >>> > >>> > >>> > >> My mail system is running postfix (mta) w/ dovecot (for imap or pop > >> access from the clients), maildrop (for delivering to a maildir), and > >> amavis-new (for spam filtering and virus scanning w/ clamav). My mail > >> clients are configured for imap, and they save copies of sent mail to > >> the sent folder as expected. While I am using dovecot, and not courier, > >> for my imap server - I cannot imagine that any other imap server would > >> handle things any differently ... it's core functionality that ever imap > >> server should have imho. > >> > >> -George > >> > >> > > > > Me too. It may be possible to save a copy in evolution, but I haven't > > found it in all clients. Plus my system needs to be suitable for a > > webmail system, and yes some pop clients. > > > > You sound like you know maildrop very well, I was considering using it > > as a part of the solution. If I wrote a milter script for postfix, is it > > possible to pass the message to maildrop so that it can take care of the > > formalities such as filenames and formats and tell it to put it in a > > sent folder? Something like a shell or perl script that uses this line > > to run maildrop: > > > > maildrop -d $user Maildir/.Sent > > > > Obviously the message itself will be piped, and the $user will be > > obtained by copying the from field in the message. > > > > Would something like this work? I've been searching on google but > > haven't found a clear answer, they only mention using maildrop filters > > and commands there- not actual usage of the maildrop cli. > > > > Cheers > > > > > If you wrote a filter for postfix, which I have no idea how to do, the > maildrop command you sight looks good. > > A friend of mine is using round cube for web mail (I don't have webmail > setup on my server), and it will also save a copy to the sent folder. > Most of the web clients should provide this functionality. The pop > clients are the ones that are going to be an issue. > > I'm not sure what Google is using for gmail. But, when I send a message > using their smtp service, a copy goes into my account. So, what you're > looking to do is obviously possib
ext3 copy kernel freeze
Hey I just found an old linux hard drive with some movies on. This is formated as ext3. I can mount this with mount_ext2fs command. But if I try to cp the movies over to my normal freebsd disk the kernel just freezes up. I checked all the log files but nothing is logged. Further the disk I want to copy from and the disk I want to copy to are left in an inconsistent state and need to be fsck before I can reuse them again. It seams like an error in the ext2fs. Could this have to do with the journaling? Is this a know error? Cheers Didi www.ribalba.de Email / Jabber: [EMAIL PROTECTED] Skype : ribalba ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mysql connection through ssl tunnel
I have two FreeBSD machines. One is a application server, the other a database server running mysql. These machines are in two different locations. I'd like to allow the application server to access mysql through an SSH tunnel. Being a newbie admin, I've never set up an SSH tunnel. I've been reading about them all morning and (as always) there seems to be more than one way to skin this cat. I'm looking for ease of set up and maintenance, as well as security (which I assume is a given.) I'd prefer NOT to have to recompile the kernels (pure cowardice... the application server is a production server that I don't want to experiment with.) Both servers have OpenSSL. Any recommendations, much appreciated. Thanks: John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql connection through ssl tunnel
John Almberg wrote: > I have two FreeBSD machines. One is a application server, the other a > database server running mysql. These machines are in two different > locations. I'd like to allow the application server to access mysql > through an SSH tunnel. > > Being a newbie admin, I've never set up an SSH tunnel. I've been > reading about them all morning and (as always) there seems to be more > than one way to skin this cat. > > I'm looking for ease of set up and maintenance, as well as security > (which I assume is a given.) I'd prefer NOT to have to recompile the > kernels (pure cowardice... the application server is a production > server that I don't want to experiment with.) Both servers have OpenSSL. > > Any recommendations, much appreciated. > > Thanks: John > A very basic ssh tunnel is a simple as ssh -L3306:127.0.0.1:3306 [EMAIL PROTECTED] This will forward any connections to localhost on port 3306 through the ssh connection to remote.host then on to localhost at that end on port 3306. if you have mysql running on the app server as well then change -L3306:127.0.0.1:3306 to -L33006:127.0.0.1:3306 where 33006 is an unused tcp port on the application server. If you do use an ssh tunnel you may want to use security/autossh which will monitor the tunnel and re-establish it if it loses connection for some reason. You could also look at using stunnel to use a ssl tunnel rather than an ssh tunnel (see http://www.stunnel.org/examples/mysql.html for a basic example) I havent used this on FreeBSD (never needed it) so the port may install an easier way of setting up persistant tunnels. Vince > > ___ > 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: Error building editors/openoffice.org-2
> >I just tried building OpenOffice.org 2.4.1_2 from ports. All > >dependencies are already installed. After some minutes of compilation > >the build crashed with > > > >~~ > >Disabling crypto support > >Enabling debugger > >checking for libxml libraries >=3D 2.6.17... test: 1: unexpected operator > >configure: error: Could not find libxml2 anywhere, check > > ftp://xmlsoft.org/. > >dmake: Error code 1, while making > > 'unxfbsdi.pro/misc/build/so_configured_s= > >o_libxslt' > >---* tg_merge.mk *--- > > > >ERROR: Error 65280 occurred while making > > /usr/ports/editors/openoffice.org-= > >2/work/OOH680_m17/libxslt > >dmake: Error code 1, while making 'build_instsetoo_native' > >** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portinstall.23991= > >=2E0 env make LOCALIZED_LANG=3Dalllangs -DWITH_TTF_BYTECODE_ENABLED > > -DWITH_= > >KDE > >** Fix the problem and try again. > >** Listing the failed packages (-:ignored / *:skipped / !:failed) > > ! editors/openoffice.org-2 (checksum mismatch) > >~~ > > > >The whole script is at > >http://johnny64.fixinko.sk/openoffice.org-2-2008-09-21.gz > > See ports/98949. > > > Robert Huff Either I completely misunderstood this PR, or it really addresses some completely different build issue and doesn't even provide a solution for the problem reported and has been closed only because of the fact the port had been updated many times since the initial report... (Although there's been some discussion about too little RAM in reference to this PR, but that isn't the problem here.) The one I am experiencing looks rather like a syntax error in configure for libxslt shipped with OOo. (By the way, why does it use shipped libraries like libxml, libxslt and so on instead of the ones already present on the system...?) More specifically the problem seems to be with line 21990 of the configure script: if test "1" == "1" which seems to use bash-specific syntax. (At least FreeBSD test(1) doesn't seem to like this.) Any suggestion would be appreciated. Michal Petrucha -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpYkUDwzsugP.pgp Description: PGP signature
Re: using /dev/random
Robert Huff <[EMAIL PROTECTED]> writes: > What is the canonical way to get data from /dev/random? > Specifically: having opened the file, how do I read the stream? > I'm currently using > > > union { > float f; > char c[4]; > } foo; > > foo.f = 0.0; > > fscanf(rand_fp,"%4c",foo.c); > > > which doesn't seem to produce anywhere near "random bytes" as > promised by the man page. Have you turned off the "seeded" variable? You'll fall back to a software pseudorandom sequence if you don't. Most computers don't have all that much real random data ("entropy") to work with, and if you need a lot of random data, you're more or less forced to use a good pseudorandom generator. "Good" can vary a bit depending on application, but random(3) is generally more than good enough for monte carlo style simulation purposes. Cryptography is another story. I have a hardware random number generator on my server, which helps with performance in some cases... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Port of mrtg Not Happy when Trying to Start
On Tue, 23 Sep 2008 08:30:03 -0500 Martin McCormick wrote: > Jerry writes: > > On Mon, 22 Sep 2008 09:54:04 -0500 > > Martin McCormick <[EMAIL PROTECTED]> wrote: > > > We are moving a mrtg system to FreeBSD so I installed > > > the port from /usr/ports/net-mgmt/mrtg and the installation went > > > flawlessly along with perl5.88 which it needs. > Then, I posted that I had failed to install the snmp utilities > so had not done everything necessary. At about that time, I > received the message I am partly quoting here. > > You might want to check and see if the 'p5-SNMP-Util-1.8.1' port is > > installed {/usr/ports/net-mgmt/p5-SNMP-Util}. If not, try installing it > > yourself and see if the problem goes away. > Thanks greatly. I did in fact not have it, installed it, and the > problem is still unchanged. > > If you have 'portmanager' installed, you could try: > > > > portmanager net-mgmt/p5-SNMP-Util -l -p -y > I installed portmamager and it reported everything > present. > > Check the '/var/log/portmanager.log' to see what transpired. > No complaints at all. > When installing mrtg, I left the ipv6 box unchecked as > we have none, and turned on the snmpV3 support which made no > difference. Still the same error: > Can't locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 > /u > sr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN > /usr/local/lib/perl5/site_perl/5. > 8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl > /us > r/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at > /usr/local/bin/mrt > g line 292. > Since this is more or less a "dead in the water" error, I > suspect I am doing something in the wrong sequence or am not > totally starting from scratch on the mrtg make. I have been > doing > make clean, then make configure and then make install. > There is no problem at all with the make process so I > am at a loss as to what to try next. If you install ports at default paths then net-mgmt/p5-SNMP-Util should install SNMP_util.pm to /usr/local/lib/perl5/site_perl/5.8.8/SNMP . Do you have this file? WBR -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Port of mrtg Not Happy when Trying to Start
Boris Samorodov writes: > If you install ports at default paths then net-mgmt/p5-SNMP-Util > should install SNMP_util.pm to > /usr/local/lib/perl5/site_perl/5.8.8/SNMP . > Do you have this file? I appear to. $ pwd /usr/local/lib/perl5/site_perl/5.8.8/SNMP $ ls -l total 68 -r-xr-xr-x 1 root wheel 65627 Jun 27 2000 Util.pm -r-xr-xr-x 1 root wheel223 Jun 27 2000 Util_env.pm Martin McCormick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
blocksize when using dd to copy disks? bigger = better?
When mirroring a disk with dd, I notice that a blocksize of 512 runs awfully slow, but with bs=1MB (2^10bytes), it runs fairly quickly. Can someone explain the implications of this? Did all the data not copy properly with the larger blocksize? thanks Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: blocksize when using dd to copy disks? bigger = better?
On Tue, Sep 23, 2008 at 11:04:13AM -0400, Joachim Rosenfeld wrote: > When mirroring a disk with dd, I notice that a blocksize of 512 runs > awfully slow, but with bs=1MB (2^10bytes), it runs fairly quickly. > > Can someone explain the implications of this? Did all the data not > copy properly with the larger blocksize? If you are on a beach moving sand and you pick up one grain at a time and move it, it will take a very long time because the overhead of moving yourself is much higher than the amount of sand moved. If you use the largest bucket or scoop that you can handle, then it goes much faster because the same body motions result in much more being moved.Moving data has a similar dynamic. All the data will get copied properly in either case unless there is some big error. A big error is probably more likely to happen with the smaller block size just because there are more operations in which an error can occur. jerry > > thanks > Joe > ___ > 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: using /dev/random
Robert Huff <[EMAIL PROTECTED]> writes: > What is the canonical way to get data from /dev/random? > Specifically: having opened the file, how do I read the stream? > I'm currently using > > > union { > float f; > char c[4]; > } foo; > > foo.f = 0.0; > > fscanf(rand_fp,"%4c",foo.c); > > > which doesn't seem to produce anywhere near "random bytes" as > promised by the man page. Have you turned off the "seeded" variable? You'll fall back to a software pseudorandom sequence if you don't. Most computers don't have all that much real random data ("entropy") to work with, and if you need a lot of random data, you're more or less forced to use a good pseudorandom generator. "Good" can vary a bit depending on application, but random(3) is generally more than good enough for monte carlo style simulation purposes. Cryptography is another story. I have a hardware random number generator on my server, which helps with performance in some cases... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uplading file via Lighttpd - system hangs
Hello guys, I have noticed today that I have another problem possibly related to this issue. I am running lighttpd+php-cgi in a jail on a 7.0-STABLE system as of Thu Aug 21 10:59:02 CEST 2008. The problem seems to be that lighttpd stops serving the pages, however I haven't had time to dig into this any more closer, but I have found out that there's a lot of connections to the lighty when it seems to be "dead". May be it does not close the connections properly?? The only common thing here is that that this jail is serving a page where a lot of image uploading happens. On Mon, 22 Sep 2008 19:04:41 +0200, Mel <[EMAIL PROTECTED]> wrote: > On Monday 22 September 2008 18:11:05 Yury Michurin wrote: >> Well, I'm working now on creating memory dump. and send it forward for > more >> knowledgeable people, >> however, as you might notice, different people, with different hardware, >> and even different version 7.0 and 7.1, >> have the same problem. >> >> Even if lighttpd / php / some script / whatever misbehaves, system > should >> not be halted by such userland proccess. > > I don't think it's halted, I think it's cluttered by invalid syscalls. > Secondly, any userland process can make the system unresponsive, by bad > coding. Just write /tmp and /var/tmp full. It's not so hard. > > I don't think that's the case here though. Any of you guys logging netstat > -m > output every 500ms? Maybe you can see mbufs being drained just before the > system stops servicing syscalls. > > -- S pozdravom / Best regards Daniel Geržo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
shipping
Hello, I am the college professor in charge The Friends Across Borders club here on our campus at the State University of New York at Fredonia. I have 18 students that are going to Belize City, Belize in January to volunteer in the schools. We have been going there for the past few years. We have collected 24 computers and a few printers that we want to ship from western New York to Belize in order to set up computer labs in the two schools that we work in. Do you know of any resources or do you have resources that could help us get the computers shipped to them. I contacted a few shipping companies and the price quotes that I was getting were beyond what we could even consider. We would appreciate any help, assistance or directions that you could provide. Thank you! Helen Reddy Friends Across Borders Advisor Belize International Service Learning Project Director College Of Education SUNY Fredonia Thompson Hall E241 716-673-3147 [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: Uplading file via Lighttpd - system hangs
If you check top command, do you see lighttpd using 99% CPU ? Also does both php and static content "hang" ? If you have these symptoms the problem is the same. I use strace and found that lighttpd doesn't accept more connections when this thing happens. > Hello guys, > > I have noticed today that I have another problem possibly related to this > issue. I am running lighttpd+php-cgi in a jail on a 7.0-STABLE system as of > Thu Aug 21 10:59:02 CEST 2008. The problem seems to be that lighttpd stops > serving the pages, however I haven't had time to dig into this any more > closer, but I have found out that there's a lot of connections to the > lighty when it seems to be "dead". May be it does not close the connections > properly?? > The only common thing here is that that this jail is serving a page where a > lot of image uploading happens. > > On Mon, 22 Sep 2008 19:04:41 +0200, Mel > <[EMAIL PROTECTED]> wrote: > > On Monday 22 September 2008 18:11:05 Yury Michurin wrote: > >> Well, I'm working now on creating memory dump. and send it forward for > > more > >> knowledgeable people, > >> however, as you might notice, different people, with different hardware, > >> and even different version 7.0 and 7.1, > >> have the same problem. > >> > >> Even if lighttpd / php / some script / whatever misbehaves, system > > should > >> not be halted by such userland proccess. > > > > I don't think it's halted, I think it's cluttered by invalid syscalls. > > Secondly, any userland process can make the system unresponsive, by bad > > coding. Just write /tmp and /var/tmp full. It's not so hard. > > > > I don't think that's the case here though. Any of you guys logging > netstat > > -m > > output every 500ms? Maybe you can see mbufs being drained just before the > > > system stops servicing syscalls. > > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Recompile kernel or module for ipfw+nat?
Hello everyone, I have a quick question regarding the setup of nat with ipfw. According to the handbook: "The following options must be in the kernel configuration file: options IPFIREWALL options IPDIVERT" however, there is a kernel module called ipdivert.ko similar to ipfw.ko for the firewall. Is it still necessary to recompile the kernel in order to use nat with ipfw? Or, to put it another way, is there a possibility to use nat and keep the generic kernel? Thanks for any input, -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: package info is corrupt
--- On Mon, 9/22/08, Greg Larkin <[EMAIL PROTECTED]> wrote: From: Greg Larkin <[EMAIL PROTECTED]> Subject: Re: package info is corrupt To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Monday, September 22, 2008, 9:55 PM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dino Vliet wrote: > Hi freebsd peeps, > > Who can help me out with this problem I have with corrupted ports: > > # pkg_info | grep corrupt > pkg_info: the package info for package 'cairomm-1.4.8_2' is corrupt > pkg_info: the package info for package 'gnome-system-monitor-2.22.1_1' is corrupt [...] > > # cd cairomm-1. > cairomm-1.4.8_2/ cairomm-1.6.4/ > > I have two versions installed. The > > # cd cairomm-1.4.8_2/ > # ls -la > total 52 > -rw-r--r--1 root wheel 23 Apr 12 16:29 +COMMENT > -rw-r--r--1 root wheel 54 Apr 12 16:29 +DESC > -rw-r--r--1 root wheel 17501 Apr 12 16:29 +MTREE_DIRS > drwxr-xr-x2 root wheel512 Jun 21 09:36 . > drwxr-xr-x 988 root wheel 28160 Sep 22 20:21 .. > > My system is a amd64 system running Freebsd. > #uname -a: > > FreeBSD zouk.alice.nl 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #18: Thu Mar 20 21:01:24 CET 2008 root@:/usr/obj/usr/src/sys/MYKERNEL amd64 > > How should I solve this issue? > > Brgds > Dino Hi Dino, Please try the following command: pkgdb -F That command will walk you through the package database, asking you to fix any problems it finds. If you run into any problems, please post a follow-up to the list. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI1/gX0sRouByUApARAmd0AJ9jALcOIQieF6KKgyqLRFsm0xq2LwCbBxRE HHSNgEq3gQaofw0bHvbgTlc= =VFj1 -END PGP SIGNATURE- Well, I tried your suggestion, but here it didn't do anything: #pkgdb -F ---> Checking the package registry database # What now? I tried to deinstall one of them, but no luck: [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# pkg_deinstall gtkmm ** No matching package found. [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# cat +COMMENT C++ wrapper for Gtk+, Pango, Atk [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# cat +DESC C++ wrapper for Gtk+, Pango and Atk. WWW: http://gtkmm.sourceforge.net/ [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Port of mrtg Not Happy when Trying to Start
In the last episode (Sep 23), Martin McCormick said: > When installing mrtg, I left the ipv6 box unchecked as we have none, > and turned on the snmpV3 support which made no difference. Still the > same error: > > Can't locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 > /usr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN > /usr/local/lib/perl5/site_perl/5.8.8/mach > /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl > /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at > /usr/local/bin/mrtg line 292. That file is supposed to be installed by the p5-SNMP_Session port, which is marked as a dependency by mrtg. Do you maybe have an old or bad install of that port? $ locate /SNMP_util.pm /usr/local/lib/perl5/site_perl/5.8.8/SNMP_util.pm $ pkg_which /usr/local/lib/perl5/site_perl/5.8.8/SNMP_util.pm p5-SNMP_Session-1.12 $ pkg_info -rR mrtg-2.16.2,1 Information for mrtg-2.16.2,1: Depends on: Dependency: perl-5.8.8_1 Dependency: p5-SNMP_Session-1.12 Dependency: png-1.2.32 Dependency: jpeg-6b_7 Dependency: pkg-config-0.23_1 Dependency: freetype2-2.3.7 Dependency: gd-2.0.35,1 Dependency: p5-PathTools-3.2701 Dependency: p5-Pod-Parser-1.35_2 $ pkg_info -L p5-SNMP_Session-1.12 Information for p5-SNMP_Session-1.12: Files: /usr/local/lib/perl5/site_perl/5.8.8/BER.pm /usr/local/lib/perl5/site_perl/5.8.8/SNMP_Session.pm /usr/local/lib/perl5/site_perl/5.8.8/SNMP_util.pm /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/SNMP_Session/.packlist /usr/local/share/doc/SNMP_Session/README /usr/local/share/doc/SNMP_Session/README.SNMP_util /usr/local/share/doc/SNMP_Session/index.html -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: package info is corrupt
> What now? I tried to deinstall one of them, but no luck: > > [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# pkg_deinstall gtkmm > ** No matching package found. > > [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# cat +COMMENT > C++ wrapper for Gtk+, Pango, Atk > > [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# cat +DESC > C++ wrapper for Gtk+, Pango and Atk. > > WWW: http://gtkmm.sourceforge.net/ > [EMAIL PROTECTED] /var/db/pkg/gtkmm-2.12.7]# To deinstall a package, you have to pass the whole package name with the version string included to pkg_delete or pkg_deinstall, or you have the option to use a wildcard, e. g. pkg_deinstall gtkmm-2.12.7 pkg_deinstall gtkmm\* But I'd recommend the first possibility over the second one since the second one would also deinstall any other versions possibly present on your system, which is possible since your installed packages are somehow corrupt. -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgp6DcB7KsvTb.pgp Description: PGP signature
Re: Virtual machines hosted on FreeBSD 7
On Sep 10, 2008, at 12:41 AM, Uwe Laverenz wrote: So the only restrictions for ESXi are: - you have to register to get a serial number - you have to buy ESX(i)-compatible hardware - the free license has some major restrictions about what you can do with it. Thanks, Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shipping
On Tuesday 23 September 2008 11:43 am, [EMAIL PROTECTED] wrote: > Hello, > I am the college professor in charge The Friends Across Borders club here > on our campus at the State University of New York at Fredonia. I have 18 > students that are going to Belize City, Belize in January to volunteer in > the schools. We have been going there for the past few years. We have > collected 24 computers and a few printers that we want to ship from western > New York to Belize in order to set up computer labs in the two schools that > we work in. Do you know of any resources or do you have resources that > could help us get the computers shipped to them. I contacted a few shipping > companies and the price quotes that I was getting were beyond what we could > even consider. We would appreciate any help, assistance or directions that > you could provide. > > Thank you! > > Helen Reddy > Friends Across Borders Advisor > Belize International Service Learning Project Director > College Of Education > SUNY Fredonia > Thompson Hall E241 > 716-673-3147 > [EMAIL PROTECTED] > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Have you tried partnering with other (local, state, national) service organizations to see if they can help? Best of luck. Dimitri BTW, my brothers and sister are alumni of College at Geneseo, College at Brockport, and University at Albany -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ccache on amd64
Brian wrote: I found a previous post with /etc/make.conf containing, I am trying this now. # Special ccache for buildworld .if exists(/usr/local/libexec/ccache/world-cc) && !defined(NOCCACHE) && \ (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) CC := ${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1} CXX := ${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1} If this is what amd64 peeps should be using, can the docs be updated? Brian .endif I have tried the above 3 times on 6.4 Beta releases. It always fails at the same point in the same way. /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3_sxnet.c -o v3_sxnet.So /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3_utl.c -o v3_utl.So /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3err.c -o v3err.So building shared library libcrypto.so.4 Segmentation fault (core dumped) *** Error code 139 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql connection through ssl tunnel
On Tuesday 23 September 2008 15:54:10 John Almberg wrote: > I have two FreeBSD machines. One is a application server, the other a > database server running mysql. These machines are in two different > locations. I'd like to allow the application server to access mysql > through an SSH tunnel. > Any recommendations, much appreciated. You can use Vince's suggestion, or simply use SSL connections to the mysql server. Each have their own pros and cons. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL Error: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
On Tuesday 23 September 2008 12:13:58 Sam Nilsson wrote: > DB Servers: One Master, Two Read Only (replication) >4 GB of Memory on each server >FreeBSD 6.3-RELEASE-p3 FreeBSD 6.3-RELEASE-p3 >MySQL 5.0.1 > Here are some relevent items from my.cnf: > - set-variable = max_connections=1000 > - set-variable = key_buffer_size=384M > - set-variable = read_buffer_size=64M > - set-variable = read_rnd_buffer_size=32M > - set-variable = thread_cache_size=20 You're shooting yourself in the foot: 1000*2MB=2G for thread stack + 384M + 1000 * (sort_buffer_size+64M+binlog_cache_size_innodb) You don't have that much memory. http://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html There's a similar formula for MyISAM, but can't seem to find it at the moment. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A strange compiling issue
On Tuesday 23 September 2008 11:45:40 Unga wrote: > Hi > > I'm trying to compile Perl on FreeBSD. It get cleanly compiled on FreeBSD > 7.0. > > But on another test system running RELENG_7 where I do weired things, it > develops errors. There must be something wrong with my test system, I would > like to understand what cause this error. > > cc -c -DPERL_CORE -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H > -fno-strict-aliasing -pipe -std=c89 -O -Wall -ansi -W -Wextra > -Wdeclaration-after-statement -Wendif-labels -Wc++-compat toke.c > > toke.c: In function 'Perl_yylex': > toke.c:6633: error: lvalue required as unary '&' operand > toke.c:6633: error: lvalue required as unary '&' operand > Line 6633: > if (memchr(tmpbuf, ':', len)) > sv_setpvn(PL_subname, tmpbuf, len); > else { > sv_setsv(PL_subname,PL_curstname); > sv_catpvs(PL_subname,"::"); > sv_catpvn(PL_subname,tmpbuf,len); These line numbers are off. There's no '&' anywhere here. Any chance this file wasn't passed through yacc/lex? Does an '&' show up in raw cpp output (maybe memchr was defined as some macro)? Try: cpp -DPERL_CORE -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe \ -std=c89 -O -Wall -ansi -W -Wextra -Wdeclaration-after-statement \ -Wendif-labels -Wc++-compat -o toke.out Then inspect toke.out. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Port of mrtg Not Happy when Trying to Start
On Tue, 23 Sep 2008 10:32:11 -0500 Martin McCormick wrote: > Boris Samorodov writes: > > If you install ports at default paths then net-mgmt/p5-SNMP-Util > > should install SNMP_util.pm to > > /usr/local/lib/perl5/site_perl/5.8.8/SNMP . > > Do you have this file? > I appear to. > $ pwd > /usr/local/lib/perl5/site_perl/5.8.8/SNMP > $ ls -l > total 68 > -r-xr-xr-x 1 root wheel 65627 Jun 27 2000 Util.pm > -r-xr-xr-x 1 root wheel223 Jun 27 2000 Util_env.pm I stand corrected, Dan Nelson was right, the needed file is installed by net-mgmt/p5-SNMP_Session. Sorry for the confusion. WBR -- bsam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ccache on amd64
On Tuesday 23 September 2008 18:35:22 Brian wrote: > /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 > -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ > -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 > -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE > -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl > -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto > -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS > -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA > -std=gnu89 -c > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3_utl. >c -o v3_utl.So > /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 ^^^ Where does that come from? On my system it's: -m32 -march=k8 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
My unqualified host name
Hello! I got the following error message on boot: "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for retry" Do you have any idea? thx. Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrade to rel 7.0 broke SSH
Hello and greetings from Newbyville, I recently upgraded from FreeBSD 6.3-RELEASE to 7.0-RELEASE-p4, and now SSH is broken. Other important services (chiefly SAMBA) are working properly. From the FreeBSD server I can successfull SSH and SFTP to the localhost (127.0.0.1). I can also SSH and SFTP to other locations on the network. However, I cannot SSH and SFTP into the FreeBSD server from the remote locations. Attempting to connect from a remote host returns "Connection closed by ". The bottom portion of the debug output is shown below. SSH_CONFIG and SSHD_CONFIG files show that everything is set to defaults. Also, there is nothing that pertains to OPENSSH in /etc/src.conf and /etc/make.conf. I saw one post that recommended going into the Kernel options. On this system, there are no options in /boot/loader.conf and /etc/sysctl.conf. I wouldn't know what to do with them anyways. The misc/compat6x libraries are installed as a bandaid. Here is the tail end of the output from ssh -vvv : ... debug2: kex_parse_kexinit: none,[EMAIL PROTECTED] debug2: kex_parse_kexinit: none,[EMAIL PROTECTED] debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-md5 debug1: kex: server->client aes128-cbc hmac-md5 none debug2: mac_setup: found hmac-md5 debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug2: dh_gen_key: priv key bits set: 131/256 debug2: bits set: 496/1024 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug3: check_host_in_hostfile: filename /home/opc/.ssh/known_hosts debug3: key_read: type mismatch debug3: check_host_in_hostfile: match line 3 debug3: check_host_in_hostfile: filename /home/opc/.ssh/known_hosts debug3: key_read: type mismatch debug3: check_host_in_hostfile: match line 4 debug1: Host 'tdsamba' is known and matches the DSA host key. debug1: Found key in /home/opc/.ssh/known_hosts:3 debug2: bits set: 497/1024 debug1: ssh_dss_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /home/opc/.ssh/identity ((nil)) debug2: key: /home/opc/.ssh/id_rsa (0xb7fda658) debug2: key: /home/opc/.ssh/id_dsa (0xb8036ed0) Connection closed by 172.27.124.217 Any ideas? Thanks, opc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0
On Tue, Sep 23, 2008 at 11:57:21AM +, dhaneshk k wrote: > > Hi ; > > I installed eclipse(3.2.2) from ports , in my FreeBSD-7.0 RELEASE box , > where diablo-jdk-15.0 installed > > but when I start eclipsegetting a splash message as follows ... > > > #eclipse > > > JVM terminated. Exit code=1 Build a native JVM, java/jdk15 or java/jdk16, and use that instead. -- Jonathan Chen <[EMAIL PROTECTED]> -- When you don't know what you are doing, do it neatly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My unqualified host name
On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote: > Hello! > > I got the following error message on boot: > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for > retry" > > Do you have any idea? Is the name "nyana" the DNS or in /etc/hosts? -- Jonathan Chen <[EMAIL PROTECTED]> -- Opportunities are seldom labeled ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My unqualified host name
On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote: I got the following error message on boot: "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for retry" Do you have any idea? Yes, sendmail expects your machine to have working DNS and for the machine to have a valid FQDN. Either set that up, or add sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you won't be using it... Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
quick slice question..
I have slices a, d, e, f, g, and h.. I wouldn't be able to get one more would I? using gmirror and RELENG_7_0.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0
Jonathan Chen wrote: On Tue, Sep 23, 2008 at 11:57:21AM +, dhaneshk k wrote: Hi ; I installed eclipse(3.2.2) from ports , in my FreeBSD-7.0 RELEASE box , where diablo-jdk-15.0 installed but when I start eclipsegetting a splash message as follows ... #eclipse JVM terminated. Exit code=1 Build a native JVM, java/jdk15 or java/jdk16, and use that instead. If it wasn't allready, it might be just a better idea to update the portstree and install eclipse-devel (eclipse-3.4 ) with diablo-jdk16. That'll probably take less time then completely building jdk15 or jdk16 and you have a newer release on top of it. -- -Frank Staals ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: quick slice question..
On Sep 23, 2008, at 12:33 PM, B. Cook wrote: I have slices a, d, e, f, g, and h.. I wouldn't be able to get one more would I? Not safely, no-- you should leave b for swap and c for the whole partition. Speaking of which, if you've got unallocated disk space available, you can create another FreeBSD partition, and create another 6 slices in that (ie, you're using something like ad0s1X, create ad0s2 and slices inside of that...) Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Any way to play www.last.fm on FreeBSD?
On Mon, Sep 22, 2008 at 12:39:25PM +0200, Pieter de Goeje wrote: > On Monday 22 September 2008, Gary Kline wrote: > > I can't listen to last.fm with firefox2 or firefox3--and parts of > > ff3 don't get loaded. With the KDE3 browser, same thing; it > > won't recognize last.fm. Nutshell: what do I need to do to > > play songs from last.fm here [FBSD]? > > > > tia. > > Amarok has built-in support for Last.fm. Hm. I can't seem to get it to work. At least if I click on the last.fm drop-down menu, ...Zip. I built last.fm; it lives in /usr/local/bin. Now, in Konqueror, do I add this whole path to the "Plug In" section? I didn't excpect the last.fm binary to be a stand-alone, and I'm not sure it is because sometimes in calls Konq. Then things hang. Clues much appreciated! > > -- > Pieter de Goeje > -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
On Tue 2008-09-23 17:17:21 UTC+0200, Andreas Davour ([EMAIL PROTECTED]) wrote: > I've bought a usb connected disk to use as backup, and I've been > thinking about trying to make the data as available as possible. Do > anyone here have any suggestion about what kind of filesystem would be > best to use? Can ufs2 be read by linux? It looks like it from my short > persual of google hits, but it also looks kind of complicated. IS ext2 a > safer bet? Anything totally different? > > Any filesystem that can handle data from both BSD and Linux without too > much metadata mangling would do. I'm not sure about UFS support in Linux. You would probably need to ask on a Linux list. The man page for newfs says that you can create UFS1 filesystems with it, which may help with compatibility? mount_ext2fs is available in FreeBSD but I can't speak for its reliability. There is full read/write support for NTFS provided by sysutils/fusefs-ntfs in the Ports tree. I suspect there are some limitations though, eg. tighter restrictions than UFS on what characters are permitted in filenames. For making backups I would probably just use FAT32 and tar, because practically anything (not just FreeBSD & Linux) will mount FAT32 file systems, and tar should respect your file attributes (owner, group, creation timestamp, last modified timestamp, etc). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: quick slice question..
On Tue, Sep 23, 2008 at 03:33:41PM -0400, B. Cook wrote: > I have slices a, d, e, f, g, and h.. I wouldn't be able to get one > more would I? > > using gmirror and RELENG_7_0.. First I guess you actually mean partition, not slice. (Partitions are usually labeled a, d, e, ..., while slices are normally numbered 1, 2, 3, 4 and are the same as what is called a partition in DOS/Windows.) You should be able to create a 'b' partition in addition to those you have (assuming there exists free space on the disk of course.) Partition 'b' is usually used for swap, but I don't there is any fundamental reason why it could not be used for a normal file system. -- 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: Filesystem of choice for a Linux/FreeBSD shared backup disk?
I have an EXT2 USB flash drive on a FreeBSD system, and it works perfectly. I have also used EXT2 filesystems on IDE drives in a USB caddy, and they work fine as well. On September 23, 2008 04:19:06 pm andrew clarke wrote: > On Tue 2008-09-23 17:17:21 UTC+0200, Andreas Davour ([EMAIL PROTECTED]) wrote: > > I've bought a usb connected disk to use as backup, and I've been > > thinking about trying to make the data as available as possible. Do > > anyone here have any suggestion about what kind of filesystem would be > > best to use? Can ufs2 be read by linux? It looks like it from my short > > persual of google hits, but it also looks kind of complicated. IS ext2 a > > safer bet? Anything totally different? > > > > Any filesystem that can handle data from both BSD and Linux without too > > much metadata mangling would do. > > I'm not sure about UFS support in Linux. You would probably need to > ask on a Linux list. The man page for newfs says that you can create > UFS1 filesystems with it, which may help with compatibility? > > mount_ext2fs is available in FreeBSD but I can't speak for its > reliability. > > There is full read/write support for NTFS provided by > sysutils/fusefs-ntfs in the Ports tree. I suspect there are some > limitations though, eg. tighter restrictions than UFS on what > characters are permitted in filenames. > > For making backups I would probably just use FAT32 and tar, because > practically anything (not just FreeBSD & Linux) will mount FAT32 file > systems, and tar should respect your file attributes (owner, group, > creation timestamp, last modified timestamp, etc). > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- Mike Jeays http://www.jeays.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shipping
> I have 18 students that are going to > Belize City, Belize in January to volunteer in the schools. > We have been going there for the past few years. We have > collected 24 computers and a few printers that we want to > ship from western New York to Belize in order to set up > computer labs in the two schools that we work in. Do you > know of any resources or do you have resources that could > help us get the computers shipped to them. I contacted a few > shipping companies and the price quotes that I was getting > were beyond what we could even consider. > We would appreciate any help, assistance or directions that > you could provide. > 1. 24 computer cases with a few printers = 2 big carton boxes 2. 24 CRT (old and big) computer screens = 4 big carton boxes 3. Packaging - boxes http://www.uline.com/Product/ProductDetail.aspx?model=S-4480&ref=412 [$87.60] - pallets http://www.uline.com/BL_8202/Economy-Plastic-Pallets [$198.00] 4. 1 dollar insurance [$30.00] 5. Residental pick-up service from 14063 Fredonia [$409] SUB-TOTAL: $2991 ($1790 lcd screens) in 30 days (may become 60-90 days) $0 import charge (receiving side pays) TOTAL: $2991 (screws included) ALTERNATIVES: Find 24 students who want to volunteer in central america, pay for food, accomodation. Must own and willing to sacrifice a laptop in the name of charity. Please. Nash http://iqgloballogistics.com/estimate/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: blocksize when using dd to copy disks? bigger = better?
On Tue, 23 Sep 2008 11:37:00 -0400 Jerry McAllister <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 11:04:13AM -0400, Joachim Rosenfeld wrote: > > > When mirroring a disk with dd, I notice that a blocksize of 512 runs > > awfully slow, but with bs=1MB (2^10bytes), it runs fairly quickly. > > > > Can someone explain the implications of this? Did all the data not > > copy properly with the larger blocksize? > > If you are on a beach moving sand and you pick up one grain at a > time and move it, it will take a very long time because the overhead > of moving yourself is much higher than the amount of sand moved. > If you use the largest bucket or scoop that you can handle, then > it goes much faster because the same body motions result in much > more being moved.Moving data has a similar dynamic. I tried playing around with this once, and I found that the speed rose rapidly up to a certain blocksize, then levelled-out for a decade or so and then dropped to half of the peak speed. IIRC in that particular case the optimum range was something like 20k-200k. I presume what happens is that you can make the blocksize too big for the other buffering, and end-up alternating reads and writes rather than doing them in parallel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
On Tue, 23 Sep 2008 17:17:21 +0200 (CEST) Andreas Davour <[EMAIL PROTECTED]> wrote: > > I've bought a usb connected disk to use as backup, and I've been > thinking about trying to make the data as available as possible. Do > anyone here have any suggestion about what kind of filesystem would > be best to use? Can ufs2 be read by linux? It looks like it from my > short persual of google hits, but it also looks kind of complicated. > IS ext2 a safer bet? Anything totally different? If you want to, you can use ext3 on Linux, and treat it as ext2 on FreeBSD. You need sysutils/e2fsprogs to provide an fsck that can sync the journal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dovecot, maildir, UFS 2 performance
I need to install a new server. Primarily it will run apache + PHP + PostgreSQL. Its main task is to serve several websites, and provide web based admin interface for OLTP. The server will have 2xSAS disks in RAID 1 for the base system and 10xSATA2 disks in RAID 1+0 for the rest. The SAS pair will only have 150GB space. The RAID 1+0 array will be above 1.5 TB. I already have a good idea about how to tune PostgreSQL: log files go to SAS and data dir goes to SATA. The secondary task for this server is to be an IMAP and mail server. We will be using dovecot, and shared maildir folders with ten thousands of messages. I'm not sure where to put the maildir folders, and what options to use for the filesystem. Dovecot wiki is not talking about UFS, only ext3, reiserfs and xfs: http://wiki.dovecot.org/MailboxFormat/Maildir Can you tell me some basic idea about how to configure this? I have some ideas but they may be competely wrong: #1 maildir stores each message in a separate file. I think I need to dedicate a separate disk slice for maildirs and decrease block size on it. How big should the blocksize be? #2 searching in messages is a common operation. Possibly read speed is very most important. But since there will be thousands of files to open, seek operation is also important. On which RAID array should I put mail dirs? Small SAS or bigger SATA array? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
For making backups I would probably just use FAT32 and tar, because practically anything (not just FreeBSD & Linux) will mount FAT32 file systems, and tar should respect your file attributes (owner, group, creation timestamp, last modified timestamp, etc). Except that you cannot create files with >4GB size on FAT32. You might be able to use an archiver that is able to split archives into smaller parts. This has always been a problem. FreeBSD is open source. So Linux is, but they do not have a common filesystem that could be accessed from both system, WITHOUT compromises. :-( Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Server - Linux Compat
Hi all, When I was young, many many moons ago, and I installed FreeBSD 4.4 for the first time, I enabled linux compatability ... Each build since, I have enabled it ... So not I am at the point of asking myself why? All I run is webservers and namesrvers, you know, Bind, Apache, Mysql, vmpop3d, PHP, Exim and shh...not to mention a few utils, ipa, ipfw etc. Does anyone have any compelling reason I should continue to enable linux compatability? Are there any pitfalls (Security, Performance) in doing so? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: using /dev/random
On Tue, 23 Sep 2008 11:52:07 -0400 Lowell Gilbert <[EMAIL PROTECTED]> wrote: > Robert Huff <[EMAIL PROTECTED]> writes: > > > What is the canonical way to get data from /dev/random? > > Specifically: having opened the file, how do I read the stream? > > I'm currently using > > > > > > union { > > float f; > > char c[4]; > > } foo; > > > > foo.f = 0.0; > > > > fscanf(rand_fp,"%4c",foo.c); > > > > > > which doesn't seem to produce anywhere near "random bytes" > > as promised by the man page. > > Have you turned off the "seeded" variable? You'll fall back to a > software pseudorandom sequence if you don't. kern.random.sys.seeded is just a flag that gets set to 1 on each reseed. IIRC it's also initialized to 1 so it doesn't actually do anything very useful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server - Linux Compat
> When I was young, many many moons ago, and I installed > FreeBSD 4.4 for the > first time, I enabled linux compatability ... > > Each build since, I have enabled it ... > > So not I am at the point of asking myself why? > > All I run is webservers and namesrvers, you know, Bind, > Apache, Mysql, > vmpop3d, PHP, Exim and shh...not to mention a few utils, > ipa, ipfw etc. > > Does anyone have any compelling reason I should continue to > enable linux > compatability? > > Are there any pitfalls (Security, Performance) in doing so? > > -Grant if there is no warning in the comments i think its harmless nobody knows when you are going to need a linux binary to run lsof maybe? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server - Linux Compat
first time, I enabled linux compatability ... Each build since, I have enabled it ... So not I am at the point of asking myself why? All I run is webservers and namesrvers, you know, Bind, Apache, Mysql, vmpop3d, PHP, Exim and shh...not to mention a few utils, ipa, ipfw etc. Does anyone have any compelling reason I should continue to enable linux compatability? no there are no reason. use it only if you need linux programs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server - Linux Compat
On Tue 2008-09-23 17:38:57 UTC-0400, Grant Peel ([EMAIL PROTECTED]) wrote: > When I was young, many many moons ago, and I installed FreeBSD 4.4 for > the first time, I enabled linux compatability ... > > Each build since, I have enabled it ... > > So not I am at the point of asking myself why? You only need to enable the Linux ABI module if you're running Linux binaries. On a server, this would be fairly uncommon. On a desktop machine you may decide that (for example) for whatever reason, the FreeBSD port of Firefox (www/firefox) is not working properly for you, so you might like to run the Linux binary of Firefox (www/linux-firefox) under FreeBSD's Linux ABI. But even that situation is probably fairly rare. > All I run is webservers and namesrvers, you know, Bind, Apache, Mysql, > vmpop3d, PHP, Exim and shh... These have all been ported to FreeBSD. They are built from the Ports tree as FreeBSD binaries and run natively. > not to mention a few utils, ipa, ipfw etc. I'm not sure what ipa is, but ipfw is supplied with the FreeBSD base system as a native FreeBSD binary, as you can tell from the following command: $ file /sbin/ipfw /sbin/ipfw: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 6.3, dynamically linked (uses shared libs), stripped ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dovecot, maildir, UFS 2 performance
dir goes to SATA. The secondary task for this server is to be an IMAP and mail server. We will be using dovecot, and shared maildir folders with ten thousands of messages. I'm not sure where to put the maildir folders, and what options to use for unless you have tens of thousands of mail users, put it anywhere ;) it will work fine. #1 maildir stores each message in a separate file. I think I need to dedicate a separate disk slice for maildirs and decrease block size on it. How big should the blocksize be? i have everything (/) on single partition on most of my servers, including those having lots of mail. i too use dovecot and maildirs. default fragment size of 2K is fine, average mailfile size is not that small to bother making smaller fragments. #2 searching in messages is a common operation. Possibly read speed is very most important. But since there will be thousands of files to open, seek operation is also important. On which RAID array should I put mail dirs? dovecot do make indexes and scans all files only when rebuilding them. Small SAS or bigger SATA array? assuming you configured your RAID1+0 properly it will give you MUCH more performance from 10 disks, than RAID1 on 2 - a bit faster - drives. IMHO you wasted money for SAS drives, simply having SATA only system could be enough. just keep your SAS drives for OS, ports, sources, logs, whatever, while /home on your big RAID1+0 volume. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
mount_ext2fs is available in FreeBSD but I can't speak for its reliability. i can. it simply works. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
Except that you cannot create files with >4GB size on FAT32. You might be able to use an archiver that is able to split archives into smaller parts. or simply split(1) This has always been a problem. FreeBSD is open source. So Linux is, but they do not have a common filesystem that could be accessed from both system, WITHOUT compromises. :-( Best, Laszlo ___ 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: Server - Linux Compat
On Tue 2008-09-23 14:54:30 UTC-0700, Nash Nipples ([EMAIL PROTECTED]) wrote: > if there is no warning in the comments i think its harmless > nobody knows when you are going to need a linux binary to run > lsof maybe? I'm not sure what you're trying to say here, but lsof builds from Ports as a native FreeBSD binary: $ file `which lsof` /usr/local/sbin/lsof: setgid ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 6.3, dynamically linked (uses shared libs), stripped PS. "Nash Nipples" ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server - Linux Compat
On Tue, 2008-09-23 at 17:38 -0400, Grant Peel wrote: > Hi all, > > When I was young, many many moons ago, and I installed FreeBSD 4.4 for the > first time, I enabled linux compatability ... > > Each build since, I have enabled it ... > > So not I am at the point of asking myself why? > > All I run is webservers and namesrvers, you know, Bind, Apache, Mysql, > vmpop3d, PHP, Exim and shh...not to mention a few utils, ipa, ipfw etc. > > Does anyone have any compelling reason I should continue to enable linux > compatability? > > Are there any pitfalls (Security, Performance) in doing so? I've done the same myself for a long time, but now I just do minimal installs and go from there after having numerous issues with incompatible packages rather than ports. I can't see any security issues in not having it, in fact isn't there a principle for security in the less software the less holes to get through? Linux compat is only installed if you install a port that requires it to operate, so it would seem that a lot of servers wouldn't necessarily use it. Its mostly a desktop thing for some of the more difficult to port (or legal issue) software that users specifically want. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
On Tue 2008-09-23 23:13:32 UTC+0200, Laszlo Nagy ([EMAIL PROTECTED]) wrote: >> For making backups I would probably just use FAT32 and tar, because >> practically anything (not just FreeBSD & Linux) will mount FAT32 file >> systems, and tar should respect your file attributes (owner, group, >> creation timestamp, last modified timestamp, etc). > > Except that you cannot create files with >4GB size on FAT32. You might > be able to use an archiver that is able to split archives into smaller > parts. Ah yes, I'd totally forgotten about that, sorry. i would probably split the tarballs in a way similar to how the FreeBSD distribution tarballs are split, but it's not pretty. > This has always been a problem. FreeBSD is open source. So Linux is, but > they do not have a common filesystem that could be accessed from both > system, WITHOUT compromises. :-( Are there compromises with using ext2fs under FreeBSD? Perhaps there should be ufs or ext2fs modules for FUSE, in an ideal world :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
about trying to make the data as available as possible. Do anyone here have any suggestion about what kind of filesystem would be best to use? Can ufs2 be read by linux? It looks like it from my short persual of google hits, but it also looks kind of complicated. IS ext2 a safer bet? Anything totally different? use ext2. FreeBSD handles ext2 fine, while linux doesn't handle UFS2 easily. just remember ext2 performance is lower, but for backups, copying etc. it shouldn't matter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: quick slice question..
On Tue, 23 Sep 2008 15:33:41 -0400 B. Cook <[EMAIL PROTECTED]> wrote: > I have slices a, d, e, f, g, and h.. I wouldn't be able to get one > more would I? > I've never tried it myself, but I've heard that it's possible to nest FreeBSD partitions indefinitely - leading to an unlimited number of partitions. I think you just need to run disklabel on a partition rather than a slice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fix corrupted terminal output
Occasionally, I accidentially cat a binary file or a directory casing the terminal output to be corrupted with text looking like (don't know if this will make it through the mail cleanly) E ??? ?? ?. 2# To fix this normally I just close the window and open a new ssh connection, but I am wondering if there is a more clean way to do this. I've tried reset(1), but it doesn't seem to help any. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
On Wed, 24 Sep 2008 00:48:48 +0200 (CEST), Andreas Davour <[EMAIL PROTECTED]> wrote: > On Wed, 24 Sep 2008, Wojciech Puchar wrote: > > >> about trying to make the data as available as possible. Do anyone here > >> have > >> any suggestion about what kind of filesystem would be best to use? Can > >> ufs2 > >> be read by linux? It looks like it from my short persual of google hits, > >> but it also looks kind of complicated. IS ext2 a safer bet? Anything > >> totally different? Have you considered ZFS as an option? It's a good option for a backup disk where speed isn't too much of an issue. > > > > use ext2. FreeBSD handles ext2 fine, while linux doesn't handle UFS2 > > easily. > > just remember ext2 performance is lower, but for backups, copying etc. it > > shouldn't matter > > I'll remember the performance hit. > > > While Linux don't handle UFS2 easily, how much of a trouble is it? I > found a text about recompiling your kernel. Do you know if that's still > needed? My source was kind of old. Just load it as a kernel module kldload ext2fs > > /andreas > > -- > A: Because it fouls the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fix corrupted terminal output
Try this one: perl -e 'print "\x0f"' - Original Message - From: Chris St Denis <[EMAIL PROTECTED]> Date: Tuesday, September 23, 2008 5:09 pm Subject: Fix corrupted terminal output > Occasionally, I accidentially cat a binary file or a directory > casing > the terminal output to be corrupted with text looking like (don't > know > if this will make it through the mail cleanly) > >E ??? ?? ?. >2# > > > To fix this normally I just close the window and open a new ssh > connection, but I am wondering if there is a more clean way to do > this. > I've tried reset(1), but it doesn't seem to help any. > ___ > 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: Fix corrupted terminal output
On Tue, 2008-09-23 at 17:09 -0700, Chris St Denis wrote: > Occasionally, I accidentially cat a binary file or a directory casing > the terminal output to be corrupted with text looking like (don't know > if this will make it through the mail cleanly) > > E ??? ?? ?. > 2# > > > To fix this normally I just close the window and open a new ssh > connection, but I am wondering if there is a more clean way to do this. > I've tried reset(1), but it doesn't seem to help any. The terminal has probably switched to an alternate charset mode. I recently encountered this situation while using tmux and found that issuing 'reset' was ineffectual. To recover from this try issuing a \017 character to the terminal, or the escape sequence: ^[[m. How you can do that most easily depends on which shell you're using at the time, so you can try: /bin/echo ^v^o (^v is ctrl-v ^o is ctrl-o) /bin/sh -c "echo -e \\017" /bin/echo ^v^[[m /bin/sh -c "echo -e \\033[m" Thanks go to Nicholas Marriott for pointing out this solution. Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ccache on amd64
Mel wrote: On Tuesday 23 September 2008 18:35:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3_utl. c -o v3_utl.So /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 ^^^ Where does that come from? On my system it's: -m32 -march=k8 I have no idea where those came from, this currently is a pretty fresh 6.4 beta install. My make.conf has no such argument. I have always been fraid of adjusting this value. I'll try mucking with this some. To recap, my current /etc/make.conf is [EMAIL PROTECTED] /usr/local/etc]# more /etc/make.conf # added by use.perl 2008-09-20 15:50:41 PERL_VER=5.8.8 PERL_VERSION=5.8.8 #.if exists(/usr/local/libexec/ccache/world-cc) && !defined(NOCCACHE) && \ #(!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) #CC := ${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1} #CXX := ${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1} #.endif ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Filesystem of choice for a Linux/FreeBSD shared backup disk?
On Wed, 24 Sep 2008 04:02:11 +0200 (CEST), Andreas Davour <[EMAIL PROTECTED]> wrote: > On Wed, 24 Sep 2008, Gary Newcombe wrote: > > > On Wed, 24 Sep 2008 00:48:48 +0200 (CEST), Andreas Davour > > <[EMAIL PROTECTED]> wrote: > > > >> On Wed, 24 Sep 2008, Wojciech Puchar wrote: > >> > about trying to make the data as available as possible. Do anyone here > have > any suggestion about what kind of filesystem would be best to use? Can > ufs2 > be read by linux? It looks like it from my short persual of google hits, > but it also looks kind of complicated. IS ext2 a safer bet? Anything > totally different? > > > > Have you considered ZFS as an option? It's a good option for a backup > > disk where speed isn't too much of an issue. > > AFAIK, ZFS is not yet ready for Linux. That's true and as it stands, licensing issues mean it won't be a kernel filesystem in linux. However, ZFS works fine using the fuse module. I use ZFS as a common filesystem for backup. The only issue is the differing versions of ZFS and which is used to create the pool. > > >>> use ext2. FreeBSD handles ext2 fine, while linux doesn't handle UFS2 > >>> easily. > >>> just remember ext2 performance is lower, but for backups, copying etc. it > >>> shouldn't matter > >> > >> I'll remember the performance hit. > >> > >> While Linux don't handle UFS2 easily, how much of a trouble is it? I > >> found a text about recompiling your kernel. Do you know if that's still > >> needed? My source was kind of old. > > > > Just load it as a kernel module > > > > kldload ext2fs > > Now you are refering to FBSD, I was talking about using UFS2 in Linux. Sorry, I should learn to read. Afaik, ufs2 is read only under linux, write support is available but the module isn't built by default and it's listed as 'dangerous'. > > /Andreas > > -- > A: Because it fouls the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: geli and soft-updates
Fabian Keil wrote: Oliver Peter <[EMAIL PROTECTED]> wrote: On Sat, Sep 20, 2008 at 09:45:29PM -0400, Vinny wrote: ... [...] I'm using ZFS on geli on my production server with 2 SATA2 disks. Just create and attach the geli devices in /dev and then create a zpool i.e. with # zpool create crypt /dev/ad3.eli /dev/ad6.eli Works splendid. I'm using ZFS on three geli encrypted slices, the only problem I ran into was: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/117158 "zpool scrub causes panic if geli vdevs detach on last close" Thanks for your feedback. I'm going to give it another try. I used to run ZFS on top of geli but I had kernel panics. I changed the providers to normal non-geli disks but still had panics. I found out later that the panics were kernel memory related (kmem_malloc) since ZFS wants a lot. I increased two of the kernel memory parameters and haven't seen a panic again. vm.kmem_size: 512M vm.kmem_size_max: 512M I guess I'll have to try the geli disks again now that the memory has been increased. Vinny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ccache on amd64
Brian wrote: Mel wrote: On Tuesday 23 September 2008 18:35:22 Brian wrote: /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3_utl. c -o v3_utl.So /usr/local/libexec/ccache/world-cc -m32 -march=i686 -mmmx -msse -msse2 ^^^ Where does that come from? On my system it's: -m32 -march=k8 I have no idea where those came from, this currently is a pretty fresh 6.4 beta install. My make.conf has no such argument. I have always been fraid of adjusting this value. I'll try mucking with this some. To recap, my current /etc/make.conf is [EMAIL PROTECTED] /usr/local/etc]# more /etc/make.conf # added by use.perl 2008-09-20 15:50:41 PERL_VER=5.8.8 PERL_VERSION=5.8.8 #.if exists(/usr/local/libexec/ccache/world-cc) && !defined(NOCCACHE) && \ #(!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) #CC := ${CC:C,^cc,/usr/local/libexec/ccache/world-cc,1} #CXX := ${CXX:C,^c\+\+,/usr/local/libexec/ccache/world-c++,1} #.endif I set the cputype to athlon64 in make.conf, I now get /usr/local/libexec/ccache/world-cc -m32 -march=athlon64 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3_utl.c -o v3_utl.So /usr/local/libexec/ccache/world-cc -m32 -march=athlon64 -mfancy-math-387 -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA -std=gnu89 -c /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3err.c -o v3err.So building shared library libcrypto.so.4 Segmentation fault (core dumped) *** Error code 139 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
nat and firewall
hi sirs, i am confused now that what is the difference between nat and firewall_nat in /etc/rc file natd_enable="YES" firewall_nat_enable="YES" just one question per asking. there will be another more questions about this but for this moment only this one first. thanks in advance for any helps and hints regards, psr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL Error: Can't create a new thread (errno 35); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
Vincent Hoffman wrote: If you havent already, you could try increasing the per process memory limit as per examples in http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-05/msg00258.html (man tuning also says a bit about these tuneables but doesnt have the examples that post does) Vince Hi Vince, Thanks for the advice. We have already raised the memory limits: kern.maxdsiz="1843M" # 1.8GB kern.dfldsiz="1843M" # 1.8GB Any other ideas? - Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My unqualified host name
> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown; > > sleeping for retry" > > ... sendmail expects your machine to have working DNS and for > the machine to have a valid FQDN. Either set that up, or add > sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ... There is another approach, which is to ignore the message. After something like 3 repetitions, at something like a minute apart, it will give up on qualifying its name. Everything seems to work just fine thereafter until the next boot, when the entire sequence repeats. This leads to the question of how to get sendmail -- or whatever -- into the state where it will eventually land after the 3-miunte delay, without the delay and the messages. It seems as if this ought not be all that difficult. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My unqualified host name
I can't check it right now but I'll asap. - Original Message From: Jonathan Chen <[EMAIL PROTECTED]> To: Dánielisz László <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Tuesday, September 23, 2008 9:02:08 PM Subject: Re: My unqualified host name On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote: > Hello! > > I got the following error message on boot: > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for > retry" > > Do you have any idea? Is the name "nyana" the DNS or in /etc/hosts? -- Jonathan Chen <[EMAIL PROTECTED]> -- Opportunities are seldom labeled ___ 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: My unqualified host name
This one is set in rc.conf but I'll check once again when I arrive home. - Original Message From: Chuck Swiger <[EMAIL PROTECTED]> To: Dánielisz László <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Tuesday, September 23, 2008 9:02:43 PM Subject: Re: My unqualified host name On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote: > I got the following error message on boot: > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown; > sleeping for retry" > > Do you have any idea? Yes, sendmail expects your machine to have working DNS and for the machine to have a valid FQDN. Either set that up, or add sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you won't be using it... Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: My unqualified host name
True, the system boots without any problem but its annoying to wait for that failure. - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, September 24, 2008 7:05:16 AM Subject: Re: My unqualified host name > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown; > > sleeping for retry" > > ... sendmail expects your machine to have working DNS and for > the machine to have a valid FQDN. Either set that up, or add > sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ... There is another approach, which is to ignore the message. After something like 3 repetitions, at something like a minute apart, it will give up on qualifying its name. Everything seems to work just fine thereafter until the next boot, when the entire sequence repeats. This leads to the question of how to get sendmail -- or whatever -- into the state where it will eventually land after the 3-miunte delay, without the delay and the messages. It seems as if this ought not be all that difficult. ___ 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]"