Re: jobs of network layer in broadcast & PPP networks
On Thursday 17 November 2005 14:06, Mohsen Pahlevanzadeh wrote: > Dears,I have 2 question : > 1.What's job of network layers in broadcast networks? > 2.What's job of network layer in PPP networks? Both the same. PPP and Ethernet (Multiple Access Broadcast) are one layer below network layer -> data-link layer. IP is covered within network layer. Regards, bh pgpyfJNHtURpG.pgp Description: PGP signature
Bug ?: SCHED_4BSD VS SCHED_ULE
Hi, I am running amd64 version on a Dell 2850 Dual Xeon processor with emt64 as soon as I turn on SCHED_ULE instead of SCHED_4BSD in rc.conf, the system starts to behave strangely. During boot, named and sshd can't start normally, system is unstable, etc Is that a known bug or isnt it suppose to work anyway on this kind of system ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /etc/rc.conf & /etc/defaults/rc.conf
On 2005-11-04 06:16, Mohsen Pahlevanzadeh <[EMAIL PROTECTED]> wrote: > Dears,What's relation of /etc/rc.conf & /etc/defaults/rc.conf ? The rules are simple: - You are allowed to manually edit `/etc/rc.conf' - You are *NOT* allowed to manually edit `/etc/defaults/rc.conf' The rc.conf(5) manpage is a nice introduction about these two files and it also contains a useful list of options you can set in `/etc/rc.conf'. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
/etc/rc.conf & /etc/defaults/rc.conf
Dears,What's relation of /etc/rc.conf & /etc/defaults/rc.conf ? Because i have readed an text that it has said "There are 2 structures between FreeBSD 4.x & 5.x . rc.conf is changed too." Please explain me on rc.conf file. Yours,Mohsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
/etc/rc.conf & /etc/defaults/rc.conf
Dears,What's relation of /etc/rc.conf & /etc/defaults/rc.conf ? Because i have readed an text that it has said "There are 2 structure between FreeBSD 4.x & 5.x . rc.conf is changed too." Yours,Mohsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
On 2005-11-03 16:33, Brandon Hinesley <[EMAIL PROTECTED]> wrote: > > Okay, the problem seems to be with a certain part of my script. > Like I said, it works fine when I start it manually (./) > > I set up a few "checkpoints" if you will, and I determined that > it's this loop that cron has a problem with: > > for (( i = $numbkups ; i >= 2 ; i-- )) > do > let from=i-1 > mv -fv $dbkups/$from $dbkups/$i > done > > This loop never runs and neither does anything after it. I > don't see why cron would have any problem with this, or why > this would exit the script... Hmmm, what shell is this supposed to run in? It doesn't look like /bin/sh syntax to me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
On 2 Nov 2005 at 19:31, Jerry McAllister wrote: > Although it may be reasonable to create a FreeBSD logo to supplant > the Beastie mascot, unfortunately this thing that has seemingly won > a contest is not a logo. It is really just another mascot, this > time with a kind of Pokemon kind of look to it. It might make for a nice antenna ball. You could put a smiley face on it, but then Jack in the Box might sue for infringement. For those in parts of the world not fortunate to have a Jack in the Box on every other street corner, see: http://www.jacks-gear.com/ [On third thought, I think I'd like my bikeshed in flame red.] -- Jerry Dunham [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upcoming FreeBSD releases...
On Fri, Nov 04, 2005 at 01:00:03AM +0100, martinko wrote: > but where is the schedule published ?? > i fail to locate it on the web site. all i can find are current and old > releases and an incomplete schedule for "upcoming" 6.0 (about which i > just "complained" in other thread btw). http://www.freebsd.org/releng/index.html Kris pgpauajwXmG1y.pgp Description: PGP signature
RE: New Logo
On 2 Nov 2005 at 1:33, Ted Mittelstaedt wrote: > >-Original Message- > >From: Greg 'groggy' Lehey [mailto:[EMAIL PROTECTED] > >Sent: Tuesday, November 01, 2005 10:15 PM > >To: Ted Mittelstaedt > >Cc: Free BSD Questions list > >Subject: Re: New Logo > > >Yes, there are others on the list who are behaving just as badly as > >you. > > Your opinion, they probably wouldn't agree. So, you believe that all others behaving badly would agree that you are the worst? You certainly have confidence in your ability behave worse than all the rest. I submit that you haven't quite succeeded, but I give you credit for trying. [No, perhaps I'd prefer an ice blue bikeshed.] -- Jerry Dunham [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: New Logo
On 1 Nov 2005 at 22:13, Ted Mittelstaedt wrote: > Sounds a bit high-handed to me, don't you think? You're asking us how it sounds to you? [Make my bikeshed mint green.] -- Jerry Dunham [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: creating gnome desktop shortcuts for floppy, DVD rom and compact flash card reader
On Thu, 3 Nov 2005 19:15:21 -0500 paul thodiyil <[EMAIL PROTECTED]> wrote: Format Recovered...Please do not top post. > On 11/3/05, Robert Marella <[EMAIL PROTECTED]> wrote: > > > > On Fri, 4 Nov 2005 02:41:24 +1100 > > paul thodiyil <[EMAIL PROTECTED]> wrote: > > > > > Does anyone know how to create shortcut icons to the gnome > > > desktop for commonly used devices such as floppy drive; cd/DVD > > > rom drive and USB compact flash card reader. > > > FreeBSD 6.0 RC1; AMD64 > > > Many thanks > > > > mkdir ~/Desktop/floppy > > mkdir ~/Desktop/dvdrom > > mkdir ~/Desktop/flash > > > > Speak the magic incantation "Beastie is better than any stinking > > logo" > > > > The icons will appear on your desktop as folders. Right click the > > folder and choose properties and you can change the icon. > > > > Good Luck > > > > Robert > > > Robert, > thanks. I chanted ten times, but I was only able to create desktop > folders with these names (floppy, dvdrom, ...). I could not get get > them to 'mount' the device. For. eg i placed DVD in the drive, > clicked on the newly created DVDROM folder on the desktop - but did > not reveal the DVD contents. > > I must have done it wromg. Any more help? > > PT > The folders/icons will only display contents after mounting. i.e. mount_msdosfs /dev/da0s1 ~/Desktop/flash or some such CLI, depending on the device and fs type. man mount. Some on this list use automount. I prefer to manually mount all removeable devices and can not give any help for automounting. For dvd's or cd's they must be data discs. Music cd's can not be mounted. Movies on dvd's can be mounted using mount_cd9660. I am not sure but I believe that is for dvd ripping. Others on this list are more knowlegeable than I. The last sentence may qualify for the understatement of the year. :) Good Luck Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cron Job will not run.
Okay, the problem seems to be with a certain part of my script. Like I said, it works fine when I start it manually (./) I set up a few "checkpoints" if you will, and I determined that it's this loop that cron has a problem with: for (( i = $numbkups ; i >= 2 ; i-- )) do let from=i-1 mv -fv $dbkups/$from $dbkups/$i done This loop never runs and neither does anything after it. I don't see why cron would have any problem with this, or why this would exit the script... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: creating gnome desktop shortcuts for floppy, DVD rom and compact flash card reader
Robert, thanks. I chanted ten times, but I was only able to create desktop folders with these names (floppy, dvdrom, ...). I could not get get them to 'mount' the device. For. eg i placed DVD in the drive, clicked on the newly created DVDROM folder on the desktop - but did not reveal the DVD contents. I must have done it wromg. Any more help? PT On 11/3/05, Robert Marella <[EMAIL PROTECTED]> wrote: > > On Fri, 4 Nov 2005 02:41:24 +1100 > paul thodiyil <[EMAIL PROTECTED]> wrote: > > > Does anyone know how to create shortcut icons to the gnome desktop for > > commonly used devices such as floppy drive; cd/DVD rom drive and USB > > compact flash card reader. > > FreeBSD 6.0 RC1; AMD64 > > Many thanks > > mkdir ~/Desktop/floppy > mkdir ~/Desktop/dvdrom > mkdir ~/Desktop/flash > > Speak the magic incantation "Beastie is better than any stinking logo" > > The icons will appear on your desktop as folders. Right click the > folder and choose properties and you can change the icon. > > Good Luck > > Robert > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upcoming FreeBSD releases...
Kris Kennaway wrote: On Fri, Nov 04, 2005 at 12:07:09AM +0100, martinko wrote: Kris Kennaway wrote: On Tue, Oct 25, 2005 at 11:01:32AM +0300, Casper wrote: Hi, I`m trying to make little schedule for upgrading and wanted to know when approximate will be new FreeBSD releases... How I understand in few weeks must be FreeBSD 5.5 release, but I can`t find schedule for upcoming 5.5 version... Or it is delayed? Or in few weeks will be maybe sooner 6.0 version of FreeBSD? 5.5 will be a few months after 6.0, i.e. perhaps not before the beginning of next year. Kris hi, as far as i understand minor releases are supposed to be 4-6 months apart. this should be the new release model announced. am i wrong? or has it changed? or is it influenced by something? (6.0-R?) it might be useful, imho, to set/show a roadmap with at least approximate release dates. Yes, since 6.0 took a long time it will push back the rest of the published schedule to some extent. Kris ok, i understand. but where is the schedule published ?? i fail to locate it on the web site. all i can find are current and old releases and an incomplete schedule for "upcoming" 6.0 (about which i just "complained" in other thread btw). martin ps: it's a pity this isn't updated anymore -- http://www.xl0.org/FreeBSD/ -- is there any other (comparable) source of information pls ?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
Jim Pazarena wrote: after reading the original competition posting, it seems that it was orchestrated by the "core" @ freebsd it would be interesting to learn the total # of "core" members, and how the vote went, yay and nay, and whether, it at all, the "core" is hearing the message which seems to be emanating from the "non-core".. Sigh. "*the message*"? Mixed messages at best. Some like it. A few more don't. A number really, really don't like it at all. Many, many, many, many, many more are completely silent on the topic, meaning they really don't give a flying /dev/null. IOW, can the decision be reversed? is it being considered? If the process gets reversed based on the fervent outcry of a small number of people who think they have somehow been disenfranchised, that would be just as silly as the oft-repeated "this whole thing was done to please offended right-wingers" argument. There was a process (seems to me it was a fair process), it's over, and some factions lost, particularly the "don't change anything" faction. By gosh and gee willikers, what a surprise. Seems to me like those who are up in arms over this: (a) had every chance to participate in the process (b) did not participate in the process except to heartily denounce the very existence of the process and its goal (c) even now outright refuse to go and be part of the advocacy@ community where this discussion is germane to that list charter (d) need a real big mop for all the spilled milk and tears Hey... take NetBSD's flag logo, flip it vertically, draw some more lines, update the text, and walla! a FreeBSD mop logo! Perfecto. Biggest. Bike. Shed. Ever. -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sk0: watchdog timeout
On November 3, 2005 06:37 pm, martinko wrote: > Vladimir Dvorak wrote: > > Hello, > > > > I have a problem with network card. From time to time kernel says > > > > sk0: watchdog timeout > > > > It has (probably) random behavior. > > > > I use FreeBSD 5.4-RELEASE-p8, motherboard is ASUS A8V Deluxe (AMD64, > > Athlon64XP 3200+) and internal network card from pciconf -v -l > > > > [EMAIL PROTECTED]:10:0: class=0x02 card=0x811a1043 chip=0x432011ab > > rev=0x13 > > hdr=0x00 > > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > > device = '88E8001 Gigabit 32-bit Ethernet Controller with > > Integrated PHY' > > class= network > > subclass = ethernet > > > > > > This machine should be sent to serverhouse and I am not sure, if it is > > ready. :-( Can anyone tell me what is the solution ? To buy another > > netcard ? > > > > Thank you, > > > > Vladimir Dvorak > > > > > > > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > the same chip here and i see the messages from time to time too. > not sure what's the problem or if there is any at all. > so far card has been working alright, or at least i haven't noticed any > issues. > > m. > Same here too: sk0: watchdog timeout sk0: watchdog timeout sk0: watchdog timeout with occasional : sk0: discard frame w/o leading ethernet header (len 10 pkt len 10) sk0: discard frame w/o leading ethernet header (len 11 pkt len 11) Network is running fine, though sometimes accessing the internet takes 2-3 seconds (as if the DNS was not responding) but then is fine. -- FreeBSD 7.0-CURRENT #0: Sat Oct 29 11:32:52 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A PGP? : http://www.clkroot.net/security/nb_root.asc pgpo1i6QGXkzr.pgp Description: PGP signature
Re: sk0: watchdog timeout
Vladimir Dvorak wrote: Hello, I have a problem with network card. From time to time kernel says sk0: watchdog timeout It has (probably) random behavior. I use FreeBSD 5.4-RELEASE-p8, motherboard is ASUS A8V Deluxe (AMD64, Athlon64XP 3200+) and internal network card from pciconf -v -l [EMAIL PROTECTED]:10:0: class=0x02 card=0x811a1043 chip=0x432011ab rev=0x13 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8001 Gigabit 32-bit Ethernet Controller with Integrated PHY' class= network subclass = ethernet This machine should be sent to serverhouse and I am not sure, if it is ready. :-( Can anyone tell me what is the solution ? To buy another netcard ? Thank you, Vladimir Dvorak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" the same chip here and i see the messages from time to time too. not sure what's the problem or if there is any at all. so far card has been working alright, or at least i haven't noticed any issues. m. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sysinstall install.cfg questions
Thank you! Excellent, exactly what I needed. The plan is to use disc1 of the release and modify it with a few packages and config changes to make an easily installable version of our modified desktop (Waimea/ROX/Webmin). I was going to use the BSD installer (bsdinstaller.org) but this way seems to make more sense in the long run, and leads into creating a port of the desktop as well (which is planned). Most likely we'll eventually make our own releases with a Live CD and a separate Install CD, so your reply was about as perfect as I could of ever hoped for. Progress is slow as it's not a top priority, but a preview of the project is available here: http://live.webpath.net I hope to get some screen shots up with in the next week or two. files to the Antony Mawer wrote: On 4/11/2005 6:52 AM, Todd wrote: I'm trying to figure out how to use the sysinstall using a install.cfg script to install on multiple machines without floppies, and without needing any interaction other than putting in the CD. I can create the script but don't know where to put it on the modified installation CD, or how to initiate sysinstall during the boot process to use it? Any help will be greatly appreciated! Todd Are you creating your own CDs using a 'make release' (see release(7)) process? If so, I've generally followed an approach similar to the following: 1. Create your install.cfg file in the /usr/src/release/ directory. 2. Create a patch file that will add your install.cfg to a standard /usr/src tree: cd /usr/src diff -u /dev/null src/release/install.cfg > ~/local.patch 3. Make the release with the appropriate LOCAL_PATCH parameter: make release \ CHROOTDIR=/some/dir \ BUILDNAME=6.0-MYRELEASE \ CVSROOT=/usr/home/ncvs \ RELEASETAG=RELENG_6_0 \ LOCAL_PATCHES=/path/to/local.path That would build a 6.0 security branch build with your install.cfg in /usr/src/release/ of the chroot. The make release process then takes care of placing the install.cfg in the appropriate location on the CD. If you're attempting to patch an existing CD image, reading /usr/src/release/Makefile suggests you'll need to: - Extract the contents of the ISO - Un-gzip and then mount the decompressed /boot/mfsroot.gz file - Place your install.cfg in the root of the mounted mfsroot fs - Unmount the mfsroot filesystem - Re-gzip the mfsroot file to /boot/mfsroot.gz - Run mkisofs to re-create the CD Hopefully this points you in the right general direction! Cheers Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0-RELEASE ISO's
Kris Kennaway wrote: > On Thu, Nov 03, 2005 at 05:25:03PM -0600, Chris wrote: > >>I see we have the 6.0-RELEASE ISO etc up on the site: >> >>ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/ > > > Subject to change without notice until announced...careful you don't > download a coaster :) > > Kris Hahaha - I might just need to expand my coaster collection *wink* -- Best regards, Chris I think ... therefore I am confused. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0-RELEASE ISO's
On Thu, Nov 03, 2005 at 05:25:03PM -0600, Chris wrote: > I see we have the 6.0-RELEASE ISO etc up on the site: > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/ Subject to change without notice until announced...careful you don't download a coaster :) Kris pgp3iqwekdn5h.pgp Description: PGP signature
6.0-RELEASE ISO's
I see we have the 6.0-RELEASE ISO etc up on the site: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/ -- Best regards, Chris I think ... therefore I am confused. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: creating gnome desktop shortcuts for floppy, DVD rom and compact flash card reader
On Fri, 4 Nov 2005 02:41:24 +1100 paul thodiyil <[EMAIL PROTECTED]> wrote: > Does anyone know how to create shortcut icons to the gnome desktop for > commonly used devices such as floppy drive; cd/DVD rom drive and USB > compact flash card reader. > FreeBSD 6.0 RC1; AMD64 > Many thanks mkdir ~/Desktop/floppy mkdir ~/Desktop/dvdrom mkdir ~/Desktop/flash Speak the magic incantation "Beastie is better than any stinking logo" The icons will appear on your desktop as folders. Right click the folder and choose properties and you can change the icon. Good Luck Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upcoming FreeBSD releases...
On Fri, Nov 04, 2005 at 12:07:09AM +0100, martinko wrote: > Kris Kennaway wrote: > >On Tue, Oct 25, 2005 at 11:01:32AM +0300, Casper wrote: > > > >>Hi, > >> > >>I`m trying to make little schedule for upgrading and wanted to know > >>when approximate will be new FreeBSD releases... > >>How I understand in few weeks must be FreeBSD 5.5 release, but I can`t > >>find schedule for upcoming 5.5 version... Or it is delayed? > >>Or in few weeks will be maybe sooner 6.0 version of FreeBSD? > > > > > >5.5 will be a few months after 6.0, i.e. perhaps not before the > >beginning of next year. > > > >Kris > > hi, > > as far as i understand minor releases are supposed to be 4-6 months > apart. this should be the new release model announced. am i wrong? or > has it changed? or is it influenced by something? (6.0-R?) > it might be useful, imho, to set/show a roadmap with at least > approximate release dates. Yes, since 6.0 took a long time it will push back the rest of the published schedule to some extent. Kris pgp9EXsA9qvMO.pgp Description: PGP signature
Re: New Logo
On Thursday, 3 November 2005 at 14:26:24 -0800, Jim Pazarena wrote: > after reading the original competition posting, it seems that it was > orchestrated by the "core" @ freebsd Since this is a question, I suppose it's worth answering here. No, this wasn't orchestrated by the FreeBSD Core Team. As others have already mentioned, see http://logo-contest.freebsd.org/ for the details. I must confess it's difficult to find how the designs were assessed, but my recollection was that it was a vote of all FreeBSD developers, currently I think about 300. There were 181 votes. > it would be interesting to learn the total # of "core" members, The FreeBSD core team consists of 9 members, elected every 2 years. Currently one of the positions is vacant. See http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-core.html for more details. > and how the vote went, yay and nay, and whether, it at all, the > "core" is hearing the message which seems to be emanating from the > "non-core".. Jun Kuriyama has been reading this thread. He is both a core team member and the coordinator of the contest. I'm sure other core team members have been following as well. > IOW, can the decision be reversed? is it being considered? if not, > it's all moot. Anything can be reversed. I don't know if it's being considered. But if you feel so strongly about this, any further discussion belongs on the advocacy group. If you don't want to join that group, by definition you don't feel strongly enough. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpg1VELncueu.pgp Description: PGP signature
Re: Upcoming FreeBSD releases...
Kris Kennaway wrote: On Tue, Oct 25, 2005 at 11:01:32AM +0300, Casper wrote: Hi, I`m trying to make little schedule for upgrading and wanted to know when approximate will be new FreeBSD releases... How I understand in few weeks must be FreeBSD 5.5 release, but I can`t find schedule for upcoming 5.5 version... Or it is delayed? Or in few weeks will be maybe sooner 6.0 version of FreeBSD? 5.5 will be a few months after 6.0, i.e. perhaps not before the beginning of next year. Kris hi, as far as i understand minor releases are supposed to be 4-6 months apart. this should be the new release model announced. am i wrong? or has it changed? or is it influenced by something? (6.0-R?) it might be useful, imho, to set/show a roadmap with at least approximate release dates. m. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Release Information : A standard question !...:/
Erik Norgaard wrote: On Mon, 24 Oct 2005, George Katsanos wrote: Is there any information that you can give to the freebsd fans about the 6.0 RELEASE [ releng] and its ..'release' date ? http://www.freebsd.org/releases/6.0R/schedule.html Erik well, the page appears very static. i myself tried to check it regularly to follow the release process, unfortunately the page is more or less useless. this should be addressed, imho, as not everyone follows mailing lists. martin ps: i'm afraid the same goes for todo list / open issues. :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
New Logo
after reading the original competition posting, it seems that it was orchestrated by the "core" @ freebsd it would be interesting to learn the total # of "core" members, and how the vote went, yay and nay, and whether, it at all, the "core" is hearing the message which seems to be emanating from the "non-core".. IOW, can the decision be reversed? is it being considered? if not, it's all moot. regards, Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
> > On Thu, 3 Nov 2005, Kris Kennaway wrote: > > > I point out that removing beastie was not the point of the exercise > > (contrary to Ted's paranoid fantasies of a right-wing Christian > > fundamentalist cabal dictating policy to the core team). > > In point of fact, the "logo" idea started right here when > a right-wing Christian fundamentalist complain that people > at his church were worried about Beastie on their computers. > (I have that archived in case you are inclined to try to > deny it.) You must be a newbie. The logo argument has been going on for years. There have been suggestions about getting a new logo, both to thwart the religious bigots and to "be more professional" for a long time before that particular person worried about his/her church response. There have been good reasons and bad reasons argued and good ideas and bad ideas put forth for a long time. > These are exactly the same people who will support the > Department of Homeland Security when it decides that everyone > must use one the "approved" (i.e. big commercial) operating > systems because of 9-11. Some of them. And some are not. Your brush is so wide, it can't help but dripping back on yourself. jerry > > When you start caving to such people, there is no stopping. > > -- > Lars Eighner > [EMAIL PROTECTED] > http://www.larseighner.com/index.html > 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
On Thu, Nov 03, 2005 at 03:34:27PM -0600, Lars Eighner wrote: > On Thu, 3 Nov 2005, Kris Kennaway wrote: > > >I point out that removing beastie was not the point of the exercise > >(contrary to Ted's paranoid fantasies of a right-wing Christian > >fundamentalist cabal dictating policy to the core team). > > In point of fact, the "logo" idea started right here when > a right-wing Christian fundamentalist complain that people > at his church were worried about Beastie on their computers. > (I have that archived in case you are inclined to try to > deny it.) That discussion has come up many times here and on other mailing lists, but it was not the reason for holding the logo contest. Kris pgpKVC8bm8yKw.pgp Description: PGP signature
Re: Cron Job will not run.
On 2005-11-03 13:51, Brandon Hinesley <[EMAIL PROTECTED]> wrote: > Yes, it is. > -rwxr-x--- 1 root wheel 1827 Nov 3 12:43 bkup-daily > > >>I don't have to export /usr/local/Backup/scripts, right? > > >Hmmm, no, but is the script executable? That's odd. You'll have to schedule this script to run some time in the near future, and then stop cron. Run cron manually, as root, specifying at least the following debugging options and watch out when the scheduled event tries to run for interesting output on your terminal: # cron -x load,misc,pars,proc The meaning of these is explained in the manpage of cron, where all the rest of the debugging options are listed too. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cron Job will not run.
Yes, it is. -rwxr-x--- 1 root wheel 1827 Nov 3 12:43 bkup-daily >>I don't have to export /usr/local/Backup/scripts, right? >Hmmm, no, but is the script executable? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sysinstall install.cfg questions
On 4/11/2005 6:52 AM, Todd wrote: I'm trying to figure out how to use the sysinstall using a install.cfg script to install on multiple machines without floppies, and without needing any interaction other than putting in the CD. I can create the script but don't know where to put it on the modified installation CD, or how to initiate sysinstall during the boot process to use it? Any help will be greatly appreciated! Todd Are you creating your own CDs using a 'make release' (see release(7)) process? If so, I've generally followed an approach similar to the following: 1. Create your install.cfg file in the /usr/src/release/ directory. 2. Create a patch file that will add your install.cfg to a standard /usr/src tree: cd /usr/src diff -u /dev/null src/release/install.cfg > ~/local.patch 3. Make the release with the appropriate LOCAL_PATCH parameter: make release \ CHROOTDIR=/some/dir \ BUILDNAME=6.0-MYRELEASE \ CVSROOT=/usr/home/ncvs \ RELEASETAG=RELENG_6_0 \ LOCAL_PATCHES=/path/to/local.path That would build a 6.0 security branch build with your install.cfg in /usr/src/release/ of the chroot. The make release process then takes care of placing the install.cfg in the appropriate location on the CD. If you're attempting to patch an existing CD image, reading /usr/src/release/Makefile suggests you'll need to: - Extract the contents of the ISO - Un-gzip and then mount the decompressed /boot/mfsroot.gz file - Place your install.cfg in the root of the mounted mfsroot fs - Unmount the mfsroot filesystem - Re-gzip the mfsroot file to /boot/mfsroot.gz - Run mkisofs to re-create the CD Hopefully this points you in the right general direction! Cheers Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
On 2005-11-03 13:41, Brandon Hinesley <[EMAIL PROTECTED]> wrote: > Okay, I exported the updated path to include "/usr/local/bin". Still not > working though. My script is in /usr/local/Backup/scripts/bkup-daily. > Since I'm referencing the absolute path in /etc/crontab like this: > > 35 13 * * * root /usr/local > /Backup/scripts/bkup-daily > > I don't have to export /usr/local/Backup/scripts, right? Hmmm, no, but is the script executable? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
The thought occurs that the annoying religious fundamentalists are those that revere an amateurishly drawn cartoon. (Of all things.) Idol worship, sect-like fulmination, and blind allegiance to mere symbols representing obscure events in ancient history were never more in evidence. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cron Job will not run.
Okay, I exported the updated path to include "/usr/local/bin". Still not working though. My script is in /usr/local/Backup/scripts/bkup-daily. Since I'm referencing the absolute path in /etc/crontab like this: 35 13 * * * root /usr/local /Backup/scripts/bkup-daily I don't have to export /usr/local/Backup/scripts, right? [EMAIL PROTECTED] export PATH="/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin" -Original Message- From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 1:18 PM To: Brandon Hinesley Cc: freebsd-questions@freebsd.org Subject: Re: Cron Job will not run. Merely adding it as an assignment is not enough for child processes of the cron script to 'see' the value. Make sure you also 'export' the new PATH: PATH='...' export PATH Then the rsync process will use the new PATH. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
lol - sorry to point out the obvious, but ya never know ;) - have seen worse/done worse myself... Anyhow, try modifying the script so it just outputs something to the console, see if cron logs/emails the output or not, then take it step-by-step from there; have it actually print out/echo the command(s) your script will run, then you can verify the command works on the console, then go from there. I have a (rather complex) backup script using rsync, written in Perl (yeah, I know I could have done what I did using shell or a cleaner setup - just Perl is easier ;) I synchronize serveral directories to effectively mirror a partition accross two data servers (/server, from server1 to server2). Here's my script for what it may be worth: #!/usr/bin/perl -w use strict; use lib '/server/modules'; my $verbose = defined($ARGV[0]); # pairs go: /server/{src/key} = /server/{dst/value} # eg: 'profiles' => '' = /server/profiles (remote) to /server (local) my %dirs = ('profiles'=>'', 'common'=>'', 'msword'=>'', 'qs9000'=>'', 'quattro'=>'', 'exe'=>'', 'users'=>'', 'netlogon'=>'' ); open(LOG,">/var/log/rsync_nightly.log") || die "Couldn't create log file!\n"; foreach my $src (keys %dirs) { my $output = `/usr/local/bin/rsync -va --stats --delete rsync://server2/server/$src /server/$dirs{$src}`; print LOG $output; print $output if ($verbose); } close(LOG); exit; -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ Brandon Hinesley wrote: If it's not, then someone's inserting things into my /var/log/cron! Here's some of /var/log/cron: Nov 3 09:00:00 server /usr/sbin/cron[56343]: (operator) CMD (/usr/libexec/save-entropy) Nov 3 09:00:00 server /usr/sbin/cron[56344]: (root) CMD (/usr/libexec/atrun) Nov 3 09:00:00 server /usr/sbin/cron[56345]: (root) CMD (/usr/local/Backup/scripts/bkup-daily) Kidding...yes it's running: [EMAIL PROTECTED] ps ax | grep cron 472 ?? Is 0:02.20 /usr/sbin/cron -s 57450 p0 R+ 0:00.00 grep cron Thanks -Original Message- From: Nathan Vidican [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 1:07 PM To: Brandon Hinesley Cc: [EMAIL PROTECTED] Subject: Re: Cron Job will not run. May be a really dumb question here, but like all technical problems, start with the simple stuff: ps ax | grep cron Is cron even running? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
On Thu, 3 Nov 2005, Kris Kennaway wrote: I point out that removing beastie was not the point of the exercise (contrary to Ted's paranoid fantasies of a right-wing Christian fundamentalist cabal dictating policy to the core team). In point of fact, the "logo" idea started right here when a right-wing Christian fundamentalist complain that people at his church were worried about Beastie on their computers. (I have that archived in case you are inclined to try to deny it.) These are exactly the same people who will support the Department of Homeland Security when it decides that everyone must use one the "approved" (i.e. big commercial) operating systems because of 9-11. When you start caving to such people, there is no stopping. -- Lars Eighner [EMAIL PROTECTED] http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to clear an improperly unreferenced file in multi-user mode?
On Nov 3, 2005, at 7:00 AM, Olaf Greve wrote: Hi, When doing some maintenance on my fall-back server I ran into something weird. When running df it turned out /var was for 90% full. I then manually deleted some files (as root over SSH), amongst which the 'maillog' logfiles in /var/log, I also killed sendmail (as it was generating the big log files, and at present I don't need to run it on that machine), and just to be sure I created a new 'maillog file of 0 length. So far so good, but after removing the maillog files and performing another df call, the available size had not quite dropped as much as expected and as should. DU reports the proper amount of disk usage, so I performed an fsck. ... Now, of course one way to get rid of that big sucker is to boot the machine in single user mode and run fsck again, however, the box is nowhere near me and I cannot go down to the city where the machine is anytime soon (besides: this is far from an urgent issue). So, I was wondering about a thing: rather than doing a remote reboot and hope that fsck will clear it up in the booting process (if it does that at all, that is), I was wondering if there's a way to fix this when running in multi user mode. Does anyone know how (if possible) to achieve this, or do I have to reboot the machine in single user mode after all? I think that if you run a du -hd2 / you'll see that there's probably a bunch of crap in /var/ftp. I found this when I mistakenly enabled anonymous FTP. There were a much of random-sized binaries killing my hard drive. - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup mirror is failing
On Thursday 03 November 2005 12:10 pm, stan wrote: > I went to update one of my machines today, and as a precaution, i > checked the local cvsup mirro log. > > here's what I found: > > CVSup update begins at 2005-11-03 05:33:00 > Updating from cvsup-master.freebsd.org > Connected to cvsup-master.freebsd.org > No record for server "freefall.freebsd.org" in > "/home/cvsupin/.cvsup/auth" CVSup update ends at 2005-11-03 05:33:00 > > > I have no idea how long this has been failing, as I;ve been busy on > other things. > > Has something chnaged about mirroring? How can I fix this problem? You aren't supposed to use master unless you are an official mirror. Check for one of the second level names such as cvsup1.freebsd.org and use one of them. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
On 2005-11-03 13:01, Brandon Hinesley <[EMAIL PROTECTED]> wrote: >Alex Zbyslaw [mailto:[EMAIL PROTECTED] wrote: >> Brandon Hinesley wrote: >>> The script below works perfectly when I run it from a >>> console, however, nothing at all seems to happen as evidenced >>> by the backups not being rotated. I don't know if this makes >>> a difference, but the "Backup" folder is a file system on an >>> external hard drive. I am also using samba to share that >>> folder as r/o. >>> >>> [...] >>> Here's part of my /etc/crontab: >>> >>> SHELL=/bin/sh >>> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin >>> [...] >>> rsync -av --delete $files/$docs $dbkups/0/ >> >> This is a FAQ, though I don't know if it's in the FAQ :-) >> >> From the command line /usr/local/bin (where rsync lives) is in >> your path. From Cron it is not. Either add it to the crontab >> or set PATH in your script. The latter is recommended since >> the script works whatever the running user has their path set >> to. There may be some other path problem I've missed, but this >> ones sticks out. > > I added /usr/local/bin to /etc/crontab > > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin > > It's still not working. It doesn't seem to run anything in the > script at all; rotations or rsync'n. Merely adding it as an assignment is not enough for child processes of the cron script to 'see' the value. Make sure you also 'export' the new PATH: PATH='...' export PATH Then the rsync process will use the new PATH. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
nssswitch - anyone using nss_X ? nss/freebsd complete?
Anyone using any sort of nss_X.so module? Are there any open issues with FreeBSD/amd64 and nssswitch? I've been reading a good deal of archived mailing list messages regarding development/threading issues, but to no avail have I found any definitive answer as to if nssswitch works correctly and completely under FreeBSD. Personal interest being drawn from my own issues using, configuring, and updating/compiling nss_ldap. Issues in the code, issues with making new versions, and apparently just issues all-together :( Thinking perhaps someone else out there is using without problem some sort of nss solution? Sparing one problem, current version from FreeBSD/ports/current seems to work correctly, but problem is quite an issue and potential security risk - the likes of which I am still unsure of. I have posted a few times to various mailing lists, and am a member of freebsd-questions, freebsd-current, freebsd-hackers, freebsd-amd64, and nssldap/padl.com - all to no resolution thus far. I'd ideally just like to do the wrench-work and get new(er) version of nss_ldap to compile/function properly under FreeBSD. -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cron Job will not run.
If it's not, then someone's inserting things into my /var/log/cron! >Here's some of /var/log/cron: > >Nov 3 09:00:00 server /usr/sbin/cron[56343]: (operator) CMD >(/usr/libexec/save-entropy) Nov 3 09:00:00 server /usr/sbin/cron[56344]: >(root) CMD (/usr/libexec/atrun) Nov 3 09:00:00 server >/usr/sbin/cron[56345]: (root) CMD (/usr/local/Backup/scripts/bkup-daily) Kidding...yes it's running: [EMAIL PROTECTED] ps ax | grep cron 472 ?? Is 0:02.20 /usr/sbin/cron -s 57450 p0 R+ 0:00.00 grep cron Thanks -Original Message- From: Nathan Vidican [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 1:07 PM To: Brandon Hinesley Cc: [EMAIL PROTECTED] Subject: Re: Cron Job will not run. May be a really dumb question here, but like all technical problems, start with the simple stuff: ps ax | grep cron Is cron even running? -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
May be a really dumb question here, but like all technical problems, start with the simple stuff: ps ax | grep cron Is cron even running? -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ Brandon Hinesley wrote: I forgot to mention that I've already tried giving the absolute path to every executable mentioned in the script, but to no avail. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 12:56 PM To: Alex Zbyslaw Cc: Brandon Hinesley; freebsd-questions@freebsd.org Subject: Re: Cron Job will not run. Alex Zbyslaw wrote: Brandon Hinesley wrote: The script below works perfectly when I run it from a console, however, nothing at all seems to happen as evidenced by the backups not being rotated. I don't know if this makes a difference, but the "Backup" folder is a file system on an external hard drive. I am also using samba to share that folder as r/o. [...] Here's part of my /etc/crontab: SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin [...] rsync -av --delete $files/$docs $dbkups/0/ This is a FAQ, though I don't know if it's in the FAQ :-) From the command line /usr/local/bin (where rsync lives) is in your path. From Cron it is not. Either add it to the crontab or set PATH in your script. The latter is recommended since the script works whatever the running user has their path set to. There may be some other path problem I've missed, but this ones sticks out. --Alex Blah - I dont know where rsync lives - let's assume it lives in /usr/local/sbin - change the line in cron to: /usr/local/sbin/rsync -av --delete $files/$docs $dbkups/0/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FW: Cron Job will not run.
I added /usr/local/bin to /etc/crontab PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin It's still not working. It doesn't seem to run anything in the script at all; rotations or rsync'n. -Original Message- From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 12:47 PM To: Brandon Hinesley Cc: freebsd-questions@freebsd.org Subject: Re: Cron Job will not run. Brandon Hinesley wrote: >The script below works perfectly when I run it from a console, however, >nothing at all seems to happen as evidenced by the backups not being >rotated. I don't know if this makes a difference, but the "Backup" folder >is a file system on an external hard drive. I am also using samba to share >that folder as r/o. >[...] >Here's part of my /etc/crontab: > >SHELL=/bin/sh >PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin >[...] >rsync -av --delete $files/$docs $dbkups/0/ > > > > This is a FAQ, though I don't know if it's in the FAQ :-) From the command line /usr/local/bin (where rsync lives) is in your path. From Cron it is not. Either add it to the crontab or set PATH in your script. The latter is recommended since the script works whatever the running user has their path set to. There may be some other path problem I've missed, but this ones sticks out. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cron Job will not run.
I forgot to mention that I've already tried giving the absolute path to every executable mentioned in the script, but to no avail. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 12:56 PM To: Alex Zbyslaw Cc: Brandon Hinesley; freebsd-questions@freebsd.org Subject: Re: Cron Job will not run. Alex Zbyslaw wrote: > Brandon Hinesley wrote: > >> The script below works perfectly when I run it from a console, however, >> nothing at all seems to happen as evidenced by the backups not being >> rotated. I don't know if this makes a difference, but the "Backup" >> folder >> is a file system on an external hard drive. I am also using samba to >> share >> that folder as r/o. [...] >> Here's part of my /etc/crontab: >> >> SHELL=/bin/sh >> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin >> [...] >> rsync -av --delete $files/$docs $dbkups/0/ >> >> >> >> > This is a FAQ, though I don't know if it's in the FAQ :-) > > From the command line /usr/local/bin (where rsync lives) is in your > path. From Cron it is not. Either add it to the crontab or set PATH in > your script. The latter is recommended since the script works whatever > the running user has their path set to. There may be some other path > problem I've missed, but this ones sticks out. > > --Alex Blah - I dont know where rsync lives - let's assume it lives in /usr/local/sbin - change the line in cron to: /usr/local/sbin/rsync -av --delete $files/$docs $dbkups/0/ -- Best regards, Chris Real programmers don't write in Pascal, Bliss, or Ada, or any of those pinko computer science languages. Strong typing is for people with weak memories. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
Alex Zbyslaw wrote: > Brandon Hinesley wrote: > >> The script below works perfectly when I run it from a console, however, >> nothing at all seems to happen as evidenced by the backups not being >> rotated. I don't know if this makes a difference, but the "Backup" >> folder >> is a file system on an external hard drive. I am also using samba to >> share >> that folder as r/o. [...] >> Here's part of my /etc/crontab: >> >> SHELL=/bin/sh >> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin >> [...] >> rsync -av --delete $files/$docs $dbkups/0/ >> >> >> >> > This is a FAQ, though I don't know if it's in the FAQ :-) > > From the command line /usr/local/bin (where rsync lives) is in your > path. From Cron it is not. Either add it to the crontab or set PATH in > your script. The latter is recommended since the script works whatever > the running user has their path set to. There may be some other path > problem I've missed, but this ones sticks out. > > --Alex Blah - I dont know where rsync lives - let's assume it lives in /usr/local/sbin - change the line in cron to: /usr/local/sbin/rsync -av --delete $files/$docs $dbkups/0/ -- Best regards, Chris Real programmers don't write in Pascal, Bliss, or Ada, or any of those pinko computer science languages. Strong typing is for people with weak memories. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Cron Job will not run.
Well that's embarrassing. Good eye, thank you. Still not working though. -Original Message- From: DAve [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 12:37 PM To: Brandon Hinesley Subject: Re: Cron Job will not run. Brandon Hinesley wrote: > Here's a copy of my backup script: > > [EMAIL PROTECTED] cat /usr/local/Backup/scripts/bkup-daily > #/bin/sh > ##Initialization## > #--Initialize variables--# Quick quess? the shebang line is wrong. Try this, #!/bin/sh You need the exclamation point to tell the interpreter to execute the script with the appropriate shell. DAve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cron Job will not run.
Brandon Hinesley wrote: The script below works perfectly when I run it from a console, however, nothing at all seems to happen as evidenced by the backups not being rotated. I don't know if this makes a difference, but the "Backup" folder is a file system on an external hard drive. I am also using samba to share that folder as r/o. [...] Here's part of my /etc/crontab: SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin [...] rsync -av --delete $files/$docs $dbkups/0/ This is a FAQ, though I don't know if it's in the FAQ :-) From the command line /usr/local/bin (where rsync lives) is in your path. From Cron it is not. Either add it to the crontab or set PATH in your script. The latter is recommended since the script works whatever the running user has their path set to. There may be some other path problem I've missed, but this ones sticks out. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MAKEDEV & FreeBSD 5.x or higher.....
On Wed, Nov 23, 2005 at 10:28:56PM +0330, Mohsen Pahlevanzadeh wrote: > Dears,FreeBSD community removed MAKEDEV script in FreeBSD 5.x or later. > I have refered to online handbook,But it explains everything with > MAKEDEV script. > Please introduction a replacement of MAKEDEV. See the devfs.conf(5) manpage. Kris pgpLmVo2XZSFi.pgp Description: PGP signature
Re: New Logo
On Thu, Nov 03, 2005 at 02:51:25PM -0500, DAve wrote: > cpghost wrote: > >On Wed, Nov 02, 2005 at 05:46:26PM +0200, Giorgos Keramidas wrote: > > > >>I am not 100% convinced, but if you say so. It seems to be that the > >>religious fundamentalist who thinks Beastie is "the Devil", or > >>something, will sooner or later look at the new logo and think: > >> > >> ``It looks like a head. A horned head. A red, horned head. > >> OH MY FRIGGIN' GOD! THAT'S THE DEVIL HIMSELF!'' > >> > >>Then all the fuss about a new logo has been in vain :( > > Anyone who was so afraid of beastie, or the new logo, would never use > FreeBSD. One days traffic on this maillist and the language would send > them elsewhere. > > > > > > >No, that would be a GOOD THING, because we'll then get rid of that > >awful logo, even with the help of the people who started this whole > >logo contest in the first place! > > I propose that people who subscribe to the idea that a devil on the box > means a devil inside, constitute a very minor percentage of the > population. I also propose that more potential FreeBSD users are lost > due to the lack of native RPM support and GUI installation tools. I > would not change the installation, ports system, or logo to suit those > people. None of those three groups are worth the calories being expended > in this conversation. > > This entire thread is funny, and sad. I point out that removing beastie was not the point of the exercise (contrary to Ted's paranoid fantasies of a right-wing Christian fundamentalist cabal dictating policy to the core team). Please review http://logo-contest.freebsd.org/ if you're unclear about this (it's explicitly stated that logo submissions could include beastie, and in fact almost all of them did). In fact if you look carefully you'll notice that the new logo still includes a stylized representation of beastie. Kris pgp6SkVQtMcJ3.pgp Description: PGP signature
Cron Job will not run.
I've been trying to get this working for quite a while, maybe you guys can help me out. This is my first time administering a FreeBSD server (or any server for that matter) and I've only been using FreeBSD (or any other *nix for that matter) for about 6 months. The script below works perfectly when I run it from a console, however, nothing at all seems to happen as evidenced by the backups not being rotated. I don't know if this makes a difference, but the "Backup" folder is a file system on an external hard drive. I am also using samba to share that folder as r/o. I have no way of logging my backup scripts activity yet, any information you might have on doing so would be appreciated. I would also appreciate any ideas on improving efficiency/functionality. Here's part of my /etc/crontab: SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin HOME=/var/log #This means every 3 hours, right? 0 */3 * * * root /usr/local/Backup/scripts/bkup-daily # Update the ports using cvsup 45 4 * * * rootcvsup /usr/ports/ports-supfile There is a new line at the bottom of the crontab file (As there should be) Here's some of /var/log/cron: Nov 3 09:00:00 server /usr/sbin/cron[56343]: (operator) CMD (/usr/libexec/save-entropy) Nov 3 09:00:00 server /usr/sbin/cron[56344]: (root) CMD (/usr/libexec/atrun) Nov 3 09:00:00 server /usr/sbin/cron[56345]: (root) CMD (/usr/local/Backup/scripts/bkup-daily) Here's a copy of my backup script: [EMAIL PROTECTED] cat /usr/local/Backup/scripts/bkup-daily #/bin/sh ##Initialization## #--Initialize variables--# #One for every 3 hours in a week numbkups="56" #number of days to keep files in recycle bin before deleting delrcycl="7" files="/usr/local/" docs="Documents" bis="Control" userdata="userdata_temp" recycle=".recycle" scripts="/usr/local/Backup/scripts" bkups="/usr/local/Backup" dbkups="/usr/local/Backup/Daily" #--End variable init--# date #--Check to see if it's being run as root--# if (( `echo $UID` != 0 )); then { echo "You must be root to run this script. Exiting..."; exit; } fi #--End root UID check--# #--Remove recycle bin files older than $delrcycl days prior to backup--# find $files/$docs/$recycle -type f -mtime +${delrcycl}d -exec rm -f {} \; #--End remove recycle bin files--# ##Rotate backups## #--Remove oldest backup--# rm -rfv $dbkups/$numbkups #--End remove old backup--# #--Begin backup rotation--# for (( i = $numbkups ; i >= 2 ; i-- )) do let from=i-1 mv -fv $dbkups/$from $dbkups/$i done #--End backup rotation--# ##Data Transfers## #--Replicate second to last backup before updating and correct permissions--# chmod 755 $dbkups/0 cd $dbkups/0 find . -print | cpio -dpl --verbose ../1 chmod 755 $dbkups/1 #--End replication of second to last backup--# #--Rsync main data--# rsync -av --delete $files/$docs $dbkups/0/ rsync -av --delete $files/$bis $dbkups/0/ rsync -av --delete $bkups/$userdata $dbkups/0/ #--End Rsync data--# #--Backup Scripts and configs--# cp $scripts/* /usr/local/etc/smb* /usr/local/sbin/smb* /etc/fstab /etc/rc.conf $dbkups/0/ ##Cleanup# #--Update the date and time for last backup--# touch -ma $dbkups/0 #--End update the date and time--# #--End script--# date echo exit 0 #--End script--# Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvsup mirror is failing
I went to update one of my machines today, and as a precaution, i checked the local cvsup mirro log. here's what I found: CVSup update begins at 2005-11-03 05:33:00 Updating from cvsup-master.freebsd.org Connected to cvsup-master.freebsd.org No record for server "freefall.freebsd.org" in "/home/cvsupin/.cvsup/auth" CVSup update ends at 2005-11-03 05:33:00 I have no idea how long this has been failing, as I;ve been busy on other things. Has something chnaged about mirroring? How can I fix this problem? -- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MAKEDEV & FreeBSD 5.x or higher.....
On Wed, Nov 23, 2005 at 10:28:56PM +0330, Mohsen Pahlevanzadeh wrote: > Dears,FreeBSD community removed MAKEDEV script in FreeBSD 5.x or later. > I have refered to online handbook,But it explains everything with > MAKEDEV script. > Please introduction a replacement of MAKEDEV. 5.x and later don't need a MAKEDEV script; they use devfs, wich makes device nodes for every device that has a driver available. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgpMj6CYkYgnm.pgp Description: PGP signature
MAKEDEV & FreeBSD 5.x or higher.....
Dears,FreeBSD community removed MAKEDEV script in FreeBSD 5.x or later. I have refered to online handbook,But it explains everything with MAKEDEV script. Please introduction a replacement of MAKEDEV. Yours,Mohsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
cpghost wrote: On Wed, Nov 02, 2005 at 05:46:26PM +0200, Giorgos Keramidas wrote: I am not 100% convinced, but if you say so. It seems to be that the religious fundamentalist who thinks Beastie is "the Devil", or something, will sooner or later look at the new logo and think: ``It looks like a head. A horned head. A red, horned head. OH MY FRIGGIN' GOD! THAT'S THE DEVIL HIMSELF!'' Then all the fuss about a new logo has been in vain :( Anyone who was so afraid of beastie, or the new logo, would never use FreeBSD. One days traffic on this maillist and the language would send them elsewhere. No, that would be a GOOD THING, because we'll then get rid of that awful logo, even with the help of the people who started this whole logo contest in the first place! I propose that people who subscribe to the idea that a devil on the box means a devil inside, constitute a very minor percentage of the population. I also propose that more potential FreeBSD users are lost due to the lack of native RPM support and GUI installation tools. I would not change the installation, ports system, or logo to suit those people. None of those three groups are worth the calories being expended in this conversation. This entire thread is funny, and sad. DAve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
On Wed, Nov 02, 2005 at 05:46:26PM +0200, Giorgos Keramidas wrote: > I am not 100% convinced, but if you say so. It seems to be that the > religious fundamentalist who thinks Beastie is "the Devil", or > something, will sooner or later look at the new logo and think: > > ``It looks like a head. A horned head. A red, horned head. > OH MY FRIGGIN' GOD! THAT'S THE DEVIL HIMSELF!'' > > Then all the fuss about a new logo has been in vain :( No, that would be a GOOD THING, because we'll then get rid of that awful logo, even with the help of the people who started this whole logo contest in the first place! Let's wait and see. Things can only improve from now on. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Script help for updating routine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/2/05, Denny White <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a script, pasted in below, which does various things on a daily basis, like cvsup src, docs, ports, portsdb, portversion, portupgrade, & so on. I finally figured out how to do the if/then/else thing with the portversion-portupgrade part of the script, but I can't figure out what to do to bypass the docs install part if there are no new docs. Thanks for any help I can get on it. Script follows: #!/bin/sh # echo "Cvsup latest src and doc" cvsup -g -L 2 /root/srcdoc-supfile # # THIS THE PART IN QUESTION, THAT DOES # DOES THE DOCS. CUSTOM MAKEFILE IS FOR # ENGLISH ONLY. #G #send copious output to the bit bucket echo "Updating docs" echo "" cd /usr/doc cp Makefile.custom Makefile make install #make install > /dev/null # cd /root echo "Portsnap fetching and updating ports" echo "" portsnap fetch portsnap update # echo "Updating INDEX in /usr/ports" echo "" cd /usr/ports #make fetchindex portsdb -uUF # echo "Portaudit checking for vulnerabilities in installed ports" echo "Results in file /root/vulnerable" echo "" portaudit -Fda >> /root/vulnerable # echo "Portversion checking if any ports need upgrading" echo "Results in file /root/need2upgrade" echo "" portversion -l "<" > /root/need2upgrade if grep '<' /root/need2upgrade; then echo "Portupgrade upgrading out-of-date ports" portupgrade -arR; else echo "Ports already up to date" 1>&2 exit 1 fi echo "Finished at `/bin/date`." exit Today Andrew P. contributed the following: 1. You can limit docs to custom languages in make.conf, that's a better way Yup, did it already. I had just copied it word for word to see how well it worked. Found it in Dru Lavigne's at OReilly. 2. You can affor to copy extra 60Mb once a day, can't you? Don't quite follow on that. It's all downloaded. Other langs aren't #'d out in the supfile, just aren't installed. Time consuming, not about h/d space. 3. You can grep cvsup output against something like "doc/" That's what I thought. Can't see grepping doc, maybe update? Don't know quite how, tho. Don't know enough about scripting yet, as I said. I don't want to interrupt the cvsup process. I thought about using tee & grep 'update' or something to that affect in that secondary output. 4. Never run portsnap fetch from cron, even if you chose a very odd time, use portsnap cron Yup, know about that, but thanks for the warning. I have it setup like you said, in cron, for times when I'm too lazy to run the entire script & instead, just do it piecemeal. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) Comment: Made with pgp4pine 1.76 iD8DBQFDal7vy0Ty5RZE55oRAtEcAJ9RJz3f7O6HXaL8KCAAPi4kn5cVewCgtASm qSJKDVKG3r7SDQ0PDfjk+kU= =nLco -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
nss_ldap-243 & FreeBSD/amd64 ... anyone? (build/errors/info attached)
Wasn't sure which list to post to entirely, so sorry if seems off-topic. I can't seem to get nss_ldap-243 to compile at all under FreeBSD-6.0RC1/amd64, nor under 5.3-RELEASE, nor 5.4-RELEASE... all produce similar errors, however my development machine happens to be FreeBSD 6.0RC1/amd64 at the moment (dual AMD Opteron 246 box, 2gb ECC Registered, 1.25TB RAID 5). Here's a brief transcript of what I've done/where I am at, a longer version including the output from make/configure/etc. My comments start with a # to help differentiate from output: # configure (with options as specified, openldap-2.3.11 compiled with --prefix=/usr/openldap, # installed, configured, and running with DB). configure exits clean and generates a makefile: wmptwo# ./configure CPPFLAGS="-I/usr/openldap/include -I/usr/include" LDFLAGS="-L/usr/openldap/lib -L/usr/lib" --with-ldap=openldap --prefix=/usr --with-ldap-dir=/usr/openldap wmptwo# # now we run make, and get our first errors in ldap-nss.c, a quick inspection shows ldap-nss.c calling CONSTs defined in wmptwo# make 25a26,29 > #ifndef MAXHOSTNAMELEN > #include > #endif > # now I run make again, aside from a whole bunch of compiler warnings about null arguments being passed/required, (see output attached) # ldap-nss.c compiles, now we get a whole new set of compiler errors in ldap-pwd.c, first error complains of UID_NOBODY not being # defined but still being called/used... closer look reveals UID_NOBODY defined in ldap-nss.h, but not being defined: wmptwo# make # so I try patching ldap-nss.h, and update #define UID_NOBODY to reflect the default UID for the user 'nobody' on a 'standard' FreeBSD installation: 446d445 < #ifndef HAVE_NSSWITCH_H 448,449c447 < #define UID_NOBODY (-2) < #endif --- > #define UID_NOBODY (65534) # again, I run make, this time clean first, this time we're moving further into ldap-pwd.c, but still producing fatal compiler errors # complaining about `structure has no member named `pw_comment'`, this is the point where I step back and wonder where to go next... # should I systematically continue to retry make after I try to find/fix every compiler error; will this introduce new errors, will the # code even work? wmptwo# Again, output of all the above is attached in a txt file, please fee free to take a look through. Has anyone out there been able to get nss_ldap to compile on FreeBSD; other than the patched/older dist included with the ports collection? Problem with the ports version (in my case) being the old(er) release of openldap/ldap librairies it depends on. Working out some issues with samba and nss here alltogether, needed to update openldap to get past some other un-related bugs. System still has openldap-2.2.9 installed from the ports collection for the nss_ldap, and pam_ldap that is currently running. Samba source code has been modified, compiled, and been in use for a while now running the new(er) openldap librairies installed into /usr/openldap. Just not sure where to go with nss_ldap here; havn't even begun trying to compile pam_ldap to use the new(er) openldap librairies either - but suspect I may run into similar issues. Any suggestions/guidance would be greatly appreciated at this point... kinda running out of things to try and can't really audit the entire source code for something I know little about the internals of. Thanx all -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: suPHP - secure/reliable?
jonas wrote: I'd be really intrested to hear some few details about installation through the ports. From what I saw in the FastCGI documentation you need to do some strange configuration changes to your httpd.conf, so that .php files are properly passed to the FastCGI handler and that they'll be executed under the correct user. Could you share a quick overview what you did to get this up and running, apart from makeing install? Thanks! Sure. Here is the basic method that I used to build apache2 with suexec, fastcgi, and php5. These instructions come from my notes, so there are probably some mistakes and typos. Setting this stuff up is a process: -- Install Ports: Edit /usr/local/etc/pkgtools.conf. Add the following to the MAKE_ARGS section: 'www/apache2*' => 'WITH_SUEXEC=yes SUEXEC_DOCROOT=/usr/local/www SUEXEC_USERDIR=public_html', 'www/mod_fastcgi*' => 'WITH_APACHE2=yes', 'www/php5-cgi*' => 'WITH_FASTCGI=yes', $ portupgrade -pNi www/apache2 $ portupgrade -pNi www/mod_fastcgi $ portupgrade -pNi www/php5-cgi -- Setup Apache: Add the following to the /usr/local/etc/apache2/httpd.conf - global section FastCgiIpcDir /usr/local/fastcgi-ipc FastCgiWrapper sbin/suexec Edit any virtual hosts in httpd.conf following this example: ServerName virtual-domain.tld DocumentRoot /usr/local/www/virtual/virtual-domain.tld/public_html ... SuexecUserGroup username groupname # alternatively # SuexecUserGroup #userid #groupid AddHandler php-fastcgi .php Alias /cgi-bin/ /usr/local/www/virtual/virtual-domain.tld/cgi-bin/ SetHandler fastcgi-script Options ExecCGI Action php-fastcgi /cgi-bin/php AddType application/x-httpd-php .php Other Apache Config Issues In order for php to work with this setup, each virtual host must have its own cgi-bin directory. * The cgi-bin directory must be owned by the customer's uid and gid (from /etc/passwd). * All cgi scripts must be owned by the customer's uid/gid. * The cgi-bin directory must contain the following script which must also be owned by the customer's uid/gid. $ cat /usr/local/www/virtual/virtual-domain.tld/cgi-bin/php #!/bin/sh PHPRC="/usr/local/etc/php/php.ini" # or any custom php.ini file export PHPRC #PHP_FCGI_CHILDREN=4 #export PHP_FCGI_CHILDREN exec /usr/local/bin/php Now you can run a script like /usr/local/www/virtual/virtual-domain.tld/public_html/test.php and it will be run using suexec and fastcgi. It doesn't matter who owns the test.php script file, just the ownership of /cgi-bin and /cgi-bin/php. If you want to run normal cgi scripts from public_html, then the script and its parent directory must be owned exactly as indicated by the SuexecUserGroup directive. Let me know if you need any clarifications or if you have any more questions. - Sam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sysinstall install.cfg questions
I'm trying to figure out how to use the sysinstall using a install.cfg script to install on multiple machines without floppies, and without needing any interaction other than putting in the CD. I can create the script but don't know where to put it on the modified installation CD, or how to initiate sysinstall during the boot process to use it? Any help will be greatly appreciated! Todd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: OFF-TOPIC but ... you will laugh !!
--On Wednesday, November 02, 2005 21:17:27 -0700 "Moffatt, Chris" <[EMAIL PROTECTED]> wrote: It is a reserved word from the DOS days (like "prn") I think it stands for "console" Actually, you can't create a folder named: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 I have seen folders with those names. The "taggers" like to use them when they break in to Windoze boxes, because they're a PITA to get rid of, unless you know how. It's just not possible to create folders with those names the "normal" way. *Anything* is possible on *any* OS if you know what you're doing and how to get around the restrictions that are in place. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing wine on 6.0 RC
Many thanks Roland .. Great help. I will try your suggestions. I had installed the AMD 64 version of FreeBSD on my AMD64 CPU - I will try the i386 version. PT On 11/4/05, RW <[EMAIL PROTECTED]> wrote: > > On Thursday 03 November 2005 14:29, paul thodiyil wrote: > > On 11/4/05, Andrew P. <[EMAIL PROTECTED]> wrote: > > > On 11/3/05, paul thodiyil <[EMAIL PROTECTED]> wrote: > > > > I am sort of new to FreeBSD and still learning the ropes. I am > having > > > > > > great > > > > > > > trouble installing WINE and indeed other packages on my AMD64 > desktop > > > > running FreeBSD ver 6.0. I had added this package during the > > > > > > installation > > > > > > > process. > > > > With the 'whereis wine' command, I get: /usr/ports/emulators/wine > > > > Then when I type pkg_add wine, I get 'can't stat package file wine' > > > > Could someone tell me what I could be doing wrong? > > > > Paul > > > > ___ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to " > > > > > > [EMAIL PROTECTED]" > > > > > > > > > Wine does not run on anything but x86 yet. Sorry. > > > Many thanks. Saves me a lot of sweat. > > Are you aware that an amd 64 processor can run either the AMD64 or i386 > versions of FreeBSD? Wine will run on the the later. > > It wasn't clear to me whether "on my AMD64 desktop" referred to the OS or > the > CPU. If you have installed the AMD64 version of the OS then I would advise > you to consider replacing it with the I386 version, which has fewer rough > edges. > > > The actual problem you report will happen on *any* system: > > # pkg_add wine > pkg_add: can't stat package file 'wine' > > The correct usage is either > > pkg_add -r wine #install a wine package from a server > > or something like: > > pkg_add wine-20050930.tbz #install this particular local file > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: OFF-TOPIC but ... you will laugh !!
On Thursday 03 November 2005 04:27, Moffatt, Chris wrote: > It is a reserved word from the DOS days (like "prn") Now that is funny - prn is where the texting generation will expect to store their porn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Compaq Evo 510 PC & DMA
Some time ago I had posted a problem I was suffering trying to install freebsd 5.4 on a Compaq evo 510 PC. The boot immediatedly stopped with weird indications on the causes. Freesbie also failed. Surfing the net I understood that the problem with that specific PC was already known and no real solution was proposed. Today I came across http://www. czaplinski.net/FreeBSD/hpi386.html in which it was suggested that EVO 510 CPU: 2.8 GHz P4; 1024MB RAM; i810 Intel integrated NIC (recognized as EEPro100); i845 Intel integrated video...FreeBSD 5.1 loads, but only after DMA is disabled in BIOS. In fact, disabling the bios dma I was able to start both freesbie and the 5.4 installation CD! Not being a PC expert but knowing that dma is useful to significantly reduce the load of the CPU when I/O operations are in progress and my question is: Having disabled the bios dma, Is dma (re-)enabled all the same in some way by freebsd 5.4 when it boots OR will I have a "crippled" system at my disposal? Take into account that the pc will work as a postgresql server. Suggestions? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing wine on 6.0 RC
On Fri, Nov 04, 2005 at 01:11:52AM +1100, paul thodiyil wrote: > I am sort of new to FreeBSD and still learning the ropes. I am having great > trouble installing WINE and indeed other packages on my AMD64 desktop > running FreeBSD ver 6.0. I had added this package during the installation > process. > With the 'whereis wine' command, I get: /usr/ports/emulators/wine > Then when I type pkg_add wine, I get 'can't stat package file wine' > Could someone tell me what I could be doing wrong? Apart from the fact that wine only works on i386, you're confusing packages and ports. The command 'pkg_add wine' tells pkg-add to install a package from a file called 'wine' in the current directory. You can read the manual page for pkg_add with the command 'man pkg_add'. /usr/ports/emulators/wine is the ports directory you can use to build wine. To do so, do the following as root: cd /usr/ports/emulators/wine make make install clean On an amd64 machine, you'll get an error when running make, because wine is only for i386. Roland -- R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt pgprEO84kNMkQ.pgp Description: PGP signature
Re: Installing wine on 6.0 RC
On Thursday 03 November 2005 14:29, paul thodiyil wrote: > On 11/4/05, Andrew P. <[EMAIL PROTECTED]> wrote: > > On 11/3/05, paul thodiyil <[EMAIL PROTECTED]> wrote: > > > I am sort of new to FreeBSD and still learning the ropes. I am having > > > > great > > > > > trouble installing WINE and indeed other packages on my AMD64 desktop > > > running FreeBSD ver 6.0. I had added this package during the > > > > installation > > > > > process. > > > With the 'whereis wine' command, I get: /usr/ports/emulators/wine > > > Then when I type pkg_add wine, I get 'can't stat package file wine' > > > Could someone tell me what I could be doing wrong? > > > Paul > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to " > > > > [EMAIL PROTECTED]" > > > > > > Wine does not run on anything but x86 yet. Sorry. > Many thanks. Saves me a lot of sweat. Are you aware that an amd 64 processor can run either the AMD64 or i386 versions of FreeBSD? Wine will run on the the later. It wasn't clear to me whether "on my AMD64 desktop" referred to the OS or the CPU. If you have installed the AMD64 version of the OS then I would advise you to consider replacing it with the I386 version, which has fewer rough edges. The actual problem you report will happen on *any* system: # pkg_add wine pkg_add: can't stat package file 'wine' The correct usage is either pkg_add -r wine#install a wine package from a server or something like: pkg_add wine-20050930.tbz #install this particular local file ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: suPHP - secure/reliable?
Hi M.L., Sam, > > Does anyone have anything to say about suPHP, either good or bad stuff ? > > I'd like your opinions. this reply is a bit late, but still helpfull I hope, since nobody using suPHP answered your request. I am currently using suPHP and it works quite nice. It's not as strict as suexec when it comes to file and directory permissions, but it still enforces some sane defaults and it's very fast and easy to set up (install suphp and php ports, set suPHP_Engine On in your vhosts and there you go). The downside of it (and this is why I'm thinking about switching to the FastCGI solution) is that for every request, a php process needs to be spawned, which can give your server hard time if you get a wave of something like 100 requests within a few seconds. I get this a few times every day on a server with ~100 customers, it usually results in a load of 25+. So if you're looking for something which is fast and easy to set up, for only a couple of users go with suPHP. The better solution is FastCGI, though. On Saturday 08 October 2005 02:52, Sam Nilsson wrote: > If you are interested in taking this route I may be able to help you > with the little details. I'd be really intrested to hear some few details about installation through the ports. From what I saw in the FastCGI documentation you need to do some strange configuration changes to your httpd.conf, so that .php files are properly passed to the FastCGI handler and that they'll be executed under the correct user. Could you share a quick overview what you did to get this up and running, apart from makeing install? Thanks! -- br. j. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
building HTML::Mason to use mod_perl2
Hello, If I build the www/p5-HTML-Mason port, it seems to require mod_perl. I'm using apache2 with mod_perl2, and I'm wondering if there's a way to get it working with those. Thanks, Mike -- Michael P. Soulier <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
creating gnome desktop shortcuts for floppy, DVD rom and compact flash card reader
Does anyone know how to create shortcut icons to the gnome desktop for commonly used devices such as floppy drive; cd/DVD rom drive and USB compact flash card reader. FreeBSD 6.0 RC1; AMD64 Many thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to clear an improperly unreferenced file in multi-user mode?
In the last episode (Nov 03), Olaf Greve said: > When doing some maintenance on my fall-back server I ran into > something weird. When running df it turned out /var was for 90% full. > I then manually deleted some files (as root over SSH), amongst which > the 'maillog' logfiles in /var/log, I also killed sendmail (as it was > generating the big log files, and at present I don't need to run it > on that machine), and just to be sure I created a new 'maillog file > of 0 length. Sendmail may be generating the events, but syslogd is the process that opens and writes to logfiles. Send it a HUP signal and it will close and reopen them, which should free up your missing space. If that doesn't do it, install lsof and run "lsof +L 1", which will tell you if there are any other processes holding open filehandles to deleted files. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: gmirror on 1 or 2 IDE cables
> Using gmirror to mirror two identical drives, how much of a > performance hit is it to have > > 1. Both drives on one IDE cable? > Compared to: > 2. One drive primary on one cable and one secondary on the > other cable? > Compared to: > 3. Both drives primary but on separate IDE cables? My understanding that only a single drive on each IDE channel can be accessed at any one time. Thus, if you put one drive on one channel, and the other drive on the second channel, they can be accessed simultaneously. The location on the cable(s) does not matter, but I've always got accustomed to putting my disk drives as primary, which FBSD would see them as ad0 and ad2 respectively. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gmirror on 1 or 2 IDE cables
Using gmirror to mirror two identical drives, how much of a performance hit is it to have 1. Both drives on one IDE cable? Compared to: 2. One drive primary on one cable and one secondary on the other cable? Compared to: 3. Both drives primary but on separate IDE cables? Thanks, -gayn Bristol Systems Inc. 714/532-6776 www.bristolsystems.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
> > Hello, > > > On Tue, Nov 01, 2005 at 01:32:20PM -0700 or thereabouts, Chad Leigh -- Shir= > e.Net LLC wrote: > > Even though I was in favor of a logo being made for FreeBSD (we can keep = > beastie as a mascot), the winner is not what I would call a good=20 > > logo for the purposes for which logos are used... > > What about this avatar: http://www.coada.org/pic/stuff/freebsd.jpg > > ;) That's it It represents the FreeBSD project and community perfectly - at least the fantasies of most of us... jerry > > Martin Hudec > >* 421 907 303 393 >* [EMAIL PROTECTED] >* https://aeternal.net > > "Nothing travels faster than the speed of light with the possible=20 > exception of bad news, which obeys its own special laws." > >Douglas Adams, "The Hitchhiker's Guide to the Galaxy" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Apache + PHP : Exec format error
I can't get the package WebCalendar-1.0.0 to work; I always get following error in /var/log/httpd-error.log (8)Exec format error: exec of '/usr/local/www/data-dist/WebCalendar/index.php' If I put #!/usr/local/bin/php at the beginning of the index.php it works, however I would like to use the apache module php4_module instead of php as CGI. I'm running 5.4-STABLE with the pkg apache-2.0.54_4 and php4-4.4.0 (Apache Module and CLI). The httpd.conf includes the line "LoadModule php4_module libexec/apache2/libphp4.so". Any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sk0: watchdog timeout
Vladimir Dvorak wrote: Hello, I have a problem with network card. From time to time kernel says sk0: watchdog timeout It has (probably) random behavior. I use FreeBSD 5.4-RELEASE-p8, motherboard is ASUS A8V Deluxe (AMD64, Athlon64XP 3200+) and internal network card from pciconf -v -l [EMAIL PROTECTED]:10:0: class=0x02 card=0x811a1043 chip=0x432011ab rev=0x13 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8001 Gigabit 32-bit Ethernet Controller with Integrated PHY' class= network I have the same motherboard and ethernet chipset, and don't have these problems, so *maybe* there's some hardware problem with yours, or maybe I just don't load the ethernet as much. However, I have had numerous ethernet chips over the years which produced these errors every now and again, and I have always safely ignored them. Run some stress tests before you ship the machine, but if you get decent(*) performance then I'd just ship it without being concerned. --Alex (*) Decent, is of course not likely to be Gigabit! Try the nttcp port for measuring the performance you get; ftp performance will likely be limited by disk-read; and ssh is just rubbish on fast networks unless you install ssh-hpn port which fixes some problems and also adds the ability to not encrypt the data transfer (just the authentication) which is useful on closed-ish networks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL port not d/loading
On 11/2/05, tim cle <[EMAIL PROTECTED]> wrote: > Hello, > > I'm attempting to install MySQL via ports but its not > d/loading. I know my system should do this, because I > just finished installing apache via ports, and it > d/loaded fine. So, is anyone having problems d/loading > the MySQL port(s) - i tried 4.0 and 4.1 and 5.0 - none > of them transfer successfully. Or is my system just > annoying me for fun (j/k) > > Regards, Tim. > > > > > __ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > => mysql-4.1.15.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.easynet.be/mysql/Downloads/MySQL-4.1/. mysql-4.1.15.tar.gz 100% of 16 MB 770 kBps 00m00s 4.0 and 5.0 are also fetchable right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PC card has no functions!
"gabriel n/a" <[EMAIL PROTECTED]> writes: >Im sure that this problem has been solved before but looking through >all the other posts i cant seem to find any information about it. > >i just installed freebsd 5.4 i386 on my old ibm thinkpad. now that im >starting to get familiar with this new operating system i want to be >able to access the internet but it will not connect. I have narrowed >the problem down to a message which i get > >pccard1: Card has no functions! > >cbb1:PC Card card activation failed > >my ethernet card is a 3com megahertz 10Mbps lan 3cxe589et > >if you could help me I would appreciate it. Hard to say; it's not even clear which chipset it uses. If you know, that would be a start. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: MySQL port not d/loading
tim cle <[EMAIL PROTECTED]> writes: > I'm attempting to install MySQL via ports but its not > d/loading. I know my system should do this, because I > just finished installing apache via ports, and it > d/loaded fine. So, is anyone having problems d/loading > the MySQL port(s) - i tried 4.0 and 4.1 and 5.0 - none > of them transfer successfully. Or is my system just > annoying me for fun (j/k) What actually happens when you try? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ldap + nss_ldap
On 03 Nov 2005 07:20:13 -0500, Lowell Gilbert < [EMAIL PROTECTED]> wrote: > > cristi tauber <[EMAIL PROTECTED]> writes: > > > hello, > > > > i had a nice-working ldap server (2.2) and i decided to upgraded to 2.3(i > > couldn't make it work with sasl). openldap-server-23 is working great, > but i > > want to install nss_ldap and it's complaining about this new ldap > version. > > nss_ldap wants openldap-client-2.2.29 but now i have > > openldap-sasl-client-2.3.9. How do i trick nss_ldap to play with this > > version ? > > Install nss_ldap from ports instead of whatever package you're trying > to use. [Or provide more details about *exactly* what you did.] > > -- well, i made a back-up of ldap-22. i deinstall it and then i issued a make install (chose sasl) in /usr/ports/net/openldap23-server and then the installation went well. next i went to /usr/ports/net/nss_ldap and make install and the error is : goliath# make install ===> nss_ldap-1.239 depends on executable: gmake - found ===> nss_ldap-1.239 depends on shared library: ldap-2.2.7 - not found ===> Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client ===> Installing for openldap-client-2.2.29 ===> openldap-client-2.2.29 conflicts with installed package(s): openldap-sasl-client-2.3.9 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/net/openldap22-client. *** Error code 1 Stop in /usr/ports/net/nss_ldap. that's it. cristi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HELP
[EMAIL PROTECTED] writes: > HEY I GOT NO SOUND ON MY PC IT HAD IT BUT IT CRASH AND NOW I CANT HEAR > NOTHING CAN YOU HELP Is it recognized at boot? Is there a /dev/sndstat? What does it contain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing wine on 6.0 RC
Many thanks. Saves me a lot of sweat. On 11/4/05, Andrew P. <[EMAIL PROTECTED]> wrote: > > On 11/3/05, paul thodiyil <[EMAIL PROTECTED]> wrote: > > I am sort of new to FreeBSD and still learning the ropes. I am having > great > > trouble installing WINE and indeed other packages on my AMD64 desktop > > running FreeBSD ver 6.0. I had added this package during the > installation > > process. > > With the 'whereis wine' command, I get: /usr/ports/emulators/wine > > Then when I type pkg_add wine, I get 'can't stat package file wine' > > Could someone tell me what I could be doing wrong? > > Paul > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > > > > Wine does not run on anything but x86 yet. Sorry. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
Peter Clutton wrote: Ted wrote: Your opinion, they probably wouldn't agree. If you decide Beastie isn't important enough to bother defending, that's your choice. Of course I will note that you had no problem getting the attention for your books by using Beastie images on their covers. [...] And if you're referring using the beastie on his book The Complete FreeBSD, I hardly think it was responsible for it's success. Might have something to do with being one of the best books on FreeBSD sysadmin out there at the moment. Can't comment on his other books, haven't read them. Indeed, I expect the book was successful because it got good word-of-mouth reviews, though I also expect that anyone still buying things from a bookshop would have instantly recognised it as a FreeBSD book thanks precisely to Beastie on the cover. If Beastie is on the spine as well, then it makes it easy to pick out from your bookshelf. And this is precisely the point. The book was being judged by the quality of what was inside it, not by the Beastie on the outside of it - which just made it easy to recognise. Surely the same is supposed to be true of FreeBSD? The logo, or mascot or whatever the heck you want to call it is for brand recognition; but FreeBSD should be judged by what it does and how well it does it. For historical reasons, FreeBSD is recognised by Beastie. And to whoever was complaining that all this argument in questions looked divisive and should stop: the whole logo contest couldn't have been better devised to foment division. The whole process was carried out behind closed door and apparently instigated by someone with a specific anti-Beastie agenda. The whole thing *could* have been handled differently, but for whatever reasons (none of which can be laudable) it wasn't. The submissions could have been freely viewable; there could have been a mailing list devoted to discussion; and for those of us who find the whole logo/mascot distinction to be risible, Beastie could have been a possible winner. None of these things happened. FreeBSD may not (for good reasons) be a democracy, but neither, in most cases, is it a tyranny. We can discuss the future development on mailing lists; numerous developers reply endlessly to to questions, comments and problems; development happens by (mostly) reasoned discussion and not by diktat. The logo contest stands in stark contrast to that. Whatever the merits or demerits of the "final" "logo" (and I do quite like the font), the contest itself stands as a shining example of how to piss people off. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing wine on 6.0 RC
On 11/3/05, paul thodiyil <[EMAIL PROTECTED]> wrote: > I am sort of new to FreeBSD and still learning the ropes. I am having great > trouble installing WINE and indeed other packages on my AMD64 desktop > running FreeBSD ver 6.0. I had added this package during the installation > process. > With the 'whereis wine' command, I get: /usr/ports/emulators/wine > Then when I type pkg_add wine, I get 'can't stat package file wine' > Could someone tell me what I could be doing wrong? > Paul > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Wine does not run on anything but x86 yet. Sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing wine on 6.0 RC
I am sort of new to FreeBSD and still learning the ropes. I am having great trouble installing WINE and indeed other packages on my AMD64 desktop running FreeBSD ver 6.0. I had added this package during the installation process. With the 'whereis wine' command, I get: /usr/ports/emulators/wine Then when I type pkg_add wine, I get 'can't stat package file wine' Could someone tell me what I could be doing wrong? Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The best scripts ever (trick or treat)
On Wed, Nov 02, 2005 at 10:47:43PM +0200, Giorgos Keramidas wrote: > On 2005-11-02 12:42, Gary Kline <[EMAIL PROTECTED]> wrote: > > On Wed, Nov 02, 2005 at 10:14:40PM +0200, Giorgos Keramidas wrote: > > > > > > > > "CATEORY: foo > > > > "FUNCTION: it_does_this > > > > "OPTIONS: can_do_this_or_that" > > > > > > > > BEGINSCRIPT > > > > !#/bin/sh > > > > echo "hello world" > > > > ENDSCRIPT > > > > > > What happens when the script itself contains a line that starts > > > with one of the special "markup" lines? > > > > > > > AFAIK, the only markup lines this would use would be > > the . A sh script might use the ">" or "<" > > for redirection, but the conversion script would ignore > > everything between > > > > BEGINSCRIPT > > ENDSCRIPT > > > > which would make parsing straightforeward. > > Unless the shell script itself contains 'ENDSCRIPT' somewhere ;-) > > This is what I was referring to as "markup". Hmmm! :-) Okay, then what about BEGIN_somelonghexstringthatis256byteslong and END_somelonghexstringthatis256byteslong > -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The best scripts ever (trick or treat)
On Wed, Nov 02, 2005 at 10:14:40PM +0200, Giorgos Keramidas wrote: > > > > "CATEORY: foo > > "FUNCTION: it_does_this > > "OPTIONS: can_do_this_or_that" > > > > BEGINSCRIPT > > !#/bin/sh > > echo "hello world" > > ENDSCRIPT > > What happens when the script itself contains a line that starts > with one of the special "markup" lines? > AFAIK, the only markup lines this would use would be the . A sh script might use the ">" or "<" for redirection, but the conversion script would ignore everything between BEGINSCRIPT ENDSCRIPT which would make parsing straightforeward. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: The best scripts ever (trick or treat)
On Wed, Nov 02, 2005 at 09:39:07AM +, Ceri Davies wrote: > On Tue, Nov 01, 2005 at 02:20:51PM -0800, Gary Kline wrote: > > > Let's say we request people submit only their sh script > > (to start). What would the format need to be so that > > a script could parse email and auto-HTML the script?' > > #!/bin/sh -- > portinstall squirrelmail > > Did I win a biscuit? :) > > Ceri Would some gold stars do? :) evolution take ASCII and iso.8859-15 text and turns it into HTML too (I think; don't *quote me*). I have a C prog that I've been using privingly for 11 years that does this and more, but what what I'm thinkg of is a script that would take a posted script and using the KEYWORDS of, say: "CATEORY: foo "FUNCTION: it_does_this "OPTIONS: can_do_this_or_that" BEGINSCRIPT !#/bin/sh echo "hello world" ENDSCRIPT and generate am HTML file like: Function This script does: "it does this" Options This script "can do this or that" using flags "-a" "-b" "-c" !#/bin/sh echo "hello world" In most things I agree with the KISS philosophy: "Keep it simple, Sir". This is my off-the-top-of-my-head idea; I'm sure most of you guys are better at shell and-or HTML hacking and have better ideas. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Upgrading 4.11-STABLE to 5.4-STABLE
> > Oddly enough, and a little OT, (but semi-within the topic) > I'm trying > > to update a 5.0 box to RELENG_5 right now with several different > > errors, too many to mention (generally they occur after rebooting > > after my installkernel. I can subsequently reboot off of > kernel.old, as always). > > That's not surprising, if your kernel and userland are too > far out of sync, lots of things won't work right like ps and > ipfw and so forth. If the kernel boots OK into single-user > mode, it should be OK to do the installworld. Hmmm, interesting point. I didn't even think of that. However, if I do that successfully, then reboot the system and it fails, there is no way to 'undo' the installworld...right? Either way, I'm going to try it, so I can use that experience for when I have to do a production box. > Anyway, you really don't want to stay with 5.0, even if it > takes a reinstall from a 5.4 CD to get there :-) Eventually, if all else fails, I will. > Take full backups before you do anything. The thing is, > there is nothing wrong with a 4.11 system, either, especially > if it is a uni-processor machine. For SMP hardware, I'd be > tempted to jump directly to 6.0 or wait for 6.1, rather than > move to the middle/end of the 5.x releases. The Samba box is a SMP unit, but the 4.11 is a uni-proc box. I've been running it that way since 4.5, moving the system to new disks a few times, and periodically more powerful boxes. I have really no reason to upgrade this one to 5 or 6 at this point...and BTW, I always do backups. System is on a RAID-1, with a second RAID-1 setup that gets a mirrored copy of the primary RAID every day. Further that, I have it taped up too. Call me paranoid, but having the backup RAID ensures that I can just move it to new hardware and continue right on trucking. > Keeping your ports up-to-date is a bigger concern, but things > like portaudit and the people working on submitting both > security warnings and patches to the ports help... Indeed. I just got familiar with portaudit a few weeks ago, and I find it quite handy. Tks for your input. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
Chad Leigh -- Shire.Net LLC wrote: "Offense" is in the eye of the beholder. If you choose to be offended, don't make us all suffer from your sufferings. Similarly, if you choose to be offensive, go somewhere else. -- Duo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New Logo
Chad Leigh -- Shire.Net LLC wrote: http://www.freebsd-corp-net-guide.com/ Seems to me a fairly nice contribution to the project, It is all irrelevant. I am sure it is a nice book and Ted is knowledgeable in a lot of areas I am sure. Neither he nor I are members of the project and had a vote on whether or not to adopt a logo and what that logo should be. Chad Wow, I have been away from the list for a long time, but, let me jump in here as someone who has done logo design work, *and* has an appreciation for FreeBSD, and Ted. 1) Chad, *YOU* are highly irrelevant. Ted has been highly helpful to the community. Just because he isint part of the clique that makes decisions dosent invalidate his opinion. That's what Open Source is *all about*. Everyone gets a say, and, it may not necessarily get listened to, but, everyone gets their say. Was he saucy about it? Sure. But the person giving support to the really awful logo, also was supporting the really dead ended idea in the first place. 2) The simple (and original point, and yes, I *did* read the whole thread) point Ted made was: its disingenuous, and *wholly* idiotic, not to mention ignorant to a T to complain about the results you get, when you support a Really Dumb Idea(tm). In short, based on what I have read of your responses thus far, you negate your relevance, and your total worth, by trying to minimize *real* contributions to the community, in a lame attempt to elevate and pump up your flailing gonads. Community. Remember that word. C-O-M-M-U-N-I-T-Y. That means, as a group. And, as someone pointed out, Ted has made some really great contributions, which lend his opinion alot of weight. Where are yours? It dosent matter *what* the powers that be think. They have as much power, in the end, as the community *gives* them. Mambo turned out to benot alot...without the community to support them. That's the part you are missing here. The FreeBSD community, by and large, has felt ignored on this issue. And, you missed that point as well. In closing, allow me to place upon you the stamp of "schmoe", and instruct you to move along. The logo is terrible. It looks like it was created by someone who took a weekend photoshop class, and wanted to use their new powers. It's awful. The font is a terrible throwback to 70's-early 80's style Atari magazine ads. Terrible design. Terrible. Dreadful. In short, this is a step *down* from professionalism. It looks like a baloon from Satan's Halloween party. It wont scale well, and what's more, despite the fact that we do live in an increasingly digital world, that will look like *utter crap* on paper, I feel. This logo will hopefully be retired soon. And, seeing as you are so hung up on credentials: I was taught lithography, typography, design and what prints/looks well by my father, who was the best Miller/Roland/Mehele repairman and engineer in the business. Put that in your pipe and smoke it. Shut the hell up. =) Duo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [solved] FreeBSD auth
Sorry,me stupid. Of course, i wasn't root. Thanks for help. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to clear an improperly unreferenced file in multi-user mode?
Hi, When doing some maintenance on my fall-back server I ran into something weird. When running df it turned out /var was for 90% full. I then manually deleted some files (as root over SSH), amongst which the 'maillog' logfiles in /var/log, I also killed sendmail (as it was generating the big log files, and at present I don't need to run it on that machine), and just to be sure I created a new 'maillog file of 0 length. So far so good, but after removing the maillog files and performing another df call, the available size had not quite dropped as much as expected and as should. DU reports the proper amount of disk usage, so I performed an fsck. On /var it shows: 239511 files, 2365547 used, 4942027 free (37155 frags, 613109 blocks, 0.5% fragmentation) ** /dev/da0s1d (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=48134 OWNER=root MODE=100640 SIZE=322792549 MTIME=Nov 3 13:46 2005 CLEAR? no Now, of course one way to get rid of that big sucker is to boot the machine in single user mode and run fsck again, however, the box is nowhere near me and I cannot go down to the city where the machine is anytime soon (besides: this is far from an urgent issue). So, I was wondering about a thing: rather than doing a remote reboot and hope that fsck will clear it up in the booting process (if it does that at all, that is), I was wondering if there's a way to fix this when running in multi user mode. Does anyone know how (if possible) to achieve this, or do I have to reboot the machine in single user mode after all? Tnx and cheers, Olafo PS: Will it perhaps be possible to manually unmount /var, then fsck -y it, and then remount it, or will that cause the machine to lock me out (or perform other undesired behaviour)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem installing ROracle package under R
Context: Pentium 4 with FreeBSD 5.4 and R 2.2.0 I'm trying to install the package ROracle under R. To start with I installed the oracle8- client from the ports and referred to it via the variable $HOME_ORACLE as /usr/local/oracle8-client. Then I started R. After issuing install. packages("ROracle") R downloaded the needed package and started to compile it but complained: ... downloaded 138Kb * Installing *source* package 'ROracle' ... creating cache . /config.cache checking how to run the C preprocessor... cc -E ROracle configuration warning: Oracle pre-compiler proc not in /usr/local/oracle8-client/bin/proc you may not be able to compile ROracle "/tmp/oraLibs2442.mk", line 2: Could not find /usr/local/oracle8-client/precomp/lib/env_precomp.mk make: fatal errors encountered -- cannot continue updating cache ./config.cache creating . /config.status creating src/Makevars creating src/Makefile ** libs R CMD COMPILE RS-DBI.c cc -I/usr/local/lib/R/include - I/usr/local/include -D__NO_MATH_INLINES -fPIC -O -pipe - march=pentium4 -c RS-DBI.c -o RS-DBI.o proc CODE=ANSI_C MODE=ORACLE INCLUDE=/usr/local/lib/R/include PARSE=NONE LINES=false RS-Oracle.pc proc: not found *** Error code 127 Stop in /tmp/R.INSTALL. C0fZy6/ROracle/src. ERROR: compilation failed for package 'ROracle' ** Removing '/usr/local/lib/R/library/ROracle' The downloaded packages are in /tmp/RtmpRLVjrq/downloaded_packages Warning message: installation of package 'ROracle' had non-zero exit status in: install. packages("ROracle") ... So various directories and relating programs are missing! What else should I install to make ROracle work? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD auth
Dan Toganel wrote: --- Lowell Gilbert <[EMAIL PROTECTED]> wrote: getpwent() *does* give you the encrypted password. It's the second field in the structure passed back. Well, i did: include #include extern int errno; int main() { char *name="dan"; struct passwd *password; int uid; password=getpwnam(name); if(!password) { perror("getpwnam failed"); exit(1); } uid=password->pw_uid; printf("Uid: %d, passwd: %s\n",uid,password->pw_passwd); exit(0); } . bash-2.05b$ ./a.out Uid: 1001, passwd: * I get passwd field from /etc/passwd.which is '*' for every user, not the hash from /etc/master.passwd. Where am i wrong? Maybe you are not root :-) ? %./a.out Uid: 1001, passwd: * %sudo ./a.out Password: Uid: 1001, passwd: $1$SO.nZTlP$n.HhobnlE.J45gncea5uD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD auth
--- Lowell Gilbert <[EMAIL PROTECTED]> wrote: > getpwent() *does* give you the encrypted password. > It's the second field in the structure passed back. > Well, i did: include #include extern int errno; int main() { char *name="dan"; struct passwd *password; int uid; password=getpwnam(name); if(!password) { perror("getpwnam failed"); exit(1); } uid=password->pw_uid; printf("Uid: %d, passwd: %s\n",uid,password->pw_passwd); exit(0); } . bash-2.05b$ ./a.out Uid: 1001, passwd: * I get passwd field from /etc/passwd.which is '*' for every user, not the hash from /etc/master.passwd. Where am i wrong? __ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: volunteer computer-geek to help us for FREE? please contact !
Hmm, I would feel a lot more comfortable that you weren't just a spammer asking for help if I didn't see that spray.no domain showing up as a spamhaus here: http://www.spamreg.com/reg40987.htm http://idunno.org/spam/dailyBreakDown.aspx?date=20051011 http://www.rhyolite.com/anti-spam/freemail.html And those are just the easy ones I googled. JUST MY OPINION!!! Ted >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of jan tore >Sent: Thursday, November 03, 2005 2:45 AM >To: [EMAIL PROTECTED] >Subject: volunteer computer-geek to help us for FREE? please contact ! > > >Hello !!! >we send out donation links now a days! pluss send old >computers for Africa. we register importent >books/articles/science ALL from prosessors of all kinds pluss >much much more to translate print free etc. >we do more importent stuff but red cross still outruns us sometimes >But now we got many BIG software problem-tasks & asks for help >Example 1: a clock-file that limits the speed for sending group >mail.(we bought the most excpencive version)makes us BIG problem. >a program limit-send-speed file in the group mail program we bought >is set to 6 thousand per hour maximum. How to dobble this? > -needle in a heystack-job?maybe use auto search program to find it??? >Name of the program is group mail version 3.4.214 >we can even use tips on all our projects example this >limitation file name, >we tried talk with infacta for extended speed but they couldnt help > > >Download program here: >http://www.infacta.com/download.asp?a=ftr > >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to >"[EMAIL PROTECTED]" > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.362 / Virus Database: 267.12.7/156 - Release Date: >11/2/2005 > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: periodic scripts execution order
Russell Cloran <[EMAIL PROTECTED]> writes: > I have a question regarding the execution order of periodic scripts. In > the default configuration, scripts in /etc/periodic/*/ are executed > before /usr/local/etc/periodic/*/, regardless of numbering. > > Surely the sensible thing to do would be to execute scripts in an order > based on their numbering of the script, regardless of location? A patch > to /usr/sbin/periodic to make this happen would be fairly trivial ... > so, I'm wondering if there is a reason that the two are run separately? > > The way it currently runs there is no (elegant) way (that I can find) to > write a local script which updates data before the system scripts are > run. This would be nice to have. Should this be filed as a bug? In my opinion, no. Just put your own scripts under /etc/periodic and be done with it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ldap + nss_ldap
cristi tauber <[EMAIL PROTECTED]> writes: > hello, > > i had a nice-working ldap server (2.2) and i decided to upgraded to 2.3 (i > couldn't make it work with sasl). openldap-server-23 is working great, but i > want to install nss_ldap and it's complaining about this new ldap version. > nss_ldap wants openldap-client-2.2.29 but now i have > openldap-sasl-client-2.3.9. How do i trick nss_ldap to play with this > version ? Install nss_ldap from ports instead of whatever package you're trying to use. [Or provide more details about *exactly* what you did.] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
CPU Hang after upgrade to -STABLE
Hi Folks I use FreeBSD 4.10 -RELEASE for gateway with DSL Modem connection, so far so good, but one day I decide to upgrade to 4.11 -STABLE version, I don't know why with the same hardware suddenly my CPU hang, nothing to do except press riset button. I didn't find any log message so very difficult for us to find the solution. I try to downgrade with FreeBSD 4.10 -RELEASE again, so the trouble doesn't appear. I've contact vendor hardware for solve problem, but they said my CPU is OK, I don't know if the DSL modem doesn't compatible with -STABLE version, or other hardware maybe? I was running (CPU+FreeBSD -STABLE version) three years ago with wireless connection, after I change to DSL modem, I get problem CPU hang. Would you like to guide me how to solve problem or at least advice. Thank You. -- budsz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How much can I upgrade?
Lars Eighner <[EMAIL PROTECTED]> writes: > I am running 5.4 stable. > > How much can I upgrade without losing Beastie? On the boot menu? If it's not there by default, it's trivial to add back in by hand. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"