periodic weekly and 'find' commands ...
I can see my machine running /usr/bin/periodic weekly right now, and it has a find running that I can't seem to find in any of the weekly scripts: find -s / ! ( -fstype ufs ) -prune -or -path /tmp -prune -or -path /usr/tmp -prune -or -path /var/tmp -prune -or -print I did a 'grep' for find in /etc/periodic/weekly/*, and none of the ones that are returned look even close :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ssh missing 'login as' prompt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Whenever I try to ssh into my machie, it just goes straight to [EMAIL PROTECTED] password: by passing the traditional login as: . How can I turn that back on? - -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-868-0071 Email: [EMAIL PROTECTED] PGP Key 0xD1B9D18E -BEGIN PGP SIGNATURE- Version: PGP 8.0.3 Comment: Digitally signed by Mike Loiterman iQA/AwUBP6NR9GjZbUnRudGOEQJx9gCeKuoLvZblV5v6hHurszmf4tgRpxsAoMvJ Q4dSsbEqW8UO2CFYrYnvwWw2 =Z95m -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: problems with LPD
At 8:55 PM -0700 10/31/03, <[EMAIL PROTECTED]> wrote: Hi Garance. Thanks for your answer, ... I think that the solution to my dilemma, is modify the source code of LPD. But before this I like to try the "netgroup" option, where can I begin to read? Well, you can check: man hosts.lpd which will tell you almost nothing. Now it happens that the hosts.lpd is actually processed by the same code that handles hosts.equiv, although that is not documented. So, it happens to be true that: man hosts.equiv will tell you some additional hints as to what is available. However, you will notice that the man page for hosts.equiv does little more than point you to the source code. So, that is not very helpful either. There is also: man netgroup which will tell you the format of the /etc/netgroup file. I should mention that I have never actually used netgroups, so I am not sure that they will help you in this case. I have skimmed through all of the above, and my guess is that your original idea is probably the easiest one to do. It should be easier to change the source code in lpr/lpd/lpd.c to make it behave the way you want it to behave. Now that I have read more about netgroups, I expect that they are not very useful for what you really want to do. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Possible CDROM problems with install
I am trying to install Freebsd 4.8 on a computer and having a great deal of problems. The first time I tried the install stopped when the doc install was at 100% and would not go on. I rebooted and it would boot, but I didn't have much. I tried booting from the CD to finish the install, but that didn't work. I would get a screen screen dump that just kept scrolling. Since I'm putting this on a second hard drive, I wiped everything off the drive and started over. When it was loading the BIN to first directory, I noticed I was getting a lot of "/stand/cpio: invalid header: checksum error" messages. Then on the window with progress bar, I got a message "write failure on transfer". I acknowledged the error and received a message asking to try again yes/no. After retrying and failing a number of times, I selected no and the docs installed OK. After this every part of the install had the write failure until I stopped the install. On monitoring side, there were invalid header errors and other errors also. In Greg Lehey's book "The Complete FREEBSD", he notes can be problems with ATAPI CD-ROMs. I have a Acer 36X CDROM that reports "ATAPI 36X MAXIMUM" when the computer boots. Could there be problem with the CDROM drive? Is there something I do for this? Or do I have a bad install CD? I just purchased the intall CDs. Also the Hard drive in fairly new. I bought it and installed six months ago, but have not used till now. Any help you can give will be appreciated. Thanks, Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
question on linux-base installs
HI all- I recently did my first make buildworld make installworld and it went very well. The howto stuff is very handy :). My question though probably has two parts or so so I'll try to elaborate them a bit. I have been using the linux-mozilla 1.4 port a lot so I can take advantage of the plugins. The one thing I have found with linux-base 8 is that the java plugins don't work and have a common error which I have seen with glibc or other problems. Can one install two different linux-base versions? I would like to go to linux-base 6 so I can get the java plugin working in linux-mozilla. I don't see a java version which works with linux-base 8 and will work as a plugin. Any issues with having two versions of linux base installed or should I just deinstall the version 8 and install the linux base 6 stuff? Secondly, I managed to get apm and sound working on the same little dell laptop. Its a dell latitude ls. But suspending seems problemmatic if the system sits too long. Often its locked down completely and requires a reboot. Running the appropriate apm command seems to indicate that it should do resume. I think perhaps its an issue with the laptop's apm implementation in the bios since a few things don't work on it. Like it never tells me how much time is left. On my newer dell Inspiron I4100 running Debian linux, apm is pretty good. Thanks for all the great answers to the questions I read while lurking here :) -- Michael Perry | do or do not. There is no try. -Master Yoda [EMAIL PROTECTED] | http://www.lnxpowered.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sendmail question
Hi, I'm running sendmail on FreeBSD 4.7 and have a problem with sendmail. Even though the sendmail is running, the mails are not coming into the server. I tried sending a mail from command line using /usr/sbin/sendmail -v [EMAIL PROTECTED] The output of this command hangs just before DATA i.e EHLO, MAIL from are supported. But i donot get "Recipient ok" it takes 10 min to complete the mail delivery and hangs after "RCPT To" for 10 min. Any clue why it happens? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Verifying integrity of Backup Tapes
Rick, I'm not to sure of a best method for checking the tapes, I might tar'ing a massive file to the tape and then back to see if it is working. Unfortunately during the use of your backup schema the tapes have to degrade. If it's a DLT400 tape or even a DDS# series I can see the need to hang on to them for some time to insure the cost of the media was repaid. Might it be best though to question the integrity of using a media that may have reached it's usable lifespan? As well depending on your method of backup, say full, 1/4, 1/2, 1/4, 1/8, etc. one tape that has a problem with the data on it will throw the entire sequence of backups. And if you have full backups, skipping the incremental, you might save yourself the hassle of a wrecked sequence of incrementals, yet the entire concept of backup is lost with bad media. I'm just trying to give you some ideas on how to go from here, not trying to critisize you on something you probably are already thinking. R. On Fri, 31 Oct 2003, Rick Duvall wrote: > I have some backup tapes that I have been using each once per week for about > 8 months. I am getting errors when running amverify on a couple of them. > To be sure that my tapes are still good and not just the system giving me > fits, it would be nice if I could run a program that would write bits to the > tape in question and try to read them back, telling me which blocks on the > tape are bad. Is there such a tool that does this? I guess it would be > kind of like a scandisk is to a DOS Floppy as what I am talking about is to > a Unix Tape. > > Sincerely, > > Rick Duvall > Online Highways > System Administrator > (541) 997-8401 x 111 > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: firebird as non-root
On Friday 31 October 2003 11:25 pm, Vulpes Velox wrote: > Has any one else here had problems running firebird not as root? I can > execute it and a ps -aux shows it as running, but nothing comes up on the > screen. Under root it works rather fine. Comes up fine for me. Just installed it, and at first just ran 'firebird' from the command prompt, and it came up. Then later set up a shortcut icon in KDE. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Verifying integrity of Backup Tapes
I have some backup tapes that I have been using each once per week for about 8 months. I am getting errors when running amverify on a couple of them. To be sure that my tapes are still good and not just the system giving me fits, it would be nice if I could run a program that would write bits to the tape in question and try to read them back, telling me which blocks on the tape are bad. Is there such a tool that does this? I guess it would be kind of like a scandisk is to a DOS Floppy as what I am talking about is to a Unix Tape. Sincerely, Rick Duvall Online Highways System Administrator (541) 997-8401 x 111 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: newbie: myPHPadmin - LOCK TABLES
On Friday 31 October 2003 06:44 pm, Noah wrote: > Hi, > > okay I am a little new to myPHPadmin and mysql in general.I am trying > to figure out how to set "LOCK TABLES" priv to a specific user? > > how Might I go to do this. this user has access only to specific > databases. I hope my quesiton is clear? Off topic for the list, but have a read at http://www.mysql.com/doc/en/ GRANT.html Not sure if myPHPadmin is able to set this up for you ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
firebird as non-root
Has any one else here had problems running firebird not as root? I can execute it and a ps -aux shows it as running, but nothing comes up on the screen. Under root it works rather fine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linprocfs: Operation not supported
> > Hmm, yes I suspect the identifier in the 'device' column is arbitrary. ya, i think so too. > > Some other thoughts (possibly equally useless ;-) : > Do you have the executable /sbin/mount_linprocfs ? > Does the mount point /compat/linux/proc actually exist ? yes, and yes. :-/ thanks, brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: problems with LPD
Hi Garance. Thanks for your answer, I had tried with the IP only and the name only in the /etc/hosts.lpd and the problem persist, but when I add the entry in /etc/hosts the printings go fine no matter what I had in /etc/hosts.lpd (the name or the IP), so I can assure you that the problem is because LPD don't resolve the IP to a name via DNS. >From windows I resolve the IP to as_nte.intranet.telmex.com C:\>ping -a -n 1 10.192.2.134 Haciendo ping a as_nte.intranet.telmex.com [10.192.2.134] con 32 bytes de datos: Respuesta desde 10.192.2.134: bytes=32 tiempo=48ms TDV=58 Estadísticas de ping para 10.192.2.134: Paquetes: enviados = 4, Recibidos = 4, perdidos = 0 (0% loss), Tiempos aproximados de recorrido redondo en milisegundos: mínimo = 37ms, máximo = 48ms, promedio = 40ms I think that the solution to my dilemma, is modify the source code of LPD. But before this I like to try the "netgroup" option, where can I begging to read?. maps -Mensaje original- De: Garance A Drosihn [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 30 de Octubre de 2003 08:08 p.m. Para: Paredes Sánchez Martín A.; [EMAIL PROTECTED] Asunto: Re: problems with LPD At 8:45 PM -0700 10/28/03, <[EMAIL PROTECTED]> wrote: > >I have a printer configured in the BSD, is working fine, now >I need to enable that other systems print in this printer, >to do this I add 2 lines to the file /etc/hosts.lpd > >10.192.2.134 >as_nte.intranet.telmex.com. > >but the remote system can't print, so I run lpd with -c flag >to enable all the connections error via syslog. > >In the file /var/log/lpd-errs I have this message repeated > >Oct 28 20:25:11 bsdsis lpd[10575]: Host name for remote host >(10.192.2.134) not known (8) > >why doesn't print, if the ip is in the file hosts.lpd? > >If I run the command "host 10.192.2.134", it return me 3 >names and one of them is "as_nte.intranet.telmex.com" You should only need the real hostname in /etc/hosts.lpd. You do not need to list the real IP address in addition to the hostname. To get the mapping between hosts and IP addresses to work, you would have to put an entry in /etc/hosts: 10.192.2.134as_nte.intranet.telmex.com and then put just the line: as_nte.intranet.telmex.com in /etc/hosts.lpd >Also, I like to enable the printers (all) in this server >to be accessible to any one in the net 10. I saw your earlier question on this, and I believe the answer is that there isn't any good way to do this. You might be able to set something up with a netgroup, although that is not documented very well. -- Garance Alistair Drosehn= [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Instituteor [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Two sound cards
Hello All, I have two sound cards and FreeBSD 5.0 cat < /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd000 irq 11 (1p/1r/0v channels duplex default) pcm1: at io 0xe400 irq 10 (1p/1r/0v channels duplex) And wants to make /dev/dsp point to pcm1 by default instead of pcm0. How to do this? Or where to read about this..? I take a look at man devfs but have no ideas ln -s /dev/dsp1 /dev/dsp gives an error. -- Best regards, Alexey mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linprocfs: Operation not supported
On Sat, 1 Nov 2003 13:34, Brian Denny wrote: > On Sat, Nov 01, 2003 at 12:58:22PM +1030, Malcolm Kay wrote: > > On Sat, 1 Nov 2003 12:37, Brian Denny wrote: > > > I put the following in my /etc/fstab: > > > linproc /compat/linux/proc linprocfs rw,noauto0 0 > > > > I know this is what the man page says; but I find my /etc/fstab actually > > uses the line: > > linprocfs /compat/linux/proc linprocfs rw,noauto0 0 > > Thanks for the suggestion, but that doesn't seem to affect the outcome. > > > I should mentioned that I just upgraded from 4.5 to 4.8. The upgrade > seems to have gone smoothly. I never tried mounting linprocfs before, > so I have no idea whether the recent system upgrade has anything to do > with my current difficulties. Hmm, yes I suspect the identifier in the 'device' column is arbitrary. Some other thoughts (possibly equally useless ;-) : Do you have the executable /sbin/mount_linprocfs ? Does the mount point /compat/linux/proc actually exist ? Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linprocfs: Operation not supported
On Sat, Nov 01, 2003 at 12:58:22PM +1030, Malcolm Kay wrote: > On Sat, 1 Nov 2003 12:37, Brian Denny wrote: > > I put the following in my /etc/fstab: > > linproc /compat/linux/proc linprocfs rw,noauto0 0 > > I know this is what the man page says; but I find my /etc/fstab actually > uses the line: > linprocfs /compat/linux/proc linprocfs rw,noauto0 0 Thanks for the suggestion, but that doesn't seem to affect the outcome. I should mentioned that I just upgraded from 4.5 to 4.8. The upgrade seems to have gone smoothly. I never tried mounting linprocfs before, so I have no idea whether the recent system upgrade has anything to do with my current difficulties. -brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Netinet6
On Fri, Oct 31, 2003 at 07:28:04PM -0700, Aaron Dalton wrote: > On October 31, 2003 04:04 pm, Kris Kennaway wrote: > > On Fri, Oct 31, 2003 at 04:00:41PM -0700, Aaron Dalton wrote: > > > These aren't ports, which is the problem :) I'm trying to compile > > > HawkNL (a c++ socket library) and a linux bandwidth monitor I use > > > on my Linux box. Neither of which are in the ports tree. > > > > Sounds like the code could be broken, e.g. it doesn't include the > > correct system headers. If you have problems compiling ports that > > are known to work on FreeBSD, then we can talk :) > > > > Kris > > It's an error I get with multiple software packages that compile just > fine in Linux, which is why I thought it might be a more common BSD > "problem" and one with perhaps a common answer. If not, I'll have to > try some other things. Is /usr/include/netinet6/in6.h something > generated when building the kernel itself? Can I copy this from /usr/ > src/sys after doing a cvsup of the src tree? This is typically because the code was written non-portably and doesn't include the headers that are required by UNIX standards (i.e. it only runs on Linux). Fixing this usually isn't too difficult..you just need to figure out what header is missing and add it back. Kris pgp0.pgp Description: PGP signature
Re: linprocfs: Operation not supported
On Sat, 1 Nov 2003 12:37, Brian Denny wrote: > Hi, > > I am trying to mount linprocfs (required as part of a Java installation). > > I put the following in my /etc/fstab: > linproc /compat/linux/proc linprocfs rw,noauto0 0 I know this is what the man page says; but I find my /etc/fstab actually uses the line: linprocfs /compat/linux/proc linprocfs rw,noauto0 0 which works for me. > > > Then I did: > # kldload linprocfs > # mount linproc > > > and I get: > linprocfs: Operation not supported > > > Any idea what could be going wrong? > > > -brian > Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Netinet6
On October 31, 2003 04:04 pm, Kris Kennaway wrote: > On Fri, Oct 31, 2003 at 04:00:41PM -0700, Aaron Dalton wrote: > > These aren't ports, which is the problem :) I'm trying to compile > > HawkNL (a c++ socket library) and a linux bandwidth monitor I use > > on my Linux box. Neither of which are in the ports tree. > > Sounds like the code could be broken, e.g. it doesn't include the > correct system headers. If you have problems compiling ports that > are known to work on FreeBSD, then we can talk :) > > Kris It's an error I get with multiple software packages that compile just fine in Linux, which is why I thought it might be a more common BSD "problem" and one with perhaps a common answer. If not, I'll have to try some other things. Is /usr/include/netinet6/in6.h something generated when building the kernel itself? Can I copy this from /usr/ src/sys after doing a cvsup of the src tree? -- Aaron Dalton [EMAIL PROTECTED] http://aaron.finch.st ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
linprocfs: Operation not supported
Hi, I am trying to mount linprocfs (required as part of a Java installation). I put the following in my /etc/fstab: linproc /compat/linux/proc linprocfs rw,noauto0 0 Then I did: # kldload linprocfs # mount linproc and I get: linprocfs: Operation not supported Any idea what could be going wrong? -brian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What Does the Install Put In /var/log/security?
I've been playing with a new install of 4.8-release (now 4.9-stable). I've set up a simple ipfw firewall. Before enabling firewall logging, I thought I noticed that /var/log/security was a binary file. Is that right? What is installed there by default? Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Silent boot?
If all you are wanting to do is hide the boot messages at boot time, the splash boot screen would be an option. look in /boot/defaults Yong Yi wrote: Anyone know whether it'd be possible to cleanly disable printing the kernel boot messages (the bold white text)? Meaning, short of commenting out the code that prints this, is there any way? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2003/03/09 22:09:31 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions mailing list! If you ever want to remove yourself from this mailing list, you can send mail to "[EMAIL PROTECTED]" with the following command in the body of your email message: unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]> Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to FreeBSD-questions. If that's the case, you'll have to figure out which one it is and get your name taken off that one. If you're not sure which one it might be, check the headers of the messages you receive from freebsd-questions: maybe there's a clue there. If you've done all this, and you still can't figure out what's going on, send a message to [EMAIL PROTECTED], and he will sort things out for you. Don't send a message to FreeBSD-questions: they can't help you. III: Should I ask -questions, -newbies or -hackers? === Two mailing lists handle general questions about FreeBSD, FreeBSD-questions and FreeBSD-hackers. In addition, the FreeBSD-newbies l
Re: Help With 'find' Syntax
On Sat, 1 Nov 2003 11:34, David Carter-Hitchin wrote: > Hi Drew, [snip] > You may find the following note from man find helpful: > > # All primaries which take a numeric argument allow the number to be pre- > # ceded by a plus sign (``+'') or a minus sign (``-''). A preceding plus > # sign means ``more than n'', a preceding minus sign means ``less than n'' > # and neither means ``exactly n''. > > So that is why I put a "+" in from of 1024 - to find files over 1024 bytes > (c). > > So in your example below: > > find /usr \( -mtime 6 -ls -size 100 \) -o \( -ctime 6 -ls -size 100 > > \) -print > > You are trying to find files that are exactly 100 512k blocks in > size. Admittedly the files you found were not of this size At each stage find applies the test argument and passes on files that remain to the next argument for manipulation. This in the first 'or' branch everthing that satisfies -mtime 6 is passed on to -ls and thus displayed before it is filtered by the -size 100 argument. To do what Drew wanted the -size +100 should be applied *before* the -ls. (It is difficult to see why Drew would want to use both -ls and -print) > and I don't > know why they were found - I can replicate this on my machine here, but I > don't know why - perhaps it is the file allocation. This is why I chose > 1024c instead of block size. > Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help With 'find' Syntax
Hi Drew, Find is one of those classic commands for confusing people. One just gets used to it over time. The behaviour of find varies significantly with different unixes under different shells. Which shell are you using? Under bash this command does what you want: find / -mtime 7 -size +1024c -ls -o -ctime 7 -size +1024c -ls the sense here is: find / (-mtime 7 -size +1024c -ls) -o (-ctime 7 -size +1024c -ls) meaning "find (i.e. examine all files) from / and either a) print (-ls) files modified exactly 7 days old and greater than size 1024 chars (bytes). or (-o) b) print (-ls) files whose inode creation times are exactly 7 days old and greater than size 1024 chars. If neither a) nor b) are true for a file found under / then it is silently ignored. You may find the following note from man find helpful: # All primaries which take a numeric argument allow the number to be pre- # ceded by a plus sign (``+'') or a minus sign (``-''). A preceding plus # sign means ``more than n'', a preceding minus sign means ``less than n'' # and neither means ``exactly n''. So that is why I put a "+" in from of 1024 - to find files over 1024 bytes (c). So in your example below: > find /usr \( -mtime 6 -ls -size 100 \) -o \( -ctime 6 -ls -size 100 > \) -print You are trying to find files that are exactly 100 512k blocks in size. Admittedly the files you found were not of this size and I don't know why they were found - I can replicate this on my machine here, but I don't know why - perhaps it is the file allocation. This is why I chose 1024c instead of block size. > (And why is this file listed twice, anyway?) Perhaps because there was a symbolic link pointing to it (as shown by the '2' before the permissions). HTH, David On Fri, 31 Oct 2003, Drew Tomlinson wrote: > - Original Message - > From: "David Carter-Hitchin" <[EMAIL PROTECTED]> > To: "Drew Tomlinson" <[EMAIL PROTECTED]> > Cc: "FreeBSD Questions" <[EMAIL PROTECTED]> > Sent: Thursday, October 30, 2003 5:55 PM > Subject: Re: Help With 'find' Syntax > > > > Hi Drew, > > > > This should find all files created or modified on 25th October: > > > > find / -mtime 6 -ls -o -ctime 6 -ls > > > > (As today is 31st October which is 6 days after 25th. You may need to > > widen your search a little with a seperate search with 7 as the paramter > > as 6 may not catch files that were created over 6 * 24 hours ago (but were > > still on the 25th); not sure about that). > > Thank you for your reply. I tried your suggestion and it seems to get what > I want. However there are so many little files that I thought I'd modify > the command to: > > find /usr \( -mtime 6 -ls -size 100 \) -o \( -ctime 6 -ls -size 100 > \) -print > > If I understand the '-size' primary correctly, this means I would find files > that are '100 512-byte blocks' in size or '50k'. Yet I still get output > like this: > > 7621552 -r--r--r--1 root wheel 928 Oct > 25 15:12 /usr/local/man/man3/pcre_compile.3.gz > > 7621552 -r--r--r--1 root wheel 928 Oct > 25 15:12 /usr/local/man/man3/pcre_compile.3.gz > > (And why is this file listed twice, anyway?) So I guess my question is "how > can I find files created or modified on Oct. 25 and are larger than ?" > > Thanks for any help. This is really confusing to me. > > Drew > > > > > HTH, > > David > > > > On Wed, 29 Oct 2003, Drew Tomlinson wrote: > > > > > On October 25, my /usr partition lost nearly 50% of it's available > space. > > > This disk hasn't had any significant size changes since I built the > system > > > as it basically serves as a gateway. > > > > > > I'm trying to use the find command to determine what may have been > written > > > to the disk but am not having any luck. I see primaries such > > > as -atime, -mtime, -ctime, and -newer and have read the man pages but do > not > > > understand what the best combination to find those files. Basically how > do > > > I use 'find' to show me all file that were created or modified on > October > > > 25? I've tried commands such as "find /usr \( -newerct 4d \! -newerct > 3d > > > \) -print" but nothing is returned. > > > > > > Thanks, > > > > > > Drew > > > > > > ___ > > > [EMAIL PROTECTED] mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > > > > > > > > > > > > > > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
newbie: myPHPadmin - LOCK TABLES
Hi, okay I am a little new to myPHPadmin and mysql in general.I am trying to figure out how to set "LOCK TABLES" priv to a specific user? how Might I go to do this. this user has access only to specific databases. I hope my quesiton is clear? - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Netinet6
On Fri, Oct 31, 2003 at 04:00:41PM -0700, Aaron Dalton wrote: > These aren't ports, which is the problem :) I'm trying to compile > HawkNL (a c++ socket library) and a linux bandwidth monitor I use on my > Linux box. Neither of which are in the ports tree. Sounds like the code could be broken, e.g. it doesn't include the correct system headers. If you have problems compiling ports that are known to work on FreeBSD, then we can talk :) Kris pgp0.pgp Description: PGP signature
Re: Netinet6
On October 31, 2003 03:48 pm, Kris Kennaway wrote: > On Fri, Oct 31, 2003 at 03:42:43PM -0700, Aaron Dalton wrote: > > On October 31, 2003 03:11 pm, Kris Kennaway wrote: > > > On Fri, Oct 31, 2003 at 12:15:03PM -0700, Aaron Dalton wrote: > > > > I have been trying to compile some C++ socket code. I get the > > > > same errors with multiple software packages so I'm thinking > > > > it's something FreeBSD-related. I am a BSD newb so I would > > > > appreciate any advice you could give me. Below are the errors > > > > themselves. Thank you so much for your time. > > > > > > You seem to be running -CURRENT, which is a poor choice for a > > > "BSD newb". This particular problem was fixed earlier this week, > > > but you'll probably encounter others at some point. Try > > > switching to 4.9-RELEASE or 4.9-STABLE instead - see the handbook > > > for more information about the difference between -RELEASE, > > > -STABLE and -CURRENT. > > > > > > Kris > > > > Actually I'm running FreeBSD 4.8-RELEASE. I don't believe I've > > ever tried to cvsup my include files. Perhaps I should do a full > > upgrade to 4.9-RELEASE and see how it goes? What's the best way to > > approach that without losing all my pkgdb and settings? > > What ports were you trying to compile? > > Kris These aren't ports, which is the problem :) I'm trying to compile HawkNL (a c++ socket library) and a linux bandwidth monitor I use on my Linux box. Neither of which are in the ports tree. Aaron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Adaptec 29160N errors
here are the errors from the messages log. This ONLY happened when A) a device was connected to the Adaptec 29160N and B) when the device was being used by dump. According the the replies I am afraid the problem may be related to the MB.. And ideas on how to trouble shoot it? For some reason this error no longer occurs with the AHA-2940. Could it be some IRQ conflict? I know that the SCSI controller used IRQ 11, as do alot of the other devices on the system.. ns1 kernel: ahc0: PCI error Interrupt at seqaddr = 0x16b ns1 kernel: ahc0: Data Parity Error Detected during address or write data phase ns1 kernel: ahc0: PCI error Interrupt at seqaddr = 0x16b ns1 kernel: ahc0: Data Parity Error Detected during address or write data phase ns1 kernel: ahc0: PCI error Interrupt at seqaddr = 0x8 ns1 kernel: ahc0: Data Parity Error Detected during address or write data phase ns1 kernel: ahc0: PCI error Interrupt at seqaddr = 0x9 ns1 kernel: ahc0: Data Parity Error Detected during address or write data phase ns1 kernel: ahc0: PCI error Interrupt at seqaddr = 0x82 ns1 kernel: ahc0: Data Parity Error Detected during address or write data phase ns1 kernel: ahc0: PCI error Interrupt at seqaddr = 0x16b ns1 kernel: ahc0: Data Parity Error Detected during address or write data phase ns1 kernel: ahc0: WARNING WARNING WARNING WARNING ns1 kernel: ahc0: Too many PCI parity errors observed as a target. ns1 kernel: ahc0: Some device on this bus is generating bad parity. ns1 kernel: ahc0: This is an error *observed by*, not *generated by*, this controller. ns1 kernel: ahc0: PCI parity error checking has been disabled. ns1 kernel: ahc0: WARNING WARNING WARNING WARNING ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Netinet6
On Fri, Oct 31, 2003 at 03:42:43PM -0700, Aaron Dalton wrote: > On October 31, 2003 03:11 pm, Kris Kennaway wrote: > > On Fri, Oct 31, 2003 at 12:15:03PM -0700, Aaron Dalton wrote: > > > I have been trying to compile some C++ socket code. I get the same > > > errors with multiple software packages so I'm thinking it's > > > something FreeBSD-related. I am a BSD newb so I would appreciate > > > any advice you could give me. Below are the errors themselves. > > > Thank you so much for your time. > > > > You seem to be running -CURRENT, which is a poor choice for a "BSD > > newb". This particular problem was fixed earlier this week, but > > you'll probably encounter others at some point. Try switching to > > 4.9-RELEASE or 4.9-STABLE instead - see the handbook for more > > information about the difference between -RELEASE, -STABLE and > > -CURRENT. > > > > Kris > > Actually I'm running FreeBSD 4.8-RELEASE. I don't believe I've ever > tried to cvsup my include files. Perhaps I should do a full upgrade to > 4.9-RELEASE and see how it goes? What's the best way to approach that > without losing all my pkgdb and settings? What ports were you trying to compile? Kris pgp0.pgp Description: PGP signature
Re: Netinet6
On October 31, 2003 03:11 pm, Kris Kennaway wrote: > On Fri, Oct 31, 2003 at 12:15:03PM -0700, Aaron Dalton wrote: > > I have been trying to compile some C++ socket code. I get the same > > errors with multiple software packages so I'm thinking it's > > something FreeBSD-related. I am a BSD newb so I would appreciate > > any advice you could give me. Below are the errors themselves. > > Thank you so much for your time. > > You seem to be running -CURRENT, which is a poor choice for a "BSD > newb". This particular problem was fixed earlier this week, but > you'll probably encounter others at some point. Try switching to > 4.9-RELEASE or 4.9-STABLE instead - see the handbook for more > information about the difference between -RELEASE, -STABLE and > -CURRENT. > > Kris Actually I'm running FreeBSD 4.8-RELEASE. I don't believe I've ever tried to cvsup my include files. Perhaps I should do a full upgrade to 4.9-RELEASE and see how it goes? What's the best way to approach that without losing all my pkgdb and settings? -- Aaron Dalton [EMAIL PROTECTED] http://aaron.finch.st ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Databases
On Wed, 22 Oct 2003, E. J. Cerejo wrote: > I just went through the download page of postgresql but I couldn't see > the client for windows, could you send me the link for the client or is > it accessible with IE? For starters most databases don't have "clients" in the sense of a program to connect to use and use/changed/play with the data. Most SQL databases such as PostgreSQL "Serve requests" to "clients". Clients usually come as custom programs done for a particular purpose or administrative types of programs that among other things allow you to interact with the database and it's data. What I believe others where trying to point you to are the ODBC drivers. Basically a series of programs that let yet other programs talk to the database. I would recommend you look into PHP as to not have to worry about the clients. Are you planning on doing this syste/database yourself? Are you familiar with doing programs? There are different ways you could go about this, just let us know your background so we can further comment. For instance if only one user was to update the data and it would be read only for the rest you could get an administration program for PostgreSQL (and there are several both free and commercial) and manually enter the data. For the output to the users I would still recommend PHP (a programming language which would not be all that difficult for you to pickup if you have done some programming). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: microcrap basic wiireless optical desktop *sighs*
ok.. it doesnt work in the console or X, i had a microsoft intellipoint somethingrather before, with a scroller and the ball ontop, 5 buttons. it worked fine, wasnt wireless though. my new one doesnt work in usb OR ps/2, it came with an adapter and my Pointers section is as follow ;] Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection On October 31, 2003 11:47 am, you wrote: > You don't mention whether you're trying to get it to work on the console > or in X. You'll need to specify which kind of mouse you had before and > what the Pointers section in your XF86Config says followed by what kind > of mouse the new one is. USB? PS/2? Chances are the mouse will indeed > work in FreeBSD, but you need to provide more info before anyone can > give you particularly helpful advice. > > Good luck, > Charles Ulrich ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Netinet6
On Fri, Oct 31, 2003 at 12:15:03PM -0700, Aaron Dalton wrote: > I have been trying to compile some C++ socket code. I get the same > errors with multiple software packages so I'm thinking it's something > FreeBSD-related. I am a BSD newb so I would appreciate any advice you > could give me. Below are the errors themselves. Thank you so much for > your time. You seem to be running -CURRENT, which is a poor choice for a "BSD newb". This particular problem was fixed earlier this week, but you'll probably encounter others at some point. Try switching to 4.9-RELEASE or 4.9-STABLE instead - see the handbook for more information about the difference between -RELEASE, -STABLE and -CURRENT. Kris pgp0.pgp Description: PGP signature
Re: error installing FreeBSD 5.1
On Fri, Oct 31, 2003 at 04:30:15PM +1030, Andrew wrote: > error mounting /dev/acd0 on /dist: Input/Output error (5) Looks like a problem reading the DVD, perhaps it did not burn properly. Kris pgp0.pgp Description: PGP signature
Re: Silent boot?
> Anyone know whether it'd be possible to cleanly disable printing the > kernel boot messages (the bold white text)? Meaning, short of > commenting out the code that prints this, is there any way? If you dont mind **NOT** having a console **AT ALL** you can comment out the system console device (see below) in the kernel config and rebuild/install a new kernel. >From /usr/src/sys/i386/conf/GENERIC : ... device sc0 at isa? flags 0x100 ... Advantage : no kernel message on console (in fact, no console! Doh!) Disadvantage : makes single user mode difficult at best :P - Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: removing tripwire reports
Mike Hogsett writes: > Read find(1). find is your friend. Or possibly newsyslog. Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Silent boot?
Anyone know whether it'd be possible to cleanly disable printing the kernel boot messages (the bold white text)? Meaning, short of commenting out the code that prints this, is there any way? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Adaptec 29160N errors
> The controller is complaining that some device in your system is > generating > PCI transactions that cannot be safely decoded because they contain parity > errors. Just moving the 160 card won't make this situation go away. You > need to find the source of these errors. Otherwise, you might as well > live with the message in your dmesg log and go on with life. > At the time of the errors there was and still is only 1 device on the controller. I have tried 2 different devices 1 internal 1 external as well as a handful of different cables. > Again, this has nothing to do with the SCSI controller, the devices > attached to it, or anything SCSI specific. Some other PCI device is > causing the problem. > the only other PCI device in the machine is the NIC. > > The BIOS for this card may be configuring it to ignore PCI parity > errors. > That was my guess as well. The 29160N has parity set to Auto, the AHA-2940 has no such option. But I have read about this issue and the 29160N cards with any NIX system, or some BSD system. Most of the issues were resolved by moving the card from one PCI slot to another. My MAIN concern is that the card controlls my Tape Backup Drive sa0... The last thing I want to have happen is all my data on the tapes be corrupt and/or un-Readable due to the parity errors ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPSec/VPN - Issues
- Original Message - From: "Tommy Forrest - KE4PYM" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 2:18 PM Subject: IPSec/VPN - Issues > I am trying to setup an IPSec connection using > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html. > > When I get to the bit about gifconfig gif0 a.b.c.d w.x.y.z (though I'm > using my real values) I get the following error: > > weedwhacker# gifconfig gif0 a.b.c.d w.x.y.z > gifconfig: interface gif0 does not exist > > FreeBSD 4.8-Release. > > Relavant Items in my kernel config: > pseudo-device gif # IPv6 and IPv4 tunneling > > #Turn on VPN > options IPSEC > options IPSEC_ESP > > Still no dice. > > Also, does Racoon support Aggressive mode? As well as PFS? > > Finally, the firewall administrator does not want to give me the IP > address of his internal interface (I'm mapping to a 10.*.*.* network). > Is this going to be a problem? > > > Tommy Forrest - KE4PYM - [EMAIL PROTECTED] > My two cents: > A hangover is the wrath of grapes > > PGP Public Key Fingerprint: A6E9 D0CB 2ABC 520A 883D 8008 F660 364A > Often, you will need to create the gifx interface manually. Just run an ifconfig gif0 create before you do your gifconfig entry. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPSec/VPN - Issues
I am trying to setup an IPSec connection using http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html. When I get to the bit about gifconfig gif0 a.b.c.d w.x.y.z (though I'm using my real values) I get the following error: weedwhacker# gifconfig gif0 a.b.c.d w.x.y.z gifconfig: interface gif0 does not exist FreeBSD 4.8-Release. Relavant Items in my kernel config: pseudo-device gif # IPv6 and IPv4 tunneling #Turn on VPN options IPSEC options IPSEC_ESP Still no dice. Also, does Racoon support Aggressive mode? As well as PFS? Finally, the firewall administrator does not want to give me the IP address of his internal interface (I'm mapping to a 10.*.*.* network). Is this going to be a problem? Tommy Forrest - KE4PYM - [EMAIL PROTECTED] My two cents: A hangover is the wrath of grapes PGP Public Key Fingerprint: A6E9 D0CB 2ABC 520A 883D 8008 F660 364A ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SNMP help
After installing the net-snmp port, add snmpd_enable="YES" to your /etc/rc.conf. Then the snmpd daemon will start upon next boot (startup script should be in /usr/local/etc/rc.d). Then do your standard Openview snmp discovery for this machine. That should be enough to get you started. If you want to change the data reported, you will need to do some reading at that point to learn how to extend the MIB. The O'reilly book on snmp is logical place to start for this. Richard Coleman [EMAIL PROTECTED] Ronnie Clark wrote: Thanks all for the suggestions. I have the port installed, but how do I configure this beast to work with OpenView? I have looked at the online docs for the port, but it is all jibberish to this newbie. Anyone have a simple to follow doc or set of guidelines to setup net-snmp to be monitored by Openview? Thanks again in advance, Ron Clark --- Dan Nelson <[EMAIL PROTECTED]> wrote: In the last episode (Oct 29), Ronnie Clark said: I have been tasked with building two new FreeBSD Servers for our enterprise. Today, I was told that they have to have the ability to be polled by OpenView. So I have to load SNMP on these servers. Any suggestions as to what I should load to accomplish this? Install the net-snmp port. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Adaptec 29160N errors
Hi all, I have a AMD ThunderBird 1 gig machine on a Abit KT7A-Raid MB. When I install my Adaptec 29160N Ultra 160 scsi card, and try to do any writing to a DDS2 tape drive, I get a screen full of Ahc0 - Parity error then I get another error stating that the card is *Reporting* the errors and not *Generating* the errors, and that parity checking will be disabled. I have tried 2 different cards in 3 PCI slots, and a hand full of different internal and external SCSI cables and terminators. The cards have the latest 3.10.0.0 Bios and the MB also has the latest and greatest bios. I have also tried a few different scsi backup drives. Finally I installed a Adaptec AHA-2940 card, and no errors. I am currently running freeBSD 5.1-Current. Thanks for any help you may be able to provide me. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: removing tripwire reports
Read find(1). find is your friend. - Mike > > > > I have a need for a script that removes tripwire reports that are over 30 day > s > old. my /var fills up quickly from them. aany clue on how to write this? > > - Noah > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Netinet6
I have been trying to compile some C++ socket code. I get the same errors with multiple software packages so I'm thinking it's something FreeBSD-related. I am a BSD newb so I would appreciate any advice you could give me. Below are the errors themselves. Thank you so much for your time. -BEGIN COMPILER OUTPUT gcc -Wall -fPIC -I../include -funroll-all-loops -ffast-math -fomit-frame-pointer -O2 -D_GNU_SOURCE -D_REENTRANT -c loopback.c In file included from nlinternal.h:31, from loopback.c:33: /usr/include/malloc.h:2: warning: #warning "this file includes which is deprecated, use instead" In file included from loopback.c:51: /usr/include/netinet/in.h:235: syntax error before `in_addr_t' /usr/include/netinet/in.h:287: syntax error before `u_char' In file included from /usr/include/netinet/in.h:469, from loopback.c:51: /usr/include/netinet6/in6.h:122: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:144: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:149: syntax error before `u_int32_t' /usr/include/netinet6/in6.h:612: syntax error before `*' /usr/include/netinet6/in6.h:613: warning: type defaults to `int' in declaration of `inet6_option_append' /usr/include/netinet6/in6.h:614: syntax error before `*' /usr/include/netinet6/in6.h:614: warning: type defaults to `int' in declaration of `inet6_option_alloc' /usr/include/netinet6/in6.h:614: warning: data definition has no type or storage class /usr/include/netinet6/in6.h:615: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:616: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:631: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:636: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:638: syntax error before `u_int8_t' loopback.c: In function `loopback_Read': loopback.c:480: warning: implicit declaration of function `ntohs' loopback.c: In function `loopback_WritePacket': loopback.c:556: warning: implicit declaration of function `htons' *** Error code 1 Stop in /home/aaron/Desktop/hawknl/src. -END COMPILER OUTPUT -- Aaron Dalton [EMAIL PROTECTED] http://aaron.finch.st ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
crontab question...
Hi guys, I was wondering if I have three script files on crontab and all they are executed at the same hour how it's function ??? I mean: # #minutehourmdaymonthwdaywhocommand # 00*** root /path/one/script1 00*** root /path/two/script2 00*** root /path/three/script3 they are executed at the same time or in order ??? thank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum on atapi raid
hi again just for the record: this really seems to be an issue with the ar device. i took one of the drives off from the promise controller (ar), attached it to the onboard controller (ad) and everything works fine. i'm cc'ing to freebsd-hackers because of this post: http://www.geocrawler.com/mail/msg.php3?msg_id=6949487&list=159 (see below). now, another question: looking at dmesg i found that ar2 is also given the device name ad7 (don't be confused by my previous post, the order of the disks changed): ar2: 117246MB [14946/255/63] status: READY subdisks: 0 READY ad7: 117246MB [238216/16/63] at ata3-slave UDMA100 so i though i might use ad7 instead of ar2 but trying to use /dev/ad7 with disklabel gives me 'Device is busy' error. please note that this is in fact no raid configuration. the disks just appear as ar because they are attached to the promise controller. hum... again, any hints how i could build a concatenated vinum volume from the single ar drives ? thanks and br, jonas Jonas Sonntag wrote: hi list i'm trying to set up a concatenated vinum volume. i read chapter 13 in the handbook and as so often i've found a nice how-to on freebsddiary.org but somehow i'm stuck. my /etc/vinum.conf file is like this: drive a device /dev/ar1h drive b device /dev/ar2h volume stuff plex org concat sd length 117239m drive a sd length 78528m drive b disklabels: # /dev/ar1c: type: ESDI disk: ar1s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 14945 sectors/unit: 240107427 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 2401074270unused0 0# (Cyl.0 - 14945*) h: 2401074270 vinum # (Cyl.0 - 14945*) # /dev/ar2c: type: ESDI disk: ar2s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 10010 sectors/unit: 160826652 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 1608266520unused0 0# (Cyl.0 - 10010*) h: 1608266520 vinum # (Cyl.0 - 10010*) fidsk also looks good: /dev/ar1: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 240107427 (117239 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 /dev/ar2: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 160826652 (78528 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 now i seem to be missing something here.. when i do vinum create -f /etc/vinum.conf what i get is: 1: drive a device /dev/ar1h ** 1 Can't initialize drive a: Operation not supported by device 2: drive b device /dev/ar2h ** 2 Can't initialize drive b: Operation not supported by device 0 drives: 1 volumes: V stuff State: down Plexes: 1 Size: 191 GB 1 plexes: P stuff.p0C State: faulty Subdisks: 2 Size: 191 GB 2 subdisks: S stuff.p0.s0 State: crashed PO:0 B Size: 114 GB S stuff.p0.s1 State: crashed PO: 114 GB Size: 76 GB messages says: /kernel: vinum: stuff.p0.s0 is crashed /kernel: vinum: stuff.p0 is faulty /kernel: vinum: stuff.p0.s1 is crashed i have 'obliterated' the volume, i have remade the devices i allways end up with "Operation not supported by device". something similar happens when i'm using the concat command to vinum: vinum -> concat -v /dev/ar1h /dev/ar2h volume vinum0 plex name vinum0.p0 org concat drive vinumdrive0 device /dev/ar1h Can't create drive vinumdrive0, device /dev/ar1h: Can't initialize drive vinumdrive0 i have come across this post: http://www.geocrawler.com/mail/msg.php3?msg_id=6949487&list=159 could that be the case with /dev/ar, too? i'm on 4.8-stable. any hints how to go on would be great. please cc me, as i'm not on the list. thanks and br jonas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
removing tripwire reports
I have a need for a script that removes tripwire reports that are over 30 days old. my /var fills up quickly from them. aany clue on how to write this? - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: microcrap basic wiireless optical desktop *sighs*
On Thu, 2003-10-30 at 23:26, [EMAIL PROTECTED] wrote: > hey.. > > i just invested my money in this product... and im beginning to wonder why > i chose microsoft =P > > anywho... the keyboard works great, other than the fact that i gotta deal > with the different layout of the keys =PP lol ill live... but the mouse.. > the mouse.. i think its a fbsd related prob cuz when i push the button on > the wireless reciever , then the connect on the mouse, the lights stop > blinking, showing its connected.. but no cursor moves on the screen... > *shrusg* maybe i need a driver... or something.. maybe i need to get a > refund.. lol.. well.. hope i can et an answer asap.. tyvm > > Sean You don't mention whether you're trying to get it to work on the console or in X. You'll need to specify which kind of mouse you had before and what the Pointers section in your XF86Config says followed by what kind of mouse the new one is. USB? PS/2? Chances are the mouse will indeed work in FreeBSD, but you need to provide more info before anyone can give you particularly helpful advice. Good luck, Charles Ulrich -- http://bityard.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Machine locks in "Probing devices..." (4.9-RELEASE)
Hello, I'm installing 4.9-RELEASE into a (marginally) older Compaq computer (Presario 7000 series, Pentium III 1GHz). Well, booting off the CD doesn't work (a 4.8-RELEASE disc does); so I had to go with the floppy method. Way after the MFS is loaded, this machine seems to lock up in the "Probing devices" phase. How much time does that take? Is there a way for me to see what's locking up the probing? Best regards, Carlos. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Video crash leaving X in 4.9-RELEASE
Has anyone else seen this? I've got an issue where my video goes totally fubar on me, that is to say becomes entirely scrambled when leaving X after upgrading to 4.9. This happens with both KDE and WindowMaker. The really funny thing is, is that the X server seems to exit normally, with nothing in the log (that I can recall) and when I ssh in from another computer the only thing running on the other tty is bash. I'm running a GeForce FX5900 Ultra using the nvidia driver. Has anyone seen this one? chris P.S. I'd put up uname and all the log info, but my friggin IP changed and I can't ssh into my system from here to get it. If needed, I will put them up this evening. __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: about PAE questions under 4.9R
On Fri, Oct 31, 2003 at 10:51:58AM +0800, Suken Woo wrote: > hi,folks: > There are few confuses with me after cvsupd(10.28.2003) to 4.9R > I found that in my GERNERIC/LINT file i couldn't find > anything about PAE options :( and I found these 2 > files modified date is: > -rw-r--r-- 1 root wheel 9763 4 28 2003 /sys/i386/conf/GENERIC > -rw-r--r-- 1 root wheel 104976 10 23 03:04 /sys/i386/conf/LINT > it seems that cvsup didn't update thes 2 files??? It did, but there was nothing to cvsup. man pae. Kris pgp0.pgp Description: PGP signature
Re: Fwd: Re: kernel "make" error.
On Thu, Oct 30, 2003 at 04:36:14PM -0800, Paul Beard wrote: > Reply-to: risto phario <[EMAIL PROTECTED]> > > > From: risto phario <[EMAIL PROTECTED]> > TO: paul beard <[EMAIL PROTECTED]> > CC: > Date: Thu Oct 30, 2003 11:38:05 AM PST > Subject: Re: kernel "make" error. > > Ok, I have attached the error msg. Thanks. You've made the common mistake of not reading the comments in the kernel config file when editing it, and you have removed support for a system that is required by other systems in your config file. Compare to GENERIC or LINT to see what you have missed. Kris pgp0.pgp Description: PGP signature
Re: ICMP being blocked by ATT
Ive still got my traffic blocked for that reason - the second I drop the filter the pipes plug up.. On Fri, 31 Oct 2003, Derek Zeanah wrote: > > >I was chatting with our internet provider who gets their feed from ATT, > >he notified me that they are blocking all ICMP protocols. > >By gosh by golly, I can't ping, tracert, nothing... Is this new? > >Shall I complain? > > > > I'm not sure you'll be able to do much. > > You remember that last batch of Microsoft RPC worms? There was another > that followed it up, supposedly designed to "fix" the vulnerability, but > that's questionable. Anyway, this follow-up (called Welchia, among > other things) has a nasty habit of causing pingstorms. It wants to ping > the entire IP address space sequentially, from what I can tell, looking > for new hosts to try and infect. > > I've seen one infected machine consume so much bandwidth that no-one > else could access the T1, going through each IP sequentially... > > Anyway, my ISP (Megapath) shut off ICMP traffic temporarily to make the > network usable gain; now tracert's coming from outside the network > behave as advertized, but anything initiated within the network gets > stomped. AT&T is probably doing the same, and I doubt they'll change > anything until Welchia runs its course. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ICMP being blocked by ATT
I was chatting with our internet provider who gets their feed from ATT, he notified me that they are blocking all ICMP protocols. By gosh by golly, I can't ping, tracert, nothing... Is this new? Shall I complain? I'm not sure you'll be able to do much. You remember that last batch of Microsoft RPC worms? There was another that followed it up, supposedly designed to "fix" the vulnerability, but that's questionable. Anyway, this follow-up (called Welchia, among other things) has a nasty habit of causing pingstorms. It wants to ping the entire IP address space sequentially, from what I can tell, looking for new hosts to try and infect. I've seen one infected machine consume so much bandwidth that no-one else could access the T1, going through each IP sequentially... Anyway, my ISP (Megapath) shut off ICMP traffic temporarily to make the network usable gain; now tracert's coming from outside the network behave as advertized, but anything initiated within the network gets stomped. AT&T is probably doing the same, and I doubt they'll change anything until Welchia runs its course. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: simple&silly wish to know port dependency.
On Saturday 01 November 2003 03:45, Zhang Weiwu wrote: > Hello. When I make deinstall a port I often get the message: > port xxx depends on this port, but I'll still deinstall it anyway. > > That's really frustrating. I'd like to be able to know who depends on it > before de-installing it. Any suggestions? > > Look through the handbook I didn't find an answer. Look into the Makefile. There is likely a line starting with BUILD_DEPENDS and one with RUN_DEPENDS. What follows these variable names are lists of files the program depends on, and (separated with a colon) the port that must be installed to get it. Daniela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help With 'find' Syntax
- Original Message - From: "David Carter-Hitchin" <[EMAIL PROTECTED]> To: "Drew Tomlinson" <[EMAIL PROTECTED]> Cc: "FreeBSD Questions" <[EMAIL PROTECTED]> Sent: Thursday, October 30, 2003 5:55 PM Subject: Re: Help With 'find' Syntax > Hi Drew, > > This should find all files created or modified on 25th October: > > find / -mtime 6 -ls -o -ctime 6 -ls > > (As today is 31st October which is 6 days after 25th. You may need to > widen your search a little with a seperate search with 7 as the paramter > as 6 may not catch files that were created over 6 * 24 hours ago (but were > still on the 25th); not sure about that). Thank you for your reply. I tried your suggestion and it seems to get what I want. However there are so many little files that I thought I'd modify the command to: find /usr \( -mtime 6 -ls -size 100 \) -o \( -ctime 6 -ls -size 100 \) -print If I understand the '-size' primary correctly, this means I would find files that are '100 512-byte blocks' in size or '50k'. Yet I still get output like this: 7621552 -r--r--r--1 root wheel 928 Oct 25 15:12 /usr/local/man/man3/pcre_compile.3.gz 7621552 -r--r--r--1 root wheel 928 Oct 25 15:12 /usr/local/man/man3/pcre_compile.3.gz (And why is this file listed twice, anyway?) So I guess my question is "how can I find files created or modified on Oct. 25 and are larger than ?" Thanks for any help. This is really confusing to me. Drew > > HTH, > David > > On Wed, 29 Oct 2003, Drew Tomlinson wrote: > > > On October 25, my /usr partition lost nearly 50% of it's available space. > > This disk hasn't had any significant size changes since I built the system > > as it basically serves as a gateway. > > > > I'm trying to use the find command to determine what may have been written > > to the disk but am not having any luck. I see primaries such > > as -atime, -mtime, -ctime, and -newer and have read the man pages but do not > > understand what the best combination to find those files. Basically how do > > I use 'find' to show me all file that were created or modified on October > > 25? I've tried commands such as "find /usr \( -newerct 4d \! -newerct 3d > > \) -print" but nothing is returned. > > > > Thanks, > > > > Drew > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > > > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-CURRENT panic: lockmgr locking against myself
One of my boxes, running: FreeBSD 5.1-CURRENT #0: Tue Oct 21 23:17:38 EDT 2003 froze, then paniced recently. While I was not able to get to the debugger, I did see lockmgr: locking against myself flash by on the screen. A little bit of research takes me to kern/44585 ... but involved threading, about which I am ignorant but don't think I'm doing much/any of. It's also marked "closed" at least a week before my kernel build. (I update the source tree nightly.) A core dump - 500mb+ - is available. Not having experience with dumps, where do I go from here? Robert Huff ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what happens when connection is lost ?
> On Oct 31, 2003, at 11:54 AM, M.D. DeWar wrote: > > Hello, > > If I am logged in on a FreeBSD machine with ssh. > > And doing say a ./configure or make and I lose connection does that > > stop > > what I was doing ? > > In general, yes-- what happens is that a broken connection results in a > hangup (HUP) signal being sent to the process group containing ssh, > your shell, and whatever commands might have been running. > > > data get corrupted etc ? > > Generally not. The point of the HUP signal is to allow processes to > shut down cleanly. See "man nohup", "man signal" > Also consider installing screen from packages/ports. screen will keep running if youy lose your connections allowing you to reconnect to it when you reconnect. > -- > -Xhuxk > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what happens when connection is lost ?
On Oct 31, 2003, at 11:54 AM, M.D. DeWar wrote: Hello, If I am logged in on a FreeBSD machine with ssh. And doing say a ./configure or make and I lose connection does that stop what I was doing ? In general, yes-- what happens is that a broken connection results in a hangup (HUP) signal being sent to the process group containing ssh, your shell, and whatever commands might have been running. data get corrupted etc ? Generally not. The point of the HUP signal is to allow processes to shut down cleanly. See "man nohup", "man signal" -- -Xhuxk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
what happens when connection is lost ?
Hello, If I am logged in on a FreeBSD machine with ssh. And doing say a ./configure or make and I lose connection does that stop what I was doing ? data get corrupted etc ? Thanks Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: x
Hi, I'd say, try to run xf86config or start the graphical configuration from /stand/sysinstall . Good Luck. - Original Message - From: "Gottfried wilhelm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 2:15 AM Subject: x Hello, i have freeBSD but i can't run the X with startx comand, when i write it and push enter "fatal error" is displayed. What can i do? my computer is a compaq presario laptop. - Do You Yahoo!? Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall for VoIP box
> "DM" == Dmitry Mishchenko <[EMAIL PROTECTED]> writes: DM> - second card has another real IP (lets say 65.1.1.2) and connected to DM> Quintum VoIP box. Personally, I would *never* put my quintum on a public IP even with a firewall in front of it i run mine inside a NAT'd LAN, and let remote sites access it via the VPN, so they also have inside-the-LAN IP numbers. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera Communications, Inc. Internet: [EMAIL PROTECTED] Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
x
Hello, i have freeBSD but i can't run the X with startx comand, when i write it and push enter "fatal error" is displayed. What can i do? my computer is a compaq presario laptop. - Do You Yahoo!? Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to start NFS server from FreeBSD Jail environment.
Hi everybody, I am relatively new to FreeBSD, so please pardon me if this question is not appropriate for this mailing list. My question pertains to FreeBSD jail environments. I am unable start an NFS server from within a FreeBSD jail. I have configured the jail environment to allow sshd and telnet, but I am unable to export file systems from the jail. My logs and configuration are as follows: /var/log/messages (Jail Environment): Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for / Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for /usr/testbed Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for /ops-jail Oct 31 09:36:00 emulite2 mountd[210]: can't delete exports for /var Oct 31 09:36:00 emulite2 mountd[210]: can't change attributes for /usr Oct 31 09:36:00 emulite2 mountd[210]: bad exports list line /usr -alldirs leaningtower Oct 31 09:36:00 emulite2 nfsd:[230]: nfssvc: Operation not permitted Oct 31 09:36:00 emulite2 nfsd:[231]: nfssvc: Operation not permitted Oct 31 09:36:00 emulite2 nfsd:[214]: can't Add UDP socket Oct 31 09:36:00 emulite2 nfsiod:[237]: nfssvc: Operation not permitted Oct 31 09:36:00 emulite2 nfsiod:[238]: nfssvc: Operation not permitted CONFIGURATION: Parent Machine: Pentium 1.5 GHz., 3Com (xl0) 10/100 interface, FreeBSD 4.8-RELEASE Jail Environment: Runs on an independent hard disk, mounted by the Parent, has network connectivity (network interface is aliased from Parent's interface), successfully runs sshd. Here is an 'rpcinfo -p' done on the jail: 102 tcp111 portmapper 102 udp111 portmapper 153 udp 1008 mountd 153 tcp 1021 mountd 151 udp 1008 mountd 151 tcp 1021 mountd 132 udp 2049 nfs 133 udp 2049 nfs 1000241 udp998 status 1000241 tcp 1020 status Here is the Jail's /etc/exports file: /usr-alldirsleaningtower I would would appreciate any advice/pointers in this regard. Thank you, Prashant __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mod_ssl port and FreeBSD 5.1
Has anyone gottent the /usr/ports/www/apache13-modssl port to compile lately? What am I doing wrong? I have litterally reloaded FreeBSD 5.1 and cvsuped and still can't get the port build. Here's what I did: 1) Wiped HD clean 2) re-installed FreeBSD 5.1 via FTP, & installed cvsup 3) cvsuped to update the /usr/ports & /usr/src 4) rebuilt the world & kernel 5) rebooted 6) attempted to build /usr/ports/www/apache13-modssl It ALWAYS stops here (before AND after the new install of the OS: lite -O -pipe -mcpu=pentiumpro `../apaci` ap_fnmatch.c ap_fnmatch.c: In function `ap_fnmatch': ap_fnmatch.c:143: `FNM_CASE_BLIND' undeclared (first use in this function) ap_fnmatch.c:143: (Each undeclared identifier is reported only once ap_fnmatch.c:143: for each function it appears in.) ap_fnmatch.c: In function `rangematch': ap_fnmatch.c:190: `FNM_CASE_BLIND' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28/src/ap. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28/src. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28. *** Error code 1 Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.28. *** Error code 1 Stop in /usr/ports/www/apache13-modssl. Please help. Matt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.x Works, 4.x Fails ..
On Tue, Oct 28, 2003 at 02:24:38PM +0100, Wout A. wrote: > Hi, > I'm trying to install FreeBSD 4.9-RC4 on a amd k6/2 333mhz with a seagate > 10gb hdd > and 64M ram. > When I partition my hdd and it 'should' start formatting the disk, I get > these errors: > > "Unable to swap to /dev/ad0s1b: invalid arg" > "Unable to make new root fs on /dev/ad0s1a!" > "Couldn't make fs properly. Aborting" > > while i get this in my debug screen : > > ad0s1: cannot find label (disk label corrupted) > DEBUG: Scanning disk ad0 for rootfs > DEBUG: found rootdev at ad0s1a! > DEBUG: found vardev at ad0s1e! > DEBUG: found tmpdev at ad0s1f! > DEBUG: found usrdev at ad0s1g! > DEBUG: Scanning ad0 for swap partition > DEBUG: Found swapdev at ad0s1b! > > ad0s4: slice extends beyond end of disk, truncating. ... > ad0: cannot find label disk label corrupted) > ad0s1: cannot find label disk label corrupted) > DEBUG: Notify: Making a new root fs on /dev/ad0s1a > DEBUG: Execute command 'newfs -b 16384 -f 2048 /dev/ad0s1a' > ... > newfs: /dev/ad0s1a invalid argument > DEBUG: Command 'newfs -b 16384 -f 2048 /dev/ad0s1a' returned status of 1 > > I get the same with FreeBSD 4.6-R and 4.8-R, but in OpenBSD 3.3 and FreeBSD > 5.1 it > works flawless... I don't understand, isn't there a way for me to install > FreeBSD 4.x ??? Probely, but if 5.1 works for you flawless then don't bother downgrading. You are forced to switch back in a half year anyway. The five brange is very close to being called stable. Just be a bit carefull with upgrading in the mean time. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: http from command line
On Fri, Oct 31, 2003 at 12:44:21AM + Rus Foster <[EMAIL PROTECTED]> wrote: > On Thu, 30 Oct 2003, Gregory Stearns wrote: > > > I hate to be a pest but is there a utility to do http web browsing from the > > command line, and how would I use it? > > Try lynx or links Also, w3m is quite nice. -- David S. Jackson[EMAIL PROTECTED] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The past always looks better than it was. It's only pleasant because it isn't here. -- Finley Peter Dunne (Mr. Dooley) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: request for comments
On Wed, Oct 29, 2003 at 10:08:21AM +0200, molotov wrote: > Hello, > > I've been looking for some assistance regarding hardware support, but I > can't find any. Sorry for repeated posts, but if you can, please read > the following message at http://news.gw.com/freebsd.hardware/3909 Sorry but i'm unable to use a webbrouwser. > Your help will be appreciated. > Thank you in advance and best regards, > > Simonas Kareiva Have you looked at the FreeBSD handbook? It has a port about supported hardware. http://www.freebsd.org/handbook/ -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmail problem
On Wed, Oct 29, 2003 at 07:05:40PM -0800, Bugarin Luis wrote: > sir/madame, > > I didn't touch any of the configuration on my > > sendmail, running of freebsd4.5 but when i noticed i > > never received massage from any of the subcriptions Sendmail is closed by default for outsite traffic in the intrest of handling spam. Are you sure you need sendmail and not fetchmail or getmail? If you have a mailbox at a provider you need either fetchmail or getmail; they are in the ports under mail. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: when I invoke startx, it seems to 'freeze' for a minute orso,then starts
On Thu, Oct 30, 2003 at 12:28:28PM +0100, [EMAIL PROTECTED] wrote: > Hi, > > I just installed a port (fluxconf).That port installed Xfree86 Libraries 4.3.0. > Since then,when I invoke startx, it seems to 'freeze' for a minute or so, > then it starts the window manager. I have the same with KDE it just takes a minute. I consider it normal. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
wake-on-lan support?
Hi, is wake-on-lan possible on a PC running FreeBSD? I want to boot my FreeBSD-PC with wake-on-lan. In Linux there is a problem with many drivers because they disable wake-on-lan. Only a few drivers give the possibility to enable this feature. What about FreeBSD? Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Pre-installation question (was Re: Question, I am new to FreeBSD.)
On Thu, Oct 30, 2003 at 04:24:33AM -0800, Shailesh Joshi wrote: > Hi, > I want to install FreeBSD on my home PC. I have > instlled Red Hat Linux currently on my PC. > > My question is i want to get all files for > installation (i.e. all ports), where can i get them in > one shot or is there any location where i can get all > ports for FreeBSD. > These ports include JBoss, EClipse, etc, etc, > > > Shailesh The handbook is a good place to start, but you proberbly wan't to have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html. The two most populair options to install FreeBSD over the internet with two floppydisks or with a CD. The main full CD has the most populair packages and all the ports recipies on board. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Should I upgrade to 4.9?
On Wed, Oct 29, 2003 at 05:52:09PM -0500, Dragoncrest wrote: > I'm upgrading all my workstations to 4.9 tonight, but I have a small > mail server (p120 with 120m ram) that's running 4.8 that does nothing more > than fetch mail, sort it, scan it, then deliver it locally for me to pick > up at my leisure. I'm wondering if it would be in my best interests to > leave it at 4.8 for right now or go ahead with the 4.9 upgrade. The mail > server is my only mission critical machine right now, so that's why I'm > asking this. It's the only box I can't afford to have go down. Any help > or suggestions is welcome. Thanks. Rigth now your better of waiting. You have a firewall on that computer right? Your better off switching to 4.9 in one or two months. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with new laptop touch pad
On Thu, 2003-10-30 at 23:25, Frank Knobbe wrote: > My Dell Inspiron 8100 has a Synaptics Touchpad. There was nothing > special that needed to be done. It is found like any other PS/2 mouse as > psm0. Isn't that found during startup on your box? Check your messages > log file or "dmesg | grep psm0". It works now. Boot without ACPI and it finds it. I started thinking and I thought, I haven't booted this thing without ACPI support yet. Thanks for responding. -- Ray Seals <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kernel "make" error.
"risto phario" <[EMAIL PROTECTED]> writes: > Hi, I was hoping you could help me out a bit. I am new to FreeBSD > and was trying to compile a custom kernel. I ran config on it and > everything went good. I did make depend, and everything went > good. Then I did make and it gave me an error. I am new to FreeBSD > so I have no idea what to do. I have attched a copy of my custom > kernel "MYKERNEL". Any help with this problem would be great!!! > Thank you. You removed SCSI, but not the SCSI-based RAID controllers. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: simple&silly wish to know port dependency.
On Sat, Nov 01, 2003 at 11:45:22AM +0800, Zhang Weiwu wrote: > Hello. When I make deinstall a port I often get the message: > port xxx depends on this port, but I'll still deinstall it anyway. > > That's really frustrating. I'd like to be able to know who depends on it > before de-installing it. Any suggestions? > > Look through the handbook I didn't find an answer. There is that a port that handels this for you. It called portupgrade and is in the sysutils directory. Pkg_deinstall package doesn't deinstall a package when its requered by another, however error do take place. (All ports become packages afther there compiled.) -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Firewall for VoIP box
Hello, We have the following configuration: FreeBSD router with 2 network cards. - first card has a real IP and connected to internet (lets say 65.1.1.1). There is a ipfw firewall which control traffic to this card. - second card has another real IP (lets say 65.1.1.2) and connected to Quintum VoIP box. VoIP box has also its own real IP (lets say 65.1.1.3). How should firewall be configured for card #2 for allowing VoIP traffic? What ports should be open for normal VoIP work? Thanks, Dmitry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: p5-DBD-ODBC build error
+-le 29/10/2003 11:05 -0800, Dave McCammon écrivait : | FreeBSD 4.8-STABLE #0: Thu Aug 14 15:55:21 EST 2003 | on i386 arch. | | When try to make install in /usr/ports/p5-DBD-ODBC | | In file included from dbdodbc.h:7, | from ODBC.h:9, | from ODBC.xs:1: | Any help is appreciated. I've just rebuilt it with all 3 perls, and I can't reproduce this. Can you make clean before retrying ? What version of libiodbc do you have ? -- Mathieu Arnold pgp0.pgp Description: PGP signature
Re: vinum enabled freebsd fresh install
sincere apologies for sending out this... as http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/ answered me very well. sorry for the trouble. S H A N On Fri Oct 31, 2003 at 06:53:48PM SGT, S H A N wrote: > hi, > i got a machine with 2 drives (each 17G, identical specs) > and i want to install FreeBSD. > > my question is... i would like to use vinum mirroring > (RAID 1) right from the begining so is there any resources > avaiable for step by step install instructions for vinum > enabled setup? > > or if it is not possible at all? > > thanks. > > S H A N ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vinum enabled freebsd fresh install
hi, i got a machine with 2 drives (each 17G, identical specs) and i want to install FreeBSD. my question is... i would like to use vinum mirroring (RAID 1) right from the begining so is there any resources avaiable for step by step install instructions for vinum enabled setup? or if it is not possible at all? thanks. S H A N ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
running log program
This message I posted before but as a reply. Thought that was easy to. Now it shows up in some thread that has nothing to do with this. Anyways. As I said before I like running and Im looking for a program to keep track of my training. Anyone know of a program running on FreeBSd? -- tnx, robert tan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
running log program
Hi, I like running, and am looking for a program that will help me keep track of my training. Does anyone know of a good program that I can run on FreeBSD. -- tnx, robert tan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SNMP help
On Thu, Oct 30, 2003 at 08:37:09PM -0500, Joe Marcus Clarke wrote: > On Thu, 2003-10-30 at 17:59, Ronnie Clark wrote: > > Thanks all for the suggestions. I have the port > > installed, but how do I configure this beast to work > > with OpenView? I have looked at the online docs for > > the port, but it is all jibberish to this newbie. > > Anyone have a simple to follow doc or set of > > guidelines to setup net-snmp to be monitored by > > Openview? > There is nothing so special about HP OpenView - it's just an SNMP manager. They will poll whater it's neccessary from daemon running on your FreeBSD as long as you provide them with appropriate access level in your snmpd.conf. Following could be reasonable start for your /usr/local/share/snmp/snmpd.conf: # syslocation "Room X, Rack Y, second from the top" syscontact "Ronnie Clark , your_telephone" sysservices 76 # # ACL # # name= source community com2sec me localhost VerySecret com2sec hpov Pass4HPOpenView com2sec default default public group meROv1 me group meROv2c me group hpovRO v1 hpov group hpovRO v2c hpov group defaultRO v1 default group defaultRO v2c default # incl/excl subtree mask viewall included.1 80 viewcontact included.iso.org.dod.internet.mgmt.mib-2.system.sysContact # Gname context model level prefix readwrite notif access meRO"" any noauth exact all all none access hpovRO "" any noauth exact all nonenone access defaultRO "" any noauth exact contact nonenone #-- end Kind regards, Ilya Varlashkin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: openssh in 4.9
On Fri, Oct 31, 2003 at 08:55:15AM +, Wayne Pascoe wrote: > On Thu, Oct 30, 2003 at 10:22:06AM -0800, Kris Kennaway wrote: > > Please read the security advisory. > > I've read the advisory. It states a couple of workarounds (which I > enabled at the time anyway) and also states that the problem is > rectified in -STABLE beyond a certain date. > > However, looking at the openssh advisory's, the only fix is to be > running a version 3.7.1p1 or later. So I'm confused. Have the FreeBSD > team backported these fixes into 3.5.1 ? Yes, that's why the FreeBSD advisory says the problem was rectified in -STABLE beyond a certain date ;-) > One of my problems is that some of my clients occasionally have 3rd > parties perform penetration testing on our servers. I need an > explanation for when the 3rd party comes back and says that I am running > a vulnerable ssh. Compare the version string to an unpatched openssh version...they are not the same. Kris pgp0.pgp Description: PGP signature
Probs with racoon
Hi, i have a number of machines for vpn. today i tried to run a new server for vpn, but i have a strange error in racoon.log ERROR: isakmp_inf.c:776:isakmp_info_recv_n(): unknown notify message, no phase2 handle found. i run ipsec between FreeBSD 4.8-p13 and Cisco PIX where is problem? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: openssh in 4.9
On Thu, Oct 30, 2003 at 10:22:06AM -0800, Kris Kennaway wrote: > Please read the security advisory. I've read the advisory. It states a couple of workarounds (which I enabled at the time anyway) and also states that the problem is rectified in -STABLE beyond a certain date. However, looking at the openssh advisory's, the only fix is to be running a version 3.7.1p1 or later. So I'm confused. Have the FreeBSD team backported these fixes into 3.5.1 ? One of my problems is that some of my clients occasionally have 3rd parties perform penetration testing on our servers. I need an explanation for when the 3rd party comes back and says that I am running a vulnerable ssh. Regards, -- Wayne Pascoe Everything to excess. To enjoy the flavour of life, take big bites. Moderation is for monks. - Robert Heinlein ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why stop_cmd=":" in /etc/rc.d/pccard ?
Hi all, why does /etc/rc.d/pccard say stop_cmd=":" in CURRENT? This obviously does not 'stop' pccardd. As a consequence, '/etc/rc.d/pccard restart' gives you two pccardd's running. Thanks Jan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"