http://bjoernstechblog.rueffer.info/page3/
last updated on 27 February 2016

Björn Rüffer/Björn's Blog

Kerberos/AFS Problems with SSH

28 November 2012

For most of this year I had a lot of trouble ssh-ing into campus computers from my mac using kerberos authentication. Sometimes it would work, sometimes it would not, and sometimes I could log in but on the remote side my AFS home directory would not get mounted. Turning on verbose mode (-v) for ssh, I would see strange error messages like this one:

debug1: Next authentication method: gssapi-keyex debug1: No valid Key exchange context debug1: Next authentication method: gssapi-with-mic debug1: Miscellaneous failure (see text) PROCESS_TGS (negative cache) debug1: An invalid name was supplied unknown mech-code 0 for...
	 Read more.
      

Another macports upgrade problem

10 November 2012

On a different machine I still had problems with upgrading, even after recompiling a lot of packages with the help of this step here:

$sudo port -bcR upgrade requested ---> Computing dependencies for inkscape ---> Fetching archive for inkscape ---> Attempting to fetch inkscape-0.48.3.1_6+python27.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/inkscape ---> Attempting to fetch inkscape-0.48.3.1_6+python27.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/inkscape ---> Attempting to fetch inkscape-0.48.3.1_6+python27.darwin_10.x86_64.tbz2 from http://packages.macports.org/inkscape Error: org.macports.archivefetch for port inkscape returned: archivefetch failed for inkscape @0.48.3.1_6+python27 Please see the log file for port inkscape for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/inkscape/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the...
	 Read more.
      

fixing broken macports package

08 November 2012

After some recent macports upgrade pdftk and ImageMagick’s convert staterted to abort with an error message that the function malloc had failed due to some object pointer being freed that hadn’t been allocated beforehand. It looked like this:

pdftk(1088,0x7fff70ea8cc0) malloc: *** error for object 0x10418c880: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap 

How to fix this? I tried to up- and downgrade various packages without much strategy at first, which produced some packages that wouldn’t build at all any more. I finally resorted to removing all outdated... Read more.

Björn Rüffer — Copyright © 2009–2016 — bjoern.rueffer.info