remote backup suggestions?
Can anyone suggest a reliable strategy for remote backup of a freebsd VPS (a single virtual server under VPS)? I would like to backup a remote server onto my Macintosh (could be MacOS X) client's hard disk. It would be nice to have incremental capability to reduce backup time. A synchronize approach might be even nicer. Note that the users/groups oHEIG local would not match the server. Thanks, Kurt Bigler To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: vinum documentation
Greg 'groggy' Lehey wrote: On Saturday, 30 November 2002 at 8:39:44 +, Adam Laurie wrote: Greg 'groggy' Lehey wrote: describe the procedure for unplugging the external chassis from machine A, and plugging it into machine B, and bringing up the vinum RAID without re-initialising it (i.e. preserving the data already on it). 1. On machine A, stop Vinum. Depending on the hardware, you may need to shut down. 2. Remove the chassis from machine A. 3. Connect the chassis to machine B. Depending on the hardware, you may need to shut down. 4. If you haven't rebooted machine B, run camcontrol rescan on the SCSI bus to discover the new disks. 5. Run 'vinum start'. are you saying that at this point vinum will scan all disk busses and decide for itself that the raid exists, and reconstruct /dev/vinum? Yes. i know you've said in a previous post that /dev/vinum isn't important, but since it contains mount points etc, i assume it's reasonably vital... anyway, our experience when we complete the steps above was that /dev/vinum/raid1 etc. didn't exist, so we couldn't mount the volume, which is why we went on to perform the other steps i described. It looks like you got confused at some point. It's unlikely that you can still reconstruct what happened. yes, i think you are right. however, it is clear to me now why we got confused... since we didn't understand the relationship between vinum and it's devices, we didn't expect it could work until the devices existed, so went down the route of trying to create them before attempting a vinum start... since this unusual relationship isn't explained in the docco, it might be worth adding a paragraph on /dev/vinum and/or a one-liner in the 'start' section to say the devices will be created if they don't exist already... anyway, thatnks for your help in resolving this. it has been most useful. cheers, Adam -- Adam Laurie Tel: +44 (20) 8742 0755 A.L. Digital Ltd. Fax: +44 (20) 8742 5995 The Storeshttp://www.thebunker.net 2 Bath Road http://www.aldigital.co.uk London W4 1LT mailto:[EMAIL PROTECTED] UNITED KINGDOMPGP key on keyservers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
On Wed, 4 Dec 2002, Terry Lambert wrote: grep -B 7 KVA_ /sys/i386/conf/LINT -- Terry Thanks a lot Terry, and will you please correct me if I'm wrong, so I don't mess anything up on a production server? The kernel option in question is KVA_PAGES, correct? Because it's not defined in the custom server's kernel then it's value default to 256 (FreeBSD 4.5-STABLE), which makes the KVA space to occupy 1G. Then if I make KVA_PAGES=512 (KVA space 2G), will it solve the problem for this particular server having 4G of phisical memory, or must KVA_PAGES be 768 (KVA space 3G)? Have some other options to be tuned besides KVA_PAGES? Thanks again Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
Varshavchick Alexander wrote: On Wed, 4 Dec 2002, Terry Lambert wrote: grep -B 7 KVA_ /sys/i386/conf/LINT Thanks a lot Terry, and will you please correct me if I'm wrong, so I don't mess anything up on a production server? The kernel option in question is KVA_PAGES, correct? Yes. Because it's not defined in the custom server's kernel then it's value default to 256 (FreeBSD 4.5-STABLE), which makes the KVA space to occupy 1G. Then if I make KVA_PAGES=512 (KVA space 2G), will it solve the problem for this particular server having 4G of phisical memory, or must KVA_PAGES be 768 (KVA space 3G)? Have some other options to be tuned besides KVA_PAGES? IMO, KVA need to be more than half of physical memory. But I tend to use a lot of mbufs and mbuf clusters in products I work on lately (mostly networking stuff). If you don't tune kernel memory usage up, then you may be able to get away with 2G. So: 2G might be OK, 3G would be more certain, given you are cranking some things up, in the config you posted, that make me think you will be eating more physical memory. If you follow the 1.5 rule, then you will have 6G of swap when you have 4G of physical RAM, and will definitely need to go for 3G of KVA space. Note, though: all space you add to KVA is subtracted from the process address space, so if you need big processes, sometimes you are better off with less physical RAM, and a larger user virtual address space. For other tuning information, see also man tuning. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
-O3 optimization?
Hi I wonder if a source is compiled with -O3 without any problems, might there be any problems in binaries which might create crashes? Evren To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sendmail and localhost
Hello everybody, I've got some problems with sendmail. Going through logs I've found that sendmail identifies itself as localhost.domain. where I would expect it should be just [localhost]. Dec 5 13:09:00 watchdog sm-msp-queue[339]: gB5A016S000321: to=xxx@domain, ctladdr=xxx (x/x), delay=00:08:59, xdelay=00:00:00, mailer=relay, pri=120314, relay=localhost.domain. [127.0.0.1], dsn=2.0.0, stat=Sent (gB5A90GS000340 Message accepted for delivery) I believe that it just canonify the localhost name by appending domain. to it. Because when I change /etc/hosts from 127.0.0.1 localhost to 127.0.0.1 localhost. I get: Dec 5 12:12:41 watchdog sendmail[247]: gB59CfNb000247: to=xxx@domain, ctladdr=x (x/x), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30036, relay=[localhost] [127.0.0.1], dsn=2.0.0, stat=Sent (gB59CfQo000248 Message accepted for delivery) Sounds really strange because testing rules gives me the following: $ sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter ruleset address 3 localhost canonify input: localhost Canonify2 input: localhost Canonify2returns: localhost canonify returns: localhost So the question is why do sendmail canonify the localhost name? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: patching a file
# [EMAIL PROTECTED] / 2002-12-04 16:22:03 +: On Wed, Dec 04, 2002 at 09:46:40AM -0600, Kirk R. Wythers wrote: Problem is, I confused over how to apply a patch to something in the ports system. My ports tree is up to date, but I dont't see the source in /usr/ports/converters/recode that the patch should be applied to. Also, running file on /usr/ports/distfiles/recode-3.6.tar.gz returns file is empty. I thought that I could unpack the tarball manually apply the patch, then tar it back up and build the port. I seem to be all wet on this. No --- the source tarball will be downloaded to /usr/ports/distfile (make fetch) from whence it will be compared to the pre-recorded checksum (make checksum), and then untarred into the work directory make extract and the patches applied (make unpack). make patch or has it changed lately? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Please update your webpage
# [EMAIL PROTECTED] / 2002-12-04 14:39:37 -0500: Salem State College has changed its domain name to salemstate.edu. The old domain salem.mass.edu is being eliminated. We have determined that the following pages on your site contain links to salem.mass.edu; http://btcips73x1.cip.uni-bayreuth.de/ru/ports/ruby.html Please update those pages to reflect this change. If you have any questions please feel free to contact us directly at [EMAIL PROTECTED] Thanks for the update. To ensure that your request is handled properly, please file a PR at http://www.freebsd.org/send-pr.html. The affected port is devel/ruby-locale. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: hi there =)
Today Miguel haber wrote: Hi I just have a problem... I'm behind an http proxy, it's 10.1.1.1 port 8080.. this is the scan of the proxy: bash-2.05b$ nmap -P0 10.1.1.1 Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on (10.1.1.1): (The 1585 ports scanned but not shown below are in state: filtered) Port State Service 21/tcp openftp 110/tcpclosed pop-3 389/tcpopenldap 443/tcpclosed https 445/tcpclosed microsoft-ds 1002/tcp openunknown 1720/tcp openH.323/Q.931 5050/tcp closed mmcc 5190/tcp closed aol /tcp closed irc-serv 6667/tcp closed irc 6668/tcp closed irc 6699/tcp closed napster 6969/tcp closed acmsoda 7000/tcp closed afs3-fileserver 8080/tcp openhttp-proxy Nmap run completed -- 1 IP address (1 host up) scanned in 422 seconds bash-2.05b$ As you see the port 8080 is open .. and I put this export HTTP_PROXY=10.1.1.1:8080 in .shrc so when I try to install something from ports it connects to the proxy and fetch the file. and that worked ..see this when i was installing epic4: migz# make epic4-1.0.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/epic4. Attempting to fetch from ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/. fetch: epic4-1.0.1.tar.bz2: size of remote file is not known Receiving epic4-1.0.1.tar.bz2: 32768 bytes You see it connects to the ftp server through proxy cause i found: bash-2.05b$ sockstat -4 USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root fetch 6643 tcp4 192.168.10.102:3686 10.1.1.1:8080 -- this The problem is .. when I try to ftp manually i get 421 remove server has closed the connection.. cause it doesn't connect to the ftp server through proxy.. check this: $ ftp ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/ Connected to epicsol.org. 421 Service not available, remote server has closed connection. Did you read the ftp man page? ftp: Can't connect or login to host `ftp.epicsol.org' $ in the same time i see: USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS migz ftp6773 tcp4 192.168.10.102:3687 209.100.173.7:21 -- it doesn't connect through the proxy server.. The question is how to make ftp and ssh connect through the proxy server 10.1.1.1:8080 ? What is exactly listening on port 8080? Squid? Socks? Squid is a http only proxy. For ssh, telnet, ftp, etc. you need Socks5 or NAT, it wouldn't work with a http-only proxy. -andrew I hope you reply as soon as possible. Thanks. P.S.: Please break the lines below 80 char if it's not a source code. Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sendmail and localhost
Today Andrey Nepomnyaschih wrote: Hello everybody, I've got some problems with sendmail. Going through logs I've found that sendmail identifies itself as localhost.domain. where I would expect it should be just [localhost]. Dec 5 13:09:00 watchdog sm-msp-queue[339]: gB5A016S000321: to=xxx@domain, ctladdr=xxx (x/x), delay=00:08:59, xdelay=00:00:00, mailer=relay, pri=120314, relay=localhost.domain. [127.0.0.1], dsn=2.0.0, stat=Sent (gB5A90GS000340 Message accepted for delivery) I believe that it just canonify the localhost name by appending domain. to it. Because when I change /etc/hosts from 127.0.0.1 localhost to 127.0.0.1 localhost. The first one is relative, the second is absolute path. I think, in the second case is nothing to canonify. I get: Dec 5 12:12:41 watchdog sendmail[247]: gB59CfNb000247: to=xxx@domain, ctladdr=x (x/x), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30036, relay=[localhost] [127.0.0.1], dsn=2.0.0, stat=Sent (gB59CfQo000248 Message accepted for delivery) Sounds really strange because testing rules gives me the following: $ sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter ruleset address 3 localhost canonify input: localhost Canonify2 input: localhost Canonify2returns: localhost canonify returns: localhost So the question is why do sendmail canonify the localhost name? See the docs for FEATURE(`nocanonify', `canonify_hosts'), CANONIFY_DOMAIN(`my.domain'), etc. /usr/src/contrib/sendmail/cf/README /usr/src/contrib/sendmail/doc/op/op.* -andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: patching a file
On Thu, Dec 05, 2002 at 11:38:52AM +0100, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-12-04 16:22:03 +: On Wed, Dec 04, 2002 at 09:46:40AM -0600, Kirk R. Wythers wrote: Problem is, I confused over how to apply a patch to something in the ports system. My ports tree is up to date, but I dont't see the source in /usr/ports/converters/recode that the patch should be applied to. Also, running file on /usr/ports/distfiles/recode-3.6.tar.gz returns file is empty. I thought that I could unpack the tarball manually apply the patch, then tar it back up and build the port. I seem to be all wet on this. No --- the source tarball will be downloaded to /usr/ports/distfile (make fetch) from whence it will be compared to the pre-recorded checksum (make checksum), and then untarred into the work directory make extract and the patches applied (make unpack). make patch or has it changed lately? I'm right about 'make checksum', but I must yeild the point to you over 'make extract' and 'make patch'. You're right, and I should have looked at the ports(7) man page before sending. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Sendmail and localhost
Hello Andrew, Actually I wasn't asking how to disable the sendmail canonicalization. The sendmail.cf has some rules for handling local names and they're working when invoked in test mode. It seems to me that I have mis-configured the resolver or how do the sendmail resolve names. And I need someone who could clarify me what I had done wrong. Thanks for you reply, Andrey Nepomnyaschih Today Andrey Nepomnyaschih wrote: Hello everybody, I've got some problems with sendmail. Going through logs I've found that sendmail identifies itself as localhost.domain. where I would expect it should be just [localhost]. Dec 5 13:09:00 watchdog sm-msp-queue[339]: gB5A016S000321: to=xxx@domain, ctladdr=xxx (x/x), delay=00:08:59, xdelay=00:00:00, mailer=relay, pri=120314, relay=localhost.domain. [127.0.0.1], dsn=2.0.0, stat=Sent (gB5A90GS000340 Message accepted for delivery) I believe that it just canonify the localhost name by appending domain. to it. Because when I change /etc/hosts from 127.0.0.1 localhost to 127.0.0.1 localhost. The first one is relative, the second is absolute path. I think, in the second case is nothing to canonify. I get: Dec 5 12:12:41 watchdog sendmail[247]: gB59CfNb000247: to=xxx@domain, ctladdr=x (x/x), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30036, relay=[localhost] [127.0.0.1], dsn=2.0.0, stat=Sent (gB59CfQo000248 Message accepted for delivery) Sounds really strange because testing rules gives me the following: $ sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter ruleset address 3 localhost canonify input: localhost Canonify2 input: localhost Canonify2returns: localhost canonify returns: localhost So the question is why do sendmail canonify the localhost name? See the docs for FEATURE(`nocanonify', `canonify_hosts'), CANONIFY_DOMAIN(`my.domain'), etc. /usr/src/contrib/sendmail/cf/README /usr/src/contrib/sendmail/doc/op/op.* -andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: patching a file
# [EMAIL PROTECTED] / 2002-12-05 11:41:30 +: On Thu, Dec 05, 2002 at 11:38:52AM +0100, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-12-04 16:22:03 +: On Wed, Dec 04, 2002 at 09:46:40AM -0600, Kirk R. Wythers wrote: No --- the source tarball will be downloaded to /usr/ports/distfile (make fetch) from whence it will be compared to the pre-recorded checksum (make checksum), and then untarred into the work directory make extract I'm right about 'make checksum' I know. I had thought about munging the quoted text a bit more to make it clearer that I was correcting (or rather: completing) the part after the comma, but then decided it wasn't that ambiguous after all, and just sent it out. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Cant find /etc/resolv.conf
Hello there... I've the last version of freebsd... But i cant find the file /etc/resolv.conf Why? Tiago Camilo _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
infrared support
Hi! My problem is derived from the situation with infrared, being unsupported within the kernel. I tried to override the case using ircomm-1.00, found in ports. Btw, the goal is to set up inet connection via modem, embedded into cellular phone with GPRS access. I was lucky to tune everything, but the sad point of speed: it is almost impossible to rise it up to 115200. While the connections ups in 100% of cases at 9600 (settings for ppp|pppd and ircomm), it downs to 3% of total attempts at 115200. The surprise is that it nevertheless possible to connect at high speed! Ircomm developer replied with no ideas as to my problem. May be it's the right time to return to infrared support? May be port from NetBSD, which, as know, supports it at kernel level? I'll appreciate any hint or suggestion... Stanislav PS I run FreeBSD 4.4; HW: notebook with Intel-P133, infrared, mapped to com2 with Standard mode and Fast mode (with DMA), set via bios. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
mesage ?
Hi.. Whats the meean of the mesage: ping6:sendmsg:NO route to host Tiago Camilo _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mesage ?
On Thu, 5 Dec 2002, at 10:59 [=GMT-], Tiago Andre wrote: Whats the meean of the mesage: ping6:sendmsg:NO route to host You have no IPv6 routing configured. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Cant find /etc/resolv.conf
Today Tiago Andre wrote: Hello there... I've the last version of freebsd... But i cant find the file /etc/resolv.conf Why? Why??? Who knows? Maybe it's simply not there. But you can create one if you have write access to the /etc dir. It's nothing special with this file, i.e: nameserver xxx.xxx.xxx.xxx nameserver xxx.xxx.xxx.xxx nameserver xxx.xxx.xxx.xxx domain x.tld # - or - search x.tld See resolv.conf(5) for more. -andrew Tiago Camilo To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
install second ethernet card
Hello there again... I'am trying to configure a ipv6 router in my hnome net... I've put a host whid two ethernet card but i'am having trouble whid one of the interface. I can ping6 from the xl0 but not from xl1, why? The problem is not from the cards.. And i think that the configuration is OK, i think... its equal from xl0 thanks... Tiago Camilo _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Cant find /etc/resolv.conf
On Thu, 2002-12-05 at 13:42, Tiago Andre wrote: Hello there... I've the last version of freebsd... But i cant find the file /etc/resolv.conf Why? The answer is: you didn't configure your networking via sysinstall. There is no default /etc/resolv.conf in FreeBSD distributions. It's created automatically when you go to configure/networking/interfaces menu in sysinstall (and couple of other cases). Tiago Camilo _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Regards, Sergey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Host not found?@#%!?
Hi. I'm having a weird problem. My network based on a static ADSL connection works like a dream to me, and what ever connection I be making from the outside world. There are a few though, who this network doesn't seem to exist to. Even though BIND is running, they cannot resolve my host. Even though my daemons are listening, they cannot connect to my server. I have no idea whether this problem is due to my ISP, the route, my Cisco ADSL router, my hardware or FreeBSD. My network is NAT:ed, as is the router (running CBOS) with the ISP. Could this be the problem? I appreciate all the help I can get. Regards, -- Janine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
On Thu, 5 Dec 2002, Terry Lambert wrote: ... Because it's not defined in the custom server's kernel then it's value default to 256 (FreeBSD 4.5-STABLE), which makes the KVA space to occupy 1G. Then if I make KVA_PAGES=512 (KVA space 2G), will it solve the problem for this particular server having 4G of phisical memory, or must KVA_PAGES be 768 (KVA space 3G)? Have some other options to be tuned besides KVA_PAGES? IMO, KVA need to be more than half of physical memory. But I tend to use a lot of mbufs and mbuf clusters in products I work on lately (mostly networking stuff). If you don't tune kernel memory usage up, then you may be able to get away with 2G. So: 2G might be OK, 3G would be more certain, given you are cranking some things up, in the config you posted, that make me think you will be eating more physical memory. Are you talking primarily about SHMMAXPGS=262144 option here? Then may be it'll be oevrall better to reduce it and make KVA space 2G, to leave more room for user address space? You see, there cannot be any much possibility to make experiments with this server, so I very much relay on your advices, thank you again. If you follow the 1.5 rule, then you will have 6G of swap when you have 4G of physical RAM, and will definitely need to go for 3G of KVA space. No, the swap is very slightly used on this server, and the total swap size is 2G. Note, though: all space you add to KVA is subtracted from the process address space, so if you need big processes, sometimes you are better off with less physical RAM, and a larger user virtual address space. For other tuning information, see also man tuning. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
Varshavchick Alexander wrote: So: 2G might be OK, 3G would be more certain, given you are cranking some things up, in the config you posted, that make me think you will be eating more physical memory. Are you talking primarily about SHMMAXPGS=262144 option here? Then may be it'll be oevrall better to reduce it and make KVA space 2G, to leave more room for user address space? That's the one I was referring to, yes, but you didn't post your whole config (please do *NOT* post it; I can't spend the time on going over it line by line). Tuning is a skill; it can be plotted out as a cookbook recipe, but it takes a lot of work to do that, and no one has volunteered. Basically, to write out a cookbook, you have to know where every byte of memory is going in the kernel, and what tunables impact each other, and how they are related. Once you know that, you could easily write a program to kick out a configuration file for various usages, or even modify the code to auto-tune itself (everything by KVA space, which impacts the base address that the kernel gets linked to... unless you compile the entire kernel PIC, which I do not recommend). But knowing the information is hard. I know it for 4.3 and 4.4. You see, there cannot be any much possibility to make experiments with this server, so I very much relay on your advices, thank you again. If you are having system freeses at random, and you want to fix them instead of living with them, some experimentation is going to be inevitable. I don't know enough about your installation to be able to give you a kernel config file to use that will magically fix all your current issues for you, and prevent future issues from coming up. That's going to have to be up to you. If you follow the 1.5 rule, then you will have 6G of swap when you have 4G of physical RAM, and will definitely need to go for 3G of KVA space. No, the swap is very slightly used on this server, and the total swap size is 2G. It doesn't matter. The amount of swap the kernel allocates page tables for is based on the amount of physical RAM in the machine. You pay for the page tables whether you use them or not, for swap, for the kernel, and for any memory which you permit to be allocated at interrupt time, plus any allocations that occur after you are up and running, until you run out of physical RAM. This is one of those things you just have to know about how the kernel uses virtual memory, if you are going to be a skilled kernel tuner. As a rule, swap should be at least physical memory size + 64K on any system that you need to be able to get a system dump from, since it needs to dump physical RAM. If you are not worried about the machine falling over, then you can ignore that. Note that man tuning suggests 2* physical RAM for swap. PS: I am going to be out of touch (able to download, but not send email) for the next couple of days... up to a week. If you have more questions, and they can't wait, you will need to ask someone else. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: install second ethernet card
On Thu, 2002-12-05 at 15:18, Tiago Andre wrote: Hello there again... Hi! I'am trying to configure a ipv6 router in my hnome net... Do you _really_ need IPv6 at home? I just wonder why... ;) I've put a host whid two ethernet card but i'am having trouble whid one of the interface. I can ping6 from the xl0 but not from xl1, why? The problem is not from the cards.. What does ping6 say to you? What's your `ifxonfig xl0` and `ifconfig xl1` output? netstat -r? What address are you pinging (is it local for that interface) ? Does target host support IPv6? Without giving enough information about your problem you'll never get any useful answer. Be more verbose, please. And i think that the configuration is OK, i think... its equal from xl0 Equal configuration? What, except adress and netmask, did you configure? thanks... Tiago Camilo _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Regards, Sergey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
On Thu, 5 Dec 2002, Terry Lambert wrote: IMO, KVA need to be more than half of physical memory. But I tend to use a lot of mbufs and mbuf clusters in products I work on lately (mostly networking stuff). If you don't tune kernel memory usage up, then you may be able to get away with 2G. A question arises. The value 256 (1G KVA space) acts as a default for any system installation, not depending of real phisical memory size. So for any server with RAM less than 2G (which is a majority I presume) the KVA space occupies more than half of physical memory. It can even be more than TOTAL phisical memory for servers with RAM less than 1G. Isn't it bad for a system? It seems that it is not. Then why cannot the KVA space always be made as some big value? If it is important for servers with large RAM, why it is not or a smaller servers? Can anybody besides Terry which seems to be unavailable now help? Regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: -O3 optimization?
Thus spake Evren Yurtesen [EMAIL PROTECTED]: I wonder if a source is compiled with -O3 without any problems, might there be any problems in binaries which might create crashes? You're welcome to try it out, but it isn't supported. GCC has a few obscure misfeatures at -O3. Some applications break at -O3, usually because they violate C's aliasing rules or contain broken inline assembly. At one point, the kernel's TCP checksum code had some difficult-to-solve problems with -O3, and I'm not sure whether that has been fixed. Despite all of that, I built world and kernel with -O2 a while ago and noticed no problems whatsoever. Just note that you've been warned, and you probably won't see a significant performance improvement anyway. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: -O3 optimization?
Well, I made searches from google and people talk that O3 produced quite noticably faster code. But well I am not so hungry for speed. I just wondered if the binary might have something wrong with it or not even though the compiler didnt complain while compiling. What about using -O or not using any optimizations? Is it very rare that -O breaks somethings? I was using -Os and I also didnt notice anything wrong but maybe there can be something I am missing too... Is there big performance improvement between -O and -O2 ? or from not using any optimizations to -O or -O2? Lets say if I am compiling KDE,XFree86. How much would it effect? is there a web page with some statistical data about this? Evren On Thu, 5 Dec 2002, David Schultz wrote: Thus spake Evren Yurtesen [EMAIL PROTECTED]: I wonder if a source is compiled with -O3 without any problems, might there be any problems in binaries which might create crashes? You're welcome to try it out, but it isn't supported. GCC has a few obscure misfeatures at -O3. Some applications break at -O3, usually because they violate C's aliasing rules or contain broken inline assembly. At one point, the kernel's TCP checksum code had some difficult-to-solve problems with -O3, and I'm not sure whether that has been fixed. Despite all of that, I built world and kernel with -O2 a while ago and noticed no problems whatsoever. Just note that you've been warned, and you probably won't see a significant performance improvement anyway. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: More then 4 IDE devices in one FreeBSD server.
On Tue, 3 Dec 2002, mike wrote: A: What is the hardware name of the device i am looking for that will allow more then 4 ide devices to one box. Add extra IDE card(s). B: do you know of a brand name i should be looking for that you recommend, or even a retailer. Quite happy with a machine with 1scsi+16ide disks based on an 8 port IDE raid card delivered by www.asacomputers.com using a 3WARE Escalade IDE pci card. Though with hindsight I propably should have used 2 4 port IDE cards instead; as I am often hitting card bandwidth. DW To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: -O3 optimization?
Thus spake Evren Yurtesen [EMAIL PROTECTED]: Well, I made searches from google and people talk that O3 produced quite noticably faster code. But well I am not so hungry for speed. I just wondered if the binary might have something wrong with it or not even though the compiler didnt complain while compiling. What about using -O or not using any optimizations? Is it very rare that -O breaks somethings? I was using -Os and I also didnt notice anything wrong but maybe there can be something I am missing too... -O is the most widely tested setting, and it is significantly faster than no optimization. The higher optimization levels usually increase performance marginally, but they're still just microoptimizing. Maybe if you were running some compute-intensive scientific software you would see more of a difference. Is there big performance improvement between -O and -O2 ? or from not using any optimizations to -O or -O2? Lets say if I am compiling KDE,XFree86. How much would it effect? is there a web page with some statistical data about this? I don't know of any serious benchmarks. Try compiling the software in question with -O3. If it works and performs better, great; if you can't tell the difference you might want to be a bit more conservative about the setting... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Please update your webpage
I think send-pr.html is still disabled.. On Thu, 2002-12-05 at 05:52, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-12-04 14:39:37 -0500: Salem State College has changed its domain name to salemstate.edu. The old domain salem.mass.edu is being eliminated. We have determined that the following pages on your site contain links to salem.mass.edu; http://btcips73x1.cip.uni-bayreuth.de/ru/ports/ruby.html Please update those pages to reflect this change. If you have any questions please feel free to contact us directly at [EMAIL PROTECTED] Thanks for the update. To ensure that your request is handled properly, please file a PR at http://www.freebsd.org/send-pr.html. The affected port is devel/ruby-locale. -- Matt Smith [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RAID snmp
Has anyone been able to use SNMP to check the STATUS of the individual disks in a RAID 1? (Promise FastTrak133). I see hrStorage in the MIB's, but no hrDisk or hrPartition. Thanks. - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: run command on logfile before it's rotated
Today Akifyev Sergey wrote: On Thu, 2002-12-05 at 01:02, Nathan Kinkade wrote: On Wed, Dec 04, 2002 at 10:51:43PM +0100, Thomas von Hassel wrote: I've got my system set up to rotate the maillog every day at midnight. What do i do if i want to run a command on the logfile just before it's rotated ? /thomas -- Thomas von Hassel DarX @ irc darxmac @ AIM/iChat Powered by inkwell...! How about just setting a cron job to run some reasonable period prior to newsyslog being run? It's incorrect way to do things, because some entries could be added to syslog _after_ the command is run, but _before_ newsyslog. Instead you should call some script via cron with crontab entry like this: # rotate log files every hour, if necessary 0 * * * * root /usr/bin/lock_script.sh And the script must contain something like: #!/bin/sh for $STR in `cat /etc/newsyslog.conf |grep -v '^[:space:]*#.*$'|cut -f1`; do lockf ${STR} newsyslog.sh ${STR} done This is _advisory_ lock, not _mandatory_. Syslogd could write to the file happily while `your_command' is running or/and between `your_command' and newsyslog. Maybe this is a little closer (not tested): kill -17 syslogd pid; my_scrypt; newsyslog; kill -19 syslogd pid Ie.: STOP syslogd; run the script(s); rotate logs; CONTinue syslogd. But if there is to much logging between the two signals, then messages could be lost. -andrew The newsyslog.sh should contain: #!/bin/sh your_command ${1} newsyslog ${1} To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Anyone seen a fire server?
At 2002-12-05T04:13:45Z, Lord Raiden [EMAIL PROTECTED] writes: The advantage being that you can both hot swap the drives, Ummm, you can do that with many normal SCSI systems. For example, I'm currently working on an older IBM Netfinity server with hot-plug drives in the front of the case. Simply running the 'camcontrol rescan all' command after adding/removing drives updates the available list as expected. and you can take them over to your neighborhood workstation or any server on the lan, plug them in, do what you need, unplug them and take them back over to this network drive hub and plug them back in all without rebooting. I'm not sure that's a great idea. Yes, it's great that you *can* hot-swap drives, but I really don't think it's something you want to do on a continual basis. Out of curiosity, why would you *want* to pull drives from the fileserver and put them in a different server/workstation? -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: install second ethernet card
thanks Akifyev Sergey , Hello there again... Hi! I'am trying to configure a ipv6 router in my hnome net... Do you _really_ need IPv6 at home? I just wonder why... ;) its a kind of tests I've put a host whid two ethernet card but i'am having trouble whid one of the interface. I can ping6 from the xl0 but not from xl1, why? The problem is not from the cards.. What does ping6 say to you? No route to host What's your `ifxonfig xl0` and `ifconfig xl1` output? Can you be more explicit about this?? What address are you pinging (is it local for that interface) ? another host (my net) Does target host support IPv6? yes, whid the xl0 its ok, the problem is on xl1 Without giving enough information about your problem you'll never get any useful answer. Be more verbose, please. And i think that the configuration is OK, i think... its equal from xl0 Equal configuration? What, except adress and netmask, did you configure? yes thanks... Tiago Camilo _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Regards, Sergey _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
Thus spake Varshavchick Alexander [EMAIL PROTECTED]: A question arises. The value 256 (1G KVA space) acts as a default for any system installation, not depending of real phisical memory size. So for any server with RAM less than 2G (which is a majority I presume) the KVA space occupies more than half of physical memory. It can even be more than TOTAL phisical memory for servers with RAM less than 1G. Isn't it bad for a system? It seems that it is not. Then why cannot the KVA space always be made as some big value? If it is important for servers with large RAM, why it is not or a smaller servers? In FreeBSD, each process has a unique 4G virtual address space associated with it. Not every virtual page in every address space has to be associated with real memory. Most pages can be pushed out to disk when there isn't enough free RAM, and unallocated parts of the virtual address space aren't backed by anything. (Referencing an unmapped page that the system doesn't know about generally causes the program or OS to crash. You've probably seen these as ``segmentation faults'' and ``page fault in kernel mode'' panics.) To simplify things, the kernel is mapped into a fixed location in every address space. The KVA parameter controls how big a chunk the kernel gets; the remainder goes to user processes. However, only the part of the KVA reservation that the kernel actually uses is wired to physical memory. For example, if you have a 1 GB KVA reservation and the kernel allocates only 20 MB of RAM, then only 20 MB of RAM is needed (plus some epsilon if you want to be picky), but in theory, the kernel could allocate and manage up to 1 GB of data. You don't lose extra physical memory for increasing KVA, but a large KVA size does constrain the virtual address space available to user processes. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: install second ethernet card
On Thu, 2002-12-05 at 16:22, Tiago Andre wrote: [... part was ripped by viruses ...] What does ping6 say to you? No route to host I assume, that xl1 interface is up. So, it looks like you specified incorrect IPv6 netmask (or prefixlen). Double check this parameter! Next, look at netstat -r -f inet6 |fgrep xl1 output. It _must_ _not_ be empty. If it is, you should try to add route manually. I can not supply you with exact command, because you are hiding all the important information, like IPv6 address, prefixlen and routing table contents. You think all the world would be able to hack your home network, knowing just your private IPv6 adresses? The more you hide - the less you get! So, read man route(8)... What's your `ifxonfig xl0` and `ifconfig xl1` output? Can you be more explicit about this?? I asked you to give your `ifconfig xl1` output to take a look at your prefixlen. And netstat output to look if your box have properly set route for that interface. What address are you pinging (is it local for that interface) ? another host (my net) Does target host support IPv6? yes, whid the xl0 its ok, the problem is on xl1 It seems very strange to me... Are both interfaces plugged to same network? Or else, how would you ping same host from different interfaces (without setting up proper routing)? Without giving enough information about your problem you'll never get any useful answer. Be more verbose, please. And i think that the configuration is OK, i think... its equal from xl0 Equal configuration? What, except adress and netmask, did you configure? yes Wow! How to configure a 'yes'? ;) [... part was ripped by viruses ...] Regards, Sergey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
On Thu, 5 Dec 2002, Varshavchick Alexander wrote: On Thu, 5 Dec 2002, Terry Lambert wrote: IMO, KVA need to be more than half of physical memory. But I tend to use a lot of mbufs and mbuf clusters in products I work on lately (mostly networking stuff). If you don't tune kernel memory usage up, then you may be able to get away with 2G. A question arises. The value 256 (1G KVA space) acts as a default for any system installation, not depending of real phisical memory size. So for any server with RAM less than 2G (which is a majority I presume) the KVA space occupies more than half of physical memory. It can even be more than TOTAL phisical memory for servers with RAM less than 1G. Isn't it bad for a system? It seems that it is not. Then why cannot the KVA space always be made as some big value? If it is important for servers with large RAM, why it is not or a smaller servers? Can anybody besides Terry which seems to be unavailable now help? It controls the split between virtual address space, not allocation of physical memory. If KVA is turned up to 3GB (say) then userland virtual address space for all processes is limited to 1GB (each). For Terry's stuff (networking, mostly, and probably mostly in the kernel anyway) this is beneficial. For (to pick an example at random) anyone running java* or other large userland processes, having only 1GB of elbow-space (physical or virtual) is often not sufficient. jan * You've plenty of resources and an infinite number of threads are bound to make fair progress seem to be a summation of the java way :-) -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Work #90: As many pseudo-intellectual sycophants as necessary to make one inarticulate scotsman think he's a genius in command of The Profound. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: maxusers and random system freezes
On Thu, 5 Dec 2002, David Schultz wrote: In FreeBSD, each process has a unique 4G virtual address space associated with it. Not every virtual page in every address space has to be associated with real memory. Most pages can be pushed out to disk when there isn't enough free RAM, and unallocated parts of the virtual address space aren't backed by anything. (Referencing an unmapped page that the system doesn't know about generally causes the program or OS to crash. You've probably seen these as ``segmentation faults'' and ``page fault in kernel mode'' panics.) To simplify things, the kernel is mapped into a fixed location in every address space. The KVA parameter controls how big a chunk the kernel gets; the remainder goes to user processes. However, only the part of the KVA reservation that the kernel actually uses is wired to physical memory. For example, if you have a 1 GB KVA reservation and the kernel allocates only 20 MB of RAM, then only 20 MB of RAM is needed (plus some epsilon if you want to be picky), but in theory, the kernel could allocate and manage up to 1 GB of data. You don't lose extra physical memory for increasing KVA, but a large KVA size does constrain the virtual address space available to user processes. Thank you David for such an excellent explanation. So if sysctl reports vm.zone_kmem_pages: 5413 vm.zone_kmem_kvaspace: 218808320 vm.kvm_size: 1065353216 vm.kvm_free: 58720256 does it mean that total KVA reservation is 1065353216 bytes (1G) and almost all of it is really mapped to physical memory because only 58720256 (56M) is free, and the server is balancing on the edge of crashing with KVA going out? Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cvsup
Hello, I would like to know, what CVS Tag should I use for FreeBSD 5.0-DP (or DP2). Best regards, Daimonion. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
nic driver
Is there ed1 driver support in FBSD 4.7? i have a PCMCIA NIC that needs that driver. The driver is in FBSD 5.0 and the NIC works great in FBSD 5.0. can i just add a line for the driver into the kernel config file or do i need to do something else to get it to work? thanks, brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: people communicate in the strangest ways...
On 2002-12-04 22:49, Kent Stewart [EMAIL PROTECTED] wrote: On Wednesday 04 December 2002 10:28 pm, Adam Weinberger wrote: end of people communicate in the strangest ways... from rockneybot I hear NetBSD has been ported to plastic silverware. I'm resisting a crack about rock-solid security. I was thinking more in to Custom Film Effects :). Look at the headers. Oh, heh. Oops. Now we know the internal IP address of the one who did the spamming. Too bad for them :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cvsup
On Thu, Dec 05, 2002 at 04:11:40PM +0100, Daimonion [EMAIL PROTECTED] wrote: I would like to know, what CVS Tag should I use for FreeBSD 5.0-DP (or DP2). It's not tagged in CVS repo, the work was done in Perforce. -- Vallo Kallaste [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Jail problems
Hey I'm running a jail which runs or should run :-) bind! I would like to run bind in a sandbox but I can't get it to work! I've followed these steps on the dns jail: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html#NAMED -SANDBOX Except the following 2 steps which I had to do on the host first: 1) dev/null device was created from the host and copied to /jail/dns/etc/namedb/dev 2) statically linked copy of named-xfer was build at the host and copied to /jail/dns.../bin Here is the content of the jail rc.conf file: portmap_enable=NO network_interface= sshd_enable=YES sendmail_enable=NONE syslogd_flags=-ss -l /etc/namedb/dev/log named_enagle=YES named_flags=-u bind -g bind -t /etc/namedb /etc/named.conf Here is the jail syslog output %tail /var/log/messages Dec 5 18:06:07 dns adjkerntz[32290]: sysctl(put_wallclock): Operation not permitted Dec 5 18:06:07 dns sshd[32343]: error: Bind to port 22 on XXX.XXX.XXX.XXX failed: Address already in use. Dec 5 18:06:07 dns sshd[32343]: fatal: Cannot bind any address. Dec 5 18:06:07 dns syslogd: exiting on signal 15 Dec 5 18:06:07 dns syslogd: exiting on signal 15 What I also don't understand is the sshd problem saying error: Bind to port etc.. Because I'm using the ListenAdress options in the jails with the jail ip address in the sshd_config file! Some clues why bind doesn't work? I've tried to start it from the command line, this was the output: dns# named -u bind -t bind -t /etc/namedb /etc/named.conf can't change directory to /etc/namedb: No such file or directory But the directories exists: dns# ll -R /etc/namedb/ -rw-r--r-- 1 root wheel 427 Dec 5 17:47 PROTO.localhost-v6.rev -rw-r--r-- 1 root wheel 423 Dec 5 17:47 PROTO.localhost.rev drwxr-xr-x 2 root wheel 512 Dec 5 17:57 bin drwxr-xr-x 2 root wheel 512 Dec 5 18:24 dev drwxr-xr-x 2 root wheel 512 Dec 5 17:49 etc -rw-r--r-- 1 root wheel 1032 Dec 5 17:47 make-localhost drwxr-xr-x 2 root wheel 512 Dec 5 18:02 master lrwxr-xr-x 1 root wheel14 Dec 5 17:49 named.conf - etc/named.conf drwxr-xr-x 2 bind bind512 Dec 5 17:48 slave drwxr-xr-x 4 root wheel 512 Dec 5 17:48 var /etc/namedb/bin: total 464 -r-xr-xr-x 1 root wheel 446704 Dec 5 17:57 named-xfer /etc/namedb/dev: total 0 srw-rw-rw- 1 root wheel 0 Dec 5 18:24 log crw-rw-rw- 1 root wheel2, 2 Dec 5 17:59 null /etc/namedb/etc: total 6 -r--r--r-- 1 root wheel 1098 Dec 5 17:48 localtime -rw-r--r-- 1 root wheel 3410 Dec 5 18:02 named.conf /etc/namedb/master: total 12 -rw-r--r-- 1 root wheel 447 Dec 5 17:49 localhost-v6.rev -rw-r--r-- 1 root wheel 443 Dec 5 17:49 localhost.rev -rw-r--r-- 1 root wheel 760 Dec 5 18:02 xyz.zone -rw-r--r-- 1 root wheel 270 Dec 5 17:51 named.localhost -rw-r--r-- 1 root wheel 2843 Dec 5 17:47 named.root /etc/namedb/slave: /etc/namedb/var: total 4 drwxr-xr-x 2 bind bind 512 Dec 5 17:48 run drwxr-xr-x 2 bind bind 512 Dec 5 17:48 tmp /etc/namedb/var/run: /etc/namedb/var/tmp: Thanks a lot Didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
an amazingly silly question...
hey everyone, just a quick question, hopeing someone will be able to help me. I want to know if anyone out there still runs (or knows how to) foxpro 2.6. I heard that it can be installed on BSD, and have searched the archives. I have seen some mention but they are all extremely dated. Does foxpro 2.6 still work with 4.7? Or for that matter any other release? Thank you to anyone who can help me. I am a year old newbie and have gotten pretty familiar but don't even know where to start with this one. thank you very much. Oh by the way, I appreciate everyone out there on theses lists, what a great os BSD is. ASENCHI To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Perl question... calculating difference in time..
I know this isn't a perl list, but this is a perl on freebsd question! ;) I have a script that is sorting log files. I want to calculate the total time between log entrys. Here is the format of the log files: Dec 05 09:51:48.452 info info.info data ... Dec 05 09:53:49.543 info info.info data The output should return something along the lines of: total time between log entries 02:01:01.091. I have the time fields pulled out but I cannot figure out how to seprate them into a calculatable format. And if this was run from after midnight and the log files rolled back to 23:00, how to calculate this..Any help is much appreciated! TIA Eric To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
crontab -e
Hello, Running FreeBSD 4.6 and having some problems with a crontab. I have a script I want to execute every 15 minutes. When I add the entry (as root) crontab -e and insert this line: */15* * * * root /usr/libexec/rs2 /var/log/rs.log I get an error when trying to :wq out of crontab. /tmp/crontab.UqSmFBVMw3: 4 lines, 89 characters. crontab: installing new crontab /tmp/crontab.UqSmFBVMw3:2: bad day-of-month crontab: errors in crontab file, can't install Do you want to retry the same edit? n crontab: edits left in /tmp/crontab.UqSmFBVMw3 Thanks for any insight. Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crontab -e
and insert this line: */15* * * * root /usr/libexec/rs2 /var/log/rs.log Check to see if you have extra blank lines after the last line. Delete them. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Perl question... calculating difference in time..
look into the perl module Date::Calc, it's has ALOT of features that are quite useful for date manipulation. jeff. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Six Sent: Thursday, December 05, 2002 1:44 PM To: '[EMAIL PROTECTED]' Subject: Perl question... calculating difference in time.. I know this isn't a perl list, but this is a perl on freebsd question! ;) I have a script that is sorting log files. I want to calculate the total time between log entrys. Here is the format of the log files: Dec 05 09:51:48.452 info info.info data ... Dec 05 09:53:49.543 info info.info data The output should return something along the lines of: total time between log entries 02:01:01.091. I have the time fields pulled out but I cannot figure out how to seprate them into a calculatable format. And if this was run from after midnight and the log files rolled back to 23:00, how to calculate this..Any help is much appreciated! TIA Eric To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crontab -e
When you use a user crontab (crontab -e), you don't include the user field. The user's own id is implied. I always put a (comment) header line in the user crontab so that it's clear what the fields are. So, your example: */15* * * * root /usr/libexec/rs2 /var/log/rs.log becomes: #minute hourmdaymonth wdaycommand */15* * * * /usr/libexec/rs2 /var/log/rs.log Paul -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
$$ CASINO !!!
Saudações do CasinoDiitroya, o principal cassino na Internet Você poderá jogar jogos de cassino como em Las Vegas, ganhar dinheiro de verdade instantaneamente, aqui mesmo no seu computador ligado na Internet. Os prêmios serão efetuados em seu cartão de crédito ou por cheques internacionais enviados pelo correio. Todos os novos jogadores recebem US$30 bônus com sua primeira compra das fichas de jogo por se juntarem CasinoDiitroya. Você também pode jogar DE GRAÇA. Neste fascinante ambiente de realidade virtual, você poderá bater um papo com outros jogadores, convidar seus amigos e fazer outros novos.A Nova tecnologia permite que você receba o direito do CasinoDiitroya, neste e-mail, não precisando ir para o Web site e fazer o download.Experimente a emoção de jogar e ganhar com dinheiro de verdade em seu computador. Para se juntar a todas as pessoas que estão tendo momentos agradáveis no CasinoDiitroya, dê um duplo clique no documento atachado e instale-o (escolha Open it ou Run it quando pronto) e siga as instruções. Você também pode rá salvá-lo no disco, lembre-se da localização de onde você está salvando, e entre novamente no diretório onde você o salvou e clique no arquivo para instalá-lo. Duplo clique no documento atachado para instalar seu FREE software e ter grandes momentos. Atenciosamente, CasinoDiitroya http://www.casinolux.com/~113z/dload/casinolux.exe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Still a few problems in jail
Hey, Using (FreeBSD 4.7-Release) It takes considerably long to login from a workstation to a jailed ssh server or sometimes I even can't login. The login: appears, and then Sent username 'xyz' and then nothing happens or after 20 or even far more seconds I can enter my password! For information: login in from a workstation with ssh on the host itself causes no problems! The only option in the jail sshd_config file which is set, is the ListenAddress which has the ip address of the jail! As you can see below there are problems with timeout. (Some comments on the other errors opensocket_f bind etc.. Are welcomed!! I replaced the original ip address with jail_ip_address, I'm also running bind in a sandbox see the previous posting in the list with the titel Jail problems) I have deleted the /var/log/messages and rebooted this is the output after a fresh reboot! %tail /var/log/messages Dec 5 20:15:46 dns named[321]: not listening on any interfaces Dec 5 20:15:46 dns named[321]: opensocket_f: bind([jail_ip_address].53): Address already in use Dec 5 20:15:46 dns named[321]: opensocket_f: bind([jail_ip_address].53): Address already in use Dec 5 20:15:46 dns sshd[331]: error: Bind to port 22 on jail_ip_address failed: Address already in use. Dec 5 20:15:46 dns sshd[331]: fatal: Cannot bind any address. Dec 5 20:15:46 dns syslogd: exiting on signal 15 Dec 5 20:16:55 dns named[198]: starting (/etc/named.conf). named 8.3.3-REL Wed Dec 4 09:59:37 CET 2002 xyz@xyz:/usr/obj/usr/src/usr.sbin/named Dec 5 20:16:55 dns named[198]: limit files set to fdlimit (1024) Dec 5 20:16:55 dns named[199]: Ready to answer queries. Dec 5 20:17:44 dns sshd[237]: fatal: Timeout before authentication for my_pc_somewhere Here is rc.conf from the jail: hostname=x.y.z portmap_enable=NO network_interface= sshd_enable=YES sendmail_enable=NONE syslog_enable=YES syslogd_flags=-ss -l /etc/namedb/dev/log named_enable=YES named_flags=-u bind -g bind -t /etc/namedb /etc/named.conf Here is sshd_config from the jail: Many many many thanks for any Help or comments didier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crontab -e
Thanks all. By the way now I'm getting some more errors Check this out. Dec 5 13:05:00 tester /usr/sbin/cron[26639]: getting vmemoryuse resource limit: Invalid argument Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource limit: Invalid argument Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource limit: Invalid argument I looked in sysctl -a for vmemoryuse but found none. Is there a way I can increase this limit? Thanks again. Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Perl question... calculating difference in time..
On Thu, Dec 05, 2002 at 02:00:20PM -0500, Jeff MacDonald wrote: look into the perl module Date::Calc, it's has ALOT of features that are quite useful for date manipulation. The Time::ParseDate module by David Muir Sharnoff looks just the ticket. http://search.cpan.org/author/MUIR/Time-modules-2002.1001/lib/Time/ParseDate.pm It essentially does the reverse of strftime(3) --- and once you've got the time expressed as seconds since the epoch, the rest of the calculations required should be easy. It's available in ports as part of devel/p5-Time. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crontab -e
Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource limit: Invalid argument Check and modify your resource limits. man login.conf man limits man csh (type: /^[[:space:]]*limit) man sh (type: /^[[:space:]]*ulimit) -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: crontab -e
On Thu, 5 Dec 2002, Matthew Bettinger wrote: Thanks all. By the way now I'm getting some more errors Check this out. Dec 5 13:05:00 tester /usr/sbin/cron[26639]: getting vmemoryuse resource limit: Invalid argument Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource limit: Invalid argument Dec 5 13:05:00 tester /usr/sbin/cron[26643]: getting vmemoryuse resource limit: Invalid argument I looked in sysctl -a for vmemoryuse but found none. Is there a way I can increase this limit? Cron is attempting to run jobs from some user's crontab. To do that, it sets up the process environment to spawn that job. That involves processing the appropriate login.conf entry (to set process limits). Looking at the source, it's hard to see why the call that's failing should break. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ NB: with Fundamental Human Rights come Fundamental Human Responsibilities. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Still a few problems in jail
Hi, On Thu, 5 Dec 2002, Didier Wiroth wrote: Hey, Using (FreeBSD 4.7-Release) It takes considerably long to login from a workstation to a jailed ssh server or sometimes I even can't login. The login: appears, and then Sent username 'xyz' and then nothing happens or after 20 or even far more seconds I can enter my password! [rest snipped] you most propably have dns resolution problems in the jail. Do you have a correctly setup resolv.conf in your jail ? Greetings Christian -- CK Software GmbH Christian Kratzer, Schwarzwaldstr. 31, 71131 Jettingen Email: [EMAIL PROTECTED] Phone: +49 7452 889-135Open Software Solutions, Network Security Fax:+49 7452 889-136FreeBSD spoken here! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: quotas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On December 5, 2002 03:40 pm, Mark wrote: Odd; I enabled quotas in /etc/rc.conf (and the kernel, of course), and, on startup, it installed a quota.user file in /quota.user (!). I thought this was supposed to go in /var/?? (Might it be because I enabled quotes on / too?) But when I do quotacheck -a from the command prompt, it builds a new database at: every mount point with quota enabled will create a quota.user and or quota.group file in the root of each mount. /var/quota.user That cannot be good. :( How can I sync the two? I dont think their is a way to sync it all into 1 file. Thanks. - Mark - -- Rick Fournier ([EMAIL PROTECTED]) PGP KeyID 31846E22 (B1E3 AE2E C867 F491 BF9F 9485 7818 122D 3184 6E22) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE977/veBgSLTGEbiIRAjheAJ9NctMOpxB2fdKyU0MO0/XaP1F70gCgnuJS 7DOrS7lvzZzCwmUzlG8pNBA= =woXk -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: quotas
- Original Message - From: Rick Fournier [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 10:06 PM Subject: Re: quotas every mount point with quota enabled will create a quota.user and or quota.group file in the root of each mount. Thanks! :) What you say makes perfect sense. Not properly understanding, I did a dumb thing; I symlinked /var/quota.user to /quota.user (thinking it all needed to be in one file; doh). Then the kernel paniced (and me along with it) on shutdown: freebsd panic: dqflush: stray dquot Well, it rebooted, saw some bad blocks, salvaged them, and everything is okay again. Pfew. As someone said here, FreeBSD is very forgiving. :) Thanks again! - Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
About options kernel
Hi, Last night I tried FreeBSD 5.0-DP1, but I found some error message: $ dmegs | more cut unknown: PNP0303 can't assign resources (port) unknown: PNP0a03 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) unknown: PNP0401 can't assign resources (port) unknown: PNP0501 can't assign resources (port) /cut I tried to find options in /usr/src/sys/i386/conf/SOME-CONFIG, So what options/device should I remove?. Thx -- budsz To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: quotas
Today Mark wrote: - Original Message - From: Rick Fournier [EMAIL PROTECTED] To: Mark [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 10:06 PM Subject: Re: quotas every mount point with quota enabled will create a quota.user and or quota.group file in the root of each mount. Thanks! :) What you say makes perfect sense. Not properly understanding, I did a dumb thing; I symlinked /var/quota.user to /quota.user (thinking it all needed to be in one file; doh). Then the kernel paniced (and me along with it) on shutdown: freebsd panic: dqflush: stray dquot Well, it rebooted, saw some bad blocks, salvaged them, and everything is okay again. Pfew. As someone said here, FreeBSD is very forgiving. :) You can specify the exact location for the quota files in /etc/fstab, ie.: /dev/ad0s1h /home ufs rw,userquota=/var/quotas/user.home,groupquota=/var/quotas/grp.home 2 2 -andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
4.7-RELEASE Fatal trap 12 when NIC receives packet; irq conflict
I upgraded my system from 4.6-RC2 to 4.7-RELEASE and now every ethernet packet I receive crashes the system with fatal trap 12: supervisor read, page not present. This did not happen with 4.6. This is how I know: When I ping another computer, I immediately crash. When another computer pings me, I immediately crash. When I ping localhost, it works as expected, no crash. The following excerpt from dmesg shows that my NIC and graphic card are both assigned irq 11. I am guessing this is the problem. pci1: ATI model 5144 graphics accelerator at 0.0 irq 11 vr0: VIA VT3043 Rhine I 10/100BaseTX port 0xd800-0xd87f mem 0xef10-0xef10007f irq 11 at device 16.0 on pci0 miibus0: MII bus on vr0 amphy0: DM9101 10/100 media interface on miibus0 amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Is there any way to influence the irq selection? Can I do this without compiling a kernel? -Ken Jackson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sound driver hangs when writing to the system console
For a couple of months I've been trying to crack a puzzling problem. After upgrading from 4.1 to 4.6 (and now to 4.7) my on-board sound card would pause or die after playing for approximately 20 minutes with a message: pcm0:play:0: play interrupt timeout, channel dead I have now managed to isolate the timing dependency: the problem comes from writing to the system console (which a cron job apparently did every 20 minutes). So a command like: cat /usr/share/dict/words /dev/console will immediately break the sound driver with the same message. I have dissabled PnP from the BIOS and locked the card to two different IRQs. I have also dissabled the VGA IRQ and even removed entirely the VGA card (the box works as an appliance), but none of these measures helped. The sound hardware is an on-board WSS-compatible CS4231-based device on an Intel Triton motherboard (Pentium 150MHz) running the latest BIOS update. The box has no local storage booting remotely from another FreeBSD box through Etherboot. I am attaching the output of uname, dmesg, and pciconf. Any ideas or hints on what try would be really appreciated. Diomidis - http://www.dmst.aueb.gr/dds office# uname -a FreeBSD office 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #12: Thu Dec 5 23:18:43 EET 2002 dds@spiti:/vol/obj/vol/src/sys/OFFICE i386 office# dmesg Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE-p2 #12: Thu Dec 5 23:18:43 EET 2002 dds@spiti:/vol/obj/vol/src/sys/OFFICE Timecounter i8254 frequency 1193182 Hz CPU: Pentium/P54C (149.69-MHz 586-class CPU) Origin = GenuineIntel Id = 0x52c Stepping = 12 Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8 real memory = 33554432 (32768K bytes) avail memory = 29765632 (29068K bytes) Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 isab0: Intel 82371SB PCI to ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX3 ATA controller port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 orm0: Option ROMs at iomem 0xc8000-0xcbfff,0xcc000-0xc,0xea000-0xebfff on isa0 fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: 1440-KB 3.5 drive on fdc0 drive 0 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: PLIP network interface on ppbus0 lpt0: Printer on ppbus0 lpt0: Interrupt-driven port ppi0: Parallel I/O on ppbus0 ed0 at port 0x240-0x25f iomem 0xd8000 irq 9 on isa0 ed0: address 00:00:e8:32:81:e8, type NE2000 (16 bit) pcm0: CS4231 at port 0x530-0x537,0x538-0x539,0xf8c-0xf94,0xe0e irq 11 drq 0 flags 0xa111 on isa0 bootpc_init: wired to interface 'ed0' Sending DHCP Discover packet from interface ed0 (00:00:e8:32:81:e8) Received DHCP Offer packet on ed0 from 192.168.136.1 (accepted) (no root path) Sending DHCP Request packet from interface ed0 (00:00:e8:32:81:e8) Received DHCP Ack packet on ed0 from 192.168.136.1 (accepted) (got root path) ed0 at 192.168.136.2 server 192.168.136.1 boot file kernel subnet mask 255.255.255.0 rootfs 192.168.136.1:/ Adjusted interface ed0 Mounting root from nfs: NFS ROOT: 192.168.136.1:/ pcm0:play:0: play interrupt timeout, channel dead office# pciconf -lv chip0@pci0:0:0: class=0x06 card=0x chip=0x12508086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82439HX System Controller (TXC)' class= bridge subclass = HOST-PCI isab0@pci0:7:0: class=0x060100 card=0x chip=0x70008086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371SB PIIX3 PCI-to-ISA Bridge (Triton II)' class= bridge subclass = PCI-ISA atapci0@pci0:7:1: class=0x010180 card=0x chip=0x70108086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82371SB PIIX3 IDE Interface (Triton II)' class= mass storage subclass = ATA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Audio Copy
Is there any easy way to do Audio-CD copy? %dd if=/dev/acd1c of=six.iso bs=2048 dd: /dev/acd1c: Invalid argument %mkisofs -o six.iso -J -R /dev/acd1c Total translation table size: 0 Total rockridge attributes bytes: 266 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used e804 48 extents written (0 Mb) I can use dagrab and then use burncd but sometimes there are gaps (of course I can use -n switch) but I want an ISO image of an audio CD. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Slightly OT: PHP Fatal error:Â Unable to start session mm modulein Unknown on line 0
I know this is not strictly to do with FreeBSD, but maybe there is a kernel option or something I'm overlooking :-) I am getting a lot of these messages: PHP Fatal error: Unable to start session mm module in Unknown on line 0 I have scoured Google as much as I can, and have found mostly people with the problem, and very few solutions. Most of it seems to be a problem with Debian Linux, which of course doesn't apply to me. I have investigated some of the solutions and none of them work. The closest was deleting a semaphore file from /tmp, which seemed to work briefly. And then it didn't. Further investigation shows, since it doesn't happen every time PHP is run, that the problem would seem to be with concurrency - two instances of PHP can't run at the same time. I gather this is because it is trying to create a semaphore that already exists or somesuch. So what this comes down to is should it create unique semaphores (perhaps using the PID) or should it share them more effectively. I suppose I can strip out all the MM stuff, but it's in there in the first place because I used a whole bunch of tips about making PHP as optimized as possible. Obviously an inefficient, working PHP is better than an optimized broken one, but I prefer to fix problems than to try and work around them and pretend they are not there - they usually come back to bite you further down the track. Does anyone have any suggestions? TIA Duncan Anker -- The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Dark Blue Sea does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Dark Blue Sea. Dark Blue Sea does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: vinum and a BAD SUPER BLOCK: MAGIC NUMBER WRONG
On Thursday, 5 December 2002 at 19:36:18 -0500, Jason Morgan wrote: OK, I am installing vinum for the first time and have run into trouble. Setup: FreeBSD 4.7-RELEASE 2 WD 80GB IDE drives, ad0 and ad2 I used this page to help me through my setup: http://org.netbase.org/vinum-mirrored.html I have followed Case 2, which is a basic setup of one drive mirroring the other (RAID-1 right?). I am not trying to mirror the root partition, and have a minimal install on ad0s1a. The setup hase gone just fine, but when I reboot, I get this: [snip] /dev/ad2s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad2s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY [snip] /dev/ad0s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY At that point it goes in single user mode. OK, this looks like a problem with the howto. After you put a Vinum drive on the slices, you no longer have a file system. You need to remove the entries for these slices in /etc/fstab and replace them with entries for the Vinum volumes. The howto tells you to add the entries for the Vinum volumes, but not to remove the old ones. I've tried fooling with fstab and even reinstalling (new machine, no data to be lost), but I keep getting the same problem. Could this be a problem with my newfs usage: newfs -v /dev/vinum/usr newfs -v /dev/vinum/var newfs -v /dev/vinum/public That looks OK. Last thing; When I run vinum and issue the list command, it says everything is 'up', including ad0s1e and ad2s1e. Vinum doesn't say that ad0s1e and ad2s1e are up. It's the drives located on those slices which are up. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ipfw firewall help
Please forgive me for asking this, I know it's probably been gone over numerous times. I have a network at a colo facility with a freebsd machine and 3 nic's. Outside nic and the others for the internal networks. I get routed 3 class C's, and the machine is routing and acting as a gateway perfectly. We decided to close everything and add as needed (ports). As far as incoming traffic/ports, etc, everything is perfect. But if I get on any of the internal machines and try to browse the web (windows update) etc., nothing works. I'm sure it's something totally simple I'm missing, since it's a colo facility it's not like it's an office land and people are there but I need the ability to be on a server there and be able to browse, ftp, etc, all of which are broken. Could someone help me figure out what I've done wrong? Here's the rules I have, the firewall is set to OPEN so it runs /etc/rc.firewall and adds the 3 generic rulesets, then runs rc.joe which I'm showing here: #Begin Custom ipfw rules to secure network on fxp0 #We will block at the WAN # #adam's IP for term svc ipfw add 101 allow tcp from xx.xx.xx.xx to any 3389 via bge0 #sarah's IP for term svc ipfw add 102 allow tcp from xx.xx.xx.xx to any 3389 via bge0 # #leave the unix machines alone #WWW ipfw add 103 allow tcp from any to xx.250.228.0/28 via bge0 ipfw add 104 allow udp from any to xx.250.228.0/28 via bge0 #Outside WAN - Router fbsd ipfw add 105 allow udp from any to xx.94.245.250 via bge0 ipfw add 106 allow tcp from any to xx.94.245.250 via bge0 ipfw add 107 allow tcp from any to xx.250.227.1 ssh via bge0 # #Begin Allows - Universal (FTP, WWW, SMTP, POP3) ipfw add 108 allow tcp from any to xx.250.227.0/22 20,21,25,80,110 via bge0 # #Outbound from inside ipfw add 109 check-state ipfw add 110 allow tcp from xx.250.224.0/22 via bge0 keep-state ipfw add 111 allow udp from xx.250.224.0/22 via bge0 keep-state ipfw add 112 allow tcp from any to any established setup #Machine specific ports #Server NEWS 1 ipfw add 120 allow tcp from any to xx.250.227.2 53 via bge0 ipfw add 121 allow tcp from any to xx.250.227.3 53 via bge0 ipfw add 122 allow tcp from any to xx.250.227.4 53 via bge0 ipfw add 123 allow udp from any to xx.250.227.2 via bge0 ipfw add 124 allow udp from any to xx.250.227.3 via bge0 ipfw add 125 allow udp from any to xx.240.227.4 via bge0 # #Server WWW6 ipfw add 130 allow tcp from any to xx.250.227.208 443 via bge0 # #Server SQL 3 ipfw add 140 allow tcp from any to xx.250.227.13 1433 via bge0 # #Server MARZ ipfw add 150 allow tcp from any to xx.250.227.53 1433 via bge0 # #Server Mai ipfw add 160 allow tcp from any to xx.250.227.175 8384 via bge0 #Deny all after above allows - here we go ipfw add 400 deny tcp from any to xx.250.227.0/22 via bge0 ipfw add 410 deny udp from any to xx.250.227.0/22 via bge0 Goal is if we're on any of the 227 subnetted machines and wish to do anything on the internet that we be allowed to do so, such as ftp, telnet, browse the web, etc. These rules are also in effect as rc.firewall sets them: ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any # ${fwcmd} add 65000 pass all from any to any Any help would be greatly appreciated, I know that source packets coming in aren't matching the rulesets anylonger or it's something like that. The area that I've tried to make this work is the 109 110 111 112 But to no avail. Thanks again, Joe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: vinum and a BAD SUPER BLOCK: MAGIC NUMBER WRONG
Yes, that was the problem - coupled with my ignorance. When I tried removing these before, I still had an error, which was caused by a mistake in my moving /usr and /var. Thanks for the help and thanks for vinum. -Jason On Fri, Dec 06, 2002 at 11:29:55AM +1030, Greg 'groggy' Lehey wrote: On Thursday, 5 December 2002 at 19:36:18 -0500, Jason Morgan wrote: OK, I am installing vinum for the first time and have run into trouble. Setup: FreeBSD 4.7-RELEASE 2 WD 80GB IDE drives, ad0 and ad2 I used this page to help me through my setup: http://org.netbase.org/vinum-mirrored.html I have followed Case 2, which is a basic setup of one drive mirroring the other (RAID-1 right?). I am not trying to mirror the root partition, and have a minimal install on ad0s1a. The setup hase gone just fine, but when I reboot, I get this: [snip] /dev/ad2s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad2s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY [snip] /dev/ad0s1e: BAD SUPER BLOCK: MAGIC NUMBER WRONG /dev/ad0s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY At that point it goes in single user mode. OK, this looks like a problem with the howto. After you put a Vinum drive on the slices, you no longer have a file system. You need to remove the entries for these slices in /etc/fstab and replace them with entries for the Vinum volumes. The howto tells you to add the entries for the Vinum volumes, but not to remove the old ones. I've tried fooling with fstab and even reinstalling (new machine, no data to be lost), but I keep getting the same problem. Could this be a problem with my newfs usage: newfs -v /dev/vinum/usr newfs -v /dev/vinum/var newfs -v /dev/vinum/public That looks OK. Last thing; When I run vinum and issue the list command, it says everything is 'up', including ad0s1e and ad2s1e. Vinum doesn't say that ad0s1e and ad2s1e are up. It's the drives located on those slices which are up. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Qmail/Mail problem..
Hello, I'm useing the HowTo at http://mricon.com/SM/guide/bsd/qvcs-guide.pdf to setup Qmail and Ucspi-tcp. I'm just having a slight problem trying to start ucspi-tcp. Fail# /usr/local/bin/tcpserver -R -x/var/qmail/control/relays.cdb -u5001 -g5000 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger Ambiguous output redirect. (note: my email client is most likely wrapping that command to another line but, it was entered as one) Any ideas as to why it could be doing that? Thank you, aSe [[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: x question
On Thu, Dec 05, 2002 at 05:53:30PM -0800, Hugo Saro wrote: Is it possible to 'startx' and view the graphical environment from a windows workstation connected to a freebsd box? if yes, how? Not directly; when you run startx it will run an X server on the freebsd box and that will only display stuff on a directly connected monitor.. What you need to do is run an X server on the windows machine, then set the DISPLAY environment variable on the freebsd box to something like windowsbox:0.0 (or tunnel it through ssh). The only x server for windows I know of is eXcursion, but there may be others. HTH, -tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: x question
Yes. You need to install an Xserver on your Windows box. Best product around is Xwin32: http://www.starnet.com/products/ You could also try cygwin: http://www.cygwin.com/ Is it possible to 'startx' and view the graphical environment from a windows workstation connected to a freebsd box? if yes, how? - aW To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: x question
What you need to do is run an X server on the windows machine, then set the DISPLAY environment variable on the freebsd box to something like windowsbox:0.0 (or tunnel it through ssh). The only x server for windows I know of is eXcursion, but there may be others. No, there are several. One I use at work is WinaXe. But again it comes down to personal preferance. efk To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: x question
Check out Cygwin: http://xfree86.cygwin.com It's free. Cygwin/XFree86 is a port of XFree86 to the Microsoft Windows family of operating systems. ... Cygwin/XFree86 consists of an X Server, Xlib, and nearly all of the standard X clients, such as xterm, xhost, xdpyinfo, xclock, and xeyes. -Ken Jackson Tim Peters writes: On Thu, Dec 05, 2002 at 05:53:30PM -0800, Hugo Saro wrote: Is it possible to 'startx' and view the graphical environment from a windows workstation connected to a freebsd box? if yes, how? Not directly; when you run startx it will run an X server on the freebsd box and that will only display stuff on a directly connected monitor.. What you need to do is run an X server on the windows machine, then set the DISPLAY environment variable on the freebsd box to something like windowsbox:0.0 (or tunnel it through ssh). The only x server for windows I know of is eXcursion, but there may be others. HTH, -tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: x question
Hey, I see a lot of people using Exceed or Reflections in the NEM networking community. I use Exceed with XDM. -Dom - Original Message - From: Eric Humphries [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 6:14 PM Subject: Re: x question What you need to do is run an X server on the windows machine, then set the DISPLAY environment variable on the freebsd box to something like windowsbox:0.0 (or tunnel it through ssh). The only x server for windows I know of is eXcursion, but there may be others. No, there are several. One I use at work is WinaXe. But again it comes down to personal preferance. efk To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Qmail/Mail problem..
* aSe [EMAIL PROTECTED] [20021206 02:53]: Hello, I'm useing the HowTo at http://mricon.com/SM/guide/bsd/qvcs-guide.pdf to setup Qmail and Ucspi-tcp. I'm just having a slight problem trying to start ucspi-tcp. Try http://www.lifewithqmail.org. It's generally regarded as _the_ installation guide for qmail. Fail# /usr/local/bin/tcpserver -R -x/var/qmail/control/relays.cdb -u5001 -g5000 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger Ambiguous output redirect. Make sure to copy the scripts from http://www.lifewithqmail.org _verbatim_ (watching carefully for quotes). It works. Any ideas as to why it could be doing that? No idea, the following works for me (anyone could please explain the difference?): grummit:~$ echo hi 21 | cat [1] 66792 grummit:~$ hi [1]+ Doneecho hi 21 | cat grummit:~$ qvb -- pica To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Does FreeBSD work on Walmart's $199 Microtel box?
A quick web search didn't bring up any answer to this. Does anyone here have the definitive word? -r -- email: [EMAIL PROTECTED]; phone: +1 650-873-7841 http://www.cfcl.com/rdm- my home page, resume, etc. http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Qmail/Mail problem..
Sorry, for adding more 'traffic' to the mailing list.. by simply scrolling down and from another email from Kurt Bigler. I was useing csh, when i thought i was useing sh. I fault my addiction to many cans of Dr pepper. :o) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of aSe Sent: Thursday, December 05, 2002 8:55 PM To: [EMAIL PROTECTED] Subject: Qmail/Mail problem.. Hello, I'm useing the HowTo at http://mricon.com/SM/guide/bsd/qvcs-guide.pdf to setup Qmail and Ucspi-tcp. I'm just having a slight problem trying to start ucspi-tcp. Fail# /usr/local/bin/tcpserver -R -x/var/qmail/control/relays.cdb -u5001 -g5000 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger Ambiguous output redirect. (note: my email client is most likely wrapping that command to another line but, it was entered as one) Any ideas as to why it could be doing that? Thank you, aSe [[EMAIL PROTECTED]] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Qmail/Mail problem..
On 2002-12-05 20:54, aSe [EMAIL PROTECTED] wrote: Hello, I'm useing the HowTo at http://mricon.com/SM/guide/bsd/qvcs-guide.pdf to setup Qmail and Ucspi-tcp. I'm just having a slight problem trying to start ucspi-tcp. [...] Fail# /usr/local/bin/tcpserver -R -x/var/qmail/control/relays.cdb \ -u5001 -g5000 0 smtp /var/qmail/bin/qmail-smtpd 21 | \ /var/qmail/bin/splogger Ambiguous output redirect. You are running a command that was designed for sh(1) or compatible shells in csh(1). The guide you are reading assumes that your shell is a Bourne shell, but in BSD the default shell of the root user is /bin/csh. Try saving the command unchanged in a file, and run it as an sh(1) script: fail# cat rc-smtpd.sh /usr/local/bin/tcpserver -R -x/var/qmail/control/relays.cdb \ -u5001 -g5000 0 smtp /var/qmail/bin/qmail-smtpd 21 | \ /var/qmail/bin/splogger Then run the script you have written with sh(1): fail# sh rc-smtpd.sh That should make it work as expected... (note: my email client is most likely wrapping that command to another line but, it was entered as one) It didn't wrap anything. Which is arguably worse, some times, but that's another topic :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Anyone seen a fire server?
On Thursday 05 December 2002 10:38, Kirk Strauser wrote: At 2002-12-05T04:13:45Z, Lord Raiden [EMAIL PROTECTED] writes: [snip] Out of curiosity, why would you *want* to pull drives from the fileserver and put them in a different server/workstation? To share the files of course! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
natd + ipfw2 + dynamic rules
I just tracked down, that having the line: add divert natd all from any to any via tun0 No longer works (used to work with ipfw) man page says this: According to man, packets diverted to userland and reinserted lose their attributes. The following rules work: allow icmp from any to any allow udp from any to 161.142.1.17 53 via tun0 allow udp from 161.142.1.17 53 to any via tun0 But stateful rules like below don't: add allow tcp from any to any out xmit tun0 setup add allow tcp from any to any via tun0 established add allow udp from any to 61.6.32.62 123 keep-state So, does this mean that a tcp packet goes out sets up a dynamic rule before going out via natd. But coming in.. it is diverted via natd, loses some info about state, and doesn't get passed through any rules? For the tcp dynamic rules, 10 packets get diverted by natd rule 5 packets match the tcp rule via tun0 setup 0 packets are denied by the last deny all rule. What happened to the packets that are supposed to be coming in via the setup rule? What's the proper way to do natd with ipfw2? So far, it's the only problem with my recent testing of current :(. As a relative newbie, updating from src was painless. So it looks like it will be a pretty smooth upgrade for FreeBSD 5.0. It's amazing how well the FreeBSD team does things. Any help much appreciated as always. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
[no subject]
Subject: Invitation to WEDELMUSIC and MUSICNETWORK events WEDELMUSIC and MUSICNETWORK events Final Programs Several experts of MUSIC and MULTIMEDIA will meet in Darmstadt 9-12 December 2002 for discussing about the MUSIC Evolution towards the new standards and the future of music towards the Internet age. Protection models, DRM solutiom, distribution, optical music recognition, autio processing, audio understanding, format conversion, XML music notation, multimedia music, accessibility of music, standards, saving the cultural heritage, cultural aspects of music, transaction models, libraries, archives, mobile systems, web tv and music, are only some of the relevant aspects that will be discussed. WEDELMUSIC conference program available online at: http://www.wedelmusic.org/wedelmusic2002 http://www.wedelmusic.org/ MUSICNETWORK opEN WORKSHOP, free registration, final programme available at: http://callisto.dsi.unifi.it/workshop/workshopprog.html http://www.interactivemusicnetwork.org please inform any collegue that could be intrested in the event. Please send and email with remove in subject to be removed from this list. see you in Darmstadt. cheers, Paolo Nesi To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
webmin problem
Hi: I have 3 box with same installation, two weeks ago I installed webmin 1.030 into one of the box, it start outomaticly and working perfect, but yesterday I did port update and try to install webmin on the other 2 box, it install fine but webmin won't start even I reboot the system, I think the webmin version is 1.034, can anybody tell me why, or how do I start it manully. thanks in advance __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
booting using NT boot loader
Hi, I used to have this working then I reimaged my Windows 2000. Anyway, I have Windows 2000 on the C: (first partition) and FreeBSD on the second. VMWare is installed on Win2000. FreeBSD is 4.7-Stable of not that long ago. If switch the active partion to be the FreeBSD partition it boots fine. However, I get a failure if I go thru the NT boot loader. I copied boot1 from /boot to C:\ and called it bootsect.bsd I do a sum on FreeBSD and on Win 2000 (cygwin what a lifesaver) and They come up the same: proot@PTROOT /cygdrive/c $ sum bootsect.bsd 30147 1 proot@PTROOT /cygdrive/c $ cat boot.ini [boot loader] timeout=5 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=Microsoft Windows 2000 Professional /fastdetect C:\bootsect.bsd=FreeBSD C:\=Microsoft Windows What am I doing wrong here? I tried copying the file to a peerless drive when just booted in FreeBSD and then moving it over with Explorer, then I copied it in FreeBSD, gzipped it, copied it over, gunziped it in cygwin and used mv in cygwin to rename. Sorry, I'm not currently on the list, don't have time to read. Any help would be appreciated. Thanks, Paul. -- Paul T. RootE/Mail: [EMAIL PROTECTED] 600 Stinson Blvd, Fl 1S PAG: +1 (877) 693-7155 Minneapolis, MN 55413 WRK: +1 (612) 664-3385 NIC:PTR FAX: +1 (612) 664-4779 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: About options kernel
In the last episode (Dec 06), budsz said: Hi, Last night I tried FreeBSD 5.0-DP1, but I found some error message: $ dmegs | more cut unknown: PNP0303 can't assign resources (port) unknown: PNP0a03 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) unknown: PNP0401 can't assign resources (port) unknown: PNP0501 can't assign resources (port) /cut I tried to find options in /usr/src/sys/i386/conf/SOME-CONFIG, So what options/device should I remove?. Those are motherboard resources that another driver has already grabbed (either by being told via a hint, or some other discovery method). PNP0303, for example is the keyboard, PNP0A03 is the PCI bus, etc. http://members.hyperlink.net.au/~chart/download/pnpid.txt has a pretty comprehensive list of PNP IDs and what hardware they correspond to. You can safely ignore those messages, or if you are adventurous, look up the IDs and remove any static hints for those devices. That should let the kernel use the PNP table to find them. Keep an emergency kernel handy (or if you're commenting out hints, print out the file so you can manually enter the hints in the loader), since if you remove the wrong hints, you risk ending up with a system that has no keyboard :) -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: system wide config for spamassassin
On Tue, 3 Dec 2002 09:36:56 + Matthew Seaman [EMAIL PROTECTED] wrote: On Tue, Dec 03, 2002 at 01:47:57PM +0500, Ilia Chipitsine wrote: I couldn't figure out from supplied documentation what is default name for system wide config file of spamassassin ? Start with: /etc/mail/spamassassin/local.cf but see Mail::SpamAssassin::Conf --- just about anything matching: /usr/local/share/spamassassin/*.cf /etc/mail/spamassassin/*.cf will be read in by spamassassin. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message In my situation, I use spamd instead of spamassassin to cut down on system resources (we have many users using spamassassin). I found that spamd doesn't read the /etc/mail/spamassassin/local.cf file...but when I put the file into /usr/local/share/spamassassin everything gets taken from it. Seems quite odd. Anyone have any ideas? -Andy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Audio Copy
In the last episode (Dec 05), Kliment Andreev said: Is there any easy way to do Audio-CD copy? %dd if=/dev/acd1c of=six.iso bs=2048 dd: /dev/acd1c: Invalid argument %mkisofs -o six.iso -J -R /dev/acd1c Total translation table size: 0 Total rockridge attributes bytes: 266 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used e804 48 extents written (0 Mb) I can use dagrab and then use burncd but sometimes there are gaps (of course I can use -n switch) but I want an ISO image of an audio CD. Audio CDs do not have filesystems, so you can't read them with DD or create them with mkisofs. Try cdda2wav -vall -Ddev,lun -B -Owav and then run cdrecord -v dev=dev/lun -dao -useinfo -text *.wav (this is from the cdrecord manpage) -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Financial freedom in 24 days or less
Hello, Would you like to make $100,000 a year online? If so, then this is your magical email to the kingdom of financial freedom. Think about how life would be WITHOUT an alarm clock waking you up every morning. Or sitting in traffic all morning. Are you frustrated that you belong to the corporate world? IMAGINE your daily commute taking 20 seconds as you walk to your computer! Is this just a dream? Many people think so but they are ABSOLUTELY WRONG. Financial freedom is given to people who jump at the opportunity, not to those who hesitate. 2 years ago I was just like you, I was making $12 an hour working my butt off struggling to pay my bills. One day, a friend of mine introduced me to the GREATEST business ever created online. Within 6 months of working just an hour a day, I was able to quit my full time job and leave the corporate world FOREVER. Now I would like to share this opportunity with you. It is MY DUTY to help you get to the places you dream about, and I'm about to do just that. Normally, there is a $29.99 charge associated with joining this business. But for the next 48 hours, you can sign up, ABSOLUTELY FREE. Even if this isn't the opportunity of a lifetime, how can you afford to pass up this chance? You have nothing to lose! No credit card required, Nothing! All you have to do is click on the link below to learn more about this AMAZING business. http://www.product-galore.com/affiliate.htm Thank you and have a great day! Dan Meadows Jr. 7202DCoG7-191glgM2882AAOZ2-976AhWD1102SLhs7-081l44 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: booting using NT boot loader
On Thu, 5 Dec 2002, Paul Root wrote: Hi, I used to have this working then I reimaged my Windows 2000. Anyway, I have Windows 2000 on the C: (first partition) and FreeBSD on the second. VMWare is installed on Win2000. FreeBSD is 4.7-Stable of not that long ago. If switch the active partion to be the FreeBSD partition it boots fine. However, I get a failure if I go thru the NT boot loader. I copied boot1 from /boot to C:\ and called it bootsect.bsd I do a sum on FreeBSD and on Win 2000 (cygwin what a lifesaver) and They come up the same: proot@PTROOT /cygdrive/c $ sum bootsect.bsd 30147 1 proot@PTROOT /cygdrive/c $ cat boot.ini [boot loader] timeout=5 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=Microsoft Windows 2000 Professional /fastdetect C:\bootsect.bsd=FreeBSD C:\=Microsoft Windows What am I doing wrong here? I tried copying the file to a peerless drive when just booted in FreeBSD and then moving it over with Explorer, then I copied it in FreeBSD, gzipped it, copied it over, gunziped it in cygwin and used mv in cygwin to rename. Sorry, I'm not currently on the list, don't have time to read. Any help would be appreciated. Thanks, Paul. -- Paul T. RootE/Mail: [EMAIL PROTECTED] 600 Stinson Blvd, Fl 1S PAG: +1 (877) 693-7155 Minneapolis, MN 55413 WRK: +1 (612) 664-3385 NIC:PTR FAX: +1 (612) 664-4779 Just use bootpart, and run it under windows. Tell it which partition is your FreeBSD one, and it will create the appropriate bootsector file (and entry). http://www.winimage.com/bootpart.htm Marco Radzinschi E-Mail: [EMAIL PROTECTED] Thu Dec 5 20:17:38 EST 2002 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: booting using NT boot loader
On Thu, 5 Dec 2002 20:18:44 -0500 (EST), Marco Radzinschi [EMAIL PROTECTED] wrote: On Thu, 5 Dec 2002, Paul Root wrote: Hi, I used to have this working then I reimaged my Windows 2000. Anyway, I have Windows 2000 on the C: (first partition) and FreeBSD on the second. VMWare is installed on Win2000. FreeBSD is 4.7-Stable of not that long ago. If switch the active partion to be the FreeBSD partition it boots fine. However, I get a failure if I go thru the NT boot loader. I copied boot1 from /boot to C:\ and called it bootsect.bsd [snip] $ cat boot.ini [boot loader] timeout=5 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINNT=Microsoft Windows 2000 Professional /fastdetect C:\bootsect.bsd=FreeBSD C:\=Microsoft Windows What am I doing wrong here? I tried copying the file to a peerless drive when just booted in FreeBSD and then moving it over with Explorer, then I copied it in FreeBSD, gzipped it, copied it over, gunziped it in cygwin and used mv in cygwin to rename. Sorry, I'm not currently on the list, don't have time to read. Any help would be appreciated. Thanks, Paul. [snip] Just use bootpart, and run it under windows. Tell it which partition is your FreeBSD one, and it will create the appropriate bootsector file (and entry). http://www.winimage.com/bootpart.htm Never used bootpart. Looks interesting. Do you have a Win9x/ME installation on this computer? If not, try removing the C:\=Microsoft Windows line from boot.ini. Couple other questions: (1) Is the Win2K partition active? (2) Are Win2K and FreeBSD installed to the same drive? If not, what's the config? -- Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
IPFW Snort
Simple question for you all...but it evades me. I'm trying to setup a box that will monitor a network, but be totally invisible to that network, but it needs an IP since it will be using some programs like BigBrother and whatnot. So...my question is...if I use IPFW to block, for example, all ports and effectively totally blocking TCP/IP, will Snort still be able to capture TCP/IP packets? Has anyone tried/done this? Thanks Happy Holidays, --Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: webmin problem
This probably sounds simple, but did you check the startup script? --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Ouyang Sent: Thursday, December 05, 2002 2:56 PM To: Question FreeBSD.ORG Subject: webmin problem Hi: I have 3 box with same installation, two weeks ago I installed webmin 1.030 into one of the box, it start outomaticly and working perfect, but yesterday I did port update and try to install webmin on the other 2 box, it install fine but webmin won't start even I reboot the system, I think the webmin version is 1.034, can anybody tell me why, or how do I start it manully. thanks in advance __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
smbfs - Is this still appropriate
THE PROBLEM have a FreeBSD box that needs to map Windoze shares root@flea(/usr/ports/net/smbfs)ttyp3 # uname -a FreeBSD flea.bytecraft.au.com 4.7-RC FreeBSD 4.7-RC #0: Tue Sep 24 19:41:00 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 on other (older) host I added /usr/ports/net/smbfs when attempting this on current host get this message OS versions subsequent to 500027 include smbfs from the make. OK I can cope with that, so I try root@flea(~)ttyp3 # mount_smbfs -I melcms01.xxx.yyy.zzz //ADMINISTRATOR@MELCMS01/sms /mnt Password: and get this mount_smbfs: can't get handle to requester (no /dev/nsmb* device) OK so I look into the /dev/MAKEDEV scripts and there is no nsmb anywhere. So I looked into the old hosts port working dir and found this in the Makefile cd /dev rm -f nsmb* mknod nsmb0 c 144 0 There are currently no nsmb devices in /dev on the new host THE QUESTION Is this command line still appropriate or has any of the mknod parameters changed? Murray Taylor Special Projects Engineer - Bytecraft Systems Entertainment Phone: 61 3 8710 2555 Fax: 61 3 8710 2599 Direct: 61 3 9238 4275 Mobile: 61 0417 319 256 Email: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Start over with a cash grant
This should solve some of your problems... After months of research, we have found the best of the best FREE money and grant programs in the country and put them all together in one place for your benefit. These programs give money for almost any reason, and you DO NOT have to pay it back! * Billions of dollars will be * * granted this year alone! * We have reserved a limited number of copies for only our most valued members (such as yourself), but we ask that you respond A.S.A.P. because demand is very high. http://www.ric1.com/go.e?990991 a href= http://www.ric1.com/go.e?990991 AOL Users Click Here /a iRecommend-It is our trademark. Don't want to receive future email from iRecommend-It? A HREF=http://www.ric2.com/vbunsub.e?[EMAIL PROTECTED];Click Here to unsubscribe today./A or FORWARD this entire message to [EMAIL PROTECTED] **|Recommend-It/VB|[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
xf86EnableIO: Failed to open /dev/io for extended I/O
Build Operating System: FreeBSD 4.6 i386 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/XFree86.0.log, Time: Fri Dec 6 04:48:43 2002 (==) Using config file: /etc/X11/XF86Config Fatal server error: xf86EnableIO: Failed to open /dev/io for extended I/O I changed my kern.securelevel from -1 to 1 about two days ago, so i'm assuming thats the source of the problem.. Is there a way to run the server with securelevel=1 ? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: dc0: TX underrun
- Original Message - From: bowen [EMAIL PROTECTED] Date: Wed, 4 Dec 2002 17:54:48 -0700 To: [EMAIL PROTECTED] Subject: dc0: TX underrun question 1:) I keep getting this message?? dc0: TX underrun -- increasing TX threshold Is this normal or do I need to buy a better nic? It's currently a Linksys 10/100 pci nic ? AFIK: 'tis but a message, nothing wrong per se, unless it's having to gurgle around in store and forward mode, it's just telling what it's doing. Then again, I've never had anything but the incredible searing pain of being eaten by rabid goats with dc_ series nics, YMMV. -- ___ Get your free email from http://mymail.operamail.com Powered by Outblaze To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ASUS A7V333 USB problem
Hello, I have an ASUS A7V333-X mobo and after some fiddling it more or less works very well. However the USB ports, while recognised, will not see my mouse plugged into them. I have not tried any other USB device yet, but I was wondering if anyone has a clue on this ? I have finger-pocked the BIOS options, but it makes no difference. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
OO compile fails
Not sure what to make of this. OO compile (from ports) churns for quite a while on my 4.7-REL box, then dies: -- Making: ../../unxfbsd.pro/slo/sifile.obj g++31 -w -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxfbsd.pro/inc -I. -I/usr/p orts/editors/openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/stl -I/usr/ports/editors /openoffice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/external -I/usr/ports/editors/openof fice/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc -I/usr/ports/editors/openoffice/work/oo_1.0 .1_src/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice/work/oo_1.0.1_src/solenv/inc -I/usr /ports/editors/openoffice/work/oo_1.0.1_src/res -I/usr/include -I/usr/ports/editors/openoffic e/work/oo_1.0.1_src/solver/641/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice/work/oo_1. 0.1_src/solenv/inc/Xp31 -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd - I/usr/local/jdk1.3.1/include/green_threads/include -I/usr/X11R6/include -I/lib/gcc-lib/i386-p ortbld-freebsd4.7/3.1.1/include -I/usr/include -I. -I../../res -I. -I/usr/ports/editors/o penoffice/work/oo_1.0.1_src/solenv/unxfbsdi/usr/include -I/usr/X11R6/include -O -pipe -fno- for-scope -fpermissive -fno-exceptions -fPIC -DFREEBSD -DUNX -DVCL -DGCC -DC300 -DINTEL -DC VER=C300 -D_USE_NAMESPACE -D_USE_NAMESPACE=1 -DX86 -DNEW_SOLAR -DSTLPORT_VERSION=400 -DOSVERS ION=47 -D_THREAD_SAFE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRC641 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxfbsd.pro/slo/sifile.o /usr/ports/editors/openoffice/work /oo_1.0.1_src/setup2/source/compiler/sifile.cxx /usr/ports/editors/openoffice/work/oo_1.0.1_src/setup2/source/compiler/sifile.cxx: In member function `virtual BOOL SiFile::WriteTo(SiDatabase) const': /usr/ports/editors/openoffice/work/oo_1.0.1_src/setup2/source/compiler/sifile.cxx:723: intern al error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. dmake: Error code 1, while making '../../unxfbsd.pro/slo/sifile.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice/work/oo_1.0.1_src/setu p2/source/compiler dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- *** Error code 255 = Scott I. Remick --==-- ICQ: 450152 Save the internet - Use Mozilla: http://home.adelphia.net/~sremick/mozilla/ Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux. No trees were harmed in the composition of this message, although some electrons were mildly inconvenienced. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Need help with newbie training on DNS/Bind
Anyone know of a good tutorial I could use to teach someone how to work with Bind 9.2 on Freebsd as well as DNS? AKA adding and removing records, administration, maintenance, troubleshooting, etc. I have a newbie who I need to teach how to maintain one of our DNS servers and I'd like to do it right. I could teach him from what I know, but that would be like teaching a dog to drive a car. :) I want something in writing, on paper that he can take home at the end of the day and soak up the info I drilled into him on that day so that he can learn faster. Can anyone help with this? I searched, but the tutorials I found so far suck. Think newbie who's never touched bind. :) Thanks again. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrading kde with ports
On Tue, 3 Dec 2002 21:12, Marc Silver wrote: Hi there, You could use /usr/ports/sysytils/portupgrade to do this... and as far as I know it can use packages instead of source... :) Good luck, Marc On Tue, Dec 03, 2002 at 05:42:08PM +1030, Ian Moore wrote: If I want to upgrade kde 3.0.3 to 3.0.5 using the packages, rather than compiling from ports, what is the best way to do it? I've cvsup'ed my ports tree last night and downloaded all the packages from ftp.kde Is there some way to upgrade to the new packages and all their dependencies in the same way that the ports system would upgrade dependencies automatically? Thanks, I did that work liked like a dream - portupgrade is quite awesome! I hadn't realised it could work with packages as well as ports. Cheers, Ian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Need help with newbie training on DNS/Bind
It's not really a tutorial, but I learned how to configure BIND and do basic administration using O'Reilly's DNS and BIND, 4th ed.. O'Reilly has also recently published a Bind Cookbook (don't remember the exact title), which has lots of examples of common BIND configurations. Most of the general Introduction to UNIX/Freebsd type books seem to have chapters on DNS and BIND as well. I have a feeling you were thinking more in terms of free docs, but for a topic as fundamental as DNS, a good book can be worth the cost of admission. Mark On Thu, 2002-12-05 at 23:12, Dragoncrest wrote: Anyone know of a good tutorial I could use to teach someone how to work with Bind 9.2 on Freebsd as well as DNS? AKA adding and removing records, administration, maintenance, troubleshooting, etc. I have a newbie who I need to teach how to maintain one of our DNS servers and I'd like to do it right. I could teach him from what I know, but that would be like teaching a dog to drive a car. :) I want something in writing, on paper that he can take home at the end of the day and soak up the info I drilled into him on that day so that he can learn faster. Can anyone help with this? I searched, but the tutorials I found so far suck. Think newbie who's never touched bind. :) Thanks again. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Need help with newbie training on DNS/Bind
From one newbie to another, drop Bind and go with djbdns. I tried both and djbdns was 10* easyer to use and install. In two days I had DNS resolution working. Much easier tutorials to follow with clear examples. And it's in ports. - Original Message - From: Mark Fujie [EMAIL PROTECTED] To: Dragoncrest [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 11:28 PM Subject: Re: Need help with newbie training on DNS/Bind It's not really a tutorial, but I learned how to configure BIND and do basic administration using O'Reilly's DNS and BIND, 4th ed.. O'Reilly has also recently published a Bind Cookbook (don't remember the exact title), which has lots of examples of common BIND configurations. Most of the general Introduction to UNIX/Freebsd type books seem to have chapters on DNS and BIND as well. I have a feeling you were thinking more in terms of free docs, but for a topic as fundamental as DNS, a good book can be worth the cost of admission. Mark On Thu, 2002-12-05 at 23:12, Dragoncrest wrote: Anyone know of a good tutorial I could use to teach someone how to work with Bind 9.2 on Freebsd as well as DNS? AKA adding and removing records, administration, maintenance, troubleshooting, etc. I have a newbie who I need to teach how to maintain one of our DNS servers and I'd like to do it right. I could teach him from what I know, but that would be like teaching a dog to drive a car. :) I want something in writing, on paper that he can take home at the end of the day and soak up the info I drilled into him on that day so that he can learn faster. Can anyone help with this? I searched, but the tutorials I found so far suck. Think newbie who's never touched bind. :) Thanks again. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message