Resource temporarily unavailable
Hi! I have 800mhz 500mb node with freebsd 4.1, I often get this Resource temporarily unavailable I have problem to find out what kind of Resource its problem with, when I do top command everything looks ok lots of memory free and like 80% idle, and we have done some changes in the kernel options MAXMEM=(512*1024) options SHMMNI=64and also increased maxusers to 128.This is a example of error message: Formatting page, please wait...Cannot fork: Resource temporarily unavailable /usr/bin/groff:fatal error: fork: Resource temporarily unavailable Failed. pclose: No such file or directory Cannot fork: Resource temporarily unavailable Error executing formatting or display command. system command exited with status 512 Thanks for your interest /Jan Blomqvist To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
gmake: *** [all-recursive-am] Error 2
All of the sudden I started having this error when building a port that uses gmake, it happens with any ports that uses gmake, I get the same error for all of them. Any hints? I'm running FBSD 5.0. Here's a copy of the whole error: u.lo window-menu.lo workspace.lo xutils.lo wnck-enum-types.lo wnck-marshal.lo pager-accessible.lo pager-accessible-factory.lo workspace-accessible.lo workspace-accessible-factory.lo -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft -lfreetype -lXext -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lstartup-notification-1 -Wl,-soname -Wl,libwnck-1.so.9 -Wl,-retain-symbols-file -Wl,.libs/libwnck-1.exp -o .libs/libwnck-1.so.9 /usr/bin/ld: cannot find -lXft gmake[2]: *** [libwnck-1.la] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/libwnck/work/libwnck-2.2.1/libwnck' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/libwnck/work/libwnck-2.2.1' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/x11-toolkits/libwnck. *** Error code 1 Stop in /usr/ports/x11/gnomepanel. *** Error code 1 Stop in /usr/ports/x11/gnomeapplets2. *** Error code 1 Stop in /usr/ports/x11/gnome2. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
I Need Details To Dual Boot Windows XP and FreeBSD
How do I dual boot windows xp and FreeBSD? Can someone give me a detailed explanation of steps to take? I have a 40gig hard drive. I don't want to destroy my current installation until I have the details down. I eventually don't mind destroying my current installation of windows XP. So far, this is what I have figured out: 1. Fdisk the hard drive to destroy current installation. 2. Install windows XP on a 20gig hard drive (or however much I choose). 3. Install FreeBSD... That's all I know. I need the details for the rest, such as: when I get to the FreeBSD bootloader options what do I choose? Basically, as much information (details) as you can provide I would greatly appreciate. Thank you very much. -Bishop _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
kile tiny letters
Im running kile and for some reason the characters of the text are very small - unreadable. What's up with this. -- Robert Tan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I Need Details To Dual Boot Windows XP and FreeBSD
On Tuesday 18 March 2003 02:34, Makaveli The Don wrote: How do I dual boot windows xp and FreeBSD? Can someone give me a detailed explanation of steps to take? I have a 40gig hard drive. I don't want to destroy my current installation until I have the details down. I eventually don't mind destroying my current installation of windows XP. So far, this is what I have figured out: 1. Fdisk the hard drive to destroy current installation. 2. Install windows XP on a 20gig hard drive (or however much I choose). 3. Install FreeBSD... That's all I know. I need the details for the rest, such as: when I get to the FreeBSD bootloader options what do I choose? Basically, as much information (details) as you can provide I would greatly appreciate. Thank you very much. -Bishop _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Hey Bishop- For the most part, if you can install them seperately on the system it's the same thing to do a dual-boot. You have them in the correct order as well, XP first and then BSD. You can use XP's installer to wipe the drive to, just make sure to set your size right and not use the whole drive, ie: 20GB like you said. I always do a Custom BSD install, so I don't know the steps in the other screens at all :) The only biggy is that when you are done setting up your partitions you want to pick install Boot Manager . BSD is pretty good at noticing other partitions and then upon a reboot you will get displayed a list of choices: F1 ??? for the first partition F2 FreeBSD to go into your BSD installation It will remember the last one you picked and set that to the default. Hope that helped. Henrik -- Henrik Hudson [EMAIL PROTECTED] You know, Hobbes, some days even my lucky rocket ship underpants don't help. Calvin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
acroread: ELF binary type 3 not known.
Before I installed kde3, ik had no problems running acroread. Now after the installation. Im getting the following messsage: ELF binary type 3 not known. Abort How do I fix this? -- Robert Tan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
ALT/GR key not working under X11
Hi list, What can i do to get the ALT/GR key of my Logitech keyboard with german Layout working? The umlauts (äöüÄÖÜß) are working and so is the general layout, but i cannot type the at sign for email addresses or the backslash. Bot of them can only be accessed with ALT/GR (ALT/GR + Q for at). The relevant part of my XF86Config reads: Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbModel pc104 Option XkbLayout de It is the very same as i use under Linux. The only difference is that Linux uses Xfree86 4.1, while FreeBSD uses XFree86-Server-4.3.0_1 Can someone help? Being unable to type the at sign is really bad!! Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:[EMAIL PROTECTED] Phone : +49/421/218-4664 Fax :-3341 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
X11 remote connection problem
Hey, all I know this question seems dumb, but it really screws me a lot. Following the handbook, I tried to make my remote X connection work, but with no luck. Here is the error message. #setenv DISPLAY my_machine:0.0 #gvim Xlib: connection to my_machine:0.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key E233: cannot open displayXlib: connection to my_machine:0.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key I guess it is because I am using KDM instead XDM, so that the handbook instruction doesn't work. I am wondering if someone could instruct me a good reference page. I am using FreeBSD 4.7, KDE 3.0. Thanks for any information about this. Cheers, Ken To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Resource temporarily unavailable
On Tue, Mar 18, 2003 at 09:03:32AM +0100, Jan Blomqvist wrote: Hi! I have 800mhz 500mb node with freebsd 4.1, I often get this Resource temporarily unavailable I have problem to find out what kind of Resource its problem with, when I do top command everything looks ok lots of memory free and like 80% idle, and we have done some changes in the kernel options MAXMEM=(512*1024) options SHMMNI=64and also increased maxusers to 128.This is a example of error message: Hi, Just a couple of wild guesses : - I suppose you have no particular maxprocess limit or whatever for your login class in /etc/login.conf? You can always have a look at login.conf(5) - What does 'ps auxww' look like when this happens? Anything surprising there? 'top' only shows the first so much heavier processes, so you might not see everything. - On my box here I just ran a little test and with all limits set to 'unlimited' in login.conf I can trigger this error with a recursive shell script calling itself. It happens when about 475 processes have been spawned, and then they all die eventually and everything returns to normal. Hope this helps a bit, but people on the list have probably more information and also more relevant about this matter... good luck :-) Olivier To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Console terminal behaviour
This question concerns console terminal behaviour. For some time I have been attempting to get MS FoxPro for SCO Unix running under FreeBSD. I have got most aspects running acceptably with the exception of the console behaviour. The symptoms are as follows: FoxPro starts up normally and everything appear as it should be. However when I type commands in the command window the typing appears in white characters on a black background, not the normal colour pair. On pressing [Return] the typed input appears in the normal colour pair at the left side of the screen on the next line down, the cursor returns to the command box in the normal colour. No output from foxPro in response to the command is observed. FoxPro is running however as pressing [F10] then [Return] results in the [System] menu dropping down as normal. On terminals and in an xterm the behaviour is normal. I'm running a fresh standard install of 4.7 with GENERIC kernel. The hardware is a standard PC running an AMD k6-2 300 cpu. I am using a terminfo entry, reproduced below, kindly supplied by Peter Elsner, which I understand works perfectly for him. My questions are these: 1. How should I research and diagnose this problem? 2. Is this question sufficiently described? 3. Where else might I find information and advice on this problem? Thank you for your attention, regards, Michael Green Terminfo source file: fansi|fansifox|My console, am, eo, xon, bce, cols#80, it#8, lines#25, color#8, pairs#64, [EMAIL PROTECTED], bel=^G, cr=\r, clear=^[[2J^[[H, el=^[[m^[[K, ed=^[[m^[[J, cup=^[[%i%p1%d;%p2%dH, cud1=^[[B, home=^[[H, cub1=\b, cnorm=^[[=13;15C, cuf1=^[[C, cuu1=^[[A, cvvis=^[[=0;15C, civis=\E[=14;12C, smacs=^[[12m, blink=^[[5m, bold=^[[1m, rev=^[[7m, invis=^[[8m, smso=^[[7m, smul=^[[4m, rmacs=^[[10m, sgr0=^[[10;0m, rmso=^[[m, rmul=^[[m, il1=^[[L, kbs=\b, kcbt=^[[Z, kdch1=^_, kcud1=^[[B, kend=^[[F, kf0=^[[0, kf1=^[[M, kf10=^[[V, kf11=^[[W, kf12=^[[X, kf13=^[[Y, kf14=^[[Z, kf15=^[[a, kf16=^[[b, kf17=^[[c, kf18=^[[d, kf19=^[[e, kf2=^[[N, kf20=^[[f, kf21=^[[g, kf22=^[[h, kf23=^[[i, kf24=^[[j, kf25=^[[k, kf26=^[[l, kf27=^[[m, kf28=^[[n, kf29=^[[o, kf3=^[[O, kf30=^[[p, kf31=^[[q, kf32=^[[r, kf33=^[[s, kf34=^[[t, kf35=^[[u, kf36=^[[v, kf37=^[[w, kf38=^[[x, kf39=^[[y, kf4=^[[P, kf40=^[[z, kf41=^[[@, kf42=^[[[, kf43=^[[\,\skf44=^[[], kf45=^[[\f\skf46=^[[_, kf47=^[[`, kf48=^[[{, kf5=^[[Q, kf6=^[[R, kf7=^[[S, kf8=^[[T, kf9=^[[U, khome=^[[H, kich1=^[[L, kcub1=^[[D, knp=^[[G, kpp=^[[I, kcuf1=^[[C, kcuu1=^[[A, ind=^[[S, ri=^[[T, kmous=%?%p2%{156}%=%tc%e%p2%c%;, op=^[[37;40m, setb=^[[4%p1%dm, setf=^[[3%p1%dm, # Added civis (Cursor Invisible) # Peter Elsner [EMAIL PROTECTED] 7/13/2000. __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
KDE Errors: signal 11
Hi all! I just got KDE 3.1 running after sorting out the nvidia driver, etc. It seems to be OK, except for an Error I keep getting when closing various windows. Probably 80% or 90% of the time when I close a window, from simple apps like konsole and kedit, etc, I get an Error dialog box reporting that kill signal 11 was received by the app I just closed. Does anyone know what I've done wrong to cause this behaviour? Regards, Patrick O'Reilly. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: I Need Details To Dual Boot Windows XP and FreeBSD
On Tue, 18 Mar 2003 02:51:05 -0600, Henrik Hudson [EMAIL PROTECTED] wrote: On Tuesday 18 March 2003 02:34, Makaveli The Don wrote: How do I dual boot windows xp and FreeBSD? Can someone give me a detailed explanation of steps to take? I have a 40gig hard drive. I don't want to destroy my current installation until I have the details down. I eventually don't mind destroying my current installation of windows XP. So far, this is what I have figured out: 1. Fdisk the hard drive to destroy current installation. 2. Install windows XP on a 20gig hard drive (or however much I choose). 3. Install FreeBSD... That's all I know. I need the details for the rest, such as: when I get to the FreeBSD bootloader options what do I choose? Basically, as much information (details) as you can provide I would greatly appreciate. Thank you very much. -Bishop You don't have to destroy your XP installation. Just shrink it. See http://www.terabyteunlimited.com . (Free 30-day trial. I don't think this will take you 30 days.:) Dual booting is the subject of FAQs at FreeBSD's web site. You are wanting to do the simplest kind of dual boot, where both operating systems will be on the same disk. You can easily get both XP and FreeBSD to boot from XP's boot menu. See http://www.freebsd.org/doc/en_US.ISO8859- 1/books/faq/disks.html#NT-BOOTLOADER . Read it carefully. If you have additional questions along the way, first try seeing if they have been answered in an FAQ, other documentation (especially the Handbook) or this mailing list. Google is your friend. :) If you can't find what you need in those sources, ask the list. Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
pkgdb clone disks (second chance)
No response first time. I try again. hi all First, i've installed perl5.6.1 with the system, and later i upgrade (install ?) to perl5.8.0. I ran the script use.perl port, and i deinstall perl5.6.1. And now always i want to upgrade a ports who need perl, i must run 'pkgdb -F' for fix the dependency with ... perl 5.6.1. when i install a ports with 'portinstall', i always see cleaning perl5.6.1. How i can tell to portinstall or make to use perl5.8.0 and remove perl5.6.1 ? # uname -a FreeBSD athena.erwane.net 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #1: Thu Mar 6 15:40:49 CET 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ATHENA i386 # pkg_info | grep perl p5-DBI-1.34_1 The perl5 Database Interface. Required for DBD::* modules perl-5.8.0_4Practical Extraction and Report Language # ls /usr/local/lib/perl5 5.6.1 5.8.0 site_perl # ls /usr/local/lib/perl5/site_perl 5.6.1 5.8.0 if need more info, ask. thanks for idea # The second is a project I have a server running FreeBSD5.0 and client running win98 and i want to dump disk of client to create snapshot of the system for restore it later when it crashes :o). Like ghost in fact but on FreeBSD. thanks for idea too :) Erwane Breton To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Strange crash, possibly vinum-related
On Tue, Mar 18, 2003 at 10:22:36AM +1030, Greg 'groggy' Lehey wrote: On Monday, 17 March 2003 at 10:58:28 +, Scott Mitchell wrote: On Mon, Mar 10, 2003 at 11:15:32PM +, Scott Mitchell wrote: No takers? I've been intending to do so, but there's not much I can do based on the information you've supplied. Hi Greg, Thanks for replying -- I didn't bother you personally with this before precisely because I didn't think I had enough information there to diagnose the problem fully. Is there anything in particular I can send you that might help? Maybe someone who's done this (replacing a failed Vinum drive on hot-swap SCSI hardware) before can at least tell me whether: - I should have done some camcontrol magic before rebuilding the drive? I can't see anything in particular you would need to do, but then I haven't seen the details. I guess it wouldn't have hurt to do a 'camcontrol rescan' after plugging the new drive. Disklabel seemed perfectly happy, so it didn't occur to me until much later that I hadn't done that. - Rebuilding the drive without unmounting the volume first was just asking for trouble? There have been reports of this kind of problem, mainly from Vallo Kallaste, who has also responded. I haven't seen it myself, and I haven't heard of panics as a result. But yes, umounting is a good precaution. I've added that to my checklist for next time :-) Please let me know if there's any other logs you'd like to see or anything else I can try. I'm actually planning to set up a very similar array on another identical machine once 4.8 is released, so there's a window for experimentation there, on a non-production machine. Thanks again, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Problem with Majordomo since upgrade
Hi I performed a BINARY upgrade from FreeBSD 4.1 to FreeBSD 4.8RC, mostly due to the sendmail security issue. Almost everything seems to be fine, but I have had trouble getting Majordomo to run. At the moment, I have it sort-of working (by giving the two mail spool directories group and world writable permissions, which sendmail warns about), but I also get the following messages in my /var/log/messages Mar 18 11:27:13 liffey sendmail[61628]: h2IBQujr061625: SYSERR(majordom): openmailer: insufficient privileges to change gid, RunAsUid=54, new_gid=0, gid=1, egid=25 UID 54 is Majordomo GID 1 is daemon GID 25 is smmsp (i.e. part of sendmail) I understand that this message is warning me that the Majordomo process was unable to change group to the correct group to run (if it had worked, I wouldn't need a world writeable spool directory). Any suggestions what I can do to fix this ? Why would majordomo be trying to change group to the wheel group anyway ? The problem is probably due to my incorrectly merging changes to the /etc/passwd or /etc/group file during an upgrade (originally binary upgraded from FreeBSD 3.x - 4.1 and then from 4.1 - 4.8RC if I recall correctly). When 4.8 comes out for real, I may end up doing a complete re-install, and re-create all my users. This server is the mail server for the company (POP accounts, users have no shell accounts, it also doubles as a SQUID server for about half users. no other processes running on the machine) I don't want to have to leave the mail spool directories with excessively generous permissions indefinitely. So help getting out of this hole I appear to have dug for myself would be appreciated. Especially if I can avoid having to do a clean install, and therefore re-creating 70 odd user accounts and re-issuing all those passwords. = Michael Doyleemail: [EMAIL PROTECTED] Network Administratorpersonal email: [EMAIL PROTECTED] Co-operation Ireland http://www.cooperationireland.org/ Phone: +353-1-661 0588 Fax: +353-1-661 8456 * To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Pushing commands to the background
On Mon, Mar 17, 2003 at 09:08:57PM -, Chris Phillips wrote: Stuff like: - hostname uptime ping -c 100 ftp.furrie.net traceroute ftp.furrie.net I'd like to push all the commands into the background be able to log off and let it do its business unattended. Unfortunately, with my lacking knowledge, so far I have managed this, (sad isn't it)... (ping -c 10 ftp.furrie.net /tmp/results cat /tmp/results | mail [EMAIL PROTECTED] ) Even with an at the end of this command, I do not get my prompt back :-( You forgot about HUP `nohup' will vacinate from SIGHUP (#1) look nohup(1) bash also have disown -- With best wishes Nikolay mail: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X11 remote connection problem
On Tue, Mar 18, 2003 at 01:40:38AM -0800, Kan Cai wrote: Hey, all I know this question seems dumb, but it really screws me a lot. Following the handbook, I tried to make my remote X connection work, but with no luck. Here is the error message. #setenv DISPLAY my_machine:0.0 #gvim Xlib: connection to my_machine:0.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key E233: cannot open displayXlib: connection to my_machine:0.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key I guess it is because I am using KDM instead XDM, so that the handbook instruction doesn't work. I am wondering if someone could instruct me a good reference page. I am using FreeBSD 4.7, KDE 3.0. No --- this is controlled at the X protocol level, somewhat below kdm(8) or xdm(8). You're actually running into a mechanism designed to secure your system, and seeing as someone with remote access to your desktop can do nasty things such as intercepting all of your keystrokes or mouse clicks, knowing how to permit remote access by X clients to your desktop securely is quite important. I'm going to describe three ways of permitting you to display windows from a remote X application on your desktop, pretty much in order of preference, worst to best. i) xhost(1) xhost(1) was the original mechanism for controlling remote access to an X server. It's a pretty basic mechanism that just lists hosts which are allowed to pop up windows on your screen. It's only suitable for use on a private network where you control all access to all machines on the network. Examples: % xhost +local: Permit all users on your local machine to display windows on your desktop. You should set $DISPLAY to: ':0.0' so that X traffic goes via the Unix domain socket in /tmp, rather than a network socket. % xhost +inet:remote-machine Permit all users on remote-machine to display stuff on your desktop. Set $DISPLAY to 'local-machine:0.0' for this. ii) xauth(1) This is the replacement for xhost(1), which permits access based on the remote user having access to a cryptographic token found in the ~/.Xauthority file. This offers much finer grained control than xhost(1), and it also underlies the third method I'll talk about later. Much of what xauth(1) does is automatic --- when you log in on your desktop, all of the right tokens are created if necessary or an existing token is read out of your .Xauthority file. In order to permit another user, either on a remote machine or a different UID on your local machine, you have to extract the tokens for your display from the .Xauthority file: % xauth nextract - $DISPLAY xauth-tokens Now copy the xauth-tokens file to the remote machine and add them to the .Xauthority file there: % xauth nmerge xauth-tokens and you should now be able to pop up windows to your heart's content. iii) ssh X-tunnelling. Both of the previous methods suffer from the major flaw that all of the X traffic is sent across the network in the clear. That is approximately as bad as using rsh(1) or rlogin(1) instead of ssh(1) --- anything you do can be snooped on, anything you type into an X application, like the passwords to some system resource, can be intercepted. The best method of avoiding this is to always use ssh(1) to login or run remote programs and enable the built-in ssh facility to transmit X protocol traffic through an encrypted tunnel. On the desktop machine, which is the X server but the ssh client, make sure that: ForwardX11 yes appears in either /etc/ssh/ssh_config or ~/.ssh/config (obviously in a 'Host' section matching the remote machine name) -- see ssh_config(5) for details. On the remote machine, which is where the X client runs and that you access the xxh server on, ensure that: X11Forwarding yes appears in /etc/ssh/sshd_config (see sshd_config(5) for details). Actually, that's the default setting: so long as 'X11Forwarding no' *doesn't* appear things should work. If you change the sshd_config file, tell sshd to reread it using a HUP signal: # killall -HUP sshd Now, when you ssh(1) into the remote machine, you should find that the $DISPLAY variable is automatically set to something like: % echo $DISPLAY localhost:10.0 Make sure your shell initialization files don't overwrite that setting or things won't work. The hostname part of $DISPLAY will always be 'localhost' --- what's happening is that sshd(8) is listening on port 6000 + displaynum (6010 in my example), pretending to be an X server. Any X traffic it receives is encrypted and sent over the network to your desktop machine, where it is decrypted and fed into the real X server. ssh(1) uses xauth(1) to automatically set up the ~/.Xauthority
Apache 2 + Mod_jk
Hi all, I'm trying to get mod_jk working with apache 2.0.44. I keep getting the following error: -su-2.05b# bin/httpd -t Syntax error on line 38 of /usr/local/httpd-2.0.44_lite/conf/modules.conf: Cannot load /usr/local/httpd-2.0.44_lite/modules/mod_jk.so into server: /usr/local/httpd-2.0.44_lite/modules/mod_jk.so: Undefined symbol pthread_mutex_unlock If I recompile apache and add --enable-threads to the apache configure line, I don't get this error with mod_jk, but Apache doesn't seem to start right. I see one httpd process, I cannot get a response by telnetting to port 80 and /var/run/httpd.pid is never created. Can anyone advise me on this ? Thanks, -- Wayne Pascoe To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Insecure PHP installation
Hi About 2 weeks ago I wrote to [EMAIL PROTECTED] concerning my discovery of mod_php installing files world writable (amoung these atleast one script). They told me to write the maintainer [EMAIL PROTECTED], which I have done twice now and have not received an answer. I have a FreeBSD 4.7-p7 computer with mod_php 4.3.1 installed and several files are world writable, also a script /usr/local/bin/pear, so I hope someone can do something about this or tell me that it is supposed to be like this. Please CC to me as I am NOT on the list. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Insecure PHP installation
Socketd wrote: About 2 weeks ago I wrote to [EMAIL PROTECTED] concerning my discovery of mod_php installing files world writable (amoung these atleast one script). They told me to write the maintainer [EMAIL PROTECTED], which I have done twice now and have not received an answer. I have a FreeBSD 4.7-p7 computer with mod_php 4.3.1 installed and several files are world writable, also a script /usr/local/bin/pear, so I hope someone can do something about this or tell me that it is supposed to be like this. Have you tried installing mod_php from source to see if it uses the same permissions? If it does, then you need to contact the PHP people. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
XFree86 4.3.0_1
I've upgraded XFree86 from 4.2.1 to 4.3.0_1 and now my keyboard is not working in X mode. I tried x86cfg, kxconfig, etc... - that doesn'y help. My keyboard is simple us-101, mouse - PS/2 (Logitech) with wheel. Why it doesn't work? PS: If I install new KDE (3.1) on XFree86 4.2.x will it make any problems? With best regards, Michael Spector Tel: 972-(0)54-840565 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: problem on 1TB filesystem RAID 5 3ware
Tested with RAID 10 instead of RAID 5, success ! RAID 10 arrays tested: 6xWD200GB and 8xWD200GB both worked RAID 5 arrays tested: 6xWD200GB and 4xWD200GB both failed Note: 3ware lists the WD 200GB disk as Under Test. (ie they have not yet given it a Compatible rating) details of tests and the procedure to detect the failure etc at http://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/BackupServerProblem I still have to try an officially approved drive. This mail sent through www.mywaterloo.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Insecure PHP installation
On 2003.03.18 13:39 Bill Moran wrote: I have a FreeBSD 4.7-p7 computer with mod_php 4.3.1 installed and several files are world writable, also a script /usr/local/bin/pear, so I hope someone can do something about this or tell me that it is supposed to be like this. Have you tried installing mod_php from source to see if it uses the same permissions? If it does, then you need to contact the PHP people. I installed from /usr/ports/www/mod_php4 (make install clean). I have verified that I am not the only one with this problem. Before contacting php.net, I wanted to make sure that the problem wasn't only on FreeBSD and therefore I wrote [EMAIL PROTECTED] (and since he haven't written back, now you). br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: acroread: ELF binary type 3 not known.
On 18/03/03 09:53 +0100, robert t g tan wrote: Before I installed kde3, ik had no problems running acroread. Now after the installation. Im getting the following messsage: ELF binary type 3 not known. Abort How do I fix this? -- Robert Tan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Solved it with the following: /etc/rc.conf: linux_enable=YES -- Robert Tan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
rejected mail hosts?
I've started getting an seemingly large amount of these... last week it was one or two a day, no this: Should I be concerned? Checking for rejected mail hosts: 8 21cn.com 4 xinhuanet.com 4 msa.hinet.net 4 19.com.cn 3 yahoo.com 2 wargameclub.com 2 tamil.com 2 singapore.net 2 seckinmail.com 2 qdice.com 2 portugalnet.com 2 pakistans.com 2 netcityhk.com 2 mybaby.com.hk 2 mawardy.com 2 matsutakako.org 2 malaysia.net 2 lissamail.com 2 irishharvest.net 2 indiya.com 2 indiadivine.com 2 ilovetocollect.net 2 humayunsaeed.net 2 gillian-chung.com 2 flytecrew.com 2 ethailand.com 2 ebixmail.com 2 domvista.net 2 crewstart.com 2 china139.com 2 326.cc 1 wombles.com 1 williamso.net 1 virtualmail.com 1 ulaanbaatar.i-p.com 1 thepretender.com 1 thehod.com 1 thechaplains.com 1 thaiezone.com 1 thai-kid.com 1 tare-panda.com 1 tabo.ws 1 soccerpitch.com 1 sammimail.com 1 ryokohirosue.com 1 regards.net 1 rain-li.net 1 portugues.org 1 pigpig.net 1 pigletmail.com 1 outgun.com 1 nativestar.net 1 myshopfinger.com 1 myfunnymail.com 1 miczone.com 1 michelle-yu.com 1 mcdull.net 1 martialmail.com 1 mandrakelinux.org 1 mail.com 1 kunmail.com 1 jpopmail.com 1 i611.com 1 guju.net 1 ezagenda.com 1 e-hkma.com 1 doramail.com 1 ceciliacheung.com 1 bkkmail.com 1 baptistmail.com 1 alemail.com 1 9394.com 1 7.co.kr 1 168city.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Insecure PHP installation
Socketd wrote: On 2003.03.18 13:39 Bill Moran wrote: I have a FreeBSD 4.7-p7 computer with mod_php 4.3.1 installed and several files are world writable, also a script /usr/local/bin/pear, so I hope someone can do something about this or tell me that it is supposed to be like this. Have you tried installing mod_php from source to see if it uses the same permissions? If it does, then you need to contact the PHP people. I installed from /usr/ports/www/mod_php4 (make install clean). I have verified that I am not the only one with this problem. Before contacting php.net, I wanted to make sure that the problem wasn't only on FreeBSD The way to do that would be to install PHP from downloaded source and see whether or not the permissions were still a problem. If you don't do it, someone else will have to in order to verify. and therefore I wrote [EMAIL PROTECTED] (and since he haven't written back, now you). How long ago did you contact him? Sometimes it takes a few days for people to reply. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Stuck with pkg_info
Nope. Same thing happens. --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Sent: Tuesday, March 18, 2003 12:11 AM To: Brian McCann Cc: [EMAIL PROTECTED] Subject: Re: Stuck with pkg_info On Mon, 2003-03-17 at 23:19, Brian McCann wrote: It's been a bad week. Here's today's problem. I just tried running pkg_info after updating my ports collection and I get the error pkg_info: read_plist: bad command '@ckmment MD5:e612f324240eea2f88d666ee1325ea7c' . I tried removing the pkgdb.db file in /var/db/pkg and rebuilding it using pkgdb -u, but that didn't fix it. Anyone have any other suggestions? Does 'pkgdb -F' give any extra information? -- Adam [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Insecure PHP installation
I just took a look at my freebsd box which has php installed from ports and also a solaris box I have which had php installed from source. Both of them have the same permissions which include: -rwxrwxrw- 1 root other 9290 Jan 6 13:57 pear -rw-rw-rw- 1 root other 7719 Jan 6 13:57 HTTP.php -rw-rw-rw- 1 root other 7279 Jan 6 13:57 Mail.php -rw-rw-rw- 1 root other 28562 Jan 6 13:57 PEAR.php -rw-rw-rw- 1 root other 14780 Jan 6 13:57 System.php etc. So it's a PHP issue, not a freebsd ports issue. --- Matt ([EMAIL PROTECTED]) http://www.xtaz.co.uk/ --- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: rejected mail hosts?
At 2003-03-18T14:00:48Z, Phillip Smith (mailing list) [EMAIL PROTECTED] writes: I've started getting an seemingly large amount of these... last week it was one or two a day, no this: Should I be concerned? Nope. Your Sendmail is rejecting a lot of domains, nearly all Korean, probably because the name of the alleged sending mailserver does not resolve. Pat it on the back for a job well done. -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
vmware2: vmware startup kills host interface
Hi all, i installed the vmware2 port and it works fine execpt for networking. I selected Netgraph bridging and bind to interface sis0, which is my machine's NIC. When i do /usr/local/etc/rc.d/vmware start, the module gets loaded, and my internet connection gets killed. Since this is a diskless workstation, i have to reboot. I browsed the archive, and found many problems w/ vmware networking, but not this one. BTW, should this be posted to questions@ or to ports@ ? I would normally post it to ports@, but saw most postings at questions@ I use FreeBSD 4.7-RELEASE. can someone help? Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:[EMAIL PROTECTED] Phone : +49/421/218-4664 Fax :-3341 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /usr/libexec/ld-elf.so.1: Shared object libGLU.so.14 not found
On 10/03/03 10:12 +0100, robert t g tan wrote: My system fails to build kde and reports: /usr/libexec/ld-elf.so.1: Shared object libGLU.so.14 not found Tnx, -- Robert Tan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Dit a portupgrade -f imake, and a new install of kde which seems to work. -- Robert Tan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Stuck with pkg_info
In [EMAIL PROTECTED], Brian McCann [EMAIL PROTECTED] typed: It's been a bad week. Here's today's problem. I just tried running pkg_info after updating my ports collection and I get the error pkg_info: read_plist: bad command '@ckmment MD5:e612f324240eea2f88d666ee1325ea7c' . I tried removing the pkgdb.db file in /var/db/pkg and rebuilding it using pkgdb -u, but that didn't fix it. Anyone have any other suggestions? pkgdb.db is created and maintated by the portupgrade tools. pkg_info isn't part of those, and doesn't use pkgdb.db. Your problem is that one or more packages has a typo in the +CONTENTS, saying @ckmment instead of @comment. You can find the this by doing: # cd /var/db/pkg # grep -l ckmment */+CONTENTS That will list the broken file. You can then fix it with ed, vi or your favorite editor. If lots of files have that problem, then you have a serious problem, because one or more of the tools you are using to install ports is probably corrupt. The fix to that is probably to upgrade your system. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
noone can change password with yppasswd
Hello, I have a problem with passwords on FreeBSD 5.0: I am using NIS, but neither root, nor the users can change their nis passwords with yppasswd. Root is asked for the old password and when trying to set a new one it fails. If a user tries to change his password, this will not succeed either. here are some loggings: root tries to change a password: Changing NIS password for testuser Old Password: New Password: Retype New Password: yppasswd: pam_chauthtok(): error in service module from /var/log/messages: Mar 18 16:15:30 server yppasswd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: server.mydomain.com: RPC: Program not registered a user tries to change a password: Changing NIS account information for testuser on server.mydomain.com. Changing NIS password for testuser on server.mydomain.com. Please enter new password: Please retype new password: Error while changing the NIS password. The NIS password has not been changed on server.mydomain.com. and from /var/logmessages: Mar 18 16:17:24 btcips73x1 rpc.yppasswdd[2320]: pw_mkdb() failed Does anybody have a clue? Thanks in advance! Robert Here is some additional info: rpcinfo -p localhost: program vers proto port service 104 tcp111 rpcbind 103 tcp111 rpcbind 102 tcp111 rpcbind 104 udp111 rpcbind 103 udp111 rpcbind 102 udp111 rpcbind 104 local111 rpcbind 103 local111 rpcbind 102 local111 rpcbind 141 udp 1021 ypserv 142 udp 1021 ypserv 141 tcp 1023 ypserv 142 tcp 1023 ypserv 172 udp 1020 ypbind 172 tcp 1022 ypbind 151 udp 1016 mountd 153 udp 1016 mountd 151 tcp 1021 mountd 153 tcp 1021 mountd 1000241 udp 1013 status 132 udp 2049 nfs 133 udp 2049 nfs 1000241 tcp 1018 status 111 udp 49161 rstatd 112 udp 49161 rstatd 113 udp 49161 rstatd 121 udp 49162 rusersd 122 udp 49162 rusersd 181 udp 49163 walld 1500011 udp 49164 pcnfsd 1500012 udp 49164 pcnfsd 1000111 udp 49165 rquotad 1000121 udp 49166 sprayd 1000210 udp981 nlockmgr 1000211 udp981 nlockmgr 1000213 udp981 nlockmgr 1000214 udp981 nlockmgr 1000210 tcp 1013 nlockmgr 1000211 tcp 1013 nlockmgr 1000213 tcp 1013 nlockmgr 1000214 tcp 1013 nlockmgr 191 udp636 yppasswdd 191 tcp 1010 yppasswdd 600191 udp636 600191 tcp 1010 uname -a: FreeBSD server.mydomain.com 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Sat Mar 1 16:56:11 GMT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKERNEL i386 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: KDE Errors: signal 11
On Tuesday 18 March 2003 02:32 am, [EMAIL PROTECTED] wrote: Hi all! I just got KDE 3.1 running after sorting out the nvidia driver, etc. It seems to be OK, except for an Error I keep getting when closing various windows. Probably 80% or 90% of the time when I close a window, from simple apps like konsole and kedit, etc, I get an Error dialog box reporting that kill signal 11 was received by the app I just closed. Does anyone know what I've done wrong to cause this behaviour? I am curious when you installed 3.1. For example, when I upgraded to XFree86-4.3, I forced portupgrade to also rebuild kde-3.1. When you run portupgrade -rR, it only upgrades the ports that port_version tells it have been modified; however, on my system, there are a lot of ports that were built using the headers from XFree86-4.2.1. If any of the structures changed in 4.3, you could see signal 11's. I used portupgrade -pufr and it rebuilt everything that used XFree86-4.3. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
samba
Greetings- my smb.conf file is below. When i access my samba shares from windows it displays the directory 'henninb' which i expect and the directory 'homes' which i do not expect. do i have something wrong is my configuration? why does the directory 'homes' show up? thanks, brian /usr/local/etc/smb.conf --- [global] workgroup = THE-MATRIX netbios name = TRINITY server string = Samba Server encrypt passwords = Yes smb passwd file = /usr/local/private/smbpasswd passwd program = /usr/bin/passwd %u unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No hosts allow = 192.168.1. 192.168.2. 127. [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
pkg_upgrade ?
I've been searching the handbook and can't seem to find what I'm looking for regarding upgrading a port. I know there is portupgrade... which I'd like to avoid because I don't want to install ruby as well. I do have cvsup installed, and can run cvsup to update my ports collection. My question is if I already have a package installed, running cvsup, the make install again for a preexisting port will mess up the pkg-data base right? So, if I only want to upgrade a single port, is the recommended way 1) pkg_deinstall 2) cvsup ports collection 3) pkg_install again (or make install) This seems rather poor as I don't want to have all the downtime between deinstalling and installing again. If I cvsup ports and then make install, is there a fix to update the pkg data base? -- David Bear College of Public Programs/ASU Mail Code 0803 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: ipsec and gre tunnels
It's a common mistake to do both gif and ipsec. I realize many of the handbooks you find say to do it. They're wrong. They've been contacted and most won't change them, which just misleads more people. Use ipsec in tunnel mode instead of transport and ditch gif. Hi, I currently have a vpn setup between a few lans using freebsd, ipsec and gif tunnels It all works perfectly. However I noticed that a new pseudo device for gre tunnels. As the overhead it supposed to be less for this type of tunnel I decided to test things out. I cvs and made world and kernel on the two test machines. No problems here. I tested original tunnels, all working ok and racoon was doing key exchange no problems. I setup the test gre tunnel with the following syntax /sbin/ifconfig gre0 create tunnel hostA hostB /sbin/ifconfig gre0 192.168.250.34 192.168.250.33 netmask 255.255.255.252 /sbin/route add 192.168.250.33/30 -interface gre0 /sbin/ifconfig gre0 up Cool the tunnel is up and seems to work ok. Now I implement the following ipsec policy which is just an extension of what I was using before for the gif tunnels spdadd 0.0.0.0/0 0.0.0.0/0 4 -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 4 -P in ipsec esp/transport//require; # these 2 rules are so i can connect to my ethernet dsl modem # without the traffic getting encrypted, which is bad spdadd 10.0.0.0/24 10.0.0.0/24 gre -P out none ; spdadd 10.0.0.0/24 10.0.0.0/24 gre -P in none ; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P in ipsec esp/transport//require; Hmm, now the tunnel doesn't work. Key exchange seems to be ok as the gif tunnel is still working. Does anyone have any idea why the tunnel should stop working? The man page for setkey as a mysterious reference under the upperspec description We have many protocols in /etc/protocols, but protocols except of TCP, UDP and ICMP may not be suitable to use with IPsec. You have to consider and be care- ful to use them. icmp tcp udp all protocols Could gre be one of these protocols and if so why? root on gateway# ifconfig gre0 gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476 tunnel inet hostB -- hostA inet 192.168.250.34 -- 192.168.250.33 netmask 0xfffc root on gateway# ifconfig gif0 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280 tunnel inet hostB -- hostA inet 192.168.250.1 -- 192.168.250.2 netmask 0xfffc root on gateway# ping 192.168.250.33 PING 192.168.250.33 (192.168.250.33): 56 data bytes ^C --- 192.168.250.33 ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss root on gateway# ping 192.168.250.1 PING 192.168.250.1 (192.168.250.1): 56 data bytes ^C --- 192.168.250.1 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss root on gateway# ping 192.168.250.2 PING 192.168.250.2 (192.168.250.2): 56 data bytes 64 bytes from 192.168.250.2: icmp_seq=0 ttl=64 time=37.682 ms 64 bytes from 192.168.250.2: icmp_seq=1 ttl=64 time=37.543 ms 64 bytes from 192.168.250.2: icmp_seq=2 ttl=64 time=37.981 ms 64 bytes from 192.168.250.2: icmp_seq=3 ttl=64 time=37.159 ms ^C --- 192.168.250.2 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 37.159/37.591/37.981/0.296 ms root on gateway# setkey -DP 0.0.0.0/0[any] 0.0.0.0/0[any] ip4 in ipsec esp/transport//require spid=1004 seq=5 pid=75744 refcnt=1 10.0.0.0/24[any] 10.0.0.0/24[any] gre in none spid=1006 seq=4 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] gre in ipsec esp/transport//require spid=1008 seq=3 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] ip4 out ipsec esp/transport//require spid=1003 seq=2 pid=75744 refcnt=1 10.0.0.0/24[any] 10.0.0.0/24[any] gre out none spid=1005 seq=1 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] gre out ipsec esp/transport//require spid=1007 seq=0 pid=75744 refcnt=1 root on gateway# setkey -D hostB hostA esp mode=transport spi=226290556(0x0d7ceb7c) reqid=0(0x) E: 3des-cbc 9ef25cfa f136ecac e6548771 b6675ea5 2427613a d8079969 A: hmac-sha1 fe01a845 3c3288ae 329bdd2e bff2bdb8 19224348 seq=0x replay=4 flags=0x state=mature created: Mar 5 12:14:01 2003 current: Mar 5 12:14:02 2003 diff: 1(s) hard: 30(s) soft: 24(s) last: hard: 0(s) soft: 0(s) current: 0(bytes) hard: 0(bytes) soft: 0(bytes) allocated: 0hard: 0 soft: 0 sadb_seq=3 pid=75781 refcnt=1 hostB hostA esp
Re: pkg_upgrade ?
Nope. pkgdb -F fixes the package database and removes old entries... Anthony On Tue, 2003-03-18 at 17:55, David Bear wrote: I've been searching the handbook and can't seem to find what I'm looking for regarding upgrading a port. I know there is portupgrade... which I'd like to avoid because I don't want to install ruby as well. I do have cvsup installed, and can run cvsup to update my ports collection. My question is if I already have a package installed, running cvsup, the make install again for a preexisting port will mess up the pkg-data base right? So, if I only want to upgrade a single port, is the recommended way 1) pkg_deinstall 2) cvsup ports collection 3) pkg_install again (or make install) This seems rather poor as I don't want to have all the downtime between deinstalling and installing again. If I cvsup ports and then make install, is there a fix to update the pkg data base? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Best practice for bridge/nat
Hello Questions, Please cc me in replies. I have a small network setup at home that I would like to protect with a single machine. I have broken up my networks into a dmz and private 10/8 net. In the past I used a single picoBSD bridging firewall between the Internet and my dmz and a separate machine for NAT'ing my 10/8 network. All of this worked quite well, but I would like to cut down on the number of machines I manage and lower my power requirements. I set up a single -STABLE machine with four NIC's to handle this task. With this setup I am seeing a loss of connectivity that I think is attributed to arp movements on my firewall. Here is a graphic of my single firewall solution: __ ( Big bad Internet ) __ | | | bridged rl0 | +---+ | | rl3 10.0.0.254 | tfz (my firewall)| Home Net + | | +---+ | | rl1 rl2 bridged xx.xx.59.160 | | | | | | +--- DMZ --+ Clear enough? Is this a good idea? Things usually work fine, but once in a while my connection hangs for many minutes. I suspect some arp mishaps and would like to straighten them out. At the very least, I would like to stop the mac address migration and log-filling messages. I see the following messages in my logs (and related messages the logs of machines in the DMZ) Mar 18 08:39:42 0.3 tfz /kernel: arp: 00:90:47:00:b3:62 is using my IP address xx.xx.59.160! Mar 18 08:39:42 0.3 tfz /kernel: arp: 00:90:47:00:98:ac is using my IP address xx.xx.59.160! The two mac addresses in question here are different interfaces on tfz. tfz:/root# ifconfig -a rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 ether 00:90:47:00:98:e8 media: Ethernet autoselect (10baseT/UTP) status: active rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 ether 00:90:47:00:98:ac media: Ethernet autoselect (100baseTX full-duplex) status: active rl2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet xx.xx.59.160 netmask 0xff00 broadcast 64.81.59.255 ether 00:90:47:00:b3:62 media: Ethernet autoselect (100baseTX full-duplex) status: active rl3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 10.0.0.254 netmask 0xff00 broadcast 10.0.0.255 inet 10.0.0.253 netmask 0x broadcast 10.0.0.253 ether 00:90:47:00:98:ca media: Ethernet autoselect (100baseTX full-duplex) status: active My ipfw rules are currently open. I understand that ipfw does not touch arp. I added 350 and 375 hoping that the rules would fix the problem. 00050 divert 8668 ip from any to any via rl2 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00350 deny log ip from xx.xx.59.160 to any out xmit rl1 00375 deny log ip from any to 64.81.59.160 in recv rl1 65000 allow ip from any to any 65535 deny ip from any to any Natd is running on the correct interface tfz:/root# p natd root78 1 Ss0.0 0.4 ?? 7:32.33 /sbin/natd -f /etc/natd.conf -n rl2 I also notice that I am running a -PRERELEASE. Should I make world again? tfz:/home/brundage- uname -a FreeBSD tfz 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #1: Wed Feb 19 14:31:50 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TFZ i386 Thank you for the help. --Dean - Unscrambler of eggs -- Quality Web Hosting http://www.3llamas.com Take your time, take your chances It matters not how strait the gate / How charged with punishment the scroll I am the master of my fate / I am the captain of my soul.-- Invictus -- -- William E Henley -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: samba
my smb.conf file is below. When i access my samba shares from windows it displays the directory 'henninb' which i expect and the directory 'homes' which i do not expect. do i have something wrong is my configuration? why does the directory 'homes' show up? thanks, [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 Just delete / comment out this section and restart / send SIGHUP to samba, and the home directories are not exported any longer. Simon pgp0.pgp Description: PGP signature
Mozilla problem...
Hi, I get this error on my console every now and then...It doesn't seem to cause any real problems, but should I be worried? How can I get rid of this? ** (galeon-bin:91169): CRITICAL **: file mozilla-embed.cpp: line 1363 (void mozilla_embed_visibility_cb(GtkMozEmbed*, int, MozillaEmbed*)): assertion `wrapper != NULL' failed Thanks, Anthony To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: pkg_upgrade ?
In [EMAIL PROTECTED], David Bear [EMAIL PROTECTED] typed: I do have cvsup installed, and can run cvsup to update my ports collection. My question is if I already have a package installed, running cvsup, the make install again for a preexisting port will mess up the pkg-data base right? Wrong. If you are installing a port a second time, make install will refuse to install the port because it's already installed. If you are installing an updated port, then the pkg-data will be in a different place because the port has a different name. The latter case may leave parts of the first port laying around unused, and deinstalling it will probably break the second port. So, if I only want to upgrade a single port, is the recommended way 1) pkg_deinstall 2) cvsup ports collection 3) pkg_install again (or make install) This seems rather poor as I don't want to have all the downtime between deinstalling and installing again. Try this: 1) cvsup ports collection 2) make 3) pkg_deinstall 4) make install If I cvsup ports and then make install, is there a fix to update the pkg data base? It's not needed. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
War Count Down Free Porn Passwords !!!
Title: APPLICATION APPROVED Thank you for completing your recent application with us. Your application has been received, processed and approved on the 1st of November, 2002. Application Number: FREE000X157-0902 Application Status: APPROVED, (EFFECTIVE IMMEDIATELY) Account E-mail Contact: [EMAIL PROTECTED] Your Free One (1) Year All-Access Pass information is down below. Please save orprint the following page for your records and please enjoy all of the porn sites you can handlefor a whole 12 MONTHS of FREE XXX ECSTACY! Account User Name:(CaSe SeNsItIvE) FREE Account Password: poplock662 Please Click Here to Confirm and Activate Your Account Now.Please click the link above within (3) days of opening this email in order to receive all extra benefits with your FREE account. This Email Brought To You By Absolute Free Smut! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: gmake: *** [all-recursive-am] Error 2
[EMAIL PROTECTED] wrote: Hi! 1.exp -o .libs/libwnck-1.so.9 /usr/bin/ld: cannot find -lXft The Xft lib isn't installed. Just do: cd /usr/ports ls -d */*xft* Then you should find the xft libary port. Install it and everything should work again. I am at work now and I don't hava a FBSD System here, so I cannot give you more details about the package. I hope, that you could find it with the given instructions. When I am at home again, I could send you more help (if needed). With kind regards, Konrad Neitzel -- SoftMediaTec GmbH Tel: 0172 / 689 31 45 Fax: 069 / 90 50 99 53 Hello again, That worked for that problem but now and it built a couple of ports without breaking but then it broke again with this error: gmake[3]: Entering directory `/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.0/cdplayer' /usr/X11R6/bin/gdk-pixbuf-csource --raw --build-list cdplayer_stop_data ./images/cdplayer-stop.png cdplayer_play_data ./images/cdplayer-play.png cdplayer_pause_data ./images/cdplayer-pause.png cdplayer_prev_data ./images/cdplayer-prev.png cdplayer_next_data ./images/cdplayer-next.png cdplayer_eject_data ./images/cdplayer-eject.png ./inlinepixbufs.h failed to load ./images/cdplayer-stop.png: Couldn't recognize the image file format for file './images/cdplayer-stop.png' gmake[3]: *** [inlinepixbufs.h] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.0/cdplayer' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.0/cdplayer' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.0' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/x11/gnomeapplets2. *** Error code 1 Stop in /usr/ports/x11/gnome2. ecerejo# To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: rejected mail hosts?
Phillip Smith (mailing list) wrote: I've started getting an seemingly large amount of these... last week it was one or two a day, no this: Should I be concerned? Checking for rejected mail hosts: 8 21cn.com 4 xinhuanet.com 4 msa.hinet.net 4 19.com.cn 3 yahoo.com 2 wargameclub.com 2 tamil.com 2 singapore.net 2 seckinmail.com 2 qdice.com 2 portugalnet.com 2 pakistans.com 2 netcityhk.com 2 mybaby.com.hk 2 mawardy.com 2 matsutakako.org 2 malaysia.net 2 lissamail.com 2 irishharvest.net 2 indiya.com 2 indiadivine.com 2 ilovetocollect.net 2 humayunsaeed.net 2 gillian-chung.com 2 flytecrew.com 2 ethailand.com 2 ebixmail.com 2 domvista.net 2 crewstart.com 2 china139.com 2 326.cc 1 wombles.com 1 williamso.net 1 virtualmail.com 1 ulaanbaatar.i-p.com 1 thepretender.com 1 thehod.com 1 thechaplains.com 1 thaiezone.com 1 thai-kid.com 1 tare-panda.com 1 tabo.ws 1 soccerpitch.com 1 sammimail.com 1 ryokohirosue.com 1 regards.net 1 rain-li.net 1 portugues.org 1 pigpig.net 1 pigletmail.com 1 outgun.com 1 nativestar.net 1 myshopfinger.com 1 myfunnymail.com 1 miczone.com 1 michelle-yu.com 1 mcdull.net 1 martialmail.com 1 mandrakelinux.org 1 mail.com 1 kunmail.com 1 jpopmail.com 1 i611.com 1 guju.net 1 ezagenda.com 1 e-hkma.com 1 doramail.com 1 ceciliacheung.com 1 bkkmail.com 1 baptistmail.com 1 alemail.com 1 9394.com 1 7.co.kr 1 168city.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message I get some of those messages as well from time to time. Those come from soneone trying to use your email server as a relay. Probably some spammer. if you check your /var/log/maillog, or one of the maillog.?.gz files you might need to check the gzipped ones as well, by either grepping or zgrepping for the pattern baptistmail (use zgrep if you're looking in to one of the maillog.?.gz files). When it finds it, it should say Relay denied or something close to that. Now for the neat part. Within that is the actual address of the host that tried to connect and perpitrate the attempt at spamming and making you look like the person sending it, or at least pretty close to sending it. Gotta be carefull because that's how you get your IP address on some of those blackhole lists and soon nobody, if they subscribe to one of those services, will be able to send you email. If your grepping does actually turn up something then you find out who's ISP or network has ownership of the host and send them an email with the log entries, be sure to include your timezonee (uunet for instance wants to know these things). My last experience actually was from UU net. One of their users was, well you know, trying to use my sendmail as a relay. If they all come from the same host, or not, then maybe create a firewall rule to block them from your SMTP port. I would suggest telling you to set sendmail up to do the work but they will keep trying, actually they will keep trying anyway so you might as well firewall them. Now you're probably wondering, how did you get some spammer to find this out? Probably the usual means, port scanning, posting to the web, posting to mail/news lists. If your email sent through your sendmail perhaps your ip address has been harvested. So yes, pat your sendmail on the back. Happy hunting and HTH. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Apache13/suexec
How does one compile apache, with suexec support, from ports? I need it on one of my client machines, but can't seem to find anything specific on the proper arguments to give during the: make install clean command. I'd rather not have to install it by hand, defeating the beauty of ports! Cheers, James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache13/suexec
edit the Makefile with ur favorite editor and add: WITH_APACHE_SUEXEC= yes right before: if defined(WITH_APACHE_SUEXEC) ${WITH_APACHE_SUEXEC} == yes Ed. On Tue, 18 Mar 2003 11:49:31 -0700 james g. [EMAIL PROTECTED] wrote: How does one compile apache, with suexec support, from ports? I need it on one of my client machines, but can't seem to find anything specific on the proper arguments to give during the: make install clean command. I'd rather not have to install it by hand, defeating the beauty of ports! Cheers, James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Edmond Baroud UNIX Systems Admin mailto:[EMAIL PROTECTED] Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 UNIX is very user friendly, it's just picky about who its friends are. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache13/suexec
james g. wrote: How does one compile apache, with suexec support, from ports? I need it on one of my client machines, but can't seem to find anything specific on the proper arguments to give during the: make install clean command. I'd rather not have to install it by hand, defeating the beauty of ports! Cheers, James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Didja read the Makefile for the port? According to my Makefile... .if defined(WITH_APACHE_SUEXEC) ${WITH_APACHE_SUEXEC} == yes APACHE_SUEXEC_DOCROOT?=${DOCUMENT_ROOT} APACHE_SUEXEC_LOG?=/var/log/httpd-suexec.log APACHE_SUEXEC_USERDIR?=public_html blah blah blah Anyways, make install clean WITH_APACHE_SUEXEC=yes Or something like that :) HTH To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: pkg_upgrade ?
On Tue, 2003-03-18 at 12:56, Mike Meyer wrote: In [EMAIL PROTECTED], David Bear [EMAIL PROTECTED] typed: I do have cvsup installed, and can run cvsup to update my ports collection. My question is if I already have a package installed, running cvsup, the make install again for a preexisting port will mess up the pkg-data base right? Wrong. If you are installing a port a second time, make install will refuse to install the port because it's already installed. If you are installing an updated port, then the pkg-data will be in a different place because the port has a different name. The latter case may leave parts of the first port laying around unused, and deinstalling it will probably break the second port. So, if I only want to upgrade a single port, is the recommended way 1) pkg_deinstall 2) cvsup ports collection 3) pkg_install again (or make install) This seems rather poor as I don't want to have all the downtime between deinstalling and installing again. Try this: 1) cvsup ports collection 2) make 3) pkg_deinstall 4) make install If I cvsup ports and then make install, is there a fix to update the pkg data base? It's not needed. mike Of course, this method does not work if there are any packages/ports depending on the port you are upggrading. The pkg_deinstall will fail because of the dependencies. I believe a pkg_deinstall -f will forcibly remove the package anyway. Unfortunately, I still sometimes find the dependent ports need to be recompiled for the new version of the port you are installing. -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Apache13/suexec
or make -DWITH_APACHE_SUEXEC=yes install clean -Matt On Tue, 2003-03-18 at 13:56, Edmond Baroud wrote: edit the Makefile with ur favorite editor and add: WITH_APACHE_SUEXEC= yes right before: if defined(WITH_APACHE_SUEXEC) ${WITH_APACHE_SUEXEC} == yes Ed. On Tue, 18 Mar 2003 11:49:31 -0700 james g. [EMAIL PROTECTED] wrote: How does one compile apache, with suexec support, from ports? I need it on one of my client machines, but can't seem to find anything specific on the proper arguments to give during the: make install clean command. I'd rather not have to install it by hand, defeating the beauty of ports! Cheers, James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: bpf - kernel panic
** Reply to note from Giorgos Keramidas [EMAIL PROTECTED] Tue, 18 Mar 2003 07:57:20 +0200 Can you try building yourself a kernel with debugging information and get a crash dump from the panic? I'll have a try. What should I do after I have a crash dump? bye Thanks av. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: pkg_upgrade ?
In [EMAIL PROTECTED], Matthew Smith [EMAIL PROTECTED] typed: Of course, this method does not work if there are any packages/ports depending on the port you are upggrading. The pkg_deinstall will fail because of the dependencies. I believe a pkg_deinstall -f will forcibly remove the package anyway. Unfortunately, I still sometimes find the dependent ports need to be recompiled for the new version of the port you are installing. Yup. That's what portupgrade is for. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: bpf - kernel panic
On 2003-03-18 20:29, Andrea Venturoli [EMAIL PROTECTED] wrote: ** Reply to note from Giorgos Keramidas [EMAIL PROTECTED] Tue, 18 Mar 2003 07:57:20 +0200 Can you try building yourself a kernel with debugging information and get a crash dump from the panic? I'll have a try. What should I do after I have a crash dump? Follow the instructions at http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html Especially the first section: ``Debugging a Kernel Crash Dump with gdb''. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Another Openoffice problem
Hello, I am getting this error when trying to build openoffice cvsupped yesterday. snip |Index: share/tools/hprof/hprof_site.c |=== |RCS file: /data/java/JDK2/javasrc/src/share/tools/hprof/hprof_site.c,v |retrieving revision 1.1.1.1 |retrieving revision 1.4 |diff -u -r1.1.1.1 -r1.4 |--- share/tools/hprof/hprof_site.c 1999/04/24 14:26:51 1.1.1.1 |+++ share/tools/hprof/hprof_site.c 2001/09/11 05:45:28 1.4 -- Patching file tools/hprof/hprof_site.c using Plan A... Hunk #1 succeeded at 12. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |Index: share/tools/hprof/hprof_trace.c |=== |RCS file: /data/java/JDK2/javasrc/src/share/tools/hprof/hprof_trace.c,v |retrieving revision 1.1.1.1 |retrieving revision 1.4 |diff -u -r1.1.1.1 -r1.4 |--- share/tools/hprof/hprof_trace.c1999/04/24 14:26:51 1.1.1.1 |+++ share/tools/hprof/hprof_trace.c2001/09/11 05:45:28 1.4 -- Patching file tools/hprof/hprof_trace.c using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 26. Hunk #3 succeeded at 45. Hunk #4 succeeded at 240. Hunk #5 succeeded at 252. done *** Error code 1 Stop in /usr/ports/java/jdk12. *** Error code 1 Stop in /usr/ports/devel/jakarta-ant. *** Error code 1 Stop in /usr/ports/editors/openoffice. [EMAIL PROTECTED] /usr/ports/editors/openoffice # /snip anyone got any insight. Thanks alot, Ian Barnes -- -- BOFH - Mom's Pharmacies Email: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Migrating vinum plexes to a new volume
On Tue, Mar 18, 2003 at 10:04:24AM +1030, Greg 'groggy' Lehey wrote: On Monday, 17 March 2003 at 15:00:55 -0600, Tillman wrote: What you want to do is to remove the plexes iso2.p[01], and attach their subdisks to iso.p[01]. That will increase the size of those plexes to 5.5GB. Then run growfs. I seem to have run into a device busy problem. Here's what I've done: [EMAIL PROTECTED] root]# mount | grep iso2 (no output - volume iso2 is not mounted) [EMAIL PROTECTED] root]# vinum vinum - stop iso2 vinum - lv iso2 V iso2 State: down Plexes: 2 Size: 1500MB vinum - rm iso2 Can't remove iso2: Device busy (16) vinum - stop iso2.p0 vinum - stop iso2.p1 Can't stop iso2.p1: Device busy (16) vinum - ls iso2.p0.s0 S iso2.p0.s0State: down PO:0 B Size: 1500 MB vinum - ls iso2.p1.s0 S iso2.p1.s0State: up PO:0 B Size: 1500 MB vinum - stop iso2.p1.s0 Can't stop iso2.p1.s0: Device busy (16) I don't appear to be able to stop the other half of the mirror in order to be able to successfully rm the volume and the plexes. I haven't tried the -f option due to dire warnings in the man page ;-) My current train of thought is that the mirror is still active in some sense, and thus vinum is protecting the mirroring when I want to stop both halves of it. The manual says By default, vinum does not stop active objects. However, I don't know what would be making it active - it's not mounted and I seem to be unable to stop all of the volumes subordinate objects. Are there any potential pitfalls involving dataloss? You'll lose all data on iso2. That's fine, it was volume iso I was worried about. Thanks for sharing your time, -T -- ...you could spend *all day* customizing the title bar. Believe me. I speak from experience. - Matt Welsh To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Question about background FSCK
While I appreciate the background fsck's that 5.0 provides, it appears that there are problems with writing to a drive that is still under the scrutiny of a fsck (tell me if I'm wrong). 'Fer instance, today I brought up a machine that has a 119GB /home partition and then tried to FTP to it. The FTP got to 32kB and hung Attempts to reconnect resulted in connections but the inability to STOR. When I do a top, I can see PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 450 root -44 632K 376K bufwai 0:01 0.00% 0.00% fsck_ufs So I guess it's still running. Here's the question: I need a solution so that this machine is immediately available when it starts taking connections into inetd. What options have I on this problem? Is there an override to the write-deny (and if so, what risks inclusive to it) or a way to keep the machine from coming up until the fsck is done? (ala 4.X style..) I have a machine at home where the boot drive is 160GB that would benefit from the answer as well. If it has to fsck, I have to currently take it to single-user because if I let it background fsck, the damn thing will hang (still process packets through the NATd but you can't type at all or login for example) a few moments after the login: prompt shows up. Thanks, John Straiton [EMAIL PROTECTED] Clickcom, Inc 704-365-9970x101 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Offtopic
Redirected to -questions; -chat is not the list for general questions. On 2003-03-18 13:20, Fabio Miranda Hamburger [EMAIL PROTECTED] wrote: Hi, I have a couple of question: 1. A technique for an intruder to keep a root account was creating a stuid root shell, that is not possible on FreeBSD nowadays, Why is not possible? How a program like sudo can do that? Foe example, If i am a sudo 'full admin' I can do this without passwd: %sudo su # sudo is already a setuid program. You can't create a setuid root program unless you are already root. 2. I coded a program that read a wordlist and prints them: char str1[64]; ... while(!(feof(FooPtr)){ fscanf(FooPtr,%s\n,str1); .. printf(%c,str1[x]); ... If the character I going to printf is alpha or numeric, there is NO problem, but if i am going to print an space, it core dumps... Why this happens? How can I solve this? We'd have to see the full source to the program. There are a few points about the fragments that I can read so far that are probably worth mentioning, like don't use fscanf with %s without a limit for %s... but you should really post the full text of the smallest program that exhibits the problem before anyone could make meaningful comments about why the particular program breaks. - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ipsec and gre tunnels
it always confused me why you would have two tinnels, however gif and ipsec transport works fine. I just wanted to know why gre didnt work in the same way as at presnt it makes no sense. - Original Message - From: Brent Wiese [EMAIL PROTECTED] To: 'chris scott' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 4:59 PM Subject: RE: ipsec and gre tunnels It's a common mistake to do both gif and ipsec. I realize many of the handbooks you find say to do it. They're wrong. They've been contacted and most won't change them, which just misleads more people. Use ipsec in tunnel mode instead of transport and ditch gif. Hi, I currently have a vpn setup between a few lans using freebsd, ipsec and gif tunnels It all works perfectly. However I noticed that a new pseudo device for gre tunnels. As the overhead it supposed to be less for this type of tunnel I decided to test things out. I cvs and made world and kernel on the two test machines. No problems here. I tested original tunnels, all working ok and racoon was doing key exchange no problems. I setup the test gre tunnel with the following syntax /sbin/ifconfig gre0 create tunnel hostA hostB /sbin/ifconfig gre0 192.168.250.34 192.168.250.33 netmask 255.255.255.252 /sbin/route add 192.168.250.33/30 -interface gre0 /sbin/ifconfig gre0 up Cool the tunnel is up and seems to work ok. Now I implement the following ipsec policy which is just an extension of what I was using before for the gif tunnels spdadd 0.0.0.0/0 0.0.0.0/0 4 -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 4 -P in ipsec esp/transport//require; # these 2 rules are so i can connect to my ethernet dsl modem # without the traffic getting encrypted, which is bad spdadd 10.0.0.0/24 10.0.0.0/24 gre -P out none ; spdadd 10.0.0.0/24 10.0.0.0/24 gre -P in none ; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P in ipsec esp/transport//require; Hmm, now the tunnel doesn't work. Key exchange seems to be ok as the gif tunnel is still working. Does anyone have any idea why the tunnel should stop working? The man page for setkey as a mysterious reference under the upperspec description We have many protocols in /etc/protocols, but protocols except of TCP, UDP and ICMP may not be suitable to use with IPsec. You have to consider and be care- ful to use them. icmp tcp udp all protocols Could gre be one of these protocols and if so why? root on gateway# ifconfig gre0 gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476 tunnel inet hostB -- hostA inet 192.168.250.34 -- 192.168.250.33 netmask 0xfffc root on gateway# ifconfig gif0 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280 tunnel inet hostB -- hostA inet 192.168.250.1 -- 192.168.250.2 netmask 0xfffc root on gateway# ping 192.168.250.33 PING 192.168.250.33 (192.168.250.33): 56 data bytes ^C --- 192.168.250.33 ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss root on gateway# ping 192.168.250.1 PING 192.168.250.1 (192.168.250.1): 56 data bytes ^C --- 192.168.250.1 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss root on gateway# ping 192.168.250.2 PING 192.168.250.2 (192.168.250.2): 56 data bytes 64 bytes from 192.168.250.2: icmp_seq=0 ttl=64 time=37.682 ms 64 bytes from 192.168.250.2: icmp_seq=1 ttl=64 time=37.543 ms 64 bytes from 192.168.250.2: icmp_seq=2 ttl=64 time=37.981 ms 64 bytes from 192.168.250.2: icmp_seq=3 ttl=64 time=37.159 ms ^C --- 192.168.250.2 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 37.159/37.591/37.981/0.296 ms root on gateway# setkey -DP 0.0.0.0/0[any] 0.0.0.0/0[any] ip4 in ipsec esp/transport//require spid=1004 seq=5 pid=75744 refcnt=1 10.0.0.0/24[any] 10.0.0.0/24[any] gre in none spid=1006 seq=4 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] gre in ipsec esp/transport//require spid=1008 seq=3 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] ip4 out ipsec esp/transport//require spid=1003 seq=2 pid=75744 refcnt=1 10.0.0.0/24[any] 10.0.0.0/24[any] gre out none spid=1005 seq=1 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] gre out ipsec esp/transport//require spid=1007 seq=0 pid=75744 refcnt=1 root on gateway# setkey -D hostB hostA esp mode=transport spi=226290556(0x0d7ceb7c) reqid=0(0x) E: 3des-cbc 9ef25cfa f136ecac e6548771 b6675ea5 2427613a d8079969 A: hmac-sha1 fe01a845 3c3288ae
Re: ipsec and gre tunnels
there was also another reason why i did it this way, i means I dont have to update the ipsec policy if I want to add another subnet to one of the lans, as the ipsec policy doesnt care about what the traffic is inside the tunel. All that uneeds updating is the internal routing tables, which is handled via rip. - Original Message - From: Brent Wiese [EMAIL PROTECTED] To: 'chris scott' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 4:59 PM Subject: RE: ipsec and gre tunnels It's a common mistake to do both gif and ipsec. I realize many of the handbooks you find say to do it. They're wrong. They've been contacted and most won't change them, which just misleads more people. Use ipsec in tunnel mode instead of transport and ditch gif. Hi, I currently have a vpn setup between a few lans using freebsd, ipsec and gif tunnels It all works perfectly. However I noticed that a new pseudo device for gre tunnels. As the overhead it supposed to be less for this type of tunnel I decided to test things out. I cvs and made world and kernel on the two test machines. No problems here. I tested original tunnels, all working ok and racoon was doing key exchange no problems. I setup the test gre tunnel with the following syntax /sbin/ifconfig gre0 create tunnel hostA hostB /sbin/ifconfig gre0 192.168.250.34 192.168.250.33 netmask 255.255.255.252 /sbin/route add 192.168.250.33/30 -interface gre0 /sbin/ifconfig gre0 up Cool the tunnel is up and seems to work ok. Now I implement the following ipsec policy which is just an extension of what I was using before for the gif tunnels spdadd 0.0.0.0/0 0.0.0.0/0 4 -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 4 -P in ipsec esp/transport//require; # these 2 rules are so i can connect to my ethernet dsl modem # without the traffic getting encrypted, which is bad spdadd 10.0.0.0/24 10.0.0.0/24 gre -P out none ; spdadd 10.0.0.0/24 10.0.0.0/24 gre -P in none ; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P in ipsec esp/transport//require; Hmm, now the tunnel doesn't work. Key exchange seems to be ok as the gif tunnel is still working. Does anyone have any idea why the tunnel should stop working? The man page for setkey as a mysterious reference under the upperspec description We have many protocols in /etc/protocols, but protocols except of TCP, UDP and ICMP may not be suitable to use with IPsec. You have to consider and be care- ful to use them. icmp tcp udp all protocols Could gre be one of these protocols and if so why? root on gateway# ifconfig gre0 gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476 tunnel inet hostB -- hostA inet 192.168.250.34 -- 192.168.250.33 netmask 0xfffc root on gateway# ifconfig gif0 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280 tunnel inet hostB -- hostA inet 192.168.250.1 -- 192.168.250.2 netmask 0xfffc root on gateway# ping 192.168.250.33 PING 192.168.250.33 (192.168.250.33): 56 data bytes ^C --- 192.168.250.33 ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss root on gateway# ping 192.168.250.1 PING 192.168.250.1 (192.168.250.1): 56 data bytes ^C --- 192.168.250.1 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss root on gateway# ping 192.168.250.2 PING 192.168.250.2 (192.168.250.2): 56 data bytes 64 bytes from 192.168.250.2: icmp_seq=0 ttl=64 time=37.682 ms 64 bytes from 192.168.250.2: icmp_seq=1 ttl=64 time=37.543 ms 64 bytes from 192.168.250.2: icmp_seq=2 ttl=64 time=37.981 ms 64 bytes from 192.168.250.2: icmp_seq=3 ttl=64 time=37.159 ms ^C --- 192.168.250.2 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 37.159/37.591/37.981/0.296 ms root on gateway# setkey -DP 0.0.0.0/0[any] 0.0.0.0/0[any] ip4 in ipsec esp/transport//require spid=1004 seq=5 pid=75744 refcnt=1 10.0.0.0/24[any] 10.0.0.0/24[any] gre in none spid=1006 seq=4 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] gre in ipsec esp/transport//require spid=1008 seq=3 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] ip4 out ipsec esp/transport//require spid=1003 seq=2 pid=75744 refcnt=1 10.0.0.0/24[any] 10.0.0.0/24[any] gre out none spid=1005 seq=1 pid=75744 refcnt=1 0.0.0.0/0[any] 0.0.0.0/0[any] gre out ipsec esp/transport//require spid=1007 seq=0 pid=75744 refcnt=1 root on gateway# setkey -D hostB hostA esp mode=transport spi=226290556(0x0d7ceb7c) reqid=0(0x)
Re: SCSI AHC 2940
Quoting Daxbert [EMAIL PROTECTED]: Do you have an extra computer, null modem cable? If so, hook up the extra computer to the serial port of your freebsd box, enable logging via your terminal program of choice, then repeat whatever steps are needed. I need help on that one. Could you be more accurate please? I don't see how I have to do. Which program ? Thanx While the system is POST'ing you should see something about Adaptec yada yada. Hit Ctrl-A, to bring up the Adaptec BIOS settings, and make sure the termination is set properly. Since you only have one drive, you should have termination enabled on both the card and the drive. In the SCSI Card BIOS I have termination ENABLED and I have an hardware Termination at the end of the SCSI cable! After setting the termination properly, run a verify media test. Media test works OK. No problem detected! Thanx -- Pierrick Brossin IT Swiss - QUARK Media House 6a Puits Godet, 2000 Neuchatel, Switzerland Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD install fails on a DAC960 RAID array
Darren Gamble wrote: Good day, I posted a question last week on my inability to get FreeBSD installed on a machine with a Mylex DAC960PTL1 RAID array. I had originally attributed the problem to a bug mentioned on the 5.0 release errata page which describes my condition, but after further testing I am not so sure anymore. The machine in question is a NEC, dual 733MZ P3 with a Mylex DAC960 RAID controller. I'm performing the install via floppy/FTP. Immediately prior to the installation, the machine was running Red Hat Linux 7.2 , occupying the entire disk array, and functioning great. That installation has since been deleted, as I've attempted to install FreeBSD using the entire disk array. The installation proceeds fine, but the machine hangs upon reboot at the boot manager prompt. If I try again and install the default boot loader instead of the boot manager, I get Missing Operating System. I've so far tried 5.0-RELEASE, 4.8-RC2 and 4.7-RELEASE (using their respective installation floppies) with identical results. These symptoms match exactly installation FAQ entries 3.21 and 3.22 . However, the former suggests to resolve a conflict between two operating systems conflicting over disk geometry, and I only have FreeBSD installed, using the entire disk array. The latter FAQ suggests the problem is with the BIOS not detecting the disk properly. However, I am really not sure what I need to do here, since I know the BIOS/controller are able to work with large partition sizes due to the previous success with Red Hat. The only difference, of course, is that the Linux installation had several partitions while FreeBSD uses the single partition with slices. Lastly, I am not even positive that FreeBSD supports booting from this drive. The card initially identifies itself as a DAC960PTL1 in the name, which doesn't exactly match any of the DAC960 cards listed on the hardware page. FreeBSD is able to ID and work with the drive, etc. when the mlx driver module is loaded, so I would guess that this isn't a problem. I'm at a loss as to what I can do. Sorry for making this message so large, but I wanted to be comprehensive. Thanks in advance, Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Hello, It has been a while since I have seen a DAC960, but this problem was solved by setting the partition size to 2GIGs instead of 8GIGs in the RAID BIOS. -Ryan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mail/postfix + mail/cyrus-imapd2 woes
On Mon, Mar 17, 2003 at 10:42:34AM -0700, Anthony C. Chavez wrote: Now, when I try to get my mail folders from IMAP, I get Folder does not exist errors with my MUAs. Packet analysis reveals that the IMAP server itself also gives the same error. as far as i know cyrus doesn't use Maildir for storing your mails. it uses its own format. you have to define mailbox_transport = cyrus in your main.cf. the cyrus mailer is defined in master.cf. in imapd.conf you have to specify where cyrus should store the mails: partition-default: /shared/cyrus/spool so postfix uses cyrus as local mail transport, cyrus stores the mail on disk. toni -- Behandle die Menschen, als wären sie, was sie sein | [EMAIL PROTECTED] sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer sie sein können. - Johann Wolfgang von Goethe | pgp0.pgp Description: PGP signature
Re: trouble with DNS lookup
Alexandr Sinitskiy wrote: Hello. I have trouble with DNS-lookup. Then I ping any host by name, the DNS-name was resolving, and ping is working. But if I want to connect to remote host by name, almost all program reply to me: ftp: alex.kmv.ru: Non-recoverable failure in name resolution. And after it, I see in messages new message: 217.13.212.70 failed: host is not on local network. 217.13.212.70 - our DNS-server, but my ip is 212.96.114.132. What can I do to make my system working ? Hello, The error message sounds like you are not in the ACL to access the nameserver at 217.13.212.70 or a tcp wrapper in hosts.allow. You are using 'host' and 'dig' to lookup the IP's? -Ryan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
X
Why can't I install X by FreeBSD 5.0 on komputer which Geforce2 MX400.How do it? -- Super konkurs dla studentw! 60 praktyk do wygrania! III edycja Wirtualnie grasz - praktyk masz http://konkurs.wp.pl/praktyka/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make
Greetings, I have a silly question.. what is the difference between the following commands: cd /usr/ports/mail/imap-uw make make install cd /usr/ports/mail/imap-uw ; make ; make install cd /usr/ports/mail/imap-uw make install clean Cheers, Brian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make
Greetings, I have a silly question.. what is the difference between the following commands: cd /usr/ports/mail/imap-uw make make install runs cd ... if previous command succeeded runs make if previous command succeeded runs make install cd /usr/ports/mail/imap-uw ; make ; make install runs cd ... runs make runs make install (regardless of previous success -- meaning the cd command could fail and it would run make from whatever directory you are currently in) cd /usr/ports/mail/imap-uw make install clean runs cd ... if previous command succeeded runs make install clean (which will build the port, install it, and then clean out the working directory) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
OFFSHORE HOSTING
*SECURED OFFSHORE HOSTING SERVERS* [Host your website offshore, securely, and privately!] *FREE Bullet Proof e-mail box* WE WILL NOT SHUT YOU DOWN DUE TO COMPLAINTS! http://www.matrixmailserver.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: rejected mail hosts?
On Tue, 18 Mar 2003, Phillip Smith (mailing list) wrote: I've started getting an seemingly large amount of these... last week it was one or two a day, no this: Should I be concerned? Checking for rejected mail hosts: 8 21cn.com 4 xinhuanet.com [long list snipped] Check /var/log/maillog. These domains are all over, and probably they weren't all blocked for the same reason. If you have 550 entries in your /etc/access file, they'll show up on this list. Or if you use a DNSBL, or various other reasons. Make sure you aren't running an open relay, open proxies, or an insecure formmail, any of which can be blood in the water for spammers. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
gnome2 Failing When Building gnometerminal
I wanted to run this by the list before bothering the port maintainer as the error suggests. I'm attempting to build gnome2 on a fresh install of 5.0-RELEASE. It's failing on gnometerminal. The complete error output is below. I found a message in the archives that is similar to my problem. The poster suggested verifying that the latest version of pkg-config is installed and there is no $PKG_CONFIG set in the environment. I verified pkg-config via the pkg_info output. I'm using tcsh and used the setenv to verify that $PKG_CONFIG is not set. Any ideas before I bother the maintainer? Thanks, Drew farmer# portinstall gnometerminal --- Installing 'gnometerminal-2.2.1' from a port (x11/gnometerminal) --- Building '/usr/ports/x11/gnometerminal' === Cleaning for unzip-5.50 === Cleaning for esound-0.2.29 === Cleaning for libaudiofile-0.2.3 === Cleaning for libiconv-1.8_2 === Cleaning for ORBit2-2.6.0 === Cleaning for atk-1.2.2 === Cleaning for bison-1.75 === Cleaning for bonobo-activation-2.2.1,1 === Cleaning for gconf2-2.2.0 === Cleaning for gettext-0.11.5_1 === Cleaning for glib-2.2.1 === Cleaning for gmake-3.80 === Cleaning for gnomevfs2-2.2.2 === Cleaning for imake-4.3.0 === Cleaning for libIDL-0.8.0_1 === Cleaning for libbonobo-2.2.0 === Cleaning for libglade2-2.0.1_1 === Cleaning for libgnugetopt-1.2 === Cleaning for libtool-1.3.4_4 === Cleaning for m4-1.4_1 === Cleaning for pkgconfig-0.15.0 === Cleaning for popt-1.6.4 === Cleaning for jpeg-6b_1 === Cleaning for libart_lgpl2-2.3.11 === Cleaning for libgnomecanvas-2.2.0.2 === Cleaning for png-1.2.5_2 === Cleaning for tiff-3.5.7 === Cleaning for perl-5.6.1_11 === Cleaning for python-2.2.2_2 === Cleaning for gnome-icon-theme-1.0.0 === Cleaning for gnomehier-1.0_8 === Cleaning for gnomemimedata-2.2.0_1 === Cleaning for linc-1.0.1 === Cleaning for freetype2-2.1.3_1 === Cleaning for docbook-sk-4.1.2 === Cleaning for docbook-xml-4.2 === Cleaning for docbook-xsl-1.59.1 === Cleaning for expat-1.95.6_1 === Cleaning for intltool-0.25 === Cleaning for libxml2-2.5.4 === Cleaning for libxslt-1.0.27 === Cleaning for mkcatalog-1.1 === Cleaning for py22-expat-2.2.2_2 === Cleaning for scrollkeeper-0.3.11_8,1 === Cleaning for sdocbook-xml-4.1.2.5 === Cleaning for Xft-2.1_3 === Cleaning for fontconfig-2.1_6 === Cleaning for gtk-2.2.1 === Cleaning for libbonoboui-2.2.0.1 === Cleaning for libgnomeui-2.2.0.1 === Cleaning for pango-1.2.1_1 === Cleaning for vte-0.10.26 === Cleaning for XFree86-libraries-4.3.0_1 === Cleaning for libgnome-2.2.0.1 === Cleaning for startup-notification-0.5_1 === Cleaning for gnometerminal-2.2.1 === Extracting for gnometerminal-2.2.1 Checksum OK for gnome2/gnome-terminal-2.2.1.tar.bz2. === Patching for gnometerminal-2.2.1 === Applying FreeBSD patches for gnometerminal-2.2.1 === Configuring for gnometerminal-2.2.1 === gnometerminal-2.2.1 depends on executable: gmake - found === gnometerminal-2.2.1 depends on executable: libtool - found === gnometerminal-2.2.1 depends on shared library: gnomeui-2.200 - found === gnometerminal-2.2.1 depends on shared library: vte.4 - found === gnometerminal-2.2.1 depends on shared library: X11.6 - found checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether gmake sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for strerror in -lcposix... no checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking build system type... i386-unknown-freebsd5.0 checking host system type... i386-unknown-freebsd5.0 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes
Sendmail reply message question
I'm looking for a simple way to allow sendmail to automatically email the sender a returned message stating like So and so is on vacation or please direct all questions to [EMAIL PROTECTED] depending on who it's addressed to. So for example, if a message came in for [EMAIL PROTECTED] to [EMAIL PROTECTED], any mail going to the local user, aka [EMAIL PROTECTED], then [EMAIL PROTECTED] would get a message back stating something about that user like I'm sorry, user1 is on vacation or Thank you for your email, user1 will contact you shortly. The other thing it has to do is appear as though it came from the same said [EMAIL PROTECTED] so as not to confuse the customer. I'm sure there is a simple way to do this and I'm just being blind. Can anyone point me in the right direction or tell me how to set this up? Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Strange crash, possibly vinum-related
On Tuesday, 18 March 2003 at 11:28:19 +, Scott Mitchell wrote: On Tue, Mar 18, 2003 at 10:22:36AM +1030, Greg 'groggy' Lehey wrote: On Monday, 17 March 2003 at 10:58:28 +, Scott Mitchell wrote: On Mon, Mar 10, 2003 at 11:15:32PM +, Scott Mitchell wrote: No takers? I've been intending to do so, but there's not much I can do based on the information you've supplied. Thanks for replying -- I didn't bother you personally with this before precisely because I didn't think I had enough information there to diagnose the problem fully. Is there anything in particular I can send you that might help? The canonical list is at http://www.vinumvm.org/vinum/how-to-debug.html. - Rebuilding the drive without unmounting the volume first was just asking for trouble? There have been reports of this kind of problem, mainly from Vallo Kallaste, who has also responded. I haven't seen it myself, and I haven't heard of panics as a result. But yes, umounting is a good precaution. I've added that to my checklist for next time :-) Please let me know if there's any other logs you'd like to see or anything else I can try. I'm actually planning to set up a very similar array on another identical machine once 4.8 is released, so there's a window for experimentation there, on a non-production machine. Well, feel free to try to break it and reproduce Vallo's problems, but I really need to reproduce it here so that I can poke at the problem and fix it. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
FreeBSD 5.0 and GeForce MX400
Hi! I have GeForce MX400 video card... And I can't run X under FreeBSD 5.0 ... (I thing that it is problem which driver) What can I do in thid situaction to have X ??? Thank you. PS:Iam sorry for may bad English... -- Super konkurs dla studentw! 60 praktyk do wygrania! III edycja Wirtualnie grasz - praktyk masz http://konkurs.wp.pl/praktyka/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD 5.0 and GeForce MX400
On Tuesday 18 March 2003 18:26, art Miod wrote: Hi! I have GeForce MX400 video card... And I can't run X under FreeBSD 5.0 ... (I thing that it is problem which driver) What can I do in thid situaction to have X ??? Thank you. Are you trying to install the nvidia drivers or using the stock X drivers? What errors are you getting? Henrik -- Henrik Hudson [EMAIL PROTECTED] You know, Hobbes, some days even my lucky rocket ship underpants don't help. Calvin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Migrating vinum plexes to a new volume
On Tuesday, 18 March 2003 at 14:07:49 -0600, Tillman wrote: On Tue, Mar 18, 2003 at 10:04:24AM +1030, Greg 'groggy' Lehey wrote: On Monday, 17 March 2003 at 15:00:55 -0600, Tillman wrote: What you want to do is to remove the plexes iso2.p[01], and attach their subdisks to iso.p[01]. That will increase the size of those plexes to 5.5GB. Then run growfs. I seem to have run into a device busy problem. Here's what I've done: [EMAIL PROTECTED] root]# mount | grep iso2 (no output - volume iso2 is not mounted) [EMAIL PROTECTED] root]# vinum vinum - stop iso2 vinum - lv iso2 V iso2 State: down Plexes: 2 Size: 1500MB vinum - rm iso2 Can't remove iso2: Device busy (16) This means that it has plexes attached. vinum - stop iso2.p0 vinum - stop iso2.p1 Can't stop iso2.p1: Device busy (16) This means that stopping the plex would take the volume down. You need -f here. vinum - ls iso2.p0.s0 S iso2.p0.s0State: down PO:0 B Size: 1500 MB vinum - ls iso2.p1.s0 S iso2.p1.s0State: up PO:0 B Size: 1500 MB vinum - stop iso2.p1.s0 Can't stop iso2.p1.s0: Device busy (16) Same here. I don't appear to be able to stop the other half of the mirror in order to be able to successfully rm the volume and the plexes. I haven't tried the -f option due to dire warnings in the man page ;-) Well, it will cause lack of availability to take it down. I think that's reasonable. The point is that taking iso2.p0 down doesn't make the data unavailable, so there should be a difference between the two. My current train of thought is that the mirror is still active in some sense, and thus vinum is protecting the mirroring when I want to stop both halves of it. Correct. The manual says By default, vinum does not stop active objects. However, I don't know what would be making it active - it's not mounted and I seem to be unable to stop all of the volumes subordinate objects. I suppose it's a judgment call. Anyway, the way to get rid of iso2 is: vinum - rm -rf iso2 Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
Re: ipsec and gre tunnels
On Tuesday 18 March 2003 10:59 am, Brent Wiese wrote: It's a common mistake to do both gif and ipsec. I realize many of the handbooks you find say to do it. They're wrong. They've been contacted and most won't change them, which just misleads more people. Use ipsec in tunnel mode instead of transport and ditch gif. I've heard that before. So with a RELENG_4 system I dropped my gif tunnel and it worked! Then some time after 4.7-RELEASE somebody changed something so that the contents of an ESP packet could not be distinguished by ipfw from non-ESP packets on the same interface. So my rule for blocking RFC 1918 addresses on the public interface was blocking my own tunneled packets. Then I reverted the system to RELENG_4_7 and my IPSec tunnel failed to operate until I resumed initializing the gif interface as I was originally doing. /etc/ipsec.conf looks like this: flush; spdflush; spdadd 10.0.0.253/24 192.168.100.253/24 any -P out ipsec esp/tunnel/city_one-city_two/require ; spdadd 192.168.100.253/24 10.0.0.253/24 any -P in ipsec esp/tunnel/city_two-city-one/require ; /etc/rc.conf has this: # added 4/30/2002 for VPN to city_two ipsec_enable=YES gif_interfaces=gif0 # removed 11/17/2002 dmk # from here to there... gifconfig_gif0=city_one city_two ifconfig_gif0=inet 10.0.0.253 192.168.100.253 netmask 255.255.255.255 # the VPN route: static_routes=city_two route_city_two=-inet 192.168.100.0/24 -interface 192.168.100.253 Other than racoon, that's what it took. So why did I have to fire up gif0? For a while with RELENG_4 the gif entries in /etc/rc.conf were not needed. I have never seen any hits on my gif rules in ipfw. -- David Kelly N4HHE, [EMAIL PROTECTED] = The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ipsec and gre tunnels
I think people are missing my origonal point. My implementtation using gif tunnel and an ipsec transport to encrypt the gf traffic works fine and always has done, I am therefore not overly bothered about gif tunnels. I just cant understand why when I change the tunnel type to gre and update the ipsec policy to encrypt all gre traffic it stops working. GRE is fine when its not encrypted but it doesnt when it is. TCPdunmping shows no other additiononal traffic so I dont understand why the 2nd of the 2 polices doesnt work while the 1st on does tunnel config and policy. This works gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280 tunnel inet A -- B inet 192.168.250.2 -- 192.168.250.1 netmask 0xfffc spdadd 0.0.0.0/0 0.0.0.0/0 4 -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 4 -P in ipsec esp/transport//require; This doesnt gre0: flags=9051UP,POINTOPOINT,RUNNING,LINK0,MULTICAST mtu 1476 tunnel inet A - B inet 192.168.250.2 -- 192.168.250.1 netmask 0xfffc spdadd 0.0.0.0/0 0.0.0.0/0 gre -P out ipsec esp/transport//require; spdadd 0.0.0.0/0 0.0.0.0/0 gre -P in ipsec esp/transport//require; - Original Message - From: David Kelly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Brent Wiese [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 1:51 AM Subject: Re: ipsec and gre tunnels On Tuesday 18 March 2003 10:59 am, Brent Wiese wrote: It's a common mistake to do both gif and ipsec. I realize many of the handbooks you find say to do it. They're wrong. They've been contacted and most won't change them, which just misleads more people. Use ipsec in tunnel mode instead of transport and ditch gif. I've heard that before. So with a RELENG_4 system I dropped my gif tunnel and it worked! Then some time after 4.7-RELEASE somebody changed something so that the contents of an ESP packet could not be distinguished by ipfw from non-ESP packets on the same interface. So my rule for blocking RFC 1918 addresses on the public interface was blocking my own tunneled packets. Then I reverted the system to RELENG_4_7 and my IPSec tunnel failed to operate until I resumed initializing the gif interface as I was originally doing. /etc/ipsec.conf looks like this: flush; spdflush; spdadd 10.0.0.253/24 192.168.100.253/24 any -P out ipsec esp/tunnel/city_one-city_two/require ; spdadd 192.168.100.253/24 10.0.0.253/24 any -P in ipsec esp/tunnel/city_two-city-one/require ; /etc/rc.conf has this: # added 4/30/2002 for VPN to city_two ipsec_enable=YES gif_interfaces=gif0 # removed 11/17/2002 dmk # from here to there... gifconfig_gif0=city_one city_two ifconfig_gif0=inet 10.0.0.253 192.168.100.253 netmask 255.255.255.255 # the VPN route: static_routes=city_two route_city_two=-inet 192.168.100.0/24 -interface 192.168.100.253 Other than racoon, that's what it took. So why did I have to fire up gif0? For a while with RELENG_4 the gif entries in /etc/rc.conf were not needed. I have never seen any hits on my gif rules in ipfw. -- David Kelly N4HHE, [EMAIL PROTECTED] = The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[no subject]
To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
new publisher of freebsd DVD
Hello, Would you please update FreeBSD documentation FreeBSD Handbook, Appendix A. Obtaining FreeBSD, A.1.2 CD and DVD Sets. UNIXDVD.COM LTD 57 Primrose avenue Sheffield S5 6FS United Kingdom WWW: http://www.unixdvd.com/ Our company is going to start shipment of DVDs with FreeBSD 4.8 and FreeBSD 5.0 as soon as FreeBSD 4.8 is released. Could you also explain how can we get access to ftp-master.FreeBSD.org which we need to be ale to start shipment of the DVD as soon after release as possible. Thank You. Kind Regards, Vladimir Martchenko unixdvd.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Migrating vinum plexes to a new volume
On Wed, Mar 19, 2003 at 11:43:31AM +1030, Greg 'groggy' Lehey wrote: On Tuesday, 18 March 2003 at 14:07:49 -0600, Tillman wrote: The manual says By default, vinum does not stop active objects. However, I don't know what would be making it active - it's not mounted and I seem to be unable to stop all of the volumes subordinate objects. I suppose it's a judgment call. Anyway, the way to get rid of iso2 is: vinum - rm -rf iso2 Greg Thanks for the confirmation, I've got things put together now :-) -T -- Page xxviii: I am sure that no one ever decides to learn Unix just to experience beauty. We choose to use Unix for practical reasons: to do our work (or to play the games). But the wonderful thing is that the beauty comes by itself. - Harley Hahn, _The Unix Companion_ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X
On Wed, Mar 19, 2003 at 12:01:25AM +0100, art Miod wrote: Why can't I install X by FreeBSD 5.0 on komputer which Geforce2 MX400.How do it? You need to provide much more detail on what you've tried and the errors or problems you have encountered. Kris pgp0.pgp Description: PGP signature
SYSVSHM Kernel options
I have been doing significant reading on the kernel options related to tuning PostgreSQL and I am wondering how to best go about increasing the paged memory available to FreeBSD. I have read the following suggestions: options SYSVSHM options SHMMAXPGS=4096 (place total shared mem here) options SHMSEG=256 options SYSVSEM options SEMMNI=256 options SEMMNS=512 options SEMMNU=256 options SEMMAP=256 AND /You might also want to use the sysctl setting to lock shared memory into RAM and prevent it from being paged out to swap, e.g. kern.ipc.shm_use_phys /My question is, should i go ahead and increase the SHMMAXPGS value to any amount of memory that i choose? what are the consequences of doing this on a freebsd system? What problems might be caused and will this degrade the rest of the system? What is the affect of locking shared memory into RAM using the sysctl utility? I have never tuned the system in this way before and I am wary of messing around. Thanks! octavian To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
question on samba install
If I install samba without cups, is it still possible to print with samba? I have a small network with a few win boxes and the samba install is older. It doesn't have cups. I am just wondering, since samba now installs cups by default, whether it is actually -needed- for win boxes to print to the FreeBSD printers. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: gnome2 Failing When Building gnometerminal
On Tue, 2003-03-18 at 19:04, Drew Tomlinson wrote: I wanted to run this by the list before bothering the port maintainer as the error suggests. I'm attempting to build gnome2 on a fresh install of 5.0-RELEASE. It's failing on gnometerminal. The complete error output is below. I found a message in the archives that is similar to my problem. The poster suggested verifying that the latest version of pkg-config is installed and there is no $PKG_CONFIG set in the environment. I verified pkg-config via the pkg_info output. I'm using tcsh and used the setenv to verify that $PKG_CONFIG is not set. Any ideas before I bother the maintainer? You should install x11/startup-notification. This dependency should be taken care of by libgnomeui. Make sure all your ports are up to date. Joe Thanks, Drew farmer# portinstall gnometerminal --- Installing 'gnometerminal-2.2.1' from a port (x11/gnometerminal) --- Building '/usr/ports/x11/gnometerminal' === Cleaning for unzip-5.50 === Cleaning for esound-0.2.29 === Cleaning for libaudiofile-0.2.3 === Cleaning for libiconv-1.8_2 === Cleaning for ORBit2-2.6.0 === Cleaning for atk-1.2.2 === Cleaning for bison-1.75 === Cleaning for bonobo-activation-2.2.1,1 === Cleaning for gconf2-2.2.0 === Cleaning for gettext-0.11.5_1 === Cleaning for glib-2.2.1 === Cleaning for gmake-3.80 === Cleaning for gnomevfs2-2.2.2 === Cleaning for imake-4.3.0 === Cleaning for libIDL-0.8.0_1 === Cleaning for libbonobo-2.2.0 === Cleaning for libglade2-2.0.1_1 === Cleaning for libgnugetopt-1.2 === Cleaning for libtool-1.3.4_4 === Cleaning for m4-1.4_1 === Cleaning for pkgconfig-0.15.0 === Cleaning for popt-1.6.4 === Cleaning for jpeg-6b_1 === Cleaning for libart_lgpl2-2.3.11 === Cleaning for libgnomecanvas-2.2.0.2 === Cleaning for png-1.2.5_2 === Cleaning for tiff-3.5.7 === Cleaning for perl-5.6.1_11 === Cleaning for python-2.2.2_2 === Cleaning for gnome-icon-theme-1.0.0 === Cleaning for gnomehier-1.0_8 === Cleaning for gnomemimedata-2.2.0_1 === Cleaning for linc-1.0.1 === Cleaning for freetype2-2.1.3_1 === Cleaning for docbook-sk-4.1.2 === Cleaning for docbook-xml-4.2 === Cleaning for docbook-xsl-1.59.1 === Cleaning for expat-1.95.6_1 === Cleaning for intltool-0.25 === Cleaning for libxml2-2.5.4 === Cleaning for libxslt-1.0.27 === Cleaning for mkcatalog-1.1 === Cleaning for py22-expat-2.2.2_2 === Cleaning for scrollkeeper-0.3.11_8,1 === Cleaning for sdocbook-xml-4.1.2.5 === Cleaning for Xft-2.1_3 === Cleaning for fontconfig-2.1_6 === Cleaning for gtk-2.2.1 === Cleaning for libbonoboui-2.2.0.1 === Cleaning for libgnomeui-2.2.0.1 === Cleaning for pango-1.2.1_1 === Cleaning for vte-0.10.26 === Cleaning for XFree86-libraries-4.3.0_1 === Cleaning for libgnome-2.2.0.1 === Cleaning for startup-notification-0.5_1 === Cleaning for gnometerminal-2.2.1 === Extracting for gnometerminal-2.2.1 Checksum OK for gnome2/gnome-terminal-2.2.1.tar.bz2. === Patching for gnometerminal-2.2.1 === Applying FreeBSD patches for gnometerminal-2.2.1 === Configuring for gnometerminal-2.2.1 === gnometerminal-2.2.1 depends on executable: gmake - found === gnometerminal-2.2.1 depends on executable: libtool - found === gnometerminal-2.2.1 depends on shared library: gnomeui-2.200 - found === gnometerminal-2.2.1 depends on shared library: vte.4 - found === gnometerminal-2.2.1 depends on shared library: X11.6 - found checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether gmake sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for strerror in -lcposix... no checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking build system type... i386-unknown-freebsd5.0 checking host system type... i386-unknown-freebsd5.0 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise
Problem with apache
I've got two FreeBSD boxes on my home network. They are both assigned local IP addresses through DHCP. I've just installed Apache on both of them tonight, and I can access one machine just fine using its local IP address. (192.168) The other, I can telnet to port 80 on it using: $ telnet localhost 80 Trying ::1.. Connected to localhost. Escape character is '^]' But if I try using its IP address, even the loopback, the connection is refused: $ telnet 127.0.0.1 80 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: unable to connect to remote host I've set up the /etc/hosts file on each to reflect 127.0.0.1 as the domain names for each computer. I tried a bunch of things with the ServerName directive before restoring the Apache defaults there when nothing worked. Any ideas? Thanks so much, Ian Larsen _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FTP install problems
I have been having a hard time installing 4.7 release via ftp for almost 2 days. I have been getting really slow download speeds of about .7-1.5 K. I have an ADSL connection which is working fine otherwise, so I don't think the problem is in my network. Also, when I am able to connect to an ftp site often the download will stop and I will be presented with the FTP site selection screen. Anyone know what is causing this, any help will be appreciated. Is there something wrong with the FTP network? Please respond to this email address. Thanks in advance, Andy To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Check out Escorts In your area.. ..
Title: USA Escorts To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: ftp best practices
On Tue, Mar 18, 2003, Defryn, Guy wrote: One thing I would like to prevent is the visibility of the config files in the directory. I tried setting the shell to nonexistent but ftp does not seem to allow that. Another option is to use pureftpd with the -x and -X flags. This won't prevent the files from being visible, but it will prevent any tampering via ftp. -Mahlon Mahlon E. Smithjabber id: [EMAIL PROTECTED] http://www.martini.nu/ get pgp key: [EMAIL PROTECTED] If you sit down at a poker game and don't see a sucker, get up. You're the sucker. pgp0.pgp Description: PGP signature
boot0cfg?
Hey List- Somewhat in reference to the previous dual-boot question..I'm trying to figure out how to modify the boot0 to I can change the F1 to something like: F1 Windows or whatever :) I read the man page for boot0cfg and although that seems to be able to install boot0 into various places, it doesn't seem to let one modify what boot0 displays??? Thanks. Henrik -- Henrik Hudson [EMAIL PROTECTED] You know, Hobbes, some days even my lucky rocket ship underpants don't help. Calvin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
test subscribe
Hi everybody! Sorry, test With best wishes, Sergey Sinelnichenko Dev Zero G Ltd [EMAIL PROTECTED] http://devzerog.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: acroread: ELF binary type 3 not known.
In the last episode (Mar 18), robert t g tan said: Before I installed kde3, ik had no problems running acroread. Now after the installation. Im getting the following messsage: ELF binary type 3 not known. Abort Make sure you have linux compatibility loaded. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
getting device for umass?
I'm using a USB compact-flash card reader. When attached it is recognized, and umass(4) creates a device for it. On a SCSI-less system it is da0 but this is obviously not always true. How can I systematically identify the disk it is attached as? As you might guess, the point is to fire up a script from /etc/usbd.conf. However all I get from usbd is umass0 for DEVNAME. I poked around camcontrol but it didn't seem to give me enough information to come up with a robust script. Any ideas? -- Dan Pelleg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Insecure PHP installation
On 2003.03.18 14:58 Bill Moran wrote: The way to do that would be to install PHP from downloaded source and see whether or not the permissions were still a problem. If you don't do it, someone else will have to in order to verify. Ok, will do that.. and therefore I wrote [EMAIL PROTECTED] (and since he haven't written back, now you). How long ago did you contact him? Sometimes it takes a few days for people to reply. It has been over a week since the first mail. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Insecure PHP installation
Socketd wrote: On 2003.03.18 14:58 Bill Moran wrote: The way to do that would be to install PHP from downloaded source and see whether or not the permissions were still a problem. If you don't do it, someone else will have to in order to verify. Ok, will do that.. Actually ... in case you didn't see the other post, someone else has already verified that it's a PHP issue and not a FreeBSD one: I just took a look at my freebsd box which has php installed from ports and also a solaris box I have which had php installed from source. Both of them have the same permissions which include: -rwxrwxrw- 1 root other 9290 Jan 6 13:57 pear -rw-rw-rw- 1 root other 7719 Jan 6 13:57 HTTP.php -rw-rw-rw- 1 root other 7279 Jan 6 13:57 Mail.php -rw-rw-rw- 1 root other 28562 Jan 6 13:57 PEAR.php -rw-rw-rw- 1 root other 14780 Jan 6 13:57 System.php etc. So it's a PHP issue, not a freebsd ports issue. --- Matt ([EMAIL PROTECTED]) He didn't say whether or not he was contacting the PHP people, but somebody should. and therefore I wrote [EMAIL PROTECTED] (and since he haven't written back, now you). How long ago did you contact him? Sometimes it takes a few days for people to reply. It has been over a week since the first mail. Hmmm ... we'll that's longer than I would normally wait. I only asked because some people are far more impatient than that. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: getting device for umass?
In [EMAIL PROTECTED], Dan Pelleg [EMAIL PROTECTED] typed: I'm using a USB compact-flash card reader. When attached it is recognized, and umass(4) creates a device for it. On a SCSI-less system it is da0 but this is obviously not always true. It's not always true on a SCSI-less system, either. You can wire the device down to whatever point you want. On SCSI systems, umass devices are found and numbered before the real SCSI drives, so it tends to come up as da0 there. Some people - me, for instance - wire down things so that their SCSI devices show up first. How can I systematically identify the disk it is attached as? As you might guess, the point is to fire up a script from /etc/usbd.conf. However all I get from usbd is umass0 for DEVNAME. I poked around camcontrol but it didn't seem to give me enough information to come up with a robust script. Any ideas? If you're trying for a really general solution, you may be SOL. camcontrol devlist gives you the name of the device. I.e., mine is: HAGIWARA SmartMedia R/W 2.00 at scbus1 target 0 lun 0 (pass4,da3) Knowing that it's a HAGIWARA reader, I can look for that and pull the da3 out of the last bit of the card. The other alternative is to check dmesg for the umass-sim device. I.e., mine shows up as: da3 at umass-sim0 bus 0 target 0 lun 0 If you've got more than one attached, you'll have to figure out which one you're looking for. If the goal is to mount them, then you can check the output of mount and look for the one that's not there. One simple solution is to note that the device numbers for the umass devices seldom change, so you can fix them in usbd.conf for each system. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
A question about configuringl freeBSD
I install xfree86(KDE) of freeBSD, MY COMPUTERS 1 pentium 200Mhz card grahics s3 Trio64v+, monitor zenith 2 K6 AMD 500Mhz CARD graphics ATI 4Mb Mache 64 IIC, MONITOR dell E77p0, After configuring ? the mouse appear on monitor, but when i move the mouse, it disappears How can i do to install graphics sucessfully ? Please help me ! Vinh To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Trouble mounting USB pen drive in 4.7
Greetz, running 4.7 RELEASE and I insert my USB pocket drive into USB slot. I see the following come into my dmesg: umass0: USB Solid state disk, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Generic Traveling Disk 1.11 Removable Direct Access SCSI-2 device da0: 650KB/s transfers da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C) How can I mount this onto my filesystem? I've tried variations of the da driver (rda0, da0, rda0s1, etc...) but I get I/O errors... Many TIA, -- Darren Spruell Sento IS Department [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Trouble mounting USB pen drive in 4.7
what is the file system and is the drive partitioned? to mount my zip drive, i use the command mount -t ufs /dev/da0 /mnt/zip its its windows formated i use mount -t msdos /dev/da0 /mnt/zip if it was partitioned i would use mount -t msdos /dev/da0s1e /mnt/zip - Original Message - From: Darren Spruell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 10:43 PM Subject: Trouble mounting USB pen drive in 4.7 Greetz, running 4.7 RELEASE and I insert my USB pocket drive into USB slot. I see the following come into my dmesg: umass0: USB Solid state disk, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Generic Traveling Disk 1.11 Removable Direct Access SCSI-2 device da0: 650KB/s transfers da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C) How can I mount this onto my filesystem? I've tried variations of the da driver (rda0, da0, rda0s1, etc...) but I get I/O errors... Many TIA, -- Darren Spruell Sento IS Department [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: noone can change password with yppasswd
In the last episode (Mar 18), Robert Kellner said: I have a problem with passwords on FreeBSD 5.0: I am using NIS, but neither root, nor the users can change their nis passwords with yppasswd. Root is asked for the old password and when trying to set a new one it fails. If a user tries to change his password, this will not succeed either. here are some loggings: root tries to change a password: Changing NIS password for testuser Old Password: New Password: Retype New Password: yppasswd: pam_chauthtok(): error in service module from /var/log/messages: Mar 18 16:15:30 server yppasswd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: server.mydomain.com: RPC: Program not registered I get this too; trying to change the password as a regular user from the NIS server fails with the same error. I have no workaround for this. a user tries to change a password: Changing NIS account information for testuser on server.mydomain.com. Changing NIS password for testuser on server.mydomain.com. Please enter new password: Please retype new password: Error while changing the NIS password. The NIS password has not been changed on server.mydomain.com. and from /var/logmessages: Mar 18 16:17:24 btcips73x1 rpc.yppasswdd[2320]: pw_mkdb() failed Are you exporting /etc/master.passwd via NIS, or are you exporting /var/yp/master.passwd? There are a couple bugs in rpc.yppasswdd when you are not exporting /etc/master.passwd. Try the attached patch and see if it helps. Make backups of /etc/master.passwd and /var/yp/master.passwd just in case :) -- Dan Nelson [EMAIL PROTECTED] Index: yppasswdd_server.c === RCS file: /home/ncvs/src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c,v retrieving revision 1.26 diff -u -p -r1.26 yppasswdd_server.c --- yppasswdd_server.c 15 May 2002 09:20:06 - 1.26 +++ yppasswdd_server.c 13 Dec 2002 19:43:11 - @@ -450,6 +450,7 @@ yppasswdproc_update_1_svc(yppasswd *argp char *oldgecos = NULL; char *passfile_hold; char passfile_buf[MAXPATHLEN + 2]; + char passfile_hold_buf[MAXPATHLEN + 2]; char *domain = yppasswd_domain; static struct sockaddr_in clntaddr; static struct timeval t_saved, t_test; @@ -574,32 +575,64 @@ yppasswdproc_update_1_svc(yppasswd *argp passfile = (char *)passfile_buf; } + /* Create a filename to hold the original master.passwd so if our call + to yppwupdate fails we can roll back */ + snprintf(passfile_hold_buf, sizeof(passfile_hold_buf), %s.hold, passfile); + passfile_hold = (char *)passfile_hold_buf; + /* Step 5: make a new password file with the updated info. */ + yp_error(calling pw_init(%s),passfile); if (pw_init(dirname(passfile), passfile)) { yp_error(pw_init() failed); return result; } + yp_error(calling pw_lock()); if ((pfd = pw_lock()) == -1) { pw_fini(); yp_error(pw_lock() failed); return result; } + yp_error(calling pw_tmp(-1)); if ((tfd = pw_tmp(-1)) == -1) { pw_fini(); yp_error(pw_tmp() failed); return result; } + + yp_error(calling pw_copy()); if (pw_copy(pfd, tfd, yp_password, NULL) == -1) { pw_fini(); yp_error(pw_copy() failed); return result; } - if (pw_mkdb(yp_password.pw_name) == -1) { + if (rename(passfile, passfile_hold) == -1) { pw_fini(); - yp_error(pw_mkdb() failed); + yp_error(rename of %s to %s failed, passfile, passfile_hold); return result; } + if (strcmp(passfile, _PATH_MASTERPASSWD) == 0) { + /* NIS server is exporting the system's master.passwd. */ + /* Call pw_mkdb to rebuild passwd and the .db files */ + yp_error(calling pw_mkdb(%s),yp_password.pw_name); + if (pw_mkdb(yp_password.pw_name) == -1) { + pw_fini(); + yp_error(pw_mkdb() failed); + rename(passfile_hold, passfile); + return result; + } + } else + { + /* NIS server is exporting a private master.passwd. */ + /* Rename tempfile into final location */ + if (rename(pw_tempname(), passfile) == -1) { + pw_fini(); + yp_error(rename of %s to %s failed, pw_tempname(), passfile); + rename(passfile_hold, passfile); + return result; + } + } + yp_error(calling pw_fini()); pw_fini(); if (inplace) { @@ -630,14 +663,16 @@ yppasswdproc_update_1_svc(yppasswd
Re: in regrade to yr Sony LPt
That looks like an installation problem. You should have something like this: $ l /usr/X11R6/lib/X11/fonts/ total 1 drwxr-xr-x 2 root wheel 65536 Sep 16 2002 100dpi drwxr-xr-x 2 root wheel 65536 Sep 16 2002 75dpi drwxr-xr-x 2 root wheel512 Sep 16 2002 CID drwxr-xr-x 2 root wheel512 Sep 16 2002 PEX drwxr-xr-x 2 root wheel512 Sep 16 2002 Speedo drwxr-xr-x 2 root wheel512 Sep 16 2002 TTF drwxr-xr-x 2 root wheel 1536 Sep 16 2002 Type1 drwxr-xr-x 2 root wheel 3072 Oct 20 1997 URW drwxr-xr-x 2 root wheel 2560 Sep 25 19:26 cyrillic drwxr-xr-x 3 root wheel 1024 Sep 16 2002 encodings drwxr-xr-x 4 root wheel 512 Sep 16 2002 latin2 drwxr-xr-x 2 root wheel512 Sep 16 2002 local drwxr-xr-x 2 root wheel 10752 Sep 16 2002 misc drwxr-xr-x 2 root wheel512 Oct 18 13:45 util mm, I don't seem to have any fonts folder :-( How do I install them after the event with Sysinstall? You don't say which version of X (or FreeBSD) you are running here, so it's difficult to help further. ha, I'm learning! XFree86 4.2.0 on FreeBSD 4.6 This is the log: XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 4.6 i386 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/XFree86.0.log, Time: Tue Mar 18 10:46:53 2003 (==) Using config file: /etc/X11/XF86Config (==) ServerLayout Default Layout (**) |--Screen Default Screen (0) (**) | |--Monitor Sony Vaio 14.1 TFT (**) | |--Device ATI Radeon 3D Mobility (**) |--Input Device Generic Keyboard (**) Option XkbRules xfree86 (**) XKB: rules: xfree86 (**) Option XkbModel pc102 (**) XKB: model: pc102 (**) Option XkbLayout de (**) XKB: layout: de (**) Option XkbOptions ctrl:nocaps (**) XKB: options: ctrl:nocaps (==) Keyboard: CustomKeycode disabled (**) |--Input Device Configured Mouse (**) |--Input Device Generic Mouse (WW) The directory /usr/lib/X11/fonts/misc does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/cyrillic does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/100dpi/ does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/75dpi/ does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/Type1 does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/Speedo does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/100dpi does not exist. Entry deleted from font path. (WW) The directory /usr/lib/X11/fonts/75dpi does not exist. Entry deleted from font path. (**) FontPath set to unix/:7100 (==) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.5 XFree86 XInput driver : 0.3 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.3 (II) Loader running on freebsd (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.2.0, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.3 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.2.0, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,3575 card 104d,80e7 rev 02 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,3576 card , rev 02 class 06,04,00 hdr 01 (II) PCI: 00:1d:0: chip 8086,2482 card 104d,80e7 rev 01 class 0c,03,00 hdr 80 (II) PCI: 00:1d:1: chip 8086,2484 card 104d,80e7 rev 01 class 0c,03,00 hdr 00 (II) PCI: 00:1d:2: chip 8086,2487 card 104d,80e7 rev 01 class 0c,03,00 hdr 00 (II) PCI: 00:1e:0: chip 8086,2448 card , rev 41 class 06,04,00 hdr 01 (II) PCI: 00:1f:0: chip 8086,248c card , rev 01 class 06,01,00 hdr 80 (II) PCI: 00:1f:1: chip 8086,248a card 104d,80e7 rev 01 class 01,01,8a hdr 00 (II) PCI: 00:1f:3: chip
Re: boot0cfg?
On Tue, 18 Mar 2003 08:55:24 + (UTC) in lucky.freebsd.questions, Henrik Hudson wrote: I read the man page for boot0cfg and although that seems to be able to install boot0 into various places, it doesn't seem to let one modify what boot0 displays??? You should modify source file. Look at /sys/boot/i386/boot0/boot0.s (for i386). I'm not sure that there is free space in boot0, check this. If there is free space in boot0, then you can modify it. If boot0 doesn't have free space, then you can remove some file system names from boot0.s and add names you need. You should make modification of boot0 code very _carefully_ and test boot0 with the _floppy_. And double check that boot0 actually can't understand your file system, check if boot0.s doesn't have partition id in tables: (look at the end of boot0.s). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message