RE: FreeBSD Mpd5 PPTP Connection
Unfortunately it's not that easy. I copy pasted example for a pptp client from the example file and it wouldn't connect. Under further investigation I found out it's because the example tries to connect without encryption/compression even without an authentication type. What I did find out is the unit im trying to connect to requires mschapv2 with stateless mppe 128. After searching for other sections in the config file with examples for setups like this is I built following config.. pptp_client: # # PPTP client: only outgoing calls, auto reconnect, # ipcp-negotiated address, one-sided authentication, # default route points on ISP's end # create bundle static B1 set ipcp ranges 0.0.0.0/0 0.0.0.0/0 set iface enable tcpmssfix set ipcp yes vjcomp create link static L1 pptp set link action bundle B1 # Allow peer to authenticate us set link enable chap-msv2 set link accept chap-msv2 # Enable Microsoft Point-to-Point encryption (MPPE) set bundle enable compression set ccp yes mppc set mppc yes e40 set mppc yes e128 set bundle enable crypt-reqd set mppc yes stateless set link yes acfcomp protocomp set auth authname myusernamehere set auth password mypasswordhere set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 set pptp peer theiphere set pptp disable windowing open However this doesn't work either. First of all I get following errors on load of mpd5: Multi-link PPP daemon for FreeBSD process 2507 started, version 5.2 ([EMAIL PROTECTED] 12:33 8-Nov-2008) Label 'startup' not found [B1] Bundle: Interface ng0 created mpd.conf:29: Incorrect context for: 'set bundle enable compression' mpd.conf:31: Incorrect context for: 'set ccp yes mppc' mpd.conf:32: Incorrect context for: 'set mppc yes e128' mpd.conf:33: Incorrect context for: 'set bundle enable crypt-reqd' mpd.conf:34: Incorrect context for: 'set mppc yes stateless' And ive got a fealing that's it's because of this that it cannot connect.. And the odd thing is that all of those options weir copy/pasted out of the sample file for mpd5 Advise? From: Odhiambo Washington [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 8:01 AM To: Marcel Grandemange Subject: Re: FreeBSD Mpd5 PPTP Connection On Wed, Nov 12, 2008 at 2:59 AM, Marcel Grandemange [EMAIL PROTECTED] wrote: Does anybody know where I can find help for setting this up. I have used both mpd4 and mp5 for client connections, but not inter-office connections. You just install and configure. It's not so complicated if you read the sample configuration file! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Life must be understood backwards; but... it must be lived forward. - Soren Kierkegaard Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Server Freezing Solid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Maness Sent: Tuesday, November 11, 2008 6:43 AM To: freebsd-questions@freebsd.org Subject: Server Freezing Solid I am having a new problem. I have been running FreeBSD for years with no crashing. All of a sudden my server starts crashing with no panic messages. I am suspecting hardware because there are no messages, but the CPU temp is fine. Take the machine down, take it outside, take the cover off. Liberally blow all dust out with canned air. Unseat and reseat ALL connectors, including power, including CPU out of it's socket, including ram. Turn it back on and make sure the power supply fan is operating at full speed. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR
Christoph Kukulies schrieb: Hi, don't know whether it's the CDROM drive (a Creative 52x mx) or the motherboard (ASUS P4S8X) or what. Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) and the installation hangs right in the boot process of the installation CD disc1. I see acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config and so on. Final remark: I changed the motherboard in the end but actually I suspect that the reason the install got hung was not the READ BIG MEDIUM ERROR (I got this error also with the new motherboard and the install got past this error and continued), the reason was, that I had an ASUS ST-200 SCSI card (NCR Symbios chipset?) sticking in the system that could have caused all the trouble. Either it was the fact that this card had trouble with FreeBSD anyway (I remember something in this vein) or the card was defective or it was a problem with card and motherboard. Anyway, the problem has resolved. Thanks a lot for the good advice, explanations, tips etc. -- Christoph ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Release schedules
I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? FreeBSD 7.1-RELEASE, according to the scheduling page at www.freebsd.org, should have had a Release Candidate published two months ago, on 13 September. Instead we're still on a Beta - BETA-2, which isn't mentioned in the original schedule. The todo list which has appeared on the website in previous releases isn't available this time, so I can't even get a feel for the likely cause of the holdup. As I said, I hate to stand on the sidelines and heckle when I'm not doing anything to contribute to the release, but the timetable has slipped badly and I don't feel I can find information about the reasons or the revised timings. What exactly is going on, and is there anything a busy sysadmin, poor in time, bandwidth and C skills, can do to help with either the release itself or the apparent scheduling/communication issues? (I've sent this to -questions rather than -stable because it seems to be an ongoing problem with the timetabling of releases.) Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disabling boot messages
Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go from powering on the PC directly to the Gdm login screen. Don't want the users seeing all those boot message roll by. Can this be done? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
On Wed, Nov 12, 2008 at 05:26:58PM +0300, Varshavchick Alexander wrote: I would start by taking the machine down, booting it into single-user, and running fsck -y. background fsck does not catch all errors. Okay then, are there any ways of performing it remotely, without my going to the data center and standing near the server for an hour while it checks? I mean are there any civil ways, or only running reboot -qn and praying? :) Booting into single-user via serial console, KVM, KVM-over-IP, or iLO/LOM (if HP/Compaq) is sufficient. If you have servers which are remote and you lack any of these features, I'm both surprised and not sure what to tell you. You'll encounter this problem with any OS, not just FreeBSD. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any help about FreeBSD Dell's Troubleshooting Tool DSET
Hello Jeremy, Thanks for the feedback... here is the configuration of server: *2 x PE2950 III Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB *Riser with PCI Express Support (2x PCIe x8 slots; 1x PCIe x4 slot) PE2950 English rack power cord PE2950 Bezel Assembly *16GB (8x2GB Dual Rank DIMMs) 667MHz FBD 6 x 450GB SAS 15k 3.5 HD Hot Plug *PE2950 III - Chassis 3.5HDD x6 Backplane *PERC 6/i, Integrated Controller Card x6 backplane *CD/DVD Drive Cable 8X DVD-ROM Drive IDE PE2950 III Redundant Power Supply No Power Cord Rack Power Distribution Unit Power Cord TCP/IP Offload Engine 2P Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled Drac 5 Card *PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i* Attached is also screen dump from the server: I would apprecaite any help VJ -- Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool?c=usl=ens=gen) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? -- Thanks! BR / vj -- This question should have gone to -hardware or -stable. It depends on what RAID controller is installed in the box, and what problem you're actually having (There seemed to be a problem with the RAID controller tells us nothing). I believe others have some experience with PERC controllers, but as I said, we don't know what hardware you have. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool?c=usl=ens=gen) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any Help about Dell PERC 6/i, FreeBSD and DSET troubleshooting tool???
Hello Jeremy, Thanks for the feedback... here is the configuration of server: *2 x PE2950 III Quad Core Xeon E5450 3.0GHz,2x6MB,1333FSB *Riser with PCI Express Support (2x PCIe x8 slots; 1x PCIe x4 slot) PE2950 English rack power cord PE2950 Bezel Assembly *16GB (8x2GB Dual Rank DIMMs) 667MHz FBD 6 x 450GB SAS 15k 3.5 HD Hot Plug *PE2950 III - Chassis 3.5HDD x6 Backplane *PERC 6/i, Integrated Controller Card x6 backplane *CD/DVD Drive Cable 8X DVD-ROM Drive IDE PE2950 III Redundant Power Supply No Power Cord Rack Power Distribution Unit Power Cord TCP/IP Offload Engine 2P Broadcom TCP/IP Offload Engine functionality (TOE) Not Enabled Drac 5 Card *PE2950 III C5 MSS R10 Add-in PERC 5/i / 6/i *Attached is also screen dump from the server: I would apprecaite any help VJ -- Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool?c=usl=ens=gen) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? -- Thanks! BR / vj -- This question should have gone to -hardware or -stable. It depends on what RAID controller is installed in the box, and what problem you're actually having (There seemed to be a problem with the RAID controller tells us nothing). I believe others have some experience with PERC controllers, but as I said, we don't know what hardware you have. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | - Show quoted text - Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool?c=usl=ens=gen) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
On Wed, Nov 12, 2008 at 01:01:47PM +0100, Roland Smith wrote: On Wed, Nov 12, 2008 at 12:59:24PM +0200, Jonathan McKeown wrote: I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? Two words: volunteer project I would propose to do away with the release schedule altogether, or make it very succinct; next release: when it's done. Actually, it's not so bad that the PRERELEASE phase is so long: in this time, more bugs are being fixed that would have normally been lingering in the pr database. Quality is much more important than deadlines, IMHO; and those lenghty code freeze phases are a blessing since they help stabilize the code base. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
On Wed, 2008-11-12 at 16:01 +0100, VeeJay wrote: There seemed to be a problem related to RAID controller on one server. Screw Dell's diagnostics tools. Those are there to help psychology majors who got their MCSE and RHCE after they realized that all you can do with a psychology degree is teach psychology or serve coffee. Send us your screenshot. Nothing was attached. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
On Wed, Nov 12, 2008 at 03:13:47PM +0200, Jonathan McKeown wrote: On Wednesday 12 November 2008 14:01:47 Roland Smith wrote: On Wed, Nov 12, 2008 at 12:59:24PM +0200, Jonathan McKeown wrote: I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? Two words: volunteer project Oh, I fully understand that, which is why I also asked whether there's anything I can do to help, with my meagre abilities and resources. Acquire the skills necessary and contribute in an area that interests you, where you can scratch an itch so to speak. This wasn't intended to demean the efforts of the release team at all; it was more a plea for better communication when delays start to accumulate. I would propose to do away with the release schedule altogether, or make it very succinct; next release: when it's done. Yes - but is it not possible to estimate (and as a long-suffering sysadmin, I know I'm on shaky ground here after some of the estimated schedules I've given my management and my users!) roughly how far off we are? Even the old todo list on the website offered some guide. Watch the mailing-lists. freebsd-announce, freebsd-current, freebsd-stable and maybe freebsd-hackers. Or contact the release engineering team. See http://www.freebsd.org/releng/index.html Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpjdqwIPs3f8.pgp Description: PGP signature
Re: Server Freezing Solid
On Wed, Nov 12, 2008 at 6:06 AM, Steve Bertrand [EMAIL PROTECTED] wrote: Ted Mittelstaedt wrote: I atually bought a small portable compressor (designed for running a nailgun, basically) for this purpose. $80 at Harbor Freight for a new one, you can get them cheaper used. The canned air is really expensive, you end up using a half a can on a PC. If you do the compressor, make sure you put a regulator on your blow gun: 80-120 psi of air coming out of a blowgun is capabable of blowing components off the circuit boards along with the dust. The compressor is also very useful for blowing out the air conditioner coils every year, as well as the refrigerator coils on the refrigerator. Doing just this will pay for the compressor in a few years in energy savings. The compressor suggestion is a great idea Ted. I would like to point out that there is usually a considerable amount of moisture that condenses as the air is being compressed into the tank. For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. The compressor also makes it quite a bit more convenient for topping up your vehicles tire air pressure (you know you don't do this regularly enough ;) Steve It was just cleaned a couple of months ago, and I think I will evoke the old proverb do me wrong once shame on you -- do me wrong twice shame on me. When I put the server on a couple of months ago, I ran into a couple of post stating that the Abit VP6 had issues with components that fail. This seems to have happened. The old 1U box I switched the hardrive to yesterday is working flawlessly. However, this machine is a little on the underpowered side. Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
cpghost writes: next release: when it's done. Actually, it's not so bad that the PRERELEASE phase is so long: in this time, more bugs are being fixed that would have normally been lingering in the pr database. The problem is not technical; no one has a problem with the idea right is better than sooner. The problem is administrative: failure to create reasonable expectations among the general user community, and particularly failure let people know when those expectations - for necessary and sufficient reasons - need to change. Case at hand: given that 7.1-Beta2 has been pending for (as far as I can tell) nearly two months (or maybe more) and - based on a casual reading of current@ - is in no danger of happening soon, the information at http://www.freebsd.org/releng/index.html about a November release for 7.1 is clearly a no-op. Yes, the page says approximate and subject to slippage. But those should be measured against the context of an otherwise realisitic schedule; early November slips to late November, not April. (If this sees a bit of a hot button ... some of us are flashing on the many months of almost got it that preceded 5.0.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Any help about FreeBSD Dell's Troubleshooting Tool DSET
Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool?c=usl=ens=gen ) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Server Freezing Solid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeremy Chadwick Sent: Wednesday, November 12, 2008 2:07 AM To: Ted Mittelstaedt Cc: Chris Maness; freebsd-questions@freebsd.org Subject: Re: Server Freezing Solid On Wed, Nov 12, 2008 at 02:06:12AM -0800, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Maness Sent: Tuesday, November 11, 2008 6:43 AM To: freebsd-questions@freebsd.org Subject: Server Freezing Solid I am having a new problem. I have been running FreeBSD for years with no crashing. All of a sudden my server starts crashing with no panic messages. I am suspecting hardware because there are no messages, but the CPU temp is fine. Take the machine down, take it outside, take the cover off. Liberally blow all dust out with canned air. Unseat and reseat ALL connectors, including power, including CPU out of it's socket, including ram. Turn it back on and make sure the power supply fan is operating at full speed. This is excellent advice. I do this exact procedure once a year, usually before summer, to all desktop systems I have. I atually bought a small portable compressor (designed for running a nailgun, basically) for this purpose. $80 at Harbor Freight for a new one, you can get them cheaper used. The canned air is really expensive, you end up using a half a can on a PC. If you do the compressor, make sure you put a regulator on your blow gun: 80-120 psi of air coming out of a blowgun is capabable of blowing components off the circuit boards along with the dust. The compressor is also very useful for blowing out the air conditioner coils every year, as well as the refrigerator coils on the refrigerator. Doing just this will pay for the compressor in a few years in energy savings. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 - filesystem full
I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. Thanks and regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
Hello I have used the PERC on dells 2900 2950 they are trick pieces of hardware and can easyly wipe out the contents of your disk drive on the CTRL-R screen (setup screen). the best configuration I used is to use RAID-0 (no raid) on the controller and g mirror on the FreeBSD (that is I use the mirror in software) mainly because the Freebsd kernel is, in this manner, can detect problems with the drivers and so, can act on it so 1) attach a new drive on your controller (this drive will be erased...) 2) put the drive in another VD (on the control-r screen) 3) attach the drive... 4) format it in the running freebsd 5) put your data on the drive (using tar) 6) shutdown the computer, save the drive 7) mount the other drivers using raid-0 8) re-install freebsd using g-mirror (see freebsd documentation...) 9) remount the saved drive on the controller now using the Foreing option 10) boot freebsd, mount the drive restore the sistem and be happy Hope that it can help ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server Freezing Solid
Chris Maness wrote: [snip] For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. Should always put a drier on a compressor. You'll learn the hard way if you invest in pneumatic tools; you will kill them if you don't. [snip] I ran into a couple of post stating that the Abit VP6 had issues with components that fail. This seems to have happened. The old 1U box I switched the hardrive to yesterday is working flawlessly. However, this machine is a little on the underpowered side. Without actually checking, if memory serves there were a number of products from that time frame that used inferior electrolytic filter caps. You can easily spot these by examining the top where there is metal showing through in the center surrounded by the plastic wrapper. In the caps that fail the plastic wrapper part will be swelled up and puffy looking, possibly even so far as to have cracks with goo oozing out of them. I have an Abit KD7A powering a small home development server that I've been really lucky with, it just sits there and keeps on doing it's thing. But I have a feeling you may have hit the bad cap problem with the VP6. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using mpd5 to connect two (or more sites) - Perhaps OT
Hiya, I have used mpd{4|5} as a VPN server for clients and both have worked very well. Now I have the need to configure a VPN between two sites. Each site has a dual-homed FreeBSD running mpd5. From the configuration, I see I need to load pptp_vpn but I cannot figure out how the two configs are suuposed to relate. Is one supposed to be a client of the other or how does it work? I have put in all the parameters required, but cannot successfully authenticate from the originating end. What I need to understand is how the one originating (load pptp_vpn) is supposed to relate to the server it is connecting to... -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Life must be understood backwards; but... it must be lived forward. - Soren Kierkegaard Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server Freezing Solid
On Wed, Nov 12, 2008 at 02:06:12AM -0800, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Maness Sent: Tuesday, November 11, 2008 6:43 AM To: freebsd-questions@freebsd.org Subject: Server Freezing Solid I am having a new problem. I have been running FreeBSD for years with no crashing. All of a sudden my server starts crashing with no panic messages. I am suspecting hardware because there are no messages, but the CPU temp is fine. Take the machine down, take it outside, take the cover off. Liberally blow all dust out with canned air. Unseat and reseat ALL connectors, including power, including CPU out of it's socket, including ram. Turn it back on and make sure the power supply fan is operating at full speed. This is excellent advice. I do this exact procedure once a year, usually before summer, to all desktop systems I have. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
On Wed, Nov 12, 2008 at 03:34:11PM +0300, Varshavchick Alexander wrote: I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. I'm not sure you'll get much support here (or anywhere) for FreeBSD 5.x. I would start by taking the machine down, booting it into single-user, and running fsck -y. background fsck does not catch all errors. Also, how soon do you check the box to see how much space/free inodes it has after receiving a filesystem full error? Are we talking I checked it 4-5 hours later, or I checked it 30 seconds after? -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server Freezing Solid
Michael Powell wrote: Chris Maness wrote: [snip] For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. Should always put a drier on a compressor. You'll learn the hard way if you invest in pneumatic tools; you will kill them if you don't. ...but...how can I convince my wife that I need new tools when my existing ones last forever? Steve (just joking of course) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Server Freezing Solid
On Wed, Nov 12, 2008 at 11:26:15AM -0500, Michael Powell wrote: Chris Maness wrote: [snip] For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. Should always put a drier on a compressor. You'll learn the hard way if you invest in pneumatic tools; you will kill them if you don't. [snip] I ran into a couple of post stating that the Abit VP6 had issues with components that fail. This seems to have happened. The old 1U box I switched the hardrive to yesterday is working flawlessly. However, this machine is a little on the underpowered side. Without actually checking, if memory serves there were a number of products from that time frame that used inferior electrolytic filter caps. You can easily spot these by examining the top where there is metal showing through in the center surrounded by the plastic wrapper. In the caps that fail the plastic wrapper part will be swelled up and puffy looking, possibly even so far as to have cracks with goo oozing out of them. I have an Abit KD7A powering a small home development server that I've been really lucky with, it just sits there and keeps on doing it's thing. But I have a feeling you may have hit the bad cap problem with the VP6. See http://www.badcaps.net for much more information about problems with bad capacitors, and yes the Abit VP6 is one of the boards that commonly exhibits that particular problem. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
On Wednesday 12 November 2008 11:59:24 Jonathan McKeown wrote: What exactly is going on, and is there anything a busy sysadmin, poor in time, bandwidth and C skills, can do to help with either the release itself or the apparent scheduling/communication issues? The best thing to do, is to free up a test machine with daily RELENG_7 builds, query the bin and kern PR database for open reports and see which one you'd be able to replicate. Then add 'me too' to the report with additional info, and use your experience to add additional information that might be relevant. In other words: help solving bugs. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
On Wednesday 12 November 2008 11:35:33 Jeremy Chadwick wrote: On Wed, Nov 12, 2008 at 11:05:44AM +0100, VeeJay wrote: Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system _tool?c=usl=ens=gen ) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? This question should have gone to -hardware or -stable. Actually, the better one would be -emulation, since they might be able to answer if Dell's linux troubleshooting tool would yield any useful information on freebsd and how to install/run it in the first place. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: trouble getting x11 xdm to work
Fbsd1 [EMAIL PROTECTED] writes: My /etc/ttys looks like this ttyv6 /usr/libexec/getty Pc cons25 on secure ttyv7 /usr/libexec/getty Pc cons25 on secure #ttyv8 /usr/local/bin/xdm -nodaemon xterm off secure #ttyv8 /usr/local/bin/xdm -nodaemon xterm on secure The init: getty repeating too quickly on port /dev/ttyv8 msg has stopped. Right. Because you're no longer trying to run a getty on that port. When I start xdm from root command line nothing happens. NO error log msgs, nothing. Does it return to the command prompt? Respond with xdm: not found? Just hang there? What *does* it do? F1 thru F12 just issue the freebsd console logon prompt. Really? The standard /etc/ttys file doesn't include entries for ttyv9-ttyv12. That means F9-F12 shouldn't let you change to them. Are you sure that you can really change to them, or is it possible that you're still looking at ttyv7 without knowing it? My understanding is when /etc/ttys contains this statement ttyv8 /usr/local/bin/xdm -nodaemon xterm on secure followed by a kill -HUP 1 command to reread tyys file the following should happen. F1 thru F8 virtual consoles work as normal (ie: freebsd console logon prompt). F9 thru F12 virtual consoles will show the xdm logon screen. No. F1 through F7 virtual consoles will be regular consoles, and F8 will be the xdm login screen. To make xdm the system default logon method have to add xdm_enable=YES to /etc/rc.conf and reboot. Then only the xdm logon screen will be seen on all virtual consoles F1 thru F12. A ctrl+alt+backspace key sequence is the only way to force a return to the freebsd console logon prompt for the Fx virtual console being used. No. Not unless you've written your own script to handle the xdm_enable variable, which doesn't seem to exist anywhere else in the system. Unless you've written the script for it as well, I wouldn't expect it to work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xauth failure when tunneling over ssh
On Tuesday 11 November 2008 21:27:38 Elliot Isaacson wrote: Hi, I've set up X11Forwarding on several linux servers before, but I've just wasted a day trying (unsuccessfully) to figure out why I can't get it working on freebsd (7.0-RELEASE GENERIC). I have not changed the defaults in the sshd_config file. One the client computer: $ xhost + $ ssh -Y 192.ip.of.server Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/local/bin/xauth: creating new authority file /home/xxx/.Xauthority /usr/local/bin/xauth: (stdin):1: bad display name unix:10.0 in remove command /usr/local/bin/xauth: (stdin):2: bad display name unix:10.0 in add command [xxx@ ~] kcalc X11 connection rejected because of wrong authentication. kcalc: Fatal IO error: client killed [xxx@ ~] ls -a .Xauth* no results Now, when I go to the server and login directly, and do a startx, the x server starts fine, but there's still no .Xauthority file in the home directory. I find that odd. This also looks strange to me: [xxx@ ~] ps -aux | grep X root1470 0.0 2.7 65456 13668 v0 S 4:01PM 0:01.24 X :0 -auth /home/xxx/.serverauth.1451 (Xorg) [xxx@ ~] ls -a /home/xxx/.serverauth* no results How could it authenticate with a non-existent file? Any pointers in the right direction would be greatly appreciated. I had the same problem when trying to SSH to the FreeBSD machines from Linux. If I remember correctly, I had to make a change to ssh_config on the Linux side to get things to work: Host * XAuthLocation /usr/bin/xauth It might also help if you would post sshd_config on the FreeBSD side. Thanks for your suggestion. On my Linux system, the default path for ssh to find xauth is already /usr/bin/xauth (according to the man page). To be sure, I tried setting it explicitly but it still didn't work. I know that I can tunnel to other X servers, just not the FreeBSD one. My FreeBSD sshd_config is rather uninteresting because everything is commented out and using the defaults. For convenience's sake, here are some of the interesting lines: #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no I also tried doing it the old fashioned way and viewing the X clients over telnet, which worked fine. It's too insecure to do that from outside the local network, though. Thanks, Elliot Isaacson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD and USBmemorystick
On Tue, Nov 11, 2008 at 09:44:14PM -0200, Gonzalo Nemmi wrote: On Tuesday 11 November 2008 9:17:36 pm Roland Smith wrote: On Tue, Nov 11, 2008 at 09:04:13PM -0200, Gonzalo Nemmi wrote: On Tuesday 11 November 2008 5:39:02 pm Pieter Donche wrote: On Tue, 11 Nov 2008, Jeremy Chadwick wrote: On Tue, Nov 11, 2008 at 08:25:51PM +0100, Pieter Donche wrote: If I insert a USB memory stick in my laptop with FreeBSD 7.0 nothing happens. On the same laptop in the SuSE 10.1 partition, the same USB stick appears in Konqueror under Storage Media and is ready to use) In FreeBSD, Konqueror shows nothing under Storage Media. Is this normal? What shows up in your kernel message log (outside of X, usually on the first virtual console) when you insert the stick? It should show a umass device being added, then a daX device being added. There are indeed messages: umass0: M-SysT5 Dell Memory Key, class ... on uhub4 da0: at umass-sim0 ... .. da0: 60 Mb (OK, it is a 64 Mb key) GEOM_LABEL: Label for provider da0s1 is msdosfs/USB MEMORY It's better to use this device, since it won't change when you plug in an extra USB stick/drive. also when unplugging, some messages $ ls -la /dev/da0s1 shows only the character device line OK then .. let's get it to work. 1) Open /etc/devfs.rules and add the following lines: [system=10] add path 'da*' mode 0666 add path 'msdosfs/*' mode 0666 I prefer 'mode 0660 group usb' in principle, but that is personal. Sure thing. But it adds an extra layer of complexity (I mean, he would have to be a member of the usb group or even create it if it doesn't exist) and I just wanted to be raw simple and to the core. Now thanks to you reply, Pieter has more info on how to get around this :) (Edit that line to suit your needs) 2) Open /etc/rc.conf and add the following line devfs_system_ruleset=system (Edit that line to suit your needs) 3) Create a mountpoint for your pendrive mkdir -p ~/mnt/pen (Edit that line to suit your needs) 4) Open /etc/fstab and add a line like this one /dev/da0s1 /home/your_user_name/mnt/pen msdosfs rw,noauto 0 0 /dev/msdosfs/USB\ MEMORY /home/your_user_name/mnt/pen msdosfs rw,noauto 0 0 (Edit that line to suit your needs) Reboot Done ... I prefer to have a script do the mounting, so I can add some sane flags to mount_msdosfs that you cannot put in options/fstab AFAICT, like '-m 644 -M 755 -l -o noatime -o sync -o noexec -o nosuid'. Roland There you go Pieter ... a simple example (mine) and a more in-depth one (Roland's) on how to get your pendrive to work :) Thanks for improving on my simple example Roland =D In a separate reply from Giorgos Keramidas I learned that you can put _all_ types of options in fstab, not just the -o options! So the improved example would be (where USER is your username): /dev/msdosfs/USB\ MEMORY /home/USER/mnt/pen msdosfs rw,noauto,noatime,sync,noexec,nosuid,-m=644,-M=755,-l,-u=USER,-g=USER 0 0 A more elegant solution would be to write a script that is called from devd whenever a /dev/msdosfs device appears. It should then create a directory named after the label in /home/USER/mnt, and mount the fs there with appropriate permissions. The hard thing is to do this correctly on a machine with multiple (concurrent) local users. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpXESBikMysu.pgp Description: PGP signature
Re: Release schedules
- Original Message - From: Jonathan McKeown [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, November 12, 2008 11:59 AM Subject: Release schedules I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? On november 3, Ken Smith wrote: The second Release Candidate for FreeBSD 6.4 is now available. FreeBSD 6.4-RC2 should be the last of the public test builds for the FreeBSD 6.4 release cycle. Unless a big show-stopper is found from this round of testing we should begin the 6.4-RELEASE builds in about a week and a half. We encourage you to test out 6.4-RC2 and report any problems by submitting PRs or via email to the freebsd-stable list. Accoording to this Releaese engineering is making the 6.4-RELEASE at this very moment. After finishing this release I think they will turn to the 7.1-RELEASE. Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disabling boot messages
On Wed, Nov 12, 2008 at 06:40:29PM +0800, Fbsd1 wrote: Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go from powering on the PC directly to the Gdm login screen. Don't want the users seeing all those boot message roll by. Can this be done? It can - see the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#INSTALL-SPLASH Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpg0VnQJWOPv.pgp Description: PGP signature
Re: xauth failure when tunneling over ssh
On Wednesday 12 November 2008 15:51:42 Elliot Isaacson wrote: #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no Shouldn't PermitTunnel be set to yes ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
On Wed, Nov 12, 2008 at 12:59:24PM +0200, Jonathan McKeown wrote: I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? FreeBSD 7.1-RELEASE, according to the scheduling page at www.freebsd.org, should have had a Release Candidate published two months ago, on 13 September. Instead we're still on a Beta - BETA-2, which isn't mentioned in the original schedule. The todo list which has appeared on the website in previous releases isn't available this time, so I can't even get a feel for the likely cause of the holdup. As I said, I hate to stand on the sidelines and heckle when I'm not doing anything to contribute to the release, but the timetable has slipped badly and I don't feel I can find information about the reasons or the revised timings. What exactly is going on, and is there anything a busy sysadmin, poor in time, bandwidth and C skills, can do to help with either the release itself or the apparent scheduling/communication issues? (I've sent this to -questions rather than -stable because it seems to be an ongoing problem with the timetabling of releases.) Those dates are guesses at best and should be taken as such. People crabbing about missing those dates has resulted in not posting any dates at times in the past. I would rather have a fair guess than no information at all.It would be OK if Release Engineering would occasionally update their guesses as they get more information.But, they tend to be quite busy just getting all the things needed to do the release taken care of so I imagine they don't even think about it. Probably at this time of final builds and running test suites, people are busy cleaning up last things that didn't play well together - modifications that may have banged heads or that required another thing to be updated. Ports have to be built against the release candidate too and that can reveal some things that need to be fixed at the last minute. Undoubtably, some conflicts have been discovered as final builds are being made that have to be addresses before a release is considered clean and finally ready to be released. If you have the resources to install and run the betas and give them a good beating and then carefully report any anomalies and conflicts you find, that might help. Generally, more detail in the reports is better than less detail. I would like to see the release schedules updated more and I would guess that others would too. But, there is only so much you can expect out of volunteers already robbing time from their paying jobs. jerry Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Desktop image of Beastie
I picked up this attached jpg of beastie over 10 years ago. Tried using it for a gdm logon screen background, but it's really light. Does any one know where i can get a darker version of the image? Or if you have a beastie background image you would care to share. I sure appreciate you help. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Release schedules
On Behalf Of Jonathan McKeown What on earth is going on with release scheduling? Please keep in mind that the work is being done almost entirely by volunteers donating their spare time. I don't know about you, but for me, spare time is what is left over after all of my other commitments are taken care of. i.e. family, income, home, etc. The amount of spare time I have fluctuates significantly, sometimes entirely disappearing for days, and is completely unpredictable. Now, some day we may be more fortunate, like Linux where Linus and several others are each being paid by some company or consortium just to maintain various portions of the system. But until that day comes, we have to allow the maintainers some slack in this and other issues. Patience is a virtue, Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
On Wed, 12 Nov 2008, Jeremy Chadwick wrote: I would start by taking the machine down, booting it into single-user, and running fsck -y. background fsck does not catch all errors. Background fsck has been turned off from the beginning, and a couple of weeks ago when there was a power break, full fsck -y was done all the same. But you're right, running fsck -y once again will not harm. Also, how soon do you check the box to see how much space/free inodes it has after receiving a filesystem full error? Are we talking I checked it 4-5 hours later, or I checked it 30 seconds after? I checked it several minutes after. Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Disabling boot messages
On Wed, Nov 12, 2008 at 06:40:29PM +0800, Fbsd1 wrote: Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go from powering on the PC directly to the Gdm login screen. Don't want the users seeing all those boot message roll by. Can this be done? It can - see the FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#INSTALL-SPLASH Dan -- Daniel Bye Remember that this only Works on i386, on amd64 it will not work Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.2/1782 - Release Date: 11-11-2008 19:32 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
On Wed, Nov 12, 2008 at 03:34:11PM +0300, Varshavchick Alexander wrote: I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. There is a FAQ, numerous questions threads and several articles in online publications on this issue. I am sure you can easily find them with some basic searching. Most of the problems/confusions come from two places. The first is that an amount - normally 8% - is held out for root. The second is processes that open/create a file to write and then delink it but do not release it and continue to write to it. It doesn't show up, but is still taking space. The processes do this so if they get killed, the space is automatically released. jerry Thanks and regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 - filesystem full
I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. Thanks and regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tool to recover fat partition
So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)? Thanks for you help :) Regards -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
Hello, I would like to see the release schedules updated more and I would guess that others would too. But, there is only so much you can expect out of volunteers already robbing time from their paying jobs. I'd be happy to contribute by updating the website provided I am kept informed about the releases by the engineers. If FBSD team is interested, I here to help. Contact me offline, please. I feel I need to give at least something back to the community for this excellent project. -- Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Server Freezing Solid
On Behalf Of Steve Bertrand Michael Powell wrote: Chris Maness wrote: [snip] For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. Should always put a drier on a compressor. You'll learn the hard way if you invest in pneumatic tools; you will kill them if you don't. ...but...how can I convince my wife that I need new tools when my existing ones last forever? Well, if you actually used them once in a while, and even did something she found useful, they wouldn't last so long and she wouldn't complain so loudly (B^). Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Desktop image of Beastie
On Wed, Nov 12, 2008 at 11:53 AM, Fbsd1 [EMAIL PROTECTED] wrote: I picked up this attached jpg of beastie over 10 years ago. Tried using it for a gdm logon screen background, but it's really light. Does any one know where i can get a darker version of the image? Or if you have a beastie background image you would care to share. I sure appreciate you help. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Your attachment didn't make it through the list, but these resources might help: http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/BSD_daemon/ http://www.freebsd.org/art.html#BSD-DAEMON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xauth failure when tunneling over ssh
On Wednesday 12 November 2008 15:51:42 Elliot Isaacson wrote: #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no Shouldn't PermitTunnel be set to yes ? Thanks for the suggestion. PermitTunnel has something to do with using a specific software network loopback device, tun(4). I don't think it has anything to do with forwarding traffic, X11 or otherwise, through an ssh tunnel. Just to be sure I tried switching that on, but it didn't seem to help. This is a reiteration of the problem so no one has to sift though the archives to find it: $ xhost + $ ssh -Y 192.ip.of.freebsdserver Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/local/bin/xauth: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tool to recover fat partition
Gonzalo Nemmi wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)? Thanks for you help :) Regards Ouch, feel your pain. I've used sysutils/ddrescue for recovery from a FAT partition, but I'm not at all sure if it will help in your situation. Kevin Kinsey -- Seems this guy showed up at a party, and all of his friends jumped for Joy. But she sidestepped, and they missed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
Le Wednesday 12 November 2008, Varshavchick Alexander a écrit : I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. Hello, I saw a full disk because of a runaway background fsck : bg_fsck built some image of the disk in the top-level .snap directory, which grew and grew and grew the workaround was to reboot in single-user, then fsck in foreground, and finally switch to Zfs (but obviously, only for a Releng7 machine) TfH Thanks and regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
virtualbox networking setup
I'm new to the group, and I'm new to setting up VirtualBox guest hosts. right now I have a Debian linux box, and I setup Virtual box. I installed FreeBSD on it, but I can't seem to get the networking to work. I tried to rerun sysinstall, but I'm not sure what options to change or why it isn't working. I have the command line terminal window up, but in the virtualbox window, I cannot copy past to here, so I can't paste the ifconfig info.. it does say inet 0.0.0.0, but it does say UP, BROADCASTING... I looked at the usermanual, but I didn't see anything about actually setting up the network, using DHCP... I hae a home network, with a router, gateway 192.168.10.1, and my desktop is in that subnet 192.168.10.x not sure what to do now... thanks, I grew up with ATT UNIX SYS V, but it's been a few years:) -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
Hi, What kind of applications are you running on the machine ? Are they mmap'ing files on the filesystem in quesiton (which one ?) ? AFAIR even if you delete a big file the disk space may not be reclaimed if a process still has the file open. If you reboot the machine or restart some of the applications, does the issue disappear ? Regards, Adrian. On Wed, Nov 12, 2008 at 1:05 PM, Varshavchick Alexander [EMAIL PROTECTED] wrote: I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. Thanks and regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: virtualbox networking setup
Paul Cartwright wrote: I'm new to the group, and I'm new to setting up VirtualBox guest hosts. right now I have a Debian linux box, and I setup Virtual box. I installed FreeBSD on it, but I can't seem to get the networking to work. I tried to rerun sysinstall, but I'm not sure what options to change or why it isn't working. I have the command line terminal window up, but in the virtualbox window, I cannot copy past to here, so I can't paste the ifconfig info.. it does say inet 0.0.0.0, but it does say UP, BROADCASTING... I looked at the usermanual, but I didn't see anything about actually setting up the network, using DHCP... I hae a home network, with a router, gateway 192.168.10.1, and my desktop is in that subnet 192.168.10.x not sure what to do now... thanks, I grew up with ATT UNIX SYS V, but it's been a few years:) Don't know about Debian, and I haven't actually tried FreeBSD as a guest in VirtualBox, but have used it for other things. The default install of vbox sets up a logical NAT/DHCP server internally, so all you would do is use vi to put something like ifconfig_rl0=DHCP in your /etc/rc.conf. Substitute the according vbox interface. When you configure your new VM in the OSE the default NIC type will be PCnet-FAST III (Am79C973) in vbox 2.0.4. This is supported by the pcn driver so your line would be ifconfig_pcn0=DHCP. IF you get the interface to come up examine it with ifconfig -a. I believe vbox settles for a 10.0.2.0/24 network, but YMMV. You may need to play around with defaultrouter=something and name services in resolv.conf or fiddle with dhclient.conf. The best is to ensure that dhclient.conf is pulling the info from DHCP rather than trying to manually stuff numbers in places. Also, if the pcn driver doesn't seem to want to play and if you are using VirtualBox 2.0.4 there are 2 Intel Nics you can try (not sure if they are Windows exclusive, or not - will find out in the next few days as I plan on trying Nexenta this way) instead which are supported by the em driver (ifconfig_em0=DHCP). This just has to match whatever you set up in the VM. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
On Wed, 2008-11-12 at 19:39 +0100, VeeJay wrote: Hi Brian Thanks. I sent the attachment but FreeBSD List would not allow me to First order of business is to _not_ send it as a BMP. Use PNG instead, and post the URL and not the actual file: http://digitalfreaks.org/~lavalamp/20081023_server3_screen_dump.png --- Second order of business: Unexpected sense code on a PD (Physical Disk) suggests that one of your disks is bad / becoming bad. Check the enclosure -- likely it is flashing. Install MegaCli from ports, if you can. You can always reboot and use the BIOS menu to check the event log. If its not a bad disk, then something bizarre is happening. We'll want to know what firmware revision you're running on the controller, and on the disks (Dell disk firmware updates run from DOS) ~~BAS send email of more than 200K in size. So, here it is... I hope you can figure out how to solve this issue... With best wishes VJ On Wed, Nov 12, 2008 at 4:25 PM, Brian A. Seklecki [EMAIL PROTECTED] wrote: On Wed, 2008-11-12 at 16:01 +0100, VeeJay wrote: There seemed to be a problem related to RAID controller on one server. Screw Dell's diagnostics tools. Those are there to help psychology majors who got their MCSE and RHCE after they realized that all you can do with a psychology degree is teach psychology or serve coffee. Send us your screenshot. Nothing was attached. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. -- Thanks! BR / vj -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xauth failure when tunneling over ssh
On Wednesday 12 November 2008 18:20:00 Elliot Isaacson wrote: On Wednesday 12 November 2008 15:51:42 Elliot Isaacson wrote: #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no Shouldn't PermitTunnel be set to yes ? Thanks for the suggestion. PermitTunnel has something to do with using a specific software network loopback device, tun(4). I don't think it has anything to do with forwarding traffic, X11 or otherwise, through an ssh tunnel. Just to be sure I tried switching that on, but it didn't seem to help. This is a reiteration of the problem so no one has to sift though the archives to find it: $ xhost + $ ssh -Y 192.ip.of.freebsdserver Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/local/bin/xauth: and try 'ssh -X' instead of 'ssh -Y' I use 'ssh -X' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
On Wednesday 12 November 2008 14:01:47 Roland Smith wrote: On Wed, Nov 12, 2008 at 12:59:24PM +0200, Jonathan McKeown wrote: I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? Two words: volunteer project Oh, I fully understand that, which is why I also asked whether there's anything I can do to help, with my meagre abilities and resources. This wasn't intended to demean the efforts of the release team at all; it was more a plea for better communication when delays start to accumulate. I would propose to do away with the release schedule altogether, or make it very succinct; next release: when it's done. Yes - but is it not possible to estimate (and as a long-suffering sysadmin, I know I'm on shaky ground here after some of the estimated schedules I've given my management and my users!) roughly how far off we are? Even the old todo list on the website offered some guide. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Release schedules
On Wed, Nov 12, 2008 at 12:59:24PM +0200, Jonathan McKeown wrote: I've been biting my tongue about this because I'm not sure that I can offer any help or useful suggestions, but here goes... What on earth is going on with release scheduling? Two words: volunteer project I would propose to do away with the release schedule altogether, or make it very succinct; next release: when it's done. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpeBzx3L5eIM.pgp Description: PGP signature
Re: tool to recover fat partition
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi [EMAIL PROTECTED] wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)? Thanks for you help :) It seems my problems can at least be helpful to someone else. :-) There are many good tools for recovering data from MSDOS partitions, but you'll have to check which one serves your particular needs best, depending on the amount of damage done to the file system. From the ports, there's magicrescue in the first place for file recovery. To scan and repair disk partitions, you can use testdisk. If everything else fails, go use the basics: The Sleuth Kit with its dls, dls or ils tools. There's helpful documentation installed that gives informations not mentioned in the manpages. I would recommend you do first do a dd copy of the drive, just in order to do no harm to the partition where your important files are located. Then, do all operations on the dd image, it's mich more safe. If dd is not possible, use dd_rescue or ddrescue. For most operations, it's good to use mdconfig to put the dd file onto a md device which is then used by the particular program. I can imagine how you feel about data loss, so good luck! -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk top usage PIDs
On Tue, Nov 4, 2008 at 8:47 AM, Adam McDougall [EMAIL PROTECTED] wrote: Eduardo Meyer wrote: Hello, I have some serious issue. Sometimes something happens and my disk usage performance find its limit quickly. I follow with gstat and iostat -xw1, and everything usually happens just fine, with %b around 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending requests and %b is always on 100% (or more than this). fstat and lsof gives me no hint, because the type of programs as well as the amount of 'em is just the same. How can I find the PID which is hammering my disk? Is there an iotop or disktop tool or something alike? Its a mail server. I have pop3, imap, I also have maildrop and sometimes, httpd, working around the busiest mount point. I have also started AUDIT, however all I can get are the top PIDs which issue read/write requests. Not the requests which take longer to perform (the busiest ones), or should I look for some special audit class or event other than open, read and write? Thank you in advance. top -mio ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] I learn something new everyday on this list...! -- Brent Jones [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root /etc/csh
On Wed, 12 Nov 2008 08:06:16 +0100 Polytropon [EMAIL PROTECTED] wrote: Especially in Linux, it's common to prefix scripts with #!/bin/bash which won't work in FreeBSD, because it's #/usr/local/bin/bash there. Linux has no problem running #!/bin/sh scripts because there's a symlink /bin/sh - /bin/bash. My advice for maximum interoperability and compatibility between Linux and UNIX: If you're not using any bash specific techniques in your scripts, start them with #!/bin/sh instead of #!/bin/bash. The sh shell is the UNIX standard scripting shell, while Linux's one is bash. I usually just use: #!/usr/bin/env bash It seems to work on both Linux and FBSD. -- Jerry [EMAIL PROTECTED] His life was formal; his actions seemed ruled with a ruler. signature.asc Description: PGP signature
Re: Server Freezing Solid
Ted Mittelstaedt wrote: I atually bought a small portable compressor (designed for running a nailgun, basically) for this purpose. $80 at Harbor Freight for a new one, you can get them cheaper used. The canned air is really expensive, you end up using a half a can on a PC. If you do the compressor, make sure you put a regulator on your blow gun: 80-120 psi of air coming out of a blowgun is capabable of blowing components off the circuit boards along with the dust. The compressor is also very useful for blowing out the air conditioner coils every year, as well as the refrigerator coils on the refrigerator. Doing just this will pay for the compressor in a few years in energy savings. The compressor suggestion is a great idea Ted. I would like to point out that there is usually a considerable amount of moisture that condenses as the air is being compressed into the tank. For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. The compressor also makes it quite a bit more convenient for topping up your vehicles tire air pressure (you know you don't do this regularly enough ;) Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xauth failure when tunneling over ssh
On Wednesday 12 November 2008 18:20:00 Elliot Isaacson wrote: On Wednesday 12 November 2008 15:51:42 Elliot Isaacson wrote: #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no Shouldn't PermitTunnel be set to yes ? Thanks for the suggestion. PermitTunnel has something to do with using a specific software network loopback device, tun(4). I don't think it has anything to do with forwarding traffic, X11 or otherwise, through an ssh tunnel. Just to be sure I tried switching that on, but it didn't seem to help. This is a reiteration of the problem so no one has to sift though the archives to find it: $ xhost + $ ssh -Y 192.ip.of.freebsdserver Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/local/bin/xauth: In case you have not done so, you should also check /etc/ssh/ssh_config on the client machines. I had to add something like this on my client machine which is Linux: Host localhost HostName 127.0.0.1 ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes PubkeyAuthentication yes PasswordAuthentication yes Protocol 2 Host * ForwardAgent no ForwardX11 no ForwardX11Trusted yes XAuthLocation /usr/bin/xauth If you are using gdm on the server, you might try shutting that down for testing. I seem to recall having to modify some setting in gdm that had to do with xauth. I did not make a note of what I did though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Video Drivers for Parallels
Guys, I am trying to get X running on Parallel 3.0 on MacOSX, when I set up VESA 24bit 1024x768, it doesn't load. I can do 16bit but it is wash out. Does anyone know what I need to do to get X running. Thanks, Payne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is chflags' nodump + sunlnk = uchg
Hi all, Title is the question actually: Is chflags' nodump + sunlnk = uchg Thanks, Charles ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
Varshavchick Alexander wrote: I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later. What can it be and where to look? The server runs mainly apache and sendmail, nothing special. I vaguely remember that there was an issue with softupdates that didn't report blocks as free until the filesystem was synced, and with intense disk activity the filesystem was not syncing by itself often enough. -SB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.4 - filesystem full
I would start by taking the machine down, booting it into single-user, and running fsck -y. background fsck does not catch all errors. Okay then, are there any ways of performing it remotely, without my going to the data center and standing near the server for an hour while it checks? I mean are there any civil ways, or only running reboot -qn and praying? :) Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)718-3322, 718-3115(fax) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
On Wed, Nov 12, 2008 at 11:05:44AM +0100, VeeJay wrote: Hello Guys I am in a situation here. I am running couple of Dell 2950 Servers with FreeBSD 7.0 amd. There seemed to be a problem related to RAID controller on one server. From Dell support, I was told to download a troubleshooting tool called DSET. ( http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool?c=usl=ens=gen ) But that is for Linux distributions. So, I am just in middle of no where :( Could you guys guide me that how to install and run this tool on my server in order to diagnose problem? This question should have gone to -hardware or -stable. It depends on what RAID controller is installed in the box, and what problem you're actually having (There seemed to be a problem with the RAID controller tells us nothing). I believe others have some experience with PERC controllers, but as I said, we don't know what hardware you have. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xauth failure when tunneling over ssh
On Wednesday 12 November 2008 18:58:18 Pollywog wrote: On Wednesday 12 November 2008 18:20:00 Elliot Isaacson wrote: On Wednesday 12 November 2008 15:51:42 Elliot Isaacson wrote: #UsePAM yes #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding yes #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes #PrintLastLog yes #TCPKeepAlive yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 #PermitTunnel no Shouldn't PermitTunnel be set to yes ? Thanks for the suggestion. PermitTunnel has something to do with using a specific software network loopback device, tun(4). I don't think it has anything to do with forwarding traffic, X11 or otherwise, through an ssh tunnel. Just to be sure I tried switching that on, but it didn't seem to help. This is a reiteration of the problem so no one has to sift though the archives to find it: $ xhost + $ ssh -Y 192.ip.of.freebsdserver Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/local/bin/xauth: In case you have not done so, you should also check /etc/ssh/ssh_config on the client machines. I had to add something like this on my client machine which is Linux: Host localhost HostName 127.0.0.1 ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes PubkeyAuthentication yes PasswordAuthentication yes Protocol 2 Host * ForwardAgent no ForwardX11 no ForwardX11Trusted yes XAuthLocation /usr/bin/xauth If you are using gdm on the server, you might try shutting that down for testing. I seem to recall having to modify some setting in gdm that had to do with xauth. I did not make a note of what I did though. If you run gdm on the server: I checked one of my boxes which runs Linux and I have this in /etc/gdm/gdm.conf UserAuthFBDir=/tmp UserAuthFile=.Xauthority I don't believe this was set by default, I believe it was commented out on my FreeBSD box and it was causing problems until I uncommented the two lines. You might try running 'ssh -vv hostname' when connecting from the command line if you have not tried that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tool to recover fat partition
no idea. there are tools if your data was only jpeg images - ports/graphics/recoverjpeg but there are such tools for DOS and windoze. you may use qemu to run them On Wed, 12 Nov 2008, Gonzalo Nemmi wrote: So ... newfs_msdos /dev/insert_typo_in_here .. new filesystem succesfully created ... lost partition on the wrong drive ... Is there a tool to recover the files on said partition in FreeBSD (7 release)? Thanks for you help :) Regards -- Blessings Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Release schedules
Now, some day we may be more fortunate, like Linux where Linus and several others are each being paid by some company or consortium just to EVERY good free software magically turns into crap when it gets heavy financing. for OSes i don't know any exceptions... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dlsym can't use handle returned by dlopen?
Hi, FreeBSD yeti.mininet 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Mon Aug 28 22:24:48 CEST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/YETI i386 I'm trying to do the following: libdbi (http://libdbi.sourceforge.net) is a database abstraction layer which is linked as a shared object into applications. The libdbi library uses dlopen() to load database drivers which in turn are linked against database client libraries. Now I want to access functions defined in the database client library from within the libdbi library. In brief, I thought this is going to work like this: dlhandle = dlopen(path, RTLD_NOW); ... function_pointer = dlsym(dlhandle, function_name); dlhandle is not NULL and does not crash the app when passed to dlclose(), so I assume the handle is valid. Accessing the functions does work on most systems (Linux, OSX, Cygwin, to name a few), but I get Undefined symbol errors on FreeBSD. Interestingly, the following does work: function_pointer = dlsym(RTLD_DEFAULT, function_name); Why is that? Or rather: what am I doing wrong? Any help is appreciated. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with mhoenicka) http://www.mhoenicka.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tool to recover fat partition
Wojciech Puchar wrote: no idea. there are tools if your data was only jpeg images - ports/graphics/recoverjpeg but there are such tools for DOS and windoze. you may use qemu to run them Maybe you can reconstruct the partition with forensics software like sleuthkit (in ports) or helix3 (http://www.e-fense.com/helix/) Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dlsym can't use handle returned by dlopen?
On Thu, Nov 13, 2008 at 12:59:27AM +0100, Markus Hoenicka wrote: FreeBSD yeti.mininet 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Mon Aug 28 22:24:48 CEST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/YETI i386 I'm trying to do the following: libdbi (http://libdbi.sourceforge.net) is a database abstraction layer which is linked as a shared object into applications. The libdbi library uses dlopen() to load database drivers which in turn are linked against database client libraries. Now I want to access functions defined in the database client library from within the libdbi library. In brief, I thought this is going to work like this: dlhandle = dlopen(path, RTLD_NOW); ... function_pointer = dlsym(dlhandle, function_name); dlhandle is not NULL and does not crash the app when passed to dlclose(), so I assume the handle is valid. Accessing the functions does work on most systems (Linux, OSX, Cygwin, to name a few), but I get Undefined symbol errors on FreeBSD. Interestingly, the following does work: I've personally used dlopen() and dlsym(), and they do work as documented (my original goal with bsdhwmon was to keep each chip in a separate .so. It worked, but added complexities of the program nature itself kept me from using it at the time). I tested this on both i386 and amd64. I know that the .so's you're loading with dlopen() need to be built a specific way/with certain arguments, otherwise they won't work (I believe what I saw was dlsym() returning NULL). My symbol names were getting stomped on, and there was a compiler flag that addressed that. I can go back and write code that does all of this if you'd like, but my point is that they do work. function_pointer = dlsym(RTLD_DEFAULT, function_name); Why is that? Or rather: what am I doing wrong? This code right here is *completely* wrong. RTLD_DEFAULT is a mode bit for dlopen(). I'm willing to bet a strict set of warnings would catch this. Try building your application with: -g3 -ggdb -Werror -Wall -Wunused -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wdisabled-optimization -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-arith -Wredundant-decls -Wsign-compare -Wstrict-prototypes -Wunreachable-code -Wwrite-strings And see what appears. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Permission Denied for find command; No idea why
Hey. I've been writing a set of sh backup scripts over the past few days. I'm having some trouble with the final thing with them. This is the command that is being run by the www user via cron: /usr/bin/find /usr/local/backups/ -ctime +7d -type f -not -name *daily_backup* -ls (Eventually, I'm going to change the -ls to -delete) This is the ls -al of /usr/local/backups: drwxrwx--- 2 www wheel512 Nov 13 04:29 . drwxr-xr-x 15 root wheel512 Nov 12 20:24 .. -rw--- 1 www wheel 22250785 Nov 13 04:18 2008-11-13.mysql-main.sql -rw--- 1 www wheel 124781 Nov 13 04:18 2008-11-13.mysql-staffwiki.sql -rw--- 1 www wheel 674306 Nov 13 04:18 2008-11-13.mysql-wiki.sql -rw--- 1 www wheel 111845376 Nov 13 04:18 2008-11-13.www.tar -r-xrw 1 www wheel 8109 Nov 13 04:16 daily_backup.sh For some reason, the find command above is getting a permission denied. And, again, the find command is being run by the www user, who owns the files and dir. The exact message is: find: .: Permission denied The find permissions: -r-xr-xr-x 1 root wheel 36800 Oct 23 01:17 /usr/bin/find Also, all dirs above /usr/local/backups (/usr and /usr/local) are +x for the other user, so the www should be able to enter them: drwxr-xr-x 17 root wheel 512 Nov 12 20:38 usr drwxr-xr-x 15 root wheel 512 Nov 12 20:24 local Does anyone have any idea what's causing this permission denied error? Obviously it's some sort of permissions problem, but I have no idea where or what exactly it is. It's driving me crazy. Thanks a lot in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Permission Denied for find command; No idea why
On Thu, Nov 13, 2008 at 12:16:24AM -0500, APseudoUtopia wrote: Hey. I've been writing a set of sh backup scripts over the past few days. I'm having some trouble with the final thing with them. This is the command that is being run by the www user via cron: /usr/bin/find /usr/local/backups/ -ctime +7d -type f -not -name *daily_backup* -ls (Eventually, I'm going to change the -ls to -delete) This is the ls -al of /usr/local/backups: drwxrwx--- 2 www wheel512 Nov 13 04:29 . drwxr-xr-x 15 root wheel512 Nov 12 20:24 .. -rw--- 1 www wheel 22250785 Nov 13 04:18 2008-11-13.mysql-main.sql -rw--- 1 www wheel 124781 Nov 13 04:18 2008-11-13.mysql-staffwiki.sql -rw--- 1 www wheel 674306 Nov 13 04:18 2008-11-13.mysql-wiki.sql -rw--- 1 www wheel 111845376 Nov 13 04:18 2008-11-13.www.tar -r-xrw 1 www wheel 8109 Nov 13 04:16 daily_backup.sh For some reason, the find command above is getting a permission denied. And, again, the find command is being run by the www user, who owns the files and dir. The exact message is: find: .: Permission denied The find permissions: -r-xr-xr-x 1 root wheel 36800 Oct 23 01:17 /usr/bin/find Also, all dirs above /usr/local/backups (/usr and /usr/local) are +x for the other user, so the www should be able to enter them: drwxr-xr-x 17 root wheel 512 Nov 12 20:38 usr drwxr-xr-x 15 root wheel 512 Nov 12 20:24 local Does anyone have any idea what's causing this permission denied error? Obviously it's some sort of permissions problem, but I have no idea where or what exactly it is. It's driving me crazy. find: .: Permission denied would only be returned, AFAIK, if you were doing find . someflags, which your find example above does not show. Example: $ id uid=1000(jdc) gid=1000(users) groups=1000(users),0(wheel),20(staff),1002(wwwsite),1501(storage) $ ls -ld /var/heimdal drwx--2 root wheel 512 14 Oct 13:21 /var/heimdal/ $ find /var/heimdal -print /var/heimdal find: /var/heimdal: Permission denied $ $ find /var/db -type d -print 1 /dev/null find: /var/db/entropy: Permission denied find: /var/db/ipf: Permission denied find: /var/db/postfix: Permission denied $ ls -ld /var/db/entropy /var/db/ipf /var/db/postfix drwx--2 operator operator 512 12 Nov 21:22 /var/db/entropy/ drwx--2 root wheel 512 14 Oct 13:21 /var/db/ipf/ drwx--2 postfix wheel 512 6 Nov 04:16 /var/db/postfix/ -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
On Thu, Nov 13, 2008 at 12:20 AM, Sérgio de Almeida Lenzi [EMAIL PROTECTED]wrote: Hello snip the best configuration I used is to use RAID-0 (no raid) on the controller and g mirror on the FreeBSD (that is I use the mirror in software) mainly because the Freebsd kernel is, in this manner, can detect problems with the drivers and so, can act on it snip Do not use RAID-0! What you want is JBOD and freebsd's software raid. RAID-0 does striping over both drives...if one drive is dead you're screwed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any help about FreeBSD Dell's Troubleshooting Tool DSET
On Thu, Nov 13, 2008 at 01:43:46PM +0800, TJ Varghese wrote: On Thu, Nov 13, 2008 at 12:20 AM, Sérgio de Almeida Lenzi [EMAIL PROTECTED]wrote: Hello snip the best configuration I used is to use RAID-0 (no raid) on the controller and g mirror on the FreeBSD (that is I use the mirror in software) mainly because the Freebsd kernel is, in this manner, can detect problems with the drivers and so, can act on it snip Do not use RAID-0! What you want is JBOD and freebsd's software raid. RAID-0 does striping over both drives...if one drive is dead you're screwed. There is nothing inherently wrong with RAID-0. For example, prior to having a machine that supported more than 3 disks, I used gstripe(8) heavily on my home FreeBSD box. I was **very** well-aware of the negative aspects of RAID-0 (one disk dies, you lose the entire filesystem). Which is why I performed backups. Daily. My point: RAID-0 is fine to use, as long as you're doing backups often, and accept what will happen if one of your disks goes bad. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Server Freezing Solid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael Powell Sent: Wednesday, November 12, 2008 8:26 AM To: freebsd-questions@freebsd.org Subject: Re: Server Freezing Solid Chris Maness wrote: [snip] For this reason, I'd advise that either you leave the PC unplugged for 10 minutes or so after you've cleaned it to let any residual moisture dry, or purchase an inline water filter. Should always put a drier on a compressor. You'll learn the hard way if you invest in pneumatic tools; you will kill them if you don't. Really high quality pneumatic tools (industrial grade) can be completely disassembled, cleaned, and repaired. The consumer grade stuff usually can't. In large shops, the usual procedure is to distribute the air with really long runs of pipe and put water traps at the end - that's probably what your thinking of with a drier. The traps fill up and every once in a while you open their petcocks and they pee old sock-smelling water out on your shoes. With a small pancake compressor it is generally satisfactory to run it without a drier, and at the end of the day, pour a couple teaspoons of air tool oil into the tool air intake then reconnnect the airline and give it a puff to distribute the oil. [snip] I ran into a couple of post stating that the Abit VP6 had issues with components that fail. This seems to have happened. The old 1U box I switched the hardrive to yesterday is working flawlessly. However, this machine is a little on the underpowered side. Without actually checking, if memory serves there were a number of products from that time frame that used inferior electrolytic filter caps. You can The story I read was that the Chinese companies decided to get into making electrolytic caps a number of years ago. They sent spies into the Japanese companies to steal the electrolyte formula. Unknown to them the Japanese had anticipated this and so each batch of electrolyte was secretly treated with a stabilizer chemical that only the top chemists in the company knew about. The production chemists were unaware of it. When the Chinese firms stole the electrolytic formula, they produced caps that lacked this stabilizer. The result was the electrolyte broke down and the cap split. I don't know if it's a true story or not, but it sounded good! Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]