The FreeBSD Diary: 2003-06-01 - 2003-06-21
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
XFree86 screen area problem
I just set up FreeBSD 5.0 on my PC and am configuring XFree86. Thus far everything is peachy except for one thing - all of the visual elements when I start X (the windows, the fonts, etc) appear huge on screen to the point where they're not really unusable. It looks like the screen area was set to 640 x 480 when it should be 1024 x 768, but I'm having trouble figuring out why this is happening. The only error message I've found shows up when I shut down X, it reads: xauth: (argv):1: bad display name :0 in remove command I've also been pouring through the Config file, but I haven't seen anything that looks like a culprit. My monitor settings are as follows: Identifier NEC Monitor HorizSync 31.5 - 60 VertRefresh 56.2 - 75.1 DisplaySize 304 228 Any help on this would be much appreciated. Thanks, Alex __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can't print postscript files
Hi I, had configure my /etc/printcap like the example in the freebsd handbook but I'm not able to print postscript files I thing I have a little misstake in the gs section in this script /usr/local/libexec/hl7x0 because I can print plaintext files. my printer is a brother HL-730 could any one give me the answer where is the misstake that I'm not able to print ps file. thanks!!! best regards Michael Bohn mailto: [EMAIL PROTECTED] /etc/printcap # lp|brother730:\ :sh:sd=/var/spool/lpd/brother730:\ :lp=/dev/lpt0:\ :if=/usr/local/libexec/hl7x0:\ :df=/usr/local/libexec/psdf: # # #!/bin/sh # # ifhp - Print Ghostscript-simulated PostScript on a DeskJet 500 # Installed in /usr/local/libexec/hl7x0 # # Treat LF as CR+LF: # printf \033k2G || exit 2 # # Read first two characters of the file # IFS= read -r first_line first_two_chars=`expr $first_line : '\(..\)'` if [ $first_two_chars = %! ]; then # It is PostScript; use Ghostscript to scan-convert and print it. # # Note that PostScript files are actually interpreted programs, # and those programs are allowed to write to stdout, which will # mess up the printed output. So, we redirect stdout to stderr # and then make descriptor 3 go to stdout, and have Ghostscript # write its output there. Exercise for the clever reader: # capture the stderr output from Ghostscript and mail it back to # the user originating the print job. # exec 31 12 /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=hl7x0 \ -sOutputFile=/dev/lpt0 - exit 0 else # # Plain text or HP/PCL, so just print it directly; print a form feed # at the end to eject the last page. # echo $first_line cat printf \033l0H exit 0 fi exit 2 ### bash-2.05b# cd /var/spool/lpd bash-2.05b# ls -l total 14 -rw-rx 1 daemon daemon 4 22 Mai 15:07 .seq drwxr-xr-x 2 daemon daemon 1024 22 Mai 16:08 brother730 -rw-rw-r-- 1 daemon daemon25 22 Mai 15:07 lock drwxr-xr-x 2 daemon daemon 512 21 Mai 12:42 lp -rw-rw-r-- 1 daemon daemon27 22 Mai 15:07 status bash-2.05b# pwd /usr/local/libexec bash-2.05b# ls -la total 2732 drwxr-xr-x 7 root wheel 512 21 Mai 13:38 . drwxr-xr-x 15 root wheel 512 16 Mai 23:27 .. drwxr-xr-x 2 root wheel 512 16 Mai 21:26 autoconf213 drwxr-xr-x 2 root wheel 512 16 Mai 21:26 automake14 drwxr-xr-x 6 root wheel 512 16 Mai 20:08 cups drwxr-xr-x 3 root wheel 512 16 Mai 20:51 emacs -r-xr-xr-x 1 root wheel18492 3 Jan 13:17 grmt -r-xr-xr-x 1 root wheel 1205 22 Mai 16:20 hl7x00 -r-xr-xr-x 1 root wheel 196 21 Mai 12:47 if-simple -r-xr-xr-x 1 root wheel15460 21 Mai 13:37 lprps -r-xr-xr-x 1 root wheel 2699888 17 Mai 07:27 mysqld -r-xr-xr-x 1 root wheel 64 22 Mai 15:06 necp6-iso-filter -r-xr-xr-x 1 root wheel 199 21 Mai 13:22 psdf -r-xr-xr-x 1 root wheel 4832 21 Mai 13:37 psif -r-xr-xr-x 1 root wheel 42 21 Mai 13:37 psif-ps -r-xr-xr-x 1 root wheel 66 21 Mai 13:37 psif-text -r-xr-xr-x 1 root wheel 7396 21 Mai 13:37 psof drwxr-xr-x 2 root wheel 512 16 Mai 20:04 w3m bash-2.05b# ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 screen area problem
On Sun, Jun 22, 2003 at 12:15:44AM -0700 I heard the voice of Alex, and lo! it spake thus: It looks like the screen area was set to 640 x 480 when it should be 1024 x 768, but I'm having trouble figuring out why this is happening. Find the Modes line in the Screen section. It'll look something like: Modes 640x480 800x600 1024x768 It tries the modes in order, so just swap 'em around so the 1024x768 one is first. (Yup, bloody stupid system, that it puts the LOWEST first in the configurator) -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LTmodem port
At 16.55 20/06/2003 -0400, Dr. Richard E. Hawkins wrote: On Fri, Jun 20, 2003 at 01:27:13PM -0700, anonymous wrote: I recently installed FreeBSD 4.8 and I have a Lucent WinModem. Are there any detailed instructions on installing the LTModem port for FreeBSD? They aren't needed; it should just work. Mine doesn't work even if the port. Even I kldload a freshly build port it doesn't see it. It is a minipci combo card (wifi + modem) from Fujitsu. The modem part is seen by windows like Lucent Tecnologies soft modem AMR. If someone want to give a try on it I can send the pciconf output. Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: gnome2 running issues
On Sat, 2003-06-21 at 22:26, Derrick Ryalls wrote: Okay, I have gnome compiled and running and for the most part, things seem to function okay. However, on startup, there are several dialogs telling me it cannot load certain applets (clock, tasklist, etc). They all reference the same missing file of: /usr/X11R6/lib/libgen_util_applet-2.so and what I have in that directory is libgen_util_applet-2.a. Is it just a matter of finding that .so file and dropping it in (doubt it), or did a dependancy fail and somehow everything finished without error msgs? Also, has anyone gotten /usr/ports/mail/evolution to work with current /usr/ports/x11/gnome2? Anytime I start it is fails out, the first failure being it can't find libgnome.so. I double checked, and evolution 1.4 is supposed to be gnome2 complaint, so I am not sure why it would be looking for gnome1 .so's. Looks like you have quite a few missing libraries. libgen_util_applet-2.so comes as part of x11/gnomepanel. Evo is a GNOME 2 app, and should depend at all on libgnome.so, but rather libgnome-2.so. You might want to reinstal x11/libgnome, then reinstall Evo. Recompiling the gnomepanel fixed the startup error for gnome, thanks. Evo is still looking for libgnome.so and I still have just libgnome-2.so and libgnome.a so it will only do a splash screen then crash. Joe System info: FreeBSD homer 4.7-RELEASE FreeBSD 4.7-RELEASE #0 evolution-1.4.0_1 gnome2-2.2.1_1 -Derrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.sendmail
On Sat, Jun 21, 2003 at 11:50:21PM -0400, John Von Essen wrote: Okay, before people send more responses... Yes, I have looked at man rc.sendmail and I do understand how everything works. My question is WHY was it designed to behave they way it does? Why isn't rc.sendmail setup such that you can start the listening daemon for inbound, queue runner for outbound, and the msp queue runner. (Currently, you cant start that config with rc.conf and rc.sendmail due to rc.sendmail's logic) You seem to be under the misconception that running sendmail with the '-bd' flag so that it listens on port 25 for incoming messages somehow negates the '-q15m' flag that tells it to scan and process the mail queue every fifteen minutes. ie. you don't need separate sm-mta and sm-queue processes for those functions, as the sm-mta will do both. If your site handles a sufficient volume of e-mail that running separate listener and queue flushing daemons would be advantageous, then I'd recommend looking at an alternative MTA: one of exim, postfix or qmail should be appropriate -- the FreeBSD.org mail system pumps out enormous amounts of mailing list traffic using postfix. Obviously, you can't run the localhost submission daemon AND the port 25 remote daemon listening for inbound. For that case, it is either one or the other - so that part of rc.sendmail makes sense. But if I select YES to enable both the mqueue runner and the clientmqueue runner in rc.conf, the rc.sendmail script will not perform this. The logic of rc.sendmail will only start mqueue if sendmail and sendmail submit are set to NO. Likewise, if you select sendmail YES, then the only other thing you can run is the clientmqueue runner. In my case, I need to run the sendmail daemon, the mqueue runner, and the clientmqueue runner. In other words, I need the following at startup: /usr/sbin/sendmail -L sm-mta -bd -q1h /usr/sbin/sendmail -L sm-mqueue -qp5m Why not just run: /usr/sbin/sendmail -L sm-mta -bd -q5m ? The overhead of sendmail forking a child every five minutes is trivial. /usr/sbin/sendmail -L sm-clientmqueue -Ac -qp5m I'm not sure either why you want to flush the queue quite so frequently. Sendmail will attempt to deliver any new message immediately. It's only if the other side can't receive the message straight away that the messagegets stuck into the queue. Any message held in this way should stay queued for a sufficient time to allow the other end a chance to clear whatever problem it was causing the hold-up. rc.conf and rc.sendmail cannot startup what I want. As a result, I have to do sendmail_enable=NONE, and then from rc.local startup what I want manually. Why can't rc.sendmail be designed such that whatever has YES in rc.conf will get started? If you think you can do it better, please do submit patches. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: sendmail config for desktop
On Sat, Jun 21, 2003 at 05:38:05PM -0700, Gary Schenk wrote: I am running 4.7-RELEASE. When I installed freeBSD I made the localhost name fuzz. I am now attempting to get mutt running on this computer. I cannot send email to the outside world. My email is rejected because the doamin part of the address includes the localhost name fuzz. So instead of [EMAIL PROTECTED], which is what the ISP expects, mail is sent out as being from [EMAIL PROTECTED]. You can put: set [EMAIL PROTECTED] into your ~/.muttrc which should help, but yes, the general solution is to use sendmail's Masquerade feature. In one attempt to get things working, I edited freebsd.mc in a couple of places. I defined 'SMART_HOST' as my isp, and included a line MASQUERADE_AS('socal.rr.com'). I did make cf, and make install. After running sendmail -q it gives me an error message in sendmail.cf line 66: unknown configuration line \n MASQUERADE_AS('socal.rr.com') dnl dnl Dialup users should uncomment and define this appropriately define(`SMART_HOST', `smtp-server.socal.rr.com') dnl Hmmm.. Try this in your `hostname`.mc. Don't leave a space before the 'dnl' after those entries, and make sure you get the quoting right. With m4(1) you need to use quotes like `this', not like 'this': MASQUERADE_AS(`socal.rr.com')dnl define(`SMART_HOST', `smtp-server.socal.rr.com')dnl In case your screen font doesn't make the distinction clear, the first quote mark ` is character 96, and the second quote mark ' is character 39 -- see ascii(7) for the whole table. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Where can I find libgcc_s.so.1 ?
On Sun, Jun 22, 2003 at 03:36:41AM +0200, P. U. Kruppa wrote: Where can I find libgcc_s.so.1 ? (mozilla1.4rc2 seems to need it to run Sun's java plugin) Assuming that you're trying to run the FreeBSD native mozilla, you need to install a FreeBSD native java plugin. Try installing the java/jdk13 port, which includes a netscape plugin compatible with mozilla. Because of Sun's amusing licensing terms you have to compile the port from source and you have to jump through a few hoops in order to get the Java sources, but once you've got that far it's pretty simple to get the port installed. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Stop at booting during installation
hi, I tried to install freebsd 5.0 current, When i boot from cd-rom, it goes and it hang at the message vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0. For your info, i'm using s3 virge gx2 which is agp slot. Thanks for help! rgds, josh __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where can I find libgcc_s.so.1 ?
On Sun, 22 Jun 2003, Matthew Seaman wrote: On Sun, Jun 22, 2003 at 03:36:41AM +0200, P. U. Kruppa wrote: Where can I find libgcc_s.so.1 ? (mozilla1.4rc2 seems to need it to run Sun's java plugin) Assuming that you're trying to run the FreeBSD native mozilla, I am afraid, the assumption is not correct :-) I am trying the latest linux-binaries (1.4rc2) from mozilla.org in linux compatibility mode (1.4rc1 works fine). 1.4rc2 now needs a new version of of the java runtime enviroment which was compiled with gcc32 (j2re-1_4_2-beta-linux-i586.bin) which I installed and linked to my plugin directory. When I start mozilla from xterm I can see a request for libgcc_s.so.1 and the jre is not detected in mozilla's plugin manager. So I wonder where this file should come from. Regards, Uli. +---+ |Peter Ulrich Kruppa| | - Wuppertal - | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail
You would have to boot stand alone When you start up the machine, and it does that part where it says it will continue in so many seconds, or if you hit enter, or hit any other key to stop it - stop it and put boot -s On Sat, 21 Jun 2003, Paige King wrote: forgot my login and password. what do I do to bypass the login. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where can I find libgcc_s.so.1 ?
On Sun, Jun 22, 2003 at 11:09:02AM +0200, P. U. Kruppa wrote: On Sun, 22 Jun 2003, Matthew Seaman wrote: On Sun, Jun 22, 2003 at 03:36:41AM +0200, P. U. Kruppa wrote: Where can I find libgcc_s.so.1 ? (mozilla1.4rc2 seems to need it to run Sun's java plugin) Assuming that you're trying to run the FreeBSD native mozilla, I am afraid, the assumption is not correct :-) I am trying the latest linux-binaries (1.4rc2) from mozilla.org in linux compatibility mode (1.4rc1 works fine). 1.4rc2 now needs a new version of of the java runtime enviroment which was compiled with gcc32 (j2re-1_4_2-beta-linux-i586.bin) which I installed and linked to my plugin directory. Now, why didn't you mention that in your original post? Help stamp out guesswork! When I start mozilla from xterm I can see a request for libgcc_s.so.1 and the jre is not detected in mozilla's plugin manager. So I wonder where this file should come from. You would need to install a Linux package of gcc-3.2 --- if you're using the emulators/linux_base port, all of the standard linux stuff you have installed is based on RedHat 7.1, so grabbing a .rpm from one of the RedHat sites would probably be your best course of action. Make sure you add '--root /compat/linux --dbpath /var/lib/rpm --nodeps --replacepkgs --ignoreos --ignorearch' to the rpm command line. Make sure to get the '--root' path right, or you may trash the system gcc, which could be a very tricky thing to recover from. Of course, you're going off into uncharted territory here: no guarrantee that this will work correctly without severe hackery. Good luck. Cheers, Matthew PS. There's an alternative of using linux_base-debian, which provides much the same sort of facility as linux_base, but based on the Debian woody distribution and using .deb rather than .rpm files. If it doesn't work with .rpm's you could try .deb's, but I do rather doubt that will actually get you anywhere. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
New hard drive, old BIOS?
I've just installed a new, 40GB hard drive, and copied my system over to it. It booted and seems to be running fine, but I have a couple of worries. 1. My BIOS setup utility doesn't detect the drive using the Auto Detect Hard Drives feature. In fact, when I tried to run it, it hung. However, when I just went ahead and booted FreeBSD (on my old hard drive) it didn't seem to have any problem seeing and writing to the new drive. Is this a serious enough problem to take the risk of trying to flash an upgrade to my BIOS? 2. When I booted up using the new hard drive, everything seemed to go OK for a while, then I got a number of error messages on the console: ad0s1a: UDMA ICRC error reading fsbn 96639 of 48288-28369 (ad0s1 bn 96639; cn 6 tn 3 sn 60) falling back to PIO mode. Would this be the likely result of an outdated BIOS (the blurb says copyright 1998)? Or is it more likely the result of old cables which don't meet the ATA66 spec? Subjectively, the machine seems to be running somewhat faster, despite the lack of DMA (I don't know if DMA ever worked on this machine). And it's a great relief to now have plenty of free space. -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
socks
Hi I am wondering does freebsd support socks4? If so how do u enable it or dont u need to enable it or do u need to install it? Cuse ive installed xchat from the freebsd cd.Im running a proxy and ive set it up but it doesnt want to work. my proxy server is correct cause i can connect through it with mirc for windows.Help please. regards ian ___ LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail http://www.webmail.co.za/dialup/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New hard drive, old BIOS?
On Sun, 22 Jun 2003, Roger Merritt wrote: I've just installed a new, 40GB hard drive, and copied my system over to it. It booted and seems to be running fine, but I have a couple of worries. 1. My BIOS setup utility doesn't detect the drive using the Auto Detect Hard Drives feature. In fact, when I tried to run it, it hung. However, when I just went ahead and booted FreeBSD (on my old hard drive) it didn't seem to have any problem seeing and writing to the new drive. Is this a serious enough problem to take the risk of trying to flash an upgrade to my BIOS? FreeBSD only relies on the system BIOS to boot the system; once the kernel loads it disables the system BIOS, so as long as it is booting normally everything should be fine. While it most likely wouldn't hurt anything I wouldn't make flashing the ROM a priority unless it was having problems starting up or there was some feature in the newer BIOS I wanted to take advantage of. 2. When I booted up using the new hard drive, everything seemed to go OK for a while, then I got a number of error messages on the console: ad0s1a: UDMA ICRC error reading fsbn 96639 of 48288-28369 (ad0s1 bn 96639; cn 6 tn 3 sn 60) falling back to PIO mode. Would this be the likely result of an outdated BIOS (the blurb says copyright 1998)? Or is it more likely the result of old cables which don't meet the ATA66 spec? This is typically the result of faulty IDE cables--if a new one came with the drive try that and see if it still occurs. Subjectively, the machine seems to be running somewhat faster, despite the lack of DMA (I don't know if DMA ever worked on this machine). And it's a great relief to now have plenty of free space. Even if Ultra-DMA isn't supported it very likely is faster, drives have made a lot of advances since 1998, they spin faster, have larger read/write buffers and improved data-handling algorithms. Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
please help!
please help me im trying to install freebsd 5.1 ftp install but when it hits 53% the system beeps and a fatal error has accoured realloc is 0! and i have to reboot please help thank you! _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: please help!
On Sun, 2003-06-22 at 07:47, zak h wrote: please help me im trying to install freebsd 5.1 ftp install but when it hits 53% the system beeps and a fatal error has accoured realloc is 0! and i have to reboot please help thank you! Sounds like your system is out of RAM+swap -- Adam [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: adding a quirk for a USB memory device
Thanks for the help Roland. I was getting ready to edit and recompile scsi_da.c via doing a kernel re-compile, when I noticed in archives the 'sysctl kern.cam.da.no_6_byte=1' hack. I tried it out on the command line and found it worked! I didn't have to recompile after all! I added the command to /etc/sysctl.conf, and all is well in USB land ;-) I can now plug-unplug the USB memory stick. Just thought I would mention it for the archives. Cheers, Paul Hamilton -Original Message- From: Paul Hamilton [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 June 2003 10:48 PM To: Freebsd-Questions Subject: adding a quirk for a USB memory device Hi all, So many questions... I can mount/access (mount -t msdos /dev/da0s1 /mnt) my 'Apacer 16MB HandySteno 1.1' USB memory key stick as long as it's connected when I power up my FreeBSD 4.8 server. It does give an error msg on the console saying: (da0:umass-sim0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. I take it that it has done the increasing by it's self using the Apacer quirk in /usr/src/sys/cam/scsi/scsi_da.c I found a bit of info on this at: http://www.root.org/~nate/freebsd/quirks.html but it neglects to say how to recompile scsi_da after it has been edited. It also doesn't go into much detail on how to get the info needed to add a quirk. 'camcontrol devlist -v' reports: # camcontrol devlist -v scbus0 on umass-sim0 bus 0: USB DISK 2.08 at scbus0 target 0 lun 0 (da0) scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) If I unmount it (umount /mnt), disconnect it, and later remount it I get: umass0: detached umass0: USB Disk, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: USB DISK 2.08 Removable Direct Access SCSI-0 device da0: 650KB/s transfers da0: 15MB (32000 512 byte sectors: 64H 32S/T 15C) umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT da0: reading primary partition table: error reading fsbn 0 umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 etc it's then lost, until I next reboot the PC. Qu: is my Apacer device the same one that is mentioned in the scsi_da.c quirk i.e., {T_DIRECT, SIP_MEDIA_REMOVABLE, Apacer, HandyDrive, *}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE Qu: Do I need another quirk added to the above Apacer quirk, or a whole new quirk, as I have a Apacer Handy Steno, not a HandyDrive? Qu: Since 'camcontrol devlist -v' reports that my USB device as a ' USB DISK 2.08' do I need to set that name up as a quirk instead? Qu: If I do need to edit/create a new quirk, what method do I use to compile the file etc? NOTE: *Any* info I appear to be lacking would be appreciated! :-) Cheers, Paul Hamilton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail config for desktop
I found that following these instructions helped: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-dialup.html Gary Schenk wrote: I am running 4.7-RELEASE. When I installed freeBSD I made the localhost name fuzz. I am now attempting to get mutt running on this computer. I cannot send email to the outside world. My email is rejected because the doamin part of the address includes the localhost name fuzz. So instead of [EMAIL PROTECTED], which is what the ISP expects, mail is sent out as being from [EMAIL PROTECTED]. In one attempt to get things working, I edited freebsd.mc in a couple of places. I defined 'SMART_HOST' as my isp, and included a line MASQUERADE_AS('socal.rr.com'). I did make cf, and make install. After running sendmail -q it gives me an error message in sendmail.cf line 66: unknown configuration line \n I used ee editor to go to line 66 and deleted what was apparently blank. Now when I run sendmail -q it's as though nothing occurs, I don't even get a mail message telling me my email was rejected. How can I remove fuzz from my address? Dynamite? I have very little hair left, and this day has been really rough on what is left. It's being ripped out in big chunks. Sendmail documentation seems to be setup for server configuration. I have not been able to find anything for a standalone desktop that answers these questions. I've spent two days studying about and configuring mutt. Should I just stick with kmail? Thanks, I really needed to vent! Gary here is the error message: Jun 21 17:32:05 fuzz sendmail[85]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 66: unknown configuration line \n here is freebsd.mc: divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright #notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright #notice, this list of conditions and the following disclaimer in the #documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software #must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors #may be used to endorse or promote products derived from this software #without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This is a generic configuration file for FreeBSD 4.X and later systems. # If you want to customize it, copy it to a name appropriate for your # environment and do the modifications there. # # The best documentation for this .mc file is: # /usr/share/sendmail/cf/README or # /usr/src/contrib/sendmail/cf/README # divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.16 2002/05/22 16:39:14 gshapiro Exp $') OSTYPE(freebsd4) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') MASQUERADE_AS('socal.rr.com') dnl dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX) dnl DNS based black hole lists dnl dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For that, visit http://dmoz.org/Computers/Internet/Abuse/Spam/Blacklists/ dnl Uncomment to activate Realtime Blackhole List dnl information available at http://www.mail-abuse.com/ dnl NOTE: This is a subscription service as of July 31, 2001 dnl FEATURE(dnsbl) dnl Alternatively, you can provide your own server and rejection message: dnl
Re: LTmodem port
The docs are in /usr/local/share/doc/ltmdm/*-en.TXT. These are minimalistic but provide links to the sites where more information is available. I have a supported chipset version and it hangs hopelessly when I attempt to use it. Docs say to change IRQ. This will likely involve something similar to disabling unnecessary devices and PNP and wiring the slot where the winmodem is installed. That process is highly unique to your BIOS and BIOS revision. Two newer versions (6.00c and 8.26a9) exist and are available for download by following the links in the TXT files. They do not install or run on FreeBSD without tweaking as they expect certain Linux indicators not present. These have extensive documentation provided in the tar. Support for these may be a challenge to locate and probably not available from this list. - Original Message - From: Gianmarco Giovannelli [EMAIL PROTECTED] To: Dr. Richard E. Hawkins [EMAIL PROTECTED]; anonymous [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, June 21, 2003 12:25 AM Subject: Re: LTmodem port At 16.55 20/06/2003 -0400, Dr. Richard E. Hawkins wrote: On Fri, Jun 20, 2003 at 01:27:13PM -0700, anonymous wrote: I recently installed FreeBSD 4.8 and I have a Lucent WinModem. Are there any detailed instructions on installing the LTModem port for FreeBSD? They aren't needed; it should just work. Mine doesn't work even if the port. Even I kldload a freshly build port it doesn't see it. It is a minipci combo card (wifi + modem) from Fujitsu. The modem part is seen by windows like Lucent Tecnologies soft modem AMR. If someone want to give a try on it I can send the pciconf output. Thanks... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports
How do u check what ports r open on my freebsd box? how do i close and open them? regards ___ LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail http://www.webmail.co.za/dialup/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: socks
On Sun, Jun 22, 2003 at 12:45:38PM +0100, Matthew Seaman wrote: On Sun, Jun 22, 2003 at 01:08:13PM +0200, Ian Todd wrote: I am wondering does freebsd support socks4? If so how do u enable it or dont u need to enable it or do u need to install it? Cuse ive installed xchat from the freebsd cd.Im running a proxy and ive set it up but it doesnt want to work. my proxy server is correct cause i can connect through it with mirc for windows.Help please. Don't know about socks4, but: Also nylon and dante, which don't have the annoying license problems that the socks5 reference implementation does, and seem to be more actively maintained. Kris pgp0.pgp Description: PGP signature
ports
How do u check what ports r open on my freebsd box? how do i close and open them? regards ___ LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail http://www.webmail.co.za/dialup/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports
Do you mean open as in having services running on those ports? In that case, # netstat -af inet How you open or close them is dependent on the service; some of them are initiated by inetd, in which case, edit the file /etc/inetd.conf, comment out services you don't want running, and 'killall -HUP inetd' to restart inetd. Other services you will have to look up individually. - Original Message - From: Ian Todd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 22, 2003 10:13 AM Subject: ports How do u check what ports r open on my freebsd box? how do i close and open them? regards ___ LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail http://www.webmail.co.za/dialup/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cannot build gtkhtml3
Hi, I always get the following output when building gtkhtml3: In file included from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-palette.h:36: libgnome/gnome-defs.h: No such file or directory In file included from /usr/X11R6/include/gal/widgets/color-palette.h:38, from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-group.h:31: libgnomeui/gnome-canvas.h: No such file or directory /usr/X11R6/include/gal/widgets/color-group.h:32: libgnome/gnome-defs.h: No such file or directory In file included from /usr/X11R6/include/gal/widgets/color-palette.h:38, from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-group.h:37: syntax error before `typedef' In file included from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-palette.h:40: syntax error before `BEGIN_GNOME_DECLS' /usr/X11R6/include/gal/widgets/color-palette.h:42: syntax error before `typedef' /usr/X11R6/include/gal/widgets/color-palette.h:51: syntax error before `GnomeCanvasItem' In file included from body.c:26: /usr/X11R6/include/gal/widgets/widget-color-combo.h:39: syntax error before `BEGIN_GNOME_DECLS' /usr/X11R6/include/gal/widgets/widget-color-combo.h:41: syntax error before `typedef' /usr/X11R6/include/gal/widgets/widget-color-combo.h:48: syntax error before `GnomeCanvas' In file included from /usr/X11R6/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:58, from ../../src/gtkhtml-types.h:26, from ../../src/htmlengine.h:30, from ../../src/htmlengine-edit.h:27, from body.c:27: /usr/X11R6/include/libgnomeprint-2.2/libgnomeprint/gnome-print-config.h:129: syntax error before `typedef' gmake[3]: *** [body.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/www/gtkhtml3/work/gtkhtml-3.0.5/components/html-editor' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/www/gtkhtml3/work/gtkhtml-3.0.5/components' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/www/gtkhtml3/work/gtkhtml-3.0.5' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/www/gtkhtml3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade18389.4 make ** Fix the problem and try again. I have a: FreeBSD detention.home.ahk 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sat Oct 12 11:52:27 CEST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBSD-24-12-2001 i386 All ports are up-to-date (except evolution which I cannot update because of gtkhtml3). Does someone have any clue about this? Thanks, Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
small daemon
hey guys, i have just begun making myself a personal site..I was wondering if it was alright if i used the small bsd daemon image - the one that is on the right side of the main logo on freebsd.org.i will be creating a freebsd howtos/tutorials section and so i thought it would be nice to have that logo in that section's page..i will obviously show the copyrights on my site..i just want to make sure its alright since i dont want to cause any problems :) thanks alexis georges _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NATD and FreeBSD 5.1
Hi all, Thankyou for a great product. I am a red hat to fbsd convert (since 5 came out). I'm fairly new to fbsd. Just a simple question: With FreeBSD 5.1, does NATD come precompiled into the kernel? I ask this simply because I receive the following error enabling natd for my dial up connection: # natd -interface tun0 natd: Unable to create divert socket.: Protocol not supported I am currently using ppp's nat and it's working fine but would prefer to use natd. Thankyou very much! Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ppp -auto limited to certain times only?
Ben Cohen [EMAIL PROTECTED] writes: I have fixed-rate dialup access from my ISP but only off-peak. I just found out that they let me connect at other times but charge me extra so I want to avoid doing this accidentally. I'd like to run ppp -auto so that I get dial on demand in the evening, but stop it connecting in the daytime. I thought of using a cron job to start and stop ppp but is there a more elegant way? The manual for pppctl(8) has some examples of doing related things via cron entries... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't print postscript files
On Sun, 22 Jun 2003 23:06, Warren Block wrote: On Thu, 22 May 2003 [EMAIL PROTECTED] wrote: had configure my /etc/printcap like the example in the freebsd handbook but I'm not able to print postscript files I thing I have a little misstake in the gs section in this script /usr/local/libexec/hl7x0 because I can print plaintext files. my printer is a brother HL-730 could any one give me the answer where is the misstake that I'm not able to print ps file. What actually does print when you try to print a PostScript file? Are there any error messages? Your printcap file does not use ifhp, unless that's called from hl7x0. And the ifhp script is flawed; many PostScript files start with HP PJL sequences that ifhp does not detect. Notice the date of the original posting. Somehow this is is an old e-mail that has becme recycled. I believe the OP has had his problem solved. Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NATD and FreeBSD 5.1
In the default kernel divert and other options needed for natd are not compiled in. man natd and it will tell you what you need to compile in for it to work. Sincerely, Scott Kupferschmidt ISPrime, Inc. 866.502.4678 ext. 3 AIM: Scott ISPrime - ICQ: 174337249 On Mon, 23 Jun 2003, Michael Tran wrote: Hi all, Thankyou for a great product. I am a red hat to fbsd convert (since 5 came out). I'm fairly new to fbsd. Just a simple question: With FreeBSD 5.1, does NATD come precompiled into the kernel? I ask this simply because I receive the following error enabling natd for my dial up connection: # natd -interface tun0 natd: Unable to create divert socket.: Protocol not supported I am currently using ppp's nat and it's working fine but would prefer to use natd. Thankyou very much! Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NATD and FreeBSD 5.1
Michael Tran wrote: Hi all, Hi! Thankyou for a great product. I am a red hat to fbsd convert (since 5 came out). I'm fairly new to fbsd. Just a simple question: With FreeBSD 5.1, does NATD come precompiled into the kernel? Yes, you must add the (at least) following to the kernel options IPFIREWALL options IPDIVERT Check FreeBSDs handbook for setting up natd, there is a really good explanation there! http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html Kim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: socks
+-- Ian Todd [freebsd] [22-06-03 13:08 +0200]: | Hi | | I am wondering does freebsd support socks4? If so how do u enable it | or dont u need to enable it or do u need to install it? Cuse ive | installed xchat from the freebsd cd.Im running a proxy and ive set it | up but it doesnt want to work. my proxy server is correct cause i can | connect through it with mirc for windows.Help please. | | regards | ian I think this has nothing to with FreeBSD. Its a xchat prob. You should set the proxy setting of xchat. Check out the Settings-Preferences-Network-Network Setup. xchat supports HTTP, SOCKS4, SOCKS5 and Wingate proxy. Regards, Shantanu -- To see how long it takes a command to run, type the word time before the command name. -- Dru [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mount My Creation [ls -c, -t -u etc]
On Sat, 21 Jun 2003, Joshua Oreman wrote: On Thu, 19 Jun 2003, Patrick O'Reilly wrote: And see 'man ls' and the switches -c, -t and -u. I was aware of and often use the -t switch (in a tcsh alias), but these have to do with sorting. What if I wanted to see (maybe not as output from a single command but a few) the creation date, last modification date, and last access time for a directory? What are the command lines I'd use (to include . files and NOT recursively list within a/the directory)? Include . files - ls -a Don't recurse - DON'T include -R Inode change time - ls -lc Last modified - ls -l These last two are nearly always identical, ugh. Last accessed - ls -lu Note that there is no creation time - it's actually just the inode change time. So it will change when you make a new link to the file, for example, or when you set any of the file's times other than last modified, with `touch'. -- Josh The -u one is the only one for which I see new output (I've never thought was there!) But now I can't figure out two things: [1] If I'm in a directory, and do ls -alF and see for example: drwx-- 2 pete users 512 Jun 22 13:41 myfiles/ What ls command can I do IN THE CURRENT WORKING DIRECTORY to just see the myfiles/ listing? That is, if I type ls -alF myfiles (or myfiles/), why does the output delve *into* this directory and list its contents? The only work around is ls -alF | grep myfiles it seems! [2] What is the switch to see the full date and time output, instead of this information being truncated to Dec 3 2002 instead of Dec 3 2002 15:16:01 for example? -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: getting ordb.org to stop spam with sendmail
Hello Wash I've read your posting about ordb. How do you implement this service in your sendmail? I did find some documentation about this but I'm not sure it's correct. Am Tue, Jun 17, 2003 at 12:22:36PM +0300 ODHIAMBO Washington schrieb: * Ruben de Groot [EMAIL PROTECTED] [20030617 12:19]: wrote: On Tue, Jun 17, 2003 at 10:06:22AM +0300, ODHIAMBO Washington typed: I believe the ordb dnslists are not free anymore, but that is upto you to go and find out. Perhaps you already did. ordb.org is free and AFAIK they have no intention to change that policy. I withdraw my point then ;-) -Wash -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; pgp0.pgp Description: PGP signature
Re: Mount My Creation [ls -c, -t -u etc]
On Sun, 22 Jun 2003, Axel Scheepers wrote: prompt$ man ls -d Directories are listed as plain files (not searched recursively) and symbolic links in the argument list are not indirected through. :-) gr, Axel Scheepers Awesome! The post before had just said don't use -R Thanks Axel S. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.1 ssh hang (i have rtfm and googled) long
generic install of 5.1 release. sshd version OpenSSH_3.6.1p1. i have /etc/hosts set up . all systems are RFC 1597 networks and i do not have a bind server. every connect takes over a minute to complete; using passwords. (ssh -vv host) stalls at debug1: got SSH2_MSG_SERVICE_ACCEPT looks up address, gets no response, times out and lets me in. ssh server is running w/ sshd -4 -u0 man sshd -u0 may also be used to prevent sshd from making DNS requests unless the authentication mechanism or configuration requires it. Authentication mechanisms that may require DNS include RhostsAuthentication, RhostsRSAAuthentication, HostbasedAuthentication changes to sshd_config (on server) PasswordAuthentication yes VerifyReverseMapping no no changes to ssh_config (on client) i have tried all suggestions below and a few more, that i could not find again. http://www.derkeiler.com/Mailing-Lists/FreeBSD-Security/2002-07/11027.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg06861.html http://www.geocrawler.com/archives/3/151/2002/10/0/10045250/ thanks to all jon __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tkabber wish problem
hi, I've tried to install tkabber 0.9.5 beta on freebsd 5.1. I've downloaded all libraries needed, but it is still bugging me with message about wish that it can be found under different names and that in my system it is called wish8.3 and quit. any suggestions how to get this IM to work? or should I try another IM? thanx martin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: small daemon
alexis georges wrote: hey guys, i have just begun making myself a personal site..I was wondering if it was alright if i used the small bsd daemon image - the one that is on the right side of the main logo on freebsd.org.i will be creating a freebsd howtos/tutorials section and so i thought it would be nice to have that logo in that section's page..i will obviously show the copyrights on my site..i just want to make sure its alright since i dont want to cause any problems :) As long as your purpose in using the daemon is pro-BSD, I doubt if you'll find anyone complaining about it's use. If you want the official word, Kirk McKusick is the copyright owner. He has a page up that describes what is OK to do, and how to get in contact with him if you want an official Yeah/nay on your project, or require written approval to use the daemon: http://www.mckusick.com/beastie/index.html -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 screen area problem
Thanks for the response. Sadly, this does not seem to have solved the problem. I did set the modes to run at 1024x768, but I'm still looking at an unusable interface filled with giant text and windows. I've pasted the screen portion of the config file below, is there anything else that might be causing this? Thanks, Alex Section Screen Identifier Screen 1 Device My Video Card MonitorNEC Monitor DefaultDepth 8 SubSection Display Depth 8 Modes1024x768 800x600 640x480 EndSubSection SubSection Display Depth 16 Modes1024x768 800x600 640x480 EndSubSection SubSection Display Depth 24 Modes1024x768 800x600 640x480 EndSubSection EndSection __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot build gtkhtml3
On Sun, 2003-06-22 at 11:29, Alex Kiesel wrote: Hi, I always get the following output when building gtkhtml3: Remove /usr/X11R6/include/gal, and you'll be set. Joe In file included from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-palette.h:36: libgnome/gnome-defs.h: No such file or directory In file included from /usr/X11R6/include/gal/widgets/color-palette.h:38, from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-group.h:31: libgnomeui/gnome-canvas.h: No such file or directory /usr/X11R6/include/gal/widgets/color-group.h:32: libgnome/gnome-defs.h: No such file or directory In file included from /usr/X11R6/include/gal/widgets/color-palette.h:38, from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-group.h:37: syntax error before `typedef' In file included from /usr/X11R6/include/gal/widgets/widget-color-combo.h:37, from body.c:26: /usr/X11R6/include/gal/widgets/color-palette.h:40: syntax error before `BEGIN_GNOME_DECLS' /usr/X11R6/include/gal/widgets/color-palette.h:42: syntax error before `typedef' /usr/X11R6/include/gal/widgets/color-palette.h:51: syntax error before `GnomeCanvasItem' In file included from body.c:26: /usr/X11R6/include/gal/widgets/widget-color-combo.h:39: syntax error before `BEGIN_GNOME_DECLS' /usr/X11R6/include/gal/widgets/widget-color-combo.h:41: syntax error before `typedef' /usr/X11R6/include/gal/widgets/widget-color-combo.h:48: syntax error before `GnomeCanvas' In file included from /usr/X11R6/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:58, from ../../src/gtkhtml-types.h:26, from ../../src/htmlengine.h:30, from ../../src/htmlengine-edit.h:27, from body.c:27: /usr/X11R6/include/libgnomeprint-2.2/libgnomeprint/gnome-print-config.h:129: syntax error before `typedef' gmake[3]: *** [body.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/www/gtkhtml3/work/gtkhtml-3.0.5/components/html-editor' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/www/gtkhtml3/work/gtkhtml-3.0.5/components' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/www/gtkhtml3/work/gtkhtml-3.0.5' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/www/gtkhtml3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade18389.4 make ** Fix the problem and try again. I have a: FreeBSD detention.home.ahk 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sat Oct 12 11:52:27 CEST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEBSD-24-12-2001 i386 All ports are up-to-date (except evolution which I cannot update because of gtkhtml3). Does someone have any clue about this? Thanks, Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Make buildworld fails (many times)
Ok, I must be doing something wrong. This is my firewall box (5.0) and it has the calcru negative time of blah for pid blah issue. So, I decided to rebuild the world. Here's what I did: rm -rf /usr/src/* cvsup'd with this: *default release=cvs tag=RELENG_5_0 src-all The first time, I did make -j4 buildworld, and it failed on something similar to this: cc1 in free(): warning: junk pointer, too high to make sense /usr/src/crypto/openssl/crypto/conf/conf_mod.c: In function `module_init': /usr/src/crypto/openssl/crypto/conf/conf_mod.c:414: internal 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. *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. This was actually the most recent error, produced after I cvsup'd tag=. The 2nd try, I did it with tag=RELENG_5_1, and I got a similar error; this time it was talking about something to do with kerberos (its always failing in the crypto stuff). I never did the -j4 after the first time because I thought maybe it was messing up (at times I saw a 7 load avg). Any Ideas? I stopped relying on make cleandir, and I just delete the src directory before cvsup-ing. Maybe its a gcc thing? su-2.05b# gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) Other info: AMD K6-2 450MHz, 192MB. Current install: 5.0-RELEASE-p7 TIA, Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: please help!
[EMAIL PROTECTED] wrote: please help me im trying to install freebsd 5.1 ftp install but when it hits 53% the system beeps and a fatal error has accoured realloc is 0! and i have to reboot please help thank you! _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: please help!
[EMAIL PROTECTED] wrote: please help me im trying to install freebsd 5.1 ftp install but when it hits 53% the system beeps and a fatal error has accoured realloc is 0! and i have to reboot please help thank you! Oh, I can remember that bug with 5.0. I feel guilty for not writing a PR, I forgot, sorry. But I can confirm that. I haven't tried with 5.1 yet, I'll do that on Tuseday but I can imagine it's still the same bug. -Harry _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setup of a software RAID-1 to an existing system?
Johan, The canonical answer is to repost to freebsd-questions, which enjoys a larger readership. But I'll try -- your question is interesting b/c I'm in the same boat, except w/ CURRENT. As you said, breezing through the handbook will show a lot of detail, but perhaps it does not directly address mirroring a live fs. Aside from the handwaving, you might check http://www.vinumvm.org/. There seems to be a relevant (if a little dated) article: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vinum/index.html It may be possible to mirror partitions, even if half of it is live. Were this not the case, it's prob possible to boot the install cdrom and play some tricks with dd or dump to sync the disks. Perhaps they could then be mounted, vinum set up, and then booted into. It would be fantastic if the freebsd installer had the ability to run raid 1 right out the chute. Doubtless, there's a number of us w/ legacy servers having two disks but no hardware raid. Good luck. Share your notes (at least to newbies) once you get it working! Regards, Tom McIntyre -Original Message- From: Johan Paul [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: Setup of a software RAID-1 to an existing system? Hi all! I am pretty new to FreeBSD but thought it might be a nice idea to migrate from a Linux server to a FreeBSD one. My question is regarding software RAID-1 for this FreeBSD box. I have two IDE equally sized hard drives and I installed FreeBSD 4.8 on the other one. Now the question is: can I make a RAID-1 array of these two disks while FreeBSD is installed on the other one (using vinum or other...)? Or how do I get RAID-1 to work on these two disks? I've read some of the vinum documentation but it is unclear to me if it is possible to set up a RAID-1 on a running disk system - and if my assumptions are correct, that it is impossible, it is unclear to me how to set up this RAID-1? Regards, Johan Paul __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Granting access on MySQL
Hello, I need to grant a user access to a database. How can I do it? This is what I've tried: mysql grant all on databasename.* to username; I got no error messages, but I after connecting as the user, I couldn't use the database. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
data contained in ipfw show
what's the max bytes ipfw show will record? 00010 422 44684 count ip from any to any out xmit tun0 00020 509 42556 count ip from any to any in recv tun0 i dump and zero them on the hour atm but just curious. also, /(1024*1024.0) would give me my mb yeah?? cool. ajt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Granting access on MySQL
Konrad Scorciapino wrote: I need to grant a user access to a database. How can I do it? One thing to check is if you need to reload privileges. The mysql doc has lots of info on this. Another short term way to move fwd might be to install webmin or phpMyAdmin, both of which are available in freebsd ports. Tom McIntyre __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.1 ssh hang (i have rtfm and googled) long
On Sun, Jun 22, 2003 at 12:18:07PM -0700, jon wrote: generic install of 5.1 release. sshd version OpenSSH_3.6.1p1. i have /etc/hosts set up . all systems are RFC 1597 networks and i do not have a bind server. every connect takes over a minute to complete; using passwords. sshd needs to be able to perform forward and reverse DNS queries of the incoming host. /etc/hosts isn't enough. Kris pgp0.pgp Description: PGP signature
Re: Make buildworld fails (many times)
On Sun, Jun 22, 2003 at 02:15:46PM -0700, Charlie Schluting wrote: Other info: AMD K6-2 450MHz, 192MB. Current install: 5.0-RELEASE-p7 This is likely to be a hardware issue. AMD k6's are very sensitive to temperature and require lots of CPU cooling. Or maybe you have bad RAM or other failing hardware. Kris pgp0.pgp Description: PGP signature
Kernel building
I'm trying to build a custom kernel that I can eventually include a device for a (built in the mother board) sound controller. I tried several time and added back some devices which I think I don't need just to see if the kernel will make, however, it doesn't. I followed the directions in the handbook # /usr/sbin/config MYKERNEL # cd ../../compile/MYKERNEL # make depend # make (fails here with Error code 1) I'm running FreeBSD 4.8-RELEASE I'm attaching MYKERNEL with hopes someone can help. Thanks Paul Calabrese # # MYKERNEL - kernel configuration file for FreeBSD/i386 with sound added # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # #http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/MYKERNEL 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $ machine i386 cpu I686_CPU ident MYKERNEL maxusers0 makeoptions DEBUG=-g#Build kernel with gdb(1) debug symbols #optionsMATH_EMULATE#Support for x87 emulation options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options NFS #Network Filesystem #optionsNFS_ROOT#NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM#Rate limit bad replies options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. # To make an SMP kernel, the next two are needed #optionsSMP # Symmetric MultiProcessor Kernel #optionsAPIC_IO # Symmetric (APIC) I/O # To support HyperThreading, HTT is needed in addition to SMP and APIC_IO #optionsHTT # HyperThreading Technology device isa device eisa device pci # Floppy drives device fdc0at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, # don't use the above line for fdc0 but the following one: #device fdc0 # ATA and ATAPI devices device ata0at isa? port IO_WD1 irq 14 device ata1at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940
Re: Granting access on MySQL
Konrad, What errors did you get? Your GRANT command seems unusual. You would do something like: GRANT ALL ON databasename.* TO [EMAIL PROTECTED] IDENTIFIED BY password or GRANT ALL ON databasename.* TO [EMAIL PROTECTED] IDENTIFIED BY password The second is if you connect remotely. Obviously, the user has to exist before you do the GRANT. Also, it is not wise to do GRANT ALL on a database unless the user is going to be at superuser level. You do the GRANT at the table level. Say the table is account_info. You would do: GRANT ALL ON databasename.account_info TO [EMAIL PROTECTED] IDENTIFIED BY password If you don't want to do ALL, you can be specific: GRANT DELETE,INSERT,SELECT,UPDATE ON databasename.account_info TO [EMAIL PROTECTED] IDENTIFIED BY password If you still have trouble look at the tables in the mysql database, in particular, the db and user tables. -John On Sunday, June 22, 2003, at 06:45 PM, Konrad Scorciapino wrote: Hello, I need to grant a user access to a database. How can I do it? This is what I've tried: mysql grant all on databasename.* to username; I got no error messages, but I after connecting as the user, I couldn't use the database. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] John Von Essen ([EMAIL PROTECTED]) President, Essenz Consulting (www.essenz.com) Phone: (800) 248-1736 Fax: (800) 852-3387 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
accidently deleted user www
Hi i accidently deleted the user www and now my apache doesnt start. is there a fast way to solve this problem? im learning mysql/php and need to have my apache up and running as soon as possible, and i dont want to reinstall apache from ports, because if i do so i need to bring my friends here again to setup apache to work with mysqld :-) dont answer man apache then i dont know the meaning of this mailinglist. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New hard drive, old BIOS?
At 06:25 PM 6/22/03, you wrote: snip While it most likely wouldn't hurt anything I wouldn't make flashing the ROM a priority unless it was having problems starting up or there was some feature in the newer BIOS I wanted to take advantage of. Thanks. That was what I thought from reading various web sites on the subject, but I wanted reassurance. This is typically the result of faulty IDE cables--if a new one came with the drive try that and see if it still occurs. None came with the drive. I hope I have one. Thanks again. -- Roger ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Earthlink DSL with staticIP timeout
I am running FreeBSD 4.8 over Earthlink DSL through a (zyxel 645m)ethernet modem with a staticIP. I have no problem connecting and having connections made from the outside however after a small amount of traffic I lose my connection. I have tried the same connection on a RedHat server with no problems. What am I missing in FreeBSD that makes me lose the connection. My ppp.log is empty My httpd-error.log looks like this. normal operations [Sat Jun 21 06:41:26 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 06:57:04 2003] [notice] caught SIGTERM, shutting down [Sat Jun 21 07:00:50 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sat Jun 21 07:00:50 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 07:14:44 2003] [notice] SIGHUP received. Attempting to restart [Sat Jun 21 07:14:45 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sat Jun 21 07:14:45 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 18:29:48 2003] [error] [client 65.41.145.140] File does not exist: / usr/local/www/data/default.ida [Sat Jun 21 22:00:08 2003] [error] [client 208.51.0.74] File does not exist: /us r/local/www/data/robots.txt [Sat Jun 21 22:47:20 2003] [notice] SIGHUP received. Attempting to restart [Sat Jun 21 22:47:21 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sat Jun 21 23:20:40 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 23:26:37 2003] [notice] SIGHUP received. Attempting to restart [Sat Jun 21 23:26:38 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sat Jun 21 23:26:38 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 23:39:00 2003] [notice] SIGHUP received. Attempting to restart [Sat Jun 21 23:39:01 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sat Jun 21 23:39:01 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 23:48:53 2003] [notice] SIGHUP received. Attempting to restart [Sat Jun 21 23:48:54 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sat Jun 21 23:48:54 2003] [notice] Accept mutex: flock (Default: flock) [Sat Jun 21 23:57:19 2003] [notice] caught SIGTERM, shutting down [Sun Jun 22 00:27:37 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sun Jun 22 00:27:37 2003] [notice] Accept mutex: flock (Default: flock) [Sun Jun 22 00:41:16 2003] [error] [client 65.33.240.196] Directory index forbid den by rule: /home/sites/www.ws1.webtising.net/web/ [Sun Jun 22 01:18:40 2003] [notice] SIGHUP received. Attempting to restart [Sun Jun 22 01:18:41 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sun Jun 22 01:18:41 2003] [notice] Accept mutex: flock (Default: flock) [Sun Jun 22 05:19:05 2003] [error] [client 65.113.108.252] File does not exist: /home/sites/www.ws1.webtising.net/web/default.ida [Sun Jun 22 11:35:35 2003] [error] [client 213.10.163.56] Directory index forbid den by rule: /home/sites/www.ws1.webtising.net/web/ [Sun Jun 22 15:07:02 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sun Jun 22 15:07:02 2003] [notice] Accept mutex: flock (Default: flock) [Sun Jun 22 15:08:32 2003] [notice] SIGHUP received. Attempting to restart [Sun Jun 22 15:08:33 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sun Jun 22 15:08:33 2003] [notice] Accept mutex: flock (Default: flock) [Sun Jun 22 15:50:51 2003] [notice] caught SIGTERM, shutting down [Sun Jun 22 15:53:20 2003] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations [Sun Jun 22 15:53:20 2003] [notice] Accept mutex: flock (Default: flock) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidently deleted user www
Andre wrote: i accidently deleted the user www and now my apache doesnt start. is there a fast way to solve this problem? 1) Change your apache's httpd.conf to run as nobody/nogroup. 2) Use vipw or adduser commands to recreate the www user. 3) Restore /etc's config files from backups. But most importantly, however, is that you should figuring out how to undo a change before you make it, not afterwards -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidently deleted user www
On Mon, 23 Jun 2003, Andre wrote: Hi i accidently deleted the user www and now my apache doesnt start. is there a fast way to solve this problem? Don't do that. :-) If your machine has been running for a while there should be backups in /var/backup, so you can do: # grep '^www:' /var/backups/master.passwd.bak /etc/master.passwd # pwd_mkdb -p /etc/master.passwd $.02, /Mikko ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel building
On Sun, Jun 22, 2003 at 07:31:54PM -0400, Paul wrote: I'm trying to build a custom kernel that I can eventually include a device for a (built in the mother board) sound controller. I tried several time and added back some devices which I think I don't need just to see if the kernel will make, however, it doesn't. I followed the directions in the handbook # /usr/sbin/config MYKERNEL # cd ../../compile/MYKERNEL # make depend # make (fails here with Error code 1) I'm running FreeBSD 4.8-RELEASE I'm attaching MYKERNEL with hopes someone can help. You forgot to include the error. Kris pgp0.pgp Description: PGP signature
Re: Make buildworld fails (many times)
On Sun, 22 Jun 2003, Kris Kennaway wrote: On Sun, Jun 22, 2003 at 02:15:46PM -0700, Charlie Schluting wrote: Other info: AMD K6-2 450MHz, 192MB. Current install: 5.0-RELEASE-p7 This is likely to be a hardware issue. AMD k6's are very sensitive to temperature and require lots of CPU cooling. Or maybe you have bad RAM or other failing hardware. Kris Well, I tried to run make again, and it stopped in another place. Unfortunately, it wasn't a signal 11: cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DHAVE_CONFIG_H=1 -DSTDC_HEADERS=1 -DHAVE_TEMPNAM=1 -DNO_EOF_CHAR_CHECK=1 -DRETSIGTYPE=void -DSkip_f2c_Undefs=1 -DIEEE_drem=1 -DAllow_TYQUAD -DPedantic -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libF77 -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libI77 -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libU77 -I/usr/src/gnu/lib/libg2c -c -DLperror -o perror.So /usr/src/gnu/lib/libg2c/../../../contrib/libf2c/f2cext.c *** Signal 10 Stop in /usr/src/gnu/lib/libg2c. *** Error code 1 Does this still sound like hardware issues? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidently deleted user www
Hi i accidently deleted the user www and now my apache doesnt start. is there a fast way to solve this problem? It seems like there are two possibilities of what you mean. One is just that you deleted the id www out of your passwd file. The other is that you really deleted user www which had lots of necessary files. The first is easy. Just make yourself root and do a 'vipw' Add in an entry for the user www. You will need to have an idea of what the UID, GID, home directory and shel should be.But, armed with that you can just copy one of the nearby lines and edit it with the appropriate info for www and :wq out and voila, it will be there. Note, the UID and GID must be correct, not just the id name. I have them as 80:80 on some other machines. The home directory might also have to be correct, depending on how you have Apache set up/configured. Ours is /nonexistant since we really don't use that directory. The shell probably only matters if you log in as www for some things. Ours is /bin/nologin. If you had files under user www, then you are going to either have to find some backups of recreate them. Good lick, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can convert user expired days in human readable ?
Or for a way that works on all platforms with perl and not just FreeBSD platforms with date -r): perl -e 'print scalar localtime(1064005200),\n' ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld fails (many times)
On Sunday 22 June 2003 05:25 pm, Charlie Schluting wrote: On Sun, 22 Jun 2003, Kris Kennaway wrote: On Sun, Jun 22, 2003 at 02:15:46PM -0700, Charlie Schluting wrote: Other info: AMD K6-2 450MHz, 192MB. Current install: 5.0-RELEASE-p7 This is likely to be a hardware issue. AMD k6's are very sensitive to temperature and require lots of CPU cooling. Or maybe you have bad RAM or other failing hardware. Kris Well, I tried to run make again, and it stopped in another place. Unfortunately, it wasn't a signal 11: It doesn't matter. My rule is that if you are the only one with problems, it is your computer that has the problem. There haven't been a number of complaints of buildworld failures in -current, which is where they would be if 5.x was failing. In the past, IIRC, many of the K6 450 users had to underclock them to get them stable. Kent cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DHAVE_CONFIG_H=1 -DSTDC_HEADERS=1 -DHAVE_TEMPNAM=1 -DNO_EOF_CHAR_CHECK=1 -DRETSIGTYPE=void -DSkip_f2c_Undefs=1 -DIEEE_drem=1 -DAllow_TYQUAD -DPedantic -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libF77 -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libI77 -I/usr/src/gnu/lib/libg2c/../../../contrib/libf2c/libU77 -I/usr/src/gnu/lib/libg2c -c -DLperror -o perror.So /usr/src/gnu/lib/libg2c/../../../contrib/libf2c/f2cext.c *** Signal 10 Stop in /usr/src/gnu/lib/libg2c. *** Error code 1 Does this still sound like hardware issues? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.sendmail
The problem with depending on sendmail -bd -q30m to clean out /var/spool/mqueue is that it is slow! This is why I want to run a separate Persistent Queue runner for mqueue. In my case I have a fallback mx server which gets all the bad email (undeliverable, slow recipient, etc.,.). The problem is sometimes the fallback is under heavy load, and mail to the fallback gets queued on my slave nodes. The mail has to get off the slave nodes quickly, this is why I want a persistent queue runner for mqueue and clientmqueue. The fallback machine is doing the standard -bd -q1h and -Ac -q1h, which works fine. Obviously this all comes down to preference. In my case I WANT a listening daemon, mqueue runner, and clientmqueue runner. I am surprised that rc.sendmail wont grant my request. In the end, I will simply re-code rc.sendmail to do what I want. But again, I dont understand the harm of having rc.sendmail behave the way I want it to behave. If I select sendmail_outbound_enable=YES - what is the harm is doing what I ask - why does rc.sendmail have to get in my way. John On Sunday, June 22, 2003, at 04:14 AM, Matthew Seaman wrote: On Sat, Jun 21, 2003 at 11:50:21PM -0400, John Von Essen wrote: Okay, before people send more responses... Yes, I have looked at man rc.sendmail and I do understand how everything works. My question is WHY was it designed to behave they way it does? Why isn't rc.sendmail setup such that you can start the listening daemon for inbound, queue runner for outbound, and the msp queue runner. (Currently, you cant start that config with rc.conf and rc.sendmail due to rc.sendmail's logic) You seem to be under the misconception that running sendmail with the '-bd' flag so that it listens on port 25 for incoming messages somehow negates the '-q15m' flag that tells it to scan and process the mail queue every fifteen minutes. ie. you don't need separate sm-mta and sm-queue processes for those functions, as the sm-mta will do both. If your site handles a sufficient volume of e-mail that running separate listener and queue flushing daemons would be advantageous, then I'd recommend looking at an alternative MTA: one of exim, postfix or qmail should be appropriate -- the FreeBSD.org mail system pumps out enormous amounts of mailing list traffic using postfix. Obviously, you can't run the localhost submission daemon AND the port 25 remote daemon listening for inbound. For that case, it is either one or the other - so that part of rc.sendmail makes sense. But if I select YES to enable both the mqueue runner and the clientmqueue runner in rc.conf, the rc.sendmail script will not perform this. The logic of rc.sendmail will only start mqueue if sendmail and sendmail submit are set to NO. Likewise, if you select sendmail YES, then the only other thing you can run is the clientmqueue runner. In my case, I need to run the sendmail daemon, the mqueue runner, and the clientmqueue runner. In other words, I need the following at startup: /usr/sbin/sendmail -L sm-mta -bd -q1h /usr/sbin/sendmail -L sm-mqueue -qp5m Why not just run: /usr/sbin/sendmail -L sm-mta -bd -q5m ? The overhead of sendmail forking a child every five minutes is trivial. /usr/sbin/sendmail -L sm-clientmqueue -Ac -qp5m I'm not sure either why you want to flush the queue quite so frequently. Sendmail will attempt to deliver any new message immediately. It's only if the other side can't receive the message straight away that the messagegets stuck into the queue. Any message held in this way should stay queued for a sufficient time to allow the other end a chance to clear whatever problem it was causing the hold-up. rc.conf and rc.sendmail cannot startup what I want. As a result, I have to do sendmail_enable=NONE, and then from rc.local startup what I want manually. Why can't rc.sendmail be designed such that whatever has YES in rc.conf will get started? If you think you can do it better, please do submit patches. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK mime-attachment ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setup of a software RAID-1 to an existing system?
Hi all! This is repost from freebsd-newbies mailing list since this might be a more suitable mailing list for my question. I am pretty new to FreeBSD but thought it might be a nice idea to migrate from a Linux server to a FreeBSD one. My question is regarding software RAID-1 for this FreeBSD box. I have two qually sized IDE hard drives and I installed FreeBSD 4.8 on the other one. Now the question is: can I make a RAID-1 array of these two disks while FreeBSD is installed on the other one (using vinum or other...)? Or how do I get RAID-1 to work on these two disks? FreeBSD got one slice from each disk that occupy the whole disk. Only the first disk is partitioned into 4 pieces (details about the partitions might be unneccesary...?). I've read some of the vinum documentation but it is unclear to me if it is possible to set up a RAID-1 on a running file system - and if my assumptions are correct, that it is impossible, it is unclear to me how to set up this software RAID-1? Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
nss_ldap on 4.8
Is there any way to run nss_ldap on 4.8? Trying to build under ports says it's only supporte on 5.1 or later. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ The most serious doubt that has been thrown on the authenticity of the biblical miracles is the fact that most of the witnesses in regard to them were fishermen. -- Arthur Binstead ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setup of a software RAID-1 to an existing system?
On Mon, Jun 23, 2003 at 05:00:23AM +0300 or thereabouts, Johan Paul seemed to write: Hi all! This is repost from freebsd-newbies mailing list since this might be a more suitable mailing list for my question. You're right, it is. I am pretty new to FreeBSD but thought it might be a nice idea to migrate from a Linux server to a FreeBSD one. My question is regarding software RAID-1 for this FreeBSD box. I have two qually sized IDE hard drives and I installed FreeBSD 4.8 on the other one. Now the question is: can I make a RAID-1 array of these two disks while FreeBSD is installed on the other one (using vinum or other...)? Or how do I get RAID-1 to work on these two disks? FreeBSD got one slice from each disk that occupy the whole disk. Only the first disk is partitioned into 4 pieces (details about the partitions might be unneccesary...?). I've read some of the vinum documentation but it is unclear to me if it is possible to set up a RAID-1 on a running file system - and if my assumptions are correct, that it is impossible, it is unclear to me how to set up this software RAID-1? I would read the Bootstrapping Vinum article in the FreeBSD Documentation Set. Alternative is just backup your data, boot from the Fixit CDROM, run vinum, restore. -- Josh Regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Granting access on MySQL
Hello, I need to grant a user access to a database. How can I do it? This is what I've tried: mysql grant all on databasename.* to username; I got no error messages, but I after connecting as the user, I couldn't use the database. Hi, Finally, don't forget to flush privileges or restart your mysql daemon after you granted permissions. Cheer, Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS weirdness...
On Thu, 19 Jun 2003, jle wrote: You are correct, I misread the prev post. mount /home fails. # mount /home mount: /dev/ad0s1h: Device busy There are two mount points for /home. One on the local disk (ad0s1h) and the NFS mount that I mount over /home for shell users, so that HTTTD can find the public_html dirs. The complete fstab on HTTPD: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1h /home ufs rw 2 2 /dev/ad0s1d /tmpufs rw 2 2 /dev/ad0s1g /usrufs rw 2 2 /dev/ad0s1e /varufs rw 2 2 /dev/ad0s1f /var/tmpufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 NFSD:/home2 /home nfs rw,bg 0 0 This worked before I upgraded my webserver (HTTPD) but now it fails to mount on reboot yet succeeds manually. Any Ideas? Multiple mounts for a mountpoint is considered foot-shooting. Either: a) Mount /home off of NFSD:/home2. b) Mount NFSD:/home2 somewhere else. Regards, Andre Guibert de Bruet | Enterprise Software Consultant Silicon Landmark, LLC. | http://siliconlandmark.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setup of a software RAID-1 to an existing system?
On Monday, 23 June 2003 at 5:00:23 +0300, Johan Paul wrote: Hi all! This is repost from freebsd-newbies mailing list since this might be a more suitable mailing list for my question. I am pretty new to FreeBSD but thought it might be a nice idea to migrate from a Linux server to a FreeBSD one. My question is regarding software RAID-1 for this FreeBSD box. I have two qually sized IDE hard drives and I installed FreeBSD 4.8 on the other one. Now the question is: can I make a RAID-1 array of these two disks while FreeBSD is installed on the other one (using vinum or other...)? Or how do I get RAID-1 to work on these two disks? FreeBSD got one slice from each disk that occupy the whole disk. Only the first disk is partitioned into 4 pieces (details about the partitions might be unneccesary...?). I've read some of the vinum documentation but it is unclear to me if it is possible to set up a RAID-1 on a running file system - and if my assumptions are correct, that it is impossible, it is unclear to me how to set up this software RAID-1? You might like to take a look at http://www.vinumvm.org/cfbsd/vinum.pdf or http://www.vinumvm.org/cfbsd/vinum.txt. This is the Vinum chapter from The Complete FreeBSD. 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 pgp0.pgp Description: PGP signature
Re:troube with install FreeBSD on XP toshiba 2410
Hi Kevyn, I had the same problem in model Satellite 2455. To solve this, I changed the following options in BIOS: - In section Display I selected LCD+AnalogRGB; - In section Device Configuration I selected All Devices You can change this options when you are in windows, through Toshiba Console - Toshiba Hardware settings. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Make buildworld fails (many times)
Kent Stewart wrote: It doesn't matter. My rule is that if you are the only one with problems, it is your computer that has the problem. There haven't been a number of complaints of buildworld failures in -current, which is where they would be if 5.x was failing. In the past, IIRC, many of the K6 450 users had to underclock them to get them stable. Kent Thanks for the help. I also found some info in the Sig11 doc about having to run these POS procs @ 400MHz (still more than enough for my NAT router / firewall). Oh well, that will have to wait for another weekend :) --Charlie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
help
Hello Dear I am live in iran.i have a industerial computer for control.for relate with plc use ccm board and SiDriver .I want replace industerial computer with another computer.I want from you that How Declare ccm Board for new computer. With Best Regards ABdollahi Manesh - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
FreeBSD- I downloaded a .zip version of an SSH-Telnet client called PuTTy off the internet. I have unziped it to another dir on /home, but when i try to open the actual client called putty.exe it gives me a message like Can't find program putty.exe What does this mean and how do i fix it? E-mail me back. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: your mail
On Sun, 22 Jun 2003 [EMAIL PROTECTED] wrote: FreeBSD- I downloaded a .zip version of an SSH-Telnet client called PuTTy off the internet. I have unziped it to another dir on /home, but when i try to open the actual client called putty.exe it gives me a message like Can't find program putty.exe What does this mean and how do i fix it? E-mail me back. PuTTY is a windows program. If you want to use ssh from freebsd you can run ssh [EMAIL PROTECTED]. Or do you have a samba share? Rgds Rus -- www: http://www.65535.net | Hosting - Shell Accounts MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo e: [EMAIL PROTECTED] | Community: http://www.65535.org t: +44 (0) 7092016595 | 10% Donation on every FreeBSD product ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]