From owner-freebsd-questions@FreeBSD.ORG Tue Jun 26 06:46:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C068D16A421 for ; Tue, 26 Jun 2007 06:46:15 +0000 (UTC) (envelope-from prabin007@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id 0510C13C45A for ; Tue, 26 Jun 2007 06:46:14 +0000 (UTC) (envelope-from prabin007@gmail.com) Received: by nz-out-0506.google.com with SMTP id 34so720108nzf for ; Mon, 25 Jun 2007 23:46:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BPxCQDWhfYSTpNP/zUF/YL6B6PTHQCxE0BSFMNnJ6jnshxzgIKRREiAFwKX28lw3KtlD+uQsPvtaC+CVFNxBkMuVW+9Olak4sM1kD0WJX1MsIMDm7cbYXbiPiIZrtFjPfsff+7skxufOlJgIcpwCUqY5pG66olt0HwTS+DIGfqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=drrfh5yytJkHpzg1JM2udGLzIOCi2vx6ZvKSRWmcuq/cw2o61DFhPLKUQpzXjVDCGov24+rSHub8wyRICyD440bHmiUPc2F2KTs3ze3Bww1oDSXm/2UswNZGpGRiBTQvp1ZQ6+5CM6DKPTNNxuN1wSuSy324g1JnufA/G6W1/ng= Received: by 10.114.175.16 with SMTP id x16mr6127003wae.1182838642559; Mon, 25 Jun 2007 23:17:22 -0700 (PDT) Received: by 10.115.94.18 with HTTP; Mon, 25 Jun 2007 23:17:22 -0700 (PDT) Message-ID: <363a0a600706252317u33e049fct4cc7fa5783b2aba9@mail.gmail.com> Date: Tue, 26 Jun 2007 12:02:22 +0545 From: "Eliena Andrews" To: freebsd-questions@freebsd.org In-Reply-To: <20070625182424.451FF16A492@hub.freebsd.org> MIME-Version: 1.0 References: <20070625182424.451FF16A492@hub.freebsd.org> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: freebsd-questions Digest, Vol 184, Issue 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 06:46:15 -0000 Hii, Can i expect more on "Network Problem in FreeBSD 6.2-RELEASE-p5" on upcomin= g digests ??? On 6/26/07, freebsd-questions-request@freebsd.org < freebsd-questions-request@freebsd.org> 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. Re: Re[2]: How do I get libphp5.so back (Andrew Falanga) > 2. Re: Regular Freezes (Lowell Gilbert) > 3. Re: Regular Freezes (Grant Peel) > 4. Re: More XORG_UPGRADE questions (Lowell Gilbert) > 5. Re: problem making gnome-applets (Lowell Gilbert) > 6. Starting again from Scratch (Graham Bentley) > 7. script to update my ports tree (Olivier Regnier) > 8. Re: FreeBSD 6.2-STABLE / Gnome / Beryl (recipe) (Reid Linnemann) > 9. Starting Scripts (Scott Mayo) > 10. Re: Starting again from Scratch (Peter Schuller) > 11. Hello 1 question about close console (oim) > 12. Re: Hello 1 question about close console (Bill Moran) > 13. Re: Permanent apache patch (Roland Smith) > 14. Re: Starting again from Scratch (Roland Smith) > 15. Re: Starting Scripts (Kevin Kinsey) > 16. Repopulating the GENERIC kernel (Tim Daneliuk) > 17. Re: Gnome2 +FreeBSD , help (Eduardo Viruena Silva) > 18. Re: Starting again from Scratch (Graham Bentley) > 19. Re: Starting again from Scratch (Manolis Kiagias) > 20. Re: Repopulating the GENERIC kernel (Pietro Cerutti) > 21. Re: Starting again from Scratch (Graham Bentley) > 22. Re: Starting Scripts (RW) > 23. Re: Starting again from Scratch (Roland Smith) > 24. Re: Starting again from Scratch (Graham Bentley) > 25. Re: Starting again from Scratch (RW) > 26. Re: questions about floppy disk (Eduardo Viruena Silva) > 27. Re: Starting again from Scratch (Manolis Kiagias) > 28. Re: Network Problem in FreeBSD 6.2-RELEASE-p5 (Lowell Gilbert) > 29. Re: Starting Scripts (Scott Mayo) > 30. Re: Permanent apache patch (Lowell Gilbert) > 31. Re: script to update my ports tree (Daniel Bye) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 25 Jun 2007 07:24:41 -0600 > From: "Andrew Falanga" > Subject: Re: Re[2]: How do I get libphp5.so back > To: "User Questions" > Message-ID: > <340a29540706250624m486a6f4w764b3d8429bb29ef@mail.gmail.com> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > On 6/24/07, Gerard wrote: > > On June 23, 2007 at 06:20PM Andrew Falanga wrote: > > > > > > > I found this just before reading this message. I was reading in > > > UPDATING on something that wasn't quite related to my problem about > > > PHP and saw a suggestion to do "make config" before upgrading. Well, > > > I decided to try that and sure enough, the Apache module wasn't > > > selected. > > > > > > I figure what must have happened was some time ago I did a portupgrad= e > > > -a and in that I must have deselected that module from the build and > > > lost it. Thanks again. Everything's working now, even the pgsql > > > module. > > > > Hi Andy, > > > > I is always a good idea to run 'make config' or perhaps 'make > > config-recursive' or 'make config-conditional' in a port before > > installing it for the first time. Check out 'man ports' for further > > information. > > > > Thanks, I'll look into this. > > Andy > > > ------------------------------ > > Message: 2 > Date: Mon, 25 Jun 2007 09:50:42 -0400 > From: Lowell Gilbert > Subject: Re: Regular Freezes > To: "SigmaX asdf" > Cc: freebsd-questions@freebsd.org > Message-ID: <448xa8gn2l.fsf@be-well.ilk.org> > Content-Type: text/plain; charset=3Dus-ascii > > "SigmaX asdf" writes: > > > My FreeBSD 6.1 gateway box keeps freezing totally. It seems to happen > > when there's a large burst of network traffic on my internal interface > > (i.e. download, flash movie, I-radio). > > > > I've already done a memtest, and it came out clean. Any ideas as to > > what logs might help me trouble shoot? > > I'd still estimate that hardware is more likely than not to be the > cause of the problem; perhaps a power issue. > > If you can get the kernel to dump into the debugger after the freeze, > that would be a big help. > > You didn't mention what kind of Ethernet hardware is involved, but you > could search for past problems that others may have had. > > Even on my fairly low-volume home servers (and firewall), I have found > that low-quality Ethernet hardware has caused a lot of problems... > > > ------------------------------ > > Message: 3 > Date: Mon, 25 Jun 2007 09:57:50 -0400 > From: "Grant Peel" > Subject: Re: Regular Freezes > To: > Message-ID: <006101c7b730$d1c350a0$6501a8c0@GRANT> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Hmm, had exactly the same issue on 6.0. > > Turned out to be a filesystem quota issue. Updateing to 6.2 fixed that. > > Are quotas enabled? > > -Grant > ----- Original Message ----- > From: Lowell Gilbert > To: SigmaX asdf > Cc: freebsd-questions@freebsd.org > Sent: Monday, June 25, 2007 9:50 AM > Subject: Re: Regular Freezes > > > "SigmaX asdf" writes: > > > My FreeBSD 6.1 gateway box keeps freezing totally. It seems to happen > > when there's a large burst of network traffic on my internal interfac= e > > (i.e. download, flash movie, I-radio). > > > > I've already done a memtest, and it came out clean. Any ideas as to > > what logs might help me trouble shoot? > > I'd still estimate that hardware is more likely than not to be the > cause of the problem; perhaps a power issue. > > If you can get the kernel to dump into the debugger after the freeze, > that would be a big help. > > You didn't mention what kind of Ethernet hardware is involved, but you > could search for past problems that others may have had. > > Even on my fairly low-volume home servers (and firewall), I have found > that low-quality Ethernet hardware has caused a lot of problems... > _______________________________________________ > 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" > > > -------------------------------------------------------------------------= ----- > Total Control Panel Login > To: gpeel@thenetnow.com Block messages from this sender > (blacklist) > From: owner-freebsd-questions@freebsd.org Remove this sender fro= m > my whitelist > > You received this message because the sender is on your whitelist= . > > > ------------------------------ > > Message: 4 > Date: Mon, 25 Jun 2007 10:04:44 -0400 > From: Lowell Gilbert > Subject: Re: More XORG_UPGRADE questions > To: Blah Blatz > Cc: freebsd-questions@freebsd.org > Message-ID: <44zm2of7ur.fsf@be-well.ilk.org> > Content-Type: text/plain; charset=3Dus-ascii > > Blah Blatz writes: > > > Thanks for the responses to the previous ones. > > > > If I have successfully upgraded to xorg 7.2, and later I want to do > > a portupgrade of my installed ports to a newer version, and those > > include xorg or some xorg-related ports, do I have to again make > > sure that XORG_UPGRADE is set? > > > > Or, after having successfully upgraded to 7.2, can I forget about > > XORG_UPGRADE forever (at least, until the next time that I install > > xorg on a fresh box)? > > > > How long is it planned/expected to be so that people installing on a > > fresh box (or, depending on the answer to that last question, > > upgrading their existing 7.2+) have to know/remember XORG_UPGRADE? > > > > If I use portupgrade-devel to upgrade to 7.2, can I then go back to > > plain old portupgrade and not have to worry about it screwing up > > future updates to xorg/xorg-related stuff, or do I have to keep > > portupgrade-devel indefinitely? > > As far as I can see, the variable won't have an effect on your future > upgrades. I plan on sticking with portupgrade-devel until the regular > version catches up to where the -devel version is at now. > > > ------------------------------ > > Message: 5 > Date: Mon, 25 Jun 2007 10:10:30 -0400 > From: Lowell Gilbert > Subject: Re: problem making gnome-applets > To: Blah Blatz > Cc: freebsd-questions@freebsd.org > Message-ID: <44tzswf7l5.fsf@be-well.ilk.org> > Content-Type: text/plain; charset=3Dus-ascii > > Blah Blatz writes: > > > I'm trying to make /usr/ports/x11/gnome2, and it's failing in > /usr/ports/x11/gnome-applets. More specifically, in charpick/help, when > it's trying to do an xml2po on char-palette.xml. Here's the interesting > part of the output: > > > > gmake[3]: Entering directory `/usr/ports/x11/gnome-applets/work/gnome- > applets-2.18.0/charpick/help' > > if ! test -d bg/; then mkdir bg/; fi > > case "." in /*) sd=3D".";; *) sd=3D"../.";; esac; \ > > if [ -f "C/char-palette.xml" ]; then d=3D"../"; else d=3D"$sd/"; fi= ; \ > > (cd bg/ && \ > > `which xml2po` -e -p \ > > "${d}bg/bg.po" \ > > "${d}C/char-palette.xml" > char-palette.xml.tmp && \ > > cp char-palette.xml.tmp char-palette.xml && rm -f > char-palette.xml.tmp) > > Segmentation fault (core dumped) > > gmake[3]: *** [bg/char-palette.xml] Error 139 > > > > There's a python core file in there, so I'm guessing that python is the > thing that actually exploded. > > > > Anybody have any suggestions? > > > You can always install from packages... > > First guesses would be that either your python installation or your > memory is corrupt. Also, make sure that you clean the directory > before trying to build the port (gnome-applets, in particular) again. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > > > ------------------------------ > > Message: 6 > Date: Mon, 25 Jun 2007 15:18:58 +0100 > From: Graham Bentley > Subject: Starting again from Scratch > To: freebsd-questions@freebsd.org > Message-ID: <20070625151858.20ee23ad@3bsd.cpcnw.co.uk> > Content-Type: text/plain; charset=3DUS-ASCII > > OK, I am fairly new to FreeBSD and returning from a long while away. > > I am currently working on an install I have performed from the 6.2 > release discs I downloaded several days ago. > > I chose X-Kern-Dev install and have a mixed bag of pkg_add -r > packages, some programs I have downloaded and compiled from source > from developers sites (Claws-mail and Xfce4 to name 2) as well as > apps I cd'ed into into /usr/ports/name and made [nvidia for 1] > > Whilst I am aware there are more than serveral ways of doing things > and for different reasons I am inviting advice on my target install > which is a 'desktop' for basic office use, based on Xfce4. > > I would like to thank Nikola for his advice and also ask what is > the generally accepted method of installing / keeping updated way > of getting things done? > > I am only aware of the names cvsup, portupgrade, portmanager, > portsnap, make world etc and am getting this round my neck a > bit but this is what I have summized ; > > 1) Do basic [minimal] install of 6.2 rel from disc 1 > 2) pkg_add cvsup-without-gui and get the latest ports installed > 3) Build *everything* from this ports tree [including base/kernel?] > 4) Find out how to keep updated / informed on updates to packages > I have installed, and do so where necessary. > > If anyone can advise, point me in the direction of tutorials > or step by steps, on the above It would be greatly appreciated. > > I would like to understand why its not so great to just install > everything from pkg_add, whats the advantages of ports etc > > Until then I am enjoying using my i386-unknown-freebsd6.2 > installation - even if it more by good luck than good management :) > > Thanks in advance of time spent in replying ! > > > ------------------------------ > > Message: 7 > Date: Mon, 25 Jun 2007 16:51:39 +0200 > From: Olivier Regnier > Subject: script to update my ports tree > To: freebsd-questions@freebsd.org > Message-ID: <467FD67B.9070604@oregnier.net> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Hi everyone, > > I made a shell script in /etc/periodic/daily/610.update-ports-tree and > in my /etc/periodic.conf, this line : > daily_update_ports_tree_enable=3D"YES". > > The problem is simple, my script doesn't start at all. > > Can you help me please ? > > Thank you :) > > > -------------- next part -------------- > #!/bin/sh > > # if there is a global system configuration file, suck it in. > # > if [ -r /etc/defaults/periodic.conf ] > then > . /etc/defaults/periodic.conf > source_periodic_confs > fi > > COUNTRIE=3Dus > RETVAL=3D0 > DATE=3D`date +%d/%m/%Y` > LOGFILE=3D/var/log/system-update-report.log > > selectserver() { > # Checking fastest cvs server > server=3D`/usr/local/bin/fastest_cvsup -c $COUNTRIE | grep "1st" = | \ > awk {'print $3'}` > > # Creating supfile > sed "s/*default host=3D.*/*default host=3D$server/" \ > /usr/share/examples/cvsup/ports-supfile > /etc/ports-supfile > } > > case "$daily_update_ports_tree_enable" in > [Yy][Ee][Ss]) > > # Begin > selectserver > > # Fetching sources files > /usr/bin/csup /etc/ports-supfile > RETVAL=3D$? > if [ $RETVAL !=3D 0 ] > then > echo "-> $DATE - Ports tree: error while fetching sources > files." \ > >> $LOGFILE > exit 0 > fi > > # Creating INDEX.db file > /usr/local/sbin/portsdb -Fu > RETVAL=3D$? > if [ $RETVAL !=3D 0 ] > then > echo "-> $DATE - Ports tree: error while creating INDEX.d= bfile" \ > >> $LOGFILE > exit 0 > fi > > # Checking if applications needs to be updated > LIST=3D`/usr/local/sbin/portversion -l "<"` > RETVAL=3D$? > if [ $RETVAL !=3D 0 ] > then > echo "-> $DATE - Ports tree: error while checking updates= " > \ > >> $LOGFILE > exit 0 > fi > > # Result > if [ "$LIST" =3D "" ] > then > echo "-> $DATE - Ports tree: Up-To-Date" >> $LOGFILE > else > echo -e "-> $DATE - Ports tree: Up-To-Date. Here is list > of \ > applications needs to be updated.\n\n$LIST" >> $LOGFILE > fi > *) rc=3D0;; > esac > > exit $rc > > ------------------------------ > > Message: 8 > Date: Mon, 25 Jun 2007 09:59:28 -0500 > From: Reid Linnemann > Subject: Re: FreeBSD 6.2-STABLE / Gnome / Beryl (recipe) > To: Eduardo Viruena Silva > Cc: freebsd-questions@freebsd.org > Message-ID: <467FD850.7090702@cs.okstate.edu> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > Written by Eduardo Viruena Silva on 06/22/07 19:05>> > > ---------------- > > I have to thank to Reid Linnemann from the freebsd-questions list, > > for suggesting me compile 6.2-STABLE, and to Jose Luis Enriquez, > > for helping me to configure X. > > ---------------- > > > > Hope it helps. > > > > > > Cheers, > > > > Eduardo. > > _______________________________________________ > > 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" > > Glad you got it working. I'm running Beryl on my workstation with an > intel i865G. I've notice sometimes I run into shm starvation, either > causing apps like firefox to fail to run or beryl to paint windows with > empty textures. If you run in to this, try increasing the sysctl > kern.ipc.shmall. I doubled the default value of 8192 (I think this is in > bytes) to 16384 and I've not hit any more problems. > > I've noticed GLX performance on the intel to be fabulous, using NVIDIA I > currently get atrocious frame rates (sub-frame-per-second) on glxgears. > I haven't tested on an ATI chip yet. > > > ------------------------------ > > Message: 9 > Date: Mon, 25 Jun 2007 10:18:30 -0500 > From: Scott Mayo > Subject: Starting Scripts > To: freebsd-questions@freebsd.org > Message-ID: <467FDCC6.5090404@mail.bloomfield.k12.mo.us> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > I have set some things to automatically start in the rc.conf like ssh > and apache by doing 'sshd_enable=3D"YES"' and 'apache22_enable=3D"YES"'. = How > do I start things like Zope and Cyrus? > > From the command line I can just: > > '/usr/local/cyrus/bin master &' for cyrus > > '/data/home/testuser/zope28/bin/zopectl start' for my instance of zope. > > I use to add lines like this to the rc.local file in linux to get them > started. I was thinking that I read that this could still be done in > FreeBSD, but was not the preferred way to do it. > > From looking at the scripts in '/usr/local/etc/rc.d', it looks like > there are different ways. For zope it says that I can define > 'zope28_enable : "YES"' in '/etc/rc.conf', '/etc/rc.conf.local' or > '/etc/rc.conf/zope28', so I guess that I just add 'zope28_enable : > "YES"' to my rc.conf? > > Then the imapd script in /usr/local/etc/rc.d says to: > > move imapd.sh to '/etc/rc.d/cyrus_imapd' and define the cyrus_imapd_* in > '/etc/rc.conf', '/etc/rc.conf.local' or 'etc/rc.conf.d/cyrus_imapd'. > > Then it shows '[ -z "$cyrus_imapd_enable" ] && cyrus_imapd_enable=3D"NO"' > and [-z "$cyrus_imapd_flags" ] && cyrus_imapd_flags=3D"-d"'. > > Do I enter both of those commands in the '/etc/rc.conf' just as shown? > I assume the "NO" will be "YES". These two lines have me a bit baffled. > > I guess that I am still a bit confused on the '/etc/rc.d' and the > '/usr/local/etc/rc.d' directories. There is no imapd.sh in > '/usr/local/etc/rc.d', but it is only imapd. This has had me confused > because in the FreeBSD handbook it talked about the scripts here would > all end in .sh, but none of them do. The way that it read, if there was > an '.sh' file in '/usr/local/etc/rc.d' then that script would be run at > bootup. > > Thanks for any help. I am just trying to get a good grasp on exactly > how things work here. I thought I understood it from reading the > handbook, but then it seems a bit different when I get on the server. > > > -- > Scott Mayo > System Administrator > Bloomfield Schools > > Duct tape is like the force, it has a light side and a dark side and it > holds the universe together. > > > ------------------------------ > > Message: 10 > Date: Mon, 25 Jun 2007 17:31:03 +0200 > From: Peter Schuller > Subject: Re: Starting again from Scratch > To: Graham Bentley > Cc: freebsd-questions@freebsd.org > Message-ID: <467FDFB7.1030600@infidyne.com> > Content-Type: text/plain; charset=3DISO-8859-1 > > > 4) Find out how to keep updated / informed on updates to packages > > I have installed, and do so where necessary. > > > > If anyone can advise, point me in the direction of tutorials > > or step by steps, on the above It would be greatly appreciated. > > > > I would like to understand why its not so great to just install > > everything from pkg_add, whats the advantages of ports etc > > Sorry, I don't know of a HOWTO specifically addressing it all like that. > But I can say that I always use pkg_add -v -r on initial installs (for > speed), and *then* upgrade using portmanager. > > Lately I have started using a jail for building binary packages of > everything I want installed, and then doing a global upgrade by removing > all packages and installing the binary packages built in the jail. It's > fiddly, but works well in the end, and avoids problems you can run into > with portmanager as well as minimizing the time during which your > machine is not fully populated with packages. > > As for portupgrade, I have honestly never understood how anyone manages > to use it for upgrades without difficulties. Whenever I try I run into > problems almost immediately, having to do with packages not getting > rebuilt even though they should and/or stale dependencies and whatnot in > the pkgtools package database. If someone has magic information here I'd > love to hear it. > > -- > / Peter Schuller > > PGP userID: 0xE9758B7D or 'Peter Schuller ' > Key retrieval: Send an E-Mail to getpgpkey@scode.org > E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org > > > ------------------------------ > > Message: 11 > Date: Mon, 25 Jun 2007 16:18:01 +0400 > From: oim > Subject: Hello 1 question about close console > To: freebsd-questions@FreeBSD.org > Message-ID: > Content-Type: text/plain; charset=3Dkoi8-r > > Hello! > > I have a question about this situation. > > In home work Pc with FreeBSD Server, real ip and real domain name. > When i remote connect ssh2 (consose) from my work.. make on server some.. > compile program from ports > > And some time later i need to close console, but i want, what session not > close and compile processing. > > If i disconect from console all job stop. How disconect from console and > come back to my session? > > Thank you very much!!! > > With Best Regards E.A. > > > ------------------------------ > > Message: 12 > Date: Mon, 25 Jun 2007 11:52:02 -0400 > From: Bill Moran > Subject: Re: Hello 1 question about close console > To: oim > Cc: freebsd-questions@FreeBSD.org > Message-ID: <20070625115202.d07609d9.wmoran@potentialtech.com> > Content-Type: text/plain; charset=3DUS-ASCII > > In response to oim : > > > Hello! > > > > I have a question about this situation. > > > > In home work Pc with FreeBSD Server, real ip and real domain name. > > When i remote connect ssh2 (consose) from my work.. make on server > some.. compile program from ports > > > > And some time later i need to close console, but i want, what session > not close and compile processing. > > > > If i disconect from console all job stop. How disconect from console an= d > come back to my session? > > > > Thank you very much!!! > > Install/use /usr/ports/sysutils/screen > > -- > Bill Moran > http://www.potentialtech.com > > > ------------------------------ > > Message: 13 > Date: Mon, 25 Jun 2007 17:53:11 +0200 > From: Roland Smith > Subject: Re: Permanent apache patch > To: Josh > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625155311.GA28294@slackbox.xs4all.nl> > Content-Type: text/plain; charset=3D"us-ascii" > > On Mon, Jun 25, 2007 at 09:01:21PM +1200, Josh wrote: > > Gidday there, > > > > I have my own change to suexec in apache 2.0 from ports. > > > > What I want to know is the best way to have my patch applied each time > I > > compile apache, without too much effort from me? > > The best way is to get the patch added into the port, if the maintainer > is willing. :-) > > > Eg, say for the sake of example my patch is in /usr/local/src/foopatch= / > > > > How would I get the ports system to apply it each time I compiled > apache? > > Just put it in the files subdirectory under the port directory, just > before you build the port. Look at other patches to see from which > directory they are applied, and make yours match. > > Unfortunately most port update tools will delete files that are not in > the master tree. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 187 bytes > Desc: not available > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070625= /a77df2c6/attachment-0001.pgp > > ------------------------------ > > Message: 14 > Date: Mon, 25 Jun 2007 18:08:45 +0200 > From: Roland Smith > Subject: Re: Starting again from Scratch > To: Graham Bentley > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625160844.GB28294@slackbox.xs4all.nl> > Content-Type: text/plain; charset=3D"us-ascii" > > On Mon, Jun 25, 2007 at 03:18:58PM +0100, Graham Bentley wrote: > > OK, I am fairly new to FreeBSD and returning from a long while away. > > > > I am currently working on an install I have performed from the 6.2 > > release discs I downloaded several days ago. > > > > I chose X-Kern-Dev install and have a mixed bag of pkg_add -r > > packages, some programs I have downloaded and compiled from source > > from developers sites (Claws-mail and Xfce4 to name 2) as well as > > apps I cd'ed into into /usr/ports/name and made [nvidia for 1] > > > > > I am only aware of the names cvsup, portupgrade, portmanager, > > portsnap, make world etc and am getting this round my neck a > > bit but this is what I have summized ; > > > > 1) Do basic [minimal] install of 6.2 rel from disc 1 > > 2) pkg_add cvsup-without-gui and get the latest ports installed > > No need for that anymore. A rewrite of cvsup in C called csup is part of > the base system in 6.2. > > > 3) Build *everything* from this ports tree [including base/kernel?] > > 4) Find out how to keep updated / informed on updates to packages > > I have installed, and do so where necessary. > > That's what you use portmaster(8) or portmanager(8) for. (I use portmaste= r > now). > > For updating the ports tree, I use portsnap(8). > > First time that you use it: > > # portsnap fetch extract > > After that; > > # portsnap fetch update > > Getting a list of installed ports, inluding available updates: > > $ portmaster -L >ports.list > > If you read the list, you'll see which ones have updates available. > > First thing to do is read /usr/ports/UPDATING. Skipping this might leave > you with broken ports, in which case you get to keep both pieces. > > Next you usually update your ports with e.g; > > # portmaster -B -d > > Unless UPDATING tells you otherwise. Do read the manual pages of the > tools you're using. > > > If anyone can advise, point me in the direction of tutorials > > or step by steps, on the above It would be greatly appreciated. > > > > I would like to understand why its not so great to just install > > everything from pkg_add, whats the advantages of ports etc > > With pkg_add you get the default options for the port (if any). That > might not be what you want. And not all configuration options can be set > with the OPTIONS mechanism. > See http://www.xs4all.nl/~rsmith/freebsd/index.html#make.conf > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 187 bytes > Desc: not available > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070625= /af4f6b73/attachment-0001.pgp > > ------------------------------ > > Message: 15 > Date: Mon, 25 Jun 2007 11:25:35 -0500 > From: Kevin Kinsey > Subject: Re: Starting Scripts > To: sgmayo@mail.bloomfield.k12.mo.us > Cc: freebsd-questions@freebsd.org > Message-ID: <467FEC7F.4020800@daleco.biz> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > Scott Mayo wrote: > > Hello from SW Missouri! > > > I have set some things to automatically start in the rc.conf like ssh > > and apache by doing 'sshd_enable=3D"YES"' and 'apache22_enable=3D"YES"'= . How > > do I start things like Zope and Cyrus? > > > > From the command line I can just: > > > > '/usr/local/cyrus/bin master &' for cyrus > > > > '/data/home/testuser/zope28/bin/zopectl start' for my instance of zope. > > And, you could add these to your crontab ('crontab -e') or root's > with the special string "@reboot" pre-pended, and it would work. > > But, that's not "by the book", just an illustration of how > the 'Nix philosophy "tools, not policy" still applies. > > > I use to add lines like this to the rc.local file in linux to get them > > started. I was thinking that I read that this could still be done in > > FreeBSD, but was not the preferred way to do it. > > > > From looking at the scripts in '/usr/local/etc/rc.d', it looks like > > there are different ways. For zope it says that I can define > > 'zope28_enable : "YES"' in '/etc/rc.conf', '/etc/rc.conf.local' or > > '/etc/rc.conf/zope28', so I guess that I just add 'zope28_enable : > > "YES"' to my rc.conf? > > I would expect that the format would be the same as the other > daemons, e.g.: > > zope28_enable=3D"YES" > > Similar with whatever you decide to name the imapd script. > > For a full discussion, see rc(8), rc.conf(5), rc.subr(8), > rcorder(8), etc. > > > > Thanks for any help. I am just trying to get a good grasp on exactly > > how things work here. I thought I understood it from reading the > > handbook, but then it seems a bit different when I get on the server. > > > H.A.N.D.! > -- > Q: How many college football players does it take to screw in a > lightbulb? > A: Only one, but he gets three credits for it. > > > ------------------------------ > > Message: 16 > Date: Mon, 25 Jun 2007 11:34:14 -0500 > From: Tim Daneliuk > Subject: Repopulating the GENERIC kernel > To: freebsd-questions@freebsd.org > Message-ID: <467FEE86.5020601@tundraware.com> > Content-Type: text/plain; charset=3DISO-8859-1 > > I have a production 6.2 STABLE machine w/something like this in > /etc/make.conf: > > KERNCONF=3DMYKERN SMP GENERIC > > When I do a 'make kernel', as I understand it, all three kernels get > *build* but only > MYKERN actually gets installed. > > So ... how do I get the latest version of GENERIC (that I just compiled > per the above) > "installed" into /boot *without* it actually being the active > kernel. IOW, I want > my kernel build to *install* MYKERN as the active kernel and refresh > GENERIC just in > case I need it to recover a failed boot... > > > TIA, > > > ------------------------------ > > Message: 17 > Date: Mon, 25 Jun 2007 11:33:21 -0500 (CDT) > From: Eduardo Viruena Silva > Subject: Re: Gnome2 +FreeBSD , help > To: dhaneshk k > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625112703.D52289@Gina.esfm.ipn.mx> > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > On Mon, 25 Jun 2007, dhaneshk k wrote: > > > Hi all , > > > > To install Gnome Desktop environment for FreeBSD -6.2 , which method > is > > most suitable and less time consumable , > > > > 1 . I m plannig to do a portinstall > > /usr/ports/x11/gnome2 (how much time it will take on a normal p4 , 51= 2 > DDR > > machine ? ) I heard it will take 3 days or more is it ? > > "normal p4" does not tell us anything about its frequency. > in a core-duo 3GHz it took about 12 hours in being compiled. > > > > > 2 . is ther any speedy way to install Gnome desktop other than > this ? > > if so which is that method ? how much time will it take ? > > > > try: > sysinstall > configure > packages > > > > 3 . In FreeBSdD6.2 release , what the role of the ISO image Disk No > 2 ? I > > finished my installation with 6.2 ISO image disk 1 , whats more in disk > 2 , > > while installation its is not asking Disc2, is it not necessary ? > > > > disc 2 contains additional packages, I believe gnome is in disc 2. > > > > > pls give your comments on these matters ..It will hep me a lot > > > > thanks in advance > > dhanesh > > > > > ------------------------------ > > Message: 18 > Date: Mon, 25 Jun 2007 17:51:44 +0100 > From: Graham Bentley > Subject: Re: Starting again from Scratch > To: Roland Smith > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625175144.6f145b7f@3bsd.cpcnw.co.uk> > Content-Type: text/plain; charset=3DUS-ASCII > > On Mon, 25 Jun 2007 18:08:45 +0200 > Roland Smith wrote: > > > That's what you use portmaster(8) or portmanager(8) for. (I use > > portmaster now). > > > > For updating the ports tree, I use portsnap(8). > > > > First time that you use it: > > > > # portsnap fetch extract > > > > After that; > > > > # portsnap fetch update > > > > Getting a list of installed ports, inluding available updates: > > > > $ portmaster -L >ports.list > > > > If you read the list, you'll see which ones have updates available. > > > > First thing to do is read /usr/ports/UPDATING. Skipping this might > > leave you with broken ports, in which case you get to keep both > > pieces. > > > > Next you usually update your ports with e.g; > > > > # portmaster -B -d > > > > Unless UPDATING tells you otherwise. Do read the manual pages of the > > tools you're using. > > So, if I where to start again, I would ; > > 1) Install 'minimal' distrib from 6.2 rel CD1 > 2) portsnap fetch extract > 3) make install my system > > Then in future use portmaster as you say ? > > > ------------------------------ > > Message: 19 > Date: Mon, 25 Jun 2007 20:04:44 +0300 > From: Manolis Kiagias > Subject: Re: Starting again from Scratch > To: Graham Bentley > Cc: "freebsd-questions@freebsd.org" > Message-ID: <467FF5AC.3020902@otenet.gr> > Content-Type: text/plain; charset=3DISO-8859-1 > > Graham Bentley wrote: > > OK, I am fairly new to FreeBSD and returning from a long while away. > > > > I am currently working on an install I have performed from the 6.2 > > release discs I downloaded several days ago. > > > > I chose X-Kern-Dev install and have a mixed bag of pkg_add -r > > packages, some programs I have downloaded and compiled from source > > from developers sites (Claws-mail and Xfce4 to name 2) as well as > > apps I cd'ed into into /usr/ports/name and made [nvidia for 1] > > > > Whilst I am aware there are more than serveral ways of doing things > > and for different reasons I am inviting advice on my target install > > which is a 'desktop' for basic office use, based on Xfce4. > > > > I would like to thank Nikola for his advice and also ask what is > > the generally accepted method of installing / keeping updated way > > of getting things done? > > > > I am only aware of the names cvsup, portupgrade, portmanager, > > portsnap, make world etc and am getting this round my neck a > > bit but this is what I have summized ; > > > > 1) Do basic [minimal] install of 6.2 rel from disc 1 > > 2) pkg_add cvsup-without-gui and get the latest ports installed > > 3) Build *everything* from this ports tree [including base/kernel?] > > 4) Find out how to keep updated / informed on updates to packages > > I have installed, and do so where necessary. > > > > If anyone can advise, point me in the direction of tutorials > > or step by steps, on the above It would be greatly appreciated. > > > > I would like to understand why its not so great to just install > > everything from pkg_add, whats the advantages of ports etc > > > > Until then I am enjoying using my i386-unknown-freebsd6.2 > > installation - even if it more by good luck than good management :) > > > > Thanks in advance of time spent in replying ! > > > > > You will hear many different opinions on this one, and I really doubt > there is one true answer (TM) > It all comes down IMHO to what amount of time you really want to spend > on configuring / updating your system, how important it is for you to > have the "latest and greatest" and what you are going to use it for. > I will try to answer some of your questions from my point of view, but > in any case you will probably receive lots of answers which may > contradict and you should examine each of them to decide which suits > your ideas better. > First of all, to save you the trouble of installing cvsup from ports or > packages, bear in mind the base system already has a utlity called csup, > functionality is the same, you do not have to install anything. The > handbook is simply not yet updated on this one. > > - Packages vs ports: Packages tend to be outdated. Most of the time the > packages you get when you do a pkg_add -r something are the ones that > came out during the RELEASE. There is a (rather little) known env. > variable called PACKAGESITE which can be set to another location for pkg > downloads so you get latest packages. > See the important note in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.= html > - Ports: Using ports will allow you to get the "latest and greatest" > software that is available for compiling (assuming you use csup or > cvsup). Bear in mind the big ports like Gnome or Xorg make take hours > (or days...) to compile, and in particular if your hardware is modest or > memory limited, you may run out of patience waiting. In fact waiting for > something like an Xorg upgrade to compile is completely counter > productive if you wish to get a machine to production use quickly. When > you gain more experience in BSD and have a few machines available you > could use them to create ready packages for your other systems. Ports > may become complicated - sometimes they will not compile, either due to > the port itself being faulty at the particular moment or conflicting > with something else you have installed. I particularly dislike the idea > of mixing ports and packages at the same time on my systems. > -Basic installations: If you wish to make a server with no graphic > environment (as almost all servers should be IMO) you will probably not > need any super-big ports to be compiled and in this case I would go for > a complete ports-based system. I would use custom install and install > everything but X, the ports collection, and no packages. The csup the > ports, compile essential things (like bash for me) and any servers > (apache, mysql etc) from ports . These are not very intensive and you > will get your server running in a reasonable amount of time. Also > compile portupgrade (or portupgrade-devel) to help keep your ports up to > date. I also recommend portaudit which checks for security issues in > your currently installed ports. It will even send you updates about them. > -Compiling the kernel / building the world: There seems to be some > confusion here around many people. Having installed the base system with > full sources you can compile and install your own custom kernel at any > time. See: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-bu= ilding.html > IF HOWEVER you upgrade the system sources using csup (this does NOT have > to do with ports, you need a different supfile to update system sources) > you will move your system to the -STABLE branch. In this case you will > need to recompile not only the kernel but also the complete set of base > programs and utilities, what people refer to as building the world. > After you build the world, you can rebuild the kernel as many times as > you like assuming you don't change sources (csup again). > For most applications you may find that simply rebuilding the kernel > from the RELEASE sources you already have is good enough. In fact you > may continue using the GENERIC kernel if you like. I assume quite a few > people build their own kernel just for the experience and the fun in it > :) The process is very well documented and quite "easy". > > There are quite a few other points / ports / programs, but this post is > getting very long anyway. Enjoy your new system and read the FreeBSD > handbook. It is a superb reference and your best friend (along with this > list :)) > > Manolis > > > > > > > ------------------------------ > > Message: 20 > Date: Mon, 25 Jun 2007 19:07:02 +0200 > From: Pietro Cerutti > Subject: Re: Repopulating the GENERIC kernel > To: freebsd-questions@freebsd.org > Cc: tundra@tundraware.com > Message-ID: <467FF636.6060708@gahr.ch> > Content-Type: text/plain; charset=3D"iso-8859-1" > > Tim Daneliuk wrote: > > I have a production 6.2 STABLE machine w/something like this in > /etc/make.conf: > > > > KERNCONF=3DMYKERN SMP GENERIC > > > > When I do a 'make kernel', as I understand it, all three kernels get > *build* but only > > MYKERN actually gets installed. > > > > So ... how do I get the latest version of GENERIC (that I just compiled > per the above) > > "installed" into /boot *without* it actually being the active > kernel. IOW, I want > > my kernel build to *install* MYKERN as the active kernel and refresh > GENERIC just in > > case I need it to recover a failed boot... > > try with > > make buildkernel > make installkernel KERNCONF=3DGENERIC INSTKERNNAME=3DGENERIC > make installkernel KERNCONF=3DSMP INSTKERNNAME=3DSMP > make installkernel KERNCONF=3DMYKERN INSTKERNNAME=3DMYKERN > > then set the name of the kernel that you want to boot off in > /boot/loader.conf, as > > kernel=3DMYKERN > > I don't know if there's an automatized way to perform the same... > > Hope this helps, > > > TIA, > > -- > Pietro Cerutti > > PGP Public Key: > http://gahr.ch/pgp > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 187 bytes > Desc: OpenPGP digital signature > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070625= /0037c37e/signature-0001.pgp > > ------------------------------ > > Message: 21 > Date: Mon, 25 Jun 2007 18:14:26 +0100 > From: Graham Bentley > Subject: Re: Starting again from Scratch > To: Manolis Kiagias > Cc: "freebsd-questions@freebsd.org" > Message-ID: <20070625181426.3d55f801@3bsd.cpcnw.co.uk> > Content-Type: text/plain; charset=3DUS-ASCII > > On Mon, 25 Jun 2007 20:04:44 +0300 > Manolis Kiagias wrote: > > > Graham Bentley wrote: > > > OK, I am fairly new to FreeBSD and returning from a long while away. > > > > > > I am currently working on an install I have performed from the 6.2 > > > release discs I downloaded several days ago. > > > > > > I chose X-Kern-Dev install and have a mixed bag of pkg_add -r > > > packages, some programs I have downloaded and compiled from source > > > from developers sites (Claws-mail and Xfce4 to name 2) as well as > > > apps I cd'ed into into /usr/ports/name and made [nvidia for 1] > > > > > > Whilst I am aware there are more than serveral ways of doing things > > > and for different reasons I am inviting advice on my target install > > > which is a 'desktop' for basic office use, based on Xfce4. > > > > > > I would like to thank Nikola for his advice and also ask what is > > > the generally accepted method of installing / keeping updated way > > > of getting things done? > > > > > > I am only aware of the names cvsup, portupgrade, portmanager, > > > portsnap, make world etc and am getting this round my neck a > > > bit but this is what I have summized ; > > > > > > 1) Do basic [minimal] install of 6.2 rel from disc 1 > > > 2) pkg_add cvsup-without-gui and get the latest ports installed > > > 3) Build *everything* from this ports tree [including base/kernel?] > > > 4) Find out how to keep updated / informed on updates to packages > > > I have installed, and do so where necessary. > > > > > > If anyone can advise, point me in the direction of tutorials > > > or step by steps, on the above It would be greatly appreciated. > > > > > > I would like to understand why its not so great to just install > > > everything from pkg_add, whats the advantages of ports etc > > > > > > Until then I am enjoying using my i386-unknown-freebsd6.2 > > > installation - even if it more by good luck than good management :) > > > > > > Thanks in advance of time spent in replying ! > > > > > > > > You will hear many different opinions on this one, and I really doubt > > there is one true answer (TM) > > It all comes down IMHO to what amount of time you really want to spend > > on configuring / updating your system, how important it is for you to > > have the "latest and greatest" and what you are going to use it for. > > I will try to answer some of your questions from my point of view, but > > in any case you will probably receive lots of answers which may > > contradict and you should examine each of them to decide which suits > > your ideas better. > > First of all, to save you the trouble of installing cvsup from ports > > or packages, bear in mind the base system already has a utlity called > > csup, functionality is the same, you do not have to install anything. > > The handbook is simply not yet updated on this one. > > > > - Packages vs ports: Packages tend to be outdated. Most of the time > > the packages you get when you do a pkg_add -r something are the ones > > that came out during the RELEASE. There is a (rather little) known > > env. variable called PACKAGESITE which can be set to another location > > for pkg downloads so you get latest packages. > > See the important note in > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.= html > > - Ports: Using ports will allow you to get the "latest and greatest" > > software that is available for compiling (assuming you use csup or > > cvsup). Bear in mind the big ports like Gnome or Xorg make take hours > > (or days...) to compile, and in particular if your hardware is modest > > or memory limited, you may run out of patience waiting. In fact > > waiting for something like an Xorg upgrade to compile is completely > > counter productive if you wish to get a machine to production use > > quickly. When you gain more experience in BSD and have a few machines > > available you could use them to create ready packages for your other > > systems. Ports may become complicated - sometimes they will not > > compile, either due to the port itself being faulty at the particular > > moment or conflicting with something else you have installed. I > > particularly dislike the idea of mixing ports and packages at the > > same time on my systems. -Basic installations: If you wish to make a > > server with no graphic environment (as almost all servers should be > > IMO) you will probably not need any super-big ports to be compiled > > and in this case I would go for a complete ports-based system. I > > would use custom install and install everything but X, the ports > > collection, and no packages. The csup the ports, compile essential > > things (like bash for me) and any servers (apache, mysql etc) from > > ports . These are not very intensive and you will get your server > > running in a reasonable amount of time. Also compile portupgrade (or > > portupgrade-devel) to help keep your ports up to date. I also > > recommend portaudit which checks for security issues in your > > currently installed ports. It will even send you updates about them. > > -Compiling the kernel / building the world: There seems to be some > > confusion here around many people. Having installed the base system > > with full sources you can compile and install your own custom kernel > > at any time. See: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-bu= ilding.html > > IF HOWEVER you upgrade the system sources using csup (this does NOT > > have to do with ports, you need a different supfile to update system > > sources) you will move your system to the -STABLE branch. In this > > case you will need to recompile not only the kernel but also the > > complete set of base programs and utilities, what people refer to as > > building the world. After you build the world, you can rebuild the > > kernel as many times as you like assuming you don't change sources > > (csup again). For most applications you may find that simply > > rebuilding the kernel from the RELEASE sources you already have is > > good enough. In fact you may continue using the GENERIC kernel if you > > like. I assume quite a few people build their own kernel just for the > > experience and the fun in it :) The process is very well documented > > and quite "easy". > > > > There are quite a few other points / ports / programs, but this post > > is getting very long anyway. Enjoy your new system and read the > > FreeBSD handbook. It is a superb reference and your best friend > > (along with this list :)) > > > > Manolis > > > > Thanks for the reply Manolis. As I mentioned in my first post, this > isnt for an important server, its just for 'desktop' use, for my own > amusement, a learning platform. I dont actually need the 'latest and > greatest' bleeding edge code, more so a reliable system for everyday > work, that I dont really want to spend too long tinkering but more > time using. As you say, I also wondered whether its worth me updating > X or building world, just to send some email and browse the web :) > > I have in the past built a new kernel and it did seem faster so maybe > that was a worthy tweak on a rainy night !!! > > Best wishes to all !! > > > > > > > > ------------------------------ > > Message: 22 > Date: Mon, 25 Jun 2007 18:16:16 +0100 > From: RW > Subject: Re: Starting Scripts > To: freebsd-questions@freebsd.org > Cc: sgmayo@mail.bloomfield.k12.mo.us > Message-ID: <20070625181616.41a207b3@gumby.homeunix.com.> > Content-Type: text/plain; charset=3DUS-ASCII > > On Mon, 25 Jun 2007 10:18:30 -0500 > Scott Mayo wrote: > > > I have set some things to automatically start in the rc.conf like ssh > > and apache by doing 'sshd_enable=3D"YES"' and 'apache22_enable=3D"YES"'= . > > How do I start things like Zope and Cyrus? > > > > From the command line I can just: > > > > '/usr/local/cyrus/bin master &' for cyrus > > > > '/data/home/testuser/zope28/bin/zopectl start' for my instance of > > zope. > > > > I use to add lines like this to the rc.local file in linux to get > > them started. I was thinking that I read that this could still be > > done in FreeBSD, but was not the preferred way to do it. > > > > From looking at the scripts in '/usr/local/etc/rc.d', it looks like > > there are different ways. For zope it says that I can define > > 'zope28_enable : "YES"' in '/etc/rc.conf', '/etc/rc.conf.local' or > > '/etc/rc.conf/zope28', so I guess that I just add 'zope28_enable : > > "YES"' to my rc.conf? > > > > Then the imapd script in /usr/local/etc/rc.d says to: > > > > move imapd.sh to '/etc/rc.d/cyrus_imapd' > > Don't do that - see below. > > > >and define the cyrus_imapd_* > > in '/etc/rc.conf', '/etc/rc.conf.local' or > > 'etc/rc.conf.d/cyrus_imapd'. > > > > Then it shows '[ -z "$cyrus_imapd_enable" ] && > > cyrus_imapd_enable=3D"NO"' and [-z "$cyrus_imapd_flags" ] && > > cyrus_imapd_flags=3D"-d"'. > > > > Do I enter both of those commands in the '/etc/rc.conf' just as > > shown? I assume the "NO" will be "YES". These two lines have me a > > bit baffled. > > Those lines are setting defaults, you can override them by defining > the variables in rc.conf. *All* rc.d scripts are run startup it's just > that those that aren't enabled don't do anything. > > > I guess that I am still a bit confused on the '/etc/rc.d' and the > > '/usr/local/etc/rc.d' directories. There is no imapd.sh in > > '/usr/local/etc/rc.d', but it is only imapd. This has had me > > confused because in the FreeBSD handbook it talked about the scripts > > here would all end in .sh, but none of them do. The way that it > > read, if there was an '.sh' file in '/usr/local/etc/rc.d' then that > > script would be run at bootup. > > > > > The behaviour changed, it used to be that all the local scripts ended > in .sh and ran in alphabetical order called from the same rc.d script > in /etc/rc.d. Nowadays local scripts can be full rcng scripts if they > have a provide field. If you are using an up-to-date FreebSD, don't > move anything to /etc/rc.d, leave it where it is. > > > > ------------------------------ > > Message: 23 > Date: Mon, 25 Jun 2007 19:16:59 +0200 > From: Roland Smith > Subject: Re: Starting again from Scratch > To: Graham Bentley > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625171659.GA30692@slackbox.xs4all.nl> > Content-Type: text/plain; charset=3D"utf-8" > > On Mon, Jun 25, 2007 at 05:51:44PM +0100, Graham Bentley wrote: > > > > So, if I where to start again, I would ; > > > > 1) Install 'minimal' distrib from 6.2 rel CD1 > > 2) portsnap fetch extract > > 3) make install my system > > The base system and ports are separate. The base system is built from > /usr/src, while ports are built under /usr/ports. > > Concerning ports, I would install them from an _updated_ ports tree if > your system isn't too slow. Start with what you really need, and add > things if you miss them. If you build a high-level port like > e.g. firefox, it will built the stuff it requires automatically. But I > would start with building the xorg meta-port, to get X sorted first. > > Currently I have 427 ports installed om my desktop system, =E2=89=8C 100 = of > which are part of the new modular xorg. > > > Then in future use portmaster as you say ? > Yes. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 187 bytes > Desc: not available > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070625= /8a0d9ed8/attachment-0001.pgp > > ------------------------------ > > Message: 24 > Date: Mon, 25 Jun 2007 18:27:11 +0100 > From: Graham Bentley > Subject: Re: Starting again from Scratch > To: Roland Smith > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625182711.5798a588@3bsd.cpcnw.co.uk> > Content-Type: text/plain; charset=3DUTF-8 > > On Mon, 25 Jun 2007 19:16:59 +0200 > Roland Smith wrote: > > > On Mon, Jun 25, 2007 at 05:51:44PM +0100, Graham Bentley wrote: > > > > > > So, if I where to start again, I would ; > > > > > > 1) Install 'minimal' distrib from 6.2 rel CD1 > > > 2) portsnap fetch extract > > > 3) make install my system > > > > The base system and ports are separate. The base system is built from > > /usr/src, while ports are built under /usr/ports. > > > > Concerning ports, I would install them from an _updated_ ports tree if > > your system isn't too slow. Start with what you really need, and add > > things if you miss them. If you build a high-level port like > > e.g. firefox, it will built the stuff it requires automatically. But I > > would start with building the xorg meta-port, to get X sorted first. > > > > Currently I have 427 ports installed om my desktop system, =E2=89=8C 10= 0 of > > which are part of the new modular xorg. > > > > > Then in future use portmaster as you say ? > > Yes. > > > > Roland > > Cheers Roland, > > Is it considered OK to update the ports and build up your worktop > *without* bothering with building world? Also, building a kernel > but leaving world at release? > > My system is an Athalon2.4/1GB/NV5200 so seems quick enough and > I am not in that much of a hurry. However, I dont want to spend > hours and hours waiting for compiles... > > Can you clue me up on xorg 'meta-port' ??? > > I can feel a re-install coming on .... > > > ------------------------------ > > Message: 25 > Date: Mon, 25 Jun 2007 18:27:10 +0100 > From: RW > Subject: Re: Starting again from Scratch > To: freebsd-questions@freebsd.org > Message-ID: <20070625182710.0a506fdc@gumby.homeunix.com.> > Content-Type: text/plain; charset=3DUS-ASCII > > On Mon, 25 Jun 2007 18:14:26 +0100 > Graham Bentley wrote: > > > Thanks for the reply Manolis. As I mentioned in my first post, this > > isnt for an important server, its just for 'desktop' use, for my own > > amusement, a learning platform. I dont actually need the 'latest and > > greatest' bleeding edge code, more so a reliable system for everyday > > work, that I dont really want to spend too long tinkering but more > > time using. > > In that case, don't upgrade your ports tree. By and large things are > more likely to work when everything is built from the same tree, and > the precompiled packages were built against the tree on the disk. > > > > ------------------------------ > > Message: 26 > Date: Mon, 25 Jun 2007 11:47:06 -0500 (CDT) > From: Eduardo Viruena Silva > Subject: Re: questions about floppy disk > To: Olivier Regnier > Cc: freebsd-questions@freebsd.org > Message-ID: <20070625114644.Y52289@Gina.esfm.ipn.mx> > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > On Sun, 24 Jun 2007, Olivier Regnier wrote: > > > Hi everyone, > > > > I have two questions about floppy disk with FreeBSD. > > > > How add a UFS filesystem to use the diskette for transfering files ? > > > > I think with this command but i'm not sure because, i can't check for > the > > moment. > > # newfs /dev/fd0 > > > > To mount a floppy disk with ufs filesystem, i must use this command ? > > # mount /dev/fd0 /mnt/floppy > > > > Thank you for your help > > > > Bye bye, > > Olivier Regnier > > > > try mtools, from the ports. > > > > ------------------------------ > > Message: 27 > Date: Mon, 25 Jun 2007 20:41:56 +0300 > From: Manolis Kiagias > Subject: Re: Starting again from Scratch > To: Graham Bentley > Cc: freebsd-questions@freebsd.org > Message-ID: <467FFE64.6040306@otenet.gr> > Content-Type: text/plain; charset=3DUTF-8 > > > > Graham Bentley wrote: > > On Mon, 25 Jun 2007 19:16:59 +0200 > > Roland Smith wrote: > > > > > >> On Mon, Jun 25, 2007 at 05:51:44PM +0100, Graham Bentley wrote: > >> > >>> So, if I where to start again, I would ; > >>> > >>> 1) Install 'minimal' distrib from 6.2 rel CD1 > >>> 2) portsnap fetch extract > >>> 3) make install my system > >>> > >> The base system and ports are separate. The base system is built from > >> /usr/src, while ports are built under /usr/ports. > >> > >> Concerning ports, I would install them from an _updated_ ports tree if > >> your system isn't too slow. Start with what you really need, and add > >> things if you miss them. If you build a high-level port like > >> e.g. firefox, it will built the stuff it requires automatically. But I > >> would start with building the xorg meta-port, to get X sorted first. > >> > >> Currently I have 427 ports installed om my desktop system, =E2=89=8C 1= 00 of > >> which are part of the new modular xorg. > >> > >> > >>> Then in future use portmaster as you say ? > >>> > >> Yes. > >> > >> Roland > >> > > > > Cheers Roland, > > > > Is it considered OK to update the ports and build up your worktop > > *without* bothering with building world? Also, building a kernel > > but leaving world at release? > > > > My system is an Athalon2.4/1GB/NV5200 so seems quick enough and > > I am not in that much of a hurry. However, I dont want to spend > > hours and hours waiting for compiles... > > > > Can you clue me up on xorg 'meta-port' ??? > > > > I can feel a re-install coming on .... > > > > > It is ok to update ports and use them without ever rebuilding world or > the kernel (or upgrade system sources). > You may also build the kernel as many times as you wish from the release > sources and not build the world. The world is already built on release > sources anyway. If you do update the system sources however, you will > have to build world along with the kernel the first time. Any subsequent > kernel rebuilds from the same sources will not require a world rebuilt. > Generally rebuilding the world and kernel is a very good way to move > from one release to the next without reinstalling everything from scratch= . > > One important thing, when building ports or upgrading, always read the > file /usr/ports/UPDATING. It contains valuable info on how you should > proceed on specific ports. The procedure for the xorg upgrade is > described in there as well and you should follow it (even if you are > clean installing xorg). Your system is fine performance wise, still it > will take quite some time (hours and hours...) to compile / install xorg > and a desktop environment. > > > ------------------------------ > > Message: 28 > Date: Mon, 25 Jun 2007 13:52:15 -0400 > From: Lowell Gilbert > Subject: Re: Network Problem in FreeBSD 6.2-RELEASE-p5 > To: ExTaZyTi > Message-ID: <441wfzly5s.fsf@be-well.ilk.org> > Content-Type: text/plain; charset=3Dus-ascii > > Please don't top-post; I had to delete the earlier comments from this > message because it had become impossible to follow. > > When you hit the "connection limit," does anything appear in the logs? > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > > > ------------------------------ > > Message: 29 > Date: Mon, 25 Jun 2007 12:52:57 -0500 > From: Scott Mayo > Subject: Re: Starting Scripts > To: RW , freebsd-questions@freebsd.org > Message-ID: <468000F9.3070608@mail.bloomfield.k12.mo.us> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > RW wrote: > > On Mon, 25 Jun 2007 10:18:30 -0500 > > Scott Mayo wrote: > > > > > >>I have set some things to automatically start in the rc.conf like ssh > >>and apache by doing 'sshd_enable=3D"YES"' and 'apache22_enable=3D"YES"'= . > >>How do I start things like Zope and Cyrus? > >> > >> From the command line I can just: > >> > >>'/usr/local/cyrus/bin master &' for cyrus > >> > >>'/data/home/testuser/zope28/bin/zopectl start' for my instance of > >>zope. > >> > >>I use to add lines like this to the rc.local file in linux to get > >>them started. I was thinking that I read that this could still be > >>done in FreeBSD, but was not the preferred way to do it. > >> > >> From looking at the scripts in '/usr/local/etc/rc.d', it looks like > >>there are different ways. For zope it says that I can define > >>'zope28_enable : "YES"' in '/etc/rc.conf', '/etc/rc.conf.local' or > >>'/etc/rc.conf/zope28', so I guess that I just add 'zope28_enable : > >>"YES"' to my rc.conf? > >> > >>Then the imapd script in /usr/local/etc/rc.d says to: > >> > >>move imapd.sh to '/etc/rc.d/cyrus_imapd' > > > > > > Don't do that - see below. > > > > > > > >>and define the cyrus_imapd_* > >>in '/etc/rc.conf', '/etc/rc.conf.local' or > >>'etc/rc.conf.d/cyrus_imapd'. > >> > >>Then it shows '[ -z "$cyrus_imapd_enable" ] && > >>cyrus_imapd_enable=3D"NO"' and [-z "$cyrus_imapd_flags" ] && > >>cyrus_imapd_flags=3D"-d"'. > >> > >>Do I enter both of those commands in the '/etc/rc.conf' just as > >>shown? I assume the "NO" will be "YES". These two lines have me a > >>bit baffled. > > > > > > Those lines are setting defaults, you can override them by defining > > the variables in rc.conf. *All* rc.d scripts are run startup it's just > > that those that aren't enabled don't do anything. > > Ok, that makes sense. If the default was 'enable' then it would have > started up because the script was run, but the service was defaulted to > 'Disable' > > >>I guess that I am still a bit confused on the '/etc/rc.d' and the > >>'/usr/local/etc/rc.d' directories. There is no imapd.sh in > >>'/usr/local/etc/rc.d', but it is only imapd. This has had me > >>confused because in the FreeBSD handbook it talked about the scripts > >>here would all end in .sh, but none of them do. The way that it > >>read, if there was an '.sh' file in '/usr/local/etc/rc.d' then that > >>script would be run at bootup. > >> > > > > > > > > The behaviour changed, it used to be that all the local scripts ended > > in .sh and ran in alphabetical order called from the same rc.d script > > in /etc/rc.d. Nowadays local scripts can be full rcng scripts if they > > have a provide field. If you are using an up-to-date FreebSD, don't > > move anything to /etc/rc.d, leave it where it is. > > > > Yes, this FreeBSD is up to date. Your comment above answered this > question for me also. Thanks again for the info. > > -- > Scott Mayo > System Administrator > Bloomfield Schools > > > Duct tape is like the force, it has a light side and a dark side and it > holds the universe together. > > > ------------------------------ > > Message: 30 > Date: Mon, 25 Jun 2007 14:02:50 -0400 > From: Lowell Gilbert > Subject: Re: Permanent apache patch > To: Josh > Cc: freebsd-questions@freebsd.org > Message-ID: <44wsxrkj3p.fsf@be-well.ilk.org> > Content-Type: text/plain; charset=3Dus-ascii > > Roland Smith writes: > > > Unfortunately most port update tools will delete files that are not in > > the master tree. > > In the cases I know of, this will only happen if the same tool had > previously known about the file. So just make sure you don't use a > filename that was ever in the tree in that particular directory. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ > > > ------------------------------ > > Message: 31 > Date: Mon, 25 Jun 2007 19:24:09 +0100 > From: Daniel Bye > Subject: Re: script to update my ports tree > To: Olivier Regnier > Cc: freebsd-questions@freebsd.org > Message-ID: <46800849.5040402@slightlystrange.org> > Content-Type: text/plain; charset=3DISO-8859-1 > > Olivier Regnier wrote: > > Hi everyone, > > > > I made a shell script in /etc/periodic/daily/610.update-ports-tree and > > in my /etc/periodic.conf, this line : > daily_update_ports_tree_enable=3D"YES". > > > > The problem is simple, my script doesn't start at all. > > > > Can you help me please ? > > > > Thank you :) > > > There is a syntax error in the script - you have missed the ;; from the > end of the first case statement. Try putting that in and see what > happens. You need something like this, or the script will just fall off > the last case statement, which does nothing: > > case $var in > yes) > do stuff here > ;; > *) ;; > esac > > > Also, you can simplify the script somewhat - you don't need to jump > through all those hoops with sed and awk to create a supfile on the fly > - just put this in your /etc/make.conf file, which does the same as your > selectserver() function: > > SUP_UPDATE=3D yes > SUP=3D /usr/bin/csup > SUPFLAGS=3D -g > SUPHOST=3D `/usr/local/bin/fastest_cvsup -Qc uk,fr,nl` > SUPFILE=3D /etc/cvsup/system > > The -Q option to fastest_cvsup returns just the hostname of the fastest > server, so no need to set up an enormous pipeline of tools. Alter the > rest of the script to call 'make update' from /usr/ports, and you're done= . > > Alternatively, you can use portsnap(8) instead - it automatically > selects one of the available mirrors and uses it. However, you will need > to do a bit of work to set this up - remove your ports tree (no, > seriously - follow along, this is good), then run: > > # portsnap fetch extract > > Now your script just needs to call > > # portsnap fetch update > > and that's it. This has the advantage that you don't need to cd to > /usr/ports for it to work. > > HTH, one way or another... > > Dan > > > ------------------------------ > > _______________________________________________ > 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" > > End of freebsd-questions Digest, Vol 184, Issue 3 > ************************************************* > --=20 Best Regards, Eliena Andrews For Health Care http://healthtreatments.blogspot.com