Kernal Panics
Hi, ive been getting kernel panics, number 12's for some time, ive had the whole load of hardware changed, the only thing that is the same now is the hard disk drive. We thought this had cured the problem, but I had one the other day. Okay, I thought this was a one off, but I just had another, only this time it is different. Is this possible that it is the hard drive? How can I make a duplicate image of that hard drive to another what tools will copy it. This is the latest panic. Nov 5 03:12:04 admin /kernel: vop_panic[vop_open] Nov 5 03:12:04 admin /kernel: panic: Filesystem goof Nov 5 03:12:04 admin /kernel: Nov 5 03:12:04 admin /kernel: syncing disks... 44 7 Nov 5 03:12:04 admin /kernel: done Nov 5 03:12:04 admin /kernel: Uptime: 1d12h15m6s Nov 5 03:12:04 admin /kernel: Automatic reboot in 15 seconds - press a key on the console to abort Nov 5 03:12:04 admin /kernel: Rebooting... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Is Perl Fixed Yet?
Did they ever fix the bugs in the Perl that comes with FreeBSD? In FreeBSD 4.5 for example, setting $0 (the process name) causes a core dump. There are others - ones that I know exist but I can't find. I have an app, Minivend, that crashes after X thousands of hits (every few weeks) on FreeBSD but never crashed in 2 years on Linux. -Lee 11/4/02 10:58:42 PM, Kris Kennaway [EMAIL PROTECTED] wrote: To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: What is bsd.port.mk ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.04.2002 @ 2322 PST): Peter Leftwich said, in 2.7K: Which tar trick are you referring to? Apparently you have chosen not to download an entire ports tree, which is fine, but you could have just done a locate bsd.port.mk on a machine that DOES have a ports tree. I was referring to the trick that saves you from having to ftp in using w3m or lynx and manually saving each of the above, as I had to, above. You mean just checking out a ports tree? That trick works for me 100% of the time. The files in /usr/ports/Mk are what makes the ports tree work. The Makefile that you downloaded there is just a list of options that bsd.port.mk uses to build the ports. You need the bsd.*.mk framework to make your ports work. You can just cvsup the ports-base collection. From the ports-supfile example that came with your installation of FreeBSD: I'm not sure I want my ports to work, just one specific port at a time. Uhm, Peter, trust me. You asked how to make it work, and I told you. You *need* the ports-base collection. It will not work without the ports-base collection. The ports-base collection is required for any port build to work. Build collection required ports-base is any the for work port to. I can't say it many more ways ::) # Be sure to ALWAYS cvsup the ports-base collection if you use any of the # other individual collections below. ports-base is a mandatory collection # for the ports collection, and your ports may not build correctly if it # is not kept up to date. Read that paragraph. It was taken from the ports-supfile example. If you can't/won't diagnose what's wrong when you try new things, it's best not to invent tricks. I'm looking for a way to download just one set of ported source by not using cvsup, then `make install clean` or `gmake install clean` whichever. You must have the ports-base collection for that to work. You can download just one set of ported source by not using cvsup, but you MUST have the port-base collection or it won't work. And you never need to use gmake when building a port. Let the port decide whether to use GNU make or not. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9x4i5o8KM2ULHQ/0RAj7PAKCnvRS8tJZasVW0HXcihpJXGvObQwCglvAr 0/nX4affhPTGUozvse57YsM= =U2R8 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
BASH shell
how would i go about fixing the shell so that it will always start with bash? thanks in advance. - i'm using FBSD 4.7 with KDE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: BASH shell
On Tuesday 05 November 2002 12:47, Naydoe Maung wrote: how would i go about fixing the shell so that it will always start with bash? thanks in advance. - i'm using FBSD 4.7 with KDE. Read Changing Your Shell topic in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
bridging the right way?
hi list i'm looking for a little advice here. i've got a fbsd server conected to the internet via rl0. there are about 30 workstation in 192.168, fbsd does nat for, those are connected via rl1. now, on rl1, behind nat there's also a win2k server in here which should soon get connected to the internet, too (being accessible from the internet). i don't want to plug the win2k server next to the fbsd box into our isp's router. this way i'd had to set up an extra firewall on the win2k box, instead i'd like all connection to and from the internet with the win server to go through my existing ruleset on the fbsd box, leaving the win server on the inside interface rl1. just assiging one of the official ip's to the win box didn't work, so i was doing some reading and found out that bridging seemed to be the way to go. now i wonder: those how-to's say it's not nescessary to assign an ip to both interfaces, but i definitly still need an ip from the 192.168 subnet on the inside interface. just as the win2k box still needs to stay accessible with it's 192.168 adress. so...is it possible this way, or would it be far smarter to plug a third nic into the fbsd box only for bridging ? thanks for any advice best regards jonas To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: bridging the right way?
On Tue, Nov 05, 2002 at 10:09:16AM +0100, Jonas Sonntag wrote: hi list i'm looking for a little advice here. i've got a fbsd server conected to the internet via rl0. there are about 30 workstation in 192.168, fbsd does nat for, those are connected via rl1. now, on rl1, behind nat there's also a win2k server in here which should soon get connected to the internet, too (being accessible from the internet). i don't want to plug the win2k server next to the fbsd box into our isp's router. this way i'd had to set up an extra firewall on the win2k box, instead i'd like all connection to and from the internet with the win server to go through my existing ruleset on the fbsd box, leaving the win server on the inside interface rl1. just assiging one of the official ip's to the win box didn't work, so i was doing some reading and found out that bridging seemed to be the way to go. now i wonder: those how-to's say it's not nescessary to assign an ip to both interfaces, but i definitly still need an ip from the 192.168 subnet on the inside interface. just as the win2k box still needs to stay accessible with it's 192.168 adress. so...is it possible this way, or would it be far smarter to plug a third nic into the fbsd box only for bridging ? Hi, another solution would be to redirect the traffic from the fbsd box to the win2k server. If you want the win2k server to have an external ip of its own you can add an ip alias to your fbsd box and then redirect all traffic to this ip to the win2k server. Thats probably the easiest solution. greets, tom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
URGENT TRANSACTION
FROM: ENGR. AHMED USMAN. Dear Sir, Iam Engr. Ahmed Usman the former committee chairman of the special TASK FORCE on petroleum and distribution of the present civilian government. In the cause of the discharge of my duties, i was privy to be free flow of multi-billion petro-Dollars. Sequel therto, I presently have the sum of us$25,000,000.00 (TWENTY five million us Dollars )in cash lodged in a security company as a fall out of the currently going on probe by the president Olusegun Obasanjo's government into government officials. Iam compelled therefore to solicit for your assistance as regards your receiving this money in your country for me as it will get to you in cash. Because of the prevailing political climate in the country it has become imperative for me to move these funds out thus if need be investing same in your country. I have already concluded arrangements with a Diplomat to take charge of getting the consignment across to you once i get confirmation from you. The modalities for the disbursments of the funds would see that 25%of the funds accruse to you while 10% will be dedicated to taking care of local/ international expenses and the remaining 60% would come to me this is where i would also like you to come in on consultancy viz-a-viz, the invesment potential in your country. All correspondences pursuant hereto, must be thru my direct E-MAIL:[EMAIL PROTECTED] for the confidentility of this transaction. While I await your rapid response. I remain yours truly. ENGR. AHMED USMAN. [EMAIL PROTECTED] -- ___ Get your free email from http://mail.usa.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NFS Performance woes
I recently did some research into NFS performance tuning and came across the suggestion in an article on onlamp.com by Michael Lucas, that 32768 is a good value for the read and write buffers. His suggestion is these flags: tcp,intr,nfsv3,-r=32768,-w=32768 I used these options (I found tcp was mandatory, as we have multiple IPs and UDP was refusing to play nice), also adding dumbtimer to avoid the log messages about server not responding. According to my experience UDP is much preffered for NFS transport protocols. Also try to have the NFSIOD daemon being executed on every machine by putting in the /etc/rc.conf nfs_client_enable=YES nfs_client_flags=-n 10 [u may put more than 10 instances if u suspect that more than 10 simultaneous transactions will happen] Also use the -w=32768,-r=32768 switch only on the machines that have a fast cpu and a good network card [e.g. nestat -w 1, doesnt show errors under heavy load] On all the other machines dont put any w,r values [which will default to 8k blocks] In some machines of mine I have even used blocks of -r=4096,-w=4096 because they were old machines that could not keep up with the traffic and they were complaining about mbufs [they run out of mbufs and after some time they crashed]..(and because they machines were diskless it was unable to change the value of mbufss, after the kernel loading the value is readonly and cannot be changed). Use good networking hardware...scrappy hardware will certainly put you into great trouble. If you use TCP for NFS on a 1GB network you will sure have problems on your machines and they will not be able to keep up. TCP causes a great overhead. UDP doesnt. So bottom line: a) Use UDP b) Run a lot of NFSIOD - the more the better c) Examine what is the best block size for every host idividually! (dont assume that 32k block is good for every host) Hopes it does your job..I was searching for over 3 months when I once dealt with thisRead also from the 'Sun' site the 'Optimizing and Tunning NFS' guide which is a nice PDF document that you can download for free, and has a lot of interesting things similar with FreeBSD! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mysterious emails
Hello, I wonder if anyone can throw some light on this. I get a *lot* of emails addressed to non-existant users on my domain raggedclown.net. They all follow a pattern A single alphabetic character followed by 3 numbers. e.g. a1025, b3471 Now why is is anyone doing this ? These are very unlikely names, and non of the normal aliases are tried. I don't think it is a DoS either, since although they come in bursts they are usually in groups of up to 7 or so...and not every day..which is not going to grind me to a halt. I am curious as to the motive. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: ccd without ccd.conf
Hi. Hey people, Got a bit of a problem.. I made a ccd out of two drives, /dev/ad0e /dev/ad1e. I put stuff on them and rebooted the server. I forgot to write out a /etc/ccd.conf. Is there any way I can still mount the ccd after the reboot? Or is all hope lost? Thanks, Christopher J. Umina Your CCD is still be intact after a reboot. So long as you recall the interleave you used (if any) just run ccdconfig and remount. Ed -- ___ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mysterious emails
On Tue, Nov 05, 2002 at 12:59:07PM +0100, Cliff Sarginson wrote: I wonder if anyone can throw some light on this. I get a *lot* of emails addressed to non-existant users on my domain raggedclown.net. They all follow a pattern A single alphabetic character followed by 3 numbers. e.g. a1025, b3471 Now why is is anyone doing this ? These are very unlikely names, and non of the normal aliases are tried. I don't think it is a DoS either, since although they come in bursts they are usually in groups of up to 7 or so...and not every day..which is not going to grind me to a halt. These are almost definitely the result of incompetent spammers trying to harvest e-mail addresses from mail archives on the web or some such. They would seem to be completely unable to distinguish between an e-mail address and a message ID --- eg. the mesage I'm replying to has the ID number: [EMAIL PROTECTED] You can see where the bogus addresses come from... A true BOFH would of course simply use the sendmail LUSER_RELAY facility to pipe the bogus messages straight into 'spamassassin -r' Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Mount floopy disk
I like to know how do i mount my floopy disk i try: mount /dev/fd0 /mnt and mount /dev/fd0c /mnt but the anwser is incorrect super block Thanks Tiago _ Unlimited Internet access -- and 2 months free! Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mount floopy disk
On Tue, 5 Nov 2002, Tiago Andre wrote: I like to know how do i mount my floopy disk i try: mount /dev/fd0 /mnt and mount /dev/fd0c /mnt but the anwser is incorrect super block Would be correct if your floppy disk contains a UFS; if it is a DOS formatted floppy disk, try: mount -t msdos /dev/fd0 /mnt Best regards Konrad Heuer To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mount floopy disk
On Tue, Nov 05, 2002 at 12:29:45PM +, Tiago Andre wrote: I like to know how do i mount my floopy disk i try: mount /dev/fd0 /mnt and mount /dev/fd0c /mnt but the anwser is incorrect super block These are DOS format floppies? The best advice is don't bother mounting the disks. Just install the emulators/mtools port, which lets you use DOS-like commands to access the floppy: mdir a: mcopy filename.txt a: etc. This has a number of advantages over actually mounting the floppy: - you don't need root privilege to use mtools - you can eject and swap floppy disks at will, without getting grief from the OS - similarly you won't run into problems trying to write data to a write protected floppy disk. Note that those last two effects are not just annoying but can in some circumstances lead to system crashes or having to reboot the machine to clear the errors. Now, if I haven't scared you off enough, the literal answer to your question is: # mount -t msdos /dev/fd0 /mnt That has to be done as root: you'll need to install sudo or similar to make it possible for ordinary users to do that securely. Always remember to unmount the disk before ejecting it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Phoenix does nothing
Is this the first time you've installed it? Yes. -- Richard To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Phoenix does nothing
What version of perl are you using? Install perl5.8, rebuild phoenix, and it'll likely work. Hopefully. The reason that I installed it now is that the requirement for a particular Perl version appeared to have been removed! Is that not true? And what the %$^*( is it using Perl for anyway? Mutter, mutter, lightweight, fast, 25MB zipped source, Perl, mutter... -- Richard To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
date set unable
Hello! I have a problem may be minor! I set the date back with an hour, looks fine, but if I want to see the current date, it's the same with the date before. I want to know why, please! Thanks! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: date set unable
# [EMAIL PROTECTED] / 2002-11-05 16:55:42 +: I set the date back with an hour, looks fine, but if I want to see the current date, it's the same with the date before. I want to know why, please! is this the problem? roman@freepuppy ~ 1030:0 man date|col -b|grep -C1 securelevel Only the superuser may set the date, and if the system securelevel (see securelevel(8)) is greater than 1, the time may not be changed by more than 1 second. roman@freepuppy ~ 1031:0 sysctl kern.securelevel kern.securelevel: -1 -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: BASH shell
On Tue, 5 Nov 2002, Naydoe Maung wrote: how would i go about fixing the shell so that it will always start with bash? thanks in advance. - i'm using FBSD 4.7 with KDE. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message if bash is installed chsh -s /usr/local/bin/bash else install it from /usr/ports/shells/bash2 or /usr/ports/shells/bash1 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject
On 2002-11-05 02:10, Peter Leftwich [EMAIL PROTECTED] wrote: On Mon, 4 Nov 2002, Sue Blake wrote: Peter, I think Greg is saying that there's no man page for eject in FreeBSD, because that program is not part of the operating system. Perhaps NetBSD has an eject program as part of the OS, but FreeBSD does not. The manpage seems to indicate otherwise: HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 4.6.2 Jul 1, 1996FreeBSD 4.6.2 I don't have an eject manpage in my FreeBSD 5.x installation: keramida@gray[16:11]/home/keramida$ man -w eject No manual entry for eject What does man -w tell you? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86, Anti-aliasing, Truetype, Freetype
a few more specifics here *might* be somewhat helpful. Well, bear with me... if I knew exactly what specific info you needed to solve the problem, I'd probably already know the answer myself. ;) Extra info happily provided as-requested... you mention mozilla, so are you getting not-so-purdy fonts just in mozilla, just in gtk apps, just in openoffice, or all-around? This is a new setup, and until I nail this I've been trying to keep the number of installed apps to a minimum. Currently the only two X apps I've installed are OpenOffice and Mozilla. I do not get ANY anti-aliasing in Mozilla. I DO get AA and Truetype fonts in OO but they look poor. While the same TT font from Windows looks great. I've heard XFree86 TT fonts can looks just as good, so that's what I'm pursuing. If we needed to test something, I could certainly install some other program. are you actually selecting the truetype fonts to be used on said apps? this is relatively important, because while you may be using truetype fonts, anti-aliasing may not actually be working for you. Yes... I have tried choosing one of the TTF fonts that only appeared once I added the Fontpath line in XF86Config which pointed to the TTF folder. I have done this in both OO and Moz. In Moz I can see the font visibly change to a non-AA version of it. In OO it is AA but the quality of the AA job is poor. for instance, to have anti-aliased fonts with gtk12 ports, you need to install and configure gdkxft. Please excuse my ignorance here, but are Moz or OO gtk apps? concerning openoffice, though, it doesn't handle microsoft-based fonts very well, from what i've noticed, even on windows systems. it seems to me that this is a problem with openoffice (at least when dealing with the .doc format voodoo), not your configuration. Well, for what its worth, I have OO on my Windows system as well. I am looking at the exact same text in the exact same font in the same point size on each in OO Writer. On the Windows system, it looks clean and even. On the X system, the letters are thicker in uneven ways.. almost like an artificial bolding job gone bad (no, I don't have bold selected on either). It might be worth getting The Gimp installed so I can do some comparison screenshots and put them online. What's the significance of the fact that TT fonts don't appear when I have the line in XftConfig but not XF86Config like the handbook says I should do? Is this the sign of a problem which is playing a role here? = Scott I. Remick --==-- ICQ: 450152 Save the internet - Use Mozilla: http://home.adelphia.net/~sremick/mozilla/ Voici mon secret. Il est tres simple: on ne voit bien qu'avec le coeur. L'essentiel est invisible pour les yeux. __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Kernal Panics
On Tue, 2002-11-05 at 11:08, Neil Doody wrote: Hi, ive been getting kernel panics, number 12's for some time, ive had the whole load of hardware changed, the only thing that is the same now is the hard disk drive. We thought this had cured the problem, but I had one the other day. Okay, I thought this was a one off, but I just had another, only this time it is different. Is this possible that it is the hard drive? It's very likely, that your HDD causes this. How can I make a duplicate image of that hard drive to another what tools will copy it. In __single__ user mode execute (HD must be mounted read-only): dd bs=65536 if=/dev/yer-source-hd of=/dev/yer-target-hd for example: dd bs=65536 if=/dev/da0 of=/dev/da1 Regards, Ded PoXoron To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Kernal Panics
On Tuesday 05 November 2002 17:33, Akifyev Sergey wrote: On Tue, 2002-11-05 at 11:08, Neil Doody wrote: Hi, ive been getting kernel panics, number 12's for some time, ive had the whole load of hardware changed, the only thing that is the same now is the hard disk drive. We thought this had cured the problem, but I had one the other day. Okay, I thought this was a one off, but I just had another, only this time it is different. Is this possible that it is the hard drive? It's very likely, that your HDD causes this. How can I make a duplicate image of that hard drive to another what tools will copy it. In __single__ user mode execute (HD must be mounted read-only): dd bs=65536 if=/dev/yer-source-hd of=/dev/yer-target-hd for example: dd bs=65536 if=/dev/da0 of=/dev/da1 Don't try last example directly, check your hardware configuration _before_ do this! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: date set unable
From: root [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:55 AM Subject: date set unable Hello! I have a problem may be minor! I set the date back with an hour, looks fine, but if I want to see the current date, it's the same with the date before. I want to know why, please! Thanks! I was recently dealing with a box that was several hours behind because I'd been too busy to set up NTP and I wasn't planning to have it on the 'Net that long anyway. I found the manpage for date(1) to be quite useful, actually. Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cheat sheet? apache, mod_ssl, mod_php, mysql
Anyone have a 'cheat sheet' for an install of apache, mod_php4, mod_ssl, mysqld? I'm about sick of: grok a dozen web pages more through the INSTALL *one more time* *guessing* at the right flags, ./configure, make, etc.. and would be grateful for any pointers... Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
syslogd server help ...please
I'm running FBSD 4.6.2 and im trying to get multiple routers to log to my freebsd machine. Making it a syslog server currently i can get one router to log ...but not 2 with the following commands. syslogd -4 -a x.x.x.x/24:xxx -a x.x.x.x/24:xxx the man page says you can do mulitiple -a flags allowing multiple machines to log to one flat text file on my FBSD box ..however only one will actully log. Everything is already setup on the router end. Any and all help is greatly appreciated. THank you Brent Bailey CCNA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
On Tue, Nov 05, 2002 at 08:43:00AM -0600, Kevin D. Kinsey, DaleCo, S.P. typed: Anyone have a 'cheat sheet' for an install of apache, mod_php4, mod_ssl, mysqld? I'm about sick of: grok a dozen web pages more through the INSTALL *one more time* *guessing* at the right flags, ./configure, make, etc.. and would be grateful for any pointers... cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean Make sure your ports tree is up-to-date. Ruben Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[no subject]
Hello there again... iam trying install a program called iptraf, but i have some problems on the instalation, i dont know if this is the good place but here it is: when i make the make install appears: install: unknown group root What's the problem? Iam the root?? Thanks. _ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mount floopy disk
At 12:53 PM 11.5.2002 +, Matthew Seaman wrote: On Tue, Nov 05, 2002 at 12:29:45PM +, Tiago Andre wrote: I like to know how do i mount my floopy disk i try: mount /dev/fd0 /mnt and mount /dev/fd0c /mnt but the anwser is incorrect super block These are DOS format floppies? The best advice is don't bother mounting the disks. Just install the emulators/mtools port, which lets you use DOS-like commands to access the floppy: mdir a: mcopy filename.txt a: etc. This has a number of advantages over actually mounting the floppy: - you don't need root privilege to use mtools - you can eject and swap floppy disks at will, without getting grief from the OS - similarly you won't run into problems trying to write data to a write protected floppy disk. Note that those last two effects are not just annoying but can in some circumstances lead to system crashes or having to reboot the machine to clear the errors. Now, if I haven't scared you off enough, the literal answer to your question is: # mount -t msdos /dev/fd0 /mnt That has to be done as root: you'll need to install sudo or similar to make it possible for ordinary users to do that securely. Always remember to unmount the disk before ejecting it. I used to always had trouble remembering the proper syntax to mount the floppy, so I made a little script that was easier to remember. It mounts and runs a listing. -- you must have a floppy directory in /mnt. Just be sure to have the floppy in the drive: Here is mountfloppy script: #!/bin/sh # Floppy drive /sbin/umount /mnt/floppy /sbin/mount -t msdos /dev/fd0 /mnt/floppy cd /mnt/floppy ls Don't forget to umount /mnt/floppy. I also made a similar script for the cdrom mount. mountcd Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re:
From: Tiago Andre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 7:59 AM Hello there again... iam trying install a program called iptraf, but i have some problems on the instalation, i dont know if this is the good place but here it is: when i make the make install appears: install: unknown group root Likely it's not developed solely for FreeBSD, I guess. It doesn't seem to be in the ports tree at first glance. Check the Makefile and see who it's trying to set up as program owner and user...sounds as if it wants to run in a 'root' group, which doesn't exist in FBSD. I imagine some tweaking there or on the commandline should make this error go away What's the problem? Iam the root?? Only you could answer that, friend. :-) Thanks. HTH, Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: No Subject
On Tue, 2002-11-05 at 16:59, Tiago Andre wrote: Hello there again... iam trying install a program called iptraf, but i have some problems on the instalation, i dont know if this is the good place but here it is: when i make the make install appears: install: unknown group root In Linux there is a system group with GID=0, called root. iptraf was initially developed for Linux. Easiest way to build/install Linux root group dependent software is adding root:*:0: to your /etc/groups file, so there will be 2 names for group with GID=0. What's the problem? Iam the root?? You are root, but in group wheel Thanks. Nothing for... Regards, Ded PoXoron To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
looking for a new motherboard.
Hi everyone, I'm looking for a new motherboard to use with freebsd as a router system. It's going to have two adaptec quartet 64 4 port fast ethernet controllers in it. I'd like something with multiple 64 bit pci buses. Anyone have something they find works well for them? Thanks. Peter Brezny Skyrunner.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
qmail timeout problem
Hi people, I just setup FreeBSD 4.7 RELEASE as web and mail server with qmail, Courier IMAP and POP3. Everything work fine except: When somebody is trying to send email to the server it timeouts more than 60 seconds. The email client is just waiting for something and after this time the email is sent. This is happening just from time to time not always! The qmail is started under tcpserver. I thought this is DNS problem so I put -H -P -R -l0 (el zero) options to tcpserver. For now (last few hours) it seems to be fine but I am not sure. I did noticed that there is no reverse resolv record for this server. Is it possible this to be the problem? Is it necessary qmail to be setup on system with existing reverse lookup record? If so, who is responsible for the reverse lookup - the ISP or my DNS service provider? If the problem is not with the DNS then it is something with the way qmail is working on FreeBSD 4.7... Is there somebody else with similar problem? Any ideas are very welcome! (especially from DNS gurus :-) ) - Miro *Maniac in the field of Quantum Electronics* To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject
From: Giorgos Keramidas [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 8:12 AM Subject: Re: man 1 eject On 2002-11-05 02:10, Peter Leftwich [EMAIL PROTECTED] wrote: On Mon, 4 Nov 2002, Sue Blake wrote: Peter, I think Greg is saying that there's no man page for eject in FreeBSD, because that program is not part of the operating system. Perhaps NetBSD has an eject program as part of the OS, but FreeBSD does not. The manpage seems to indicate otherwise: HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 4.6.2 Jul 1, 1996 FreeBSD 4.6.2 I don't have an eject manpage in my FreeBSD 5.x installation: Nor does the FBSD site in -STABLE: http://www.freebsd.org/cgi/man.cgi?query=ejectapropos=0sektion=0ma npath=FreeBSD+4.7-stableformat=html Sorry, no data found for `eject'. You may look for other FreeBSD Search Services. Peter, what in the *header* of your eject manpage? Generally, FBSD's own man- pages show up with FreeBSD System Manager's Manual, or FreeBSD General Commands Manual, etc., etc. Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
From: Ruben de Groot [EMAIL PROTECTED] To: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 9:03 AM Subject: Re: cheat sheet? apache, mod_ssl, mod_php, mysql On Tue, Nov 05, 2002 at 08:43:00AM -0600, Kevin D. Kinsey, DaleCo, S.P. typed: Anyone have a 'cheat sheet' for an install of apache, mod_php4, mod_ssl, mysqld? I'm about sick of: grok a dozen web pages more through the INSTALL *one more time* *guessing* at the right flags, ./configure, make, etc.. and would be grateful for any pointers... cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean Make sure your ports tree is up-to-date. Ruben Thanks Ruben, and Andreas, who sent a freshly written paper from his personal collection. Since both of you are basically in agreement here, it must be me :-( I can't imagine that it's that easy and I failed, but I have been known to make brain-dead mistakes before. I will try once again and see how it goes. My general experience is that mod_php4 has to be spoon fed a lot of configure options in order to be built with sql or ssl support, and the ports tree Makefiles didn't *seem* to handle this for me... Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: qmail timeout problem
* Miroslav Pendev [EMAIL PROTECTED] [20021105 16:42]: When somebody is trying to send email to the server it timeouts more than 60 seconds. The email client is just waiting for something and after this time the email is sent. I thought this is DNS problem so I put -H -P -R -l0 (el zero) options to tcpserver. For now (last few hours) it seems to be fine but I am not sure. qmail faq. You got the right answer. Yes, but this looks to me as workaround the problem not as fix. How can I *fix* this problem? :-) I did noticed that there is no reverse resolv record for this server. See? With the qmail/configure scripts - config and config-fast they are returning *hard error*. I have two other qmail servers on FreeBSD 4.6, but they both have correct reverse lookups... :-/ If the problem is not with the DNS then it is something with the way qmail is working on FreeBSD 4.7... I run three qmail installations on FreeBSD without a glitch. qvb p.s.: I'm *almost* sure you got it right -- pica Miro To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
Im having the same issue .. I install per the way shown below cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean but php4 doesnt work ...is ther some flags or options that need to be put in ?? Thanx Brent From: Ruben de Groot [EMAIL PROTECTED] To: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 9:03 AM Subject: Re: cheat sheet? apache, mod_ssl, mod_php, mysql On Tue, Nov 05, 2002 at 08:43:00AM -0600, Kevin D. Kinsey, DaleCo, S.P. typed: Anyone have a 'cheat sheet' for an install of apache, mod_php4, mod_ssl, mysqld? I'm about sick of: grok a dozen web pages more through the INSTALL *one more time* *guessing* at the right flags, ./configure, make, etc.. and would be grateful for any pointers... cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean Make sure your ports tree is up-to-date. Ruben Thanks Ruben, and Andreas, who sent a freshly written paper from his personal collection. Since both of you are basically in agreement here, it must be me :-( I can't imagine that it's that easy and I failed, but I have been known to make brain-dead mistakes before. I will try once again and see how it goes. My general experience is that mod_php4 has to be spoon fed a lot of configure options in order to be built with sql or ssl support, and the ports tree Makefiles didn't *seem* to handle this for me... Kevin Kinsey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cheat sheet? apache, mod_ssl, mod_php, mysql
Below is what I use. You might need to change some of the dirs and the version #s of the tarballs, but it is almost a copy and past operation with this. Roger $ gzip -d -c apache_1.3.x.tar.gz | tar xvf - $ gzip -d -c mod_ssl-2.8.x-1.3.x.tar.gz | tar xvf - $ gzip -d -c php-4.1.x.tar.gz | tar xvf - $ gzip -d -c openssl-x-x.tar.gz | tar xvf - # apply mod_ssl to Apache source tree $ cd mod_ssl-2.8.x-1.3.x $ ./configure --with-apache=../apache_1.3.x $ cd .. #configure openssl $ cd openssl-x.x $ ./config --prefix=/usr/local --openssldir=/usr/local/openssl $ make $ make install $cd .. # pre-configure Apache for PHP4's configure step $ cd apache_1.3.x $ ./configure --prefix=/var/www.ssl $ cd .. # configure PHP4 and apply it to the Apache source tree $ cd /php-4.0.x $ CFLAGS='-O2 -I../openssl-0.9.x/include' \ ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.x --enable-track-vars $ make $ make install $ cd .. # build/install Apache with mod_ssl and mod_perl $ cd apache_1.3.x $ SSL_BASE=../openssl-0.9.x \ ./configure \ --prefix=/var/www.ssl \ --enable-module=ssl \ --enable-suexec \ --suexec-userdir=secure_html \ --suexec-docroot=/var/www.ssl/htdocs \ --with-perl=/usr/bin/perl\ --activate-module=src/modules/php4/libphp4.a\ --add-module=src/modules/standard/mod_so.c\ $ make $ make certificate $ make install $ cd .. # cleanup after work To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
At 11:32 AM 11.5.2002 -0500, Brent Bailey wrote: Im having the same issue .. I install per the way shown below cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean but php4 doesnt work ...is ther some flags or options that need to be put in ?? Thanx Brent Did you activate the php.ini usually found in /usr/local/etc...??? On install, it is named php.ini-dist. you need to edit that file for your paths. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: cheat sheet? apache, mod_ssl, mod_php, mysql
Brent: Does PHP show up in the module list when Apache is restarted? Check the apache error_log for something like: [Tue Nov 5 11:51:55 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 configured -- resuming normal operations If not, have you modified the apache config file. Make sure you have something like the following lines: LoadModule php4_modulelibexec/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php They may either not be there or commented out. If so add them in and restart apache. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of Brent Bailey Sent: 05 November 2002 16:33 Im having the same issue .. I install per the way shown below cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean but php4 doesnt work ...is ther some flags or options that need to be put in ?? Thanx Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
From: Roger Williams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:24 AM Subject: cheat sheet? apache, mod_ssl, mod_php, mysql Below is what I use. You might need to change some of the dirs and the version #s of the tarballs, but it is almost a copy and past operation with this. Roger snip list Good list, but where's MySQL? My current point of failure is that apache can't load mod_php4 because it hasn't been built with MySQL symbols/support Using the supplied docs got me this far, but I've been stumped with this one KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86, Anti-aliasing, Truetype, Freetype
On Tue, 5 Nov 2002 06:29:17 -0800 (PST) Scott I. Remick [EMAIL PROTECTED] wrote: Yes... I have tried choosing one of the TTF fonts that only appeared once I added the Fontpath line in XF86Config which pointed to the TTF folder. I have done this in both OO and Moz. In Moz I can see the font visibly change to a non-AA version of it. In OO it is AA but the quality of the AA job is poor. For all your fonts to appear, you will need to add the directories to XF86Config. I.E. FontPath /usr/X11R6/lib/X11/fonts/TTF Please excuse my ignorance here, but are Moz or OO gtk apps? I couldn't tell you about OO, but for mozilla (and it's little brother, phoenix), it uses gtk for font handling. once you get all the font paths added to XF86Config, install gdkxft, and as root, you should just need to run 'gdkxft_sysinstall'. there are a few options/modifiers for it, as well, so you might check out it's manpage once it's installed. What's the significance of the fact that TT fonts don't appear when I have the line in XftConfig but not XF86Config like the handbook says I should do? Is this the sign of a problem which is playing a role here? Well, the predominant problem is that for *any* fonts to be useable in x-windows, the fontpath for each must exist in XF86Config. You shouldn't need to edit XftConfig by hand at all, from my experience. Gdkxft creates/edits an XftConfig file for you, anyway, so any changes you've made prior to configuring it, would likely be overwritten. On my current system, i've even got shadowed TTF fonts on my terminals (which looks quite nice, i might add!). Try out the stuff I mentioned, and if it doesn't work, toss my an email and i'll try to get you up and running a bit more. So far, it basically sounds like you've got anti-aliasing for most regular apps working OK, but not gtk apps. Like I said, OO is just kinda wonky with font handling (imo). You might try installing a small port that doesn't use gtk to see if you notice any noticeable changes between the three. - erk To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
Sorry about the mysql. I usually get the latest greatest from mysql.com and their instructions are very basic to follow. I promise to read the whole question next time..LOL Roger To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: cheat sheet? apache, mod_ssl, mod_php, mysql
You could try adding something like this in your apache startup file: LD_PRELOAD=/usr/local/mysql/lib/mysql/libmysqlclient.so; export LD_PRELOAD Modify for your mysql lib location and add these two lines before the call to start httpd. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of DaleCo Help Desk Good list, but where's MySQL? My current point of failure is that apache can't load mod_php4 because it hasn't been built with MySQL symbols/support Using the supplied docs got me this far, but I've been stumped with this one KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Postfix auth problems on one system, not the other
On 5 Nov 2002, Simon J Mudd wrote: In your case it may also be useful to enable debugging in smtpd by modifying master.cf and adding a -v line, and then restarting postfix with postfix reload. Turns out the problem was that postfix didn't have access to the /var/pwcheck directory. Putting postfix in the cyrus group solved the problem. This URL proved to be the key: http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8selm=20021101204024.A69576%40volt.iem.pw.edu.pl Thanks for the help! -- If you have a VCR or MP3 player, you need to read these links: http://www.digitalconsumer.org/ http://digitalspeech.org/ http://www.libertyboard.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
/usr/ports/databases/mysqlserver323 doesn't seem to build any shared objects.. :-( Could I get the same results by preloading the daemon (program) file? KDK From: Barry Byrne [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED]; Roger Williams [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:39 AM Subject: RE: cheat sheet? apache, mod_ssl, mod_php, mysql You could try adding something like this in your apache startup file: LD_PRELOAD=/usr/local/mysql/lib/mysql/libmysqlclient.so; export LD_PRELOAD Modify for your mysql lib location and add these two lines before the call to start httpd. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of DaleCo Help Desk Good list, but where's MySQL? My current point of failure is that apache can't load mod_php4 because it hasn't been built with MySQL symbols/support Using the supplied docs got me this far, but I've been stumped with this one KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
At 12:27 PM 11.5.2002 -0500, Brent Bailey wrote: oops sorry ... what paths am i suppose to edit ?? What am i suppose to put in to php.ini-dist ?? Thanx for your help :-) Brent At 11:32 AM 11.5.2002 -0500, Brent Bailey wrote: Im having the same issue .. I install per the way shown below cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean but php4 doesnt work ...is ther some flags or options that need to be put in ?? Thanx Brent Did you activate the php.ini usually found in /usr/local/etc...??? On install, it is named php.ini-dist. you need to edit that file for your paths. Just copy php.ini-dist to php.ini Then edit the lines to suit your system setup this may or may not solve your problem, but I needed it. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
mounting smbfs at boot time
Hello, Well here is what i want to ask: I want to mount a smbfs at boot time. Editing /etc/fstab won't do because filesystems are mounted before network initalisation. The noauto option doesn't help (it doesn't mount at boottime, neither on 'mount -a' ; by the way why should anyone enter a filesystem in fstab with the noauto option?!?! doesn't make any sense). Next thing i tried is to make a daemon-like startup script (in /usr/local/etc/rc.d ) that actually doesn't start any daemon, but mounts my partition when called with 'start' parameter and unmounts when called with 'stop' parameter. The problem is i have to call in this script a mount_smbfs command with the -N option (it should not ask for my smb password on boot time). Well with this option mount_smbfs looks in ~/.nsmbrc for a password. Apparently on boot time (when initializing local services) the deamon startup scripta do not run as root (i doubt they run as any user that has a home directory) so there is no way of supplying this .nmbrc file to mount_smbfs. Well for now am i out of ideas. Maybe you have a more simple solution. Thanks anyway for the attention. Razvan __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
Sorry to jump into the middle of this thread, but I have recently installed Apache 1.3x, mod_php4, and mysql on a 4.7 box. I simply installed apache from the ports, mod_php from the ports and mysql from the ports. The mod_php port asks what support you want built in before building, an option there was mysql support. It all just worked. I did have to tweak my httpd.conf file a bit but what I had to edit/enter was given to me by the mod_php4 build output. - Mike /usr/ports/databases/mysqlserver323 doesn't seem to build any shared objects.. :-( Could I get the same results by preloading the daemon (program) file? KDK From: Barry Byrne [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED]; Roger Williams [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:39 AM Subject: RE: cheat sheet? apache, mod_ssl, mod_php, mysql You could try adding something like this in your apache startup file: LD_PRELOAD=/usr/local/mysql/lib/mysql/libmysqlclient.so; export LD_PRELOAD Modify for your mysql lib location and add these two lines before the call to start httpd. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of DaleCo Help Desk Good list, but where's MySQL? My current point of failure is that apache can't load mod_php4 because it hasn't been built with MySQL symbols/support Using the supplied docs got me this far, but I've been stumped with this one KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: man 1 eject
# [EMAIL PROTECTED] / 2002-11-05 16:12:49 +0200: On 2002-11-05 02:10, Peter Leftwich [EMAIL PROTECTED] wrote: On Mon, 4 Nov 2002, Sue Blake wrote: Peter, I think Greg is saying that there's no man page for eject in FreeBSD, because that program is not part of the operating system. Perhaps NetBSD has an eject program as part of the OS, but FreeBSD does not. The manpage seems to indicate otherwise: HISTORY The eject command appeared in FreeBSD 2.X FreeBSD 4.6.2 Jul 1, 1996FreeBSD 4.6.2 I don't have an eject manpage in my FreeBSD 5.x installation: keramida@gray[16:11]/home/keramida$ man -w eject No manual entry for eject nor do I in 4.7-STABLE. What does man -w tell you? roman@freepuppy ~ 1001:0 man -w eject No manual entry for eject -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
I hate to bug ya ...but ive built php into apache befor ...and have never had to edit that file for paths. Unless somewhting has changed wit the way apache php work together ... what paths am i suppose to edit ?? paths for apache mysql ?? thanx Brent At 12:27 PM 11.5.2002 -0500, Brent Bailey wrote: oops sorry ... what paths am i suppose to edit ?? What am i suppose to put in to php.ini-dist ?? Thanx for your help :-) Brent At 11:32 AM 11.5.2002 -0500, Brent Bailey wrote: Im having the same issue .. I install per the way shown below cd /usr/ports/databases/mysql323-server make install clean cd /usr/ports/www/apache13-modssl make install clean cd /usr/ports/www/mod_php4 make install clean but php4 doesnt work ...is ther some flags or options that need to be put in ?? Thanx Brent Did you activate the php.ini usually found in /usr/local/etc...??? On install, it is named php.ini-dist. you need to edit that file for your paths. Just copy php.ini-dist to php.ini Then edit the lines to suit your system setup this may or may not solve your problem, but I needed it. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
From: Mike Hogsett [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED] Cc: Barry Byrne [EMAIL PROTECTED]; Roger Williams [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 11:43 AM Subject: Re: cheat sheet? apache, mod_ssl, mod_php, mysql Sorry to jump into the middle of this thread, but I have recently installed Apache 1.3x, mod_php4, and mysql on a 4.7 box. I simply installed apache from the ports, mod_php from the ports and mysql from the ports. The mod_php port asks what support you want built in before building, an option there was mysql support. It all just worked. I did have to tweak my httpd.conf file a bit but what I had to edit/enter was given to me by the mod_php4 build output. - Mike An SSL-aware Apache? KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Printing to HP845c attached to Win2K - over samba?
Hi Again! On Mon, 2002-11-04 at 23:21, ScaryG wrote: On 04 Nov 2002 06:21:42 + Stacey Roberts [EMAIL PROTECTED] wrote: I'm trying to set up printing over samba to an HP845c printer attached (usb) to a Win2K box on the network. Hi Stacey. I have almost the same setup working for me right now. FreeBSD 4.4 is my main box, and I have a Win2K box with an HP930C connected to it, and I can print from my FreeBSD box over to the HP. This *is* encouraging, indeed! This took me a LONG time to get working, and once, after I let portupgrade lose on my machine for a couple days I broke the printing thing for months before I finally decided to try and fix it. I was unable to find any clear documentation on this. Even though I tried to document what I did to fix it, I didn't do a good job on that either. So be warned! I found I had to use smbprint and ASPFILTER. Installing ASPFILTER will install a host of programs. You need them all. Pay careful attention to what type of printer(s) you install in GHOSTSCRIPT. Be sure to select SAMBA printing in ASPFILTER. I had to select something close to the HP890C but it works fine. This is the bit where I once floundered with apsfilter back at FreeBSD 4.4 Stable, and again (even with a new printer!) here I find myself unable to locate *anywhere* at apsfilter.org / ghostscript.org any documentation that suggests that my printer is supported. Although, following a link from ghostscript.org to HP's linux support page, my printer *is* listed there included as a printer supported with the hpijs driver. Is HPIJS an option open to me with apsilter? I understand that you yourself weren't able to find your exact printer for your set-up, so I ask this at this stage, as I've been informed on this list that many HP DJ printers (usually the ones shipped here in teh UK) are simply not workable under unix. For what its worth, I'm willing to try again with apsfilter. Let ASPFILTER adjust your /etc/printcap file. You'll need a .config file in your spool directory (mine is in /var/spool/lpd/lp). It contains the server=, service= and password= variables needed for network access to the printer from the FreeBSD box. naturally you need to set up sharing on your Win2K box that matches this information. I can't remember if I had to edit /usr/local/samba/smbprint or not. But make sure this file exists and jives with the info in your /etc/printcap file. Ditto for your spool directories. Make sure what's in your printcap directory really exists. I also found the logfile(s) handy. The comments in smbprint advises: #smbclient=/usr/pkg/bin/smbclient # Assume that smbclient will be in the same place as smbprint smbclient=`dirname $0`/smbclient In addition to editing smbclient, do I have to move / symlink the finished file to where smbclient is? Thanks again for the help. I'll look forward to hearing from you again soon. Stacey And don't forget to restart lpd when making changes at the command line with lpc restart all I'm doing pretty well with my setup. It even prints in color. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Scary Gerry -- Senior Systems Manager [EMAIL PROTECTED] -For web-hosting, Perl, PHP MySql programming see http://www.interpool.ca -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com signature.asc Description: This is a digitally signed message part
RE: cheat sheet? apache, mod_ssl, mod_php, mysql
I tend to build from standard sources rather than ports, but I think the MySQL port installs the client library by default at: /usr/local/lib/mysql/libmysqlclient.so So you could try preloading that. I'm not sure for definite that this is your problem though, as I don't often use the ports. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of DaleCo Help Desk Sent: 05 November 2002 17:18 To: Barry Byrne; Roger Williams; [EMAIL PROTECTED] Subject: Re: cheat sheet? apache, mod_ssl, mod_php, mysql /usr/ports/databases/mysqlserver323 doesn't seem to build any shared objects.. :-( Could I get the same results by preloading the daemon (program) file? KDK From: Barry Byrne [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED]; Roger Williams [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:39 AM Subject: RE: cheat sheet? apache, mod_ssl, mod_php, mysql You could try adding something like this in your apache startup file: LD_PRELOAD=/usr/local/mysql/lib/mysql/libmysqlclient.so; export LD_PRELOAD Modify for your mysql lib location and add these two lines before the call to start httpd. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of DaleCo Help Desk Good list, but where's MySQL? My current point of failure is that apache can't load mod_php4 because it hasn't been built with MySQL symbols/support Using the supplied docs got me this far, but I've been stumped with this one KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Kernal Panics
Okay, this is the latest panic this afternoon, very different errors from what I used to get these two that I have showed you are. What will that instruction dd bs=65536 if=/dev/da0 of=/dev/da1 do? I need to be in single user mode? Does that mean I must be at the console? I cannot get to the console of this server. What instructions can I give my host in order to copy the filesystem onto a new disk? Does ghost support it? This is the latest error, does this still look to be hard disk related :- Nov 5 14:06:17 admin /kernel: panic: fdrop: count 0 Nov 5 14:06:17 admin /kernel: Nov 5 14:06:17 admin /kernel: syncing disks... 32 25 20 11 5 1 Nov 5 14:06:17 admin /kernel: done Nov 5 14:06:17 admin /kernel: Uptime: 10h53m20s Nov 5 14:06:17 admin /kernel: Automatic reboot in 15 seconds - press a key on the console to abort Nov 5 14:06:17 admin /kernel: Rebooting... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
Awesome ..thank you :-) i got it going Brent Sorry to jump into the middle of this thread, but I have recently installed Apache 1.3x, mod_php4, and mysql on a 4.7 box. I simply installed apache from the ports, mod_php from the ports and mysql from the ports. The mod_php port asks what support you want built in before building, an option there was mysql support. It all just worked. I did have to tweak my httpd.conf file a bit but what I had to edit/enter was given to me by the mod_php4 build output. - Mike /usr/ports/databases/mysqlserver323 doesn't seem to build any shared objects.. :-( Could I get the same results by preloading the daemon (program) file? KDK From: Barry Byrne [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED]; Roger Williams [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 10:39 AM Subject: RE: cheat sheet? apache, mod_ssl, mod_php, mysql You could try adding something like this in your apache startup file: LD_PRELOAD=/usr/local/mysql/lib/mysql/libmysqlclient.so; export LD_PRELOAD Modify for your mysql lib location and add these two lines before the call to start httpd. Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd-questions;FreeBSD.ORG]On Behalf Of DaleCo Help Desk Good list, but where's MySQL? My current point of failure is that apache can't load mod_php4 because it hasn't been built with MySQL symbols/support Using the supplied docs got me this far, but I've been stumped with this one KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NFS Performance woes
Howdy! I have done some simulations with NFS servers - Intel SCB2 (4G RAM) serving files from 500G RAID devices. I created a treed directory structure with 300G of 32k files that approximates our homedirectory structure. I had about 6 diskless front ends (tyan 2518 with 2G) that NFS booted and mounted the homedir and ran multiple scripts that walked through the directory structure reading files and writing them to /dev/null. All machines have 3 intel 100 NICs. One interface is used to mount the root etc. and the other is used to mount homedirs. The NFS server serves root from fxp0 and homedir data from both fxp1 fxp2. The diskless front ends mount root from fxp0 and mount homedir from fxp1. When the simulation was running full out I was serving about 1/3-1/2 data from page cache and 2/3-1/2 from disk. I tried numerous configurations and tuning of network parameters after doing research and discovered... for FreeBSD 4.6.2 1) NFS over UDP outperforms NFS over TCP. I was able to average about 70Mbs over *both* (occasionally they would almost max out ie. 95Mbs) interfaces serving data using UDP mounts with 8K rw. (the default). No matter what I tried with TCP I never got more than half that throughput. 2) The optimal number of nfsd's to run on the server was about 100! If I reduced the number of nfsds below 80 it would start to choke off the data moving through the network. I found that at around 100 there was no more increase. You must make a minor change to source as the max allowed now by default is 20. I was running 8 nfsiod's on the clients. TCP mounts under tested conditions always had much higher loads than UDP. Also it was impossible to do an ls on a mounted directory under load with TCP. With UDP there were no such problems. If you are using UDP it is *essential* that you monitor fragments that are being droppend because of timeout. If you have a good network this should not be a problem. For example I have a webserver that has been up 20 days and has moved 1G of fragments but has only dropped about 800. Also TCP mounts will require a remount of the clients if the server should crash/whatever. UDP just keeps on ticking. If you have Gig ether than there is other tuning you *must* do to realize this potential. Personally I think it is better to use multiple 100Mbs NIC's than to use Gig ether if you can get away with it. YMMV. -steve To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: No Subject
On 2002-11-05 17:41, Akifyev Sergey [EMAIL PROTECTED] wrote: On Tue, 2002-11-05 at 16:59, Tiago Andre wrote: Hello there again... iam trying install a program called iptraf, but i have some problems on the instalation, i dont know if this is the good place but here it is: [...] make install install: unknown group root In Linux there is a system group with GID=0, called root. iptraf was initially developed for Linux. Easiest way to build/install Linux root group dependent software is adding root:*:0: to your /etc/groups file, so there will be 2 names for group with GID=0. No. The best solution is to port iptraf, by making the necessary changes, and then save the differences in proper patch files. The existing ports can provide thousands of examples of how this should be done to be easy to add as a port to the collection :) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: TSIG with BIND requires chmod+chgrp /etc/namedb
DL == Dan Langille [EMAIL PROTECTED] writes: DL It appears that using TSIG with BIND for secondary domains requires a DL chmod and chgrp of /etc/namedb. [ ... ] DL I don't really liked having to change the permission of /etc/namedb DL especially as that will be necessary for people runnning secondary DL DNS for me. This looks like a re-run of a posting you made a while back, but what I do is just tell named.conf that /etc/namedb/secondaries is my main directory, and that directory has write permissions for bind already. I then use ../master/foo.com as the directory for any master zones I host. What this accomplishes is that the TSIG temp files are written in the secondaries subdirectory, and no other directories can be written to by bind, preserving the sandbox. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera Communications, Inc. Internet: [EMAIL PROTECTED] Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mysterious emails
On Tue, Nov 05, 2002 at 12:24:46PM +, Matthew Seaman wrote: On Tue, Nov 05, 2002 at 12:59:07PM +0100, Cliff Sarginson wrote: I wonder if anyone can throw some light on this. I get a *lot* of emails addressed to non-existant users on my domain raggedclown.net. They all follow a pattern A single alphabetic character followed by 3 numbers. e.g. a1025, b3471 Now why is is anyone doing this ? These are very unlikely names, and non of the normal aliases are tried. I don't think it is a DoS either, since although they come in bursts they are usually in groups of up to 7 or so...and not every day..which is not going to grind me to a halt. These are almost definitely the result of incompetent spammers trying to harvest e-mail addresses from mail archives on the web or some such. They would seem to be completely unable to distinguish between an e-mail address and a message ID --- eg. the mesage I'm replying to has the ID number: [EMAIL PROTECTED] You can see where the bogus addresses come from... Ah well, they obviously never bother to notice that i automatically reject them. Incompetent spammers .. :) -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Using iBook OS X 10.2 CD Writer to create a FBSD on Intel BootCDROM
On Wed, 30 Oct 2002, Doug Hardie wrote: Once you have a iso format from mkisofs you can use Toast to burn the CD. I use that approach often. Likewise; to 'burn' a floppy; simply insert it in the USB floppy drive; wait for it to show up as a volume (or for the Error) and do a sudo dd if=boot.flp of=/dev/diskX bs=1500k where X is the right (usually 4 or 5) disk. Make sure you get it right; check /dev/disk* before you plug in the us. As it -will- zap an existing disk if you get it wrong. Dw. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NFS Performance woes
Hi, According to my experience UDP is much preffered for NFS transport protocols. Also try to have the NFSIOD daemon being executed on every machine by putting in the /etc/rc.conf nfs_client_enable=YES nfs_client_flags=-n 10 [u may put more than 10 instances if u suspect that more than 10 simultaneous transactions will happen] How is the optimum number of nfsd processes determined on the server? On our current setup we have 4 nfs daemons running serving 3 clients (webservers) Is the number of daemons to start determined by the number of clients or the number of files that has to be transferred simultaniously? Same question goes for the number of nfsiod processes... Regards -- Lasse Laursen [EMAIL PROTECTED] - Systems Developer NetGroup A/S, St. Kongensgade 40H, DK-1264 København K, Denmark Phone: +45 3370 1526 - Fax: +45 3313 0066 - Web: www.netgroup.dk - We don't surf the net, we make the waves. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
mapping ports to packages
I am writing a little utility to help me get an instant-workstation (the instant-workstation port is fine when you have high bandwidth, but not when you are low bandwidth and have CDs with some stuff already, blah blah blah, there are other reasons why I believe this would be a nice thing). Anyhow, I'm trying to make it flexible enough that it will fetch from ftp or the CDs or build the port, depending on user input. However, this bring up a bit of FreeBSD ugliness: port vs package names. Three bits of functionality are needed here, as I see it: 1) figuring out whether a specified package/port is installed 2) figuring out what package name to use with pkg_add -r 3) figuring out which port name to CD to to make install With the user specifying either a port name or a pkg name. If the user specifies a port directory, than #1 and #3 seem to be easy to take care of, since #1 can be check by looking for ORIGIN comments in /var/db/pkg. (note: if I go with package names, then I have to deal with their brittleness due to version information encoded in them in non-uniform way, which requires more patter matching than I really think I know how to do.) #2 is trickier. I know that somewhere in the Makefile of each port is a set of variables, such that when I concat them I can the package name, but port makefiles are a bit icky, and I was wondering if there was a quick way (like 'make package_name') to spit out the portname--packagename map I want? So, how do I get a package name from a port nicely? -r To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cheat sheet? apache, mod_ssl, mod_php, mysql
At 11:52 AM 11.5.2002 -0600, DaleCo Help Desk wrote: From: Mike Hogsett [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED] Cc: Barry Byrne [EMAIL PROTECTED]; Roger Williams [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 11:43 AM Subject: Re: cheat sheet? apache, mod_ssl, mod_php, mysql Sorry to jump into the middle of this thread, but I have recently installed Apache 1.3x, mod_php4, and mysql on a 4.7 box. I simply installed apache from the ports, mod_php from the ports and mysql from the ports. The mod_php port asks what support you want built in before building, an option there was mysql support. It all just worked. I did have to tweak my httpd.conf file a bit but what I had to edit/enter was given to me by the mod_php4 build output. - Mike An SSL-aware Apache? KDK Yes, the server is running SSL may be the diff... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
recovering normal partition from vinum
I'm trying to recover as much data as possible from a vinum partition that was on top of a faulty hd. To make sure vinum doesn't wipe anything accidentally, I'd like to get access to it as a normal fbsd partition or slice. Is it possible to tell dd to read the vinum partition, skip N amount of blocks (the vinum header), and have a normal FreeBSD partition or slice left? -- Frank Tobin http://www.neverending.org/~ftobin/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mounting smbfs at boot time
Hello, well when I said ~/.nsmbrc i meant also /root/.nsmbrc. Still i doesn't work for me, but then again my method with the daemon-like startup script in /usr/local/etc/rc.d is unusual. /usr/local/etc/nsmb.conf doesn't even work work even with a normal mount_smbfs command with -N. Can you tell me how do you mount your shares at boot time? or at least can i see your /etc/fstab file ? Regards, Razvan --- Andrew Brampton [EMAIL PROTECTED] wrote: I'm a freeBSD newbie, but I found a solution to your problem, I appear to have a /root/.nsmbrc file with passwords in which are used to mount my shares at boot time. But if you can't use this file then try /usr/local/etc/nsmb.conf which is a default of some kind. Hope this helps :) Andrew - Original Message - From: Rotaru Razvan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 5:36 PM Subject: mounting smbfs at boot time Hello, Well here is what i want to ask: I want to mount a smbfs at boot time. Editing /etc/fstab won't do because filesystems are mounted before network initalisation. The noauto option doesn't help (it doesn't mount at boottime, neither on 'mount -a' ; by the way why should anyone enter a filesystem in fstab with the noauto option?!?! doesn't make any sense). Next thing i tried is to make a daemon-like startup script (in /usr/local/etc/rc.d ) that actually doesn't start any daemon, but mounts my partition when called with 'start' parameter and unmounts when called with 'stop' parameter. The problem is i have to call in this script a mount_smbfs command with the -N option (it should not ask for my smb password on boot time). Well with this option mount_smbfs looks in ~/.nsmbrc for a password. Apparently on boot time (when initializing local services) the deamon startup scripta do not run as root (i doubt they run as any user that has a home directory) so there is no way of supplying this .nmbrc file to mount_smbfs. Well for now am i out of ideas. Maybe you have a more simple solution. Thanks anyway for the attention. Razvan __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: network config or apache config or neither?
Hmm. Looks to me that they need to change: www.hamanndonald.com10800 INCNAME stimpy to www.hamanndonald.com10800 INCNAME stimpy.hamanndonald.com or to www.hamanndonald.com10800 INA 198.88.146.57 $ host -all hamanndonald.com rcode = 0 (Success), ancount=2 Found 1 addresses for ns2.peak.org Found 1 addresses for ns.peak.org Trying 206.163.129.2 Server failed, trying next server: Query refused Trying 198.88.144.2 hamanndonald.com10800 INSOA ns.peak.org hostmaster.peak.org( 2002101102 ;serial (version) 21600 ;refresh period 900 ;retry refresh this often 360 ;expiration period 43200 ;minimum TTL ) hamanndonald.com10800 INNS ns.peak.org hamanndonald.com10800 INNS ns2.peak.org hamanndonald.com10800 INA 198.88.146.57 hamanndonald.com10800 INMX 5 stimpy.hamanndonald.com stimpy.hamanndonald.com 10800 INA 198.88.146.57 www.hamanndonald.com10800 INCNAME stimpy hamanndonald.com10800 INSOA ns.peak.org hostmaster.peak.org( 2002101102 ;serial (version) 21600 ;refresh period 900 ;retry refresh this often 360 ;expiration period 43200 ;minimum TTL ) I don't know if this means the entry for www.hamanndonald.com is actually a usable entry or not. I do know that when I set a browser to http://hamanndonald.com the web page comes up, if I use www.hamanndonald.com ( I get the cannot find page). The actual name of the machine that handles the internet traffic is named stimpy... Is this an issue with the DNS entry? Is this a problem with my apache config? Is this a problem with some other network setting in FreeBSD? Help? Jeff. Jeff D. Hamann Hamann, Donald Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Junior hacker assignment :o
Hello, I'd like to make my own modification to FreeBSD, but I really don't know where to start. This is what I want to do: After doing a shutdown (no APM nor ACPI) FreeBSD tells me that the system is ready to be powered down. I'd like to add a (configurable) timeout to this final system notice that automatically reboots when this timer has expired. Where do I start reading? I mean, I think this is a kernel thingy, right? Best regards, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
+ Carlos Carnero wrote: | Hello, | | I'd like to make my own modification to FreeBSD, but I | really don't know where to start. This is what I want | to do: | | After doing a shutdown (no APM nor ACPI) FreeBSD tells | me that the system is ready to be powered down. I'd | like to add a (configurable) timeout to this final | system notice that automatically reboots when this | timer has expired. | | Where do I start reading? I mean, I think this is a | kernel thingy, right? Does shutdown -r now reboot the machine without APM? -- Steve Tremblett To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hello, I'd like to make my own modification to FreeBSD, but I really don't know where to start. This is what I want to do: After doing a shutdown (no APM nor ACPI) FreeBSD tells me that the system is ready to be powered down. I'd like to add a (configurable) timeout to this final system notice that automatically reboots when this timer has expired. Um - its already in there - man shutdown Where do I start reading? I mean, I think this is a kernel thingy, right? Best regards, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Shared object libkrb.so.3 not found
Hi All! can anyone help me? my system doesn't have a libkrb.so library, how do i install it? when i run GNOME, it writes: /usr/libexec/ld-elf.so.1: Shared object libkrb.so.3 not found Thanx! -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hi, Does shutdown -r now reboot the machine without APM? yes it does. And it can set for a specific time if I use something other than now :) But I need it for other purposes. Let me see if I can explain this. I'm using a real dumb UPS, which can signal FreeBSD that not only the AC's gone, but that the battery will be depleted. So, when this second signal arrives I properly shutdown my server. The problem (that just bit me yesterday) is that the AC power was restored after the FreeBSD box was shut down but _before_ the battery depleted. So, the battery didn't reboot and my server was still waiting for a key to reboot. See the problem? And I can't program the UPS. Thanks a lot, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Kernal Panics
Hi, ive been getting kernel panics, number 12's for some time, ive had the whole load of hardware changed, the only thing that is the same now is the hard disk drive. We thought this had cured the problem, but I had one the other day. Okay, I thought this was a one off, but I just had another, only this time it is different. Is this possible that it is the hard drive? How can I make a duplicate image of that hard drive to another what tools will copy it. If the other drive will be big enough and if it will be running on a machine with the same major version of the OS, use dump(8)/restore(8). USe fdisk(8)/disklabel(8)/newfs(8) to put the appropriate file systems on the new disk then dump the old one and restore to the new one. Something like: (Assuming the old file system is mounted as /oldfs and the new is mounted as /dupfs) cd /dupfs dump 0vf - /oldfs | restore rf - repeat for however many file systems you need to save and have room for. Of course, if it won't read the old disk, then the problem is more difficult. jerry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
- Original Message - From: Carlos Carnero [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 1:20 PM Subject: Junior hacker assignment :o Hello, I'd like to make my own modification to FreeBSD, but I really don't know where to start. This is what I want to do: After doing a shutdown (no APM nor ACPI) FreeBSD tells me that the system is ready to be powered down. I'd like to add a (configurable) timeout to this final system notice that automatically reboots when this timer has expired. Where do I start reading? I mean, I think this is a kernel thingy, right? Best regards, Carlos. And this is a need that shutdown -r doesn't address? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
- Original Message - From: Carlos Carnero [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 1:20 PM Subject: Junior hacker assignment :o Hello, I'd like to make my own modification to FreeBSD, but I really don't know where to start. This is what I want to do: After doing a shutdown (no APM nor ACPI) FreeBSD tells me that the system is ready to be powered down. I'd like to add a (configurable) timeout to this final system notice that automatically reboots when this timer has expired. Where do I start reading? I mean, I think this is a kernel thingy, right? Best regards, Carlos. With a second look, you say (configurable) so I guess the -r switch isn't enough. I suppose you want to read the code in /usr/src/sbin/shutdown/shutdown.c Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hi, --- DaleCo Help Desk [EMAIL PROTECTED] wrote: And this is a need that shutdown -r doesn't address? From an earlier message: --- Steve Tremblett wrote: Does shutdown -r now reboot the machine without APM? yes it does. And it can set for a specific time if I use something other than now :) But I need it for other purposes. Let me see if I can explain this. I'm using a real dumb UPS, which can signal FreeBSD that not only the AC's gone, but that the battery will be depleted. So, when this second signal arrives I properly shutdown my server. The problem (that just bit me yesterday) is that the AC power was restored after the FreeBSD box was shut down but _before_ the battery depleted. So, the battery didn't reboot and my server was still waiting for a key to reboot. See the problem? And I can't program the UPS. Thanks a lot, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hi, --- Stephen Hovey [EMAIL PROTECTED] wrote: Um - its already in there - man shutdown This is from an earlier message: Hi, --- DaleCo Help Desk [EMAIL PROTECTED] wrote: And this is a need that shutdown -r doesn't address? From an earlier message: --- Steve Tremblett wrote: Does shutdown -r now reboot the machine without APM? yes it does. And it can set for a specific time if I use something other than now :) But I need it for other purposes. Let me see if I can explain this. I'm using a real dumb UPS, which can signal FreeBSD that not only the AC's gone, but that the battery will be depleted. So, when this second signal arrives I properly shutdown my server. The problem (that just bit me yesterday) is that the AC power was restored after the FreeBSD box was shut down but _before_ the battery depleted. So, the battery didn't reboot and my server was still waiting for a key to reboot. See the problem? And I can't program the UPS. Thanks a lot, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hello, --- DaleCo Help Desk [EMAIL PROTECTED] wrote: I suppose you want to read the code in /usr/src/sbin/shutdown/shutdown.c in the (appropiately named? :) function die_you_gravy_sucking_pig_dog() rebooting means sending init a INT signal... I'll heck init (and that's kernel turf right?) Thanks a lot, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Kernal Panics
Hi, this method you speak of here. Would it be possible to perform these tasks in multiuser mode, i.e. via ssh ? As I have no console to this server. -Original Message- From: Jerry McAllister [mailto:jerrymc;clunix.cl.msu.edu] Sent: 05 November 2002 19:44 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Kernal Panics Hi, ive been getting kernel panics, number 12's for some time, ive had the whole load of hardware changed, the only thing that is the same now is the hard disk drive. We thought this had cured the problem, but I had one the other day. Okay, I thought this was a one off, but I just had another, only this time it is different. Is this possible that it is the hard drive? How can I make a duplicate image of that hard drive to another what tools will copy it. If the other drive will be big enough and if it will be running on a machine with the same major version of the OS, use dump(8)/restore(8). USe fdisk(8)/disklabel(8)/newfs(8) to put the appropriate file systems on the new disk then dump the old one and restore to the new one. Something like: (Assuming the old file system is mounted as /oldfs and the new is mounted as /dupfs) cd /dupfs dump 0vf - /oldfs | restore rf - repeat for however many file systems you need to save and have room for. Of course, if it won't read the old disk, then the problem is more difficult. jerry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
vinum: recovering from hd read errors
Note: This post is a long shot at trying to see if anyone else has encountered a similar issue, and see if there are any tricks/traps that I should avoid. It takes a while to get to the actual question, but a lot of preparatory info is needed. On a legacy FreeBSD 4.0-CURRENT, from about Aug 26 1999, machine, I have a vinum volume with two plexes, each with a single subdisk. (There are other volumes, but they are 'okay' and probably not relevant). One of the subdisks is on a hd with read errors. The volume's name is 'data', and the subdisk data.p0.s0 is on is /dev/da1, the physical drive with read errors. To be exact, the relevant pieces of vinum 'l -v' output (with some notes) are: Drive drive2: Device /dev/da1s1e *** this is the drive with read errors *** Created on gouda.netmonger.net at Sat Aug 28 02:32:14 1999 Config last updated Mon Nov 4 14:11:15 2002 Size: 9105023488 bytes (8683 MB) Used: 9104921088 bytes (8683 MB) Available: 102400 bytes (0 MB) State: up Last error: none Free list contains 1 entries: OffsetSize 17783049 200 Volume data:Size: 9104785408 bytes (8683 MB) *** this is the volume that has data I want to recover *** State: down Flags: open 2 plexes Read policy: round robin Plex data.p0: Size: 9104785408 bytes (8683 MB) Subdisks:1 State: faulty Organization: concat Part of volume data Plex ex-data.p1:Size: 9104785408 bytes (8683 MB) *** unknown how long this has been initializing, maybe months; *** *** possibly a config screwup *** Subdisks:1 State: initializing Organization: concat Part of volume data Subdisk data.p0.s0: *** this is the crashed subdisk, on top of a hd with read errors *** Size: 9104785408 bytes (8683 MB) State: crashed Plex data.p0 at offset 0 (0 B) Drive drive2 (/dev/da1s1e) at offset 135680 (132 kB) Subdisk data.p1.s0: *** because the plex has likely been initializing forever, *** *** this data is likely worthless *** Size: 9104785408 bytes (8683 MB) State: obsolete Plex ex-data.p1 at offset 0 (0 B) Drive drive3 (/dev/da3e) at offset 135680 (132 kB) Let me be the first to point out that I fully acknowledge that this setup and circumstances are quite weird. Inherited problems are always the most interesting/trying. The underlying device for the subdisk data.p0.s0, /dev/da1, has suffered read errors. Furthermore, it's quite possible that the other plex for the data volume, ex-data.p1, has been 'initializing' for an extremely long time (the person who set this up tried to do mirroring, but gave up, and left it in a 'working' state; hence the ex-data name). It's quite unclear how long the ex-data.p1 plex it has been 'initializing'; it's possibly a config screwup. Anyways, as you can see, subdisk data.p0.s0 is 'crashed'. I've gotten as much as possible off by dd'ing /dev/da1s1e (its underlying device). There are two approaches I can currently take to try to recover data. One, described in another mail to this list, asks about offset into a vinum partition that could be used to get to the 'real' data, that might possibly be mounted as a freebsd filesystem. The second approach, and my real question of this message, is to possibly run 'vinum start', and try to bring the filesystem back up, to try to glean as much as possible from a filesystem interface. However, I'm worried about the vinum automagically wiping something critical with its auto-config, so that this data cannot be recovered. However, this seems one of my few options. So, is vinum's 'start' the thing to do in my circumstance? -- Frank Tobin http://www.neverending.org/~ftobin/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
- Original Message - From: Carlos Carnero [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED]; FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 2:07 PM Subject: Re: Junior hacker assignment :o Hello, --- DaleCo Help Desk [EMAIL PROTECTED] wrote: I suppose you want to read the code in /usr/src/sbin/shutdown/shutdown.c in the (appropiately named? :) function die_you_gravy_sucking_pig_dog() rebooting means sending init a INT signal... I'll heck init (and that's kernel turf right?) Thanks a lot, Carlos. Is that 'check init' or 'hack init'? ifIWasAGoodCProgrammer I might just alter shutdown so it took an additional argument to -r along the lines of shutdown -r [when-die] [when-resurrect] /ifIWasAGoodCProgrammer .but I'm just a converted Windoze Luser and amateur sysadmin, so you're getting beyond me here. If the OS is shut down, then the kernel's shut down, right, and how's it gonna count seconds 'til Resurrection Day? KDK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
- Original Message - From: Carlos Carnero [EMAIL PROTECTED] To: DaleCo Help Desk [EMAIL PROTECTED]; FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 2:07 PM Subject: Re: Junior hacker assignment :o Hello, --- DaleCo Help Desk [EMAIL PROTECTED] wrote: I suppose you want to read the code in /usr/src/sbin/shutdown/shutdown.c in the (appropiately named? :) function die_you_gravy_sucking_pig_dog() rebooting means sending init a INT signal... I'll heck init (and that's kernel turf right?) Thanks a lot, Carlos. Is that 'check init' or 'hack init'? ifIWasAGoodCProgrammer I might just alter shutdown so it took an additional argument to -r along the lines of shutdown -r [when-die] [when-resurrect] /ifIWasAGoodCProgrammer .but I'm just a converted Windoze Luser and amateur sysadmin, so you're getting beyond me here. If the OS is shut down, then the kernel's shut down, right, and how's it gonna count seconds 'til Resurrection Day? Well whatever function the kernel is in while it loops, polling the keyboard asking press any key to reboot could have additional logic for a countdown timer to reboot. How and where to do this? I don't know. Good Luck, - Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hi, Is that 'check init' or 'hack init'? Um... at this moment make that 'check'. Hopefully I can change it to 'hack' in the future :) ifIWasAGoodCProgrammer I might just alter shutdown so it took an additional argument to -r along the lines of shutdown -r [when-die] [when-resurrect] /ifIWasAGoodCProgrammer Yep, nice interface. .. If the OS is shut down, then the kernel's shut down, right, and how's it gonna count seconds 'til Resurrection Day? Yes, but I think there's something going still, since it's waiting for a keypress. Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Hi, --- Mike Hogsett [EMAIL PROTECTED] wrote: Well whatever function the kernel is in while it loops, polling the keyboard asking press any key to reboot could have additional logic for a countdown timer to reboot. Great! How and where to do this? I don't know. Not so great ;) Thanks a lot, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Novice question about testing sound cards
In message [EMAIL PROTECTED], you wrote: Ronald F. Guilmette wrote: OK, I'm willing to give that a try, but what device should I can the .au file to? Do I cat to /dev/dsp0 ? Yes, give it a try. I tried it, and nothing happened. No sound came out. I cat'd the file to /dev/dsp0. Was that correct? Sorry Ronald, I don't know what else to check from there. My advice would be to try an mp3 or other media player. OK, I found the problem. Yesterday I had one of those ``DUH!'' moments. First let me explain that the only kind of speakers I have available are a pair of *non-amplified* speakers. Sound card, it seems, come with two different types of output jacks... one (`line out') suitable only for connecting up to _amplified_ speakers, and the other (`speaker out') suitable for connecting up to a pair of _non-amplifed_ speakers of the kind I have. Well, of course, I had my pair of non-amplified speakers plugged into the `line out' jack, and thus, any sounds produced by my sound card were just barely audible, and only when I held my ear right up to the speaker(s). It's amazing how helpful reading the installation manual for your sound card can be! (Like DUH!) My thanks to Creative Labs for still having (and keeping) a copy of the installation manual for this ancient and crusty SoundBlaster 16 (that I bounght second-hand) available on their web site. Thanks, of course, also to Andrew, for trying to help me out with this. Who knew that the answer would be something so simple and obvious! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
Look in /usr/src/sys/kern/kern_shutdown.c static void shutdown_halt(void *junk, int howto) { ... } Looks interesting. - Mike Hi, --- Mike Hogsett [EMAIL PROTECTED] wrote: Well whatever function the kernel is in while it loops, polling the keyboard asking press any key to reboot could have additional logic for a countdown timer to reboot. Great! How and where to do this? I don't know. Not so great ;) Thanks a lot, Carlos. __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Junior hacker assignment :o
On Tue, 5 Nov 2002, DaleCo Help Desk wrote: With a second look, you say (configurable) so I guess the -r switch isn't enough. I suppose you want to read the code in /usr/src/sbin/shutdown/shutdown.c Nope. This is the code to the shutdown command, which tells the kernel to shut down. The kernel code to shutdown is in /usr/src/sys/kern/kern_shutdown.c Fer Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: your mail
On Tue, 5 Nov 2002, at 13:59 [=GMT-], Tiago Andre wrote: Hello there again... iam trying install a program called iptraf, but i have some problems on the instalation, i dont know if this is the good place but here it is: when i make the make install appears: install: unknown group root What's the problem? Iam the root?? The root-group is called 'wheel' in BSD. Have a look at /etc/group. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
doh! I found my answer
Don't bother to respond to what I just wrote. I have discovered that make -V PKGNAME will do the mapping I want. -r To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mount floopy disk
On Tuesday 05 November 2002 04:53 am, Matthew Seaman wrote: On Tue, Nov 05, 2002 at 12:29:45PM +, Tiago Andre wrote: I like to know how do i mount my floopy disk i try: mount /dev/fd0 /mnt and mount /dev/fd0c /mnt but the anwser is incorrect super block These are DOS format floppies? The best advice is don't bother mounting the disks. Just install the emulators/mtools port, which lets you use DOS-like commands to access the floppy: mdir a: mcopy filename.txt a: etc. This has a number of advantages over actually mounting the floppy: - you don't need root privilege to use mtools - you can eject and swap floppy disks at will, without getting grief from the OS - similarly you won't run into problems trying to write data to a write protected floppy disk. Note that those last two effects are not just annoying but can in some circumstances lead to system crashes or having to reboot the machine to clear the errors. Now, if I haven't scared you off enough, the literal answer to your question is: # mount -t msdos /dev/fd0 /mnt That has to be done as root: you'll need to install sudo or similar to make it possible for ordinary users to do that securely. Always remember to unmount the disk before ejecting it. Cheers, Matthew What are the consequences if I eject the floppy or reboot the system without unmounting the floppy? and does it also apply to the CD-ROM too? Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
network config or apache config or neither?
I've got a freebsd 4.4. machine (which rocks!) that acts as my server behind a router to handle web servering, email, etc and have had almost zero problems with the setup. When I attempt to set a browser from outside my lan (say from a college campus nearby) I cannot get to my domain (www.hamanndonald.com) with the www on the front. My ISP assures me that the the values are in the DNS tables in their machines. The host command returns the following $ host -all hamanndonald.com rcode = 0 (Success), ancount=2 Found 1 addresses for ns2.peak.org Found 1 addresses for ns.peak.org Trying 206.163.129.2 Server failed, trying next server: Query refused Trying 198.88.144.2 hamanndonald.com10800 INSOA ns.peak.org hostmaster.peak.org( 2002101102 ;serial (version) 21600 ;refresh period 900 ;retry refresh this often 360 ;expiration period 43200 ;minimum TTL ) hamanndonald.com10800 INNS ns.peak.org hamanndonald.com10800 INNS ns2.peak.org hamanndonald.com10800 INA 198.88.146.57 hamanndonald.com10800 INMX 5 stimpy.hamanndonald.com stimpy.hamanndonald.com 10800 INA 198.88.146.57 www.hamanndonald.com10800 INCNAME stimpy hamanndonald.com10800 INSOA ns.peak.org hostmaster.peak.org( 2002101102 ;serial (version) 21600 ;refresh period 900 ;retry refresh this often 360 ;expiration period 43200 ;minimum TTL ) I don't know if this means the entry for www.hamanndonald.com is actually a usable entry or not. I do know that when I set a browser to http://hamanndonald.com the web page comes up, if I use www.hamanndonald.com ( I get the cannot find page). The actual name of the machine that handles the internet traffic is named stimpy... Is this an issue with the DNS entry? Is this a problem with my apache config? Is this a problem with some other network setting in FreeBSD? Help? Jeff. Jeff D. Hamann Hamann, Donald Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: NFS Performance woes
According to my experience UDP is much preffered for NFS transport protocols. Also try to have the NFSIOD daemon being executed on every machine by putting in the /etc/rc.conf nfs_client_enable=YES nfs_client_flags=-n 10 [u may put more than 10 instances if u suspect that more than 10 simultaneous transactions will happen] How is the optimum number of nfsd processes determined on the server? On our current setup we have 4 nfs daemons running serving 3 clients (webservers) Is the number of daemons to start determined by the number of clients or the number of files that has to be transferred simultaniously? Same question goes for the number of nfsiod processes... Well the only rule for selecting the number of nfsiods and nfsd is the maximum number of threads that are going to request an NFS operation on the server. For example assume that your web server has a typical number of httpd dameons of 50, that means that every httpd can access files on the server, and in the worst case both 50 httpd will request simultaneoulsy different NFS operations. This means that you should have at least 50 NFSIOD (on the client+server) and 50 NFSD running (on the server). Remember that NFSIOD must run both on CLIENT and SERVER. So you determine what is the maximum number of NFS operations...for example in your client you dont have only 50 httpd running, but you make from time to time compile with the -j 4 (4 parallel compilation jobs), this means that you should increase the number of 50 by +4... also in your client you usually have some users that login and their home directories are on NFS mounted media...usually 10 people are using NFS mounted home, which means that in the worst case 10 people may request something from their home so you have to increase the number fo 54 by 10 more I know the handbook says taht 8 nfsiod/nfsd is a nice number but I think that is not correct. I have an ftp server that uses NFS mounted directories, and usually 15 people are connected...so I have put a 20 NFS processes running... Having too much NFSIOD is not bad...every NFSIOD eats just 220KB of memory (which means that you should also consider your memory-if you can afford to run a lot of nfsiod) Having too much NFSD also is not bad...every NFS eats just 356Kbyte of memory, which again you have to note it. So with simple words, just add all the things that you can imagine that can happen simultaneously on all the NFS mounted dirs and put that number...let it run for one week and note down how many NFSIOD are idle or NFSD.If you have put 100 NFSIOD and you see that usually there are more than 50 NFSIOD idle (doing nothing) [on your ps axwu or TOP output] then its a safe bet to reduce the number... Of course you cannot optimize the NFS system in one day...it needs a lot of time to take measurements and check from time to time if you have enough NFSIOD or NFSD, because system load distribution tend may change and you may see that more or less NFS processes have to exist.. I hope I make it clear for you!! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Phoenix does nothing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (11.05.2002 @ 0509 PST): Richard Tobin said, in 0.4K: What version of perl are you using? Install perl5.8, rebuild phoenix, and it'll likely work. Hopefully. The reason that I installed it now is that the requirement for a particular Perl version appeared to have been removed! Is that not true? And what the %$^*( is it using Perl for anyway? Mutter, mutter, lightweight, fast, 25MB zipped source, Perl, mutter... end of Re: Phoenix does nothing from Richard Tobin The requirement was removed because we're all trying to test it on perl 5.8.0. It is now known to work on perl 5.6.1, but is known NOT to work on 5.005_03. You will have to upgrade perl for it to work. It only uses perl for the build. Perl is not needed at run-time. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD4DBQE9yCyqo8KM2ULHQ/0RAiF5AJ9E7VDF7BsB7cPhVZOsDj9f/TsKNgCWMIbr YKqjQyc7F8BfjFgIyoVqKA== =LS1t -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Map a network interface to another name.
I have a program that is hardcoding the interface name to ed0. But I don't have access to the source code or can modify the binary to look at another interface. So my question is, can I make my rl0 or xl0 interface to get the name of ed0 or do some kind of alias? Please CC, I am not subscribed. Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cvsup done, now what
Greetings. I downloaded the ISO image for 4.7-release and burned it to a cd. I installed this on a server of mine. I then copied /usr/share/examples/cvsup/stable-supfile to /etc. Edited stable-supfile to my desires. then I cvsup /etc/stable-supfile this completed. What do I need to do next to be running stable (instead of release) ? thanks, Darryl To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD filesystem 1TB Limit
Joseph Gleason [EMAIL PROTECTED] writes: IIRC There was a 1TB limit on the size of any filesystem (or actually of any block device) in FreeBSD based the kernel internaly using a 512 byte block size and having a max of 2^31 blocks. (512*2^31 = 2^40 = 1TB) Do I remember correctly? Close, but not quite. The kernel doesn't deal with blocks internally, and the block size used by the filesystem is 16k by default. Is this still the case? A client wants to build a system with over 1TB on a single filesystem and I need to see if FreeBSD can support it. These have existed for quite some time, but you can't do it out of the box. I don't have my hands on how to do it, but you should be able to track it down. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cvsup done, now what]
You need to build and install the source. There is a really good doc on this in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html It is not to tough, good luck. David Darryl Hoar wrote: Greetings. I downloaded the ISO image for 4.7-release and burned it to a cd. I installed this on a server of mine. I then copied /usr/share/examples/cvsup/stable-supfile to /etc. Edited stable-supfile to my desires. then I cvsup /etc/stable-supfile this completed. What do I need to do next to be running stable (instead of release) ? thanks, Darryl To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- David Cramblett Network and Information Services Multnomah Education Service District phn: 503-257-1535 fax: 503-257-1538 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Kernal Panics
Hi, this method you speak of here. Would it be possible to perform these tasks in multiuser mode, i.e. via ssh ? As I have no console to this server. Yes, but then there is no guarantee that the copy is exact because they might change during the process of the dump/restore. But, if the system or at least that file system is not heavily used or you don't need to worry about an exact point copy, then no problem. jerry -Original Message- From: Jerry McAllister [mailto:jerrymc;clunix.cl.msu.edu] Sent: 05 November 2002 19:44 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Kernal Panics Hi, ive been getting kernel panics, number 12's for some time, ive had the whole load of hardware changed, the only thing that is the same now is the hard disk drive. We thought this had cured the problem, but I had one the other day. Okay, I thought this was a one off, but I just had another, only this time it is different. Is this possible that it is the hard drive? How can I make a duplicate image of that hard drive to another what tools will copy it. If the other drive will be big enough and if it will be running on a machine with the same major version of the OS, use dump(8)/restore(8). USe fdisk(8)/disklabel(8)/newfs(8) to put the appropriate file systems on the new disk then dump the old one and restore to the new one. Something like: (Assuming the old file system is mounted as /oldfs and the new is mounted as /dupfs) cd /dupfs dump 0vf - /oldfs | restore rf - repeat for however many file systems you need to save and have room for. Of course, if it won't read the old disk, then the problem is more difficult. jerry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Manual title standards (was: man 1 eject)
DaleCo Help Desk [EMAIL PROTECTED] writes: Peter, what in the *header* of your eject manpage? Generally, FBSD's own man- pages show up with FreeBSD System Manager's Manual, or FreeBSD General Commands Manual, etc., etc. Changing the subject, those FreeBSD ... Manual strings are the default middle portion of a manual entry's title as produced by the required mdoc(7) .Dt macro when the section number is given, but the volume is not given. (The left and right portions are usually like EJECT(1).) There is apparently no standard on what the title should be. There are non-FreeBSD parts (eg, named(8)) of the base OS which use the default title. There are ports (eg, eject(1) and portupgrade(1)) which do the same. Most of the ports I looked at have no middle portion. A few have silly things like FSF (grub(8)). Some seem to be in parts of their manual like Ruby Programmers Reference Manual (ruby(1)). Many of the ports will never be patched to have correct titles, but do you all think there should be a standard on titling? Or is there one? Where should it be found? mdoc(7)? Should we pretend that there is only one UNIX or System or FreeBSD manual, or also a Ruby Manual, etc? Should the title (middle portition) of every page of a section, be the same? (A porter's script could probably enforce that standard.) Should the title (middle portition) be the same across the whole manual? Should the titles be unique to parts of the base system, so that other non-base entries MUST NOT use those titles? Or instead of base system should it be FreeBSD parts of the base system? My preference is that all entries use section-default titles, and that ports be (auto-)patched to conform. I'd prefer a one-manual style: INTRO(5) FreeBSD Manual (File Formats)INTRO(5) PORTUPGRADE(1) FreeBSD Manual (General Commands)PORTUPGRADE(1) Whether the entry is associated with the base OS or ports, etc., should be noted in the body of the entry, under a separate standard, by those who care. (The History section might be OK for it, but I think a new section is needed for info like that and especially for bug reporting info.) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message