Categories: "Computer" or "Android" or "Chromebook" or "Hardware" or "Printers" or "Scanner" or "Storage" or "iPad Air 2" or "Networking" or "WiFi" or "Operating Systems" or "FreeBSD" or "Other Linux" or "Ubuntu" or "Windows" or "Software" or "b2evolution" or "BOINC" or "CFEngine" or "Quicken/TurboTax" or "Virtualization" or "VirtualBox"

Pages: 1 2 3 5 7 8 9 10 11 ... 58

01/23/13

  12:05:00 am, by The Dreamer   , 493 words  
Categories: Software, b2evolution

Somehow my site got hacked....

...to inject bad SEO and links into Google. And, possibly collect info on my visitors?

Not entirely sure how it got in...the timestamp of the affected files is Apr 1, 2012. But, that was also the date that I upgraded to version 4.1.3, previous version was 4.1.2 done on January 16th....before that I was on 3.3.3 (Feb 14, 2010).

I do weekly backups of my site, so I narrowed down the alteration to having taken place between May 21st and May 28th.....though it wasn't easy...since I expire stored backups after 6 months....though fortunately I still had backups of my backups, so I could go back to before April 1st...and see that the file did change between March 26th and April 2nd, but php code wasn't prepended until later.

Perhaps I need to keep up on updates closer...

In the 4.1.0 line, the release dates were:

2011-09-08 - 4.1.0
2011-10-03 - 4.1.1-beta
2011-11-02 - 4.1.2
2012-03-02 - 4.1.3
2012-04-03 - 4.1.4
2012-07-24 - 4.1.5b
2012-11-23 - 4.1.6

Currently anything less than 4.1.6 isn't recommended. I see that 4.1.4 contained fixes against SQL and JS injection. Hmmm....

Wonder if I need to do some kind of change detection to my backup process....

Its hard to upgrade when there aren't diff bundles (which is why I stayed at 3.3.3 for so long), though I'm getting better at keeping my customizations out of the core (or fixing bugs on my own...) Plus discovering Meld has helped as well. Was interesting that one time, it showed diffs between releases, but no diff between latest release and my version. The bug I fixed got fixed the same way.... Though I think I have Meld ignoring differences in end of line and white space.... since the distribution files are CRLF, and I'm on Linux/FreeBSD...and the files are apparently such that vim can't figure out if its DOS and hide the ^M's or not.

Hopefully the upgrade to 5.0 will be simple...

In the history of my site...I was on 0.9.2 on June 7th, 2006 (released May 22)....from 0.9.0.12 on July 23rd, 2005 (released May 6). And, then finally upgrading to 2.4.1 on April 27, 2008 (released Mar 16), though prompted in part because I switched hosting providers....worked up to 2.4.7 on September 6, 2009 (released May 27)....and then to 3.3.1 on September 8, 2009 (released August 8). I did the upgrades to 3.3.2 and 3.3.3 on February 14, 2010 (3.3.2 was released Nov 9, 2009 and 3.3.3 was released Dec 15, 2009).

Guess it was good that I have my sites with Google's Webmaster tools...so that it could send me a "Notice of Suspected Hacking on ..." and stopped crawling my site until I address the problem.

And, looks like only my sites that are b2evolution were affected, my other sites are also 4.1.3 and hadn't been upgraded since.... Though its strange, since those sites were setup with fewer customizations with the intent that upgrading them would be easier. But, I had been thinking of shutting down the sites....

Pages: 1· 2

01/12/13

  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:

Branches

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

Development

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?

12/22/12

  09:58:00 pm, by The Dreamer   , 1422 words  
Categories: Hardware, Software, Computer, Storage, Operating Systems, Ubuntu, FreeBSD, Virtualization, Other Linux

zen resurrection

This was originally going to be a very long post, but I kept putting this off ... and now I just feel that something needs to be said.

The story starts with waking up on February 15th, to find zen was dead. It had self updated overnight, and now it was unbootable, and the start repair couldn't get me back. Apparently, the problem had started long ago with all the previous times where Windows 7 would lock up...usually under intense disk activity...and the afterwards, the intel matrix raid would require re-initialization of my 1.5TB RAID 1 array.

Apparently, it was slowly corrupting my drive....because trying to restore from WindowsImageBackup was also a failure. Since this happened the day before Gallifrey One, I had to wait until I got back to do some more serious attempts to recovery, during which I ordered a full copy of Windows 7 Professional, hoping that a repair install might be an option. It isn't because the repair option can only be invoked inside a running Windows 7 system .... in need of repair. Not by booting the disk. ARGH! :##

At least I should have the data in BackupPC to restore from.....though hopefully before the bit rot of its ext4 filesystem makes it go away. Plus I had hoped to get some configuration going where I could mount the RR62x RAID 5 array, and get at the Oops!Backup store.

So, the plan now was to wait until Ubuntu 12.04LTS to land and then maybe some configuration of running Windows 7 in VirtualBox and recovering into that, etc.

Pages: 1· 2· 3

  06:37:00 pm, by The Dreamer   , 1072 words  
Categories: Software, TV, TiVo HD / Premiere / Elite, Ubuntu, FreeBSD

My First TiVo Premiere is back...

My first TiVo Premiere (activated July 12, 2010) started having weird problems a the last couple of months. After much pain, and troubleshooting with TiVo support. It was determined that my drive was failing, so freed up a bunch of space on zen, installed pyTiVo and started downloading as much as I could from the TiVo Premiere....I downloaded almost 1TB of shows. Had to reboot the TiVo now and then when it got confused again. Not entirely sure what I downloaded will be right. Since it was losing the links between metadata and shows, sometimes it would play the wrong show briefly before throwing an error...other times it would error out straight. Rebooting would fix it sometimes.... So, don't know if the downloading was affected.

So, now that I have everything that I could get...I swapped the drive (It was on my shopping list to get a WD3200AVVS eventually...though went with a Weaknees ready to go one instead. To start fresh. I had done a TiVo HD in the past with ddrescue to a WD1600AVVS via buy.com (where I have an extra for when my second TiVo HD needs it...seems odd that its my first TiVo HD that's going again though), which preserved its pairing with the My DVR Expander and all my shows...though that TiVo started having issues again in August, so the plan is to free up its My DVR Expander to put on my TiVo Premiere Elite...and then perhaps at some much more future date, swap the drive for a bigger Weaknees replacement drive.) and started things back up. Yay...its a blank TiVo Premiere. I used online TiVo Season Pass Manager to copy my season passes back onto my TiVo. It was slightly confused, because it still knew of the Season Passes that were there before....at first. I had cleared out all the season passes on the failing TiVo HD months ago, so it was where I had made a copy of all the season passes that I wanted to recover. It also took a while for my CableCard to work again....it was saying everything needed activation. So, 10 - HSN wasn't what I saw during guided setup...but I knew that it would be. Wish it would pick a channel that's more definitive....like a 2xxx channel. Since, I remove all the channels less than 2000 later in setup. I've been fully HDTV for some time now. Though seemed odd that cablecard comes into play for getting analog channels (unless things have changed, and there are digital streams of the analog channels now.)

So, I put those back....and over night it picked up 3 shows that had repeated recently....though it didn't need to, because the active shows have been recording on other TiVo's....and I had watched 2 of the shows it rerecorded already. Haven't caught up on the other show yet, so at least that one show I won't have to transfer back.

I checked through my channels..and I was able to get almost all my channels...though the activation screen would pop up on the occasional channel here and there....mostly ones I could probably live without, though it would be a nuisance.... Come to think of it...this is not the first time that this TiVo had done this. So, I call Cox and go through the pairing process again, and that fixes it. Strange that the channels I tried that were affected were, 2002 (The Weather Channel), 2101 (Hub HD), 2200 (Epix HD), and 10 (HSN).

So, I thought about starting the process of transferring back...but found that I couldn't list my shows on my TiVo Premiere. I guess I never tried it before.... I can browse the shows on my other installation of pyTiVo (ubuntu 10.04LTS). Also can't browser from my TiVo Premiere Elite. Wonder if there's some quirk with FreeBSD? I used the ports tivodecode? The newer python? But, then I find that I can browse from my TiVo HD.

I check the versions....the ubuntu version was originally much older (like a year or two) than the FreeBSD install. But, I had updated the ubuntu install...it was was 6 days newer than the FreeBSD one now. So I update the FreeBSD install....so now its newer than my ubuntu install. Only 4 files changed, though looking at the change logs on the files. There were changes that fell into the 6 day window. But, it still doesn't work.

I try debug, but can't seem to get that figured out. After much googling and head scratching...and looking at the code of where its throwing the exception. I see its looking at the .tivo file....hmmm, wonder if it might have an issues with the 0 length ones. Move those out of the way....and yup, its working now. Strange that the TiVo HD could tolerate them, but the Premiere couldn't....or something?

So, now that I've moved out the bad shows....I got to thinking how will I recover those. I'm searching around the internet, on what to do....when it occurs to me to check Amazon. Hmmm, yes...I can buy the missing episodes that way.... Hmmm, in some cases I can buy the whole season for a reasonable price. Wonder if I shouldn't do that for some of the shows, rather than deal with the pain of transferring them back. Plus watching will go faster with not having to skip old commercials (since I'm over a year behind on my TV watching in some cases....the commercials are really strange). Plus who knows what other bad episodes I'll run into when I do start catching up....along with episodes that got clipped or preempted, but I didn't know....etc.

:hmm:

Full story »

12/21/12

  04:08:00 pm, by The Dreamer   , 983 words  
Categories: Digital Photography, Software, Travel, Home, Windows, VirtualBox, Quicken/TurboTax

Quicken 2012 Premier One Step Update started failing....

Earlier this month my Quicken 2012 Premier stopped being able to get updates from Discover, Target, Commerce Bank and my Credit Union. But, only on one computer. I run Quicken 2012 Premier in a VM (since I no longer have any native Windows hardware around), and I have my quicken data file in Dropbox so that I can keep my records up to date whether I'm at home or on the road.

This actually came about when zen died, I needed to get my records updated and keep them updated (and later be able to do my taxes...as things dragged out.)

So, I had reinstalled Quicken 2012 Premier into the Windows XP VM on my laptop, since zen died a couple days before I went to Gallifrey One...and I did the Quicken recovery while I was at Gallifrey one.

Later when I was home, I repeated the process into my Windows XP VM on orac. Orac became my main home computer while zen was out of commission. But, eventually I got zen going again, and it was time to set up a new Windows VM on there. Not being able to locate the other copy of my WXP SP3 OEM image (that I got just before they stopped selling them)... though later I found I have a Windows XP - 64-bit OEM CD. Wonder what was I thinking? Anyways...I had bought a Windows 7 Professional Full, during the attempt to revive zen as Windows 7 Professional. (I should finish that post someday...) And, I intend to rebuild old zen into the Windows 7 VM on new zen, but that's been dragging.... But, I did get Quicken 2012 Premier installed and moved to mainly working from there. Though I still have the option now to do Quicken updates when I travel (rather than try to keep notes on what I've spent, etc. and then forget or lose notes by the time I get home)

Which reminds me....I didn't update everything after last trip....hmmm, darn...I have less cash than I thought I did, hopefully it'll be enough to cover incidentals during my next trip....

Anyways the recent problem seemed timed with my return from LISA '12, the Sunday following...updates for 4 of my accounts stopped working. Though now it seems that KB2761465 released on December 11th (during LISA...so it had applied before I finally got around to using Quicken....I initially started it up to let Eye-Fi do its stuff....except I keep forgetting to unpack my digital cameras -- guess I can do that now. :yes: ) Though when I'll get to posting pictures online again...who knows. That part of zen rebuild hasn't happened yet, though I should work on getting the data replication working again at least....

But, the error with Quicken kept pointing to something wrong on my end, like check the time (nope...and NTP is using 4 servers...which in a poster session is the minimum in an unreliable environment for reliable time keeping. And, I do see that 1 of the 4 servers has gone away...) Or if I'm on XP, check if root certificate update is installed. Well, it works on XP....not on 7.

Kind of annoying having to go to XP on Orac to do One Step Updates....etc. So after a week, I decided that the problem wasn't going to fix itself and Quicken was still pointing to my connection as being the problem. But, 7 other accounts were updating fine....though it was also going much more slowly...

I had been seeing complaints about slowness recently online....though the hits for connection errors were old and/or unhelpful.

So, since the world didn't end today...I decided that it was time to investigate more in depth....

I eventually did notice in Windows Event Log, Schannel errors - Event ID 36888 that seemed to coincide with failed attempts. Which didn't yield much in helpful hits online...at first.

But, this seemed to indicate some kind of SSL connection problem with Quicken...so I compared the security settings of IE9 on Windows 7 and IE8 on Windows XP. There were some differences...like though more in that IE9 has more security options like TLS 1.1 and TLS 1.2 (though it had TLS 1.0 unchecked...so I checked TLS 1.0 ... its was checked on XP and it was the only TLS option. Both SSL 2.0 and 3.0 were checked on XP, but I didn't feel that was necessary...though I tried it at one point.) That didn't help.

But, eventually, I saw that the Event 36888, Schannel was giving a fatal alert 43...which I then found to mean TLS1_ALERT_UNSUPPORTED_CERT. So, I did a packet capture to see where it was connecting to and tried connecting there myself. Well, those sites worked...though I was trying them in Chromium on FreeBSD. And, they also worked in Chrome on Windows 7. But, finally when I tried in IE9, they didn't work. The troubleshooter was no help. But, it was in IE9 that I confirmed that I could get to sites that had the same issuer cert for an intuit/quicken domain. So, there was something specific to the sites.

Finally, I decided to connect to the problem site using openssl to see what its sending during the negotiation. Hmm, its doing TLSv1. Well, I turned on TLS 1.0, wonder if TLS 1.1/1.2 being on causes problems. During my search, I had read somewhere that TLS 1.2 enabled would prevent SSL 2.0 from happening...enabled or not. Wonder if it also prevents TLS 1.0?

Answer...YES....TLS1.2 is causing problems.

Unchecking it (so SSL 3.0, TLS 1.0 and TLS 1.1 are the only ones checked). Fixed all my connection problems. I did updates of the accounts individually first (my credit union, then Discover, then Target, though Target failed with a different error because I had tried disabling and the reconfiguring Discover and Target...and Quicken hadn't relearned all the extra security passwords needed yet.

Then, I tried updating all the accounts at once...at first it seemed that it was going to go slowly still. But, once it updated one of the problem accounts, it suddenly started them in bunches and in a blink it was done.

:cool:

12/08/12

  04:13:00 pm, by The Dreamer   , 429 words  
Categories: General, Software, Home, VirtualBox, Quicken/TurboTax

TD Ameritrade, IRS, Turbo Tax and Audit Protection

In what turned into the continuing saga of Finally rolled my retirement to new job... I get notice from IRS that I owned them taxes for my IRA rollover plus interest and that unless I provide document to the contrary, I was to send them payment or arrange a payment plan....

At first I wondered what the heck was up... and why would TD Ameritrade report to the IRS differently than what they had reported to me, and that I had filed in my return. TD Ameritrade reported the distribution from my Rollover IRA, but not that it went to a qualified retirement account. And, reviewing my Turbo Tax data, no other documentation was needed for to document such. And, checking with TIAA-CREF, they said no tax form was needed from them and that they had nothing to issue for it.

I then struggled with how I would file an appeal, when I remembered that I get the Audit Protection service every year I've been filing with Turbo Tax. So, I open up a case with the Audit Protection company (Tax Resources). They then ask me to send some forms giving them permission to access my return data with the IRS, along with the TurboTax data file, and granting them power to represent me on this matter. Plus copies of the forms I had gotten from TD Ameritrade. Later they ask if there's some kind of confirmation letter when TIAA-CREF received the rollover, which TIAA-CREF was able to send me a new copy to forward on.

After many months....I get a call that the matter has been resolved and that I'll get an official letter from the IRS in a couple of weeks. But, we're done and hopefully we'll never have to talk to each other again. &#59;D

Pages: 1· 2

11/25/12

  07:55:00 pm, by The Dreamer   , 1327 words  
Categories: Software, Computer, Networking, Operating Systems, FreeBSD, CFEngine

VLANs & FreeBSD 9.0/Jails

The backstory is that I've been working in a primarily Sun shop, and one of the things we've been doing is running Solaris 10 on large boxes, such as T2000's, T5120's, M4000's and cutting them up with Solaris zones/containers with the global native into a management vlan and tagging appropriate vlans for the zones, and the zones have their own default route specification so all has been great.

ipf on the global so the zones can't tamper with their own firewalls, and on some of the 'zone' servers using:

/usr/sbin/ndd -set /dev/ip ip_restrict_interzone_loopback 1

The zones remain isolated from each other. Or it avoids problems of short circuiting (asymetric routing + wrong IP)....because some of the zones are behind the F5.

For years, we've tossed around the idea of introducing FreeBSD into our datacenter, and finally one of our customers decided that while they really like the containers/zones and ZFS, the cost of replacing their aging Sun server would be better done by replacing it with a FreeBSD server. While they own the hardware, and it resides at their facility...we provide the system administration support. But, this opened the door to having FreeBSD on our work site. I was in the process of replacing my aging Sun Ultra 20 with an Optiplex 990...which originally I was looking at install Ubuntu on, but instead I went with FreeBSD 9.0 (though the effort in getting the Desktop working on it, and recreating my Sun desktop/work environment on it...made me question if that was really the right way to go. But, I got it working.) And, it helps me try some of the things before doing them on the customer's server (which is headless in a closet [well, they have a monitor & keyboard for console access], so all the desktop stuff was for my benefit...it paved the way to me getting a working FreeBSD desktop at home &#59;D .... though I may end up with a different system for my main desktop at home and have the FreeBSD machine go headless with my other FreeBSD servers....unless there's some way to easily share between the two....switching doesn't qualify.)

So, in needing to deploy some new internal services (such as monitoring) and not really wanting to go through the major process of find all the bits and pieces and creating packages under our CM system for Solaris. Its quite the pain building each and every perl module as separate CM packages, instead of having some system that automatically builds and installs (or makes packages) for you...ala ports or CPAN. I've done package install requests that start out as install one package, and end up building 100 or so packages instead.

I had contemplated sneaking Ubuntu in since I run the same monitoring servers on an Ubuntu server at home, but the work to incorporate Ubuntu into our configuration management infrastructure got sidelined by FreeBSD. And, there's no decision on whether Ubuntu will come into play (though the high cost of RedHat licenses to just get patches...for systems that are rarely patched....is making Ubuntu look attractive.)

Anyways things led to me starting work on pxe boot installing Proliant DL380s with FreeBSD 9.0 and creating 'jail' servers to work like our 'zone' servers.

Cloning interfaces to do VLANs was simple ....

Full story »

Pages: 1· 2

11/05/12

  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

10/07/12

  02:15:00 pm, by The Dreamer   , 286 words  
Categories: Software, Computer, Networking, FreeBSD

Getting nxserver working on FreeBSD

One of the nagging issues was getting nxserver working on my FreeBSD system. The procedure should be to install 'net/nxserver' and 'net/freenx', but the problem is that 'net/nxserver' can't be built on a 64-bit system.

So, taking a page from 32bit Wine on FreeBSD/amd64, I built 'net/nxserver' in my /compat/i386 chroot, with "make package clean".

I then installed the package into my 64-bit system, so that I could build and install freenx.

Of course that didn't quite work....had to overwrite the nxserver binaries with various shell scripts to call the /compat/i386 versions.

IE:

/usr/local/NX/bin/nxagent

Shell

#!/bin/sh
#NXAGENT - Version 2.1.0
export LD_32_LIBRARY_PATH=/compat/i386/usr/local/NX/lib:/compat/i386/lib:/compat/i386/usr/lib:/compat/i386/usr/local/lib
exec /compat/i386/usr/local/NX/bin/nxagent "$@"

/usr/local/NX/bin/nxdesktop

Shell

#!/bin/sh
export LD_32_LIBRARY_PATH=/compat/i386/usr/local/NX/lib:/compat/i386/lib:/compat/i386/usr/lib:/compat/i386/usr/local/lib
exec /compat/i386/usr/local/NX/bin/nxdesktop "$@"

l, since nxloadconfig does a "string $PATH_BIN/nxagent" to find out what version you have. So, I copied the string into the file.

And, then after lots and lots of troubleshooting, I eventually found the last hang up....

Shell

--- nxnode.orig    2012-10-07 14:06:48.000000000 -0500
+++ nxnode    2012-10-07 14:07:26.000000000 -0500
@@ -416,+416,@@
     # backingstore = 1 (new nxclient 2.0.0 doesn't send any strings in the option-string for backingstore anymore)
     [ -"$backingstore-"$ENABLE_2_0_0_BACKEND!= "1" -"$backingstore"1" ] && B="+bs"
     # backingstore = 1 and 2.0.0-Backend EXPERIMENTAL
-    [ -"$backingstore-"$ENABLE_2_0_0_BACKEND"1" ] && B="-bs $backingstore"
+    [ -"$backingstore-"$ENABLE_2_0_0_BACKEND"1" ] && B="+bs"
 
     # geometry

Though maybe the line above was meant to be "$ENABLE_2_0_0_BACKEND" = "1" and eliminating the EXPERIMENTAL rule. :??:

Anyways, it works.... :cool:

...except that logging into another session of myself was a mess on the tiny screen of my laptop....its not dual 1920x1080 like my main desktop. And, logging out messed up my active desktop session. It apparently killed gvfs, so I couldn't ls my home dir anymore. And, then I killed to much and had to reboot. :##

Meanwhile...still trying to workout how to get nfsclient to take place after vboxheadless starts, so it can mount NFS filesystems from my VM. :hmm:

09/30/12

  11:49:00 pm, by The Dreamer   , 188 words  
Categories: Software, b2evolution

Finally upgraded b2evolution

From 4.1.3 to 4.1.5b.

Maybe I'm getting better at these small patches, because it didn't seem as hard to do. Or perhaps because I was able to figure out my own customizations and back patch them into the patch or that I'm getting better at where I put my customizations....

Plus one of them matched one of the patches....resulting in just shifts in line spacing and newer comments. &#59;D

Though was getting worried considering I put off applying 4.1.4 so long that 4.1.5 came out, and became 4.1.5b. Though I would have to do them separately, but then it occurred to me that if 4.1.5 changes anything in 4.1.4 it'll overwrite those files. So, all I had to do was three-way diff and figure out what from mine goes into 4.1.5b and lay that down on top.

Though I did see that I have files that don't exist in either 4.1.3 or 4.1.5b...probably left overs from much earlier 4.x versions. Though was surprised to see that a plugin was newer in 4.1.3 than in my version. Not sure how that got overlooked until now.

There's other plugins that need updating, but I'll do that later....

1 2 3 5 7 8 9 10 11 ... 58

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

bloglovin

There are 23 years 1 month 20 days 3 hours 24 minutes and 50 seconds until the end of time.
And, it has been 1 year 11 months 7 days 10 hours 38 minutes and 6 seconds since The Doctor saved us all from the end of the World!

Search

November 2014
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
Google
Lawrence Chen's Profile | Create Your Badge
Lawrence Chen's Facebook Profile


Weather for Manhattan
The Rail

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
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