X session over LAN errors
Hi, I am trying to open an X session over a LAN, the connection via ssh works fine however I get an error message when I try to open an X application on the remote machine debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: Requesting X11 forwarding with authentication spoofing. Last login: Wed Nov 5 10:29:41 2008 from 192.168.0.6 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006 Welcome to NetBSD! $ xclock -d debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 65447 debug1: channel 1: new [x11] debug1: confirm x11 X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 55 (X_CreateGC) Resource id in failed request: 0x5c Serial number of failed request: 1 Current serial number in output stream: 3 debug1: channel 1: FORCE input drain debug1: channel 1: free: x11, nchannels 2 The client machine, 192.168.0.6 has the following version of X installed X -version X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.2-RELEASE i386 Current Operating System: FreeBSD localhost 6.3-STABLE FreeBSD 6.3-STABLE #0: Sun Aug 24 09:27:22 EST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNELIPFW i386 Build Date: 01 April 2008 04:41:15PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present The server machine, 192.168.0.3 has this installed $ X -version XFree86 Version 4.5.0 Release Date: 16 March 2005 X Protocol Version 11, Revision 0 Build Operating System:NetBSD/i386 3.0.1 - The NetBSD Foundation, Inc. Current Operating System: NetBSD paxpc1.localhost.net 3.0.1 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006 [EMAIL PROTECTED]:/home/builds/ab/netbsd-3-0-1-RELEASE/i386/200607131826Z-obj/home/builds/ab/netbsd-3-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386 Build Date: 13 July 2006 Before reporting problems, check http://www.XFree86.Org/ to make sure that you have the latest version. Module Loader present Command line: X -version Searching the error messages was not very helpful, it seemed like X could give out these messages for quite a number of reasons none of the available posts seemed to fit my problem. My windows manager is xmonad-0.7_2 Any clues? Thanks in advance, Alasdair pgp2bkL415w1D.pgp Description: PGP signature
Re: updating from 6.3 to 7, mirror problems
>-- Original Message -- >Date: Sun, 2 Nov 2008 19:37:29 -0500 >From: "matt donovan" <[EMAIL PROTECTED]> >To: "andrew clarke" <[EMAIL PROTECTED]> >Subject: Re: updating from 6.3 to 7, mirror problems >Cc: [EMAIL PROTECTED], freebsd-questions@freebsd.org > > >On Sun, Nov 2, 2008 at 11:37 AM, andrew clarke <[EMAIL PROTECTED]> wrote: > >> On Fri 2008-10-31 08:11:49 UTC+1100, [EMAIL PROTECTED] ( >> [EMAIL PROTECTED]) wrote: >> >> > localhost# /usr/sbin/freebsd-update --debug fetch >> > Looking up update1.FreeBSD.org mirrors... none found. >> > Fetching public key from update1.FreeBSD.org... >> > fetch: http://update1.FreeBSD.org/6.3-STABLE/i386/pub.ssl: Not Found >> >> Ah, this is not a DNS problem. >> >> You are trying to run freebsd-update from 6.3-STABLE. This isn't >> supported. From the freebsd-update(8) manpage: >> >> "The FreeBSD Security Team only builds updates for releases shipped in >> binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD >> 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD >> 7.0-CURRENT." >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> [EMAIL PROTECTED]" >> > >yeah I should have noticed the 6.3-STABLE but I did not Ok I see. How do I update from 6.3 STABLE to 7.0 STABLE ? I imagine there is a tool for that? Short of down loading the iso files and doing it from discs. Thanks for your patience!! Regards, Alasdair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updating from 6.3 to 7, mirror problems
>-- Original Message -- >Date: Thu, 30 Oct 2008 18:39:23 -0400 >From: "matt donovan" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Cc: andrew clarke <[EMAIL PROTECTED]>, freebsd-questions@freebsd.org >Subject: Re: updating from 6.3 to 7, mirror problems > > >does your DNS support SV lookups they are actually putting in some A records >for a work around for people with "broken" DNS. >___ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "[EMAIL PROTECTED]" What is SV lookup and how do I check this, any particular man page or resource? Where (or how) is my DNS likely to be "broken"? Thanks, Alasdair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: updating from 6.3 to 7, mirror problems
>-- Original Message -- >Date: Fri, 31 Oct 2008 01:33:27 +1100 >From: andrew clarke <[EMAIL PROTECTED]> >To: Alasdair Reed <[EMAIL PROTECTED]> >Cc: freebsd-questions@freebsd.org >Subject: Re: updating from 6.3 to 7, mirror problems > > >On 6.3 you should be using /usr/sbin/freebsd-update. Can you ping >update1.freebsd.org? > >$ ping -c 5 update1.FreeBSD.org >PING update1.FreeBSD.org (72.21.59.252): 56 data bytes >64 bytes from 72.21.59.252: icmp_seq=0 ttl=48 time=233.185 ms >64 bytes from 72.21.59.252: icmp_seq=1 ttl=48 time=233.034 ms >64 bytes from 72.21.59.252: icmp_seq=2 ttl=48 time=233.655 ms >64 bytes from 72.21.59.252: icmp_seq=3 ttl=48 time=234.310 ms >64 bytes from 72.21.59.252: icmp_seq=4 ttl=48 time=233.445 ms > >--- update1.FreeBSD.org ping statistics --- >5 packets transmitted, 5 packets received, 0% packet loss >round-trip min/avg/max/stddev = 233.034/233.526/234.310/0.446 ms > >You might also like to try the --debug switch: > >$ sudo /usr/sbin/freebsd-update --debug fetch >Looking up update.FreeBSD.org mirrors... 1 mirrors found. >Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... >latest.ssl100% of 512 B 582 kBps >done. >Fetching metadata index... >344cfb64472cacb781688b5de744795f140233e84105c4100% of 225 B 234 kBps >done. >Inspecting system... done. >Preparing to download files... done. > >No updates needed to update system to 6.3-RELEASE-p5. Hi Andrew, Tried the above, results as follows: Ping ok %ping -c 5 update1.FreeBSD.org PING update1.FreeBSD.org (72.21.59.252): 56 data bytes 64 bytes from 72.21.59.252: icmp_seq=0 ttl=48 time=240.401 ms 64 bytes from 72.21.59.252: icmp_seq=1 ttl=48 time=240.708 ms 64 bytes from 72.21.59.252: icmp_seq=2 ttl=48 time=240.799 ms 64 bytes from 72.21.59.252: icmp_seq=3 ttl=48 time=240.364 ms 64 bytes from 72.21.59.252: icmp_seq=4 ttl=48 time=240.946 ms No luck with using freebsd-update localhost# /usr/sbin/freebsd-update --debug fetch Looking up update1.FreeBSD.org mirrors... none found. Fetching public key from update1.FreeBSD.org... fetch: http://update1.FreeBSD.org/6.3-STABLE/i386/pub.ssl: Not Found failed. No mirrors remaining, giving up. Any work arounds or other possibilities? Is there any diagnostics to run that might clarify things? Regards, Alasdair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
updating from 6.3 to 7, mirror problems
I have been trying to update my system remotely using freebsd-update.sh . I receive this error message; Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. I checked all the suggested solutions, my resolv.conf is pointing to my ISP's nameservers, I even tried pointing to other public name servers, but the same result.Changing "Server Name" to "update1.FreeBSD.org" did nothing either. What causes the failure to retrieve the key? Is there any other way of updating that does not involve downloading the iso files and burning to CD ? Thanks in advance. Regards, Alasdair pgpfDTuGVRBnc.pgp Description: PGP signature
problem with" freebsd-update-upgrade.tgz.asc"
Hi, I have downloaded the above script from http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html Installed gpg all set up ok AFAICT. put the freebsd security officer's public key on my gpg keyring . Used the following command to verify the file: localhost# gpg --verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz gpg: can't open signed data `freebsd-update-upgrade.tgz' gpg: can't hash datafile: No such file or directory localhost# AFAICT the public key is ok pub 1024D/CA6CDFB2 2002-08-27 uid FreeBSD Security Officer <[EMAIL PROTECTED]> sub 2048g/A3071809 2002-08-27 Apart from the fact that the file could be dodgy (?) What could be the problem? Have I used the wrong key? I imagine the error msg would be different if that was the case. Thanks, Alasdair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Open office won't open files Error: GObject-CRITICAL......
Hi, am having a problem with OpenOffice2.4.0, it will not open any files. It just hangs when trying to open from the open file menu. I get the following error message on the terminal that OO was opened in (process:1882): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_i nit() prior to this function (process:1882): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:1882): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed I dont use gnome or kde. My window manager is xmonad. I am running FreeBSD 6.3 . I have Googled the error message and cut down versions of it with no result. Any help most appreciated. Regards, Alasdair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to access certain sites from FreeBSD 6.2 (solved)
Hi Norberto, It is solved but quite simply! But through no skill of mine. Installed tcpmssd, man page said to re-configure the kernel before diversion can be done. So I added this to the GENERIC config file: options IPFIREWALL options IPDIVERT options IPV6FIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPV6FIREWALL_VERBOSE Verbose just for curiosity!! Compiled as per handbook. Didn't even configure tcpmssd. Just thought I would check to see if sites opened ok. They did, but don't know why. Would be great to know. Unless they just shutdown the bodgy router for a Sunday rebuild. Will post if situation reverts. Your experience put me on the right track,thanks now happily I can use FreeBSD as my main OS. Regards, Alasdair >-- Original Message -- >Date: Sun, 24 Aug 2008 21:30:18 +1000 >From: Norberto Meijome <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Unable to access certain sites from FreeBSD 6.2 > > >On Fri, 22 Aug 2008 23:12:01 +1000 >[EMAIL PROTECTED] wrote: > >> Makes sense to do it the other way round. If I could indulge your generosity >> and knowledge, one thing is puzzling me, why do I not have this problem >when >> I am running Win XP on the same machine (dual boot with FreeBSD) using >all >> the same hardware. > >Hey Alasdair, >I'm sorry i have to say that i don't know...i don't even know if it IS the >same >problem. When we experienced the issue, it was definitely affecting winxp >workstations, which were behind the fbsd firewall (4.x at the time). > >has it solved the issue? >B >_ >{Beto|Norberto|Numard} Meijome > >"Produce great people, the rest will follow." > Elbert Hubbard > >I speak for myself, not my employer. Contents may be hot. Slippery when wet. >Reading disclaimers makes you go blind. Writing them is worse. You have been >Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to access certain sites from FreeBSD 6.2
Thanks Norberto, Makes sense to do it the other way round. If I could indulge your generosity and knowledge, one thing is puzzling me, why do I not have this problem when I am running Win XP on the same machine (dual boot with FreeBSD) using all the same hardware. Or when running NetBSD on my desktop machine but with the same network. Seems strange that FreeBSD, which generally works really well out of the box, cannot 'just deal' with this problem. I realise that it is not FreeBSD's problem per se, but a badly configured router somewhere 'out there', just seems that it must be common enough for some part of the OS to handle it without needing any tweaking. FreeBSD seems great, I am in the process of migrating from NetBSD so am quite used to configuring as necessary, does FreeBSD 7 encounter this situation? Regards, Alasdair >-- Original Message -- >Date: Fri, 22 Aug 2008 00:19:06 +1000 >From: Norberto Meijome <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Cc: freebsd-questions@freebsd.org >Subject: Re: Unable to access certain sites from FreeBSD 6.2 > > >On Thu, 21 Aug 2008 23:18:26 +1000 >[EMAIL PROTECTED] wrote: > >> I realised I am not running ipfw my firewall is run from my Netggear router. >> So I imagine I would set the divert rule there? (If that is possible). >> So it would look like this >> >> Outside-> Modem -> Router (divert to ) -> tcpmssd on > >i doubt v much u can do that on the netgear... you actually want to push >traffic the other way around > >{your process} -> {your net stack} -> divert tcp/ -> tcpmssd -> original >destination ... > >whether your router will like that, i have no idea. we used to run shdsl >with the router in bridged mode > >B > >_ >{Beto|Norberto|Numard} Meijome > >He could be a poster child for retroactive birth control. > >I speak for myself, not my employer. Contents may be hot. Slippery when wet. >Reading disclaimers makes you go blind. Writing them is worse. You have been >Warned. >___ >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: Unable to access certain sites from FreeBSD 6.2
G'day, Thanks for your reply. I realised I am not running ipfw my firewall is run from my Netggear router. So I imagine I would set the divert rule there? (If that is possible). So it would look like this Outside-> Modem -> Router (divert to ) -> tcpmssd on Correct? Regards, Alasdair >-- Original Message -- >Date: Thu, 21 Aug 2008 12:42:17 +1000 >From: Norberto Meijome <[EMAIL PROTECTED]> >To: FreeBSD Questions ML >Subject: Re: Unable to access certain sites from FreeBSD 6.2 > > >On Thu, 21 Aug 2008 10:10:19 +1000 >[EMAIL PROTECTED] wrote: > >> Thanks for your reply. > >nw > >> >> How do I "run an ipfw divert rule to >> >net/tcpmssd process " ? Where do I set this rule? > >I haven't got that repository with the configuration handy... but from memory >: > >1) install net/tcpmssd >2) RT-tcpmssd-FM for options , and configure it to run on a certain port >, say, tcp/ >3) write a divert rule in ipfw's startup script to divert (all | some) tcp >traffic to localhost's tcp/ > >pretty sure tcpmssd has info on how to do it > >good luck, >B >_ >{Beto|Norberto|Numard} Meijome > >"I'm not afraid of dying, I just don't want to be there when it happens." > Woody Allen > >I speak for myself, not my employer. Contents may be hot. Slippery when wet. >Reading disclaimers makes you go blind. Writing them is worse. You have been >Warned. >___ >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: Unable to access certain sites from FreeBSD 6.2
G'day Norberto, Thanks for your reply. How do I "run an ipfw divert rule to >net/tcpmssd process " ? Where do I set this rule? My technical level is probably best described as better than the average computer user, but well below any competency you would expect for a networking expert. Regards, Alasdair Regards, >-- Original Message -- >Date: Wed, 20 Aug 2008 16:51:56 +1000 >From: Norberto Meijome <[EMAIL PROTECTED]> >To: freebsd-questions@freebsd.org >Subject: Re: Unable to access certain sites from FreeBSD 6.2 > > >On Wed, 20 Aug 2008 11:55:45 +1000 >[EMAIL PROTECTED] wrote: > >> Hi, I am having a problem accessing some sites from Freebsd 6.2 in either >> firefox or Opera. I looked around for some advice on this on the net, found >> some pages mentioning this as a problem when Freebsd was running on the >machine >> >> acting as the gateway and the machines trying to access the sites were >Windows >> or Mac. But my case is this >> >> my set up: Laptop(FreeBSD 6.2) -> netgearFVS318 router-> ADSL modem (set >> up as bridge) > >gday :) >i'm on FBSD7, ipfw local firewall , dlink router, iinet, Sydney - no problems >getting to commbank. > >We used to have similar issues when running a 6.x gateway behind a SHDSL >line. >The issue was the MSS was too high - i had to run an ipfw divert rule to >net/tcpmssd process to fix this. It was affecting mainly traffic coming from >IIS hosts (no idea why :P ). > >HIH, >B >_ >{Beto|Norberto|Numard} Meijome > >I used to hate weddings; all the Grandmas would poke me and >say, "You're next sonny!" They stopped doing that when i >started to do it to them at funerals. > >I speak for myself, not my employer. Contents may be hot. Slippery when wet. >Reading disclaimers makes you go blind. Writing them is worse. You have been >Warned. >___ >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]"
Unable to access certain sites from FreeBSD 6.2
Hi, I am having a problem accessing some sites from Freebsd 6.2 in either firefox or Opera. I looked around for some advice on this on the net, found some pages mentioning this as a problem when Freebsd was running on the machine acting as the gateway and the machines trying to access the sites were Windows or Mac. But my case is this my set up: Laptop(FreeBSD 6.2) -> netgearFVS318 router-> ADSL modem (set up as bridge) I have 2 other machines connected to the router, one running Windows XP Home and the other NetBSD 3.01 both have no problem accessing the sites that I can't access on the FreeBSD machine. resolv.conf is set up with the addresses of both my ISP's DNS servers. Below are the results of ifconfig -a and traceroute -v to one of the problem sites. Any clues? Thanks in advance, Alasdair %ifconfig -a re0: flags=8843 mtu 1500 options=1b inet6 fe80::21a:92ff:fed8:ef44%re0 prefixlen 64 scopeid 0x1 inet 192.168.0.6 netmask 0xff00 broadcast 192.168.0.255 ether 00:1a:92:d8:ef:44 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=108802 mtu 1500 options=8 ether 02:e0:18:88:76:f0 ch 1 dma -1 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 %traceroute -v www.commbank.com.au traceroute: Warning: www.commbank.com.au has multiple addresses; using 210.10.102.196 traceroute to www.commbank.com.au (210.10.102.196), 64 hops max, 40 byte packets 1 192.168.0.1 (192.168.0.1) 36 bytes to 192.168.0.6 0.791 ms 0.255 ms 0.192 ms 2 lb0.sydbras2.syd.iprimus.net.au (203.134.7.66) 36 bytes to 192.168.0.6 11.593 ms 12.151 ms 11.092 ms 3 vlan450.sw01.syd.iprimus.net.au (203.134.7.1) 36 bytes to 192.168.0.6 11.540 ms 11.639 ms 11.791 ms 4 fe00.ac04.syd.iprimus.net.au (203.134.67.131) 36 bytes to 192.168.0.6 11.077 ms 10.422 ms 12.072 ms 5 g2-1-0-5.bdr5.hay.connect.com.au (203.8.183.58) 36 bytes to 192.168.0.6 11.568 ms 11.834 ms 11.338 ms 6 gigabitethernet0-2.cor13.hay.connect.com.au (203.63.217.85) 36 bytes to 192.168.0.6 11.820 ms 11.940 ms 11.021 ms 7 210.8.238.1 (210.8.238.1) 36 bytes to 192.168.0.6 13.266 ms 13.421 ms 13.060 ms 8 * * * 9 210.10.100.2 (210.10.100.2) 36 bytes to 192.168.0.6 14.151 ms 14.017 ms 13.555 ms 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * 31 * * * 32 * * * 33 * * * 34 * * * 35 * * * 36 * * * 37 * * * 38 * * * 39 * * * 40 * * * 41 * * * 42 * * * 43 * * * 44 * * * 45 * * * 46 * * * 47 * * * 48 * * * 49 * * * 50 * * * 51 * * * 52 * * * 53 * * * 54 * * * 55 * * * 56 * * * 57 * * * 58 * * * 59 * * * 60 * * * 61 * * * 62 * * * 63 * * * 64 * * * % $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Simple, graphic, desktop calculator
I don't have a FreeBSD desktop machine to hand, but on Mandrake 10.0 the KDE calculator is installed as "kcalc", part of the kdeutils-kcalc package: [EMAIL PROTECTED] alasdair]$ rpm -qf /usr/bin/kcalc kdeutils-kcalc-3.2-17mdk HTH On Mon, 2004-12-20 at 14:02, edwinculp wrote: > IIRC, kde had a simple desktop calculator. Either it has been removed or I > can't find it. I have > also checked ports and haven't found anything similar except add. It is for > may wife so after > using the kde one for years she doesn't like add at all and even less bc, dc, > etc. > > Could anyone suggest one or correct me if it is still in kde and I just > haven't found it. > > Thanks, > > ed > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and MySQL - mysqld eats CPU alive
On Sun, 2004-08-01 at 04:08, adp wrote: > FreeBSD 4.4, 4.7, 4.9, 4.10 > MySQL 3.x and 4.x > Typical load: 50 qps > With and without replication enabled. > Some sites are SELECT heavy, some are INSERT heavy. > > For one site I think we will be moving from FreeBSD to Linux for the MySQL > servers since MySQL seems to run like a champ on Linux. We will continue to > use FreeBSD for everything else. > > Anyone experienced this problem? Is it mysqld or FreeBSD? I can't pinpoint > the exact issue. We've got MySQL running on several FreeBSD servers here, some doing 100 qps+, and have had no problems what so ever. We've been using MySQL 3 and 4 on FreeBSD since FreeBSD 4.5 upwards. Here is an example status output from one of our servers: # /usr/local/mysql/bin/mysqladmin -u root -p status Enter password: Uptime: 1271242 Threads: 8 Questions: 76203621 Slow queries: 370 Opens: 2461857 Flush tables: 2 Open tables: 511 Queries per second avg: 59.944 You haven't mentioned the source of your MySQL installs. Are you using MySQL from ports, packages, or a binary or source distribution from the MySQL website? We compile MySQL from source using the following: setenv CFLAGS "-O3 -mpentiumpro" setenv CXX gcc setenv CXXFLAGS "-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti -DEAPI" ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/var --with-unix-socket-path=/var/lib/mysql/mysql.sock --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --enable-assembler You also haven't mentioned specifically what happens when there is a problem.. You say the machine becomes unresponsive.. what happens if the queries die down, does the box become responsive again? The only thing I can think of causing this is if queries start to come in faster than the box can process - they will build up and up until the machine, as you say, becomes unresponsive. This would indicate some form of bottleneck somewhere. Monitoring the output of "systat -vmstat" might give some clues as to whats going on. I would certainly investigate the cause of this before abandoning FreeBSD. Any threads on google relating to FreeBSD and MySQL not working together are vastly inaccurate or out of date. There are some performance issues with MySQL on FreeBSD 4 with regards to threading. Try using MySQL linked against LinuxThreads, which should give a performance boost. You can specify -DWITH_LINUXTHREADS when installing from ports. We have a test box running FreeBSD 5.2.1 with MySQL 4, linked against the new kse threading library, which should in theory provide performance comparable/superior to MySQL on a linux box. This box has been completely stable - no MySQL or FreeBSD lockups or crashes. Given that 5.3 and -STABLE are due out soon, it might be worth waiting for those, rather than switching to Linux. However we, and many many other people, run high load MySQL installations on FreeBSD without problem, so I would say your problems are specific to your setup, and not something that is a widespread issue. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Vinum Raid5 Recovery Problem
Hello, I have a problem recovering a Vinum raid5 stripeset, and it was recommended that I post the problem here. Basically, I created a Raid5 Stripeset: drive ibm120ad2 device /dev/ad2s1e drive ibm120ad5 device /dev/ad5s1e drive ibm120ad7 device /dev/ad7s1e volume raid5 plex org raid5 512k sd length 0s drive ibm120ad2 sd length 0s drive ibm120ad5 sd length 0s drive ibm120ad7 I ran saveconfig, to save the configuration to disk. I then proceeded to move quite a lot of data onto the raid5 volume. Then some time later, I reinstalled FreeBSD. To restore the raid5 volume, I ran: read disk /dev/ad2s1e /dev/ad5s1e /dev/ad7s1e Upon doing a list, it gives: vinum -> list 3 drives: D ibm120ad2 State: up Device /dev/ad2s1es1a Avail: 117796/117796 MB (100%) D ibm120ad5 State: up Device /dev/ad5s1es1a Avail: 0/117796 MB (0%) D ibm120ad7 State: up Device /dev/ad7s1es1a Avail: 117796/117796 MB (100%) D *invalid* State: referenced Device Avail: 0/0 MB 1 volumes: V raid5 State: up Plexes: 1 Size:230 GB 1 plexes: P raid5.p0 R5 State: corrupt Subdisks: 3 Size:230 GB 3 subdisks: S raid5.p0.s0 State: up PO:0 B Size:115 GB S raid5.p0.s1 State: stalePO: 512 kB Size:115 GB S raid5.p0.s2 State: stalePO: 1024 kB Size:115 GB Subdisk s0 shows as present: vinum -> list -V raid5.p0.s0 Subdisk raid5.p0.s0: Size: 123518582784 bytes (117796 MB) State: up Plex raid5.p0 at offset 0 (0 B) Drive ibm120ad5 (/dev/ad5s1es1a) at offset 135680 (132 kB) However subdisks s1 and s2 show as missing: vinum -> list -V raid5.p0.s1 Subdisk raid5.p0.s1: Size: 123518582784 bytes (117796 MB) State: stale Plex raid5.p0 at offset 524288 (512 kB) Drive *invalid* (*missing*) at offset 135680 (132 kB) vinum -> list -V raid5.p0.s2 Subdisk raid5.p0.s2: Size: 123518582784 bytes (117796 MB) State: stale Plex raid5.p0 at offset 1048576 (1024 kB) Drive *invalid* (*missing*) at offset 135680 (132 kB) They seem to have lost their drivename, so don't know which drive represents them. I have tried doing various things, such as changing the read disk options, ie "read disk /dev/ad2" etc, but all had pretty much the same result. I am at a loss for what to do next. Initially I did attempt to mount the raid5 volume, doing an ls on the mount point showed the correct directories, however when I attempted to cd and then ls into them, the kernel paniced. I since haven't been able to mount the raid5 volume, I get "mount: /dev/vinum/raid5 on /raid5: incorrect super block". I am concerned that I have somehow damaged the stripeset. Unfortunately backup media for backing up 240Gb's worth of data is rather expensive compared to how cheap disks are at the moment, and as such I only have backups of the critical data, so any help will be greatly appreciated! Many thanks. Regards, Alasdair Lumsden [EMAIL PROTECTED] Here is some additional technical information: info + list -V: vinum -> info Flags: 0x80204 Total of 12 blocks malloced, total memory: 12432 Maximum allocs: 15, malloc table at 0xc24483a0 0 requests active, maximum 1 active vinum -> list -V 3 drives: Drive ibm120ad2:Device /dev/ad2s1es1a Created on dogbert.dilbert.dns at Wed Oct 2 15:49:36 2002 Config last updated Thu Oct 3 16:34:02 2002 Size: 123518997504 bytes (117796 MB) Used: 135680 bytes (0 MB) Available: 123518861824 bytes (117796 MB) State: up Last error: none Active requests:0 Maximum active: 0 Free list contains 1 entries: OffsetSize 265 24124 Drive ibm120ad5:Device /dev/ad5s1es1a Created on dogbert.dilbert.dns at Wed Oct 2 15:49:36 2002 Config last updated Thu Oct 3 16:34:02 2002 Size: 123518997504 bytes (117796 MB) Used: 123518718464 bytes (117796 MB) Available: 279040 bytes (0 MB) State: up Last error: none Active requests:0 Maximum active: 1 Free list contains 1 entries: OffsetSize 241247497 545 Drive ibm120ad7:Device /dev/ad7s1es1a Created on dogbert.dilbert.dns at Wed Oct 2 15:47:14 2002 Config last updated Thu Oct 3 16:34