Tags: ubuntu

Pages: 1 3 4 5 6


  01:14:00 pm, by The Dreamer   , 3144 words  
Categories: Software, Operating Systems, Ubuntu, FreeBSD, CFEngine

Last two weekends - nagios and more cfengine 2 & 3

So, what started as take a week to set up a new nagios server at work ended up taking almost a month...because there were many days where I'd only have an hour or less to put some time into the side task. The other stumbling block was I had decided that the new nagios server configuration files would get managed under subversion, instead of RCS as it had been done in the previous two incarnations. New SA's don't seem to understand RCS and that the file is read-only for a reason...and its not to make them use :w! ... which lately has resulted in a the sudden reappearance of monitors of systems that had been shutdown long ago.

Though now that I think of it, there used to be the documented procedure for editing zone files (back when it was done directly on the master nameserver and version controlled by RCS.) Which as I recall was to perform an rcsdiff, and then use the appropriate workflow to edit the zone file.

% rcsdiff zonefile

if differences

      % rcs -l zonefile
      % ci -l zonefile
        make rude comment that somebody made edits
      % vi zonefile
      % ci -u zonefile


      % co -l zonefile
      % vi zonefile
      % ci -u zonefile


But, when I took over managing DNS servers, I switched to having cfengine manage them and the zone files now live under masterfiles, so version control is now done using subversion. Had started butchering the DNS section in the wiki, probably should see about writing something up on all the not so simple things I've done to DNS since taking it over...like split, stealth, sed processing of master zone for different views, DNSSEC, the incomplete work to allow outside secondary to take over as master should we ever get a DR site, and other gotchas, like consistent naming of slave zone files now that they are binary.

Additionally work on the nagios at work was hampered by the fact that for Solaris and legacy provisioning is CF2, and the new chef based provisioning is still a work in progress...where I haven't had time to get into any of it yet. So, I had to recreate my CF3 promises for nagios in CF2.

But Friday before last weekend it finally reached the point where it was ready to go live. Though I've been rolling in other wishlist items and smashing bugs in its configuration, and still need to decide what the actual procedure will be for delegating sections of nagios to other groups.

One of the things I had done with new nagios at work, was set up PNP4Nagios...as I had done at home. And, while looking to see if I needed to apply performance tweaks to the work nagios, all the pointers were to have mrtg or cacti collect and plot data from nagiostats. Well, a new work cacti is probably not going to happen anytime soon, and the old cacti(s) are struggling to monitor what they have now (I spent some time a while back trying to tune one them...but its probably partly being hampered by the fact that its mysql can use double the memory that is allocated to the VM. though reducing it from running 2 spine's of 200 threads each...on the 2 CPU VM to a single spine with fewer threads has helped. Something like the boost plugin would probably help in this case, but the version of cacti is pre-PIA. But, it could be a long time before it get's replaced (not sure if upgrade is possible....) Our old cacti is running on a Dell poweredge server that has been out of service over 6 years... with the cacti instance over 8 years old (Jul 8, 2005)....and the OS is RHEL3.

Anyways, it occurs to me that there should be a way to get PNP4Nagios to generate the graphs, and I search around and find check_nagiostats. Though no template for it. Oh, there's a template nagiostats.php, if I create a link for check_nagiostats.php it should get me 'better' graphs. Which is what I have CF2 do at work.

Full story »

Pages: 1· 2· 3


  05:58:00 pm, by The Dreamer   , 2452 words  
Categories: Software, Ubuntu, FreeBSD, CFEngine

Moving irssi

So, recently there was a 'long' 4th of July weekend....on account that I opted to take Friday (the 5th) off as well.

I kind of thought I would tackle a bunch of different projects this weekend, though I've pretty much shelved the idea of re-IP'ng my home network. Perhaps something to do when I get my configuration management better fleshed out.

What I decided was that it looks like its just one last thing on one of the two Ubuntu servers that I'm retiring. So, I figured I'd quickly move that and then go onto the next thing. In the end, I didn't get it completed until Monday night.

For background, some years back...after my return to IRC, I had initially gone with Chatzilla (being that Firefox was my standard browser), which later moved to xulrunner and Chatzilla so it was independent of my browser. Though it was kind of annoying having it running at work and at home, and somewhat confusing for co-workers that ran text based IRC clients in screen somewhere and ssh'd in, etc. Most people that did this, were doing irssi.

So, I initially built it from source and was running on my old RedHat 7.3 server, and that was usable. Later when I setup an Ubuntu box to replace that server (the hardware had previously been SuSE....acting as an internal router for ivs status tracking....) It evolved, in that I would start screen detached from rc.local....which was important since the system would see patches on a regular basis, requiring reboots....which is kind of a reason for switching to FreeBSD.

Over time, I would make little tweaks here and there, to this irssi setup. Like twirssi, doing ssl, and later bitlbee to integrate Facebook chat (came across some stuff that I should add now...)

And, incorporating other tweaks I come across online when there's some problem that becomes sufficient bothersome that I want to address. The one problem I haven't haven't been able to solve is keeping server/system messages confined to the one window. Namely keeping system CRAP going to the system window, and allow channel CRAP to show up in the channel windows....but instead I'll get system CRAP in whatever channel window is active. Which is annoying because its usually the work channel. Where it be just signal and no noise.


I had started to move things more than a month ago, in that I built irssi and bitlbee (including the cfengine3 promise for it...not really much config wise for cfengine to manage for irssi...though I envisioned promising that its running all the time, though irssi has generally been stable everywhere else that I've run it.

But, the I got distracted by other cfengine3 work. Even though things started to get pressing when twirssi stopped working, due to API 1.0 going away...so I had to update Net::Twitter and twirssi. Updating twirssi wasn't that hard to do, but Net::Twitter was a problem, so I opted to remove it and its dependencies and then installing it and its dependencies using CPAN.

I also made note to install net/p5-Net-Twitter from ports on dbox.

twirssi seems to be having other issues, which I had intended to investigate...perhaps after I move... But, that was like a month ago....

Full story »

Pages: 1· 2


  09:32:00 am, by The Dreamer   , 659 words  
Categories: Software, Ubuntu, FreeBSD

Ubuntu squid with SSL

Link: http://lawrencechen.net/ddclient-aamp-squid

This is an update to the "ddclient & squid" here

Ran into a new problem recently....though the need for SSL in squid on ubuntu is deprecated, by the fact that I'm slowly replacing this server with a FreeBSD server.

As a result, I don't pay attention to this ubuntu server as much as I used to, so I've configured unattended-upgrade. It was installed, but it didn't seem to do anything in that on other servers I'd log in to find that there are lots (40+) of patches available and more than half that are security. Since I came across how to configure it to do more than just security patches, including send me email and on some systems automatically reboot when necessary. (should've thought to see how unattended-upgrade is configured and doing such things in the Ubuntu AMI I have in AWS)

Since I got unattended-upgrade configured on this old server (32-bit Ubuntu Server, which I've heard they have a 12.04LTS download for??? They had said they dropped 32-bit server support, so there was version with 10.04LTS. So I couldn't upgrade and now I'm way past EOL, which is causing problems...probably need to hunt down the landscape and ubuntuone services and nuke them, instead of letting them degrade my server for being EOL.) I've also had to update packages on here from outside sources to keep things running, so guess I should work harder on abandoning this server.... Where it'll likely get reborn as [yet ]a[nother] FreeBSD server....along with the server that I think I have all the parts collected for it, but just need to sit down and put it together. It started as a mostly function pulled 1U server, in need of ... well either new fans or a new case.... I opted for the new case route. It also needed drives and memory. But, as a result of the new case route...aside from case/powersupply...it meant I would need to get heatsinks...since the passive ones based on the 1U case channeling air flow....would be hard to recreate in the tower case I went with. Its a huge tower case, given that its an E-ATX motherboard...yet it isn't a full tower (like the formerly windows machine called TARDIS...someday I'll work its regeneration....need money to buy all the bits and pieces that'll make that up, which I haven't fully worked out what those will be....or where it'll go since my dual 23" widescreen FreeBSD desktop has consumed all of the desk that it would've shared....and not really keen on the idea of a KVM for this situation. :hmm: )

Anyways...every day I get an email from unattended-upgrade for this system.... with:

Unattended upgrade returned: True

Packages that are upgraded:
Packages with upgradable origin but kept back:
 squid squid-cgi 

Package installation log:

Unattended-upgrades log:
Initial blacklisted packages: 
Starting unattended upgrades script
Allowed origins are: ["['Ubuntu', 'heron-security']", "['Ubuntu', 'heron-updates']"]
package 'squid' upgradable but fails to be marked for upgrade (E:Unable to correct problems, you have held broken packages.)
Packages that are upgraded: squid-common
Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg_2013-07-06_08:05:42.056193.log'
All upgrades installed

This is because of that quirk where even though I rebuilt my version with SSL, and kept it the same version...it wants to install its version to replace mine (of the same version). Which is why I did the hold thing.

I could do the alternative of add a string to make my version advance from current....though I suppose I won't unhold...so that unattended-upgrade won't upgrade should such a thing appear (unlikely since both the OS and squid are ancient...and there'll be no more updates.) But, the intent is to hopefully silence unattended-upgrade in this matter.

Though kind of surprised its still doing something....hmmm, guess there was a new security patch to squid 2.7 back on January 29, 2013....that I've been missing (suppose its already downloaded the update in its 'cache'....or the backend is still there, its just not getting updates beyond what's there....whatever, I think I'm down to one more service to move off....)


  05:53:00 pm, by The Dreamer   , 1493 words  
Categories: Hardware, BOINC, Operating Systems

Another Radioactive@Home sensor in Manhattan, KS

So, there's this BOINC project out of Poland called Radioactive@Home, where you have a radiation detector hooked up to a computer taking samples, etc. Its my second BOINC project with a hardware sensor. Though I had signed up for this one first...back on June 16, 2011. QuakeCatcherNetwork had come later, but getting a sensor was quick (though there were delays in getting it working, they had switched to a new sensor where they didn't have Linux drivers yet...etc., etc.) But, doing Radioactive@Home took longer as sensors are built in batches, there had been early batches that I missed and I wasn't all that sure at first if I really wanted do go to the hassle of getting one.

But, then another user announced that he would do a group purchase of 50 or so, which it should cut shipping costs quite a bit by having a cheaper large shipment from Poland, plus domestic delivery for the last leg. The way delivery costs go, you can get up to 3 for the delivery charge...though most people only want one....at least initially.

Basically I ordered my first detector around August 2011, and finally received it in March 2012. And, it just runs...though occasionally I'll look to see if anything interesting is recorded (like the interesting trace for around the end of the world....)

Meanwhile, on June 26, 2012 there was an announcement of a new detector...a pretty looking one. My first sensor was a prototype type case with rough cutouts, etc. Not really bad looking, but still plain and crude looking. While the announced sensor looked neat, the kind of thing that I might considering putting on my desk at work....

So, there was basically an announcement that there wasn't going to be another bulk US purchase...so after some thought, I decided this new detector was just too pretty to pass up. So, I ordered one mid to late July, 2012. Got confirmation on July 23rd, 2012. 27 Euros for the detector plus 10 Euros for up to 3 detectors, more than 3 pay for the detector now, get bill for actually shipping cost later. Plus if I use PayPal to specify that I'll pay the transaction fees....

In the previous order, it had been requested that we have PayPal funds to pay for the transaction....or use a check. I had tried to keep a float of cash in my PayPal account....but when it finally came time to pay, there wasn't quite enough to do that, so I opted to just mail a check. For this second order, I went with PayPal and had PayPal add the transaction charges to my total.

First detector cost me $46.25 by personal check. Second detector cost me $47.36 (and conversion and including the transfer charge).... I sent the PayPal money on August 21, 2012.

And, then it was wait and wait and wait. I would check the boards now and then for updates...but it was mostly other people wondering the same thing.

Eventually, I stopped checking in...and kind of forgot all about the sensor. Though I did visit the site briefly, but didn't linger or read the detector threads...which I went to check what platforms the project supported. Because when I had originally ordered, I was down to a Solaris 10/x64 workstation, a Windows box, a first gen MacBookPro (32-bit Core Duo). and a dead Linux machine. Eventually, I got a computer to replace the dead Linux box...but I went with FreeBSD instead, and it eventually displaced the Solaris workstation. In February, 2013 while I was working late on my FreeBSD system, I saw the Windows box update itself and reboot, and then it failed to boot. It had killed itself....pretty much the same way my home Windows box had killed itself in an auto-update in February, 2012. I left it off, not sure what I would do with it....I thought about OmniOS or SmartOS...though it was a first gen i7, so no EPT for KVM. Eventually, I decided to install Ubuntu 12.04LTS on it....where its mainly backup for when my FreeBSD system crashes.... its one thing that new Seagate drives only have 1 year warranties...its another thing that they seem to have trouble lasting that long.....

And, then an iMac 27" appeared on my desk....back when it seemed bleak on getting FreeBSD working as my main workstation....I was talked into getting one. But, FreeBSD remains my main workstation....while there are somethings that the iMac is the only computer I have where things work (like being able to participate in WebEx, Lync, Google Hangouts or Xoom for web conferencing....plus it finally solves having mail staying open while I switch to the appropriate desktop to do whatever....I'm up to 17 now....where there are typically 4 to 12 windows...either of uniform size, or variable size, and some desktops the windows overlap, though that desktop is mainly for tailing logs.... Where I'm up to 2 full desktops and 2 half desktops for that.... Anyways, I had made a quick visit...because I wondered if Mac OS X was a supported platform (it wasn't) or if anybody was using FreeBSD for this project....didn't get any search hits. And, it seemed unlikely that the hardware part would work through the Linux emulation on FreeBSD (especially the Fedora 10, and I'm not sure what the process for converting to the CentOS 6 is, that wouldn't break all the things I'm using Linux emulation for....though it is mostly other BOINC projects.) Though doing the search now, I see that a couple days ago the question got raised....with not much luck on having it find the detector ... but ending with a link to a FreeBSD version of the application.... Though since I have a Linux system at my desk (where is primary purpose is to run VBoxHeadless containing Windows 7, for those occasions where I need to use vSphere Center...and passing the time doing BOINC)...I'll just go with running new detector should it ever arrive...on that.

Full story »


  08:57:00 am, by The Dreamer   , 838 words  
Categories: Home Theatre, Software, Momitsu V880N, FreeBSD, CFEngine

This just in, cfengine developers don't test or use cfengine!?

So, this morning I was was wonder why my nagios was still warning about something that it shouldn't be. I was positive I had changed the warning threshold above where it was. I do an 'svn status' on my work dir, nothing uncommitted. I do an 'svn up' on the cfengine server....no updates, I drill down to the file and its correct (perhaps I need an alias on this side as well...though I usually only use 'cdn' for where my svn work dir is or on the nagios server....though its because at work....where this alias is used in association with nagios as well (where work nagios is not yet managed by cfengine, but was considering it for the new nagios server that I'm trying to set up between fires and stuff at work....except the fact that we're still running cfengine2 is really starting to become a problem......though I wonder if cfengine2 could do it, if it weren't hampered by how former admin had implemented things....The work cfengine made a mess with using it to setup a new system because of weird cross interactions between 'promises' and that the promise wasn't written in the same sequence it was running, things that probably aren't a problem when cfengine was original deployed to promise that nothing ever changes....)

Anyways....I finally hunt through the -v output... which is now not much different than debug noise, and nothing like what verbose used to be in 3.4.4.....no more search for 'E nagios' to find where the start of "BUNDLE nagios" is in the out, and then finding the specific file promise..... what a mess. Its like they don't want you to know what's going wrong....

Turns out I missed some more uses of 'recurse' from cfegine_stdlib.cf, where xdev=true is busted.

It was one of three bugs that I had logged for cfengine 3....#2983. Which was almost immediately flagged as a duplicate of #2965 (3.5.0rc fails to recursively copy files with strange message)...and this morning at 5:03am, my bug was closed as that it indeed seems to be fixed for 3.5.1 (soon...).

Wonder what the definition of soon is....had a previous problem where cfengine was complaining about bad regex....when the default for insert_lines: is that they are 'literal' strings. Which was making it hard to use cfengine 3.4.x to make edits to my crontab files. After putting up with it for a couple of months, I finally visit the bug tracker and find that its already been reported and fixed for next version. But, months and months go by and no new version appears. Though it does seem to be fixed in 3.5.0.

Anyways reading #2965 was interesting.... aside from where the dev? spots another bug in the same code and has that pulled as part of the bug. Also that it was reported against RC, and made it into release. Though I had reported a bug in against an ubuntu 12.04 beta release....and it persisted into the release version, where they debated fixing it because apparently LTS means don't update anything after its release...(though I thought they had said things like firefox would stay current instead of staying fixed at the version at time of release now...) Plus it seemed I had to keep reminding them that my bug was reported before release, so that should be reason enough to release the fix. I'm pretty sure they did, but I hardly use that ubuntu desktop anymore (or any ubuntu desktop....though I did fire up my laptop yesterday, but its because there was a new VirtualBox and I hadn't updated the XP VM on there in quite some time....though I've been thinking of whether a FreeBSD laptop is feasible.)

Someone asks that they have a unit test for this bug. Where the response is a unit test would need a running server, which they don't have (yet)...how long has cfengine been around for them to not be using it? Sure wouldn't want to be somebody who's paying for this.

So does that mean nothing is being tested, and that nobody involved in development use cfengine? Because this was the kind of bug that pretty much anybody that uses cfengine3 would run into. Considering I only have the 3 systems (zen - policyserver, cbox, dbox) at the moment....

Perhaps I'm jaded by having worked for an Enterprise software company and how we did full builds every week, and with full runs of automated and manual QA testing. And, having to create unit tests for less than trivial bugs as part of fix/review before closure process. Though what I'm hearing about Chef...its worse....

Still haven't decided what I'm going to do with my Linux systems....migrating the files from Orac if I were to turn it into FreeBSD is the stumbling block, plus I would lose certain services...some of which might not really be an issue, since its probably time I make the leap to blu-ray. And, either I get another Roku or figure out how to incorporate the smart side of my TV into my life (probably time to finally upgrade my receiver....purchased October 27th, 1999)....


  11:29:00 pm, by The Dreamer   , 2462 words  
Categories: Hardware, Software, Computer, Networking, Operating Systems, Ubuntu, FreeBSD, CFEngine

The home servers migration got off to a rough start...

My 10.04LTS servers are nearing the end of the line, but the move to get them upgraded is starting to get close....

At first I was waiting for the 12.04.1LTS update to appear, so that I might try upgrading them to Precise. But, then it struck me that it struck me that it might be time to replace one of the servers with new hardware.

The boxes had been servers for many years now, but in 10.04 they dropped support for 32-bit hardware as servers....which means one of my servers, and the more important one...is nearing EOL.

So, back in August....I came across a Shuttle XS36V open box on newegg.com....so I ordered one, along with an 8GB SODIMM memory set (a pair of 4GB)....the computers support a maximum of 4GB, but in my mind I was thinking that if this worked, I might get another to make a pair.

But, then it sat around as I go on to other projects....I had figured on using one of the 120GB SSDs that I had acquired earlier....

Realized what was strange about these boxes was they had serial ports, so I started thinking about network serial and setting these boxes up headless. Since I had done a server at work for serial with FreeBSD, I got to thinking that I would do the same with this. Plus I was really finding to be much more predictable/stable than Ubuntu....something that's good in a server.

I started revising the plans as I went....ended up deciding that I would have one that is default cable and one that is default dsl, and running the usual core...one would be master DNS, and the other one be the primary slave....just as one would be primary DHCP and the other secondary....both would do freeradius. Both would NTP servers. Both would do mail, though zen is my main mail system. They would have both apache and nginx on them...apache to run local web services....and nginx doing reverse proxy to the other web apps on my home network (kind of important since current cable router is a step back with it only supporting 16 port forwards....though I have a replacement that I'll get to setting up some day...)

Then while I was poking around on newegg.com, spotted that there was another open box Shuttle XS36V....so now I had two boxes. I had picked up once Cyclades ACS1 earlier on ebay, so I got a second....a 'new' one for about the same price. Just needed to find time. Perhaps after FreeBSD 9.1 drops.

Well, it dropped....but I still wasn't ready...now I needed some SSD drives for the machines. So, I used the $30 in RewardZone for the new TV I had gotten in September, and picked up a pair for 128GB SanDisk Extremes. And, then I started setting up the ACS1s....hmmm, wonder if I have any serial cables. Okay, I'll buy some of those first.... I end up ordering from TigerDirect, as they have a better price on RJ45 to DB9 adapters....not that I need them for the actual ACS1 to Shuttle XS36v connection...that's just a 9F to 9F null modem cable.

Pages: 1· 2· 3· 4


  01:00:00 pm, by The Dreamer   , 370 words  
Categories: Computer, BOINC, Ubuntu, FreeBSD, Virtualization, VirtualBox

VirtualBox VDI and 4K alignment

So, after my Windows 7 machine at work ate itself after a Windows Update. I decided to turn it into an Ubuntu 12.04 system.

But, so much for becoming Windows free. I was informed that I need a Windows machine to run vCenter on, because the shared Windows 2003 server that we had been using is going away.

So, I setup Windows 7 in VirtualBox...pretty simple. But, soon I was getting ext4 messages complaining about unaligned access for a certain inode. The VDI for the Windows 7 install.

I searched around on VDI and 4K alignment, and eventually found this:

HOWTO: Modify empty VDI for optimal alignment of Windows

Though reading further it seems to suggest that newer versions of VirtualBox get the alignment right for you....and 4.1.24 is much newer than 3.0.12 in the original post. (had opted for 4.1.24, since 4.2.6 is not recommended for BOINC Test4Theory....but 4.2.8 is out now, and it is recommended....so it'll be time to go and update all my machines, I guess. The only systems with 4.2.6 were FreeBSD, because the 4.1.24 will cause the 9.1 kernel to panic on VM exit. though don't know if 4.1.24 was bad in ports or not, had been 4.1.22 before upgrading to 9.1 -- but had to recompile the kernel modules after the upgrade so had first tried 4.1.24....)

So, I went through the HOW-TO to create an new emtpy VDI...and found that it is already 4K aligned. So, why was the VDI created through the 'New Wizard' in VirtualBox Manager not?

Anyways...I then booted gparted and copied my partitions over to the new VDI....and then had to boot the Win7 installer to fix the startup to get it to boot, and no more complaining.


Guess I'll have to remember to create VDI before creating the new VM in the future? Wonder if there are issues in other disk image formats. Wonder if ZFS would complain that my VDI isn't aligned? Wonder how to check? Though the other formats I use are either VHD or VMDK. VHD because that's what Microsoft Windows Image Backup creates, and I'm using the last one of Zen to try to recover files from.... VMDK is after an import/export of a VM or for raw zvol accesses. So, guess those aren't areas of concern for me right now.


  05:26:00 pm, by The Dreamer   , 562 words  
Categories: Software, BOINC

New Chart option at Radioactive@Home

I was poking around on the Radioactive@home message boards, after finding that my sensor had stopped working when the app was updated from v1.69 to v1.72....it was complaining every 11 seconds with "No heartbeat from client for 30 sec - exiting".

And, it wasn't because I had to build my own newer boinc client for box last month. The Ubuntu apt version is 6.12.33, and didn't seem to be any moving to upgrade it for 10.04LTS or in any PPA that I could find. And, downloading the binaries from the boinc.berkeley.edu site didn't work, as they depend on newer libraries than exist for 10.04LTS. So, I had to grab the source

git clone git://boinc.berkeley.edu/boinc.git

and build that against my 10.04LTS system....and that worked (at least the client did, which is all I really needed)...until now.

Though I read in forums that v1.72 wasn't supposed to be released (very little testing had been done), but it was needed to support newer sensors which are out in the field now.....oh well.

Well, I supposed the HEAD of the boinc might be too bleeding edge as well. 7.0.44 is considered the development version, and not recommended. While the recommended version is 7.0.28.

The wiki page on getting source says:


Various versions of the code are available at any given point:


The master branch contains the latest source code for all components of BOINC. It is always under development, and has not necessarily been thoroughly tested.

Client releases

The client software (client and manager) is maintained as follows:

The code for each release is 'tagged'. For example, the code for version 6.3.14 is tagged with client_release_6_3_14.
A 'branch' is created for each released minor version. For example, the branch client_release_6_2 is the code for the latest release of version 6.2.

Except I tried to git checkout client_release_7_0_28, and it couldn't be found. Nor could I do git checkout client_release_7_0. Eventually, poking around on the site some more, I found that the tags were different. They uses '.' instead of '_' in version separators. Though couldn't get to 7.0.28 directly...had to get 7.0 first.

So, git checkout client_release_7.0 followed by git checkout client_release_7.0.28. Got me the source for the current recommended version.

Now at 7.0.28, I couldn't get _autosetup to complete...missing test/version.inc.in and py/Boinc/version.py.in. Well, copy those from the HEAD down, seemed to kind of work...though configure was having a lot of issues. Lots of SAH_LIBEXT and SAH_DLLEXT command not founds, along with others. Turns out files were missing from the m4 directory. Compare with HEAD, and copy over Makefile.in, ax_lang_compiler_ms.m4, sah_links.m4, sah_largefile_breaks_cxx.m4, sah_libext.m4, sah_select_bitness.m4, and sah_staticize_ldflags.m4.

Now I do configure, this time I look to see what things its complaining about missing, and add more -dev libraries, along with wxWidgets....now I have a boincmgr, should I choose to use it.... Though the compile didn't go well.

Missing a couple of header files.... lib/md5.h and client/dhrystone.h. And, then I go and blunder with doing a make install, which clobbers my /etc/init.d/boinc-client and /etc/default/boinc-client with something that doesn't fit the Ubuntu environment. So, once again a quick restore from BackupPC of these two files, and BOINC is working again.

While writing my post on the Radioactive@Home forum, I spotted a new chart.... Which I have now made into the footer of this site:

However, what was interesting...was going back through the last couple of weeks, to find this span....

12/17/2012 to 12/23/2012

Maybe the world was supposed to end on December 21st?


  10:30:00 am, by The Dreamer   , 2100 words  
Categories: Hardware, Software, Computer, Storage, Ubuntu, FreeBSD, VirtualBox

Orac is looking strangely bare, with Zen taking over.

For a long time, I've been running a 6 drive RAID 10 array of Hitachi 5K3000 2TB drives in Orac for backuppc. This configuration got me at 5.4TB array, and somewhat better performance than when I tried a RAID6 configuration. But, eventually, I kept running out of space and the price of harddrives went up so expanding the array over time didn't happen as I had hoped. Being RAID10, the options were other concat another array, either 2 in RAID1 or 4 in RAID10 or 4 as 2 RAID1....using volume manager. Or maybe see if RAID10 would deal with having all 6 drives upgraded to 3TB, though hadn't considered the transition of 512 to 4k and how it would cope with that.

Though I did, eventually find out when I upgraded a 1.5TB RAID1 set to become a 2TB RAID1 set....going from ST31500341AS to ST2000DL003, where I contributed my experience here: http://askubuntu.com/questions/141669/creating-properly-aligned-partitions-on-a-replacement-disk/ Though it first started because one of the ST31500341AS drives had failed.

Before the failure of one of the 1.5TB drives in the above mentioned RAID1 set, I had 4 ST31500341AS in a RAID5 on old-Zen. It had been done in under RR622, under Windows, and NTFS partitions, etc. I had tried copying the data at various times, not really having anywhere that would hold the data elsewhere...but wanting to get it over to FreeBSD for recovery. While I got the rr622 driver working, and it saw that I had a single array (rather than the native driver that would see the 4 individual disks.) I couldn't get access to the data. Though it had worked when I was previously playing around with Xen (had tried copying it then....to a 2 1TB RAID0 set, but then one of the 1TB drives died....so I lost the copy, I had then replaced it with a 2TB RAID1 set....using an ST2000DL003 and an ST2000DM003, the DL being a 5900RPM drive and having a 5 year warranty...while the DM drive is a 7200RPM drive, but with only a 1 year warranty. And, turns out the 1 year is generous.

At work, I had built my FreeBSD desktop using a pair of the ST1000DM003 drives...and 3 drive failures later....it is now a pair of ST2000DL003 drives. Yeah...I was having trouble with the array, and apparently using XFS was a mistake too...because I thought it was recovering, but instead it was slowly eating the data. When I had nuked the RR622 RAID5 array, and had switched to using it as JBOD and create a RAIDZ set under FreeBSD...I found that there was nothing to copy back from the RAID1 array. D'Oh! >:XX

Though I had also copied the Microsoft WindowsImageBackup files, to see if I could mount the VHD file under VirtualBox to help in recovery. I largely had the data in bits and pieces elsewhere, it was the environment I was wanting to recreate...and Oops!Backup didn't back up that part anyways (the data I was mainly trying to migrate). The image mounted, and I could see it...but soon after Windows would try to fix it and then it would disappear....kind of like what it did on February 15th to make the original Zen go away. No idea what kind of disk rotting the Intel Matrix RAID had been doing, when it had to initialize the array again every time after a Windows crash. I've had Ubuntu crashes, but the RAID arrays remained stable...usually. While Windows & Intel RST....it was pretty much every time. I'm sure it was slowly corrupting things overtime to where things wouldn't recover, though it choose to do that after an automatic reboot for Windows updates...and the day before I left for my first Gallifrey One made things even more annoying.

Anyway with another 1.5TB drive freed up, I contemplated adding it to the RAIDZ I had made of the 4 1.5TB drives, keeping it as a hot spare, or just use it by itself -- living dangerously. I ended up with the latter for some temporary data. Because in my mind I was starting to lean to what happened next.

Pages: 1· 2


  03:27:00 pm, by The Dreamer   , 1112 words  
Categories: Software, Computer, Networking, Ubuntu, Windows, Printers, Scanner

I got a Brother DCP-7065DN

In a rather impulsive move, I bought a Brother DCP7065DN Monochrome Laser Multi-Function Copier via an Amazon Lightning Deal!

I had been considering getting a new laser printer for a very long time. I had ditched my old Brother HL-630 laser printer about a dozen years ago. This was a crappy printer from the start...with its grey background problem that they never seemed to resolve. Had gotten it from Future Shop of years way gone by....where it had been a special buy for them...so they were selling them really cheap. Kind of like the Canon BJ-5e bubble jet printer I had gotten before.... (It was a BJ-10e, but made cheaper just for them. And, used a special ink cartridge not used by any other model from Canon...at the time. Otherwise, I often wish I still had it....though when I moved from Canada to the US, it became kind of a problem to get ink for.)

So, after the Brother HL-630 was scrapped....I spent a long time thinking about my next laser printer....I was heavily leaning towards getting an HP Laser printer....so it was going to likely take a very long time before I would make a move. And, then I started to lean towards getting a Color Laser Printer.....and then I wanted built-in Duplex. And, having been spoiled by the HP Photosmart 8450xi, it also needed network capability....

There was an HP Color Laser printer that seemed to fit the bill, and it was popping up on sale now and then. But, then I upgraded to Windows 7...and found that not only is my old Photosmart 8450xi no longer fully supported in Windows 7, neither is the HP Color Laser printer that I had been considering.

So, that nixed wanting to jump on it the next time it went on sale. (Sale as in cheaper than it would cost to buy 4 new toner cartridges for it.)

So, the search continued....I started looking at Brother again....in current models, something like the HL-4150CDN or the HL-4570CDWT.... but, then I was introduced to a multifunction printer. Which actually was kind of useful. Being able to scan a document onto a USB drive. And, there's always the once a year or so occasion, where somebody wants me to fax something. I used to have a fax machine...first a dedicated thermal fax type thing, and later a refurbished HP OfficeJet v40xi. A power surge took out my first fax machine...and then a few years later...living in the same apartment still....a power surge took out the HP OfficeJet....

So, I then started to consider printers like the Brother MFC-9560CDW....plus the idea of color copying seemed useful, especially duplex color copying.

Of course, now its getting expensive to start and expensive to keep....

I also had this issue of printing envelopes....a capability I had lost when I upgraded to Windows 7. The Dymo Labelwriter that I had gotten from stamps.com didn't work on Windows 7. And, I didn't really want to buy a new Dymo Labelwriter to keep this capability. Eventually I canceled stamps.com, though still have the occasional postage need....which it would be nice if I could still print postage, etc. Think there are cheaper ways than stamps.com, but probably not from Linux.

But, then last December while visiting my parents...my dad snapped up a Brother HL-2270DW, and this was a pretty decent little printer. It was on sale for the holidays...but it does PCL emulation. I wish I had just gotten one of these for myself then, too.

Instead, I started to reconsider whether I really needed color laser. Around year end...there were things I needed scanned or copied, for things like taxes and FSA...so I was still was still leaning towards getting a multifunction printer of some sort. And, I kind of fell for the Samsung SCX-47xxFN, and then later the Samsung SCX-4828FN (about $400). The 4828FN adding Postscript emulation. I've always wanted a postscript printer....

Though these are still expensive printers. These ones had fax....and I did have to need to send a fax once this year, so far. If I were to leave out fax, it should've been something like the Brother DCP-8085DN (about $350)....which would've had duplex copying, and both PCL and PS emulations.

But, instead the Brother DCP-7065DN showed up as an Amazon Lightning deal for $80 (50% off)....I did a quick google search to see if it work on Linux, and some sites seemed to say it had PCL and PS as well. And, bought it.

Well...apparently its common in the industry to make similar internals/firmware across their product line with different features available or not, etc. And, Brother didn't even bother to remove PCL and PS from the capabilities page that the printer spits out or not advertise the LPD queues for these modes in its network info. But, trying to use the queues is like sending to /dev/null. This particular printer is only GDI (so in someways worse than the HL-2270DW ... currently about $120. And, then there's an HL-2280DW for about $10 more, and adds a scanner....a network scanner would be useful. Though a standalone scanner would be more useful during my situation where my primary desktop is dead.

But, I was able to get the DCP-7065DN working from my Ubuntu server, after following some websites on the subject. Namely..the detail that they only provided 32-bit deb's, and I have a 64-bit Ubuntu Server. I haven't tried the scanning feature, since the printer sits by TARDIS...and I have my Fujitsu ScanSnap S300M working on my Ubuntu server....though not sure if I've gotten the two-sided scanning part to work. So far the bills that I've needed to scan for FSA reimbursement have been one-sided.

But, the DCP-7065DN doesn't have a duplex ADF...so it doesn't provide an alternative. And, my other scanner is a Fujitsu ScanSnap S300! (I bought the Mac only S300M on a Black Friday sale, and back when I used to bring work macbook pro home now and then. Later I got the S300, when I had more FSA money to spend and wanting faster turn around...but wasn't bring the macbook pro home anymore.) A regular flatbed scanner has been on my wishlist...perhaps the DCP-7065DN will satisfy that need. Something to probably check out after I get around to finally upgrading TARDIS.

So, while it was a problem to find that the DCP-7065DN is only a GDI printer...it does currently work from Ubuntu...and sharing it out from my Ubuntu server is interesting. There's no native DCP-7065DN driver in Windows XP, but I just pick some Postscript printer driver...and that worked. And, it looks pretty good (compared to the early days of ghostscript...)

What what I'll do when I finally get around to rebuilding my Windows 7 desktop????

1 3 4 5 6

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop


There are 20 years 9 months 21 days 14 hours 28 minutes and 23 seconds until the end of time.
And, it has been 4 years 3 months 6 days 23 hours 34 minutes and 33 seconds since The Doctor saved us all from the end of the World!


March 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    


  XML Feeds

Who's Online?

  • Guest Users: 0
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by b2evolution

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime