Re: [SLUG] Weird nslookup problem - Apologies
Your mail provider might be locking on ip address. One 'client' i have if they mistype a password 3 times it locks the ip address. Easy to do when a phone polls every 5 minutes. Contact your mail provider and ask if your ip address is blocked On 30 October 2014 7:15:12 AM AEDT, Ben donoh...@icafe.com.au wrote: Hi all, To anyone who responded, I'm really sorry if you replied to my last email about a nslookup problem and it was not delivered due to my mailbox running out of space. To anyone who took the time to respond with any solutions to try, could you please resend. Thanks, Ben -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Weird traceroute problem.
I use server that locks by ip address after 3 failed password attempts. Does not time out really anoying when you set up a new device and cannot remember password. Contact you email provider On 29 October 2014 7:54:48 AM AEDT, Ben donoh...@icafe.com.au wrote: Hi all, last week one of my clients businesses (hosted) email stopped working and they also could not get to their own website on the same address. Plugging in a phone as an access point the email started working as well as the website working fine. Also from other remote locations (like my house) email and website show up as normal. Nothing changed on their network that I know of. I'm the only tech they use and they don't have the knowledge to change anything. traceroute resolves their hosted email/web server address correctly, but after 30 tries of trying to get there gives up. Bypass firewall and same thing happens. Traceroute from the router resolves the correct IP but traceroute seems to go off into the wild blue younder and does not get to the destination IP. Went over the Cisco router with a fine tooth comb and nothing changed. All looks good. Hosts file on all the workstations is blank so nothing there... even though from the router traceroute resolves but goes nowhere. I'm stumped! DNS resolves correctly, yet they cannot get to the IP address. Could it be the website hacked and denying access from the clients address? (just thought of it so will look into that) Any ideas appreciated. Thanks, Ben -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Internet at 500m
There is a reflector that uses tin foil and catdboard to focus the signal. Uses a hyperbola like head lights First thing is to get a good wireless first. I had a wrt54g and it was excellent everything since has been rubbish and I did my research. Sydney wireless was getting up to 2 klm for wireless but they were boosting signals and using specialist aerials Use different channels to span multiple hops. On 23 May 2014 2:57:44 AM AEST, Rick Welykochy r...@vitendo.ca wrote: Hi Sluggers, I have a friend living in near jungle conditions in a small town in the Philipines that wishes to span about 400m - 500m from an Internet connection to his house in the bush. Ethernet seems limited to 100m. Wifi seems limited to about 100m - 200m. Any suggestions for bridging this gap? thanks, rickw -- Rick Welykochy || Vitendo Consulting If consumers even know there's a DRM, what it is, and how it works, we've already failed. -- Peter Lee, Disney Executive -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux and Apache limits on number of files in a directory
-Original Message- From: Marghanita da Cruz Sent: Tuesday, April 03, 2012 12:31 PM To: slug Subject: [SLUG] Linux and Apache limits on number of files in a directory Hi All, Does anyone know what the limit is on the number of files in Linux Directories and Apache Directories? Also, any idea what happens if you hit the limit? --- While I now the limit on a directory is very large it is NOT a good idea to fill it. I had major performance problems on a system that recorded every file into a single directory. I found that performance improved substantially just by structuring a couple of subdirectories. If you look at cricket archive it uses a magic number for every player, there are possibly close to 1 million players by now (700,000+ last time I checked). It uses grouping of 1000 to reduce the number of entries that it searches. so 0/900, 1/1789, 214/214759. When I downloaded the players in a single directory on my computer after download the directory management took it toll on my application, following the same directory structure had a massive improvement on performance, a simple divide gave me the directory. Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Raspberry power supply
Does anyone know about the power supply requirements of this thing. I am thinking of putting one in as a thin client. A cheap TV and one of these, no fans. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Talk on programming principles
This is a 54 minute talk on principles of programming.An interesting insight and some really cool toys that the presenter shows you along the way. Well worth a watch. http://vimeo.com/36579366 Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Traffic control
Simple approach is to add youtube.com into the hosts file at 8:00 at night and remove it at 9:00am not shaping but easy to do. I have also implemented squid and this has some real shaping potential. Slowing him down on youtube will reduce his consumption. -Original Message- From: Jim Donovan Sent: Friday, February 24, 2012 2:29 PM To: slug@slug.org.au Subject: [SLUG] Traffic control Recently my ISP discontinued the ADSL plan I was on and put me on another plan with three times the bandwidth. This is fine however one of the kids likes watching YouTube and can now chew up a month's data in a few days. I have warned him. I can let him do it and see how he feels about dropping back to dial-up speed but the whole family will suffer with him. Or can I slow down his machine's consumption? One way of doing this might be to run tc(2) on his machine however the doco hasn't been updated since 2.4 and doesn't seem to make much sense. Has anyone experience of doing policing with tc(2), iptables(8) or anything else? Or could I alter said son's machine's routing to use as gateway another machine running something to slow data down. Any suggestions, please? Jim Donovan P.S. Not relevant to my problem however you sometimes see plans in which you can burn a month's data in a few minutes. Why do people sign up for trash like that? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Android-based smartphones - any drawbacks ?
I owned an IPhone for a number of years and recently got a android galaxy II. First comment is that they are all slippery suckers. 16 year old has destroyed a number of phones just by dropping them out of his pockets. Deep pockets are a must (that is literal). Look after them and don't drop them. I drowned one and apple replaced it for a reasonably cheap fee ($250 at the genius bar) a definite plus. The iPhone has some great features however over a period of time the software burdens your phone and it simply stops working because it is overloaded. Call pick up does not work at times (iPhone 4 the same) When I bought the iPhone I thought laptop tethering would save me a 3g modem, I unfortunately went with Optus who charge to allow access, I have since moved to Virgin that does not. So read your plan. also look at the chunks they charge in, virgin charges in small increments, others charge for a large chunk even though you use a small one. It is definite that Telstra has the best coverage, Optus (hence a few others like virgin) are OK and Vodafone is the worst.For example Heathcote to the city on the train with Optus internet does not work about 50% of the time, especially around Oatley station. So make sure you have good 3g coverage at work and at home. Wifi is essential, my iPhone 3gs just stopped connecting, heard the same problem from a number of other people as well. Upgrading apps on Wifi and searching is so quick. I also decided the camera was important, your needs may vary but I never have the camera when I need it. Flash and a good pixel size is important, 8+ depending on what you want. Screen, the larger the better the galaxy SII is huge, so you better have big pockets. The screen is crisp but battery is terrible. I installed a juice defender and it is now far better. I find the screen on the galaxy better than the iPhone. Read a document with small text to compare. Android negatives. Calling seems more cumbersome than the iPhone. Android favourite is a name you then have to pick a phone number, IPhone is a number that just dials. You seem to be left alone a bit when you are setting up your phone, iPhone seems to be better documented / easier. For example how do you get spell correct to work? Samsung KIA did not install on Windows XP, worked on Windows 7. So the setup utilities are not as good. ITunes is much easier to drive than KIA. Notice that most people hate KIA, not surprised. email is not as friendly. Changing password on exchange account is not automatic like it should be. Reading the internet other mail clients are better, not bothered yet. Mail purges off when you pull all your mail on your desktop, so it is harder to keep those notes for later. Still have not figured out cut and paste. Overall I am very happy to have switched and I love the big screen and can put up with the bad battery life. Ken -Original Message- From: Rod Butcher Sent: Thursday, February 02, 2012 8:42 PM To: slug@slug.org.au Subject: [SLUG] Android-based smartphones - any drawbacks ? I need to have a smartphone as part of my job needs me to be be able to use and be familiar with all the new social media communications tools. Initial research indicates that Android-based phones have the highest market share and are best value for money. And of course I like Linux. Are there any things they can't do or can't connect to/interface with, which other proprietary systems can ? Any serious comparison documents I can study ? thanks Rod -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Time to close down the coder's list?
I agree not all grear ideas work. i asked for it On the move Original message Subject: [SLUG] Time to close down the coder's list? From: Erik de Castro Lopo mle+s...@mega-nerd.com To: commit...@slug.org.au,slug@slug.org.au CC: Hi all, I was one of the people who originally asked for the coder's list and now I'd like to suggest that it is time to shut it down. The reasons are: a) The list has almost no legitimate traffic ( 1 email a month). b) Moderating the list is a pain in the neck. I'm currently moderating 3-5 spams a week on that list which is simply not worth the effort. Committee, what is required for this to happen? Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Ubuntu 11.10
Can someone run through Unity at Slug in detail as a talk. This new interface certainly needs a sales pitch for me. I switched without problems from KDE to Gnome, Windows XP to Windows 7 so why do I need help to work with Unity yet it is 'better'. Ken Jeremy said... That’s because the feature has been removed. GNOME Panel is but a shadow of its former self. Those suggesting that you use GNOME Classic are either idiots and don’t think you need such functionality, or haven’t bothered using it for more than about 5 minutes to find out that it’s watered down so. To be fair, I don’t think that the GNOME team actually intended for anybody to use Classic on a daily basis. Rather, I get the impression that it is only useful as a recovery environment if compositing isn’t working. You should either use the full GNOME 3 including GNOME Shell, or continue to use GNOME 2 until you feel you’re ready. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Ubuntu 11.10
On Tue, 2011-10-18 at 16:36 +1100, Heracles wrote: Has anyone made the mistake of moving to this unusable version? It seems glued to unity which is the best argument for the demise of Ubuntu I have ever seen. At least in 11.04 I was able to choose gnome as a desktop. With 11.10 the only choices are unity and unity 2D. I guess it's time to move to try another distro. Heracles Took me a while. Click on you user name. A gear will appear near your name, you can then select classic Gnome from the start up. Personally I have moved to XUbuntu and xfce. Seems to work OK for me so far. I did this by installing xubuntu and then using the gear wheel to select xfce. Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] X11 forwarding
Not an answer but... One thing to remember is that server and client in X11 is the reverse of what you think. The server is the screen and the client is the application. ssh forward the X11 across the link then it comes out on the other side. ssh generates a dummy 'x11 server' on the machine you are connecting to and forwards the client application messages to that X11 server that you are connecting to. On the other side the X11 comes out as a 'client' and is forwarded to the server screen that you started at. -Original Message- From: James Linder Sent: Tuesday, October 04, 2011 1:21 PM To: slug@slug.org.au Subject: [SLUG] X11 forwarding Hi I'm utterly puzzled. Perchance some wise person here can say ah-ha One of my client-machine executes a GUI program from a server (ssh, X11 forward, public key etc) One in 10 there is no display, the server side of the app is gone soon after it starts (I see a short log of it's startup) On the client: pos02 4568 4566 0 08:51 ?00:00:00 /usr/bin/ssh -vv -lpos02 stmbk /opt/rms/session/pos02/pos02 oblivious of any woes on the server (but no gui) Reboot the client and all is well until the next time it fails. The only hint I see is this AUDIT: Tue Oct 4 08:51:04 2011: 4338 Xorg: client 2 rejected from local host Thanks James-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Multifunction printers vs dedicated sheet-feed scanners?
On Tue, 2011-09-06 at 10:45 +1000, Chris Barnes wrote: i worked at a mortgage lender years back and one of the departments had these expensive scanners because they would scan piles of 20+ page contracts all day with lightening speed. Expensive scanners tend not to skew the pages when feeding them in. The quality of the scan (not the bit rate just general clarity) is better. The feed mechanism is a LOT better, for huge volumes it is worth it. Image capture was always a challenge. Since I scan and mail on crappy printers at low res for bank use (my banker accepts scanned signed documents for some things). Mostly it is not that important. Clarity of photo scanning on the other hand, I do very high res scans then tune them down. It takes a LONG time on a simple multifunction printer. Problem with buying good gear is how quickly they age. A cheap printer today is thrown away. A good quality scanner today will be overtaken by a cheap scanner tomorrow. If you cannot amortise the cost over 2 years then think carefully. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] KDE gui package manger in Debian
On Tue, 2011-08-30 at 11:55 +1000, onlyjob wrote: Hi Steven, Sorry for this enormous delay with reply and thank you for detailed answer. Suse, RedHat, Debian and Ubuntu. I have used them all, all quite good and the code base is pretty much the same. What I prefer is different to what you do for different reasons. (Ubuntu with Unity switched OFF!!!) The package management of today is nothing like before Debian got it right. The other distributions have followed suite and cleaned up their package managers I am sure that the problems of old are now just history. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Text to HTML?
On Mon, 2011-08-29 at 10:04 +1000, DaZZa wrote: Hi. I'm looking for something that can take a text file and convert it into HTML, possible with some highlighting. I've got some routers reporting to my syslog server on a Linux box, but I want to be able to do a quick scan for bad things without having to SSH to the box and scrolling through the text file. It'd be nice if the files could be put in some form of date order/heading for each tracking (in conjunction with logrotate, maybe) to ensure all that it in the link is one days worth of logs. Anyone know of such a beastie? It's be nice if it was CentOS compatible, since that's what I'm stuck with at work, but if it's source and needs to be compiled, so be it. Thanks. DaZZa Don't convert it. Apache will present a file as text which you can then look at with a browser. Alternatively a very simple perl (whatever) program could be used to rip through the log and present things you are interested in quickly and then present the full log at the click of a button. I would also bee looked for log analysis programs, most will analyse and present logs with colour. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: ADSL download speed/settings
So I can totally remove the filter if only adsl connected? Phone is on another socket on same line Ken Foskey-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ADSL download speed/settings.
Yes your lead from socket to Adam is a huge problem. Removing a lead like that made a huge difference for me Ken Foskey On 11/05/2011, at 7:13 AM, Voytek Eymont li...@sbt.net.au wrote: On Wed, May 11, 2011 2:00 am, Jeremy Visser wrote: gonzo01 said: Line Attentuation Upstream 31.5 Line Attenuation Downstream 44.0 Are these figures reasonable? Bigpond ADSL, I'm just outside the 1.5k exchange inner band TPG page says: Line of sight: 1630m. Possible cable dist.: 2295m. I get: DSL Connection Details DSL Line (Wire Pair):Line 1 (inner pair) Protocol:G.DMT2 Annex A Downstream Rate:5630 kbps Upstream Rate:747 kbps Channel:Interleaved Current Noise Margin:12.5 dB (Downstream) 16.5 dB (Upstream) Current Attenuation:40.7 dB (Downstream) 22.3 dB (Upstream) Current Output Power:19.3 dBm (Downstream) 11.9 dBm (Upstream) does that look reasonable ? it all seems to work OK, no real problems Question: I use a 5 metre extension cord from wall subsocket to ADSL, and, the phone sockets is perhaps 15 metres from Telstra 'sub' MDF I've been tempted to hook up a (parallel) phone wire off the MDF to a dedicated wall socket for ADSL so, replace existing 15? meteres old wiring + 3 meters to subsocket off original T socket+ 5 metre extension with 4 meter dedicate ADSL socket from MDF is it worth the effort, will I see real improvement? (or just a warm fuzzy feeling that's it's done properly?) -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] script permissions, etc
Interesting, Seems to be trying to run the command as one thing. so a file named 'ccc lots of spaces with your IP address'.How are you starting this and are you quoting it? Exec takes an argument which is the filename to run and then extra args for the program started. -Original Message- From: Voytek Eymont Sent: Monday, May 09, 2011 11:41 AM To: slug@slug.org.au Subject: Re: [SLUG] script permissions, etc On Mon, May 9, 2011 10:52 am, Peter Chubb wrote: Voytek == Voytek Eymont li...@sbt.net.au writes: TMP=/var/tmp/`basename $0`$$ mkdir -p $TMP cd $TMP trap 'cd /var/tmp; rm -rf $TMP' 0 to create a place where you can work, that'll get cleaned up afterwards. Peter, Ken, Chris, many thanks this works good from terminal! I'm trying to run this from 'ostiaryd' what uid/gid to use, I'm '500' # Format is: # ACTION=secret,command (with path),[uid[,gid]] # If uid,gid not set, will use defaults. # Some samples. # Note: uid gid only allowed when ostiary runs as root #ACTION=Trillions,/tmp/ostiary/uidtest,520,101 ACTION=ccc,/usr/local/bin/ccc,500,500 tried 500/500 but get: May 9 11:21:48 waltoncr ostiaryd: Exec failed for command '/usr/local/bin/ccc 192.168.1.65': Exec format error -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] script permissions, etc
Tmp has special permissions only the person that created it can delete it and generally global write is not enabled Clan up the tmp file reliably and you should have no problems. The is also a make temp call that gives you a reliably unique filename Ken Foskey On 09/05/2011, at 9:59 AM, Chris Donovan alienreside...@gmail.com wrote: It's a good idea to use variables for storing the filenames used. It's also a good idea to use an absolute path when accessing the file. eg: my_user = voytek ccc_final = /var/tmp/ccc ccc_html = http:.../ccc.html ccc_txt = /var/tmp/ccc.txt ccc_bod = /var/tmp/ccc.bod wget ... $ccc_html ... links -dump $ccc_html $ccc_txt ... awk '/Page/, /References/ { print }' $ccc_txt $ccc_bod ... mail -s ccc list $my_user $ccc_final etc. Chris- On Mon, May 9, 2011 at 8:59 AM, Voytek Eymont li...@sbt.net.au wrote: I'm trying to put together a basic script, it works fine when I run it as root, but, I'm having issues when I try to run as 'voytek' $ ls -al /usr/local/bin/ccc -rwxr-x--- 1 root voytek 1409 May 9 08:19 /usr/local/bin/ccc /usr/local/bin/ccc: line 16: ccc.txt: Permission denied mv: overwrite `ccc.old', overriding mode 0644? rm: remove write-protected regular file `logout.html'? rm: remove write-protected regular file `logout.html'? logout.html: Permission denied script fetches a html page, parses it several times, then emails some text from it when starting the script should I say 'cd /var/tmp' (to have temp files in/var/tmp?) should I prefix full path to intermediate files ( /var/tmp/body.txt?) --- wget http://dom.tld/main.htm wget ccc.html echo dump to text, get rid of blanks links -dump ccc.html ccc.txt ## get rid of blank lines awk '/Page/, /References/ { print }' ccc.txt ccc.bod ## Better remove all leading and trailing whitespace from end of each line: sed 's/^[ \t]*//;s/[ \t]*$//' ccc.bod ccc.1 # delete lines matching pattern sed '/INT/d' ccc.1 ccc mail -s ccc list voytek ccc mv ccc ccc.old rm main.htm rm logout.html rm ccc.1 rm ccc.bod rm ccc.html rm logout.html rm my-cookies --- -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] perl modules ubuntu probs
The apt version will overwrite the cpan version. (not always). Cpan will report one version and and apt another which can get confusing. I have mixed apt and cpan to correct versions of software and when I update it is generally to the version that works for me anyway Ken Foskey On 15/04/2011, at 9:28 AM, Amos Shapira amos.shap...@gmail.com wrote: Not sure. I'd lean towards removing it if possible (usually should be possible through standard CPAN commands). Check first where the files from the CPAN package were installed vs. the dpkg package. On 14 April 2011 14:38, Voytek Eymont li...@sbt.net.au wrote: On Fri, April 15, 2011 6:55 am, Amos Shapira wrote: (I assume you meant clan-cpan, right?) Mixing CPAN and none-cpan packing is an invitation to a nightmare. Either install EVERYTHING from cpan or nothing at all. A quick apt-cache search BinHex shows that there is a ubuntu package for it: libconvert-binhex-perl. Amos, thanks I've done 'apt-get install libconvert-binhex-perl' m it's OK BUT do I need to do anything about the previously done CPAN install ? perl -MCPAN -e shell cpan[1] force install Convert::BinHex cpan[1] install Convert::BinHex CPAN: Storable loaded ok (v2.20) Going to read '/root/.cpan/Metadata' Database was generated on Thu, 14 Apr 2011 21:29:14 GMT CPAN: Module::CoreList loaded ok (v2.18) Convert::BinHex is up to date (1.119). -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] perl modules ubuntu probs
Force it then use clan to upgrade it. When it updates through the pm next it will overwrite because the pm does not know about your manual update Ken Foskey On 14/04/2011, at 1:41 PM, Voytek Eymont li...@sbt.net.au wrote: On Thu, April 14, 2011 9:31 am, John Clarke wrote: On Wed, Apr 13, 2011 at 11:55:59PM +1000, Voytek Eymont wrote: amavis says error with MIME Decoder BinHex but perl says it's installed, Read the error message more closely: John, ooops, you're right, sorry MIME/Decoder/BinHex.pm won't start because it needs to load Convert/BinHex.pm, and perl can't find it. You need to install Convert::BinHex. I guess that's why: make test had returned bad status, won't install without force if I force install, is that a really bad thing to do ? or what else ? Checking if your kit is complete... Looks good Writing Makefile for Convert::BinHex Could not read metadata file. Falling back to other methods to determine prerequisites cp lib/Convert/BinHex.pm blib/lib/Convert/BinHex.pm Manifying blib/man3/Convert::BinHex.3pm ERYQ/Convert-BinHex-1.119.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 'blib/arch') t/*.t t/comp2bin.t .. Can't locate package Exporter for @Checker::ISA at t/comp2bin.t line 3. Undefined subroutine main::check called at t/comp2bin.t line 75. t/comp2bin.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 9/9 subtests Test Summary Report --- t/comp2bin.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 9 tests but ran 0. Files=1, Tests=0, 0 wallclock secs ( 0.06 usr 0.02 sys + 0.04 cusr 0.03 csys = 0.15 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 255 ERYQ/Convert-BinHex-1.119.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports ERYQ/Convert-BinHex-1.119.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: ERYQ/Convert-BinHex-1.119.tar.gz : make_test NO -- Voytek -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] If we 'delete' SLUG as it stands:
So you are saying that slug.org.au continues. It is just the 'owner' swaps to LCA. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] solr jetty on ubuntu
For the record. I upgraded to ubuntu 10.10 and solr worked correctly Ken Foskey On 24/02/2011, at 1:34 PM, Matthew Hannigan m...@zip.com.au wrote: On Thu, Feb 24, 2011 at 11:44:02AM +1100, Matthew Hannigan wrote: On Wed, Feb 23, 2011 at 10:16:35PM +1100, Ken Foskey wrote: I have installed solr Jetty on Ubuntu and when it starts in jetty with 'java -jar start.jar it responds and has a solr directory. Does not work cleanly because it cannot find javac. Do you have the jdk installed? To elaborate, do you have openjdk-6-jdk installed, not just openjdk-6-jre or other jre. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] HTML 5 talk tonight
As always worth the trip to listen to Silvia. Great talk. Best hint of night is caniuse.com. Talks about compatabilty Ken Foskey -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] solr jetty on ubuntu
I am very frustrated. I have installed solr Jetty on Ubuntu and when it starts in jetty with 'java -jar start.jar it responds and has a solr directory. Does not work cleanly because it cannot find javac. I want this to autostart, '/etc/init.d/jetty start' issued.It starts on port 8080 and it is accessible because I get NOTFOUND.No nice Jetty page. HTTP ERROR: 404 Problem accessing /. Reason: NOT_FOUND Powered by Jetty:// In the Jetty log I get this.Any clues on where to look for this error would be great, I am not JAVA literate. 259823 [Shutdown] INFO org.mortbay.log - Shutdown hook executing 259823 [Shutdown] INFO org.mortbay.log - Graceful shutdown SelectChannelConnector@strider:8080 259836 [Shutdown] INFO org.mortbay.log - Graceful shutdown org.mortbay.jetty.handler.ContextHandler@49ff0dde{/javadoc,file:/usr/share/doc/libjetty-java/api/} 259836 [Shutdown] INFO org.mortbay.log - Graceful shutdown org.mortbay.jetty.webapp.WebAppContext@42652110{,file:/var/lib/jetty/webapps/root/} 259836 [Shutdown] INFO org.mortbay.log - Graceful shutdown org.mortbay.jetty.webapp.WebAppContext@7d5dc37d{/solr,file:/var/lib/jetty/webapps/solr/} 260950 [Shutdown] INFO org.mortbay.log - Shutdown hook complete /usr/share/jetty/webapps/solr - /usr/share/solr/ so I think the config is basically right. Help Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] linked in - please block
I was there for that discussion. That does not cover what is in my opinion spam. Facebook and linkedin have their place but not in the context of this list. Ken Foskey Ps: I use facebook and linkedin regularly. On 23/12/2010, at 12:54 PM, James Polley jamezpol...@gmail.com wrote: On Tue, Dec 14, 2010 at 10:56 AM, Nick Andrew n...@nick-andrew.net wrote: On Tue, Dec 14, 2010 at 09:51:56AM +1100, Nigel Allen wrote: I have already complained to linkedin - not received a response yet. I'm not sure how linkedin can know that slug@slug.org.au is a mailing list and not an individual's email address. Presumably the slug list should reject email from non-subscribers, or alternately send a confirm request to the sender (which will eliminate automated emails like linkedin). A formal motion passed at a general meeting in 2003 requires that the SLUG mailing lists not reject email from non-subscribers, or even force such emails to be moderated. http://lists.slug.org.au/archives/slug/2003/10/msg00645.html has details on the proposed options and the voting. Nick. -- PGP Key ID = 0x418487E7 http://www.nick-andrew.net/ PGP Key fingerprint = B3ED 6894 8E49 1770 C24A 67E3 6266 6EB9 4184 87E7 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] watching Channel Ten videos on Linux?
This is a guess... Have you tried vlc with the Mozilla plugin option? -Original Message- From: slug-boun...@slug.org.au [mailto:slug-boun...@slug.org.au] On Behalf Of Amos Shapira Sent: Sunday, 19 September 2010 4:58 PM To: slug Subject: [SLUG] watching Channel Ten videos on Linux? Hello, I'd like to send a link to an episode of Good News Week to a friend and I think I found it (http://ten.com.au/video-player.htm?vxSiteId=cb519624-44a2-4bf7-808b-3514d34 e96e4vxChannel=GNW%20CUTV) but I can't play the video on my Linux desktop (Ubunut 10.04 32 bit) with either Chromium 6.0.472.53 or Firefox 3.6.3. I get the ad playing at the beginning but the episode itself just gets stuck on the circling timer instead of playing. Is there a way to view this on Linux? Thanks, --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.851 / Virus Database: 271.1.1/3142 - Release Date: 09/18/10 04:34:00 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] MySQL Mono
On Wed, 2010-08-25 at 20:13 +1000, Chris Allen wrote: I'd like to start learning MySQL and MONO for some serious development. As yet, neither are installed on my system (Ubuntu 10.4) Can any one recommend good books / courses (in Sydney) for learning both of these? Chris Allen I have tried monodevelop on Ubuntu but it is back a version or two and caused me some issues. Courses, it really is simply going though some C# training and see how you go. I learnt C# from the Oreilly books and have foudn them quite good really. If you have an outline of the types of things you want to do I can give you some hints on what to look at. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] A distro which recognises Wi-fi on Asus eee 1005p? -- thanks for suggestions
On Wed, 2010-08-11 at 06:08 +1000, Martin Visser wrote: To the community. Jon's experience probably really demonstrates why Linux isn't going to go mainstream anytime soon. While I would say 90% of people are going to have hardware that just works with the most current release of most distros, it is the 10% that have issues that really stings. Surely this hurdle needs to be overcome. With the likes of Canonical, Redhat, Novell and the like wanting this to work surely there is a need for some sort of integration centre that hardware vendors can submit their gadgets for driver development assistance, and qualification? I know that they do do some of these things and a lot of problems like video and suspend/resume seem a lot more predicable. Or is this simply never going to happen and we just need to put up with it considering the effect of aggressive competition and the need to get new stuff out there all the time. Installed windows on non-mainstream machines lately. You have to find drivers, have conflicts of dlls and other things. I am not saying that it is not a problem, just not doom and gloom. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: [activities] Re: Discussion about SLUG meetings and format
Reply stripped. Andrew, I have to say that your reply was little to do with the direct offer of help. As a long term member of slug your reply does not represent my views in any way. Your reply seems at odds to Open Source principals talking of contractors, etc. (Yes we all have to eat but it is not the purpose of slug.) I understand the issue of rooms with the demise of progsoc at UTS. Slug should work together for a better proposal to a govt organisation, and I am open to helping with this. However my opinion is that the Google location is fine, Google does not interfere with the working of the group. Michael, I have gone to Google on the docks by catching a train to Town Hall and walking down. It really is not far. So public transport is not a problem really so long as you can walk a moderate distance. I cannot attend on Friday and a lot of the old members have moved states or are just too busy with life but stay with the list, so you might not know a lot of the people there. Regarding your help on the website. Technically there is a lot of help available for website, content is king and without a clearer indication of what you want to change then it is probably hard for the committee to see what your are proposing. What I have seen work is a mock up of something that everyone could comment on. Regardless whether this is accepted it is a good exercise for you. Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] middle button copy/paste fails
On Sat, 2010-07-17 at 13:39 +1000, david wrote: I'm used to selecting text and then pasting using the emulated middle mouse button on a two button mouse. This works most of the time but occasionally stops working and worse, it does unpredictable things until re-boot, which is truly annoying. I'm using Ubuntu 9.10 Does anyone have any suggestions why this happens and what to do about it apart from logging out/in? I have found middle button emulation really bad to actually use. I would rather buy a cheap usb mouse than rely on it. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Perl Regular expression help
/pg=.*/ But also I think is a special char (no?) that means put the matched bit back, though is that only on the replace side? (my question relates strictly to the matching side). Yes the ampersand is special, it represents the complete matched string on the replace. s/pg=.*/\/ As pointed out the solution is not optimal, if there is more than two parameters it will consume them all. It will also NOT remove a trailing parameter because the second is not there. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Error in Time() command
On Sun, 2010-05-23 at 17:02 +0800, tenz...@iinet.net.au wrote: Hi everyone, I'm seeking a preferably citeable reference to the amount of error in the returned result from a Time() command. I want to be able to quote the level of error in timing the execution speed of my project. While I have been using this command partly on Ubuntu for my project, I would particularly like to find out the level of this error on Mac OS X. Google and Google scholar have been disapointing. I concede that this is a little off topic and will move it OT if people are unhappy. I concede I have no idea the actual problem you are having. Can you please explain what the issue is? Subtracting two times or something else, reset on ntpdate. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] MYOB/POS etc
On Mon, 2010-05-17 at 13:07 +1000, Jim Donovan wrote: Not directly apropos the recent emails, but did you know that there are websites offering on-line MYOB, apparently with the data all held on the web host. I'm under pressure to move a community group's financial records from a system based on local ascii files to a package online MYOB. Would that be even worse than local MYOB? The thing you have to consider is the security of your data. Publishing to the world that your club has $40,000 in the bank could be a major problem. There are a number of alternatives, gnucash has a windows client and is very extensible for reporting purposes. It comes up complicated but has nice OFX import features which makes book keeping really easy. It also has fuzzy matching same as spam which means that it will do the right thing more easily once set up. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] web dav setup
I need to set up a simple read only webdav. No security. I installed the dav_fs and it starts but I cannot browse to the machine. Location /books DAV On Order allow,deny Allow from All /Location Anyone got any hints. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Karmic: synaptic v apt-get
On Tue, 2010-03-23 at 12:55 +1100, david wrote: I want to install kdenlive. The repository version is deprecated and the latest is available from ppa.launchpad.net synaptic and apt-get operate off the same data. It may be that you have not done an update after updating the repository list. synaptic will prompt you if you do this. sudo apt-get update -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fedora KDE audio capture problem
On Wed, 2010-03-10 at 00:22 +0100, steven bellens wrote: Hey Daryl, probably something similar here, however the solution you suggest doesn't have the right result here. I created this file with your suggested settings, but still I'm unable to get any input from my microphone. Any suggestions how to trace down the problem? You would have to research the correct driver for your particular sound card first. Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] System admin graphing tools
We all know we should do it. Provide a monitoring system to see how our system loads are going. I have a couple of links that look interesting: http://flapjack-project.com/ It is local so goes first :-) Flapjack is a scalable and distributed monitoring system. It natively talks the Nagios plugin format. http://www.cacti.net/ (Language PHP) Cacti is a complete network graphing solution... http://munin.projects.linpro.no/ (Language Perl) Munin is a networked resource monitoring tool that can help analyze resource trends and what just happened to kill our performance? problems. It is designed to be very plug and play. A default installation provides a lot of graphs with almost no work. http://oss.oetiker.ch/mrtg/ The Multi Router Traffic Grapher http://support.nagios.com/knowledgebase Cannot find a simple 'what is nagios' on website. 'Nagios is a host and service monitor designed to inform you of network problems.' From whitepaper. http://oss.oetiker.ch/smokeping/ SmokePing keeps track of your network latency Any comments on the above and any others to add to the list? Other reading: http://wiki.nagios.org/index.php/White_Papers Implementation of Cacti, Smokeping, Nagios (2004) Based on a quick read, munin looks pretty good. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] removing samba
On Fri, 2010-02-19 at 08:11 +1100, meryl wrote: I needed to do some file sharing recently and now that the task is finished so I want to remove the Samba service. I'm using Ubuntu 9.10. ... When I mark samba for removal no other files on this list are marked. So is just marking samba for removal sufficient to stop this service from starting at boot... and I don't want to keep files that only rely on samba alone as they'll be superfluous. At the command line: sudo apt-get autoremove The clean up 'mostly' just works but sometimes dependent libraries will be left lying around. Also in synaptic, check for a section 'Not Installed (residual config). If you want you can flag these for complete removal, cleaning up more package information. But when I select samba-common to be removed, Synaptic notifies me of a list of other files that it will also remove with samba-common - one of them being ubuntu-desktop. ubuntu provides a method for connecting to Windows shares as a client, this is part of desktop. I would not recommend removing it because upgrades become harder. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Problems with DVD creation
On Fri, 2010-02-19 at 08:49 +1100, Alan L Tyree wrote: I'm back on Debian Lenny now, so can't confirm any of this. Anyway, it seems funny that it would work on your computer but not the DVD player. Brings to mind. Check the quality of the DVD media. Sometimes crappy DVD's will not read properly on cheaper hardware. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Tutorial Friday week
On Fri, 2010-02-19 at 11:36 +1100, Heracles wrote: 1. Is this notebook good enough for the tutorial? How long is a piece of string. For Uni tutoring / lectures I favour weight versus performance. If we are talking about throwing graphics on a screen anything can do that. I have done full tutorials on a much worse system than that running adobe acrobat and it ran fine. I don't recommend acrobat, bet evince is faster so test it! If you are doing some intensive processing to highlight a feature or monitoring network traffic realtime on a heavy network then it will not hold up. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Adjusting volume on bluetooth headset
On Thu, 2010-02-18 at 09:54 +1100, Luke Yelavich wrote: Thats because ALSA bluetooth support is via an alsa plugin provided by the bluez package, as all audio goes via the bluez stack. This question springs to mind. Is there a bluez management tool? (I don't have bluetooth...) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Mentoring
On Tue, 2010-02-16 at 12:58 +1100, John Nielsen wrote: Hi All I'm aware that this a little off topic...I have started a Diploma in Website development at Ultimo TAFE. I am finding it somewhat challenging especially with all the HTML coding to some extent as I am totally new to that and the Java. Who among you would be willing to mentor me and be willing to answer questions that I may have? If you post the questions showing what you have done to solve the problem on slug chat then you will probably get a direction to an answer. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fosdem
On Mon, 2010-02-15 at 11:08 +, Richard Ibbotson wrote: Probably the best of the whole bunch was Andrew Tanenbaum talking about Minix 3 Wasn't he the one that did the talk in LinuxConf 2006? I remember a rant about kernel programming that pretty much fell flat to a linux audience. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Replicate Production to DR file system with rsync
On Sun, 2010-02-14 at 20:04 +1100, James Gray wrote: On 13/02/2010, at 11:42 AM, Ken Foskey wrote: I use a simpler approach and to some extent more flexible. I create a script in a known directory, for example /usr/sbin/run_copy.sh. I then only authorise the admin group to run only that specific script. This keeps complicated command lines to a minimum. The run_copy command might for example do a tar of the specified files. You can then pipe that tar across the link to the recipient system. I would write another script to untar into a working set, verify the copy somehow then install it using another script. visudo add this line # allow admin group to run the rsync script %admin ALL=NOPASSWD: /usr/sbin/run_copy.sh Hi Ken, Thanks for the suggestion. Unfortunately this incurs the penalty of copying everything, every time (unless I missed something). Hence the desire to use rsync. I guess if I didn't do anything special (like encrypting) the tar ball, rsync could still handle the deltas with a certain degree of efficiency, but it would mean doing an update on the tar file each time. Total data requiring synchronisation is approx 12GB, every 15-30min...that's a heck of a lot of I/O and network bandwidth if rsync doesn't do a stellar job. I also noticed a --super option in the rsync manual, but I don't really understand how this works or what it achieves. On the upside, I've had an e-mail discussion with the notoriously suspicious Security Team and they have agreed (in principle) to relaxing the no remote root login by allowing the use of PermitRootLogin Forced-Commands-Only in sshd_config coupled with the method described here http://troy.jdmz.net/rsync/index.html - sanity and sensibility prevail. Now to go through the motions of change control and security approval. Ugh. Why is nothing easy? :( Thanks for all the input people. Cheers, James You can still use rsync. You just write rsync command in the script as per above. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Earliest open source?
On Mon, 2010-02-15 at 09:05 +1100, Peter Chubb wrote: What's the earliest reference to open source anyone knows? I found this in a 1965 paper: How like Unix does the following story sound? Open Source (not as a name) existed in IBM in the old mainframe systems. Systems Programmers, who are now systems administrators, were hard core programmers. IBM had (from memory) Share tapes which was supplied by an independent group of users called share(?). Programmers wrote useful utilities and sent in this code. The code went to the various systems programmers on tape who used this code, enhanced and sent it back. This code was shared between sites. I think that TSO (Time Share Option) started like this originally however I may be wrong. TSO was a command line for Mainframe which was batch oriented until then, yes punched cards. Systems Programmers also worked on the Operating System itself. While it was proprietary the source was supplied and the Systems Programmers patched the source and returned the patches to IBM. I believe that the reason it became the most stable system available was the bazaar of programmers on installed systems, not the cathedral of IBM support. As a sideline the source was effectively stolen by another vendor who created a competing system. There was a lot of politics and there was a really strange settlement. IBM was forced to share the source with the other vendor by the US government. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Hot computer
On Mon, 2010-02-15 at 08:43 +0800, james wrote: On Sunday 14 February 2010 22:25:18 slug-requ...@slug.org.au wrote: [snip] The computer was warm enough to keep your coffee warm, so there is still an issue. I am not going to get aircon any time soon. I was reading that you can use air conditioning filter over the inlets to collect the dust so your case is cleaner. I can only see this working with a positive pressure fan drawing air from outside to inside. Is is worth putting a fan in the case to blow into with a filter on it? After all the work you have done :-) ... AMD really runs cool [eeyore] /home/jam [54]% ssh tigger cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family: 15 model : 107 model name: AMD Athlon(tm) X2 Dual Core Processor BE-2300 stepping : 1 cpu MHz : 1000.000 ... [eeyore] /home/jam [55]% ssh tigger temp fan1: 1700 RPM (min = 10 RPM) fan2: 0 RPM (min =0 RPM) temp1: +40.0°C # CPU temp2: +32.0°C # MB ... Ambient 28.9 C Even at 5% idle I've never seen it over 50 My ambient at the time was about 30 plus inside my house. My house is a hot box, I am planning renovations so it is here to stay for 12 months at least. My GPU is HOT, 50 degrees. That would contribute. Should have gone with a simpler passive one in hindsight. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Replicate Production to DR file system with rsync
On Fri, 2010-02-12 at 16:22 +1100, Jeremy Visser wrote: On Fri, 2010-02-12 at 15:37 +1100, Ken Foskey wrote: I have done this using sudo. I write a script on the called machine, sign on as my user and run the script using sudo which I authorise (very specifically) to root without password. Agreed. Not only that, but you can restrict sudo to only be able to run certain commands -- rsync being the case in point. Something like the following oughta do the trick (assuming you have a group called 'backup' that the backup user is in — remove the % to make it refer to a user instead): %backup NOPASSWD: ALL = /usr/bin/rsync -ar server1:/vital_data/ /vital_data/ (The above should enforce that rsync is only called with those particular parameters, if I read the sudoers man page correctly.) I use a simpler approach and to some extent more flexible. I create a script in a known directory, for example /usr/sbin/run_copy.sh. I then only authorise the admin group to run only that specific script. This keeps complicated command lines to a minimum. The run_copy command might for example do a tar of the specified files. You can then pipe that tar across the link to the recipient system. I would write another script to untar into a working set, verify the copy somehow then install it using another script. visudo add this line # allow admin group to run the rsync script %admin ALL=NOPASSWD: /usr/sbin/run_copy.sh -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Overheating
On Tue, 2010-02-02 at 20:31 +1100, Ken Foskey wrote: - I will try and clean the heatsink on the Nvidia without removing it and no worry too much. Cleaning the Nvidia 8800GT was easier than I thought. I needed those small screwdrivers you use for glasses. The plastic cowling is secured by 7 tiny screws around the edge (web told me it was underneath but it was wrong). I opened it up and there was over 1cm of lint blocking the heatsink. Immediately it dropped from 70 to 50-60. It does go to 70 under load and can climb higher. The fan is now heaps quieter, not spinning up to full speed constantly. So in summary definitely look inside those graphics cards. - I will clean off grey goo on CPU and replace it with a thermal paste. The grey goo was easy cleaned with isocol rubbing alcohol. Easier than it looked actually. So I had two shiny surfaces. I got MX-2 thermal paste and put that on. It was the only one local store had but back of packet says it is a pretty good one, if you believe advertising. When I put it back together the CPU dropped about 5 degrees straight away and it has only once peaked out at 70 degrees under extreme load (heavy program running and a despeckle on a large scan). The box was cooking so it was basically the ambient temperature of the room and then add a heavy heat load inside. So it is definitely worth replacing the goo! The computer was warm enough to keep your coffee warm, so there is still an issue. I am not going to get aircon any time soon. I was reading that you can use air conditioning filter over the inlets to collect the dust so your case is cleaner. I can only see this working with a positive pressure fan drawing air from outside to inside. Is is worth putting a fan in the case to blow into with a filter on it? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Replicate Production to DR file system with rsync
On Fri, 2010-02-12 at 10:24 +1100, James Gray wrote: Hi All, I've googled this one for a while and can't find any examples of people doing *system* file sync with rsync. So I thought I'd throw it out to the collective wisdom of SLUG. Here's the full story. We have a SuSE-based production application/DB server pair and a corresponding pair in a disaster recovery location (offsite, bandwidth consumption needs to be minimised). We need to sync a number of files between these servers and some require elevated (root) privileges at *both* ends. Here lies the problem; we don't allow remote root logins (via SSH or any other method either...sudo, console or nadda). I want to use rsync because of it's ability to transfer differential/incremental changes and thus bandwidth friendly, however any other tool would be fine too. However, due to the inability for root to login directly, how the heck do I synchronise particular files in privileged locations (like /etc/shadow)? I can start whatever services I need at either end (like an rsync server) but the main thing is all files maintain the same owner/group/mode at each end. Ideas? I have done this using sudo. I write a script on the called machine, sign on as my user and run the script using sudo which I authorise (very specifically) to root without password. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] 64 bit.
On Mon, 2010-02-08 at 20:37 +1100, Josh Smith wrote: Those of you who are running 64 bit versions of Ubuntu . . are there any pitfalls? Any problems with applications? Speed? Ubuntu 64 bit, about 2 years on the computer with upgrades. Speed is awesome. Might just because my hardware so much faster than the one that died a natural death. Skype. There were some issues with this but it simply installs now. Flash. Flash is still buggy. If you remove all flash support and install the beta flash player directly it works OK. Package manager keeps moving me back to the 32 wrapper version though. Wrapper version is 'mostly' OK. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] no speaker sound
On Sun, 2010-01-24 at 02:14 +1100, Daryl Thompson wrote: I brought a Compaq Presario CQ61-214TU and install Fedora 12. I have no Speaker Sound, i do have sound when i plug in a head set or external speaker. I have not tested the HDMI output yet as i don't have access to a DH TV with HDMI. I would like to use the internal speakers. Can any one help me please, the Google searches all relate to ubuntu and not much help on Fedora Check your access to the sound group (audio and maybe pulse). Make sure you are not signed on twice. When I stack sign on (eg Ken then chris) the sound is assigned to Ken and Chris does not have access to it. Make sure your sound is not muted. This is a stupid default. I also had problems that it was always muted and I had to reset this on every sign on. Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Overheating
On Tue, 2010-02-02 at 14:24 +1100, Mark Walkom wrote: Well the grease is needed as it facilitates a higher efficiency of heat transfer from the chip to the heatsink. Is this a laptop or a desktop PC? What are the CPU and GPU chips? Desktop. The CPU fan has been removed and replaced twice. Under load it jumps from 30 to 40 and with a hot ambient (no aircon at all) climbs to 80 and stops. Right now sitting on 29 and 26. The Nvidia card has a lot of cowling around the fans so I wonder how clogged it will be. Previously I had carpet and was in Campsie which was bad for dust. In summary: - I will try and clean the heatsink on the Nvidia without removing it and no worry too much. - I will clean off grey goo on CPU and replace it with a thermal paste. Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] IE on Ubunto
On Tue, 2010-02-02 at 22:17 +0800, james wrote: Wunz upon a tyme ANZ would accept IE for internet banking and they told me that their app worked with IE only. Fiddling with about:config I had firefox (or whatever it used to be) ID as IE on Winders. And the app worked. When confronted by this ANZ relented and accepted other browsers. So I'm sure that if you spelunk enough about:config will allow you to set your ID and OS User Agent Switcher http://chrispederick.com/work/user-agent-switcher/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Overheating
My computer crashed today and I have finally apt-get install sensors-applet I found out that my temperature is exceeding 80 on both CPUs under load and is always sitting at 76 for the GPU I have pulled off and cleaned the fan for the CPU but I have not done anything about the grease. Will this make a lot of difference? Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Copying HDD
Simply create a new partition and copy the contents. Use cp -r / path /mounted/new/path/ If you have to use dd then create a partition exactly the same size then gparted can grow it afterwards Ken Foskey On the move On 20/01/2010, at 2:00 PM, Mike Andy beatbreake...@gmail.com wrote: I've been thus far unable to do to - maybe you can explain how. for example, if i do a dd from a 120Gb to a 150Gb and then enter into something like gparted or fdisk there seems to be no way i can simply expand the disk beyond the original 120Gb boundaries. If there was unformatted/unpartitioned space within that 120Gb then things can be moved around there but not outside the original disk boundaries. On Tue, Jan 19, 2010 at 10:38 AM, Jake Anderson ya...@vapourforge.com wrote: Mike Andy wrote: from my experience when you use dd you cannot resize after that because it's made an exact bit by bit clone of that hard drive which you then can resize with the numerous partition resizing tools out there. if you're concerned about how much you're downloading use parted magic, much smaller than ubuntu and includes both gparted and clonezilla all in one -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Send EOF to Browser from LAMP stack.
On Thu, 2010-01-21 at 08:22 +1100, Peter Rundle wrote: Hi Sluggers, I hope this question is appropriate for this list. I have a PHP web-site running on Apache and Linux. A PHP routine produces a page that is sent back to the browser, but then it has some house-keeping to do which takes some time, perhaps many seconds but the housekeeping doesn't result in any more output to the browser (any output from that point on goes to a log). What I would like to do is end/close the http request so that the browser gets the HTTP equivelent of an EOF but allow the php script to keep running. Now flush() does send the output to date to the browser but the browsers busy icon keeps running because the http session isn't closed until the php ends. I thought of doing a fork but the PHP docs say that fork doesn't work when php is running under apache. I could write a shell script and invoke that with a system/exec call from php and have the shell run into the background and do the house-keeping thus allowing the php to finsih, but I'm wondering if sluggers know of a better way (tm). Thanks Pete You could try closing STDOUT which will tell apache that your script has stopped output. In perl I executed a background task with an system( command ); to perform the background tasks. I then emailed a reponse to the client to tell them the job was done. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] NTP Issues
On Thu, 2010-01-21 at 09:43 +1100, Kyle wrote: Hi Slug, Having a bit of an issue at the moment with NTP. Server has been running for nigh on 2-3 years now. NTP was always running and always perfect. Recently had a truck take out power lines in the street and no power for 3-4 hours. Server sits behind somewhat out-of-date, (but still has reserve power) UPS and was shut down in time cleanly. However, since then server loses time BIG time. Funny thing is, other server in same subnet (also NTP) keeps perfect time. Both running CentOS 5.x. Now, could be any number of issues, just looking for some guidance on where to start looking pls? Anyone got any ideas? NTP has a limit on how much time it can adjust, it is tiny to stop huge unexpected jumps for Databases etc. When the server comes up it will automatically run ntpdate but sometimes you don't have a network to support the command. You can run this command manually to kick start the adjustments. ntpdate server ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Text/Html decoder plugin for Fedora 11
On Mon, 2010-01-18 at 03:19 -0800, Neville Gittens wrote: Hi, I would like some guidance regarding this text/html decoder plugin that is required for me to play film trailers on apple website also you tube. there error comes up and I can't seem to find the right application. As I am new to Linux!!. I think you need to look for apple quicktime video format. I don't know fedora however you might want to look for restricted packages as this is a proprietary format there might be a special way to install it. ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] sound always zero on sign on karmic
On Thu, 2009-12-03 at 15:33 +1100, Amos Shapira wrote: Do you run Skype? If so - turn off its Allow Skype to automatically adjust my mixer level. Not that it's the only issue but maybe. Skype did have that option but it was not started anyway. Resetting it did not solve the problem. Command line to change volume is: strider: ~ $ amixer sset Master,0 10% Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 31 Mono: Playback 4 [13%] [-40.50dB] [on] strider: ~ $ amixer sset Master,0 100% Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 31 Mono: Playback 31 [100%] [0.00dB] [on] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] sound always zero on sign on karmic
It is not the kernel sound works perfectly after bringing up sound volume. I am running 2.6.31-15-generic by the way. I found some forum posts but these don't make a lot of sense, talking about init.d which runs alsactl. This appears to be related. But it is not about startup and shutdown and I cannot see something related to the lines they are talking about. I su to root and then set the volume and ran `alsactl store` to replace the control file, made no difference. I was thinking that logon might run `alsactl restore` writing a small script that runs on gnome startup to set volume 100% and unmute worked around the problem. Don't know what the source is though. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] sound always zero on sign on karmic
On Thu, 2009-12-03 at 10:13 -0600, Rodolfo Martínez wrote: Have you tried to save your current ALSA settings manually? sudo alsactl store The start up scripts should pick up these settings at boot time or you could restore them with sudo alsactl restore Tried this, no difference. It is not a boot problem. Does it happens every time you open a new session (text, GUI) or only when you reboot the computer? My computer is on 24/7. It happens when I log on and off. You could add the commands to raise/restore the volume to your personal or global profile file (or any other start up script). This is the solution I put into place. Interesting in ubuntu, 'System - Preferences - Startup Applications' will not allow a command line. I created a simple script then put only the script name in the menu and it works then. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] sound always zero on sign on karmic
whenever I sign onto Ubuntu Karmic the sound level is zero and I have to raise the volume. This is an upgraded system, I cannot find right google juice to find answer. Work around to force 100% in start up also accepted. I have an external volume control anyway. Any hints on solving this one. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Weird Word docs
On Tue, 2009-12-01 at 09:09 +1100, Peter Chubb wrote: How do other people deal with these weird documents? Is there an easy way to view or convert them (NOT using Gnome or OpenOffice or other heavyweight GUI tools)? Unfortunately Word is not a specification just a jungle of data that has grown from the first version till today. This means that it is really hard to import these documents. OOo hired the expert who reverse engineered the format for other FOSS tools and therefore it is a really robust strong product. Tables are a major problem, even for OOo, I cannot import the Scouts forms because of their tables cleanly and they keep changing them every 3 months lately, total pain. OOo is your only real choice. Ken (Ex OOo developer) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] quiet computer
My computer is too noisy. It is not graphics because it is not used much and when it does there is enough background noise. It is the power supply and cpu fan that kicks in with cron at 2 am in the morning. I was thinking about adding fluid cooling, is this worth it or else can I where can I get a powerful 24 hour home system that will run quietly? Thanks Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Petabytes on a budget
Also the constraining factor would be the network speed coming in so the actual speed of the hardware would probably not affect it that much. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Ubuntu friendly 12' netbook
On Tue, 2009-06-09 at 12:10 +1000, Dean Hamstead wrote: I have a ~$1000 acer laptop and an acer aspire one. The former is utter garbage, the later is really nice. Brother has an aspire running Linux for wife.Works well from what I can see. It is not exactly stressed though, would not want to compile a kernel on it. Pentium 100 it was an overnight job, ah the good old days. Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] USB ports
I bought a huge backup drive and went to plug it in today and it kept mounting and unmounting it spawning windows along the way. Strange thing is I plugged the same drive into the rear of the computer and it now works correctly. Is it possible that they are two different types of USB port? Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] USB ports
On Fri, 2009-06-05 at 11:33 +1000, David Gillies wrote: Ken Foskey wrote: I bought a huge backup drive and went to plug it in today and it kept mounting and unmounting it spawning windows along the way. Strange thing is I plugged the same drive into the rear of the computer and it now works correctly. Is it possible that they are two different types of USB port? Sounds like the first port you plugged it into might not have enough power to run the usb hdd? I know some Apple notebooks (just off the top of my head) have slightly different power ratings for different usb ports on the same machine. This is an external powered hard drive. So power should not be the problem. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] security monitor with webcam
On Fri, 2009-05-22 at 16:44 +1000, elliott-brennan wrote: I was racking my brain trying to remember the applications name when what should come up on lxer.com?: ZoneMinder http://www.zoneminder.com/ I'd read about this a while ago. It seemed quite good. I haven't used it though. Hope this helps. If you do use it, let me know because I'd be very interested. Zoneminder looks like it will fill the bill. Unfortunately there are bugs with Jaunty and webcams at the moment so I cannot access the webcam :-( It is very easy to access, just a webbrowser your ip/zm -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] webcam woes Jaunty
There is a problem with Jaunty and webcams that I have: https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/359045 Webcams will occasionally work. There is also a Kernel bug that crops up because of something with cheese: cheese: page allocation failure. order:5, mode:0x8004 Googling led me to this: http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.30-rc4 Which I am not running: Ubuntu SMP Fri May 1 19:31:32 UTC 2009 (Ubuntu 2.6.28-12.43-generic) So all in all this is not very successful :-( -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] security monitor with webcam
My flats have had a series of fires (BY Idiots) and I want to hook up a webcam and record all the comings and goings from the building. Fortunately I can do this from my kitchen window. Is there a way to snapshot every second and discard any significant duplicate pictures, pictures would also need to be watermarked with the time. I then want to be able to replay a section of time that is the best estimate of when the fire was set. I may not be home / awake. From a hardware point of view, can I extend the USB wire as I need about 3m extra. Would it still work. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] cannot boot Ubuntu with bios raid setting
Quoting Ben Donohue donoh...@icafe.com.au: Hi Ken, after you set the raid setting, don't you have to then configure a logical drive? what sort of machine is it? server? HP? also usually when you set it to raid it does not matter what the SCSI drive ID is as the raid controller handles this. however i'm not sure of this on all hardware. what happens if you only have one drive in and test? then two and test? etc. is each drive recognized on it's own? see if you can record the scsi id of each. The box is a blade server, Xeon Intel board. In the Raid setting the drives are still recognised independently in Linux so it is not a true raid set up. I know that old DOS machines can only cope with 4 drives, so I figure it is some sort of compatability mode.Machine is a 64 bit so it could be that I have to use 64 bit install to get it to boot but I want 32 bit for the XFS recovery, there is a journalling issue acording to what I have read. Ubuntu automatically put a small /boot so it is not that problem, although that should not matter for a new bios. I don't need an answer, so much as want an answer so I don't struggle with this later. The machine is working 'good enough' and is currently dumping the XFS file system down using dd_rescue.I am not holding out hope that the XFS recovery is going to work, 348 gig out of 3.3 terabytes, 1100 errors already. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] recovering xfs
Quoting Adrian Chadd adr...@creative.net.au: On Thu, May 14, 2009, fos...@tpg.com.au wrote: Still working on this, the whole thing appeared to lock up and we have rebooted.We have now replaced a drive in the raid and hopefully this will work better. Of course this is going to take ages to rebuild. lets hope you don't throw another disk during the rebuild with all of that parallel IO going on. Update: dd has a problem with fatal disk errors, it will stop and loop. There are two programs that will help with this ddrescue and dd_rescue, they are different. dd_rescue appears to be the one that can use seek to skip these fatal errors. I downloaded a staticly linked version from the internet and I am now running the recovery. There are two disks in the original Raid that are cactus when the copy hits them it just dies totally. After a period of time it gets a fatal and then dd_rescue dumps nulls in it's place and moves on. Lessons learnt: - a journalling file system is bigger than what you see, 3Tb is really 3.3Tb when doing a direct copy. - Get lots of harddisk in the beginning. 750G drives really only give you 698G. It is annoying to be 300G short and have to go to the shop again. - Expect lots of wait time, hard errors on raid take a long time to give up. - Don't promise anything, expect it to fail. - LVM is really cool and well worth the time to rad up on it. I am now going to LVM my home system. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] LVM
Quoting Daniel Bush dlb.id...@gmail.com: 2009/5/15 fos...@tpg.com.au - LVM is really cool and well worth the time to rad up on it. I am now going to LVM my home system. I'm planning to do this as well. I was thinking back to Mary's backup post last year and thinking if I could do lvm snapshots with an external harddrive. Still a bit new to lvm though. I think you have to install the alternate ubuntu cd to get lvm right? (unless you are using the server install instead of the desktop). The distinction between desktop and server in ubuntu is an install option not anything else. To add lvm to your existing system just 'apt-get install lvm2'. To convert an existing setup to lvm you have to have some free space (partitions or whole harddisks to use). First create a volume group (chunk of hardisk spread across one or more harddrives) sudo lvm pvdiskscan pvcreate /dev/yourpartions vgcreate vg1 /dev/part1 /dev/part2 create a logical volume somewhere in that volume group (say 300 gig named yourname in vg1) lvcreate -L300G -n yourname vg1 You can then mksfs.ext3 /dev/vg1/yourname (replace ext3 with whatever is appropriate) and then mount it. Snapshots I cannot vouch for snapshots. There is something different lvm1 and lvm2 for snapshots and they cannot be used V1 to V2, since I am not using them I have not done any further reading. I think gparted can be used to manage LVM after it is set up. I cannot verify this though. You can add hard drives from the VG once you have created it. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] recovering xfs
I have a very large xfs file system that is corrupt and there is an IO error in the middle of the file system, xfs_repair crashes. A bit of reading and I have a solution, just thought I would put it out there in case I have forgotten something. Booting xeon server with 32 bit Ubuntu live CD. All the hard disks on new server in LVM giving me 3.76 TB. I am copying 3.3TB from the other server. First I need to grab a copy of the data across the network, from my new server I access the old server: ssh r...@server 'dd if=/dev/vg1/lv1 conv=noerror,sync' | dd of=/dev/vg/lv01 next I simply repair it xfs_repair /dev/vg/lv01 Mount it. I figure this bit is easy by my reading, Ubuntu handles xfs out of the box (read only so that it cannot be used as a proper server) I am reading from a 32 bit server and booting a Xeon server with 32 bit live CD. This means the NFS should match correctly. Is the above basically correct? Is there any hints that I might need. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] recovering xfs
Thanks for replying. nc in your command simply replaces ssh, so I think this is the same thing. I am not using nfs, I cannot mount anything so it is raw, going logical volume to logical volume. They are slightly different sizes, hope that will not kill anything. The server that is being copied originally had an LVM so there is no obvious conflict here.I don't care whether it is fast, it is a recovery operation not a prime server. Ta Ken On Wed, 2009-05-13 at 21:10 +1000, Tony Sceats wrote: I'm actually not sure I'm reading this right, but I don't think you want to dd to an NFS share? Maybe you meant XFS should match correctly? If you're trying to do it over a network, I would have thought you'd have more luck by piping dd through an nc connection, then dd back to a disk on the target ie, on old server : dd if=/dev/vg1/lv1 conv=noerror,sync | nc NEWSERVER PORT on new server: nc -l PORT | dd of=/dev/vg/lv01 Also I'm not sure how the LVM is going to interact because I don't tend to use LVM on my production servers with XFS On Wed, May 13, 2009 at 7:14 PM, Ken Foskey fos...@tpg.com.au wrote: I have a very large xfs file system that is corrupt and there is an IO error in the middle of the file system, xfs_repair crashes. A bit of reading and I have a solution, just thought I would put it out there in case I have forgotten something. Booting xeon server with 32 bit Ubuntu live CD. All the hard disks on new server in LVM giving me 3.76 TB. I am copying 3.3TB from the other server. First I need to grab a copy of the data across the network, from my new server I access the old server: ssh r...@server 'dd if=/dev/vg1/lv1 conv=noerror,sync' | dd of=/dev/vg/lv01 next I simply repair it xfs_repair /dev/vg/lv01 Mount it. I figure this bit is easy by my reading, Ubuntu handles xfs out of the box (read only so that it cannot be used as a proper server) I am reading from a 32 bit server and booting a Xeon server with 32 bit live CD. This means the NFS should match correctly. Is the above basically correct? Is there any hints that I might need. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] recovering xfs
Problem dd sat and looped on a single point last night. I have downloaded a statically linked version of dd_rescue and I am now trying this. Fingers crossed. ssh r...@server '/root/dd_rescue /dev/vg1/lv1 -' | cat /dev/vg1/lv1 It is coming up with this error though: dd_rescue: (info): ipos: 34031.5k, opos: 34031.5k, xferd: 34031.5k * errs: 7, errxfer: 3.5k, succxfer: 34028.0k +curr.rate:11628kB/s, avg.rate: 149kB/s, avg.load: 0.1% dd_rescue: (warning): /dev/vg1/lv1 (34031.5k): Invalid argument! -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] recovering xfs
Quoting Adrian Chadd adr...@creative.net.au: And what is being logged in dmesg? Your kernel should be spewing a whole lot of error messages if your physical media is returning errors. Still working on this, the whole thing appeared to lock up and we have rebooted.We have now replaced a drive in the raid and hopefully this will work better. Of course this is going to take ages to rebuild. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] cannot boot Ubuntu with bios raid setting
I have a machine with 6 Harddrives sda = sdf and when I install Ubuntu desktop it will not boot. There is a bios setting for raid and if we set this on we see all 6 harddrives but the install will not boot. If we set it to not raid we see 4 harddrives and it will boot. Any suggestions? Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] 64 bit flash
On Mon, 2009-05-04 at 14:01 +1000, Heracles wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, Just found my own answer. I still had the old libswfdecmozilla plugin loaded so it was trying to display the flash. Removed the link and it now works EXCEPT for the sound. Heracles Heracles wrote: Has anyone had much luck with the 64 bit flash plugin. I can't seem to get it to work properly. All I get is a black screen. Make sure you are using the genuine alpha for Flash. There is a nswrapper thing that is really dodgy. This might help, have only scanned it but looks pretty good http://ubuntulinuxhelp.com/adobe-flash-10-64-bit-use-the-alpha-version-instead/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] 64 bit flash
Quoting Daniel Pittman dan...@rimspace.net: More seriously, none of the free Flash replacements worked correctly outside of the Firefox environment when I last tested them, which was very disappointing. Flash crashes in Firefox occasionally and gives up on some of my son's flash games which frustrates him however I always get good results from vlc playing flash. I use an extension to grab the media file then play it outside firefox. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] interesting gnome trick
Found a trick today by accident. Put your mouse over the bottom bar, the one with the list of open windows, eg evolution and firefox.Use the scroll wheel to bring to the foreground the different applications. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
On Tue, 2009-04-07 at 16:10 +1000, Daniel Pittman wrote: Robert Collins robe...@robertcollins.net writes: On Tue, 2009-04-07 at 15:25 +1000, Daniel Pittman wrote: Out of curiosity, what number of users are you considering real users here? I agree with what you are saying, but you certainly seem to have a much, much higher standard than I (at least) am used to for real use. Millions. *nod* Fair enough. In that case, indeed, I have never worked on software with real users. IIRC, the peak deployment of any software package I worked on[1] was only a few tens of thousands of people, at a some hundreds of different companies around the world. All very experimental. Hmm discounts all my work. In one company a mere 2,000 employees got to see it. Hey if my software is used by tens of people but the results are seen by millions does that count? Nope I guess not really. I am wandering away depressed that I have squandered my life programming meaningless applications... -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
On Tue, 2009-04-07 at 18:39 +1000, Jeff Waugh wrote: Not sure it makes too much sense to review your life's work on Daniel's very literal argumentation... :-) My response was to Rob wanting millions of users. My work on OpenOffice is not any better in numbers than my corporate work. I worked with the developer components, work out how, sadly, few users my parts actually had. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
On Mon, 2009-04-06 at 21:32 +1000, Jeff Waugh wrote: quote who=Morgan Storey Uhh Darwin ports... it basically gives you apt-get for mac. I am not a fan of macs but I am pretty sure it has been around for a while: http://darwinports.com/ That's an add-on, not a core part of the operating system. Really, packaging doesn't count until the entire system is built with it (or you have a versioned, consistent API/ABI core that the packaging system can sit on). I did not understand this before I started work on OpenOffice: http://en.wikipedia.org/wiki/Application_binary_interface There was a really good document on why a stable ABI for a library is important and how to achieve it but I cannot find it right now.For example when you add a parameter to function X you create another function Y with the original signature and give a sensible default to the new parameter. The authors name started with H from memory, something sounded German. Nuts! -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] sluggish (no pun) cursor
On Tue, 2009-04-07 at 00:07 +1000, david wrote: I've noticed that the cursor response is getting sluggish - for instance when holding down an arrow key in a text document, the cursor used to fly across the screen, but now it seems to have got elderly and reluctant. Half it's old speed. I've tried all the usual things wd40, incantations to Ubuntu gods and kicking the box, but to no avail. Top shows 97% idle most of the time. It doesn't appear to have anything to do with accessibility option settings. Any suggestions? Do you have graphic effects enabled? I have a lot of conflict with rdesktop (remote windows access) and compiz, keyboard slow or buggered functioning. What application are you using? What graphics hardware? Drivers for screen? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
On Tue, 2009-04-07 at 00:19 +1000, Ken Foskey wrote: There was a really good document on why a stable ABI for a library is important and how to achieve it but I cannot find it right now.For example when you add a parameter to function X you create another function Y with the original signature and give a sensible default to the new parameter. The authors name started with H from memory, something sounded German. Nuts! Found it, no H in the name... This is a very technical document describes how to optimise library loading speed. This is probably too technical (read boring details) for most programmers but I found it very interesting. How To Write Shared Libraries Ulrich Drepper Red Hat, Inc. http://people.redhat.com/drepper/dsohowto.pdf -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
On Tue, 2009-04-07 at 00:40 +1000, Daniel Bush wrote: I sometimes think the converse can also be true at times - speaking from very modest experience. In the first instance, the client/boss asks offhandedly: Can you make this small change? and it ends up being a rewrite of your life's work or you end up founding a new branch of computer science in your basement in the wee hours of the morning just to solve part of the problem (I kid!). Then they frown and get all tentative and worried and ask: Can you do this? Is it difficult? for something that ends up being a one-liner in a template somewhere. This is always true. I work the users of my applications to raise any complaints. If I do have to do a major change I can sometimes incorporate another requirement at the same time that was previous too expensive. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Defining Mainsteam
On Tue, 2009-04-07 at 11:55 +1000, Jeff Waugh wrote: quote who=Daniel Pittman Experimenting is fun. Reality is hard. I notice you omitted the section of my email where, indeed, I note that this is from practical experience. Sorry, but ROX and GNUstep are experimentations. They don't have users or vendors or real systems they need to integrate with or previous version compatibility issues, etc. When I say reality, I mean products shipping and an active marketplace around them (which *can* be said for GNOME/KDE). Then the hairier issues of software support beyond hey does this stuff work? start to bite. This appears to diminish the experiments that do occur. I can agree with your generalisation however we should not minimise any effort on FOSS, even experiments. What about those scheduling experiments on the kernel, ultimately led to a major performance improvement for me personally. The problems with packaging really are not with the software but with all the prereq management. This is the strength of debian apt, not so much the install code itself. This does not minimise the complexity of the code itself but just where the true effort was in the first place. People often think a program is the solution, often the data feeding it is much more important. Think Redhat before they began merging Debian prereq information, it was really problematic. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Booting (and logout) problem
On Tue, 2009-04-07 at 12:54 +1000, Jobst Schmalenbach wrote: Anybody knows what this might be? Based on Debian but hopefully it wont be too far wrong. Before you start a new X look at the ~/.xsession_errors file and see if anything is there. Look at /var/log/Xorg.0.log, and finally look in /var/log/gdm/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latest or recommended ways to display Gnome Desktop from Windows boxes.
On Thu, 2009-03-19 at 17:01 +1100, Michael Lake wrote: Ken Foskey wrote: I have an open X server at home and I simply run X on my windows desktop to get into it: cygwin X -query myserver Pretty simple, very insecure it is reliant on network security. So I would need Cygwin/X not the normal Cygwin? I have a cygwin on my Windows box that gives a bash shell but I presume I need one with X? When you write X -query myserver is that using Xnest ie do you mean Xnest -query myserver ? Straight from Bash itself, you are starting a new Xserver and linking it to the actual server in one step. You can probably do this with a windows batch file in one step but I have no need. If you get a grey box coming up then you have to enable xdcmp (I think) in the sign on daemon you use (eg gdm). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latest or recommended ways to display Gnome Desktop from Windows boxes.
On Fri, 2009-03-20 at 14:19 +1100, Michael Lake wrote: I can run though things like xterms and from those run the Gimp from the remote machine. Works very well and is not slow. I just have to work out how to run a Gnome session so the users on the Windows machine locally can see the Gnome menus on the remote machine. Ensure you have xdmcp enabled: (See I got it wrong...) system: Administration : Remote (tab) check that Style is not set to 'Remote login disabled'. This is insecure, so ssh is far more secure. You could tunnel through but it would take more set up. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Latest or recommended ways to display Gnome Desktop from Windows boxes.
I have an open X server at home and I simply run X on my windows desktop to get into it: cygwin X -query myserver Pretty simple, very insecure it is reliant on network security. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] bugzilla setup
I got bugzilla working OK.For the record I had to create a link, this was missing /usr/share/bugzilla3/web/ /var/www/bugzilla3 I then had to hack out security from the scripts to configure it then reinstate it. Not sure what I did wrong in the set up. I got this error attempt to invoke directory as script: /usr/lib/cgi-bin/bugzilla3/ I had scriptalias in my apache setup. This line had scriptalias and it stopped index.cgi being used. /etc/apache2/sites-available/default Alias /cgi-bin/ /usr/lib/cgi-bin/ Finally I got a couple of skins from https://wiki.mozilla.org/Bugzilla:Addons I went to /var/www/bugzilla3/skins and linked contrib/BrownCurvy/ to custom and it looks pretty nice now. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] bugzilla setup
On Wed, 2009-03-11 at 11:23 +1100, Daniel Pittman wrote: The biggest thing, though, is for you to identify what you actually want to achieve with this. Without knowing that there are some very different options available, and probably only some will help you. Multiple clients, different applications and projects per client. The different clients should not even know that the others exist. Right now it is about bug tracking but a full management process would be nice in the future. I was going to set up a wiki as well so if this was integrated it would be nice. Ability to store email for traceability would be good. Ability to totally remove projects from the online once closed. There are some potentially huge files in these projects. Ability to restore projects, to main server or a backup server, to locate information on a closed project. Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] bugzilla setup
I am trying to get bugzilla3 working on my ubuntu server and it looks awful. Is there a CSS that needs to be installed to make it look nice? Is there a better very simple web based bug tracking that I should be using? Ta Ken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Downloading files with .asc extention.
I recall vaguely that there is a file that lists extensions and the filetypes associated with them. You could look for that and modify it. Ken On Tue, 2009-03-10 at 07:09 +1100, Erik de Castro Lopo wrote: Hi all, I've got a pair of files on my website: http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz.asc The second doesn't seem to want to download in Mozilla due to a Content Encoding Error. It downloads file with wget and gpg is happy to verify the tag.gz. Anyone got any idea whats going on here? Erik -- - Erik de Castro Lopo - Turks embrace novelist's war on EU http://www.iht.com/articles/2005/10/12/news/novel.php -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Why would nautilus be using 50%
My system has begun pausing badly today and Nautilus is running 4 Gig virtual and 1 gig real, this would seem to be part of the problem. There is nothing really obvious on top. Any suggestions? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Why would nautilus be using 50%
On Fri, 2009-02-13 at 14:17 +1100, Ken Foskey wrote: My system has begun pausing badly today and Nautilus is running 4 Gig virtual and 1 gig real, this would seem to be part of the problem. There is nothing really obvious on top. Any suggestions? I ended up rebooting and everything is back to normal. Is it possible that Nautilus is holding four copies on the background images? 1 for each desktop (two of them, and I had the images scaled) and it changes on startup, automatically by a script, to one of the other backgrounds. hence 2 desktops, X 2 copies all scaled and therefore stored in Nautilus. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html