Re: Using unix mail with maildir format
On 04 Jul Vince wrote: Unix mail wont as maildir is not the original unix format. Mave a look at the nail port mail/nail It can/does have a mail type interface and reads maildir. As we talk about the original *NIX mail format I have a question about mbox maildir too. I'm about to set up a new (mail) system; pop3, imap supported So I have a choice: use sendmail/procmail + imap-uw - the standard UNIX mail format or.. use the courier package - gives me the Maildir format. What are the pro's and cons for/against both mail standards? Won't the maildir format with all this separate mails not be more difficult to maintain? I have to say that running courier/maildir never gave problems 'till now but having the chooce I very much want some insights/advice on this matter. Some reading points are OK too ;-) -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using unix mail with maildir format
On Jul 5, 2005, at 12:08 AM, dick hoogendijk wrote: What are the pro's and cons for/against both mail standards? Won't the maildir format with all this separate mails not be more difficult to maintain? In what way more difficult to maintain? maildir makes backups easier as incrmental backups truly are incremental. With standard mbox format the whole thing is backed up every time if any new mail has come or mail downloaded, etc. There are various performance reasons for maildir as well. Try Google. I am sure you will find a whole ton of stuff comparing the two. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: uplcom a callin only device?
-Original Message- From: Emanuel Strobl [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 9:22 PM To: freebsd-questions@freebsd.org Cc: Norbert Koch Subject: Re: uplcom a callin only device? Am Mittwoch, 29. Juni 2005 16:32 schrieb Norbert Koch: 5.4 has the new uplcom driver which checks the revision maybe you can apply the cvs version to your 5.3 (guess). -Harry I tested this with RELENG_5 as of last week. Hmm, then you have the new uplcom driver... The device seems to be correctly recognized. I see /dev/ucom0 appearing, when I connect the adaptor. That's the problem, the chipset has the same id although it's design has changed. What does usbdevs -v say? You'll have a line like: USB-Serial Controller(0x2303), Prolific Technology Inc.(0x067b), rev 3.00 Rev. 3.00 ist the latest I have, the former was 2.02. Maybe they once again designed a new chipset... Here's my usbdevs output USB-Serial Controller(0x2303), Prolific Technology Inc.(0x067b), rev 3.00 Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD
Bob Hall wrote: The belief that guys with red skin, horns, pointy tails, and pitchforks represent the devil is a European superstition, not a Christian doctrine. There's no support for it in the Bible or the writings of the church fathers. There is also no support, except among BSD fans, for horned, pointy-tailed, red-skinned creatures with pitchforks representing anything other than a li'l devil. Saying it represents an invisible, oft-benevolent 'daemon' has very little credibility when the mascot was clearly intended to look like what two-thirds of humanity would recognize as _el diablo_, albeit an awfully harmless, cartoony one. I think I will give one of my favorite input control devices, the 'mouse', a mascot. It'll look a lot like this guy: http://images.google.com/images?q=mickey%20mouse ...but if anyone complains I'll just tell them it's clearly not an animate rodent, but is rather a stylized, anthropomorphic interpretation of a computer accessory. I'm sure the lawyers at Disney will see my point of view. Hey, if it works for Beastie the daemon... On a more serious note, am I the only one who has been getting hiccups of freebsd-questions mail from last year? I just got a bunch of traffic (including one of the previous incarnations of this abysmal Beastie logo non-debate) from late December, all posts that I had seen before. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Linksys WMP11 on Freebsd 4.3
Hi, I would just like to ask if there is any way at all that I can configure the Linksys wireless PCI card (WMP11) to work on Freebsd 4.3? I know the card's not compatible, but if I can't make it work I'll have to buy a wireless card that IS compatible and I'm hoping I wouldn't have to do that. Any help at all would be appreciated. Thank you very much! Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 ndis support
Anyway, there is a utility in 5.4 (I think that's that's where it showed up) called ndisgen. Running ndisgen steps you through a wonderful little script that asks for for the location of your INF and SYS files, generates you .h file and kernel module. I did that ... thank you very much ... it generated a rt2500_sys.ko .. and that could be loaded by hand. Now I have just the Problem left that it does not work when i try to load it on boot. Is there anything I have to do except copy that file to /boot/kernel and enter load_rt200_sys=yes to loader.conf? I was getting the same No such file or directory error until I ran ndisgen. Maybe you could try kldload ./your .ko file. That worked here. And after all, I saw that inside the manual is written down that only prism chipset cards are supported to run as an access point. Is that still correct? Or is there any change to get it run. The Interface seems to work now. When I try to use wicontrol it tells me wicontrol: SIOCGWAVELAN: Device not configured. Please tell me that my card will work, too ;o) Thanks for your Help Regards Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: new convert
Hello. Eddie Colon wrote: Hello I will be a new FreeBSD user as soon as I receive my DVD. I am a Linux user for a few yrs now. I have a few concerns, I hope you can answer me, I don't belong to any mailing lists. I don't think there are any user groups down here in Puerto Rico. FreeBSD in general supports consumer hardware worse than various Linux distributives, so you will have problems. 1- Can you tell me if it has trouble detecting built-in modems? I have a notebook, an HP nx9020 and it's built-in modem uses the conexant chipset, My SuSE 9.3 had trouble with that until I got a 3rd party driver from www.linuxant.com. So, will run into the same thing with freebsd? I dont think that you'll be able use this modem :-( with FreeBSD 2- I have a HP scanjet 4600 scanner (usb) that doesn't have a linux driver... either from HP themselves or from the linux community. I can use it with my old windows desktop , but not with linux. Can you suggest any possible FreeBSD solution? usanner(4) suppors 4300C, so maybe it will support 4600, but in general you must expect problems. 3- Will FreeBSD detect my Palm cradle (usb)?I use my PDA alot. I really like Jpilot as my pda gui app. Do you know of other Jpilot users that use FreeBSD ? Maybe it will work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fsck_ext2fs problems
Hi all, I'd like to share a filesystem on the same computer between FreeBSD and Linux, and as it seems that FreeBSD supports ext2 better than Linux does ufs(2), I've created an ext2 filesystem. Mounting accessing Works fine, except when I try to fsck it, fsck_ext2fs fails with the error message: execve: No such file or directory. When I use the e2fsck program, however, I can fsck the filesystem just fine. Unfortunately, at boot time, FreeBSD wants to use fsck_ext2fs... A quick search on the Internet didn't show any solutions, so - does anybody here know what I can do to get rid of the error message? Thanks, Jaap Boender ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running FreeBSD server behind a firewall with nat
Hi, I'm really new to FreeBSD and UNIX, and I have to configure it to host a webserver. After a week I've managed to install Apache/mySQL/PhP and get everything running as I want it on my local network. Now I need to put it on the Internet, so that the developers can take control over it (ssh, ftp). The problem is that at the moment when I activate one-to-one nat on my hardware firewall for this machine, the services stop working and behave strangely (for example, if I connect to the box using ssh, it prompts for the login and nothing else happens, ftp doesn't work either). If I try to reboot, sendmail doesn't start at all (it just hangs, so I have to hit ^C to stop the script). I haven't found any information about configuring this correctly on the Internet, so I hope I can find an answer here. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidental overwrite
steve lasiter wrote: until today when I tried to copy over a .sql file so MySQL could see it and run it. I accidentally copied it over to /usr/local/bin/mysql thinking mysql was a directory. My question(s) are: Is there any way to revert back to the original file if this type of mistake is made? Anyone, running any computer with any operating system who does not keep backups is asking for trouble. FreeBSD is no different to anything else in that regard. In this case you destroyed a file which has virtual backup in the form of the Internet. Recover it by re-installing the package. Some simple rules you could follow to try and avoid doing this again: 1) Don't do something as root unless you have to. 2) Explore the -i options to cp, mv and rm and set them up as aliases for your own account and for root. This is not foolproof because there are dozens of utilities which can also overwrite files (tar, rsync, rdist, scp, cpio to name a few). 3) Explore options your shell might have to avoid overwriting files. E.g. tcsh has noclobber and you shell will have something similar. 4) Modern shells have command-line expansion. Use it to expand the target of your cp to see if it already exists or not, is a directory or not etc. 5) Unix of any kind is the single most complicated thing you will ever use in your life. Buy a book; read the handbook; read manual pages. Learn about it and you can hopefully minimise the mistakes. 6) Make backups regularly. Not everything is on the internet. There are many options from CDs, through flash sticks, to tapes and autochangers. You can add another disk to your PC or to another PC. You can do more than of these. You should use them regularly if you consider your data to be precious. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NVIDIA TNT2 woes
On Jul 5, 2005, at 2:19 AM, Igor Robul wrote: Anthony M. Agelastos wrote: As my xorg.conf looks just about identical, does anyone on the list have a nvidia RIVA TNT where their OpenGL works through the nv driver? If so, I would like to figure out what makes it work for you and not for me. Have you installed graphics/dri port? Somehow for some reason, I have. It must have been a dependency for some other program. In any event, attached below is a copy of my xorg.conf. If OpenGL should somewhat work with dri (which I had never heard of before this post), then I am wondering what is not configured properly (my xorg.conf has it enabling dri in the Module section). Thank you all for your help. pkg_info | grep -i dri | grep -i OpenGL dri-6.2.1,2 OpenGL hardware acceleration drivers for the DRI cat xorg.conf Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/CID/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ EndSection Section Module Load extmod Load glx Load dri Load dbe Load record Load xtrap Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse EndSection Section Monitor #DisplaySize 330 240 # mm Identifier Monitor0 VendorName DEL ModelNameDELL D1025TM ### Uncomment if you don't want to default to DDC: # HorizSync30.0 - 85.0 # VertRefresh 50.0 - 120.0 Option DPMS EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option Rotate# [str] #Option VideoKey # i #Option FlatPanel # [bool] #Option FPDither # [bool] #Option CrtcNumber# i #Option FPScale # [bool] #Option FPTweak # i Identifier Card0 Driver nv VendorName nVidia Corporation BoardName NV4 [RIVA TNT] BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 16 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 Modes 1024x768 EndSubSection SubSection Display Viewport 0 0 Depth 24 EndSubSection EndSection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck_ext2fs problems
Jaap Boender wrote: Hi all, I'd like to share a filesystem on the same computer between FreeBSD and Linux, and as it seems that FreeBSD supports ext2 better than Linux does ufs(2), I've created an ext2 filesystem. Mounting accessing Works fine, except when I try to fsck it, fsck_ext2fs fails with the error message: execve: No such file or directory. When I use the e2fsck program, however, I can fsck the filesystem just fine. Unfortunately, at boot time, FreeBSD wants to use fsck_ext2fs... A quick search on the Internet didn't show any solutions, so - does anybody here know what I can do to get rid of the error message? Does Linux maybe support UFS(1) better than UFS(2)? Are you running ext2fs from Linux? If you are running it from FreeBSD then try making a symlink in /sbin from fsck_ext2fs to wherever you have e2fsck and make sure that e2fsck will be available when fsck runs. That almost certainly means it has to bee on your root partition. (Or just copy it to /sbin). If you do not want to fsck the filesystem at all at startup then set the sixth (last) field in /etc/fstab to 0. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
error installing graphics/ImageMagick from ports
hello- i get an error installing graphics/ImageMagick 4.11-RELEASE-p8 FreeBSD 4.11-RELEASE-p8 #0: i tried cvsup'ing my ports tree. same error. error log is below, if anyone can suggest anything. i'd like to install this port. make install clean -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall -c -o coders/magick_libMagick_la-jbig.lo `test -f 'coders/jbig.c' || echo './'`coders/jbig.c source='coders/jpeg.c' object='coders/magick_libMagick_la-jpeg.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ /bin/sh /usr/local/bin/libtool15 --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall -c -o coders/magick_libMagick_la-jpeg.lo `test -f 'coders/jpeg.c' || echo './'`coders/jpeg.c coders/jpeg.c: In function `ReadJPEGImage': coders/jpeg.c:654: warning: variable `image' might be clobbered by `longjmp' or `vfork' coders/jpeg.c:1102: warning: variable `image' might be clobbered by `longjmp' or `vfork' coders/jpeg.c:1122: warning: variable `image' might be clobbered by `longjmp' or `vfork' source='coders/jp2.c' object='coders/magick_libMagick_la-jp2.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ /bin/sh /usr/local/bin/libtool15 --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall -c -o coders/magick_libMagick_la-jp2.lo `test -f 'coders/jp2.c' || echo './'`coders/jp2.c In file included from /usr/local/include/jasper/jasper.h:121, from coders/jp2.c:78: /usr/local/include/jasper/jas_image.h:152: warning: `/*' within comment coders/jp2.c: In function `ReadJP2Image': coders/jp2.c:280: `jas_cmprof_t' undeclared (first use in this function) coders/jp2.c:280: (Each undeclared identifier is reported only once coders/jp2.c:280: for each function it appears in.) coders/jp2.c:280: `cm_profile' undeclared (first use in this function) coders/jp2.c:279: warning: statement with no effect coders/jp2.c:283: `jas_iccprof_t' undeclared (first use in this function) coders/jp2.c:283: `icc_profile' undeclared (first use in this function) coders/jp2.c:282: warning: statement with no effect coders/jp2.c:286: syntax error before `*' coders/jp2.c:327: `status' undeclared (first use in this function) coders/jp2.c:337: `jp2_stream' undeclared (first use in this function) coders/jp2.c:340: `jp2_image' undeclared (first use in this function) coders/jp2.c:346: warning: implicit declaration of function `jas_clrspc_fam' coders/jp2.c:346: warning: implicit declaration of function `jas_image_clrspc' coders/jp2.c:348: `JAS_CLRSPC_FAM_RGB' undeclared (first use in this function) coders/jp2.c:350: `components' undeclared (first use in this function) coders/jp2.c:359: `number_components' undeclared (first use in this function) coders/jp2.c:368: `JAS_CLRSPC_FAM_GRAY' undeclared (first use in this function) coders/jp2.c:380: `JAS_CLRSPC_FAM_YCBCR' undeclared (first use in this function) coders/jp2.c:355: warning: unreachable code at beginning of switch statement coders/jp2.c:410: `i' undeclared (first use in this function) coders/jp2.c:424: `x_step' undeclared (first use in this function) coders/jp2.c:425: `y_step' undeclared (first use in this function) coders/jp2.c:437: `maximum_component_depth' undeclared (first use in this function) coders/jp2.c:442: `pixels' undeclared (first use in this function) coders/jp2.c:455: `scale' undeclared (first use in this function) coders/jp2.c:468: `q' undeclared (first use in this function) coders/jp2.c:490: `x' undeclared (first use in this function) coders/jp2.c:488: warning: unreachable code at beginning of switch statement coders/jp2.c:558: warning: implicit declaration of function `jas_image_cmprof' coders/jp2.c:559: syntax error before `)' coders/jp2.c:560: syntax error before `)' coders/jp2.c:562: syntax error before `)' coders/jp2.c:567: `icc_stream' undeclared (first use in this function) coders/jp2.c:569: warning: implicit declaration of function `jas_iccprof_save' coders/jp2.c: At top level: coders/jp2.c:597: syntax error before `void' coders/jp2.c:598: warning: type defaults to `int' in declaration of `jas_image_destroy' coders/jp2.c:598: warning: parameter names (without types) in function declaration coders/jp2.c:598: conflicting types for `jas_image_destroy' /usr/local/include/jasper/jas_image.h:348: previous declaration of `jas_image_destroy' coders/jp2.c:598: warning: data definition has no type or storage class coders/jp2.c:599: syntax error before `for' coders/jp2.c:86: warning: `WriteJP2Image' declared `static' but never defined coders/jp2.c:117: warning: `IsJP2' defined
help needed
guys,.. im running two BSD 4.9 as a gateway. i have a 512 dsl connection and having two defferent network and one gateway ip. it was running well for almost a two months, but last two days im facing a problem which is im getting almost 1435ms when im pinging the gateway and the net is too slow. when im trying to remove the other BSD box, it will come to normal iether one of them. is there anyway i can bring it back as it was before last two months ago? thanks... __ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: autoblocking many ssh failed logins from the same IP....
John Cholewa wrote: Jun 30 10:36:05 phantom sshd[70478]: Failed password for news from 212.88.182.121 port 51218 ssh2 Jun 30 10:36:16 phantom sshd[70500]: Failed password for sshd from 212.88.182.121 port 51608 ssh2 Jun 30 10:36:39 phantom sshd[70569]: Failed password for root from 212.88.182.121 port 52297 ssh2 I get the above a lot in my logs (except more of it). Each day, a couple hundred failed attempts to log in from one or sometimes two IP addresses shows up. I don't have anything like ipf running, and since this machine is about fifteen hundred miles away from me, I don't want to experiment with software firewalling right now. That known, is there any way to tell sshd (or some more powerful daemon) to stop accepting login attempts from a given IP if it tries and fails to log in too many times in a limited duration (like in the same minute)? I suppose, now that I'm thinking about it, that it'd be best to actually just read the man pages and figure out how to get sshd to ignore any attempt to attach from ports other than 22. I mean, why are other machines trying to ssh in at ports over fifty thousand anyway? -- -JC http://www.livejournal.com/users/jcholewa/ PS: Oh, yeah ... FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 ; openssh-3.6.1_5 ; openssl-0.9.7d_1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I had this on my FreeBSD 4.10 box as well. sshd can be configured to only allow logins for specific users. Edit /etc/sshd_config to add the following AllowUsers USER_NAME You can have multiple AllowUsers entries if you want more than one user to be able to ssh in. This has worked pretty well for me, although I still get an occasional (once every couple of days) failed login attempt on the one valid user name I've set up. I guess I could use a less guessable user id. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Running FreeBSD server behind a firewall with nat
On 7/5/05, Roman Kouzmenko wrote: ... Now I need to put it on the Internet, so that the developers can take control over it (ssh, ftp). The problem is that at the moment when I activate one-to-one nat on my hardware firewall for this machine, the services stop working and behave strangely (for example, if I connect to the box using ssh, it prompts for the login and nothing else happens, ftp doesn't work either). If I try to reboot, sendmail doesn't start at all (it just hangs, so I have to hit ^C to stop the script). ... sendmail probably does not hang but just tries to resolve a name via DNS that apparently is not working. It should continue in a few minutes if you wait that long. What hardware firewall are you using? Is it possible to attach your server to the Internet directly, without using a firewall in the middle? -- Dmitry We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck_ext2fs problems
Are you running ext2fs from Linux? If you are running it from FreeBSD then try making a symlink in /sbin from fsck_ext2fs to wherever you have e2fsck and make sure that e2fsck will be available when fsck runs. That almost certainly means it has to bee on your root partition. (Or just copy it to /sbin). Yes, copying fsck_ext2fs and e2fsck to /sbin works - I've looked in files/fsck_ext2fs.c in the port and I noticed that it only looks for e2fsck in /sbin - hence the execve error. Thanks for the pointer! I got the impression that Linux doesn't support ufs2 at all, and, well, I just trust FreeBSD's ext2 implementation more than I do Linux's ufs one ;) Yours, Jaap Boender ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
LAN FTP problem with sample PF ruleset
Hi all, My LAN doesn't have FTP access using the sample PF ruleset from the openbsd site. My rules are as follows, any help as to where I'm going wrong would be great, thanks! RULESET: # macros int_if = xl0 ext_if = rl0 # tcp_services = { 22, 113 } icmp_types = echoreq priv_nets = { 127.0.0.0/8 http://127.0.0.0/8, 0.0.0.0/8http://0.0.0.0/8, 192.168.0.0/16 http://192.168.0.0/16, 172.16.0.0/12 http://172.16.0.0/12, 10.0.0.0/8 http://10.0.0.0/8 } # options set block-policy return set loginterface $ext_if # scrub scrub in all # nat/rdr nat on $ext_if from $int_if:network to any - ($ext_if) rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1http://127.0.0.1port 8021 # filter rules block all pass quick on lo0 all block drop in quick on $ext_if from $priv_nets to any block drop out quick on $ext_if from any to $priv_nets # pass in on $ext_if proto tcp from any to $comp3 port 80 flags S/SA synproxy state pass in on $ext_if inet proto tcp from port 20 to ($ext_if) user proxy flags S/SA keep state pass in inet proto icmp all icmp-type $icmp_types keep state pass in on $int_if from $int_if:network to any keep state pass out on $int_if from any to $int_if:network keep state pass out on $ext_if proto tcp all modulate state flags S/SA pass out on $ext_if proto { udp, icmp } all keep state ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
WLAN Access Point without Prism Chip
Hello, I've found inside the manual that currently only Prism Chips are supported to create Access Points in FreeBSD (stable). I that still a valid statement, or is there any unofficial Solution which I could give a try? Thank you for your Help... Regards Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS all of a sudden went wonky
Hi, Without anyone being in/on/around/near an NFS client at 8p tonite, all of a sudden it stopped playing nice with the NFS server... rc.conf : rpcbind_enable=YES nfs_client_enable=YES rpc_statd_enable=YES rpc_lockd_enable=YES The mount is NAME:/usr/local/tboh /usr/local/tboh nfs rw 0 0 . I'm getting : [udp] NAME:/usr/local/tboh: RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to send I thought maybe it didn't like the name since DNS isn't up, and statd/lockd isn't up I tried to make it NAME:/usr/local/tboh /usr/local/tboh nfs rw 2 2 but it doesn't like that. So I then changed it to IP:/usr/local/tboh /usr/local/tboh nfs rw 0 0 and still getting the [udp] NAME:/usr/local/tboh: RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to send I checked google, and I don't know where to go on this... Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accidental overwrite
On Mon, Jul 04, 2005 at 04:17:17PM -0700, steve lasiter wrote: My question(s) are: Is there any way to revert back to the original file if this type of mistake is made? If not is there anyway to get just that one file without having to do a complete removal and installation? And finally, is the only way to NOT do this again is to use the appropriate flags with cp? Hi, i suppose you could either get the right package version and untar/gunzip it or go into the port directory of mysql and do a make extract which creates the subdir work in which you find the ports files and dirs but pay attention to the right port version here as well. HTH, Leon -- gnupg key ID: 9B820836 Fingerprint: 6081 8F41 8FEC 0D69 DB98 F014 0FD4 B47D 9B82 0836 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some doubts to start
Hello list, How you will realize I'm new in unix. I've been reading about freeBSD and I wish to know what is the meaning of: 1-Font Server. 2-NFS Server and NFS Server 3-Ports From freeBSD can I start a graphical environment like KDE and GNome. Which of them would be recommended? Best regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rebuild of a jail uses old DESTDIR
i had built a jail a few weeks ago as a learning expierence, specifying a DESTDIR of /usr/jail/ssh for make world, i don't really want it to reside there long term and want to build it with less features enabled in make.conf. So now I'm trying to build another jail in another location and `make world DESTDIR=/path/to/new/dir` fails with -- Building an up-to-date make(1) -- make: don't know how to make /usr/jail/ssh/usr/lib/libc.a. Stop I've run a make clean and make cleandir and tried to re run without success. i'm currently running a grep to look for the old path in any file on the whole system, /etc/ and /usr similar greps came up empty. How can i make the system forget about the old DESTDIR? Should i just delete all of /usr/src and cvsup? Hate to reply to my own post...but i've completely removed /usr/src and cvsup'd in the hopes this would clear, but does not. I also have rebooted the machine, cause i'm getting desperate. Is there anyway to clear the old DESTDIR out of there. Its at the point where i can not even rebuild the jail in the old spot, i get the same error as above. I can not run `make buildworld` without supplying a DESTDIR, so this is going to hit home again then next time it try to update. If there is a better list to post this on, i'd be glad to move it. Any help appreciated, thanks! jd 5.4-RELEASE thanks for any assistance jd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using unix mail with maildir format
On 04/07/05, Vince [EMAIL PROTECTED] wrote: Mave a look at the nail port mail/nail It can/does have a mail type interface and reads maildir. Thanks, that's the MUA I was looking for for a long while. :] -- (nil) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some doubts to start
On 7/5/05, Efren Bravo [EMAIL PROTECTED] wrote: Hello list, How you will realize I'm new in unix. I've been reading about freeBSD and I wish to know what is the meaning of: 1-Font Server. 2-NFS Server and NFS Server 3-Ports From freeBSD can I start a graphical environment like KDE and GNome. Which of them would be recommended? Best regards A font server is what it sounds like. It is a daemon that runs in a centralized location where you can install fonts and serve them out to multiple networked clients. A NFS server is a file server similar to MS Windows file sharing. NFS is in common use on Unix. Ports are a collection of 3rd party packages that you can compile and install via pre-written scripts on BSD. Generally you download a ports tree which is a directory tree full of these scripts. You find the one you want to install, cd to it's directory and type something like make make install and it is downloaded compiled and installed in an automated fashion. There is more information on all of these things in the online FreeBSD handbook found here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Enjoy! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using unix mail with maildir format
On Tue, Jul 05, 2005 at 08:08:57AM +0200, dick hoogendijk wrote: What are the pro's and cons for/against both mail standards? Won't the maildir format with all this separate mails not be more difficult to maintain? I have to say that running courier/maildir never gave problems 'till now but having the chooce I very much want some insights/advice on this matter. Some reading points are OK too ;-) Hi, some reading points ;-) : http://www.courier-mta.org/mbox-vs-maildir/ http://cr.yp.to/proto/maildir.html http://wiki.mutt.org/index.cgi?MuttFaq/Maildir This is all very pro maildir but couldn't find any pro mbox now. Also have a look at the shares maildir feature if using imap with multiple users accessing one mail dump. Greets Leon -- gnupg key ID: 9B820836 Fingerprint: 6081 8F41 8FEC 0D69 DB98 F014 0FD4 B47D 9B82 0836 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Some doubts to start
On 7/5/05, Efren Bravo wrote: ... From freeBSD can I start a graphical environment like KDE and GNome. Which of them would be recommended? In FreeBSD 5.4, Gnome contains more localization features than KDE, at least for my native language. For example in Gnome I can tell it to display menus etc in my language whereas in KDE I can't. -- Dmitry We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: G550 dual-head problems
Eric Ekong wrote: Here is my working config, before I upgraded to the parhelia... attached... Eric * Benjamin Thelen [EMAIL PROTECTED] [050630 09:48]: Hi List, I really would appreciate your help, because I ran out of ideas! Basically dual-head works, but only with a little workaround: If I start X, with the xorg.conf I attached, the second monitor simply isn't activated, although the desktop is expanded to the second monitor! I first have to comment out Screen 0 and Screen 1 within both 'Section Device' for Card0 and Card1. If I then start X, the second monitor is activated in cloning mode. After reaktivating the Screen 0 and Screen 1 entries, which I just have commented out, dual-head works. Do you have an idea what is wrong in my xorg.conf? I played around for example with commenting out Xinerama, removing the second 'Section Device' for Card1, but without success. Kind Regards, Benjamin Section ServerLayout Identifier Dual-Monitor Screen 0 Screen0 Screen 1 Screen1 RightOf Screen0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard # Option Clone off EndSection Section ServerFlags Option Xinerama true EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/TTF/ #FontPath /usr/X11R6/lib/X11/fonts/Type1/ #FontPath /usr/X11R6/lib/X11/fonts/CID/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ #FontPath/usr/X11R6/lib/X11/fonts/Speedo/ FontPath/usr/X11R6/lib/X11/fonts/URW/ FontPath/usr/local/share/fonts/ FontPath/usr/X11R6/lib/X11/fonts/ #FontPath/usr/local/share/fonts/override/ FontPath/usr/X11R6/lib/X11/fonts/bitstream-vera/ #FontPath/usr/X11R6/lib/X11/fonts/cyrillic/ #FontPath/usr/X11R6/lib/X11/fonts/latin2/ #FontPath/usr/X11R6/lib/X11/fonts/local/ #FontPath/usr/X11R6/lib/X11/fonts/PEX/ FontPath/usr/X11R6/lib/X11/fonts/TrueType/ #FontPath/usr/X11R6/lib/X11/fonts/latin2/100dpi/ #FontPath/usr/X11R6/lib/X11/fonts/latin2/75dpi/ EndSection Section Module Load extmod Load glx #Load dri Load dbe Load record Load xtrap Load type1 Load freetype #Load speedo EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout de Option XkbVariant nodeadkeys EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 EndSection Section Monitor ##DisplaySize 400 300 # mm #Identifier Monitor0 #VendorName IVM #ModelName2140 OptionDPMS IdentifierMonitor0 VendorNameIIyama ModelName A201HT HorizSync 30-130 VertRefresh 50-160 EndSection Section Monitor IdentifierMonitor1 VendorNameIIyama ModelName A201HT HorizSync 30-130 VertRefresh 50-160 OptionDPMS EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option PciRetry # [bool] #Option SyncOnGreen # [bool] #Option NoAccel # [bool] #Option ShowCache# [bool] #Option Overlay # [str] #Option MGASDRAM # [bool] #Option ShadowFB # [bool] #Option UseFBDev # [bool] #Option ColorKey # i #Option SetMclk # freq #Option OverclockMem # [bool] #Option VideoKey # i #Option Rotate # [str] #Option TexturedVideo# [bool] #Option Crtc2Half# [bool] #Option Crtc2Ram # i #Option Int10# [bool] #Option AGPMode # i #Option AGPSize # i #Option DigitalScreen1 # [bool] #Option DigitalScreen2 # [bool] #Option TV # [bool] #Option TVStandard # [str] #Option
How to prepare a boot CDROM
hi I read the floppy prepare ... but i don't have floppy disk so, i want to know how to prepare a bootable CDROM .. i am using Nero Burning software thanx _ Express yourself instantly with MSN Messenger! [1]MSN Messenger Download today it's FREE! References 1. http://g.msn.com/8HMBEN/2743??PS=47575 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about packages and ports
On Mon, 2005-06-27 at 13:25 -0500, Nikolas Britton wrote: On a similar note can someone remind me how to set the remote package site for pkg_add and portupgrade -P? I remember it had something to do with setenv but don't remember the variable it uses and I've never used the portupgrade -P option before. It requires a bit of rtfm it seems... $ man -P /bin/cat pkg_add | grep --context=2 -- -r what you are doing! -r Use the remote fetching feature. This will determine the appro- priate objformat and release and then fetch and install the pack- age. -- The environment variable PACKAGEROOT specifies an alternate location for pkg_add to fetch from. The fetch URL is built using this environment variable and the automatic directory logic that pkg_add uses when the -r option is invoked. An example setting would be ftp://ftp3.FreeBSD.org;. The environment variable PACKAGESITE specifies an alternate location for pkg_add to fetch from. This variable subverts the automatic directory logic that pkg_add uses when the -r option is invoked. Thus it should be a complete URL to the remote package file(s). $ ( - By the way, if anyone knows a simpler way of achieving that man/grep combination, please tell!) I couldn't find any documented reference as to where to put the env setting, so I presume I must have either stumbled upon it while browsing pkgtools.conf or seen it in an answer here or on a web page somewhere... $ grep --context=2 PACKAGEROOT /usr/local/etc/pkgtools.conf #Equivalent to: # sprintf('%s/pub/FreeBSD/ports/%s/packages-%s/', # root || ENV['PACKAGEROOT'] || 'ftp://ftp.FreeBSD.org', # OS_PLATFORM, OS_PKGBRANCH) # -- # ENV['PKG_FETCH'] = curl '%s' -o '%s' # ENV['PKG_FETCH'] = 'false'# never fetch packages from a remote site # ENV['PACKAGEROOT'] = 'ftp://ftpN.XX.FreeBSD.org' ENV['PORTSDIR'] ||= '/usr/ports' ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages' ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All' # 20040210 ws - added PACKAGEROOT ENV['PACKAGEROOT'] = 'ftp://ftp.au.FreeBSD.org' # SANITY_CHECK: boolean (default: true) $ You probably worked it out already but I thought this one was worthwhile to toss in to the archives, and perhaps prompt someone to contemplate a revision for the handbook. hth Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 ndis support
Note: I've never done NDIS before as I have a Cisco PCM-352 which is supported under FreeBSD. Lucky man! ;o) However, I'll offer my thoughts in case they help: a) I'm not so sure building anything into the kernel would help as opposed to it being a module. I generally wait til I've tested the module and found that it works well before I compile it into the kernel, and only then for speed purposes. b) If you have a MODULES_OVERRIDE in your kernel config, it won't build/install any modules you don't list there. Try commenting out MODULES_OVERRIDE in your kernel config if it's there and rebuild your kernel. If that works, problem solved. Thanks for your Feedback. I'll try it when someone can tell me that I can use my card as Access Point (see other mail I send), otherwise I can throw this NDIS Stuff back into Trash ... When the card cannot do what I want it to di, I really don't need Windows Drivers on my FreeBSD Box ;o) Thank you anyway! Regards Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck_ext2fs problems
On 2005-07-05 11:36, Alex Zbyslaw [EMAIL PROTECTED] wrote: Jaap Boender wrote: I'd like to share a filesystem on the same computer between FreeBSD and Linux, and as it seems that FreeBSD supports ext2 better than Linux does ufs(2), I've created an ext2 filesystem. Mounting accessing Works fine, except when I try to fsck it, fsck_ext2fs fails with the error message: execve: No such file or directory. When I use the e2fsck program, however, I can fsck the filesystem just fine. Unfortunately, at boot time, FreeBSD wants to use fsck_ext2fs... A quick search on the Internet didn't show any solutions, so - does anybody here know what I can do to get rid of the error message? Does Linux maybe support UFS(1) better than UFS(2)? Not really. The ufs support of Linux needs a bit of patching to support all the block/fragment sizes that FreeBSD can use. I had to patch the kernel with the diff listed here: http://lists.hellug.gr/pipermail/linux-greek-users/2004-November/101772.html to force the Linux kernel to accept perfectly valid UFS1 partitions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: LAN FTP problem with sample PF ruleset
A sample means they expect you to change it before using. Do you have FTP working without a firewall in the way??? You have to get that working first. Do you really have a private LAN behind your firewall box? The rules you listed will not even load because of syntax errors. Why worry about getting FTP to pass through PF when you don't even have any rules loaded into pf yet. You really need to read the firewall section of the handbook for background understanding. Then read the pf man pages. It's all explained in the man pages. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gareth Bailey Sent: Tuesday, July 05, 2005 8:10 AM To: freebsd-questions Subject: LAN FTP problem with sample PF ruleset Hi all, My LAN doesn't have FTP access using the sample PF ruleset from the openbsd site. My rules are as follows, any help as to where I'm going wrong would be great, thanks! RULESET: # macros int_if = xl0 ext_if = rl0 # tcp_services = { 22, 113 } icmp_types = echoreq priv_nets = { 127.0.0.0/8 http://127.0.0.0/8, 0.0.0.0/8http://0.0.0.0/8, 192.168.0.0/16 http://192.168.0.0/16, 172.16.0.0/12 http://172.16.0.0/12, 10.0.0.0/8 http://10.0.0.0/8 } # options set block-policy return set loginterface $ext_if # scrub scrub in all # nat/rdr nat on $ext_if from $int_if:network to any - ($ext_if) rdr on $int_if proto tcp from any to any port 21 - 127.0.0.1http://127.0.0.1port 8021 # filter rules block all pass quick on lo0 all block drop in quick on $ext_if from $priv_nets to any block drop out quick on $ext_if from any to $priv_nets # pass in on $ext_if proto tcp from any to $comp3 port 80 flags S/SA synproxy state pass in on $ext_if inet proto tcp from port 20 to ($ext_if) user proxy flags S/SA keep state pass in inet proto icmp all icmp-type $icmp_types keep state pass in on $int_if from $int_if:network to any keep state pass out on $int_if from any to $int_if:network keep state pass out on $ext_if proto tcp all modulate state flags S/SA pass out on $ext_if proto { udp, icmp } all keep state ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to prepare a boot CDROM
Just download disk1 image file (.iso) and burn it with Nero :) Fady Shar [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/05/2005 04:03 AM To [EMAIL PROTECTED] cc Subject How to prepare a boot CDROM hi I read the floppy prepare ... but i don't have floppy disk so, i want to know how to prepare a bootable CDROM .. i am using Nero Burning software thanx _ Express yourself instantly with MSN Messenger! [1]MSN Messenger Download today it's FREE! References 1. http://g.msn.com/8HMBEN/2743??PS=47575 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to prepare a boot CDROM
hi I read the floppy prepare ... but i don't have floppy disk so, i want to know how to prepare a bootable CDROM .. i am using Nero Burning software If you mean burning a CD of the install image, just download the ISO. It is an already prepared bootable ISO. Burn it as is with no additional preparation of conversion to ISO or bootable image or anything. Unfortunately I have never used 'Nero' so I don't know its commands or syntax. But, look for something that burns a plain file to the CD rather than doing any converting to ISO or boot image or anything. jerry thanx _ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to prepare a boot CDROM
On Tuesday 05 July 2005 09:45 am, Jerry McAllister wrote: hi I read the floppy prepare ... but i don't have floppy disk so, i want to know how to prepare a bootable CDROM .. i am using Nero Burning software If you mean burning a CD of the install image, just download the ISO. It is an already prepared bootable ISO. Burn it as is with no additional preparation of conversion to ISO or bootable image or anything. Unfortunately I have never used 'Nero' so I don't know its commands or syntax. But, look for something that burns a plain file to the CD rather than doing any converting to ISO or boot image or anything. jerry Nero is fine... No special syntax. Nothing special to do. Just burn the image, reboot, and you're on your way. WizLayer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dump Restore to smaller partition
Hello, Does anyone know if the dump and restore method for moving a partition to a new disk requires the destination partition to be as big or bigger that the source? From my understanding, the whole partition, including blank space will be dumped and restored. If this is the case then the destination will need to be at least as big. My situation is as follows: I have a 30GB usr partition with about 10GB of data in it. I want to move this data (flags and all!) to a new 20GB usr partition. Will dump/restore do this? .. or what should i use? Thanks! Gareth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Procedure for migrating user accounts to new system ?
Hi, What is the correct procedure to follow for migrating user accounts from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're sticking to 4.x due to legacy issues(Netware) in case I get asked. Didn't see answer to this in the FAQ's or Handbook and google answers seem sketchy. Thanks. Nelis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dump Restore to smaller partition
Hello, Does anyone know if the dump and restore method for moving a partition to a new disk requires the destination partition to be as big or bigger that the source? It will need to be big enough to contain all the data. It the old file system had a lot of empty (unused) space then the new one can be smaller by about the amount of space that was unused.. From my understanding, the whole partition, including blank space will be dumped and restored. If this is the case then the destination will need to be at least as big. Only the files (directories are also files) get dumped. It does not dump the filesystem as it was newfs-ed. Rather it makes a list of all the files directories by inode number and then dumps each along with all ownership, permission, flag and link information. My situation is as follows: I have a 30GB usr partition with about 10GB of data in it. I want to move this data (flags and all!) to a new 20GB usr partition. Will dump/restore do this? .. or what should i use? No problem. After making the new partition with disklabel and making a filesystem out of it with newfs. Presuming your old 30 GB filesystem is mounted as /fsa and the new 20 GB filesystem is mounted as /fsb, dump 0af /fsa/fsa.dump /fsa cd /fsb restore rf /fsa/fsa.dump should work just fine - although it makes me nervous to put the dump file in the same filesystem you are dumping. Since it makes the inode list before it starts dumping and creating the dump file, it should work. It just feels weird.So, if you have some other place to put a 10 GB dump file, then go ahead and use it instead. jerry Thanks! Gareth ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble mounting Zip drive
Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: - From boot, this is what I see: da0 at ncr0 bus 0 target 5 lun 0 da0: IOMEGA ZIP 100 E.08 Removable Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) - In my /etc/fstab i have this line: /dev/da0s4 /zipufs rw,noauto 0 0 I have mkdir a /zip directory This is the problem: $ mount /zip mount: /dev/da0s4: Operation not permitted I have tried many things now, but can't make things work. Any suggestion to what I do wrong? Thanks! Andreas --- Andreas Wideroe Andersen [EMAIL PROTECTED] Mobile: (+47) 90 92 61 21 http://www.filmshooting.com Norsk Smalfilm AS http://www.smalfilm.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
On Tue, 05 Jul 2005 17:14:50 +0200 Andreas Widerøe Andersen [EMAIL PROTECTED] wrote: Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: - From boot, this is what I see: da0 at ncr0 bus 0 target 5 lun 0 da0: IOMEGA ZIP 100 E.08 Removable Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) - In my /etc/fstab i have this line: /dev/da0s4 /zipufs rw,noauto 0 0 I have mkdir a /zip directory This is the problem: $ mount /zip mount: /dev/da0s4: Operation not permitted did you try mounting it as root ? (and what does /var/log/messages /var/log/dmesg say about it ?) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serious note(s) [WAS: Linux move to FreeBSD]
hello, On a more serious note, am I the only one who has been getting hiccups of freebsd-questions mail from last year? I just got a bunch of traffic (including one of the previous incarnations of this abysmal Beastie logo non-debate) from late December, all posts that I had seen before. Thanks for your note. No, you're not the only one. As I have occasionally re-read (other) stuff by mistake, I made a point of noting the Dec 2004 dates too. I wondered if Kmail, shawmail, or some other as-yet-unnamed network glitch caused the hiccups. And then, within a day or so, the list digest feed(s) seemed to dry up for a day and half. I'm used to scanning two or three freebsd-questions' digests/day, and noticed I suddenly had all this extra time. :c) The digests resumed again overnight [two dated 'Today' at 3:35 5:00 am, if anyone's interested], but the volume of traffic still seems severely reduced. I hope this info is of some use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fsck_ext2fs problems
On Monday 04 July 2005 17:18, Jaap Boender wrote: I'd like to share a filesystem on the same computer between FreeBSD and Linux, and as it seems that FreeBSD supports ext2 better than Linux does ufs(2), I've created an ext2 filesystem. If I were you I'd create an ext3 partion from LInux - this is ext2 with jounalling. fsck_ext2fs can synchronized the partition with it's journal, and ext3 can then be mounted as ext2 by FreeBSD. FreeBSD defaults to mounting ext2 synchronously which is slow, but reliable. On the Linux side ext3 is a good enough filesystem for everyday use. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
At 17:19 05.07.2005, [EMAIL PROTECTED] wrote: On Tue, 05 Jul 2005 17:14:50 +0200 Andreas Widerøe Andersen [EMAIL PROTECTED] wrote: Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: - From boot, this is what I see: da0 at ncr0 bus 0 target 5 lun 0 da0: IOMEGA ZIP 100 E.08 Removable Direct Access SCSI-2 device da0: 3.300MB/s transfers da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C) - In my /etc/fstab i have this line: /dev/da0s4 /zipufs rw,noauto 0 0 I have mkdir a /zip directory This is the problem: $ mount /zip mount: /dev/da0s4: Operation not permitted did you try mounting it as root ? (and what does /var/log/messages /var/log/dmesg say about it ?) Uhh.. embarrasing :-O (yes, I was not root! Well, still have a problem as root (I've had this problem from the start when I WAS logged in as root): # mount /zip mount: /dev/da0s4 on /zip: incorrect super block /Andreas --- Andreas Wideroe Andersen [EMAIL PROTECTED] Mobile: (+47) 90 92 61 21 http://www.filmshooting.com Norsk Smalfilm AS http://www.smalfilm.no ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache 2 SSL Error
I set up a FreeBSD 4.11 jail to learn how to setup SSL on Apache 2 correctly. I installed Apache 2.0.54 from ports. I generated SSL certs just for testing purposes. I'm not able to get any response at all from the server on SSL unless I set the Listen :443 directive in the httpd.conf as where I think it is supposed to be set in ssl.conf. I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 As this is just temporary and for testing purposes I have posted the configs online as they are quite big and this is a work in progress, see links below. http://www.beerdrinka.com/httpd.conf http://www.beerdrinka.com/ssl.conf I keep re-reading the apache docs but there is just something I am missing. As a note I have also tried this in a non-jail environment on 5.3 p16 and get the same error results. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
On Tuesday 05 July 2005 11:01 am, Todd Suits wrote: I set up a FreeBSD 4.11 jail to learn how to setup SSL on Apache 2 correctly. I installed Apache 2.0.54 from ports. I generated SSL certs just for testing purposes. I'm not able to get any response at all from the server on SSL unless I set the Listen :443 directive in the httpd.conf as where I think it is supposed to be set in ssl.conf. I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 As this is just temporary and for testing purposes I have posted the configs online as they are quite big and this is a work in progress, see links below. http://www.beerdrinka.com/httpd.conf http://www.beerdrinka.com/ssl.conf I keep re-reading the apache docs but there is just something I am missing. As a note I have also tried this in a non-jail environment on 5.3 p16 and get the same error results. When trying to use SSL, are you using a URL with http://; or https://;? Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to diagnose crashes?
My FreeBSD 5.3-RELEASE box seems to be spontaneously restarting from time to time. I have not yet contacted the colo facility to determine if it's a power issue, but wonder if anyone can help me out in how to diagnose whether or not it's a server crash and not a power problem. Where should I look for tips / hints that might help me determine the cause of a crash that forced a reboot? Thanks, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to diagnose crashes?
On Tue, Jul 05, 2005 at 10:52:06AM -0600, Chris Burchell wrote: My FreeBSD 5.3-RELEASE box seems to be spontaneously restarting from time to time. I have not yet contacted the colo facility to determine if it's a power issue, but wonder if anyone can help me out in how to diagnose whether or not it's a server crash and not a power problem. Where should I look for tips / hints that might help me determine the cause of a crash that forced a reboot? See the chapter on kernel debugging in the developers' handbook. Kris pgpNmEPYUP9eh.pgp Description: PGP signature
Help passwd file convert
I am going to move over from Solaris 8 to FreeBSD 5.4 but would like to keep uid, usernames, and passwords from the Solaris 8 box intact when I move them to the FreeBSD box. Is it just as simple as a copy and paste for the passwd file? Is there any commands I have to run after the copy and paste? Anything need to be done to the master.passwd file? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
Andreas Widerøe Andersen wrote: At 17:19 05.07.2005, [EMAIL PROTECTED] wrote: On Tue, 05 Jul 2005 17:14:50 +0200 Andreas Widerøe Andersen [EMAIL PROTECTED] wrote: Hi, I'm having problems mounting a SCSI Iomega 100 Zip drive on my 4.11 RELEASE system: snip did you try mounting it as root ? (and what does /var/log/messages /var/log/dmesg say about it ?) Uhh.. embarrasing :-O (yes, I was not root! Well, still have a problem as root (I've had this problem from the start when I WAS logged in as root): # mount /zip mount: /dev/da0s4 on /zip: incorrect super block /Andreas Is the filesystem really ufs as noted in /etc/fstab? IIRC, trying to mount a non-ufs filesystem as ufs will give this error. Other possibilities include a bad disk ... :-( HTH, Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to diagnose crashes?
My FreeBSD 5.3-RELEASE box seems to be spontaneously restarting from time to time. I have not yet contacted the colo facility to determine if it's a power issue, but wonder if anyone can help me out in how to diagnose whether or not it's a server crash and not a power problem. Where should I look for tips / hints that might help me determine the cause of a crash that forced a reboot? Thanks, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Did the reboot occur during a high network load? In my case, the reboots seem to be related to the kernel TCP/IP stack. The box reboots under network load way too often. I don't suspect any other hard problem with it. It handle kernel builds and makeworlds w/o incident. MemTest86 did not find any problems with the memory. I have seen some other posts on this list about this issue. The posters thought it was a problem with SMP kernels. I compiled a uniproc kernel and just had another spontaneous reboot last night! After looking for .core, you may want to capture /dev/console messages to a log file. I am assuming since the box is colo'd, you don't have console access. You may still miss some output though. Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD
This is the funniest discussion i have ever read. I saving these messages for future entertainment. I love Tux and Beastie pictures regards. - Original Message - From: Mike Brown [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Tuesday, July 05, 2005 8:13 AM Subject: Re: Linux move to FreeBSD Bob Hall wrote: The belief that guys with red skin, horns, pointy tails, and pitchforks represent the devil is a European superstition, not a Christian doctrine. There's no support for it in the Bible or the writings of the church fathers. There is also no support, except among BSD fans, for horned, pointy-tailed, red-skinned creatures with pitchforks representing anything other than a li'l devil. Saying it represents an invisible, oft-benevolent 'daemon' has very little credibility when the mascot was clearly intended to look like what two-thirds of humanity would recognize as _el diablo_, albeit an awfully harmless, cartoony one. I think I will give one of my favorite input control devices, the 'mouse', a mascot. It'll look a lot like this guy: http://images.google.com/images?q=mickey%20mouse ...but if anyone complains I'll just tell them it's clearly not an animate rodent, but is rather a stylized, anthropomorphic interpretation of a computer accessory. I'm sure the lawyers at Disney will see my point of view. Hey, if it works for Beastie the daemon... On a more serious note, am I the only one who has been getting hiccups of freebsd-questions mail from last year? I just got a bunch of traffic (including one of the previous incarnations of this abysmal Beastie logo non-debate) from late December, all posts that I had seen before. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dump Restore to smaller partition
Jerry McAllister wrote: Hello, Does anyone know if the dump and restore method for moving a partition to a new disk requires the destination partition to be as big or bigger that the source? It will need to be big enough to contain all the data. It the old file system had a lot of empty (unused) space then the new one can be smaller by about the amount of space that was unused.. From my understanding, the whole partition, including blank space will be dumped and restored. If this is the case then the destination will need to be at least as big. Only the files (directories are also files) get dumped. It does not dump the filesystem as it was newfs-ed. Rather it makes a list of all the files directories by inode number and then dumps each along with all ownership, permission, flag and link information. My situation is as follows: I have a 30GB usr partition with about 10GB of data in it. I want to move this data (flags and all!) to a new 20GB usr partition. Will dump/restore do this? .. or what should i use? No problem. After making the new partition with disklabel and making a filesystem out of it with newfs. Presuming your old 30 GB filesystem is mounted as /fsa and the new 20 GB filesystem is mounted as /fsb, dump 0af /fsa/fsa.dump /fsa cd /fsb restore rf /fsa/fsa.dump should work just fine - although it makes me nervous to put the dump file in the same filesystem you are dumping. Since it makes the inode list before it starts dumping and creating the dump file, it should work. It just feels weird.So, if you have some other place to put a 10 GB dump file, then go ahead and use it instead. Just do it with pipes: dump -0af - /fsa | (cd /fsb; restore -rf -) Obviously /fsb must be mounted when you do this. If you feel paranoid and don't mind it taking longer dump -0af - /fsa | (cd /fsb; restore -ivf -) will do the restore in interactive mode, allowing you to quit if you make a mistake e.g. you see the cd failed. It would also let you select only a subset of files to restore. Specifying -b 64 to dump and restore might make it go quicker. And if this is a mounted UFS2 partition then dump should also take -L so it makes a checkpoint. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS Server is not responding / Alive again
Guys, Can anyone explain to me how to diagnose this issue further? I'm not quite sure whats causing this problem, and I'm not sure how much of a problem it is either. I'm getting alot of nfs server hangs in the logs: cat /var/log/messages Jul 2 22:20:47 be-3 last message repeated 11 times Jul 2 22:20:51 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 2 22:20:52 be-3 last message repeated 5 times Jul 3 00:26:13 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 00:26:17 be-3 last message repeated 4 times Jul 3 00:26:43 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 00:26:43 be-3 last message repeated 4 times Jul 3 06:06:19 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 06:06:31 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 06:06:32 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 06:06:35 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 06:39:09 be-3 kernel: nfs server bluearc:/smtp: not responding Jul 3 06:39:11 be-3 last message repeated 8 times Jul 3 06:39:12 be-3 kernel: nfs server bluearc:/smtp: is alive again Jul 3 06:39:14 be-3 last message repeated 8 times My /etc/fstab looks like this: bluearc:/smtp /bluearc/smtp nfs rw,nfsv3,tcp,noauto,-w32768,-r32768,intr,nosuid 0 0 Output of NFS Stat looks like this: nfsstat Client Info: Rpc Counts: Getattr SetattrLookup Readlink Read WriteCreate Remove 5838941 9856787 53208796 196 23086347 12329026 7210077 48313 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 7220894 0 08975 3096988 0 74732115 MknodFsstatFsinfo PathConfCommit 0 4311937 7 0 0 Rpc Info: TimedOut Invalid X Replies Retries Requests 0 0 0 412 200940588 Cache Info: Attr HitsMisses Lkup HitsMisses BioR HitsMisses BioW HitsMisses 633693347 52472488 394292901 53208796 86802445 23086337 35572967 12329026 BioRLHitsMisses BioD HitsMisses DirE HitsMisses 60679022 196 5566347 3097022 431190018 uname -a FreeBSD be-3 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Mon Jun 20 20:20:21 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL i386 Any help you guys can provide is appreciated. Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
UDP issues over 2K
Hi, Working with the people doing the INN port, they are complaining as follows : I wrote a little test program to try sending a packet over a Unix datagram socket. The test program is included below. I ran it on: Debian GNU/Linux (2.4 kernel) Solaris 8 IRIX 6.5 Tru64 4.0F AIX 5.2 FreeBSD 5.4 All of them handled 8KB packet sizes without any trouble except for Tru64 and FreeBSD, which can't handle a byte over 2KB. So I'm afraid that INN is running into (stupidly low) OS-imposed limits that there's no way around without major surgery in how ctlinnd talks to innd. #include stdio.h #include stdlib.h #include unistd.h #include sys/socket.h #include sys/un.h #define SIZE (8 * 1024) static void server(void) { int in; struct sockaddr_un server; char buffer[SIZE]; size_t i; ssize_t result; fd_set readfds; in = socket(AF_UNIX, SOCK_DGRAM, 0); if (in 0) { perror(socket); exit(1); } memset(server, 0, sizeof(server)); server.sun_family = AF_UNIX; strcpy(server.sun_path, sock-s); if (bind(in, (struct sockaddr *) server, sizeof(server)) 0) { perror(bind); exit(1); } FD_ZERO(readfds); FD_SET(in, readfds); if (select(in + 1, readfds, NULL, NULL, NULL) = 0) { perror(select); exit(1); } result = recv(in, buffer, sizeof(buffer), 0); if (result (ssize_t) sizeof(buffer)) { fprintf(stderr, Only got %ld bytes\n, (long) result); exit(1); } for (i = 0; i SIZE - 1; i++) if (buffer[i] != 1) { fprintf(stderr, Bad data at %lu, (unsigned long) i); exit(1); } if (buffer[i] != 2) { fprintf(stderr, Bad data at %lu, (unsigned long) i); exit(1); } exit(0); } static void client(void) { int out; struct sockaddr_un server; char buffer[SIZE]; ssize_t result; memset(buffer, 1, sizeof(buffer)); buffer[sizeof(buffer) - 1] = 2; out = socket(AF_UNIX, SOCK_DGRAM, 0); memset(server, 0, sizeof(server)); server.sun_family = AF_UNIX; strcpy(server.sun_path, sock-s); if (sendto(out, buffer, sizeof(buffer), 0, (struct sockaddr *) server, sizeof(server)) 0) { perror(sendto); exit(1); } exit(0); } int main(void) { pid_t child; child = fork(); if (child 0) { perror(fork); exit(1); } else if (child == 0) { sleep(1); client(); } else { server(); } return 0; } Is this an issue that they aren't doing something right, or is it a config error on my part, or just an OS limitation? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
squid bind to port 80 fails when started via squid.sh script
FreeBSD 5.4-RELEASE/squid-2.5.9_3 If I start squid via the script (as root), I get: /var/log/squid_cache.log: commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied FATAL: Cannot open HTTP Port Squid Cache (Version 2.5.STABLE9): Terminated abnormally. However, starting it as: # /usr/local/sbin/squid -D appears to be working (starting) fine. Could this be a bug with the squid script or executable or have I missed something? In squid.conf all settings are at install defaults except for: http_port 80 cache_dir ufs /var/squid/cache 100 16 256 cache_access_log /var/log/squid_access.log cache_log /var/log/squid_cache.log cache_store_log /var/log/squid_store.log pid_filename /var/run/squid.pid httpd_accel_host virtual httpd_accel_port 81 Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 ndis support
On Tuesday 05 July 2005 08:25 am, Tobias Tom wrote: Anyway, there is a utility in 5.4 (I think that's that's where it showed up) called ndisgen. Running ndisgen steps you through a wonderful little script that asks for for the location of your INF and SYS files, generates you .h file and kernel module. I did that ... thank you very much ... it generated a rt2500_sys.ko .. and that could be loaded by hand. No problem, glad I could help! :-D Now I have just the Problem left that it does not work when i try to load it on boot. Is there anything I have to do except copy that file to /boot/kernel and enter load_rt200_sys=yes to loader.conf? As long as you're not using DHCP that should work fine. I'm actually trying to get my Linksys WPC11 ver.4 to load at boot and grap an IP through DHCP, but I don't think it's possible (if anyone has any ideas on this I'd love to hear them :-)). If you can assign a static IP to your wireless card through your router you should be fine. Just bind your wireless car's MAC address (found using ifconfig -a and looking for the ether property of the ndis0 device) to your chosen IP address using your router (if your router can hand out static IPs it should be able to map those static Ips to a MAC address). If you have any problems, or questions, please provide your router's model number and we'll do some research. . . You could also try putting your chosen static IP address in your kernel's kernel.hints file (if you're using the GENERIC kernel it'll be GENERIC.hints). I'm not sure what the syntax for that would be though. . . might be something fun to experiment with :-D I was getting the same No such file or directory error until I ran ndisgen. Maybe you could try kldload ./your .ko file. That worked here. And after all, I saw that inside the manual is written down that only prism chipset cards are supported to run as an access point. Is that still correct? Or is there any change to get it run. The Interface seems to work now. When I try to use wicontrol it tells me wicontrol: SIOCGWAVELAN: Device not configured. Please tell me that my card will work, too ;o) Thanks for your Help Regards Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you have any more questions please feel free to ask. Bryan -- Open Source: by the people, for the people. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: squid bind to port 80 fails when started via squid.sh script
Wayne Sierke wrote: FreeBSD 5.4-RELEASE/squid-2.5.9_3 If I start squid via the script (as root), I get: /var/log/squid_cache.log: commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied FATAL: Cannot open HTTP Port Squid Cache (Version 2.5.STABLE9): Terminated abnormally. The squid startup script probably changes to a non-root user before running the squid binary, which means that squid cannot bind to a port below 1024. Normally, people run squid on port 3128, although 8080 is also relatively common. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: integrated SATA RAID controller on Intel server board SE7520bd2
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olga Zenkova Sent: Sunday, July 03, 2005 3:42 AM To: freebsd-questions@freebsd.org Subject: Re: integrated SATA RAID controller on Intel server board SE7520bd2 Regarding multiple posts on the current ata driver in 5.4 not supporting hardware mirroring with the Intel ICH5R and ICH6R chips ... My 2 cents is to use gmirror for software mirroring as is described in http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ There is another method, which I have also used, that has the advantage of not needing to go into Fixit mode using the 5.4 boot CD (hence it can be executed remotely); however, it takes more typing and more reboots. It is described here: http://people.freebsd.org/~rse/mirror/ If you use the latter, note that Ralf uses ATA drives ad0 and ad1, while your SATA configuration will probably come up as ad4 and ad6. You need to make the transliteration 0 -- 4 and 1 -- 6 very carefully, especially in the line for the boot loader where ad(1,a) -- ad(6,a). This latter paper also outlines how to mirror at the slice, rather than the disk, level. One final hint: if you are playing around with gmirror on the same disks, you can get into a situation where one attempt has left gmirror information on the last sector of your disks. This will confuse gmirror, and you will have to load and use gmirror to clear it out. Read the man pages on gmirror in any case!!! Best of luck, -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
Hi, On Mon, 4 Jul 2005, Hornet wrote: |In top, if you type in u it will prompt you for an account which you |can monitor the processes and mem. Of course, this will not work for |apps that are opened under different credentials. And does not change the amount of total free memory. My problem is that I think something in the system is allocating memory and not releasing it. The same applications used to run on a Freebsd 4.7 BOX with 1GB RAM, and only in some few cases had to swap out. Now, I´m moving to another machine with 2GB RAM, and I´m seeing where is the extra memory. I expected to have more free memory now. - Marcelo Souza |On 7/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: | Hi, | | How can I track where/who is using the system memory? | | I have a 2GB (RAM) system running Freebsd 5.4, basically as a mail | gateway. | | After a few hours up, TOP shows me about 300MB of free memory. No | swap yet. | | But the sum of RSS column of ps axum, gives me about 600MB used. | I know that kernel allocated memory doesn´t show in ps, but I | think it´s not using 1.4GB. | | The head of top is like this: | | last pid: 7323; load averages: 1.49, 1.11, 1.30 up 4+05:57:30 19:01:05 | 184 processes: 1 running, 183 sleeping | CPU states: 16.7% user, 0.0% nice, 3.5% system, 0.6% interrupt, 79.3% idle | Mem: 333M Active, 1218M Inact, 157M Wired, 42M Cache, 112M Buf, 256M Free | Swap: 8192M Total, 8192M Free | | Also, why there is a difference between free memory reported by | top and vmstat? | | Could it have some memory leak? Is there any report of it in | freebsd 5.x? | | Thank you, | | - Marcelo | | | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] | |___ |freebsd-questions@freebsd.org mailing list |http://lists.freebsd.org/mailman/listinfo/freebsd-questions |To unsubscribe, send any mail to [EMAIL PROTECTED] | - Marcelo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
[EMAIL PROTECTED] wrote: [ ... ] My problem is that I think something in the system is allocating memory and not releasing it. The kernel will attempt to use all but a little RAM reserved as free space to cache stuff from disk, unless and until that memory is needed for something else. It is possible that something you run, or FreeBSD itself, has a memory leak, but if so, you'd see process sizes and swap usage grow until they hit a limit or exhaust the available resources. You're not using any swap, so it's not evident that there is a problem. The same applications used to run on a Freebsd 4.7 BOX with 1GB RAM, and only in some few cases had to swap out. Now, I´m moving to another machine with 2GB RAM, and I´m seeing where is the extra memory. I expected to have more free memory now. Free memory is wasted memory. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
On Tue, Jul 05, 2005 at 02:59:55PM -0300, [EMAIL PROTECTED] wrote: Hi, On Mon, 4 Jul 2005, Hornet wrote: |In top, if you type in u it will prompt you for an account which you |can monitor the processes and mem. Of course, this will not work for |apps that are opened under different credentials. And does not change the amount of total free memory. My problem is that I think something in the system is allocating memory and not releasing it. The same applications used to run on a Freebsd 4.7 BOX with 1GB RAM, and only in some few cases had to swap out. Now, I?m moving to another machine with 2GB RAM, and I?m seeing where is the extra memory. I expected to have more free memory now. Free memory is wasted memory. When something needs it, it will be reallocated from other areas. This is a FAQ. Kris pgpz9mPbOHgst.pgp Description: PGP signature
Re: Apache 2 SSL Error
https:// is what im trying to use. http:// just brings my normal index.html page. On 7/5/05, Andrew L. Gould [EMAIL PROTECTED] wrote: On Tuesday 05 July 2005 11:01 am, Todd Suits wrote: I set up a FreeBSD 4.11 jail to learn how to setup SSL on Apache 2 correctly. I installed Apache 2.0.54 from ports. I generated SSL certs just for testing purposes. I'm not able to get any response at all from the server on SSL unless I set the Listen :443 directive in the httpd.conf as where I think it is supposed to be set in ssl.conf. I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 As this is just temporary and for testing purposes I have posted the configs online as they are quite big and this is a work in progress, see links below. http://www.beerdrinka.com/httpd.conf http://www.beerdrinka.com/ssl.conf I keep re-reading the apache docs but there is just something I am missing. As a note I have also tried this in a non-jail environment on 5.3 p16 and get the same error results. When trying to use SSL, are you using a URL with http://; or https://;? Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
On Tue, 5 Jul 2005 14:21:03 -0400 Todd Suits [EMAIL PROTECTED] wrote: https:// is what im trying to use. http:// just brings my normal index.html page. ---cut--- I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 are you using a hardware-router or something ? if so, did you open the 443 port on that router and set up portforwarding to port 443 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PF firewall using anchors
I am running 5.4 using the run time loadable module for PF firewall. The PF rules load and work fine. The main rule set contains 2 anchor rules. I can add rules to the in core anchor name and then list the anchor and see the rules are really there. Problem is the anchor rules are never being executed by the main rule set. Is there anybody on this questions list who has PF working with anchors? Have read all the PF man pages 6-8 times and my config seems ok. Knowing that PF is new to FreeBSD base in 5.4 so thinking this may be a bug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: squid bind to port 80 fails when started via squid.sh script
On Tue, 2005-07-05 at 13:38 -0400, Chuck Swiger wrote: Wayne Sierke wrote: FreeBSD 5.4-RELEASE/squid-2.5.9_3 If I start squid via the script (as root), I get: /var/log/squid_cache.log: commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied FATAL: Cannot open HTTP Port Squid Cache (Version 2.5.STABLE9): Terminated abnormally. The squid startup script probably changes to a non-root user before running the squid binary, which means that squid cannot bind to a port below 1024. Normally, people run squid on port 3128, although 8080 is also relatively common. You are exactly right, of course. I hadn't been able to spot anything obvious as to where that might be happening in the script so after your response I was prompted to grep through /etc/rc.subr. I now know what all those $(name)_* vars in the startup scripts are for! :) Given that squid.conf contains 'cache_effective_user' and 'cache_effective_group' settings, the 'squid_user' variable in the script is probably redundant. And that seems to be confirmed by a comparison of 'ps aux | grep squid' results from launching squid directly and, now, via the script with the squid_user var removed: root 92882 0.0 0.3 3172 1764 ?? Is2:51AM 0:00.00 /usr/local/sbin/squid -D squid 92884 0.0 1.3 7472 6668 ?? S 2:51AM 0:00.24 (squid) -D (squid) squid 92885 0.0 0.1 1188 548 ?? Is2:51AM 0:00.01 (unlinkd) (unlinkd) root 93310 0.0 0.3 3172 1764 ?? Is3:29AM 0:00.00 /usr/local/sbin/squid -D squid 93312 0.0 1.3 7472 6668 ?? S 3:29AM 0:00.19 (squid) -D (squid) squid 93313 0.0 0.1 1188 548 ?? Is3:29AM 0:00.01 (unlinkd) (unlinkd) I suppose the remaining question is whether there exists a valid reason to keep the squid_user variable in the script, or is it purely redundant and, in this case, troublesome. (By the way, the reason for running squid on port 80 is to run it as an httpd_accelerator, and in my case specifically, to allow for the handling of virtual web-hosts on a single IP over multiple servers.) In any case I suppose I should pose this question to the port maintainer. Many thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD
This is the funniest discussion i have ever read. I saving these messages for future entertainment. I love Tux and Beastie pictures Same here, I also like the look of the default blue colored lilo menu on some linux distros - its looks quite professional. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Remote access to a user's mail spool
Hi all, We're an ISP, and we are currently looking for a way for our tech support guys to access customer's email without having shell access to the server, or knowing the customer's password. We'd like to install a custom webmail client on our private internal LAN webserver that would only show the user's inbox and the ability to delete the messages (couldn't read messages, etc.). The problem is that we would have to know the user's password in order for my PHP script to go out and fetch the mail. Is there a way I can setup and/or patch one of the POP3 clients (of course I would firewall this and do an SSH tunnel with the pop3d running on localhost only on the mail server, so I would keep things secure) so that it could be given any random password and would authenticate? Or is this some kind of patch I would need to write? Maybe a better option would be to write a custom client/server interface via ssh to interact with the mail spool (possibly calling mail over ssh remotely, with public/private key authentication and sudo access to mail for the remote account) Any ideas? Thanks, Matt PS: I can admit that I originally posted this to the dovecot mailing list, but am now seeing it might be a system-related issue vs. a pop3 daemon issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
On Tue, 5 Jul 2005, Chuck Swiger wrote: |[EMAIL PROTECTED] wrote: |[ ... ] | My problem is that I think something in the system is allocating | memory and not releasing it. | |The kernel will attempt to use all but a little RAM reserved as free space to |cache stuff from disk, unless and until that memory is needed for something else. It seems that this is the case. I wrote a small program to allocate a large block of memory (more them that shown as free) and the system doesn´t swap. That is the memory top shows as Inactive? Thank you, - Marcelo Souza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dependency failures
I have a question about portupgrade. I have been running portupgrade -ai on my workstation, and several upgrades failed. I traced all the failures to one of two things; a security problem or XML-Parser was missing. However, XML-Parser was installed. pkgdb -F returned with no complaints and pkg-info shows that XML-Parser was installed. I deinstalled and reinstalled the p5-XML-Parser port, and now all the ports that failed because of that port are upgrading properly (gnome-desktop, gnome-menus, metacity, ggv, gnome-themes, gedit, gdm, gal2, filerolller, eog, nautilus-cd-burner, evolution-data-server, evolution, gnome-panel) What is the cause of this? Is there an easier way to correct the problem? Re- register the port? (If so, how do you do that?) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
On Tue, Jul 05, 2005 at 05:44:17PM +0200, Andreas Wider?e Andersen wrote: [...] # mount /zip mount: /dev/da0s4 on /zip: incorrect super block Your ZIP disk hasn't been formatted as UFS, I would try `msdos' instead. -- Jonathan Chen [EMAIL PROTECTED]Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
[EMAIL PROTECTED] writes: On Tue, 5 Jul 2005, Chuck Swiger wrote: |[EMAIL PROTECTED] wrote: |[ ... ] |My problem is that I think something in the system is allocating | memory and not releasing it. | |The kernel will attempt to use all but a little RAM reserved as free space to |cache stuff from disk, unless and until that memory is needed for something else. It seems that this is the case. I wrote a small program to allocate a large block of memory (more them that shown as free) and the system doesn´t swap. That isn't relevant. The memory won't even be mapped in until it is accessed. That is the memory top shows as Inactive? I don't understand the question. I suspect you are looking for the following bit of the FreeBSD documentation: http://www.br.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrade perl 5.8.6
When I upgrade to perl 5.8.6 from 5.00 I get DBI not found in @INC array. what is the best way to upgrade the perl dbi. I tried portupgrade p-5* still have same problem help please John Larson __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dependency failures
On Tue, Jul 05, 2005 at 02:10:23PM -0500, Paul Schmehl wrote: I have a question about portupgrade. I have been running portupgrade -ai on my workstation, and several upgrades failed. I traced all the failures to one of two things; a security problem or XML-Parser was missing. However, XML-Parser was installed. pkgdb -F returned with no complaints and pkg-info shows that XML-Parser was installed. I deinstalled and reinstalled the p5-XML-Parser port, and now all the ports that failed because of that port are upgrading properly (gnome-desktop, gnome-menus, metacity, ggv, gnome-themes, gedit, gdm, gal2, filerolller, eog, nautilus-cd-burner, evolution-data-server, evolution, gnome-panel) What is the cause of this? Is there an easier way to correct the problem? Re- register the port? (If so, how do you do that?) You probably updated perl incompletely. See /usr/ports/UPDATING. Kris pgpbr3wvtUi8N.pgp Description: PGP signature
Re: Help passwd file convert
Sean Murphy [EMAIL PROTECTED] writes: I am going to move over from Solaris 8 to FreeBSD 5.4 but would like to keep uid, usernames, and passwords from the Solaris 8 box intact when I move them to the FreeBSD box. Is it just as simple as a copy and paste for the passwd file? Is there any commands I have to run after the copy and paste? Anything need to be done to the master.passwd file? It's not quite that simple, but it isn't very hard. See the passwd(5) manual. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compaq Presario 6000 Install Failure FBSD 5.4 RELEASE
Hello all, I'm darned if I know what is going on with this -- I've installed many version 4.X and 5.X systems on Proliant hardware but this is the first failure (and the first Proliant 6000) -- Presario 6000 dual processor Smart Raid 3100ES attached to 4 - 18 Gb 10,000 RPM UW SCSI drives. Configured as one RAID 0 array containing one physical = one logical drive and one RAID 5 array containing three physical = one logical drive. Compaq utilities report no problem with any of this, and the system is up to date with firmware. System set up for a SCO Unix 7.1 install. As I don't really know how to export the boot messages, I can tell you it fails at a line that appears maybe a dozen lines after the md0: Preload image line: GEOM: Configure idad0s3 start 16384 length 37584896 end 37601279 So apparently FBSD is having some problems either with the controller or possibly the drives themselves...? I've googled and searched the web to no avail. Older versions of FBSD did not have the ida code, but 5.4 surely does...your help, as always, is most appreciated. Thank you, Roy __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error installing graphics/ImageMagick from ports
issue's been resolved. i did another cvsup of ports and portupgrade of jasper. built fine after that. hello- i get an error installing graphics/ImageMagick 4.11-RELEASE-p8 FreeBSD 4.11-RELEASE-p8 #0: i tried cvsup'ing my ports tree. same error. error log is below, if anyone can suggest anything. i'd like to install this port. make install clean -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall -c -o coders/magick_libMagick_la-jbig.lo `test -f 'coders/jbig.c' || echo './'`coders/jbig.c source='coders/jpeg.c' object='coders/magick_libMagick_la-jpeg.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ /bin/sh /usr/local/bin/libtool15 --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall -c -o coders/magick_libMagick_la-jpeg.lo `test -f 'coders/jpeg.c' || echo './'`coders/jpeg.c coders/jpeg.c: In function `ReadJPEGImage': coders/jpeg.c:654: warning: variable `image' might be clobbered by `longjmp' or `vfork' coders/jpeg.c:1102: warning: variable `image' might be clobbered by `longjmp' or `vfork' coders/jpeg.c:1122: warning: variable `image' might be clobbered by `longjmp' or `vfork' source='coders/jp2.c' object='coders/magick_libMagick_la-jp2.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ /bin/sh /usr/local/bin/libtool15 --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/X11 -I/usr/local/include/libxml2 -O -pipe -Wall -c -o coders/magick_libMagick_la-jp2.lo `test -f 'coders/jp2.c' || echo './'`coders/jp2.c In file included from /usr/local/include/jasper/jasper.h:121, from coders/jp2.c:78: /usr/local/include/jasper/jas_image.h:152: warning: `/*' within comment coders/jp2.c: In function `ReadJP2Image': coders/jp2.c:280: `jas_cmprof_t' undeclared (first use in this function) coders/jp2.c:280: (Each undeclared identifier is reported only once coders/jp2.c:280: for each function it appears in.) coders/jp2.c:280: `cm_profile' undeclared (first use in this function) coders/jp2.c:279: warning: statement with no effect coders/jp2.c:283: `jas_iccprof_t' undeclared (first use in this function) coders/jp2.c:283: `icc_profile' undeclared (first use in this function) coders/jp2.c:282: warning: statement with no effect coders/jp2.c:286: syntax error before `*' coders/jp2.c:327: `status' undeclared (first use in this function) coders/jp2.c:337: `jp2_stream' undeclared (first use in this function) coders/jp2.c:340: `jp2_image' undeclared (first use in this function) coders/jp2.c:346: warning: implicit declaration of function `jas_clrspc_fam' coders/jp2.c:346: warning: implicit declaration of function `jas_image_clrspc' coders/jp2.c:348: `JAS_CLRSPC_FAM_RGB' undeclared (first use in this function) coders/jp2.c:350: `components' undeclared (first use in this function) coders/jp2.c:359: `number_components' undeclared (first use in this function) coders/jp2.c:368: `JAS_CLRSPC_FAM_GRAY' undeclared (first use in this function) coders/jp2.c:380: `JAS_CLRSPC_FAM_YCBCR' undeclared (first use in this function) coders/jp2.c:355: warning: unreachable code at beginning of switch statement coders/jp2.c:410: `i' undeclared (first use in this function) coders/jp2.c:424: `x_step' undeclared (first use in this function) coders/jp2.c:425: `y_step' undeclared (first use in this function) coders/jp2.c:437: `maximum_component_depth' undeclared (first use in this function) coders/jp2.c:442: `pixels' undeclared (first use in this function) coders/jp2.c:455: `scale' undeclared (first use in this function) coders/jp2.c:468: `q' undeclared (first use in this function) coders/jp2.c:490: `x' undeclared (first use in this function) coders/jp2.c:488: warning: unreachable code at beginning of switch statement coders/jp2.c:558: warning: implicit declaration of function `jas_image_cmprof' coders/jp2.c:559: syntax error before `)' coders/jp2.c:560: syntax error before `)' coders/jp2.c:562: syntax error before `)' coders/jp2.c:567: `icc_stream' undeclared (first use in this function) coders/jp2.c:569: warning: implicit declaration of function `jas_iccprof_save' coders/jp2.c: At top level: coders/jp2.c:597: syntax error before `void' coders/jp2.c:598: warning: type defaults to `int' in declaration of `jas_image_destroy' coders/jp2.c:598: warning: parameter names (without types) in function declaration coders/jp2.c:598: conflicting types for `jas_image_destroy' /usr/local/include/jasper/jas_image.h:348: previous declaration of `jas_image_destroy' coders/jp2.c:598: warning: data
Re: Procedure for migrating user accounts to new system ?
Nelis Lamprecht [EMAIL PROTECTED] writes: What is the correct procedure to follow for migrating user accounts from one FreeBSD 4.x system to a new FreeBSD 4.x system ? We're sticking to 4.x due to legacy issues(Netware) in case I get asked. Didn't see answer to this in the FAQ's or Handbook and google answers seem sketchy. The FAQ entry titled How do I move my system over to my huge new disk? should be apropos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble mounting Zip drive
On Tue, 2005-07-05 at 15:35, Jonathan Chen wrote: On Tue, Jul 05, 2005 at 05:44:17PM +0200, Andreas Wider?e Andersen wrote: [...] # mount /zip mount: /dev/da0s4 on /zip: incorrect super block Your ZIP disk hasn't been formatted as UFS, I would try `msdos' instead. Try mount -t msdos /dev/da0s4 /zip on the command line If that doesn't work, try da0s1 instead. fstab should say: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP support for --with-oci8-instant-client
Having similar problem on Solaris 9 SPARC checking for Oracle (OCI8) support using ORACLE_HOME installation... no checking for Oracle (OCI8) support using Oracle Instant Client... yes checking Oracle Instant Client directory... /usr/local/instantclient/instantclient10_1 checking Oracle Instant Client SDK header directory... /usr/local/instantclient/instantclient10_1/sdk/include checking Oracle Instant Client version... configure: error: Link from /usr/local/instantclient/instantclient10_1/libclntsh.so to libclntsh.so.10.1 not found # I added a softlink from libclntsh.so to libclntsh.so.10.1 by ln -s method. Any suggestions? Thanks __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote access to a user's mail spool
I would have to say that, for what you are trying to do, you are going the long way about it. If I was to be stuck having to this, I would make a php/perl script with web GUI that just pares out the users subjects and adds a check box and delete button. Security can be implemented in so many ways with Apache that I would recommend that you read the Apache manual. I would go so far as setting an IP alias on the interface and limiting the networks that can access the script. Or just lock the shell access correctly. Erik On 7/5/05, Matt Juszczak [EMAIL PROTECTED] wrote: Hi all, We're an ISP, and we are currently looking for a way for our tech support guys to access customer's email without having shell access to the server, or knowing the customer's password. We'd like to install a custom webmail client on our private internal LAN webserver that would only show the user's inbox and the ability to delete the messages (couldn't read messages, etc.). The problem is that we would have to know the user's password in order for my PHP script to go out and fetch the mail. Is there a way I can setup and/or patch one of the POP3 clients (of course I would firewall this and do an SSH tunnel with the pop3d running on localhost only on the mail server, so I would keep things secure) so that it could be given any random password and would authenticate? Or is this some kind of patch I would need to write? Maybe a better option would be to write a custom client/server interface via ssh to interact with the mail spool (possibly calling mail over ssh remotely, with public/private key authentication and sudo access to mail for the remote account) Any ideas? Thanks, Matt PS: I can admit that I originally posted this to the dovecot mailing list, but am now seeing it might be a system-related issue vs. a pop3 daemon issue. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade perl 5.8.6
On Tuesday 05 July 2005 12:24 pm, John Larson wrote: When I upgrade to perl 5.8.6 from 5.00 I get DBI not found in @INC array. what is the best way to upgrade the perl dbi. I tried portupgrade p-5* still have same problem help please you have to upgrade all of the p5-\* ports. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
I have no problem accessing other https sites and there is not a router, the jail is set up on a dedicated server in a data center where serives like this are provided. On 7/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue, 5 Jul 2005 14:21:03 -0400 Todd Suits [EMAIL PROTECTED] wrote: https:// is what im trying to use. http:// just brings my normal index.html page. ---cut--- I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 are you using a hardware-router or something ? if so, did you open the 443 port on that router and set up portforwarding to port 443 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New site link
Hello my name is Jevgenij Dalnikov. I've found that your website has links on lithuanian sites. We would like to tell you that new dating site has been launched, which has been made in Lithuania - www.cherryfun.com It would be big pleasure if you put a link on this site on your http://www.freebsd.org/fr/gallery/npgallery.html page Thank you in advance. Sincerely yours, CherryFun.com team www.cherryfun.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to clear tun0 interface?
--- wizlayer [EMAIL PROTECTED] wrote: On Monday 04 July 2005 11:07 pm, you wrote: --- wizlayer [EMAIL PROTECTED] wrote: What errors? -su-2.05b# ifconfig tun0 destroy ifconfig: SIOCIFDESTROY: Invalid argument -su-2.05b# ifconfig tun0 deletetunnel ifconfig: SIOCDIFPHYADDR: Invalid argument And what version of FreeBSD are you running on? I seem to remember this comming up before (maybe it was on another list), but I believe this was supposed to have been fixed with 5.3 WizLayer I have upgraded from 5.4 Release to the stable branch and it still gives the same errors. I figured there was a change in how this was supposed to be accomplished, but if it is a bug, it has been there for a long time, at least a year. I didn't think it was because ppp is able to reset tun0, but maybe it's specific to the ifconfig command. I'm not sure. I'm just tired of my IPv6 not working correctly and I looked at the source code and it's too complex for my skills. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
As an update the command: $ openssl s_client -connect localhost:443 -state -debug from the Apache documents, produces the following output: killians# openssl s_client -connect localhost:443 -state -debug CONNECTED(0003) SSL_connect:before/connect initialization write to 0809A500 [080B1000] (142 bytes = 142 (0x8E)) - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00 ..c... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00 ..3..2../.f. 0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00 .c.. 0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40 b..a...@ 0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00 ..e..d..`... 0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 b3 46 ...F 0070 - 18 14 e5 bd de 65 4e 39-1c 60 c4 c2 81 f5 bb 8a .eN9.`.. 0080 - 68 00 e0 db 23 c8 ad c2-44 23 81 83 51 93 h...#...D#..Q. SSL_connect:SSLv2/v3 write client hello A read from 0809A500 [080B7000] (7 bytes = 7 (0x7)) - 3c 21 44 4f 43 54 59 !DOCTY SSL_connect:error in SSLv2/v3 read server hello A 50689:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/s rc/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:475: I'm just not sure how to deal with it. On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: I have no problem accessing other https sites and there is not a router, the jail is set up on a dedicated server in a data center where serives like this are provided. On 7/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue, 5 Jul 2005 14:21:03 -0400 Todd Suits [EMAIL PROTECTED] wrote: https:// is what im trying to use. http:// just brings my normal index.html page. ---cut--- I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 are you using a hardware-router or something ? if so, did you open the 443 port on that router and set up portforwarding to port 443 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote access to a user's mail spool
Matt Juszczak wrote: We're an ISP, and we are currently looking for a way for our tech support guys to access customer's email without having shell access to the server, or knowing the customer's password. We'd like to install a custom webmail client on our private internal LAN webserver that would only show the user's inbox and the ability to delete the messages (couldn't read messages, etc.). The notion of being able to delete messages yet not see them doesn't make much sense, frankly. Are they going to just see the sender, or the subject, or do they just delete mail randomly? What problem are you trying to solve? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where is the memory
[EMAIL PROTECTED] wrote: On Tue, 5 Jul 2005, Chuck Swiger wrote: [ ... ] It seems that this is the case. I wrote a small program to allocate a large block of memory (more them that shown as free) and the system doesn´t swap. Nor should it. Simply allocating memory doesn't actually use it, you'd have to write something to each page... That is the memory top shows as Inactive? Hmm. It's not clear what memory you're talking about here, although the FAQ provides an explanation that might clarify matters. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
Sorry for all the responses but Googling has brought up possible problems or questions. I am starting Apache with /usr/local/sbin/apachectl startssl is this correct for the FreeBSD compiled version? On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: As an update the command: $ openssl s_client -connect localhost:443 -state -debug from the Apache documents, produces the following output: killians# openssl s_client -connect localhost:443 -state -debug CONNECTED(0003) SSL_connect:before/connect initialization write to 0809A500 [080B1000] (142 bytes = 142 (0x8E)) - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00 ..c... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00 ..3..2../.f. 0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00 .c.. 0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40 b..a...@ 0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00 ..e..d..`... 0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 b3 46 ...F 0070 - 18 14 e5 bd de 65 4e 39-1c 60 c4 c2 81 f5 bb 8a .eN9.`.. 0080 - 68 00 e0 db 23 c8 ad c2-44 23 81 83 51 93 h...#...D#..Q. SSL_connect:SSLv2/v3 write client hello A read from 0809A500 [080B7000] (7 bytes = 7 (0x7)) - 3c 21 44 4f 43 54 59 !DOCTY SSL_connect:error in SSLv2/v3 read server hello A 50689:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/s rc/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:475: I'm just not sure how to deal with it. On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: I have no problem accessing other https sites and there is not a router, the jail is set up on a dedicated server in a data center where serives like this are provided. On 7/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue, 5 Jul 2005 14:21:03 -0400 Todd Suits [EMAIL PROTECTED] wrote: https:// is what im trying to use. http:// just brings my normal index.html page. ---cut--- I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 are you using a hardware-router or something ? if so, did you open the 443 port on that router and set up portforwarding to port 443 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New site link
On 06 jul 2005, at 00:19, CherryFun wrote: Hello my name is Jevgenij Dalnikov. I've found that your website has links on lithuanian sites. We would like to tell you that new dating site has been launched, which has been made in Lithuania - www.cherryfun.com It would be big pleasure if you put a link on this site on your http://www.freebsd.org/fr/gallery/npgallery.html page Thank you in advance. http://uptime.netcraft.com/up/graph?site=http%3A%2F% 2Fwww.cherryfun.com%2F i don;t think so... Arno ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remote access to a user's mail spool
On 7/5/05, Chuck Swiger [EMAIL PROTECTED] wrote: Matt Juszczak wrote: We're an ISP, and we are currently looking for a way for our tech support guys to access customer's email without having shell access to the server, or knowing the customer's password. We'd like to install a custom webmail client on our private internal LAN webserver that would only show the user's inbox and the ability to delete the messages (couldn't read messages, etc.). The notion of being able to delete messages yet not see them doesn't make much sense, frankly. Are they going to just see the sender, or the subject, or do they just delete mail randomly? What problem are you trying to solve? -- -Chuck Most likely the problem they are trying to solve is that of Outlook and Outlook Express choking on corrupt/damaged/unrecognized headers. It's a huge problem for Outlook users these days. http://www.google.com/search?q=outlook+%2Bok+octets+followbtnG=Search Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
Todd Suits wrote: Sorry for all the responses but Googling has brought up possible problems or questions. I am starting Apache with /usr/local/sbin/apachectl startssl is this correct for the FreeBSD compiled version? you don't *have to* use that, you can just use /usr/local/etc/rc.d/apache.sh and make sure that apache2ssl_enable=YES in /etc/rc.conf to my knowledge, which may be lacking, you should be able to execute apaches start script as well. if you run `ps -waux | grep httpd` from the prompt do you see httpd listed with -DSSL ?? the errors about 'invalid method' lead me to believe that you its only started as http not https. what is in the error log as soon as you run /usr/local/sbin/apachectl startssl and what does the above ps show. jeff On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: As an update the command: $ openssl s_client -connect localhost:443 -state -debug from the Apache documents, produces the following output: killians# openssl s_client -connect localhost:443 -state -debug CONNECTED(0003) SSL_connect:before/connect initialization write to 0809A500 [080B1000] (142 bytes = 142 (0x8E)) - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00 ..c... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00 ..3..2../.f. 0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00 .c.. 0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40 b..a...@ 0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00 ..e..d..`... 0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 b3 46 ...F 0070 - 18 14 e5 bd de 65 4e 39-1c 60 c4 c2 81 f5 bb 8a .eN9.`.. 0080 - 68 00 e0 db 23 c8 ad c2-44 23 81 83 51 93 h...#...D#..Q. SSL_connect:SSLv2/v3 write client hello A read from 0809A500 [080B7000] (7 bytes = 7 (0x7)) - 3c 21 44 4f 43 54 59 !DOCTY SSL_connect:error in SSLv2/v3 read server hello A 50689:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/s rc/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:475: I'm just not sure how to deal with it. On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: I have no problem accessing other https sites and there is not a router, the jail is set up on a dedicated server in a data center where serives like this are provided. On 7/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue, 5 Jul 2005 14:21:03 -0400 Todd Suits [EMAIL PROTECTED] wrote: https:// is what im trying to use. http:// just brings my normal index.html page. ---cut--- I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 are you using a hardware-router or something ? if so, did you open the 443 port on that router and set up portforwarding to port 443 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Linux move to FreeBSD (Beastie vs Penguin)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of TvZ Sent: Monday, July 04, 2005 1:11 PM To: freebsd-questions@freebsd.org Subject: Re: Linux move to FreeBSD (Beastie vs Penguin) I would rather see this thread die out I agree - we are killing electrons and those aren't a renewable resource! Do you know how long it takes to grow an electron!!! Besides, we have to keep the list clear! After all, it's important not to interrupt the spammers with posts like this! This is a serious message board, go to alt.humor for your jokes! Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD (Beastie vs Penguin)
On Wednesday 6 July 2005 02:07, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of TvZ Sent: Monday, July 04, 2005 1:11 PM To: freebsd-questions@freebsd.org Subject: Re: Linux move to FreeBSD (Beastie vs Penguin) I would rather see this thread die out I agree - we are killing electrons and those aren't a renewable resource! Do you know how long it takes to grow an electron!!! It's that attitude that demotivates electrones. That's whay they move backwards those damn electrons, they'll never move with the flow from plus to minus :) Besides, we have to keep the list clear! After all, it's important not to interrupt the spammers with posts like this! This is a serious message board, go to alt.humor for your jokes! Well, Ted, the few moments we don't agree may have stood out, but generally and especially when it's about how our stuff relates to the wider society I think you always have something thought provoking to say. And well, no surprise, I agree mostly. (I can be a bastard when I don't) It's the imposing upon from religious groups (and well, let's say that I don't think they're muslims) that I find not only annoying but, yeah, downright dangerous. Throwing out 2-3 centuries of enlightenment and scientific advance is not a good idea. Greets, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
aaaargghh.. sendmail again
N machines on a ficticious net fred.com (not the real name). neet to get email out to the real world. via connected server mailgate.real.domain. (ficticious name) They pass it forward to a server on their net server.ficticious.net which uses the Smarthost option in Sendmail to forward them on to mailgate.real.domain, however mailgaet will not accept the mail unless the sender resolves to something real. I have no control over that machine. I am trying to alter the sendmail config on server.ficticious.net so that it rewrites the sender (both envelope and header) to be from [EMAIL PROTECTED] the sendmail m4 config file now has: divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.17 2002/11/14 03:21:18 keramida 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') FEATURE(genericstable, `hash -o /etc/mail/senders.db') FEATURE(masquerade_entire_domain) FEATURE(local_no_masquerade) FEATURE(masquerade_envelope) define(`SMART_HOST', `mailgate.vicor-nb.com') MASQUERADE_AS(`registered.domain') MASQUERADE_DOMAIN(`ficticious.net') MASQUERADE_DOMAIN(`server.ficticious.net') where /etc/mail/senders.db contains: the 'has' version of: root[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] So, by 2 different methods I'm trying to get the mail to say its coming from registered.domain but it isn't doing it, leaving it as comig from server.ficticious.net is there a trick to this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: aaaargghh.. sendmail again
Julian Elischer skrev: N machines on a ficticious net fred.com (not the real name). neet to get email out to the real world. via connected server mailgate.real.domain. (ficticious name) They pass it forward to a server on their net server.ficticious.net which uses the Smarthost option in Sendmail to forward them on to mailgate.real.domain, however mailgaet will not accept the mail unless the sender resolves to something real. I have no control over that machine. You have to tell the admin of your smarthost to take your mail. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: squid bind to port 80 fails when started via squid.sh script
On Wed, 6 Jul 2005, Wayne Sierke wrote: FreeBSD 5.4-RELEASE/squid-2.5.9_3 If I start squid via the script (as root), I get: /var/log/squid_cache.log: commBind: Cannot bind socket FD 11 to *:80: (13) Permission denied FATAL: Cannot open HTTP Port Squid Cache (Version 2.5.STABLE9): Terminated abnormally. Did you set squid_enable=YES squid_user=root squid_flags=-D in /etc/rc.conf ? Regards, Uli. However, starting it as: # /usr/local/sbin/squid -D appears to be working (starting) fine. Could this be a bug with the squid script or executable or have I missed something? In squid.conf all settings are at install defaults except for: http_port 80 cache_dir ufs /var/squid/cache 100 16 256 cache_access_log /var/log/squid_access.log cache_log /var/log/squid_cache.log cache_store_log /var/log/squid_store.log pid_filename /var/run/squid.pid httpd_accel_host virtual httpd_accel_port 81 Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: aaaargghh.. sendmail again
Bernt Hansson wrote: Julian Elischer skrev: N machines on a ficticious net fred.com (not the real name). neet to get email out to the real world. via connected server mailgate.real.domain. (ficticious name) They pass it forward to a server on their net server.ficticious.net which uses the Smarthost option in Sendmail to forward them on to mailgate.real.domain, however mailgaet will not accept the mail unless the sender resolves to something real. I have no control over that machine. You have to tell the admin of your smarthost to take your mail. I have no control over that machine direct or indirect. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Linux move to FreeBSD (Beastie vs Penguin)
On Wednesday 6 July 2005 03:06, Mike Hauber wrote: On Tuesday 05 July 2005 08:29 pm, you wrote: It's the imposing upon from religious groups (and well, let's say that I don't think they're muslims) that I find not only annoying but, yeah, downright dangerous. Throwing out 2-3 centuries of enlightenment and scientific advance is not a good idea. Greets, Dan Come on, now... Just because someone is a Christian, it doesn't mean he/she's a quack. _Every_ religion has their extremists. I don't think it's very cool to knock whole societies of faith (regardless of what faith it is) based on the whims of the few who are too narrow-minded to see past their glasses... Thanks, Mike I agree. They can think whatever they want. That's fine with me. But like I said, they have no right to impose their belives upon others and certainly not upon a group of people who provide something technical (like an OS) for free. They have no right to do that, they have every right to think what they want to think. So have I. Religion should be merely a private matter. And if so I have the highest respect for someone doing or not doing or undoing or redoing something out of religious belief. And yes, most religious people (muslim, jew, christian, both catholic or reformed) *are* much more moderate than their leadership. So, when are they going to stand up? It's their movement, not mine. It's their sense of justice, not mine. Are they so diverted that they've lost beforehand? As long as they don't I reckon they agree with their extreme leadership. And they surely insult and condemn me (a secular gay gay who has been in a 10 year happy and monogam relationship with one person so far thank you how many rednecks can say that? -- not implying you are one). So I find a little offensive here certainly not unappropriate. It's probably needed. The American Taliban is not all that far away. In fact they're quite powerful, more than the moderates seem to think. Greets, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Apache 2 SSL Error
Jeff You are correct! I was not starting Apache with SSL. I knew I had to use the startssl command however I was using webmin for ease of clicking start and stop and I had entered startssl in the wrong box in the module config so therefor I was not starting Apache with SSL. Once I started with SSL there were a few error's I had to correct with the certificates I generated and in the ssl.conf but starting it correctly was the problem. Thank you.. I have spent many hours trying to get this set up and was very frustrated over the whole project. Thanks again to everyone who took the time to reply. This list is a great resource and without everyones participation it would not work. 7/5/05, jdyke [EMAIL PROTECTED] wrote: Todd Suits wrote: Sorry for all the responses but Googling has brought up possible problems or questions. I am starting Apache with /usr/local/sbin/apachectl startssl is this correct for the FreeBSD compiled version? you don't *have to* use that, you can just use /usr/local/etc/rc.d/apache.sh and make sure that apache2ssl_enable=YES in /etc/rc.conf to my knowledge, which may be lacking, you should be able to execute apaches start script as well. if you run `ps -waux | grep httpd` from the prompt do you see httpd listed with -DSSL ?? the errors about 'invalid method' lead me to believe that you its only started as http not https. what is in the error log as soon as you run /usr/local/sbin/apachectl startssl and what does the above ps show. jeff On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: As an update the command: $ openssl s_client -connect localhost:443 -state -debug from the Apache documents, produces the following output: killians# openssl s_client -connect localhost:443 -state -debug CONNECTED(0003) SSL_connect:before/connect initialization write to 0809A500 [080B1000] (142 bytes = 142 (0x8E)) - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00 ..c... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00 ..3..2../.f. 0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00 .c.. 0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40 b..a...@ 0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00 ..e..d..`... 0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 b3 46 ...F 0070 - 18 14 e5 bd de 65 4e 39-1c 60 c4 c2 81 f5 bb 8a .eN9.`.. 0080 - 68 00 e0 db 23 c8 ad c2-44 23 81 83 51 93 h...#...D#..Q. SSL_connect:SSLv2/v3 write client hello A read from 0809A500 [080B7000] (7 bytes = 7 (0x7)) - 3c 21 44 4f 43 54 59 !DOCTY SSL_connect:error in SSLv2/v3 read server hello A 50689:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/s rc/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:475: I'm just not sure how to deal with it. On 7/5/05, Todd Suits [EMAIL PROTECTED] wrote: I have no problem accessing other https sites and there is not a router, the jail is set up on a dedicated server in a data center where serives like this are provided. On 7/5/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue, 5 Jul 2005 14:21:03 -0400 Todd Suits [EMAIL PROTECTED] wrote: https:// is what im trying to use. http:// just brings my normal index.html page. ---cut--- I get the following error in httpd-error.log: [Tue Jul 05 10:15:28 2005] [error] [client 24.123.123.123] Invalid method in request \x80g\x01\x03 are you using a hardware-router or something ? if so, did you open the 443 port on that router and set up portforwarding to port 443 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]