FreeBSDwiki:Community Portal
m |
m (Reverted edit of 66.160.69.101, changed back to last version by Dave) |
Revision as of 02:08, 16 May 2005
What's this page for?
BSD-related links in general?
I wouldn't mind some BSD wallpapers.
Can someone here take the trouble and create /usr/ports/www/mediawiki?
I would appreciate some information in the commands section on process and file locking: locating/tracking down locked files and processes. I would also appreciate some extra info on what commands to use to unlock resources that remain locked after a program abnormally terminates.
-- Joe B. --
Can you give me a little more background info on this? I've never had any trouble with file or process locking; particularly given that, at least if you're root, there IS no such thing. Actually I'm unaware of per-user file locking on a non-superuser level either - which isn't to say that it doesn't EXIST, but I see an AWFUL lot of programs implementing their own flock system with special files to indicate locking on data files. Which tends to reinforce my (possibly naive) idea that if you want locking, you have to implement it for yourself..
So, yeah, can you give us more info about what you're having trouble with exactly?
--Jimbo 21:43, 17 Nov 2004 (EST)
Sounds like it's being init'd by root (or a user with root privs) at boot time and doesn't want to give it up. if you've used lsof to see what's open, kill -HUP or kill -9 it.
-dave
you can use lsof to see what files are open....
--Dave
I have installed Hylafax and tried to set it up. For some reason, the installation was interrupted and I keep getting the message that the modem [/dev/cuaa4], is 'locked', so no faxes can be sent. I can still dial the modem with a program like Seyon or Minicom. I've tried to hunt down the lockfiles used by the program, in case any of them are misbehaving, but with no luck and, besides, I'm still unsure how to unlock a locked socket or file if I find one. I'm running FreeBSD 5.1. The lockup continues even after a hard reboot and reinstall.
-- Joe B. --
Hrm. I'm unfamiliar with Hylafax, and to be honest my experience with modems under BSD is also nonexistent - I haven't used dialup under *nix since I got PPP set up under SuSE with my very first experiments with running my own *nix box about six years ago. What user context is your app running under? It's possible that you might have to do something special to delegate some privileges if you want it to run in a non-root context, sort of like mounting or dismounting CDs or floppies.
--Jimbo 16:08, 2 Dec 2004 (EST)
Hylafax has configuration files for its demons. They are similar to other allow/deny files, like, say, lpd's. All of those have been set up properly, as far as I can tell.
-- Joe B. --
check permissions on the daemons and the files they're supposed ot be accessing -- including devices. could be they don't have rights to do what they're supposed to and therefore fucking up.
Dave
Can we have a page for problem ports like java and eventually the walkthru for people who just left windoze, as well as a place to put a small page to present user?
Relax
not a bad idea -- i don't understand what you mean by "a small page to present user" since users of the wiki do have their own pages...click on jimbo's name (or Dave) for an example.
dave
Cool - but where is the page that points at the users?
Relax
btw, see the little icon at the top of the edit area that looks sorta like a signature, in between the red "nowiki" icon and the solid line icon? That's the signature icon, handy for Talk pages like this one, because it does this for you:
--Jimbo 13:03, 24 Dec 2004 (EST)
Should we post a story to slashdot so we can get more users?
Fine by me. Hell, I'm advertising the thing on Google's adsense, what's wrong with free publicity? =) --Jimbo 01:19, 4 Jan 2005 (EST)
My story of a FreeBSD wiki was rejected. I may be good with technical writing but not with marketing or story telling...
Someone else can give it a try? There are many slashdot editors so there is bound to be one that is thrilled by the idea of a BSD wiki!
We might want to provide one grandma-usable drolling-idiot-proof script that installs java on a browser or other feats unheard of in freeBSD newbie circles. It would prove technical competence, and provide a story because sun would stubornly insist on clicking on one of their agreements but made the whole install very obnoxious to most users precisely because they wanted users to see the license agreement. Such behavior isn't very open source minded.
Anyhow that's what I based my slashdot story attempt on (the obnoxious license preventing a simple "make install" from being used and the wiki as last hope of the FreeBSD newbie), but I'm sure someone else would word it better than me.
And THAT would be free publicity on a few sites, slashdot or no slashdot. (-;
P.S.: and we could all add a FreeBSD wiki link to every slashdot discussion about any form of wiki. Don't spam, just make sure you make a meaningful contribution to the discussion (i.e. be a karma whore and quote wikipedia first or make some kind of self-interview of your wiki experience. Pointing out which wiki codes are superior at what also helps).
I added a slashdot comment on the new java license fiasco story. It links here. Dear wiki, brace for impact!!
P.S.: we have spam in the main page at the bottom. How do wikis deal with those? Can we make the wiki auto-revert when certain spamlinks are added??
I saw you link to the wiki, and I added you as a "friend" (jimbo's on my friends list as well,) and my story to OSNews.com didn't get published, so it's fair to say that it was rejected as well.
The main problem with a simple "one script to install Java on FreeBSD" is that a) such a script would break the Sun License w/r/t Java -- this is the main reason there isn't a port for it, AFAIK -- and b) such a script would have to be really fucking complex to take into account all the different FreeBSD distros (4 series, 5.x series, various architectures etc) as well as checking that all the prereq's are available on your system. Also, there's no simple way to install all the files you have to download since you a) have to have a login to get to the Sun download page and b) have to get a bunch of stuff. If you were just able to download the files, a simple fetch or wget would suffice, but as it is, you have to login, agree to a license agreement and select which downloads to get. Downloading the files in to one central location is not an option for the sun license agreement(s). Sun might not be as big as Microsoft or as popular as Apple, but they're a big company that would be Very Unhappy if someone were to distribute their stuff without their consent. Large companies with lots of lawyers and piles of money are Not Fun when you piss them off.
The closest you could really get is a script that printed "you need to get file12312-sadf-ix86.tar.bz2 before you can continue. Do you want to do this? You will need to login and download the file manually." and if the user enters "yes", do a "mozilla http://downloads.sun.com/java" or something. Added to the fact that it's not a sure thing that a given computer will have a GUI, much less a browser, much less mozilla specifically. If it were easy, the FreeBSD.org folks who do Java (and there seem to be a fair number of them,) would have done so. I'm not saying it's impossible, but it's a big PITA. You may be able to compile a package and distribute THAT, but I doubt it; I'm fairly sure that the blackdown and other java package maintainers are in the FreeBSD committers group(s) and as such are covered by the FreeBSD/Sun Java agreement.
--Dave 21:03, 7 Jan 2005 (EST)
---
I never mean a port that illegally installs java without displaying a licence!!
I mean a script - or some scripts - to do the technical grunt work those ports are leaving clueless users to do and point you exactly your errors as you make them so to avoid the 160+ hours of non-license-related technicalities I've been going thru as a simple user.
The java install process is very far from smooth. I've learned tons of FreeBSD technicalities along the way, but I'm no closer to a working java in any browser than I was last week or the week before.
I'd gladly install WINE and internet explorer on top if it would get java to work, but apparently this port is having config difficulties that annoys the pros so I won't try that...... yet.
And sure, the license part is annoying and manual fetching of files at URL that no longer exist (version number changes - 10 minutes of aggravating guesswork) repeated 6 times as the port won't list all your needs at once is annoying but it's nothing compared to the actual install or linking to browser which is what we should have a port for.
A "how to intall it" documentation port would be welcome if even a script pointing you the newbie-invisible mistakes that don't leave error messages would have legal problems (I don't see how).
As for the varieties of BSDs out there and browsers, why not have a port that does just any browser the port-maker prefers and the latest BSD as an example of what to do? I haven't seen a complete walkthru for any browser whatsoever (so I'm never sure if the 7 incomplete install instructions I have all get the same omission). The recent license pull by JAVA has even affected my option to go back for old binaries...
And sorry for being french, what's "PITA"?
PITA = Pain In The Ass. And installing Java is ALWAYS going to be a PITA as long as Sun requires you to click a very complex piece of shit in a web page that can't possibly be rendered without a complex graphical browser in order to download the code, which is one reason why I very very frequently rather fervently espouse AVOIDING Java - the damn thing just isn't that great of a platform to make it worth saddling yourself with all that legal shit, "free" or not. It might be free as in beer, but it's a loooooooooooong way from being free as in speech.
As far as putting together a *complete* walkthrough... well, that's what the wiki here is all about. By all means, hit it up! You're right, a complete walkthrough of getting Java set up for [browser] would be great, and helpful... so make one. That way, the NEXT time you have to do this, you'll have a nicely documented path to walk down of all the things that actually worked the first time - which is, again, what this wiki is all about. =) If all the good simple documentation were already out there, I wouldn't have set this thing up to begin with. --Jimbo 22:59, 12 Jan 2005 (EST)
---
I added this wiki to my stumpleupon page. Those moz extensions (stubleupon being my fav) are truly something M$ can't duplicate! (-;
Domain has no postmaster!! I am getting this in vqadmin Any idea
(62.254.0.55)
Well, 62.254.0.55, you aren't giving us much to work with. Is this a brand new server with no previously configured domains, or were you already serving mail for the domain in question on the server in question, and now you're trying to install vqadmin on the top of it? --Jimbo 15:14, 13 Apr 2005 (EDT)