From owner-freebsd-questions@FreeBSD.ORG Sun May 2 09:19:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CECA116A4CE for ; Sun, 2 May 2004 09:19:55 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B0A43D3F for ; Sun, 2 May 2004 09:19:54 -0700 (PDT) (envelope-from mrbluez2u@earthlink.net) Received: from cpe-24-221-143-124.az.sprintbbd.net ([24.221.143.124] helo=[192.168.0.151]) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BKJh0-0005el-00 for freebsd-questions@freebsd.org; Sun, 02 May 2004 09:19:50 -0700 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <20040429175720.45C5716A4CE@hub.freebsd.org> References: <20040429175720.45C5716A4CE@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Mr Bluez Date: Sun, 2 May 2004 09:21:21 -0700 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.613) Subject: Re: re: Installing Free BSD 5.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2004 16:19:55 -0000 I'm somewhat skeptical re: the advice because the CD Rom has booted & =20= read the information contained on the CD up to the point of the hang =20 (i.e. "time counters tick every 10.000 msecs). I don't perceive the =20 failure to lie with the CD Rom but rather somewhere in the BIOS because =20= the next step in the loading process has been reported to me as looking =20= to the BIOS. Hence I reset the BIOS to defaults. I did however burn =20= a new CD in the chance that for some reason the CD had become =20 corrupted. That yielded the same result. So, my question still stands (unfortunately). Why is the install =20 hanging at "time counters tick every 10.000 msecs"|? Thanks, :o) On Apr 29, 2004, at 10:57 AM, freebsd-questions-request@freebsd.org =20 wrote: > Send freebsd-questions mailing list submissions to > freebsd-questions@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > or, via email, send a message with subject or body 'help' to > freebsd-questions-request@freebsd.org > > You can reach the person managing the list at > freebsd-questions-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." > > > Today's Topics: > > 1. help (Dawn Cimini) > 2. RE: Permissions and other questions.. (Richard Bradley) > 3. Re: help (Bill Moran) > 4. USB multi-card reader problems (Frank Altpeter) > 5. Re: USB multi-card reader problems (Richard Tobin) > 6. Re: USB multi-card reader problems (Andrew L. Gould) > 7. pad ip address with leading zeros in perl script (JJB) > 8. Re: More ProFTP (Paul Mather) > 9. nvidia and dmesg (bryan cassidy) > 10. Re: Creating a zip file (David Landgren) > 11. Re: USB multi-card reader problems (Frank Altpeter) > 12. Re: Suexec with Apache 1.3.29 (Peter Risdon) > 13. usb probs ehci works vs uhci hangs with Linksys usb200M ( > axe0 ) (mark) > 14. Re: Suexec with Apache 1.3.29 (Mikkel Christensen) > 15. Re: Suexec with Apache 1.3.29 (Marty Landman) > 16. Re: Suexec with Apache 1.3.29 (Dick Davies) > 17. OpenLdap question - solved (Darryl Hoar) > 18. How do you keep track of what's been merged in CVS? (Doug Lee) > 19. Help... (Carlos Castro) > 20. Re: nvidia and dmesg (peter lageotakes) > 21. failed php4 install...can't figure this one out (Jason Williams) > 22. Dumb question (Jay Chen) > 23. Installing Free BSD 5.2.1 (MrBluez2U) > 24. Weird messages in daily run report. (samy lancher) > 25. Re: Help... (Ion-Mihai Tetcu) > 26. Re: Weird messages in daily run report. (Bill Moran) > 27. Re: Installing Free BSD 5.2.1 (Mikkel Christensen) > 28. Re: Dumb question (Bill Moran) > 29. Re: Suexec with Apache 1.3.29 (Mikkel Christensen) > 30. Re: failed php4 install...can't figure this one out > (Mikkel Christensen) > 31. Re: failed php4 install...can't figure this one out (Peter =20 > Risdon) > 32. Re: failed php4 install...can't figure this one out > (Ion-Mihai Tetcu) > 33. Re: failed php4 install...can't figure this one out > (Mikkel Christensen) > 34. Re: failed php4 install...can't figure this one out > (Ion-Mihai Tetcu) > 35. Re: failed php4 install...can't figure this one out > (Ion-Mihai Tetcu) > 36. Re: failed php4 install...can't figure this one out > (Ion-Mihai Tetcu) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 28 Apr 2004 12:16:42 -0700 > From: "Dawn Cimini" > Subject: help > To: freebsd-questions@FreeBSD.org > Message-ID: > Content-Type: text/plain; format=3Dflowed > > I don't know where I got the program that uses "Orion2.0", but it is =20= > on my > computer ..I should say it may have been. When I try to install some =20= > other > programs ( not from your company) they ask for the file "Orion2.0.msi" = =20 > I > don't have that file ..maybe it's a program I don't know, but I know =20= > there > isn't one on my computer. I have checked the entire sys ..nothing is =20= > there. > > Now , I can't say for sure that my son didn't download your program =20= > and then > tried to delete it, but if that is the case how to I get my programs =20= > to run > without asking for that Orion2 file. > > Any help would be appreciated, > > ThankYou, > DawnSMC > > _________________________________________________________________ > Is your PC infected? Get a FREE online computer virus scan from = McAfee=AE > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3D3963 > > > ------------------------------ > > Message: 2 > Date: Thu, 29 Apr 2004 13:33:11 +0100 > From: Richard Bradley > Subject: RE: Permissions and other questions.. > To: killermink@hotmail.com > Cc: freebsd-questions@freebsd.org > Message-ID: <200404291333.11890.rtb27@cam.ac.uk> > Content-Type: text/plain; charset=3D"iso-8859-1" > >> These may be immensly stupid questions, but here goes anyway, I have =20= >> put >> them all into one mail as I don't think they singularily deserve a =20= >> whole >> mail... > > I don't know about stupid - these are quite sensible questions. Lazy =20= > perhaps > -- most of these can be answered by google (or by experimentation). > >> 1) Is it desirable and how do you enable certain processes to be run =20= >> in a >> user account? > > You can use `su` as root - in fact you can su into any account without = =20 > using a > password, such is the power of root ;-) > >> Here is why, I am the only user of my machine and while I realise the >> importance of root, if i want to mount a cd I always have to su. =20 >> =A0This is >> the same for other processes such as ifconfig. =A0As the only user I =20= >> don't >> want to have to su all the time to do simple things, and as not being = =20 >> used >> to it, I sometimes forget I have done so and do things undesirable =20= >> (e.,g. >> startx as root). > > How often do you need to run ifconfig? If you manage to get automount =20= > working > (see below) you should have no excuse not to run as a normal user > >> 2) Is there a way to automount? =A0Like when I put in a CD or attach = my =20 >> USB >> drive.. as they have the same command each time. > > umm - I'm not going to answer this one. The simple answer is that the =20= > very > first result for a google search on "automount freebsd" gives a =20 > detailed > tutorial on how to set this up on a FreeBSD box. Searching is quicker =20= > than > waiting for email replies, you know. > >> 3) Is it possible to have the command prompt tell you what directory =20= >> you are >> in before the symbol? > > Again, the first result on google for "change prompt string csh" is a =20= > long > tutorial on changing the title bar of xterms or something. Anyway, I =20= > skimmed > through it and to get you started, at your console, type: > > alias precmd 'echo -n "$cwd"' > > You should be able to customise this to suit your own needs. > >> 4) Is there a way in XFCE to create a launcher for OpenOffice? =A0I =20= >> understand >> it needs to be run with ./soffice but this doesn't work even tho I =20= >> have >> added the directory to my PATH > > I don't even know what XFCE is, so try Google for this one, or wait = for > someone on the mailing list to try Google for you ;-) > >> Thanks for the advice... > > Have fun! > > > Rich > > > ------------------------------ > > Message: 3 > Date: Thu, 29 Apr 2004 08:32:40 -0400 > From: Bill Moran > Subject: Re: help > To: Dawn Cimini > Cc: freebsd-questions@FreeBSD.org > Message-ID: <4090F5E8.50009@potentialtech.com> > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > Dawn Cimini wrote: >> I don't know where I got the program that uses "Orion2.0", but it is =20= >> on >> my computer ..I should say it may have been. When I try to install =20= >> some >> other programs ( not from your company) they ask for the file >> "Orion2.0.msi" I don't have that file ..maybe it's a program I don't >> know, but I know there isn't one on my computer. I have checked the >> entire sys ..nothing is there. >> >> Now , I can't say for sure that my son didn't download your program =20= >> and >> then tried to delete it, but if that is the case how to I get my >> programs to run without asking for that Orion2 file. > > I'm not 100% sure I understand your questions, but I'll try to help as > best I can. > > First off, FreeBSD is an operating system. I don't know what =20 > Orion2.0.msi > is, but .msi files are Microsoft installer files. The fact that = you're > looking for a .msi file almost definately means that you're NOT = running > FreeBSD. I would suspect that you simply have the wrong mailing list. > > If you are running FreeBSD, please provide details on the version > of FreeBSD, what software you're trying to install and exactly what > error messages you're getting and I'm sure someone will be able to > help you out. > > -- =20 > Bill Moran > Potential Technologies > http://www.potentialtech.com > > ------------------------------ > > Message: 4 > Date: Thu, 29 Apr 2004 14:47:48 +0200 > From: Frank Altpeter > Subject: USB multi-card reader problems > To: questions@freebsd.org > Message-ID: <20040429124748.GA44778@murphy.planlos.de> > Content-Type: text/plain; charset=3Dus-ascii > > > [Compaq Armada E500 with 4.10-PRERELEASE running] > > > Hi folks, > > I just got an USB-2.0 based multi-card reader, which enables me to > read CompactFlash, SDIO, MemoryStick and some other less important > card types. > > But... it doesn't work and i'm a little bit confused. > > When plugging in (with a CompactFlash card inserted), the message > log tells me: > > Apr 29 14:38:34 pegasus /kernel: umass0: Ltd Winter Ver1.3, rev > 2.00/0.05, addr 2, SCSI over Bulk-Only > Apr 29 14:38:34 pegasus /kernel: umass0:2:0:-1: Attached to scbus2 > as device 0 > > So, it looks like there is generally no problem in accessing this > device. But i'm missing a device entry to mount. > > The camcontrol command also doesn't list anything useful: > > scbus2 on umass-sim0 bus 0: > > at scbus2 target 0 lun 0 (probe0) > < > at scbus2 target -1 lun -1 () > > > So, any hints how to access the inserted media devices? I used to > use a PCMCIA card for CompactFlash before, quite successfully, but i > need a multi-card reader now and the ones for PC-CARD slot are quite > rare or don't provide all the needed card slots... > > > With kind regards, > > Frank Altpeter > > ------------------------------ > > Message: 5 > Date: Thu, 29 Apr 2004 14:06:18 +0100 (BST) > From: Richard Tobin > Subject: Re: USB multi-card reader problems > To: Frank Altpeter , questions@freebsd.org > Message-ID: <20040429130618.06A37B8A7A@macintosh.inf.ed.ac.uk> > >> So, it looks like there is generally no problem in accessing this >> device. But i'm missing a device entry to mount. >> >> The camcontrol command also doesn't list anything useful: >> >> scbus2 on umass-sim0 bus 0: >> > at scbus2 target 0 lun 0 (probe0) >> < > at scbus2 target -1 lun -1 () > > Try rescanning the device corresponding to each LUN, e.g. > > camcontrol rescan 2:0:1 > > (the various kinds of card probably appear as different LUNs). > > -- Richard > > ------------------------------ > > Message: 6 > Date: Thu, 29 Apr 2004 08:12:35 -0500 > From: "Andrew L. Gould" > Subject: Re: USB multi-card reader problems > To: Frank Altpeter > Cc: questions@freebsd.org > Message-ID: <20040429081235.63eedb77.algould@datawok.com> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Apr 2004 14:47:48 +0200 > Frank Altpeter wrote: >> >> [Compaq Armada E500 with 4.10-PRERELEASE running] >> >> >> Hi folks, >> >> I just got an USB-2.0 based multi-card reader, which enables me to >> read CompactFlash, SDIO, MemoryStick and some other less important >> card types. >> >> But... it doesn't work and i'm a little bit confused. >> >> When plugging in (with a CompactFlash card inserted), the message >> log tells me: >> >> Apr 29 14:38:34 pegasus /kernel: umass0: Ltd Winter Ver1.3, rev >> 2.00/0.05, addr 2, SCSI over Bulk-Only >> Apr 29 14:38:34 pegasus /kernel: umass0:2:0:-1: Attached to scbus2 >> as device 0 >> >> So, it looks like there is generally no problem in accessing this >> device. But i'm missing a device entry to mount. >> >> The camcontrol command also doesn't list anything useful: >> >> scbus2 on umass-sim0 bus 0: >> > at scbus2 target 0 lun 0 (probe0) >> < > at scbus2 target -1 lun -1 () >> >> >> So, any hints how to access the inserted media devices? I used to >> use a PCMCIA card for CompactFlash before, quite successfully, but i >> need a multi-card reader now and the ones for PC-CARD slot are quite >> rare or don't provide all the needed card slots... >> >> >> With kind regards, >> >> Frank Altpeter > > > Try using dmesg to find list your scsi devices: > > dmesg | grep da > > Best of luck, > > Andrew Gould > > ------------------------------ > > Message: 7 > Date: Thu, 29 Apr 2004 09:08:05 -0400 > From: "JJB" > Subject: pad ip address with leading zeros in perl script > To: "freebsd-questions@FreeBSD. ORG" > Message-ID: > Content-Type: text/plain; charset=3D"iso-8859-1" > > I have perl script written be someone else and I need to fill in the > each octal with leading zero if needed, so ip address can be sorted > on. > > This must be an very common requirement. > > Is there some standard perl module I can use to perform this task? > An sample of the perl code to accomplish this would be very helpful. > The ip address is already in $src_ip > > Thanks > > > > > ------------------------------ > > Message: 8 > Date: Thu, 29 Apr 2004 09:19:09 -0400 > From: Paul Mather > Subject: Re: More ProFTP > To: freebsd-questions@freebsd.org > Cc: suplizio@blarg.net > Message-ID: <20040429131909.GB93120@gromit.dlib.vt.edu> > Content-Type: text/plain; charset=3Diso-8859-1 > > On Wed, 28 Apr 2004 21:20:20 -0700, "Jason Suplizio" =20 > wrote: > > =3D> Thanks for the response Sergey, but I only tried to start it when = =20 > the > =3D> service didn't start as configured in inetd. > > ProFTPD won't appear to be running (i.e., it won't appear in a ps > listing) when run from inetd. The proftpd daemon will only be run > when an FTP connection is made (and it will then appear in a ps > listing). > > =3D> So, I couldn't get it to run in standalone (with the entry =20 > #commented out in > =3D> inetd) and on other attempts couldn't get it to start as an inetd = =20 > service, > > Did you remember to get inetd to reload its configuration file via > sending it a HUP signal when flipping between trying running proftpd > in standalone vs. inetd modes? > > =3D> I spent a good 10 hours on this, finally deinstalled and now i'm =20= > trying to > =3D> use ncftpd. Wish me luck, I'm reading about ephemeral ports.... > > If you are wanting to provide FTP access for three system accounts, > why don't you just use the stock ftpd that comes with FreeBSD? Is > there something you need that it doesn't provide? Also, as you say > that ssh works, have you considered having the three people use scp or > sftp for transferring data? > > Cheers, > > Paul. > > e-mail: paul@gromit.dlib.vt.edu > > "Without music to decorate it, time is just a bunch of boring =20 > production > deadlines or dates by which bills must be paid." > --- Frank Vincent Zappa > > ------------------------------ > > Message: 9 > Date: Thu, 29 Apr 2004 06:21:10 -0700 (PDT) > From: bryan cassidy > Subject: nvidia and dmesg > To: freebsd-questions@freebsd.org > Message-ID: <20040429132110.95065.qmail@web21503.mail.yahoo.com> > Content-Type: text/plain; charset=3Dus-ascii > > running freebsd 4.9 p-5 and have installed the > x11/nvidia-drivers port. Works fine but in 'dmesg' I > have > > nvidia: agp_find_device failed, chipset unsupported? > > here is what I have in /boot/loader.conf > > # -- sysinstall generated deltas -- # > agp_load=3D"YES" > userconfig_script_load=3D"YES" > linux_load=3D"YES" > nvidia_load=3D"YES" > snd_emu10k1_load=3D"YES" > > Please Cc: me because I am not subscribed to the list. > > > =09 > =09 > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > ------------------------------ > > Message: 10 > Date: Thu, 29 Apr 2004 15:31:28 +0200 > From: David Landgren > Subject: Re: Creating a zip file > To: freebsd-questions@freebsd.org > Message-ID: <409103B0.7070400@landgren.net> > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > Shantanoo wrote: > >> +++ Bryan Cassidy [freebsd] [28-04-04 00:39 -0500]: >> | I am trying to create a zip file that can be unziped on a Windows =20= >> machine. Any help appreciated. >> | -- >> >> .tar, .tar.gz, .tgz are supported by WinZIP. > > Careful with tarfiles and winzip. Earlier version of the latter did = bad > things when tar files contained zero-length files. I just checked with > version 8.1 and it works correctly, but I do remember having grief in > the past with this. > > David > >> | >> | As Will Rogers would have said, "There is no such things as a free >> | variable." >> | >> | ------------------------------ >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to =20 >> "freebsd-questions-unsubscribe@freebsd.org" >> > > > -- =20 > Commercial OS breeds commerce, whereas free OS breeds freedom, > the only thing more dangerous and confusing than commerce. > -- Michael R. Jinks, redhat-list, circa 1997 > > ------------------------------ > > Message: 11 > Date: Thu, 29 Apr 2004 15:31:03 +0200 > From: Frank Altpeter > Subject: Re: USB multi-card reader problems > To: questions@freebsd.org > Message-ID: <20040429133103.GA49176@murphy.planlos.de> > Content-Type: text/plain; charset=3Dus-ascii > > > Hello! > > Richard Tobin wrote on 2004-04-29 14:06:18 +0100: >> Try rescanning the device corresponding to each LUN, e.g. >> >> camcontrol rescan 2:0:1 >> >> (the various kinds of card probably appear as different LUNs). > > I cannot rescan bus 2:0:{1,2,3,4} since camcontrol does hangup itself =20= > on > trying ... > > Andrew L. Gould wrote on 2004-04-29 08:12:35 -0500: >> Try using dmesg to find list your scsi devices: >> >> dmesg | grep da > Of course i monitored the messages log - there is no da entry on my > system... > > > With kind regards, > > Frank Altpeter > > ------------------------------ > > Message: 12 > Date: Thu, 29 Apr 2004 14:57:42 +0100 > From: Peter Risdon > Subject: Re: Suexec with Apache 1.3.29 > To: Mikkel Christensen > Cc: freebsd-questions@freebsd.org > Message-ID: <409109D6.2090504@circlesquared.com> > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > Mikkel Christensen wrote: > >> On Thursday 29 April 2004 07:37, you wrote: >> >> > >>> ... >>> >>> If you want to enable the suEXEC mechanism for the first time and an >>> Apache server is already running you must kill and restart Apache. >>> Restarting it with a simple HUP or USR1 signal will not be enough. >>> >>> ... >>> >>> >> Now i tried killing apache using "killall -9 httpd" and the start it =20= >> again with "apachectl start". >> Now for the first time "[notice] suEXEC mechanism enabled (wrapper: =20= >> //path/to/suexec/)" is printet to the error log. >> >> But this leads to another problem. When executing the hellow-world =20= >> script under another username execution is refused. >> The error "Premature end of script headers:" is printed to the =20 >> error-log. >> This error doen't show if I run the script as the www-user. >> Do you have any idea of what is wrong? >> >> > > That sounds promising, suexec is now functioning. Although it's > annoyingly vague, that's a common error from perl cgi scripts. > > It sounds permissions-related. Try running the script on the command > line as the user you want the apache host to run as, and see whether = it > gives a more meaningful error. My first thought is that the suexec = user > doesn't have execute permissions on the script, or on the directory =20= > that > contains it. > > PWR. > > > > > ------------------------------ > > Message: 13 > Date: Thu, 29 Apr 2004 14:04:54 +0000 (GMT) > From: mark > Subject: usb probs ehci works vs uhci hangs with Linksys usb200M ( > axe0 ) > To: questions@freebsd.org > Message-ID: <20040429135424.A69961@mister.mcgoonet.com> > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII > > > I'm looking for a work around to this usb ethernet problem. > > With FreeBSD-5.2.1-p5, "device ehci" added to the default GENERIC =20 > kernel, > the axe device works fine in USB 2.0 mode, when plugged in after boot. > > However, without ehci, uhci tries to attach the device and hangs with > "read PHY failed". If booted with device plugged, boot stops. If =20 > device is > plugged in after boot, the axe module hangs, looping forever on the =20= > read > error (you can unplug the device but usb never deregisters it) but the > system remains useable. > > If the system has ehci enabled, and is booted with the device plugged =20= > in, > it hangs when uhci module is loaded because it begins immediate probe > before ehci is loaded. Thus it is impossible to boot the system in any > config with the device plugged in at boot. > > Is there any way to disable USB autoprobing, to send a signal or =20 > something > to tell it when to start probing. Alternatively, is there a way to =20 > prevent > USB probing until all USB controllers are loaded (specifically, the =20= > ehci > module)? > > Any help would be appreciated. > > The machine is a Shuttle XPC 41G and only has one onboard NIC. > > --mark > > mark@node.to http://node.to/~mark 7123 3F7B 10EC 7122 2F8B > http://node.to/keys/mark.asc B474 B09D 6ED7 3FB0 09E8 > > > ------------------------------ > > Message: 14 > Date: Thu, 29 Apr 2004 14:06:58 +0000 > From: Mikkel Christensen > Subject: Re: Suexec with Apache 1.3.29 > To: Peter Risdon > Cc: freebsd-questions@freebsd.org > Message-ID: <200404291406.58150.mikkel@talkactive.net> > Content-Type: text/plain; charset=3D"iso-8859-1" > > On Thursday 29 April 2004 13:57, you wrote: >> Mikkel Christensen wrote: >>> >> That sounds promising, suexec is now functioning. Although it's >> annoyingly vague, that's a common error from perl cgi scripts. >> >> It sounds permissions-related. Try running the script on the command >> line as the user you want the apache host to run as, and see whether =20= >> it >> gives a more meaningful error. My first thought is that the suexec =20= >> user >> doesn't have execute permissions on the script, or on the directory =20= >> that >> contains it. >> > > I have figured it out now. I would call it quite a wierd rule! > > You are not allowed to run suexec in any combination og users you = like. > > User=3Dwww Group=3Dwww -> allowed > User=3Duser1 Group=3Duser1 -> allowed > User=3Duser1 Group=3Dwww -> NOT allowed > User=3Duser1 Group=3Dnobody -> alloved > > So, apperently you are only allowed to run suexec as a different user =20= > and group as long as neither of them is the apache user. > Otherwise you can do as you like. This seems extremely strange to me. =20= > But following theese rules it works as it should. > > My thanks to everybody who contributed with their knowlegde. > > - Mikkel > > ------------------------------ > > Message: 15 > Date: Thu, 29 Apr 2004 10:22:21 -0400 > From: Marty Landman > Subject: Re: Suexec with Apache 1.3.29 > To: Mikkel Christensen , Peter Risdon > > Cc: freebsd-questions@freebsd.org > Message-ID: > <6.0.0.22.0.20040429101444.0e68a6a0@pop.face2interface.com> > Content-Type: text/plain; charset=3D"us-ascii"; format=3Dflowed > > At 10:06 AM 4/29/2004, Mikkel Christensen wrote: > >> I have figured it out now. I would call it quite a wierd rule! >> >> You are not allowed to run suexec in any combination og users you =20 >> like. > > That's right, I remember that much from the tutorials I'd read about =20= > it. > >> So, apperently you are only allowed to run suexec as a different user = =20 >> and >> group as long as neither of them is the apache user. > > And so long as the permissions are less than that of root iirc. > >> Otherwise you can do as you like. > > IOW suexec should run only as a 'typical' user, which I believe is the > point. I think of it in terms of web customers who have high =20 > permissions > primarily for their own space, and limited to no permissions for the =20= > rest > of the server's name space. > >> This seems extremely strange to me. > > Why is it strange? The reason I kept trying to install suexec was =20 > because > until I did, the development environment I set up on my LAN could =20 > mirror > that on my real sites with the exception that all the files & =20 > directories > had to be given 777 or equivalent permissions. Otherwise with the user > running my cgi's being nobody aka www or httpd files couldn't be =20 > written > to, created, deleted etc.. With the types of web apps I write this was > becoming not only a royal pain, also a constant reminder to me that my > local environment was as insecure as it could be; of course it's =20 > strictly > local so not a problem. > >> But following theese rules it works as it should. > > With suexec running, a cgi gets set to 744 or 700 instead of 755; a =20= > data > file e.g. log or count file gets 644 or 600 instead of 666. It's =20 > amazing to > me that more vandalism and cross site scripting doesn't occur given = the > servers that still don't run suexec, or the users that aren't hip to =20= > using > it properly for setting permissions when the server does support it. > > Marty > > Marty Landman Face 2 Interface Inc. 845-679-9387 > Web Installed Formmailer: =20 > http://face2interface.com/Products/Formal.shtml > FormATable DB: http://face2interface.com/Products/FormATable.shtml > Make a Website: http://face2interface.com/Home/Demo.shtml > > > ------------------------------ > > Message: 16 > Date: Thu, 29 Apr 2004 15:30:36 +0100 > From: Dick Davies > Subject: Re: Suexec with Apache 1.3.29 > To: Marty Landman > Cc: FreeBSD Questions > Message-ID: <20040429143036.GC21785@lb.tenfour> > Content-Type: text/plain; charset=3Dus-ascii > > * Marty Landman [0423 15:23]: >> >> With suexec running, a cgi gets set to 744 or 700 instead of 755; a =20= >> data >> file e.g. log or count file gets 644 or 600 instead of 666. It's =20 >> amazing to >> me that more vandalism and cross site scripting doesn't occur given =20= >> the >> servers that still don't run suexec, or the users that aren't hip to =20= >> using >> it properly for setting permissions when the server does support it. > > suexec is a pig to configure, complex and poorly documented. I think =20= > that's > at least partly why the world runs away from CGI and towards stuff = like > JSP/PHP.... > > > -- =20 > Reality is for people who lack imagination. > Rasputin :: Jack of All Trades - Master of Nuns > > ------------------------------ > > Message: 17 > Date: Thu, 29 Apr 2004 10:20:22 -0500 > From: "Darryl Hoar" > Subject: OpenLdap question - solved > To: > Message-ID: <002401c42dfd$7dcc8df0$0701a8c0@darryl> > Content-Type: text/plain; charset=3D"iso-8859-1" > >>> Greetings, >>> I am trying to setup OpenLdap 2.0.25 from ports, >>> on Freebsd 5.1-release. everything is installed no >>> problem. openldap is started and shows running >>> in the process list. >>> >>> when I try to ldapadd, I get the error: >>> >>> ldap_bind: Can't contact LDAP server. > >>> I have started and stopped it, with no change in >>> the error. The log shows clean without error. >>> >>> when I netstat -a, I see: >>> >>> Proto Recv-Q Send-Q Local Address Foreign Address =20= >>> (state) >>> tcp6 0 0 *.ldap *.* =20= >>> LISTEN >>> >>> among other entries. this is the only one for ldap though. >>> >>> It appears to only be listening for tcp6 protocol, not tcp4. How do = =20 >>> I >>> change this ? >>> >>> thanks, >>> Darryl > > Well, > I hate to answer my own question , but to help others that > might search later, here it it. > > The problem ( if it is one), is that the startup script located > in /usr/local/etc/rc.d called slapd.sh has a configurable > argument that launches slapd either listening for tcp4, tcp6 > or both. The default script ( the one installed as part of the > port make, make install routine) is set with no arguments > specified. The result is that slapd only listens for tcp6 > traffic. The comments in the code show examples of > arguments to get it to listen to tcp4. Once I set the argument > string properly in the slapd.sh file, it listens for tcp4 and thus > responds when queried. > > Sorry for the wasted bandwith. > > > > > > ------------------------------ > > Message: 18 > Date: Thu, 29 Apr 2004 12:01:22 -0400 > From: Doug Lee > Subject: How do you keep track of what's been merged in CVS? > To: freebsd-questions@freebsd.org > Message-ID: <20040429160122.GX55912@kirk.dlee.org> > Content-Type: text/plain; charset=3Dus-ascii > > I ask this here because FreeBSD is managed by CVS... > > My understanding of the FreeBSD development model is that "current" is > the CVS trunk, "stable" is a branch started at the latest release tag, > and an MFC consists of selectively merging revisions from the trunk to > the Stable branch. If that's right, how do you keep track of what's > been merged and what hasn't, particularly when merges may not occur in > chronological, or revision number order, or (if this applies) when a > merge is edited while being merged and does not contain the full > effect of the corresponding original code? Also, is there a way to > cause a file on a branch to track HEAD on the trunk automatically? (I > asked that on the cvs-info list and noticed no answer > > I'm learning to use CVS to manage my own (much smaller) projects, and > I'm just beginning to realize that if I don't find an answer to this > one, I'll get my head spinning pretty soon trying to keep branches up > to date with trunk activity. > > Thanks much. Please Cc replies to me if you think about it. > > -- =20 > Doug Lee dgl@dlee.org http://www.dlee.org > Bartimaeus Group doug@bartsite.com http://www.bartsite.com > "Determine that the thing can and shall be done, and then...find > the way." - Abraham Lincoln > > ------------------------------ > > Message: 19 > Date: Thu, 29 Apr 2004 12:04:30 -0400 > From: "Carlos Castro" > Subject: Help... > To: > Message-ID: <001201c42e03$a889a8b0$0601a8c0@aguila> > Content-Type: text/plain; charset=3D"us-ascii" > > Hi there: > > I'm trying to recompile my kernel to add sound abilities for my ess =20= > 1869 > sound card. I've taken the generic file and added simply the "options > pcm" line. The file configs, depends, and installs flawlessly. = However, > it doesn't boot! Well, it does, but when mounting the root file = system, > it exits with this message: > > Mounting root from ufs: /dev/ad0s2a > Pid 41 (sh), uid 0: exited on signal 8 > Init: /bin/sh on /etc/rc terminated abnormally, going to single user > mode > > I then try to load a shell, but it exits all the time. It gives me the > same message again, and again... > > I've checked every single bit of information on the net regarding this > problem, but nothing helps... > > I have: > > Installed the kernel using security=3D-1; single user mode; chflags; > checked the /rc/sh script... Everything... > > Please help me anybody out there. > > Best regards, > > Carlos... > > > ------------------------------ > > Message: 20 > Date: Thu, 29 Apr 2004 09:09:44 -0700 (PDT) > From: peter lageotakes > Subject: Re: nvidia and dmesg > To: bryan cassidy , > freebsd-questions@freebsd.org > Message-ID: <20040429160944.38792.qmail@web14608.mail.yahoo.com> > Content-Type: text/plain; charset=3Dus-ascii > > > --- bryan cassidy wrote: >> running freebsd 4.9 p-5 and have installed the >> x11/nvidia-drivers port. Works fine but in 'dmesg' I >> have >> >> nvidia: agp_find_device failed, chipset unsupported? >> >> here is what I have in /boot/loader.conf >> >> # -- sysinstall generated deltas -- # >> agp_load=3D"YES" >> userconfig_script_load=3D"YES" >> linux_load=3D"YES" >> nvidia_load=3D"YES" >> snd_emu10k1_load=3D"YES" >> >> Please Cc: me because I am not subscribed to the >> list. >> >> >> =09 >> =09 >> __________________________________ >> Do you Yahoo!? >> Win a $20,000 Career Makeover at Yahoo! HotJobs >> http://hotjobs.sweepstakes.yahoo.com/careermakeover >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > Hello Bryan, > Here is a link that might be of use: > > http://download.nvidia.com/freebsd/1.0-4365/README.txt > > FYI: dont forget to recompile your kernel to add > "options USER_LDT". > Pete > > > =09 > =09 > __________________________________ > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs > http://hotjobs.sweepstakes.yahoo.com/careermakeover > > ------------------------------ > > Message: 21 > Date: Thu, 29 Apr 2004 09:22:38 -0700 > From: Jason Williams > Subject: failed php4 install...can't figure this one out > To: freebsd-questions@freebsd.org > Message-ID: > <5.2.1.1.0.20040429091808.00b13150@pop.courtesymortgage.com> > Content-Type: text/plain; charset=3D"us-ascii"; format=3Dflowed > > Hello everyone. > > I'm trying to setup a web server that will be running PHP, Apache and > mysql. The system will be running FreeBSD 4.9. > The system was going to be setup to run the following program: > > http://mailwatch.sourceforge.net/ > > > I cvsuped my ports and source tree and patched as needed. > > After that, I tried installing the following port: > > /usr/ports/lang/php4 > > Granted, i'm not entirely familiar with php and noticed there are =20 > quite a > few variations of what i can install. > When it came down to selecting what I wanted to build PHP with, I left = =20 > the > defaults selected, but made sure GD and MySQL were selected. > > After it crunched for awhile, I got the following error: > > configure: error: libjpeg.(a|so) not found. > =3D=3D=3D> Script "configure" failed unexpectedly. > Please report the problem to ale@FreeBSD.org [maintainer] and attach =20= > the > "/usr/ports/lang/php4/work/php-4.3.6/config.log" including the output =20= > of the > failure of your make command. Also, it might be a good idea to provide = =20 > an > overview of all packages installed on your system (e.g. an `ls =20 > /var/db/pkg`). > *** Error code 1 > > Stop in /usr/ports/lang/php4. > *** Error code 1 > > Stop in /usr/ports/lang/php4. > > I scanned through the config.log but did not see anything that stood =20= > out at me. > > Any ideas on what I could be missing? > > I appreciate it. > > Jason > > > > > ------------------------------ > > Message: 22 > Date: Thu, 29 Apr 2004 11:27:32 -0500 > From: "Jay Chen" > Subject: Dumb question > To: > Message-ID: > = UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAh4hUJpQK6kWETXTBdyGCG8KAAAA=20= > QAAAAzGyZ0hRIv0Kj4SsvXdMcZQEAAAAA@OFDEngineering.com> > =09 > Content-Type: text/plain; charset=3D"us-ascii" > > To Whom It May Concern: > > > > I have a Dell computer with Window XP and two hard disks (76 GB each). > The XP is located on C: and I am planning to install the FreeBSD on = the > second hard drive (D: at this time). > > > > I like to be able to boot either of these two Operating systems with a > selection at the time when I turn on the computer. Unfortunately, I > failed. During installation of the BSD, my understanding is that I > still need to have the Boot Manager residing on C. I guess that that > result a rewritten of the boot related files (boot manager). I can = not > boot the XP any more. Do you have any suggestions? Where did I do > wrong? > > > > Thanks for your time on this matter. > > > > Best Regards, > > > > Jay Chen > > Oil Field Development Engineering, LLC > > > > 950 Threadneedle, Suite 250 > > Houston, TX 77079 > > 281 679 9060 ext 110 (D) > > 281 679 9075 (F) > > jay_chen@OFDEngineering.com > > > > > > > ------------------------------ > > Message: 23 > Date: Thu, 29 Apr 2004 09:35:15 -0700 > From: "MrBluez2U" > Subject: Installing Free BSD 5.2.1 > To: > Message-ID: > Content-Type: text/plain; charset=3D"iso-8859-1" > > My system hangs when installing 5.2.1. It boots from the CD & then =20= > begins > to boot the kernel. It hangs at the line "Time counters click every =20= > 10.000 > msecs". I've reset the BIOS to defaults. The board is an ASUS A7N8X =20= > with > Nvidia chipset. The install CD is good because I've successfully =20 > installed > on other computers. Does anyone have any ideas? > > Thanks > > > ------------------------------ > > Message: 24 > Date: Thu, 29 Apr 2004 09:39:29 -0700 (PDT) > From: samy lancher > Subject: Weird messages in daily run report. > To: freebsd-questions@freebsd.org > Message-ID: <20040429163930.13764.qmail@web60301.mail.yahoo.com> > Content-Type: text/plain; charset=3Dus-ascii > > Hello, > I have a freeBSD 4.7, sendmail server. I use both IMAP, squrrielmail =20= > and POP3, outlook. Today i got very strange messages under "Checking =20= > for rejected mail hosts:" section in my daily run report . Everyday I =20= > used to get 3 to 4 messages in this section but today i recevied alot. = =20 > Lately the users are receiving lot of virus emails too. Is there some =20= > thing i need to worry about?. Below are the messages i got in todays =20= > daily report. > > mail in local queue: > /var/spool/mqueue is empty > Total requests: 0 > Mail in submit queue: > /var/spool/clientmqueue is empty > Total requests: 0 > Security check: > (output mailed separately) > Checking for rejected mail hosts: > 4 CORNERSTONE.COMSMTPNEMETHL > 2 cor__recip_version1.0_ > 2 168.com > 1 tuftsr > 1 mocke > 1 relay.us.dnb.com > 1 oh-design.com__recip_version1.0_ > 1 oh-design.com6 > 1 oh-design.c__recip_version1.0_ > 1 machiavelli.synacor.com > 1 hertzcom.hertz.com > 1 hertz__substg1.0_1035001E > 1 heci.c__substg1.0_3003001E > 1 gateway.2wire.net > 1 dfw.cnsx.com > 1 cornerstone__recip_version1.0_ > 1 cornerstone.comSubject > 1 cornerstone.comSMTPsacsup > 1 cornerstone.comSMTPgilest > 1 cornerstone.comSMTProbertst > 1 cornerstone.comSMTProbertse__substg1.0_300B0102 > 1 cornerstone.comSMTProbertse > 1 cornerstone.c__substg1.0_0FFF0102 > 1 cornerstone.c__substg1.0_001A001E > 1 cornerstone.c__recip_version1.0_ > 1 cornerstone.__recip_version1.0_ > 1 cornerstone__substg1.0_00430102 > 1 corners__substg1.0_300B0102 > 1 cor__substg1.0_300B0102 > 1 c__substg1.0_300B0102 > 1 c__substg1.0_0E1D001E > 1 RxMore03.com > 1 OUTGOING64.myaccountemail.com > 1 OUTGOING136.myaccountemail.com > 1 CONERSTONE.COM > 1 6g4563q6f.com > 1 247MedsRx.com > 1 01C3504B.0E63 > 1 01C34952.33BA5020 > 1 01C33A5C.E217F910 > 1 01C31338.33CDAF80 > 1 01C30B51.824E1E40 > 1 01C2F79E.CFBBCCC0 > 1 01C2EEDD.5769A680 > 1 01C2D379.BEBF5930 > 1 01C2D288.B62CF4E0 > 1 01C2CCF8.78098240 > 1 01C2CCF4.5FBB1D60 > 1 01C2CCF3.6A077CB0 > > > Thanks, > Naveen. > > =09 > --------------------------------- > Do you Yahoo!? > Win a $20,000 Career Makeover at Yahoo! HotJobs =46rom =20 > owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 09:53:19 2004 > Return-Path: > Delivered-To: freebsd-questions@freebsd.org > Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) > by hub.freebsd.org (Postfix) with ESMTP id 1B5D016A4CE > for ; > Thu, 29 Apr 2004 09:53:19 -0700 (PDT) > Received: from smtp1.experience.com (shields.experience.com =20 > [64.94.244.50]) > by mx1.FreeBSD.org (Postfix) with ESMTP id D2FDA43D1F > for ; > Thu, 29 Apr 2004 09:53:18 -0700 (PDT) (envelope-from = cs@ctzen.com) > Received: from ctzen.com (rpaushter.experience.com [10.50.4.40]) > by smtp1.experience.com (Postfix) with ESMTP id F36D51009E > for ; > Thu, 29 Apr 2004 12:53:17 -0400 (EDT) > Message-ID: <409132FD.1020001@ctzen.com> > Date: Thu, 29 Apr 2004 12:53:17 -0400 > From: Chiang Seng Chang > User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) > X-Accept-Language: en-us, en > MIME-Version: 1.0 > To: freebsd-questions@freebsd.org > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > Content-Transfer-Encoding: 7bit > Subject: kadmind and kpasswdd listen ip address > X-BeenThere: freebsd-questions@freebsd.org > X-Mailman-Version: 2.1.1 > Precedence: list > List-Id: User questions > List-Unsubscribe: =20 > , > = > List-Archive: > List-Post: > List-Help: = > List-Subscribe: =20 > , > = > > hi, > > this there anyway to specify the listening ip addresses of kadmind and > kpasswdd ? > > -cs > > ------------------------------ > > Message: 25 > Date: Thu, 29 Apr 2004 20:02:58 +0300 > From: Ion-Mihai Tetcu > Subject: Re: Help... > To: "Carlos Castro" > Cc: freebsd-questions@FreeBSD.ORG > Message-ID: <20040429200258.367af8c3@it.buh.cameradicommercio.ro> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Apr 2004 12:04:30 -0400 > "Carlos Castro" wrote: > >> Hi there: > > 1. If you use an relevant subject line your chances to get an reply = are > bigger. > > 2. You don't say what you are running. please provide output of > uname -a > > 3. In case of hardware related problems including relevant part of =20 > dmesg > is crucial. > > 4. Did you try to boot the old kernel ? If not, boot in single mode > (boot -s on 4.x or the relevant option in 5.x) and type: unload > boot kernel.old > >> I'm trying to recompile my kernel to add sound abilities for my ess =20= >> 1869 >> sound card. I've taken the generic file and added simply the "options >> pcm" line. The file configs, depends, and installs flawlessly. =20 >> However, >> it doesn't boot! Well, it does, but when mounting the root file =20 >> system, >> it exits with this message: >> >> Mounting root from ufs: /dev/ad0s2a >> Pid 41 (sh), uid 0: exited on signal 8 >> Init: /bin/sh on /etc/rc terminated abnormally, going to single user >> mode > > You must have changed something else too. > > > --=20 > IOnut > Unregistered ;) FreeBSD "user" > > > ------------------------------ > > Message: 26 > Date: Thu, 29 Apr 2004 12:57:23 -0400 > From: Bill Moran > Subject: Re: Weird messages in daily run report. > To: samy lancher > Cc: freebsd-questions@freebsd.org > Message-ID: <409133F3.4030009@potentialtech.com> > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > samy lancher wrote: >> Hello, >> I have a freeBSD 4.7, sendmail server. I use both IMAP, squrrielmail =20= >> and POP3, outlook. >> Today i got very strange messages under "Checking for rejected mail =20= >> hosts:" section in >> my daily run report . Everyday I used to get 3 to 4 messages in this =20= >> section but today >> i recevied alot. Lately the users are receiving lot of virus emails =20= >> too. Is there some >> thing i need to worry about?. Below are the messages i got in todays =20= >> daily report. > > These messages mean your mail server is refusing to relay mail for the = =20 > servers listed. > It's most likely someone hoping to hijack your server to relay spam. =20= > The fact that > they're failing is A Good Thing. > >> >> mail in local queue: >> /var/spool/mqueue is empty >> Total requests: 0 >> Mail in submit queue: >> /var/spool/clientmqueue is empty >> Total requests: 0 >> Security check: >> (output mailed separately) >> Checking for rejected mail hosts: >> 4 CORNERSTONE.COMSMTPNEMETHL >> 2 cor__recip_version1.0_ >> 2 168.com >> 1 tuftsr >> 1 mocke >> 1 relay.us.dnb.com >> 1 oh-design.com__recip_version1.0_ >> 1 oh-design.com6 >> 1 oh-design.c__recip_version1.0_ >> 1 machiavelli.synacor.com >> 1 hertzcom.hertz.com >> 1 hertz__substg1.0_1035001E >> 1 heci.c__substg1.0_3003001E >> 1 gateway.2wire.net >> 1 dfw.cnsx.com >> 1 cornerstone__recip_version1.0_ >> 1 cornerstone.comSubject >> 1 cornerstone.comSMTPsacsup >> 1 cornerstone.comSMTPgilest >> 1 cornerstone.comSMTProbertst >> 1 cornerstone.comSMTProbertse__substg1.0_300B0102 >> 1 cornerstone.comSMTProbertse >> 1 cornerstone.c__substg1.0_0FFF0102 >> 1 cornerstone.c__substg1.0_001A001E >> 1 cornerstone.c__recip_version1.0_ >> 1 cornerstone.__recip_version1.0_ >> 1 cornerstone__substg1.0_00430102 >> 1 corners__substg1.0_300B0102 >> 1 cor__substg1.0_300B0102 >> 1 c__substg1.0_300B0102 >> 1 c__substg1.0_0E1D001E >> 1 RxMore03.com >> 1 OUTGOING64.myaccountemail.com >> 1 OUTGOING136.myaccountemail.com >> 1 CONERSTONE.COM >> 1 6g4563q6f.com >> 1 247MedsRx.com >> 1 01C3504B.0E63 >> 1 01C34952.33BA5020 >> 1 01C33A5C.E217F910 >> 1 01C31338.33CDAF80 >> 1 01C30B51.824E1E40 >> 1 01C2F79E.CFBBCCC0 >> 1 01C2EEDD.5769A680 >> 1 01C2D379.BEBF5930 >> 1 01C2D288.B62CF4E0 >> 1 01C2CCF8.78098240 >> 1 01C2CCF4.5FBB1D60 >> 1 01C2CCF3.6A077CB0 > > > --=20 > Bill Moran > Potential Technologies > http://www.potentialtech.com > > ------------------------------ > > Message: 27 > Date: Thu, 29 Apr 2004 17:01:31 +0000 > From: Mikkel Christensen > Subject: Re: Installing Free BSD 5.2.1 > To: freebsd-questions@freebsd.org > Message-ID: <200404291701.32037.mikkel@talkactive.net> > Content-Type: text/plain; charset=3D"iso-8859-1" > > On Thursday 29 April 2004 16:35, MrBluez2U wrote: >> My system hangs when installing 5.2.1. It boots from the CD & then =20= >> begins >> to boot the kernel. It hangs at the line "Time counters click every =20= >> 10.000 >> msecs". I've reset the BIOS to defaults. The board is an ASUS A7N8X = =20 >> with >> Nvidia chipset. The install CD is good because I've successfully =20 >> installed >> on other computers. Does anyone have any ideas? >> > > Try with an older CD drive. I've tried numerous times when new drives =20= > are failing me at some point of the installation. > Older slower drives works just fine. After FreeBSD is installed the =20= > new drives work just fine. > > My theory is that the installation program only has primitive =20 > CD-drivers that can't cope with many new high speed drives. > Of course I know nothing about this. But older drives tend to work:) > > - Mikkel > > ------------------------------ > > Message: 28 > Date: Thu, 29 Apr 2004 13:02:06 -0400 > From: Bill Moran > Subject: Re: Dumb question > To: Jay Chen > Cc: freebsd-questions@FreeBSD.org > Message-ID: <4091350E.8050807@potentialtech.com> > Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed > > Jay Chen wrote: >> To Whom It May Concern: >> >> I have a Dell computer with Window XP and two hard disks (76 GB = each). >> The XP is located on C: and I am planning to install the FreeBSD on =20= >> the >> second hard drive (D: at this time). >> >> I like to be able to boot either of these two Operating systems with = a >> selection at the time when I turn on the computer. Unfortunately, I >> failed. During installation of the BSD, my understanding is that I >> still need to have the Boot Manager residing on C. I guess that that >> result a rewritten of the boot related files (boot manager). I can =20= >> not >> boot the XP any more. Do you have any suggestions? Where did I do >> wrong? > > It's difficult to be sure what went wrong without more details on =20 > exactly > what you did. I can say two things about it: > 1) It is possible, as I've seen others do it. > 2) You're not the first person to have difficulty, so it's probably a > somewhat difficult thing to do. > > sysinstall is capable of setting up dual-boot automatically when you =20= > only > have one hard drive, but it seems like it has problems sometimes when =20= > there > are two hard drives. > > On the flip side, you should be able to get Windows XP booting again = by > doing the following: > > 1) Find a working windows computer (doesn't matter which version of =20= > Windows > as far as I know) > 2) Use the Windows format program to make a bootable floppy. > 3) Copy the fdisk program from the c: drive to the floppy disk > 4) Boot the computer with the problem off the floppy > 5) When you get an A: prompt, enter "fdisk /mbr" > 6) You should then be able to reboot the computer and have Windows XP =20= > work > again. > > --=20 > Bill Moran > Potential Technologies > http://www.potentialtech.com > > ------------------------------ > > Message: 29 > Date: Thu, 29 Apr 2004 17:13:13 +0000 > From: Mikkel Christensen > Subject: Re: Suexec with Apache 1.3.29 > To: freebsd-questions@freebsd.org > Message-ID: <200404291713.13999.mikkel@talkactive.net> > Content-Type: text/plain; charset=3D"iso-8859-1" > > On Thursday 29 April 2004 14:22, Marty Landman wrote: >> At 10:06 AM 4/29/2004, Mikkel Christensen wrote: >> >>> This seems extremely strange to me. >> >> Why is it strange? The reason I kept trying to install suexec was =20 >> because >> until I did, the development environment I set up on my LAN could =20 >> mirror >> that on my real sites with the exception that all the files & =20 >> directories >> had to be given 777 or equivalent permissions. Otherwise with the = user >> running my cgi's being nobody aka www or httpd files couldn't be =20 >> written >> to, created, deleted etc.. With the types of web apps I write this = was >> becoming not only a royal pain, also a constant reminder to me that = my >> local environment was as insecure as it could be; of course it's =20 >> strictly >> local so not a problem. > > Okay, I can see your point. > But, I still find it annoying that suexec wont execute a script that =20= > is owned by a particular user if another user has group rights to the =20= > script. > Eg I would like execution to be run under user1, both the User end =20 > Group. > > My idea is that if the file is owned by user1 and the file's group is =20= > www it would give more possibilities to the user for denying other =20 > users access. > > Eg. the user (user1) could deny other regular users on the server =20 > access by s=E6tting chmod xx0. > He could allow the webserver to read his files with chmod x4x and the =20= > give execution, read and write rights to himself with chmod 7xx. > Now he has to give the webserver the same rights as everybody else on =20= > the server. This is a problem if he stores passwords in a php-script. =20= > Apache will interpret it and therefore not let anyone se the source =20= > while other users can read the content as they please. > This seems to be more unsecure, or am I wrong? > I get the idea that if other group members have access to the file =20 > they could potentially write their own content. Bus usually the group =20= > doen's have write access to files. And also, no users are members of =20= > the www group by default. > >> >>> But following theese rules it works as it should. >> >> With suexec running, a cgi gets set to 744 or 700 instead of 755; a =20= >> data >> file e.g. log or count file gets 644 or 600 instead of 666. It's =20 >> amazing to >> me that more vandalism and cross site scripting doesn't occur given =20= >> the >> servers that still don't run suexec, or the users that aren't hip to =20= >> using >> it properly for setting permissions when the server does support it. >> > > Can't argue with that:) > > - Mikkel > > ------------------------------ > > Message: 30 > Date: Thu, 29 Apr 2004 17:17:48 +0000 > From: Mikkel Christensen > Subject: Re: failed php4 install...can't figure this one out > To: freebsd-questions@freebsd.org > Message-ID: <200404291717.48287.mikkel@talkactive.net> > Content-Type: text/plain; charset=3D"iso-8859-1" > > On Thursday 29 April 2004 16:22, Jason Williams wrote: >> After that, I tried installing the following port: >> >> /usr/ports/lang/php4 >> >> Granted, i'm not entirely familiar with php and noticed there are =20 >> quite a >> few variations of what i can install. >> When it came down to selecting what I wanted to build PHP with, I =20 >> left the >> defaults selected, but made sure GD and MySQL were selected. >> >> After it crunched for awhile, I got the following error: >> >> configure: error: libjpeg.(a|so) not found. >> =3D=3D=3D> Script "configure" failed unexpectedly. >> Please report the problem to ale@FreeBSD.org [maintainer] and attach =20= >> the >> "/usr/ports/lang/php4/work/php-4.3.6/config.log" including the output = =20 >> of the >> failure of your make command. Also, it might be a good idea to =20 >> provide an >> overview of all packages installed on your system (e.g. an `ls =20 >> /var/db/pkg`). >> *** Error code 1 >> >> Stop in /usr/ports/lang/php4. >> *** Error code 1 >> >> Stop in /usr/ports/lang/php4. >> > > You should not install ports directly from the /usr/ports/lang =20 > directory. > The content here seems to be ports that other ports use in a =20 > combination. Not stand alone ports. > My guess is that /usr/ports/lang/php4 propably does not have a =20 > dependency list and therefore required ports are not installed =20 > automatically. > Instead, try /usr/ports/www/mod_php4 or /usr/ports/www/php4-cgi > > That will work - i hope:) > > - Mikkel > > ------------------------------ > > Message: 31 > Date: Thu, 29 Apr 2004 18:32:18 +0100 > From: Peter Risdon > Subject: Re: failed php4 install...can't figure this one out > To: Mikkel Christensen > Cc: freebsd-questions@freebsd.org > Message-ID: <40913C22.4020903@circlesquared.com> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > Mikkel Christensen wrote: > >> On Thursday 29 April 2004 16:22, Jason Williams wrote: >> >> >>> After that, I tried installing the following port: >>> >>> /usr/ports/lang/php4 >>> >>> Granted, i'm not entirely familiar with php and noticed there are =20= >>> quite a >>> few variations of what i can install. >>> When it came down to selecting what I wanted to build PHP with, I =20= >>> left the >>> defaults selected, but made sure GD and MySQL were selected. >>> >>> After it crunched for awhile, I got the following error: >>> >>> configure: error: libjpeg.(a|so) not found. >>> =3D=3D=3D> Script "configure" failed unexpectedly. >>> Please report the problem to ale@FreeBSD.org [maintainer] and attach = =20 >>> the >>> "/usr/ports/lang/php4/work/php-4.3.6/config.log" including the =20 >>> output of the >>> failure of your make command. Also, it might be a good idea to =20 >>> provide an >>> overview of all packages installed on your system (e.g. an `ls =20 >>> /var/db/pkg`). >>> *** Error code 1 >>> >>> Stop in /usr/ports/lang/php4. >>> *** Error code 1 >>> >>> Stop in /usr/ports/lang/php4. >>> >>> >>> >> >> You should not install ports directly from the /usr/ports/lang =20 >> directory. >> The content here seems to be ports that other ports use in a =20 >> combination. Not stand alone ports. >> >> > > I don't think that's true. You're right to say that other ports use =20= > this > directory; take the mod_php4 port as an example. The Makefile is: > > less /usr/ports/www/mod_php4/Makefile > # New ports collection makefile for: mod_php4 > # Date created: Sun May 28 11:31:54 CEST 2000 > # Whom: Dirk Froemberg > # > # $FreeBSD: ports/www/mod_php4/Makefile,v 1.191 2003/06/06 17:43:59 =20= > nork > Exp $ > # > # Instructions on how to enable preferred extensions can be found in =20= > the > # Makefile of the master port (lang/php4). > # > > PORTEPOCH=3D 1 > CATEGORIES=3D www > > MAINTAINER=3D sysadmin@alexdupre.com > > PKGMESSAGE=3D ${.CURDIR}/pkg-message > MASTERDIR=3D ${.CURDIR}/../../lang/php4 > > WITHOUT_CLI=3D yes > > .include "${MASTERDIR}/Makefile" > > > So it's a sort of wrapper for lang/php4 with the configure argument > WITHOUT_CLI =3D yes but you should still be able to use the lang/php4 =20= > port > if you wish. I always do. > > The problem for the OP is a dependency, though. No idea why it wasn't > pulled in automatically but the fix would be to install graphics/jpeg > and try again. > > PWR. > > > > ------------------------------ > > Message: 32 > Date: Thu, 29 Apr 2004 20:42:02 +0300 > From: Ion-Mihai Tetcu > Subject: Re: failed php4 install...can't figure this one out > To: Mikkel Christensen > Cc: freebsd-questions@freebsd.org > Message-ID: <20040429204202.747e4cb5@it.buh.cameradicommercio.ro> > Content-Type: text/plain; charset=3DUS-ASCII > > > [ 72 chars / line, please ] > > On Thu, 29 Apr 2004 17:17:48 +0000 > Mikkel Christensen wrote: > >> On Thursday 29 April 2004 16:22, Jason Williams wrote: >>> After that, I tried installing the following port: >>> >>> /usr/ports/lang/php4 >>> >>> Granted, i'm not entirely familiar with php and noticed there are >>> quite a few variations of what i can install. >>> When it came down to selecting what I wanted to build PHP with, I >>> left the defaults selected, but made sure GD and MySQL were >>> selected. > [..] > >>> >> >> You should not install ports directly from the /usr/ports/lang >> directory. > > You are wrong all the way. Pleas don't FUD people if you have no clue. > Take a look at the Makefile first. > >> The content here seems to be ports that other ports use in a >> combination. Not stand alone ports. > > Wrong. > >> My guess is that >> /usr/ports/lang/php4 propably does not have a dependency list and >> therefore required ports are not installed automatically. > > I doubt, but for the OP: > - uname -a > - date of last cvsup for ports, and the tag from cvsup file > - cat /var/db/ports/php4/options > > Thanks, > > > --=20 > IOnut > Unregistered ;) FreeBSD "user" > > > ------------------------------ > > Message: 33 > Date: Thu, 29 Apr 2004 17:44:17 +0000 > From: Mikkel Christensen > Subject: Re: failed php4 install...can't figure this one out > To: freebsd-questions@freebsd.org > Message-ID: <200404291744.17672.mikkel@talkactive.net> > Content-Type: text/plain; charset=3D"iso-8859-1" > > On Thursday 29 April 2004 17:42, Ion-Mihai Tetcu wrote: >> >> [ 72 chars / line, please ] >> >> On Thu, 29 Apr 2004 17:17:48 +0000 >> Mikkel Christensen wrote: >> >>> On Thursday 29 April 2004 16:22, Jason Williams wrote: >>>> After that, I tried installing the following port: >>>> >>>> /usr/ports/lang/php4 >>>> >>>> Granted, i'm not entirely familiar with php and noticed there are >>>> quite a few variations of what i can install. >>>> When it came down to selecting what I wanted to build PHP with, I >>>> left the defaults selected, but made sure GD and MySQL were >>>> selected. >> [..] >> >>>> >>> >>> You should not install ports directly from the /usr/ports/lang >>> directory. >> >> You are wrong all the way. Pleas don't FUD people if you have no = clue. >> Take a look at the Makefile first. >> > > Thats was why I wrote "my guess is"... I'm not telling anyone how =20 > things are. > > ------------------------------ > > Message: 34 > Date: Thu, 29 Apr 2004 20:48:45 +0300 > From: Ion-Mihai Tetcu > Subject: Re: failed php4 install...can't figure this one out > To: Jason Williams > Cc: freebsd-questions@freebsd.org > Message-ID: <20040429204845.4cba0a87@it.buh.cameradicommercio.ro> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Apr 2004 09:22:38 -0700 > Jason Williams wrote: > >> Hello everyone. >> >> I'm trying to setup a web server that will be running PHP, Apache and >> mysql. The system will be running FreeBSD 4.9. >> The system was going to be setup to run the following program: >> >> http://mailwatch.sourceforge.net/ > > Unrelevant. > >> I cvsuped my ports and source tree and patched as needed. >> >> After that, I tried installing the following port: >> >> /usr/ports/lang/php4 >> >> Granted, i'm not entirely familiar with php and noticed there are =20 >> quite a >> few variations of what i can install. >> When it came down to selecting what I wanted to build PHP with, I =20 >> left the >> defaults selected, but made sure GD and MySQL were selected. > > OK. > >> After it crunched for awhile, I got the following error: >> >> configure: error: libjpeg.(a|so) not found. >> =3D=3D=3D> Script "configure" failed unexpectedly. >> Please report the problem to ale@FreeBSD.org [maintainer] and attach =20= >> the >> "/usr/ports/lang/php4/work/php-4.3.6/config.log" including the output = =20 >> of the >> failure of your make command. Also, it might be a good idea to =20 >> provide an >> overview of all packages installed on your system (e.g. an `ls =20 >> /var/db/pkg`). >> *** Error code 1 > > And what do you do when reading above ? > > config.log ? > ls /var/db/pkg ? > > How can we guess ? > >> I scanned through the config.log but did not see anything that stood =20= >> out at me. > > We didn't see your config.log, you know. > >> Any ideas on what I could be missing? > > http://www.lemis.com/questions.html > > > --=20 > IOnut > Unregistered ;) FreeBSD "user" > > > ------------------------------ > > Message: 35 > Date: Thu, 29 Apr 2004 20:52:09 +0300 > From: Ion-Mihai Tetcu > Subject: Re: failed php4 install...can't figure this one out > To: Peter Risdon > Cc: Mikkel Christensen > Message-ID: <20040429205209.256b3995@it.buh.cameradicommercio.ro> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Apr 2004 18:32:18 +0100 > Peter Risdon wrote: > >> Mikkel Christensen wrote: >> >>> On Thursday 29 April 2004 16:22, Jason Williams wrote: >>> >>> >>>> After that, I tried installing the following port: >>>> >>>> /usr/ports/lang/php4 > > [..] > >>>> configure: error: libjpeg.(a|so) not found. >>>> =3D=3D=3D> Script "configure" failed unexpectedly. > > [..] > >> I don't think that's true. You're right to say that other ports use =20= >> this >> directory; take the mod_php4 port as an example. The Makefile is: > > [..] > >> So it's a sort of wrapper for lang/php4 with the configure argument >> WITHOUT_CLI =3D yes but you should still be able to use the lang/php4 = =20 >> port >> if you wish. I always do. > > Obvious. > >> The problem for the OP is a dependency, though. No idea why it wasn't >> pulled in automatically > > It should be: > > .if defined(WITH_GD) > LIB_DEPENDS+=3D freetype.9:${PORTSDIR}/print/freetype2 > LIB_DEPENDS+=3D t1.5:${PORTSDIR}/devel/t1lib > LIB_DEPENDS+=3D png.5:${PORTSDIR}/graphics/png > LIB_DEPENDS+=3D jpeg.9:${PORTSDIR}/graphics/jpeg > CONFIGURE_ARGS+=3D--with-gd \ > --enable-gd-native-ttf \ > --enable-gd-jis-conv \ > --with-freetype-dir=3D${LOCALBASE} \ > --with-t1lib=3D${LOCALBASE} \ > --with-jpeg-dir=3D${LOCALBASE} \ > --with-png-dir=3D${LOCALBASE} > .if !defined(WITHOUT_X11) > LIB_DEPENDS+=3D Xpm.4:${PORTSDIR}/x11/XFree86-4-libraries > CONFIGURE_ARGS+=3D--with-xpm-dir=3D${X11BASE} > .endif > .if defined(WITH_LZW) > CONFIGURE_ARGS+=3D--enable-gd-lzw-gif > .endif > .endif > > >> but the fix would be to install graphics/jpeg and try again. > > I've builded today on an 5-current and is OK. The OP should provide > more details. > > > --=20 > IOnut > Unregistered ;) FreeBSD "user" > > > ------------------------------ > > Message: 36 > Date: Thu, 29 Apr 2004 20:58:13 +0300 > From: Ion-Mihai Tetcu > Subject: Re: failed php4 install...can't figure this one out > To: Mikkel Christensen > Cc: freebsd-questions@freebsd.org > Message-ID: <20040429205813.13f7d18e@it.buh.cameradicommercio.ro> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Apr 2004 17:44:17 +0000 > Mikkel Christensen wrote: > >> On Thursday 29 April 2004 17:42, Ion-Mihai Tetcu wrote: >>> >>> [ 72 chars / line, please ] >>> >>> On Thu, 29 Apr 2004 17:17:48 +0000 >>> Mikkel Christensen wrote: >>> >>>> On Thursday 29 April 2004 16:22, Jason Williams wrote: >>>>> After that, I tried installing the following port: >>>>> >>>>> /usr/ports/lang/php4 >>>>> >>>>> Granted, i'm not entirely familiar with php and noticed there are >>>>> quite a few variations of what i can install. >>>>> When it came down to selecting what I wanted to build PHP with, I >>>>> left the defaults selected, but made sure GD and MySQL were >>>>> selected. >>> [..] >>> >>>>> >>>> >>>> You should not install ports directly from the /usr/ports/lang >>>> directory. >>> >>> You are wrong all the way. Pleas don't FUD people if you have no =20 >>> clue. >>> Take a look at the Makefile first. >>> >> >> Thats was why I wrote "my guess is"... I'm not telling anyone how =20 >> things are. > > Please start the reply with those words then; other may miss as I did, = =20 > sorry. > Thanks. > > There are no such ports that "other ports use in a combination" the = way > you see it; if an dependence is not being pulled out automatically = that > means the port is broken, which is not the case, AFAIK. At least on = one > of my 5.x system I've installed today. > > > --=20 > IOnut > Unregistered ;) FreeBSD "user" > > > ------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to =20 > "freebsd-questions-unsubscribe@freebsd.org" > > End of freebsd-questions Digest, Vol 58, Issue 13 > ************************************************* >