Archive for the 'JHUAPL' Category

Cygwin’s sshd mysteriously stops working; “operation not permitted”

October 24th, 2013 | Category: JHUAPL,Work

This is a technical post just for reference, and hopefully to help out any others who have had this problem.

Several months ago, many PCs on which I have Cygwin’s SSHD installed refused to let me in.  The symptom: when logging in, either remotely or from localhost, my password would be accepted and I’d see the MOTD, but then without ceremony, I’d be logged out without ever seeing a command prompt or an error.  On the server’s windows event log, I saw “operation not permitted.”

After thrashing about for a really long time (months!) I finally hit upon the solution.

First, the problem: it’s something the IT people at work did to my systems.  Every PC presenting this problem had previously worked just fine until some IT department update, after which they all stopped working.  The IT help desk was of no help whatsoever; a problem has to be incredibly obvious before they notice it.  On every PC without the security package, sshd continued to work fine.  I used the same installer for every single PC, so my setup and config was the same – it was something my IT people did that broke it.

Fortunately, there is a way to modify the system to allow it to work again.  I don’t know if it will work in every instance, but in my case, the default owner of a specific directory was at fault, but I couldn’t see this because of the rather cryptic way that cygwin sshd messages are logged by default.

The solution: Change the owner of the directory, and also put sshd log messages in a unix-y place where you can read them from the command line. Here’s the proceedure:

  1. Setup cygwin’s sshd normally by invoking: ssh-host-config -y (If you have been thrashing about trying to solve this problem and have changed permissions and config files, just run the script again to ensure that your setup is reasonable)
  2. DON’T START sshd.
  3. Issue “chown SYSTEM /var/empty”
  4. Uninstall the default sshd service by invoking: cygrunsrv –remove sshd
  5. Reinstall the service and make the sshd output go to /var/log/sshd.log by invoking: cygrunsrv -I sshd -d “Cygwin sshd” -p /usr/sbin/sshd -a ‘-D -e’

I hope this works for you.

6 comments

News Article About IBuoy

February 13th, 2013 | Category: Arctic,JHUAPL,Travel

Traveling to the North Pole, Part 12: A Glacier in Greenland (the last part)

May 27th, 2012 | Category: Arctic,JHUAPL,Travel,Work

On the way home we had a layover of a day and a half in Kangerlussuaq.  As luck would have it, my roommate there was Dr. Ron Sletten, a university of Washington geochemist.  This summer he is supervising a team of scientists who are studying the way that microorganisms interact with the area’s geology.

I volunteered my labor for the next day’s field study, and he graciously offered me the opportunity to ride along. The next morning, eight of us filled two pickup trucks with equipment and headed out on one of the handful of roads leading from “Kanger,” as everyone calls it.  None of the roads go very far – the only way in or out of Kanger is by air or ship.  This is typical of Greenland communities; it is a frontier region, and the only paved roads are within towns.  Inhabited regions are separated by vast areas of wilderness.

The bumpy dirt road didn’t afford any photographic opportunities, but it offered lots of possibilities: rolling hills, stretches of desert-like sand, wide riverbeds, endless plains of tundra grass and moss, and erosion patterns of every sort.  Although we were above the Arctic circle, it was much warmer than Alert – being hundreds of miles south.  The 40-degree air and presence of plants and even birds was a little shocking – it felt positively verdant after the sterile whiteness of Ellesmere Island (Although in a few months, even Ellesmere will come alive for its brief summer).  Occasionally a caribou raised its head to watch us pass.  Eventually we reached the Russel glacier, a tongue of the vast Greenland ice sheet. This glacier is the easiest one to reach from Kanger, and is much visited by scientists.

In the spring and summer, the glacier’s melt-water combines with similar runoff from other ice to create a river, which is visible in the foreground.  The Glacier is too large to be seen in its entirety from the ground; what is pictured here is only a tiny part of it.

Glaciers are rivers of ice.  As they flow – ever so slowly – they push up piles of soil and rock in front of them.  These piles are called moraines, and are hardly different from what happens when you drag your leg on a sandy beach, dredging a pile of sand in front of your foot.  When Glaciers are in a melt phase, they retreat slightly from their moraines, leaving a well-defined pile of rubble, like this one:

Of interest to this science team, though, was the water issuing from the glacier.  Glaciers slide on a layer of water that comes from melting as the warmer season advances, and also water that melts from the enormous press of the glacier’s weight.  The water seeps out from a multitude of crevices, but is concentrated in certain areas, where you can see it pouring out, as if from an open fire hydrant.

Underneath the glacier, within this layer of water, life is present.  Microorganisms cling to the rock surface and to the underside of the ice, and they excrete compounds that change the chemistry of the rock.  Evidence of their activity is also present in the meltwater.  The team needs to collect this water every week or so to examine the changes in water chemistry as the summer goes on.  It is possible to work backwards from the chemical makeup of the water and arrive at conclusions about the bacterial activity going on underneath the glacier.

However, as the summer goes on and more and more water comes out of the ice sheet, the river in front of the glacier will turn into a raging torrent which would be dangerous to cross.  The scientists need a way to get across the river without endangering themselves.  It’s not only the water they need to worry about; huge chunks of glacier occasionally fall off and plunge to the ground (this is known as “glacial bombardment”). These ice chunks are big enough to crush an apartment building, so you really don’t want to be near them when they go.  It’s important to minimize time spent underneath its crumbling face.  In the next image you can see the result of a glacial bombardment; to the lower left, one of the team stands on the beach.  In between the ice rubble and the person, the glacial outflow is visible as a waterfall that flows into the river.

The solution was to attach a steel cable to rocks on the riverside, tow it across the river using a boat, and then attach it to the glacier on the other side.  Then, a hose was inserted into the meltwater outflow and run back to the other shore by suspending it from the cable.  It was a nice piece of construction work that kept us busy all day long (actually, there is no night at this time, but you get the idea).

You can see the collection tube running along the ground and straight into the outflow:

After emplacing the cable and tubing, we collected ice samples using a chainsaw.

Another day at the office…

Meanwhile, a team member put on ice spikes and climbed around on the glacier to collect ice cores using a hand-cranked corer.

The area immediately in front of the glacier is strewn with boulders which melted out of the glacier.  From a distance, they have a drab appearance, but when examined up close, they have amazing colors:

The river, which has many glaciers draining into it, has many waterfalls:

The glaciers have been grinding away at the landscape for million of years, producing every size of rock from house-sized boulders to microscopic sand grains that make quicksand – a real danger in the back country of Greenland (and all of it is back country!).  Along the shores of countless creeks, rivers, lakes, and swamps, there is every variety of sand and gravel.  It is not easy (or always possible) to tell just by looking at it if it’s firm or if it has the consistency of pudding.

We had a great day, accomplishing our goals with no injuries.  I felt so privileged to spend time in this environment and to experience it in ways that I’ve only dreamed about until now.

In this journey, I have stood at the north pole – sea level, where it was 5F at its warmest, Greenland with its glaciers, the northeast US where it was hot and humid, the desert of Arizona, where it was close to 100F and dry, and finally – Flagstaff, at 7000 feet, where it was pleasantly cool and the scent of pines was once again in the air after a long winter.  The trees, traffic, buildings and people were a shock to my system after almost a month spent amidst the stark beauty of the high arctic, where there was absolutely no sound and almost no sign of life.  The kind of journey that I took in two days would have taken years in the very recent past, and in any group of people attempting to do it, not all would return.  I have experienced one of the wonders of our age (long-distance travel) and played a small part in the effort to understand the way the planet works;  I consider myself truly fortunate.

 

9 comments

Traveling to the North Pole, Part 11: Leaving Alert

May 26th, 2012 | Category: Arctic,JHUAPL,Travel,Work

Well the time has come: we had a good run at Alert, collecting water and ice from 12 sites and meeting our objectives.  Now it’s time to pack up those samples in coolers and pack it along with literally tons of our equipment.  Everything is carefully packed away in cushioned plastic cases, wooden crates, cylinders, jugs, jars, pipes, and every conceivable shape and type of container.  It is then all stacked on special pallets and netted down.  This is hard work, and as the piles get larger, we have to lift the heavy cases to the top.

Soon, the C-130 roars in from the snow clouds which almost cancelled the flight.

Shortly thereafter, the giant fork lift loads the plane up and we take off for Greenland.

I thought this sign on one of the rear doors was amusing.  This pretty much covers all situations, doesn’t it?  The C-130 doesn’t land on water.

In a few hours, we see the broken-up ice that lies farther south.

Then, the rugged coast of Greenland comes into view.

The water is spectacularly blue because of all the suspended sediment coming off of Greenland. Giant bergs float about the shattered and scarred rock, which has been scoured clean by Greenland’s glaciers and ice sheet. Many bergs are frozen into this ice shelf:

Sediment layers and erosion gulleys provide great texture to the glacier-carved side of this islet:

Soon we reach Thule air force base, refuel, and take off again for Kangerlussuaq.  The scenic show continues:

 

4 comments

Traveling to the North Pole, Part 10: Eclipse, with Wolves

May 21st, 2012 | Category: animals,Arctic,JHUAPL,Travel,Work

In Arizona, this eclipse was annular (ring-shaped) but at these latitudes, we’re so much above the annular effect that the moon’s silhouette only convers about 10-20% of the sun’s disk.  It was very cloudy here, but there was a hole for about 90 seconds, and I was ready:

 

 While I was busy getting this shot, I kept an eye out for wolves.  Sure enough, at some point I found this guy approaching me nonchalantly from behind:

 

 He was just doing his job – patrolling for interesting possibilities, but I yelled and stamped at him and he went away.  Earlier, I’d had breakfast with the quarry crew, who are making gravel to augment the runway here.  Wolves hang out in the quarry area more than anywhere else because of the activity and the proximity of the garbage dump, where trash is burned using old cooking grease as an accelerant.  So, the quarry crew is intimately familiar with the wolves, having named each one of them and recognizing them by sight.  They told me that the animals will approach from behind and experimentally nibble on people’s legs and hands, but a good kick will make them understand that it’s not going to work.  They are not afraid of the wolves, but understand that they must be wary of them.  In the past 72 hours I’ve had a few encounters that made me feel the same way.

here are a couple of wolves next to the burning conatiner.  There is a discarded mattress lying there that seems to be a favorite hangout, and I bet it’s warm when the trash is burned!

 

The dirt road to the quarry is right on the shoreline.  Behind this wolf, the Arctic ocean stretches away to the horizon, to the pole, and beyond:

 

4 comments

Traveling to the North Pole, Part 9: Properties of Ice

May 21st, 2012 | Category: animals,Arctic,JHUAPL,Travel,Work

Some colleagues from Environment Canada were collecting samples from a freshwater lake near Alert, and their auger got stuck within the 3-meter ice.  Since we were not able to fly due to weather, we pulled out our spare power auger, loaded up some snowmobiles, and headed out to try to help them.  This was the first time I’d driven a snowmobile, and I found it exhilirating!  It reminded me of a motorcycle.

 

Freshwater ice is much denser than sea ice; if sea ice can be compared to sandstone, lake ice is like granite.  It may have been years since this lake ice was last melted. Our auger, which was designed for the softer stuff, spun uselessly.

After 45 minutes and a lot of labor hacking at it with various ice tools, we had penetrated only this far:

We gave up and had time to visit our friends at another site, where a second ice auger had also become frozen.  Those things are going to be there for the duration; they’ll try using a hot water melter to get at them, or possibly just tie floats to them and get them some other year when the ice has melted.

Yesterday we flew by the north coast of Greenland.

In places where the ice is intact, such as where I’ve been working for the past several weeks, there are occasional leads (areas of open water) but the surface is composed primarily of flat  plates of ice durrounded by pressure ridges, like this:

But in this location north of Greenland, ocean currents had broken up the ice surface.  It was full of leads, rough unlandable ice fields, and fragile new ice.

 

Eventually we found some better-looking ice and performed our last two sample collections before coming back to Alert for the last time this season.  There were some fantastic, mind-bending blue colors in the ice. 

 

There are not that many pictures of me on my blog, so every now and then I suppose I must post one:

4 comments

Traveling to the North Pole, Part 8: A Rugged and Deadly Land

May 15th, 2012 | Category: Arctic,JHUAPL,Travel,Work

Here is a collection of shots taken from the air while traversing to and from our sample locations.  We always start and end the flights by crossing the rugged and formidable north coast of Ellesmere Island.  Most of these pictures are from the Cape Columbia area – one of the most northerly pieces of land on the planet, it cedes first place to other northerly locations by only a trivial distance.  It is a place of precipitous cliffs, glaciers, and perpetual snow.  Many explorers have lost their lives here, and nature does not give much of a break to the animals or plants either.  Everything must do its best to survive and the devil will take the hindmost!

In the next few images you can see the shore in the foreground.  The Challenger mountain range comes right up to the sea, often with dramatic cliffs plunging directly into the water.

 

A glacier creeps down towards the sea:

Now you’ll see the ice from a Marine-Terminating Glacier – a Glacier that spills directly into the sea and floats upon it, forming a flat shelf of fresh-water, glacial ice over the water, rather than the very different ice that is so characteristic of the Arctic icecap.  This fresh-water ice, being of a different density than sea ice, floats higher; when the sea (in this case, an inlet of a Fjord) freezes, there is a characteristic pattern of glacial shards on a flat plain of sea ice.  This is probably Yelverton or McClintock Bay – I can’t recall – west of the Ward Hunt Ice Shelf.

Most of our sampling locations are out of sight of land, but here is the view from one of those close to shore.

Being so close to Alert, we had a rare fly-over from a colleague:

 

 Finally, after a day’s work, we approach our base at Alert:

 

2 comments

Traveling to the North Pole, Part 6: Wolves!

May 13th, 2012 | Category: animals,Arctic,JHUAPL,Travel,Work

I’ve been looking for wolves whenever I have had a free moment, and have finally seen some!

They were down by a shipping container that is used to contain cardboard fires (which is how cardboard is disposed of).  The disposal people use old cooking oil to get the fires started, and the wolves like the smell; I’d been told they often hang out near the container. For the last two weeks, although I’d seen their tracks, I’d not seen the animals.

First one came out to investigate my footsteps, then another, and another, and another.  To my surprise, the first one was bold and trotted right towards me.  It got so close, I had problems focusing on it.  I knew that I first had to pay attention to the situation at hand, and worry about photos later, because it wasn’t happening the way I wanted.

Anticipating a distant viewing, I was carrying a monster 400 MM lens, and wasn’t at all prepared for the more initimate circumstances presented by this animal.  While it came to within 6 feet of me, another one slipped behind a rise and started to flank me.  “Oh no you don’t” I thought, and started to casually back up.  Bold guy followed me, but the one behind the ridge eventually came back into sight, and not in the scariest location – behind me – that I had worried about.  Eventually, when it realized I wasn’t going to give it any food – or whatever it was expecting - bold guy flopped down and huffed, just like my dog.

Speaking of my dog: I have often heard the remark that my dog looks like a “snow wolf.”  Now I know exactly how similar he is!  The wolves are more vulpine, and have bigger feet – huge feet, with furry tops larger than the footprint of the pads – which are large enough:

but the comparison is apt:

I wasn’t comfortable being surrounded by a pack of wolves, so I kept moving away.  They followed me for a couple of hundred yards, but at a more respectable distance than the first encounter.  Every time I stopped, they stopped.  Every time I moved, they moved.  I took a few pictures but was uncertain of how to handle the situation; I wanted to get more shots of the wolves interacting but every time I showed interest, they came closer.  It wasn’t really what I wanted, because I had no nearby shelter.  To my knowledge, they’ve never attacked a person here, but I’ve heard stories about people’s hands being nibbled.  How dangerous are these particular guys, anyway?

Eventually, they all lay down and started howling.  It sounded just like my dog! Other, unseen wolves returned the howl.  After a while, they all got up and walked out of sight, sometimes playing with each other and bounding in a recognizable play attitude, as at a dog park.  I am not fooled by appearances though – these are wild animals – and I was both glad that they were away and dissapointed that I didn’t get to observe them longer.

7 comments

Traveling to the North Pole, Part 7: Sampling

May 13th, 2012 | Category: Arctic,JHUAPL,Travel,Work

I promised that I would reveal what we do in the tent on the side of the airplane.  It’s no big secret; I was just waiting for the opportunity to get the right images.

The purpose of my trip here is to support the Switchyard project, which is a collaboration between multiple universities and funded by the NSF.  This paper provides a good description of what it’s all about, but here’s the synopsis:

The Switchyard project samples the marine environment in the Lincoln Sea (just north of
northern Ellesmere Island, Canada and Greenland) north to the Pole. We call this the
“Switchyard” region because like a train switching yard, different water masses and sea
ice types converge into this region and are sent on their way <…>.

 This is the water that influences the downstream deep water formation
and thus global ocean circulation, and so it is crucial to document <yearly>changes in
this region to achieve both understanding and a predictive capability.

Specifically, I am supporting the hydrochemical section of the project.  The “hydro section” is run by the Lamont-Doherty Earth Observatory, which is part of Columbia University in New York.  I work for Johns Hopkins University’s Applied Physics Laboratory, which is collaborating with LDEO on a new data-collection buoy for which I’ve written the firmware.  I’m also responsible for fielding it, repairing it, and generally tending to it during this field test.  I am also assisting LDEO in the deployment of the hydrochemical sample collection equipment.

The work has been in progress for several years, and hopefully will continue for many more, so that people can get a better picture of Arctic change over time.  In a nutshell, though, we can already see that:

  1. The amount of fresh water in the Arctic is increasing, and that it’s coming from melting ice;
  2. This water is draining into the north Atlantic.

What does this mean?  The north polar ice cap is melting more than it used to – it’s warming up; in the next few decades, perhaps within my lifetime, it could be that in the summer, at least, there would be no (or little) ice at the north pole.

University of Washington oceanographer Mike Steele gave a talk to station personnel during one of our non-flight “weather” days here, and an audience member asked “How do you know that global warming wouldn’t be happening naturally, despite human influences?”  This is a good question and an understandable one.  My answer is to compare it to smoking: we are all mortal, but those of us who smoke are, on average, aging faster and with forseeable illnesses.  It is absurd to maintain that smoking does not affect health, even if you can’t predict with precision exactly how it will effect a specific individual.  It is like this with the planet: it is unlikely that the warming we are observing is not being accelerated – or caused outright – by people.

Look at it another way: mass extinction by bombardment from outer space is a natural, recurring phenomenon.  However, that doesn’t mean that we should not be concerned about such things happening naturally, or that we should start pushing asteroids into the earth.  I’m pretty sure that if someone were to try pushing one down, the rest of us would try to stop them from doing it, and if we knew one was coming naturally, we would also try to stop it.  The fact that something occurs naturally is irrelevant to a discussion of safety; rattlesnake bites, lightning, and broken hips in the elderly are also natural, yet we still try to avoid them.

So to anyone who questions the global warming phenomenon, I say that yes, there is uncertainty about why it’s happening, how fast, and what effects it will ultimately have – just like drinking, smoking, getting hit by lightening, or driving without a seat belt - all of which also may not kill you.  There is no reasonable debate about the fact that global warming is occurring and that the things people are doing to the planet are the kinds of things that will make this change happen faster than is natural.

Now that my rant is complete…  The pictures of the hydrochemical sectioning process.  We fly a twin otter aircraft from the airfield at Alert, and based upon the weather, choose to go to one of ten locations on a line from here to the pole.  The same ten locations are sampled every year.

We pull hundreds of pounds of equipment out of the plane, assemble a gas-powered ice auger, and drill a hole in the ice.  If there is deep snow on the ice, we have to shovel it out of the way first.  As the chips come out of the hole, some of us work with shovels to keep the hole clear.  Every so often, we must pause and attach another flight (section) of ice auger bit in order to get deeper.

Eventually the auger punches through the bottom, and water momentarily gushes up through the hole.  the water has a startling azure color to it, like the tropics.

Sometimes the ice is also clear and the whole area takes on a beautiful color:

We then set up a tent around the hole and start up a heater to make it possible to work comfortably inside.

The sampler has 12 bottles, arranged in groups of 4 within “cassettes.”  The cassettes are manually stacked on top of each other and fasted together to make a torpedo-like package that is lowered through the hole using a winch.

As the last cassette is placed, the assembly is lowered to depth – usually about 500 meters or so.

Using another hole drilled a short distance away, I was able to use my scuba camera on a pole to get these shots of the package coming through the bottom of the ice.  The ice in this location was about 5 feet thick.

Only about half of it is visible in this next image:

Here is some video showing the process, with interesting views under the ice.

As the assembly glides down into the water, instrumentation returns values for depth, conductivity, and temperature.  On the way back up, where there are “interesting” features in these measurements, a computer command is sent ordering one of the sample bottles to close, collecting water from that depth.  Within the tent on the top of the ice, one of us operates the computer, and one or two of us manhandle the winch and cassettes as they go down and come back up.  When they return, they are pretty heavy!  We have to lift them into the plane, where they are stored in coolers until we return to the lab at Alert.  Once there, scientists will perform measurements on some of the water, and package the remainder for analysis back at LDEO.

Meanwhile, we’ve drilled another hole outside and, using the most high-tech methods available, lowered a bottom sounder below the ice.

This mess of equipment collects the bottom sounder data and GPS position and sends it home via satellite.  We hope to streamline it – this is only the first experimental deployment of the thing.  Although it does not float, because it sits at the surface it is technically a buoy, and we’ve named it the “Arctic iBuoy.”

 

1 comment