Re: building KLDs in RELENG_4
I believe you can cd /usr/src/sys/modules/umass, compile/install/load umass.ko. On Thu, 24 Feb 2005 09:56:22 -0500, Peter C. Lai <[EMAIL PROTECTED]> wrote: > Is there a way to build kernel modules by themselves without having to > build the entire kernel? I am adding umass support to a 4.x machine but > I don't want to build the entire kernel. I already have scbus, but I need > da and of course, umass. > > TIA, > pete > > -- > Peter C. Lai > University of Connecticut > Dept. of Molecular and Cell Biology > Yale University School of Medicine > SenseLab | Research Assistant > http://cowbert.2y.net/ > > ___ > 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: tab completion
Either type 'set autolist' at the shell prompt, or put it in your .tcshrc file. On Tue, 01 Mar 2005 00:29:15 -0800, Ben Munat <[EMAIL PROTECTED]> wrote: > According to /etc/passwd, both root and my regular user are using /bin/tcsh. > > b > > Dan Nelson wrote: > > In the last episode (Mar 01), Ben Munat said: > > > >>Why doesn't tab completion in the shell work for my regular > >>(non-root) user? > > > > > > That depends on what shell "the shell" refers to, of course. > > > ___ > 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: Which lib for pthreads?
Did you try 'cc -lpthread srcfile.c'? On Sat, 5 Mar 2005 19:18:31 -0600, Dan Nelson <[EMAIL PROTECTED]> wrote: > In the last episode (Mar 05), Jonathon McKitrick said: > > Linux lets me use -pthread, but under BSD I get 'undefined symbol > > "pthread_mutex_lock."' > > > > What's the correct linker syntax for pthreads? > > That would be it. It should work on 4.* and 5.*. > > -- > 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]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: JAVA Server
On Tue, 08 Mar 2005 11:59:00 -0500, MikeM <[EMAIL PROTECTED]> wrote: > On 3/8/2005 at 10:06 AM Grant Peel wrote: > > |Hello all, > | > |I have a number of simple FreeBSD Hosting boxes running FBSD 4.x and have > |had a request to add a Java Server to one of them. > | > |I am not experienced with JAVA at all. > | > |My Boxes run simple Apache 1.3.36, EXim, ProFTP vmpop3d, and are tuned and > > |running well. > | > |I am looking for advise on what JAVA server to consider installing. SImple > > |to install would be good, Low overhead would be better, and seamless > |operation with Apache would be perfect. > = > > Place to start: > http://jakarta.apache.org/tomcat/ > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Do you know what your client is wanting from java? If they are writing a simple web application (known as a WAR), then tomcat/apache with mod_jk or mod_jk2 will work. If they require EJBs (Enterprise Java Beans), the you will need more than a servlet engine. Jboss, http://jboss.com/downloads/index#as, will run EJBs and servlets, and it uses tomcat for its servlet engine. You will use mod_jk or mod_jk2 with jboss as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: connection problems with apache and mod_ssl
On Tue, 8 Mar 2005 13:59:17 +0100, MINAROVIC, Peter <[EMAIL PROTECTED]> wrote: > Hello Eric, > > I have found your problem with error message > > SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] > (System error follows) > > on Intranet. Did you received any solution? We have also this problem and no > solution. > > Thank you very much. > > Regards, > > Peter > > Peter MinaroviÄ > Database Administrator > +421-905-011246 > Orange Slovensko, a.s. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > The only time I have seen this error is when the SSL certs weren't created correctly. How did you create the certs? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What does this message mean (watchdog timeout DC0)?
It may be hardware related. Have you made any system changes lately? How often does this occur? On 1/13/06, Thomas T. Veldhouse <[EMAIL PROTECTED]> wrote: > I am seeing the following in my security logs. Can anybody tell me what > this means? Perhaps I should consider a new NIC? > > +dc0: watchdog timeout > +dc0: link state changed to DOWN > +dc0: link state changed to UP > > > Thanks in advance, > > Tom Veldhouse > > ___ > 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: Adding Mailboxes for SendMail
You can create a new user account. I would recommend a shell of /bin/false if these users are using an email client like thunderbird or outlook. If these users are using an email client (not from command line) then you will also need pop3/imap like qpopper or cyrus and sasl. On 7/17/05, शंतनु (Shantanoo) <[EMAIL PROTECTED]> wrote: > On 7/18/05, Gerard Seibert <[EMAIL PROTECTED]> wrote: > > I know someone will say, RTFM, and I am doing that; however, I am in a > > hurry and need an answer faster than I can read the O'Reilly Sendmail > > book. > > > > I need to add new mailboxes for email. In the /var/mail directory are > > all of the default users, etc. on this computer. I need to add new email > > addresses that Sendmail will deliver to. So far, I have not been able to > > accomplish this feat. I welcome any assistance. > > > > Create new user account. > > Regards, > Shantanoo > ___ > 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: MAXPHYS and MAXBSIZE
According to sys/param.h: MAXPHYS - max raw I/O transfer size MAXBSIZE - Filesystems are made out of blocks of at most MAXBSIZE bytes per block. MAXBSIZE may be made larger without effecting any existing filesystems as long as it does not exceed MAXPHYS, and may be made smaller at the risk of not being able to use filesystems which require a block size exceeding MAXBSIZE. On 7/26/05, Wojciech Puchar <[EMAIL PROTECTED]> wrote: > what is the difference between this 2 compile time defines? > > > is it possible to set it up higher? (something like 0.5MB for modern disks > make sense) > ___ > 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: Max files in unix folder from PIL process
On Mon, 28 Mar 2005 21:25:28 -0400, David Pratt <[EMAIL PROTECTED]> wrote: > Hi. I am creating a python application that uses PIL to generate > thumbnails and sized images. It is beginning to look the volume of > images will be large. This has got me to thinking. Is there a number > that Unix can handle in a single directory. I am using FreeBSD4.x at > the moment. I am thinking the number could be as high 500,000 images in > a single directory but more likely in the range of 6,000 to 30,000 for > most. I did not want to store these in Postgres. I will most likely to > break these into directories by size ie. thumbnail, small, medium, > large, etc. . That will at least take it down by a factor of the > number of sizes used but still the possibility of a very large number > (maximum to perhaps 100,000 or more) There is really no other way that > I can think of to categorize these at the moment. Should this pose a > problem on the filesystem? How will it affect the use of Unix tools? > Will there be access problems that affect speed? This is unchartered > territory for me so hope someone who has been there, done that can > provide some of what they learned from experience. Many thanks. > > Regards, > David > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > I've had apps that had over 800k subdirectories and files. As long as you know the filename, performance will not be an issue. However, if you don't know the full path, then you may want to either redesign the app or consider storing everything in the DB. The apps that I've seen had the full path stored in the database, and the image on a file server. I've also had apps that stored everything in the database, and that turned out to be a nightmare. Eventually, we moved everything from the DB to the filesystem. Corey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to make "shared library cache" (ldconfig cache) changes permanent?
You can add the shared lib directories to /etc/rc.conf. Corey On 4/22/05, Chad Leigh -- Shire. Net LLC <[EMAIL PROTECTED]> wrote: > > I have a new directory I want to be always used to look for shared > libraries. > > I do a > > % ldconfig -m /usr/public/lib > > and all is well. However, on reboot, the changes go away and I have to > do it again. Does not work so well if things that start up at boot > time rely on libraries in the new directory. > > How can I execute this so it is a permanent addition? > > Thanks > Chad > > ___ > 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: apache2 with ssl starting problem
Sounds like apache is not listening on port 443. Have you checked httpd.conffor the following: Listen 443 Include conf/ssl.conf SSLRandomSeed startup /path/to/your/site.key SSLRandomSeed connect /path/to/your/site.key On 9/13/05, Paul Schmehl <[EMAIL PROTECTED]> wrote: > > I recently installed apache2 on a server that I maintain. (Previously I > had run apache13-modssl.) The server runs fine so long as I don't try to > run ssl. When I do that, I get some odd errors: > > bash-2.05b# apachectl stop > bash-2.05b# apachectl startssl > (48)Address already in use: make_sock: could not bind to address [::]:80 > no listening sockets available, shutting down > Unable to open logs > bash-2.05b# apachectl start > > These errors occur whether I use apachectl or the rc.d startup script. > When I put apache2ssl_enable="YES" in rc.conf, and run the startup script, > I get this same error. If I comment out apache2_enable="YES", then the > server doesn't start at all, so obviously the enable switch has to be YES, > but added the apache2ssl_enable switch just generates errors. > > What am I missing? > > Paul Schmehl ([EMAIL PROTECTED]) > Adjunct Information Security Officer > University of Texas at Dallas > AVIEN Founding Member > http://www.utdallas.edu/ > ___ > 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: panic: driver error: busdma dflt_lock called
From what I can tell, the function dflt_lock is only called if the dma driver doesn't have a lock. This causes a panic (see busdma_machdep.c line 190). Can you provide the call stack? Thanks, Corey On 8/25/06, Karim Nogas <[EMAIL PROTECTED]> wrote: Hello, I was wondering if someone could explain this error message, and where I should look for a resolution. I installed FreeBSD 6.1, configured my NIC, and was using it for a couple days without problems. Now, even after a fresh install, I keep getting this error. The only resolution I've found is to login in Single-User Mode, run fsck, and mount -a. Unfortunately, this 'fix' is temporary as the problem occurs again with a reboot. Any ideas would be greatly appreciated. Thank-you. ___ 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: how to identify / list running java applications ?
If you are using jdk 1.5, jps should do what you are asking. On 5/14/06, martinko <[EMAIL PROTECTED]> wrote: hello, when running azureus (or likely other java applications) all one can see among running processes is java process which i expect is jvm. how can i find/identify running java programs ?? (something like `ps ax | grep azureus` or `pgrep azureus`) cheers, martin ___ 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: Learn more about ld-elf and FreeBSD
Have you tried setting LD_LIBRARY_PATH to include the directory where libpq is? Are you getting this error after psql or something like it? If you haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell you which libs are found and which are not. Hope this helps. Corey On 6/22/06, swygue <[EMAIL PROTECTED]> wrote: Once in a while I get some error, looking like this: /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found This specific error was a result of trying to connect to a postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the server is in the process of being decommissioned. I was wondering how have others resolve problems related to ld-elf and shared objects ? And where can I find more information about ld-elf and FreeBSD ? Thanks -- swygue neron --->> ___ 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: Learn more about ld-elf and FreeBSD
That's interesting. Would you email me the output of these commands? echo $LD_LIBRARY_PATH ls file libpq.so.3 Thanks, Corey On 6/22/06, swygue <[EMAIL PROTECTED]> wrote: Corey, Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still can't find it. [EMAIL PROTECTED]>ldd /usr/local/postgresql-7.4.2/bin/psql /usr/local/pgsql/bin/psql: libpq.so.3 => not found (0x0) libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) libz.so.2 => /usr/lib/libz.so.2 (0x2809) libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) libm.so.2 => /usr/lib/libm.so.2 (0x280db000) libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) libc.so.4 => /usr/lib/libc.so.4 (0x2810) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) -Rod On 6/22/06, Corey Brune <[EMAIL PROTECTED]> wrote: > > Have you tried setting LD_LIBRARY_PATH to include the directory where > libpq is? Are you getting this error after psql or something like it? If you > haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell > you which libs are found and which are not. > > Hope this helps. > Corey > > > On 6/22/06, swygue < [EMAIL PROTECTED]> wrote: > > > Once in a while I get some error, looking like this: > > /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found > > This specific error was a result of trying to connect to a > postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the > server is in the process of being decommissioned. > > I was wondering how have others resolve problems related to ld-elf and > shared objects ? And where can I find more information about ld-elf > and FreeBSD ? > > Thanks > > -- > swygue neron --->> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED] > " > > -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: libpthread.so.1
libpthread should not be in the ports. It should reside under /usr/lib. Do an 'ls /usr/lib/libpthread*' and see what it returns. Also, try 'locate libpthread.so.1' On 6/25/06, Saifi <[EMAIL PROTECTED]> wrote: Hi: Trying to install and configure java jdk and jre on FreeBSD 6.1 The installation of both the .tgz packages was successful. However, on executing the interpreter, 'java' the following error is displayed. /libexec/ld-elf.so.1: Shared object "libpthread.so.1" not found, required by "java" I could not find a libpthread package in FreeBSD ports collection. Appreciate if somebody could point out the src.tar.gz or port to use. Thanks in advance. thanks Saifi. TWINCLING Society http://www.twincling.org/ ___ 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: Learn more about ld-elf and FreeBSD
What kind of questions do you have? On 6/23/06, swygue <[EMAIL PROTECTED]> wrote: Corey, Thanks for your help, /usr/local/pgsql/lib/ permission was: 2 drwx-- 2 root wheel I changed it to pgsql:pgsql, and it work's. Where can I find more information about shared library objects ? I read ldconfig, ldd, ld manpages, but I'm looking for a broader explanation. -Rod On 6/23/06, Corey Brune <[EMAIL PROTECTED]> wrote: > > That's interesting. Would you email me the output of these commands? > > echo $LD_LIBRARY_PATH > ls > file libpq.so.3 > > Thanks, > > Corey > > On 6/22/06, swygue <[EMAIL PROTECTED] > wrote: > > > > Corey, > > > > Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still > > can't find it. > > > > [EMAIL PROTECTED]>ldd /usr/local/postgresql-7.4.2/bin/psql > > /usr/local/pgsql/bin/psql: > > libpq.so.3 => not found (0x0) > > libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) > > libz.so.2 => /usr/lib/libz.so.2 (0x2809) > > libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) > > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) > > libm.so.2 => /usr/lib/libm.so.2 (0x280db000) > > libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) > > libc.so.4 => /usr/lib/libc.so.4 (0x2810) > > libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) > > > > > > -Rod > > > > > > On 6/22/06, Corey Brune < [EMAIL PROTECTED]> wrote: > > > > > > Have you tried setting LD_LIBRARY_PATH to include the directory > > > where libpq is? Are you getting this error after psql or something like it? > > > If you haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This > > > will tell you which libs are found and which are not. > > > > > > Hope this helps. > > > Corey > > > > > > > > > On 6/22/06, swygue < [EMAIL PROTECTED]> wrote: > > > > > > > Once in a while I get some error, looking like this: > > > > > > /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found > > > > > > This specific error was a result of trying to connect to a > > > postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the > > > server is in the process of being decommissioned. > > > > > > I was wondering how have others resolve problems related to ld-elf > > > and > > > shared objects ? And where can I find more information about ld-elf > > > and FreeBSD ? > > > > > > Thanks > > > > > > -- > > > swygue neron --->> > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "[EMAIL PROTECTED] > > > " > > > > > > > > > > > > -- > > swygue neron --->> > > > > -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kill an stopped process
On 7/2/06, O. Hartmann <[EMAIL PROTECTED]> wrote: Sometimes it happens on my FreeBSD 6.1-STABLE/AMD box, that a process, in most cases xine, firefox oder thunderbird, show status 'STOP' in top and are unkillable! Trying to kill them as root (sending signal 9 throught 'kill' or 'killall') doesn't have any effect. Can anyone help and tell how to kill such a job? The only way getting rid of those processes is reboot the box and this can not be the right way. Thanks, oh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" A process cannot be killed in certain situations. For instance, if the process is waiting on a IO request, it will block all signals until the request is completed or fails. Could you mount /proc, and do a truss on the process? Also, which version of FreeBSD are you running? Thanks, Corey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"