~/devreads

Schakko

https://schakko.de · 110 posts · history since 2010 · active

21 May 2025

Schakko 1 min read

This is one of those times when I feel pretty stupid.We booked the MagentaMobil Business Speedbox Flex tariff from Telekom for a company event. As the Speedbox wasn’t available and the event was taking place soon, we booked a FRITZ!Box 6850 LTE at short notice. After inserting the SIM card […] The post Unknown status LTE_DIA_IP with FRITZ!Box 6850 LTE…

networking

19 Dec 2024

16 Mar 2022

Schakko 4 min read

Another problem I had recently asked about, had been a failed iPhone MDM rollout. As in my previous blog post mentioned, the endpoints in the environment – including iPhones – are managed with Microsoft Endpoint Manager. During one of the iPhone deployments, the user received the error Guided Access app […] The post Fixing “Guided Access app unavailable. Please contact…

microsoft

7 Dec 2021

Schakko 4 min read

Lately, I had been asked to help out with the deployment Adobe Acrobat DC to Microsoft Intune-managed notebooks. Getting out of my system design/software architecture bubble turned out to be an interesting experience. First of all some background: All notebooks are managed by Microsoft Intune through the Microsoft Endpoint Manager. […] The post Distributing Adobe Acrobat DC with Microsoft Intune…

microsoft

8 Sept 2021

Schakko 2 min read

To be able to run PHP applications on Azure App Services which are using PHP 8.0 features, the Runtime Stack has to be changed. With the newer Runtime Stack, you also have to update the nginx.conf of the underlying Docker image. This article describes how you can achieve that. 2023-03-28: […] The post Deploying PHP 8.0 applications with Azure App…

azureci cd

19 Dec 2020

Schakko 6 min read

GitHhub Package Repository provides an easy way to share dependencies like Maven artifacts between GitHub projects. Publishing of new artifacts into GitHub Package Repository can be automated with GitHub Actions. In May 2019 GitHub introduced the GitHub Package Registry: an alternative to some traditional package registries like Sonatype Nexus. During […] The post Using GitHub Workflow with Maven dependencices from…

ci cd

14 Dec 2020

Schakko 2 min read

If you receive the error ERR_CONNECTION_RESET on one website only, it is highly likely that something went wrong on the server side. Receiving random ERR_CONNECTION_RESETs A few weeks ago one of my colleagues complained to me: Sometimes, when he was using the WordPress theme editor, he either received an empty […] The post Diagnosing and fixing an ERR_CONNECTION_RESET error in…

uncategorized

5 Sept 2020

Schakko 3 min read

WooCommerce returns an HTTP 401 error if you are not using HTTPS or the Authorization header is not parsed correctly by your webserver. Receiving HTTP 401 during authentication WooCommerce provides an extensive REST API with which you can automate your WordPress WooCommerce shop. WooCommerce uses a Consumer Key and Consumer […] The post Fixing HTTP 401 Unauthorized when calling WooCommerce’s…

wordpress

30 Aug 2020

20 Jul 2020

Schakko 3 min read

rsync access can be restricted with a custom wrapper script or an official script named “rrsync”. Access to your remote filesystem should always be restricted so you won’t leak any information in case of a security breach. I’ve used GitHub Actions a lot in the last few months. For web […] The post Restrict SSH to rsync for deploying files…

ci cd

28 Jun 2020

Schakko 3 min read

The error org.postgresql.util.PSQLException: ERROR: operator does not exist: my_enum_type = character varying can be fixed by using implicit conversions in PostgreSQL or using explicit conversions by passing the java.sql.Types.OTHER to Spring JDBC. The exception you will receive When using Spring JDBC or Spring Data JDBC and custom Java enum types, […] The post How to fix “PSQLException: ERROR: operator does…

spring framework

17 Jun 2020

Schakko 2 min read

Zum 01.07.2020 und 31.12.2020 werden in Deutschland die Umsatzsteuersätze von 19% auf 16% bzw. dann wieder auf 19% geändert. Dies hat die deutsche Bundesregierung am 3. Juni 2020 verkündet und seit dem 12. Juni 2020 als Gesetzesentwurf vorliegt. Dies bedeutet für viele Shop-Betreiber eine Nachtschicht. Die Umstellung der Mehrwertsteuer hat […] The post Automatische Anpassung der Mehrwertsteuer in WooCommerce zum…

wordpress

4 Jun 2020

Schakko 5 min read

For ninkik I wanted to provide a subdomain for each of our customers. In addition to that, I wanted to use some other subdomains for static and dynamic content. At that moment I did explicitly not wanted to deal with microservices or multiple applications.When receiving a request, Spring should do […] The post Handling subdomains in multi-tenant applications with Spring…

spring framework

24 May 2020

Schakko 4 min read

There are situations in which you want to use your own Artifactory server for resolving Maven dependencies. Maybe you have private artifacts or are not yet in the process of migrating from Artifactory to GitHub Packages. What is the goal of this blog post? This blog shows you how you […] The post How to use a private Maven repository…

ci cd

12 Mar 2020

Schakko 3 min read

Sophos’ access points are very sensitive with PoE enabled cable connections. If your access point gets disconnected, disable PoE for the given Ethernet port. As a long time reader of my blog, you might know that I am struggling a lot with curious issues like broken L2TP/IPSec VPN connections. This […] The post Sophos UTM and AP15: fixing “ll_read: dead…

networkinguncategorized

26 Feb 2020

Schakko 5 min read

When WordPress keeps showing the installation screen after having installed WordPress, you have to check if the database tables of your WordPress installation do exist and are accessible. if you are missing permissions for your database tables. if your database tables are corrupted. Do you have every been presented with […] The post How to fix WordPress showing the install…

wordpress

20 Feb 2020

Schakko 4 min read

Opening a Microsoft Word documents can be extremly slow if the document uses a template (.dotx) which is no longer available. A tool like Word Template Corrector can automatically fix the template location of one or multiple Word (.docx) files. The reason why the opening of Word documents is slow […] The post How to fix slow opening Microsoft Word…

microsoft

31 Jan 2020

Schakko 2 min read

A few years ago, I stumbled upon the same issue with Windows 7 and already blogged about it. But the error “The user has not been granted the requested logon type at this computer.” can still occur in Windows 10 when accessing network resources like shared folders. The reason for […] The post “The user has not been granted the…

microsoftwindows

9 Jan 2020

Schakko 2 min read

Inside a native Linux environment the error UNPROTECTED KEY FILE always means that the permissions of private key file are way too open. The error usually occurs if you are trying to connect with SSH and a private key to a remote host. As Ansible does also use SSH, you […] The post Fixing “UNPROTECTED KEY FILE” when using SSH…

linux

5 Nov 2019

Schakko 3 min read

A few months ago I had a strange behaviour: Sometimes the L2TP/IPSec connection between my workstation at home and our company VPN silently failed. After clicking on the VPN connection icon in the tasktray it only showed Connecting to… and stopped working after 60 seconds. The VPN connection status did […] The post Windows 10 LT2P/IPSec VPN connection fails silently…

networkingwindows

20 Oct 2019

Schakko 3 min read

Most of the time you are doing local web development without HTTPS and self-signed certificates but good-ol’ plain HTTP. For security and SEO reasons, HTTPS should be enabled in your production environment all the time. One important requirement for production environments is, that every incoming plain HTTP request has to […] The post Conditional redirect from HTTP to HTTPS within…

apache

24 Aug 2019

Schakko 1 min read

Shortly after I had started the work on nerdhood.de I built a deployment pipeline. The bash-based build script for my Laravel application was easy but triggering the deployment itself turned out to be more difficult than expected. In the end I built something with two AWS Lambda function, SNS, an […] The post Deploying with SSH using GitHub Actions appeared…

ci cddevops

21 Aug 2019

Schakko 1 min read

For a customer of us we had to set up two webserver environment on physical servers. We picked up both server systems (having a Super Micro X10DRI-LN4+ and a PNY Quadro P1000 installed in addition to other components) and booted up the system. During the IPMI initalization phase, the whole […] The post Super Micro X10 hangs with “PEI –…

lessons learned

15 Aug 2019

Schakko 4 min read

Most of my articles are written in English but this topic is more or less focussed on German businesses so I’ll do this write-up in German. Für das WordPress-Plug-in Next Active Directory Integration bieten wir als virtuelle Dienstleistung eine Support-Lizenz in diversen Stufen an. Die Bezahlung der Dienstleistung erfolgt dabei […] The post WooCommerce für den Verkauf von B2B-Software konfigurieren…

wordpress

9 Apr 2019

Schakko 2 min read

We are currently in the process of migrating our alerting infrastructure from OMD to Atlassian’s OpsGenie. Most of the features (SMS, phone call etc.) worked out of the box but we struggled with pushing alerts back into our on-premises Jira instance. Enable logging of POST requests OpsGenie does not provide […] The post Using Atlassian OpsGenie with a localized on-premises…

devops

21 Jan 2019

Schakko 2 min read

I am currently working on a Jenkins declarative pipeline to connect the Jenkins builds with Kubernetes, Helm and Netflix Spinnaker. One of TODOs has been to deploy different artifacts (e.g. a helm chart my-chart-0.0.1.tar.gz) to an AWS S3-compatible bucket inside a Minio installation with help of pipeline-aws-plugin. When running withAWS(endpointUrl: […] The post Receiving “com.amazonaws.services.s3.model.AmazonS3Exception: Not Found” when using Jenkins’…

devops

28 Aug 2018

Schakko 1 min read

Just a quick reminder how to run a Spring Boot JAR (or any other self JAR executable) with SELinux enabled: chcon --type=java_exec_t /opt/myapp/spring-boot-app.jar To make this persistent you have to use the bin_exec_t type as java_exec_t is just an alias: # apply the bin_exec_t semanage fcontext -a -t bin_exec_t /opt/myapp/spring-boot-app.jar […] The post Running a Spring Boot JAR service with…

javalinux

21 Mar 2018

Schakko 1 min read

Today I struggled an hour or so to access a AWS hosted web application through IPv6. Just follow these rules: Get an IPv6 CIDR for your VPC: Go to VPC > Your VPCs > ${YOUR_VPC} > Edit CIDRs > Add IPv6 CIDR. The IPv6 CIDR is automatically choosen by AWS. […] The post Using IPv6 with AWS Application Load Balancer…

amazon web services

7 Nov 2017

Schakko 4 min read

One of the common required tasks for an application using a persistence store is to initialize the underlying database with basic data sets. Most of the time this contains something like admin users or default roles. Setting the stage To give a proper example, we have the database table role […] The post How to programtically insert versionized initial data…

java

15 Jul 2017

Schakko 1 min read

After migrating my domain to AWS Route 53 I finally transferred my website to a new Uberspace host which supports Let’s Encrypt. You should be automatically redirected to HTTPS when visiting www.schakko.de. The whole procedure took 2 hours, including setting up the new Uberspace, importing the existing databases and changing […] The post Website moved to new Uberspace with HTTPS…

wordpress

13 Jul 2017

Schakko 5 min read

This is a blog post which literally drove me crazy for a week. After building our mining rig I experienced a bad WiFi connection with high pings, periodically occuring every 30 seconds. Just scroll down to see my – fairly simple – solution. Getting into the mining business A few […] The post Fixing periodically occurring WiFi lags when running…

cryptocurrency

12 Jul 2017

Schakko 3 min read

Vacation time means administration time. I am one of these Uberspace customers whose domain has been registered and managed not by an external DNS registrar but by Uberspace (or Jonas Pasche) itself. Since a few years Uberspace has not been providing this service. Actually this was not a problem and everything […] The post Transferring DNS from Uberspace to AWS…

amazon web services

Schakko 1 min read

A few days ago I switched from ethminer to Claymore’s Dual Ethereum Miner because ethminer has problems running multiple instances with multiple GPUs. My blog post How to run same ethminer instance with multiple GPUs is still valid but ethminer simply can’t handle two or more parallel running instances. In […] The post Running multiple Claymore miner instances with different…

cryptocurrency

6 Jul 2017

Schakko 1 min read

For our Ethereum mining rig a coworker of mine wrote a systemd template unit so it is relatively easy to configure which graphic card in the rig is assigned to whom. For each of the GPU owners exist a custom configuration file /etc/sysconfig/ethminer-$USERNAME (/etc/sysconfig/ethminer-ckl in my case). The file contains […] The post How to pass multiple parameters to systemd’s…

cryptocurrency

28 Mar 2017

Schakko 2 min read

Yesterday, one of our check_mk monitoring scripts based upon PowerShell failed, because the error Attempting to perform the InitializeDefaultDrives operation on the ‘FileSystem’ provider failed. showed up. The initial reason for this is unknown to me but it has to do with the New-PSDrive and Remove-PSDrive PowerShell commands we were […] The post Attempting to perform the InitializeDefaultDrives operation on…

windows

29 Dec 2016

Schakko 4 min read

In the first weeks of our company I made the mistake to set up the Active Directory domain with a .local suffix which caused a lot of problems with Windows and Linux-based clients in the longer run. Besides that after I have shifted back my work to my original tasks – I […] The post Cross-domain migration from Windows Server…

windows

6 Dec 2016

Schakko 3 min read

This was one of those network bugs which took some time to fix. To give you a short background: In the last weeks we had random time NTP drifts in our Linux infrastructure, nothing serious but it was odd as they disappeared after restarting the ntpd or chrony service. During […] The post w32tm: “No valid response has been received…

networking

21 Sept 2016

Schakko 3 min read

One part of my work is to inspect request for quotes (RfQs), gather customer requirements, estimate the effort and prepare a written offer. Most of our customers do not want to pay a separate bill for every sprint or user story but get a number or range for the total costs […] The post Side project: A tool for preparing…

project ideas

7 Jul 2016

Schakko 1 min read

For our internal search engine I am currently developing a simple microservice to make our CMDBuild instance searchable. The microservice provides a fairly simple JSON API which itself queries the REST API of CMDBuild. Because of the insufficient documentation of CMDBuild I had to dig into the the source how […] The post Executing a CQL wildcard search in CMDBuild’s…

java

23 Mar 2016

7 Feb 2016

Schakko 2 min read

You may have already heard that InfluxDB 0.10 GA has been published a few days ago. In my case the most interesting improvement are the much higher compression rates: At the moment my co-workers of NeosIT and I are collecting performance data from four internal virtual machines. Have been running […] The post Migrating InfluxDB from 0.9.6 to 0.10.0 GA…

devopsinfluxdb

16 Dec 2015

Schakko 4 min read

I am currently working on the migration of our time tracking system from Microsoft SQL Server/.NET to Java. Most of the logic resides in Stored Procedures and Stored Functions inside the database schema. Because of some reasons (testability, maintainability, migration from MSSQL to PostgreSQL in a far future) the whole […] The post Executing Liquibase database migrations from command line…

java

8 Dec 2015

Schakko 4 min read

From time to time some programming ideas come to my mind which I can not forget. I had often started a new project but due to my limited amount of free time it is hard to finish all of them. In the next blog posts I will describe my ideas […] The post Project idea: Nostradamus AKA prophetr – a…

for saleproject ideas

29 Nov 2015

Schakko 3 min read

It happened again: after writing about some issues caused by different JVM class-loader order a similar problem occured on Friday. One of my colleagues (Dev-A) asked me to look into a problem the team had. Because of unknown reasons the Spring Boot based application did not return a serialized JSON error object after […] The post ExceptionHandler of @ControllerAdvice is…

spring framework

14 Nov 2015

Schakko 3 min read

Yesterday my team had the situation that a deployment failed with a NoSuchMethodError, specifically the method com/google/common/collect/ImmutableList.copyOf could not be found while querying the Confluence REST API. NoSuchMethodEror and NoSuchMethodException occur of obvious reasons: a method should be called during runtime but the providing class does not contain the method. NoSuchMethodExceptions […] The post How to fix NoSuchMethodError or NoSuchMethodException…

java

13 Oct 2015

Schakko 4 min read

My employer NeosIT offers a web based SMS notifiyng solution for organizations with security roles named ZABOS. In the last months we extended the ZABOS application to support digital alerting through POCSAG. After some problems with a third party component we implemented the ability to collect all POCSAG telegrams delivered […] The post Collecting and visualizing metrics with statsd, InfluxDB…

devops

14 Sept 2015

Schakko 1 min read

The ./configure script of activemq-cpp for 3.8.x and 3.9 failed with the error configure: error: libpthread not found!” when running on CentOS 6.7. Stupidly i had forgotten to install the gcc-c++ package. “yum install gcc-c++” fixed everything. The error notification is although mentioned in the ActiveMQ FAQ. Stupid me. The post “configure: error: libpthread not found!” while configuring ActiveMQ CPP…

linux

10 Sept 2015

Schakko 2 min read

During the last months we periodically experienced performance problems with our storage system. Investigating the cause for the slow performance was problematic as we did not have direct shell access and could only rely on crippled information from the web GUI. Yesterday my collagues migrated the storage system from the […] The post Slow RAID performance with our new Linux…

linux

24 Aug 2015

Schakko 5 min read

In diesem Blog-Eintrag will ich meine Erkenntnisse schildern, die ich während meines Tinnitus gesammelt habe. For the non-german-readers of this blog: This blog post deals with the experiences I made during my tinnitus. Zur Vorgeschichte Am Dienstag vor genau zwei Wochen wachte ich im frühen Morgen von einem hohen Fiepen […] The post Wie ich einen HNO-Arzt in Wolfsburg suchte…

uncategorized

1 Aug 2015

Schakko 1 min read

When using the Mail facade in Laravel it is not so easy to test the output of the parsed mail template. Like http://stackoverflow.com/questions/31120567/unittesting-laravel-5-mail-using-mock I received the error Method Mockery_0__vendor_Swift_Mailer::getTransport() does not exist on this mock object. I ended up in listening to the mailer.sending event: public function testRegistrationMailIsSend_afterSubmittingForm() { // […] The post Integration testing the mail dispatching in Laravel…

laravel

28 Jul 2015

Schakko 2 min read

In my last post I wrote about how to define the test environment for database integration tests. Now I want to describe, how the database can be populated with test or stam data. First of all, every test inherited from the generated TestCase class executes the Artisan migrate command (TestCase::prepareForTests()). […] The post Seeding the database for integration tests in…

laravel

27 Jul 2015

Schakko 1 min read

As far as I have read, in Laravel 4 you could define your database integration test environment by adding a testing/database.php or .env.testing.php file containing your configuiration. In Laravel 5 both ways does no longer work. To switch your environment you have two options: Put both configuration definitions (testing, dev/production) […] The post Test environments for database integration tests in…

laravel

24 Jul 2015

Schakko 1 min read

For two weeks I have been heavily developing a new web application based upon Laravel. Tonight I searched for an easy filtering solution like Zend_Filter so that the request strings are automagically trim’d, lowercased, and so on. Lucky me, the repository https://github.com/rmasters/filter is available with a composer.json but latest commit […] The post Using GitHub forks or local Git repositories…

php

26 May 2015

Schakko 1 min read

CMDBuild supports the usage of SQL queries inside the “filter” options if the type is a REFERENCE. Given: A lookup table named “Software Type” [{Code: DBMS}, {Code: App}] A class Application [{Code: MySQL, Type: DBMS}, {Code: PostgreSQL, Type: DBMS}, {Code: Tomcat, Type: App}]; “Type” references the lookup table “Software Type” […] The post Using Subselects with CQL in CMDBuilds “filter”…

databases

25 May 2015

Schakko 1 min read

CMDBuild is a free (“free” as in GPL v2) ITIL solution. The installation of the 2.3.1 version has been a pain in the ass. After applying the database information in the setup wizard, I always received an org.cmdbuild.exception.ORMException: ORM_GENERIC_ERROR. CMDBuild stores its log files (cmdbuild.log, cmdbuild_dd_sql.log) in the “logs” folder […] The post Trying to install CMDBuild and receiving an…

uncategorized

24 Apr 2015

Schakko 1 min read

Today I struggled with a working configuration for an autounattend.xml for 9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_DE-DE-IR3_SSS_X64FREE_DE-DE_DV9.ISO (Windows Server 2012 R2, Standard, Standard Core, Datacenter and Datacenter Core). The unattended installation inside VirtualBox always failed with an error 0x80042565 or did not use the partition scheme I had previously provided. I suppose that the problem occured in […] The post Unattended installation of Windows Server…

windows

7 Feb 2015

Schakko 1 min read

A few weeks ago I bought a new notebook (Dell XPS 15, 15″, 512 GByte SSD, Core i7) for my after-work work and home usage. First of all: it is an awesome fast piece of hardware. Fedora 21 boots up in 3 seconds, Eclipse (STS) starts up in around 7 […] The post Dell XPS 15, Linux and HiDPI appeared…

linux

10 Jan 2015

Schakko 1 min read

Due to some internal network problems I fired up Wireshark and saw a lot of gratuitous ARP requests/broadcasts. I had never seen the sending MAC or IP before but could assign it to one the ports our switching hardware. The designated port was used for a Citrix XenServer virtualization environment, […] The post Fixing gratuitous ARP requests appeared first on…

networking

8 Dec 2014

Schakko 1 min read

Last Saturday our second Hackcamp Wolfsburg in 2014 took place. In the run-up to the Hackcamp I had suggested to use the NeosIT office as the event location. @stevenschwenke agreed to that and so I prepared our office on Friday evening. Before the event I expected a team programming session but […] The post Second Hackcamp Wolfsburg – December 2014…

uncategorized

30 Aug 2014

15 Jun 2014

Schakko 2 min read

Yesterday the first Hackcamp Wolfsburg took place at the Schiller 40. Steven Schwenke did a great job to organize and prepare the event. Despite the fact that only 5 persons, including myself, attended the event it has been a great success. Beneath my coworkers Kevin and Niko from NeosIT and […] The post Review Hackcamp Wolfsburg June 2014 appeared first…

uncategorized

27 Apr 2014

Schakko 2 min read

Our current project uses JSF and CDI for the presentation layer. The business logic is encapsulated inside EJB with no-interface view as proposed by Adam Bien and others. I evaluated different alternatives for integration testing and ended up with Arquillian. For JSF/CDI based applications Arquillian is the best fit. As […] The post Doing integration tests with Arquillian and real…

javaarquilliancdiejbintegration test

13 Apr 2014

Schakko 5 min read

A few weeks ago I had a talk with one of my co-workers in which he said he had not evolved technically and personally in the past months. Aside from the fact that I had a different view it made me think of my own current situation. Which insights did […] The post Things I have learned in the last…

lessons learned

18 Mar 2014

Schakko 1 min read

I am currently playing around with ASP.NET and its Entity Framework. At some point I wanted to execute all my migrations against a new local SQL Express database. After I had dropped the database in SQL Management Studio, the Update-Database command of the Entity Framework failed with the error “Database ‘$path.mdf’ […] The post MSSQL: Database * already exists. Choose…

databases

26 Jan 2014

Schakko 2 min read

Have you ever tried to develop an Java 6 EE application on different application servers? In production we are forced to use WebSphere AS. I like the configuration interface but that’s all. WAS is not usable during development because the deployment cycles are way too long. Because of this we […] The post Why JPAs persistence.xml sucks appeared first on…

application serverdifferentenvironmentjbossjpa

7 Jan 2014

Schakko 1 min read

Recently I struggled upon the same problem, this guy described. Our Oracle database instance contains multiple schematics with almost the same structure. Every developer has it’s own schema for unit and integration tests. On application startup the Hibernate schema validator calls the DatabaseMetaData.getTables() for every linked entity. The method returns the first […] The post Hibernate uses wrong schema during…

application serverdatabasesdatabasehibernatejava

11 Oct 2013

Schakko 1 min read

Picture the following scenario: You have an Enterprise Application Archive (EAR) which contains an EJB module and a WAR file. The web application uses a Spring application context and the same application context must be – for some reason – shared with your EJB. Using the beanRefContext.xml which points to […] The post Sharing the Spring application context from a…

spring framework

24 Sept 2013

Schakko 2 min read

Our new project makes use of Maven as build management tool. Eclipse (STS edition) is used for the development process. A part of the project consists of a transformation process which converts XML files to Java POJOs. Because of the given XML structure we used JAXB in combination with EclipseLink […] The post Unit tests inside Eclipse succeed, unit tests…

javaclasspathecjjaxbmoxy

11 Aug 2013

Schakko 1 min read

I received the message “Segmentation fault” while running an apt-get install. My syslog contained the following lines: Aug 11 11:34:19 srv kernel: [65729.407484] check-new-relea[12700]: segfault at 7f2dfd94746c ip 00007f2dfc0becd8 sp 00007fffd0671d20 error 4 in libapt-pkg.so.4.12.0[7f2dfc069000+11c000] Aug 11 11:35:52 srv kernel: [65822.603384] apt-get[12820]: segfault at 7f7d256e346c ip 00007f7d24252cd8 sp 00007fffdbb89140 error 4 in libapt-pkg.so.4.12.0[7f7d241fd000+11c000] […] The post Fixing

linuxapt-getsegfaultsegmentation fault

10 Aug 2013

Schakko 1 min read

Here are the instructions for letting your home server send e-mails with help of your Uberspace account. This small guide is based on Ubuntu 13.04. I assume your Uberspace username is $USUSER and your Uberspace host is $USHOST. Setup an additional mail address See http://uberspace.de/dokuwiki/start:mail ssh $USUSER@$USHOST.uberspace.de vadduser local-server # […] The post Use your Uberspace server as relay host…

linux

28 Jul 2013

Schakko 5 min read

You know it: an old project gets reactivated because your customer needs a new feature or has found bug. Meanwhile, the responsible developers have been reassigned to new projects and have no time to finish the task. You are currently not at a 100 percent workload so you get the […] The post DevOps: Stop coding and get your stuff…

workdevopsdevsdocumentationops

22 Jul 2013

Schakko 1 min read

Yesterday I read the article written by Christoph and thought about updating my current installed CyanogenMod 9 with the current version. Here are the instructions (assuming, you have already CM installed): wget http://108.166.171.36/goodata/50d9ef8310a7cba36225d98a0a37ea26/51ec1e7a/devs/milaq/tenderloin/cm10.1/cm-10.1-20130721-UNOFFICIAL-tenderloin.zip wget http://108.166.171.36/goodata/5dc90f8102df2b869507ff02a7642a07/51ec1e4a/gapps/gapps-jb-20130301-signed.zip Restart the HP TouchPad and sele

linuxwebos4.2androidcyanogen mod

19 Mar 2013

Schakko 3 min read

Momentan befindet sich die NeosIT GmbH in der Situation, dass wir zum 1.8.2013 zwei neue Azubis suchen. Nachdem wir vor einigen Wochen die Ausschreibung beim Arbeitsamt aufgegeben hatten, kamen viele Bewerbungen herein. Als Ausbilder bin ich der direkte Ansprechpartner für potenzielle Auszubildende und dementsprechend stark in den Auswahlprozess involviert. Einige […] The post Eine interessante Bewerbung zum Beruf des Fachinformatikers…

uncategorized

13 Feb 2013

Schakko 5 min read

A few days ago I finished my bachelor thesis with the title Integrating Xtext in an existing Software development process. I developed a domain specific language with Xtext and some extensions for easily adding new generators as new Eclipse plug-ins. After finishing the thesis I added a Maven Tycho based build […] The post Build and deploy your Xtext DSL…

software developmentxtextautomaticbuildserverdsl

7 Feb 2013

Schakko 1 min read

Play SQL is a an Atlassian Confluence plug-in for querying database tables and displaying the results inside a Confluence page. The plug-in has only native support for PostgreSQL and HSQL but other drivers can be used via a JNDI datasource. For using MySQL with Play SQL you have to download the […] The post Use Confluence Play SQL Plug-in with…

application serveratlassianconfluencedatabasejira

15 Jan 2013

Schakko 1 min read

As I mentioned in my last post the current Xtext DSL I am working on provides annotation support. Every artifact generator plug-in can provide additional annotations which influences the generation process of different artifacts. My unit tests were all green but at runtime in Eclipse/OSGi environment I received the following […] The post Processing annotations in Xtext and receiving “Could…

xtextannotationclassnotfoundeclipseimport

12 Jan 2013

Schakko 1 min read

Today I implemented the last feature of my bachelor thesis and struggled upon a small problem: My DSL makes use of XAnnotation to annotate various grammar elements. The generators can extend the DSL by introducing new annotations which can be used for modifying the generation process of the resulting fragments. […] The post Accessing the values of an annotation inside…

xtextannotationannotationscastobject

31 Aug 2012

Schakko 2 min read

Task for today was making the NuGet repository of TeamCity available in our local network. Sounds easier as it was as our TeamCity instance is available from the Internet but you can only access the rontend with valid domain credentials (LDAP/Active Directory authentication). Enabling the guest account feature in TeamCity would […] The post TeamCity: Make the NuGet repository available…

active directory ldapapachesoftware developmentnugetpacket manager

30 Aug 2012

Schakko 1 min read

Later this day I switched over to another task. TeamCity provides a fully functional NuGet repository server. My plan was migrating our own libraries and some 3rd party libraries from a direct dependency (binary file or as Git submodule) inside the project Git repositores to a system like Maven or Ivy […] The post NuGet and TeamCity: Repository for third…

application server3rd party repositoryassemblybasepathdll

Schakko 1 min read

Today I had to move the WSUS internal database to one of our backend database servers. Microsoft has a good instruction how to do this, nevertheless I ran into a problem. Microsoft SQL Server 2008 did not allow me to add the machine account of our WSUS frontend server (let […] The post WSUS: Moving from Windows Internal Database to…

databaseswindowsbasedmicrosoftsecurity

27 Aug 2012

Schakko 1 min read

Today I wanted to update the Apache configuration in our DMZ to enable Git over SSH over SSL (another story) but while deploying the changes from my workstation to the server, Apache threw the error Cannot load modules/mod_proxy_connect.so into server: The specified module could not be found. As always procmon.exe was […] The post mod_proxy_connect.so: The specified module could not…

apache

21 Aug 2012

Schakko 1 min read

If you want to make your TeamCity, Confuence or JIRA instance accessible from outside of your LAN, you should remove all version signatures so that no attacker can easily lookup for existing exploits. TeamCity: Open <TeamCity installation dir>/webapps/ROOT/WEB-INF/tags/version.tag and remove the full content from this file. You must restart the TeamCity […] The post Remove version signature from TeamCity, Confluence…

ci cdconfluencedisablehideinformation

14 Aug 2012

Schakko 3 min read

Für heute hatte ich geplant, dass eines unserer Projekte automatisch mit Hilfe von Microsoft WebDeploy auf einem IIS veröffentlicht werden sollte. Die Applikation wurde mit TeamCity und MSBuild-Scripten erstellt und somit hatte ich auch bereits die passende *.deploy.cmd-Datei generiert bekommen. Als ich danach das Deployment erst einmal manuell testen wollte, […] The post Das Zertifikat für den Microsoft Web Deployment…

windowsauthoritycertificatemicrosofttemplate

14 Feb 2012

Schakko 2 min read

Aus äh… historischen Gründen ist es so, dass eines unserer C#-Projekte sowohl NUnit als auch xUnit für die Unittests nutzt. Über Sinn und Zweck dieser Konfiguration brauchen wir nicht zu diskutieren – Fakt ist, dass sich das nicht auf die Schnelle ändern lässt. Ich wollte nun dieses Projekt in TeamCity […] The post Fehlerhafte Unittests in NUnit und xUnit von…

c#nunitteamcityxunit

10 Feb 2012

Schakko 1 min read

Momentan bin ich dabei, TeamCity aufzusetzen und die von uns benutzten Programmiersprachen inklusive der Unit-Testing-Frameworks zu integrieren. Für PHPUnit gibt es zwei ganz passable XML-Dateien (Ant-Script zum Ausführen von PHPUnit & PHPUnit-Beispielkonfiguration), die an sich auch funktionieren. Ich testete nach einigen Anpassungen die Konfiguration mit Ant und PHPUnit unter meinem […] The post Windows 7 & Lokales System: %PATH% Umgebungsvariable…

windows

8 Feb 2012

Schakko 3 min read

After some years of working with (and fighting against) Subversion I decided to setup a Git repository for our company. Every developer should decide on their own what Version Control System he wants to use. Jeremy Skinner wrote an excellent article about hosting a Git repository on Windows which was […] The post Windows Server 2016 or 2019 as a…

active directory ldapapachescmauthenticationauthorization

23 Dec 2011

Schakko 5 min read

One of the most annoying things I get in touch with software development beside the question How can I format this date is How can I put my database under version control? If you have not already read K. Scott Allens Database series, do it now. At first follow his […] The post Databases in developers environment – Versioning and…

databases

1 Oct 2011

Schakko 1 min read

Am Wochende ist mal wieder Netzwerkparty gewesen und wie jedes Mal gab es Probleme mit dem Zugriff auf die Netzwerkfreigaben. Diesmal hatten wir das Problem, das beim Zugriff von Windows 7 auf andere Windows 7 Netzwerkfreigaben der Fehler “Der Benutzer besitzt nicht den benötigten Anmeldetyp auf diesem Computer” erschien. Die […] The post “Der Benutzer besitzt nicht den benötigten Anmeldetyp…

windowsfehlernetzwerkfreigabewindows 7

29 Jul 2011

Schakko 3 min read

Für ein aktuelles Projekt entwickeln wir mit .NET Framework 3.5 und ASP.NET MVC 2. Um von der fest-codierten Instanzierung von Objekten Abstand zu nehmen (u.a. für das Mocking) und die Applikation frei konfigurierbar zu machen, habe ich mir mal Unity 2.0 angeschaut. Leider beziehen sich die meisten Tutorials und Blog-Posts […] The post Unity 2.0 in eine ASP.NET MVC 2…

application servermicrosoft2.0asp.netdependency injection

26 Jul 2011

Schakko 1 min read

Für ein aktuelles Projekt wollte ich gestern mal wieder Visual Studio 2008 benutzen, da ich in C# eine Funktionalität implementieren musste. Ich startete also Visual Studio öffnete die Projektmappe und bekam den Fehler “Der Projekttyp wird von dieser Installation nicht unterstützt”. Das Projekt nutzte das ASP.NET MVC -Framework und so […] The post Visual Studio 2008: "Der Projekttyp wird von…

microsoftasp.netmvcnicht untersttztprojekttyp

24 May 2011

Schakko 1 min read

Yesterday I installed a central Git repository server for storing all configuration files from our Linux servers. Every /etc directory is now observed by Git (and etckeeper). Each of these servers pushes the changes from the local master branch to the central repository. Authentication is done via public/private key authentication. […] The post Installing Git on Citrix XenServer 5.5 appeared…

virtualizationcitrixgitxenserver

20 May 2011

Schakko 1 min read

Heute habe ich es endlich geschafft, den Patch für mod_auth_ldap (Apache 2.0.63) und mod_authnz_ldap (Apache 2.2.18) auf Github zu veröffentlichen. Die Version für mod_auth_ldap hatte ich bereits vor zwei Jahren fertig gestellt, aber nie öffentlich zugänglich gemacht. Stattdessen schlummerte Kompilat und Sourcen in unserem Unternehmens-Repository. Der Patch stellt drei Einstellungen […] The post Global-Bind-User Patch für mod_auth_ldap (Apache 2.0.63) und…

active directory ldapapacheglobal bind usermod authnz ldapmod auth ldap

1 May 2011

Schakko 3 min read

Unsere bisherigen Pläne für ZABOS sehen vor, dass wir die Funktionalität der Alarmierung per SMS über Fünfton-Folgeruf (ZVEI) erweitern – nämlich um die digitalen Protokolle POCSAG und FMS. Unserer bisheriger Fünfton-Folgerufempfänger ist ein selbstenwickeltes Board mit Mikrocontroller, der die Fünfton-Folgen aufnimmt und dann über die serielle Schnittstelle an ZABOS weiterreicht. […] The post Funkauswerter monitord um ActiveMQ-Support erweitern appeared first…

apachelinuxworkactivemqcpp

23 Apr 2011

Schakko 1 min read

Zur Vorbereitung meiner Klausur für Angewandte Mathematik bin ich über eine Aufgabe zum Berechnen der multiplikativ Inversen innerhalb eines Galois-Felds gestoßen. In Anlehnung an meine Euklid-Vorlage habe ich ein weiteres Dokument geschrieben, in dem detailiert erklärt wird, wie man innerhalb eines Galois-Feldes das multiplikativ Inverse einer Zahl mit Hilfe des […] The post Erweiterte Euklidischer Algorithmus für die Berechnung der…

angewandte mathematikdivisiondualerweiterteuklid

7 Apr 2011

Schakko 1 min read

Some time ago I developed ADUaCET, an extension for the Active Directory User and Computer MMC snap-in. Sad to say but the ADUaCET property page is not shown if you are searching for an user. It is only available if you use the procedure right click $USER -> Properties. I […] The post Additional property page sheet in Active Directory…

active directory ldapmicrosoft.netactive directoryaduacet

31 Mar 2011

Schakko 1 min read

As I mentioned yesterday, Christoph is currently developing the Active Directory Integration WordPress plugin. Today we were talking about the write back of WordPress profile settings to Active Directory. I mentioned it would be helpful to have an abstract definition of available Active Directory attributes which can be dynamically integrated […] The post Convert Active Directory schema to XML or…

active directory ldapphpactive directoryconvertjson

30 Mar 2011

Schakko 2 min read

Christoph was implementing a function into Active Directory Integration (ADI) (a WordPress plugin for Active Directory authentication and authorization) called Sync Back. With this function WordPress users are able to write back their WordPress profile to their Active Directory account. A problem that occured was that by default Active Directory […] The post How to give users the permission to…

active directory ldapactive directoryndernattributeattributes

13 Oct 2010

Schakko 2 min read

Die letzten beiden Tage war ich damit beschäftigt, ein paar Evaluierungen für die .NET-Plattform zu machen. Eines unserer Projekte greift mit Hilfe eines (zugegebenermaßen ziemlich coolen) WPF-Frontends über WCF auf einen SOAP-Service zu, der die Verbindung zu einer MS SQL-Datenbank herstellt. Logging auf die Konsole Unter Java bzw. innerhalb eines […] The post .NET aus der Sicht eines Java-Entwicklers appeared…

application serverc#javamicrosoft.net

30 Sept 2010

Schakko 2 min read

Wenn man die grundlegende Funktionsweise von Spring MVC verstanden hat – ich empfehle an dieser Stelle die äußerst vorzügliche offizielle Dokumentation -, kommt man an den Punkt, an dem man auch Bilder oder Stylesheets in die Web-Applikation einbinden möchte. Dafür gibt es zwei Möglichkeiten. Spezifizieren eines eigenen URL-Suffixes für Request-Mappings […] The post Springs FrontController soll keine CSS-, PNG- oder…

application serverjavacontentcontrollercss

17 Sept 2010

Schakko 8 min read

Nachdem ich vor ein paar Wochen den Artikel über Spring für Azubis veröffentlicht habe, wird es heute Zeit für “Apache Tomcat für Azubis”. Dieser Artikel hat nicht ansatzweise den Anspruch, die komplette Konfiguration eines Tomcat-Servers zu beschreiben – dafür ist die offizielle Dokumentation gedacht. Hier geht es darum die grobe […] The post Apache Tomcat für Azubis appeared first on…

apacheapplication servertraining fachinformatikerapiazubis

31 Aug 2010

Schakko 1 min read

Flashing my old Nokia 770 device to the latest 2008er Hacker edition under Ubuntu 10.0x drove my crazy. Here are steps which brought success: Download the latest flash utility otherwise you will receive the message Invalid flashing API version (1) Download 2008 Hacker Edition execute on command line and wait. […] The post Flashing Nokia 770 appeared first on schakko.de.

n770flashflashingnokia 770ubuntu

22 Aug 2010

Schakko 1 min read

Ich stand heute vor dem Problem, dass ich mit einem AspectJ-Advice die Parameter von Methoden überprüfen wollte. Abhängig von dem Parametertyp sollte eine Exception geworfen werden. Meine Exceptions erben von einer Basisklasse, die in Abhängigkeit des Parametertyps weitere Exception-Codes enthalten. So kann z.B. die UserException neben dem Code NOT_FOUND (Parameter […] The post AspectJ und Spring: Parameter einer Methode auslesen…

javaannotationaopargsargumente

8 Aug 2010

Schakko 1 min read

Für mein aktuelles Projekt setze ich u.a. JPA/EclipseLink, Maven und Spring. Damit der Build-Prozess von Maven und das automatische Deployen in den Tomcat-Container von Eclipse funktioniert, musste ich ein paar Änderungen an der .settings/org.eclipse.wst.common.component durchführen: &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project-modules id="moduleCoreId" project-version="1.5.0"&gt; &lt;wb-module deploy-name="YourProject"&gt; &lt;wb-resource deploy-path="/" source-path="/src/main/webap

software developmenteclipseeclipselinkkomischpersistence.xml

26 Jul 2010

Schakko 7 min read

Einen meiner Azubis habe ich vor einigen Wochen die Aufgabe gegeben, sein in Java geschriebenes Website-Crawler Tool auf Spring zu portieren. Dabei kam es dann logischerweise zu einigen Fragen und Pitfalls, über die man als Spring-Neuling stolpert. In diesem Artikel will ich auf die Hürden bei der Entwicklung mit Spring […] The post Spring Framework für Azubis: Tutorial appeared first…

javatraining fachinformatikerattributebeandummies

22 Jul 2010

Schakko 1 min read

Da ich gegenwärtig an libopenranked von etqw-openranked arbeite und ich vermute, dass ich meine Erkenntnisse nach einiger Zeit wieder vergesse, gibt es hier die Kurzfassung. Damit bei einem Segmentation Fault eine Core-Dump erzeugt wird, muss ulimit -c unlimited aufgerufen. Damit wird festgelegt, dass der Core-Dump beliebig groß sein darf. Mit […] The post Debugging von C-Applikationen unter Linux appeared first…

linuxsoftware developmentdebugfaultgdb

13 Jul 2010

Schakko 1 min read

Für mein gegenwärtiges Freizeit-Projekt OpenRanked war es nötig, dass ich beim Starten der Applikation (Stand-Alone Anwendung ohne Anwendungsserver) ein Pfad zu einer .properties-Datei mit den Einstellungen des Servers übergeben konnte. Damit nun die übergebene .properties-Datei auch in der richtigen zeitlichen Reihenfolge geladen werden konnte, ist folgender Code-Schnipsel nötig: // _xmlFiles […] The post Spring: Properties für eine Applikation vor Starten…

javaanwendungapplicationcontextbeanfactory

4 Jul 2010

Schakko 1 min read

Hin und wieder kann es vorkommen, dass der pop3proxy der Sophos UTM (ehemals Astaro) die eingehenden E-Mails “verschluckt”. Grund dafür ist der Spamassassin, der im Hintergrund läuft und bei bestimmten E-Mails eine extrem hohe Prozessorlast verursacht. Das Verhalten habe ich jetzt einige Male bei E-Mails beobachtet, die über die Bugtraq-Mailingliste […] The post How-To: Mail-Queue in Sophos UTM pop3proxy flushen/löschen…

networkingsecurityastaroblockdelete

28 Jun 2010

Schakko 1 min read

Today afternoon I installed nvidia-current on my Aspire 54935G because I had the intend to dive into CUDA. After the installation via apt-get nvidia-current – I use Ubuntu 10.04 – and a reboot the display only showed the kernel messages. While starting X the screen turned to black and I […] The post Fix black screen after installation of nvidia-current…

linux10.045935gaspireblack

15 Jun 2010

Schakko 1 min read

Vor einigen Tagen kam bei Stackoverflow ein Thread über Informatiker-Spüche/Abkürzungen zustande. Hier meine Best-Ofs, die ich zwar auch schon getweetet hatte, aber egal: Spectagular Expression – A cleverly done, very useful regex Worning: it works but with warnings Company Whore – a module or a piece of code, every programmer […] The post Informatiker-Humor: Die besten Sprüche und Abkürzungen appeared…

triviaheisenbuginformatikjokessprche

Schakko 1 min read

Unser Build-Server stellt einen RSS-Feed mit den letzten Subversion-Commits bereit. Nach einer internen Umstellung der Einstellungen ist der Feed dabei nicht mehr über HTTP sondern über HTTPS zu erreichen. Wenn man nun versucht, diesen Feed in den internen Feed-Reader von Outlook aufzunehmen, erscheint die Fehlermeldung Der RSS-Inhalt kann von Outlook […] The post Microsoft Outlook und RSS: “Der RSS-Inhalt kann…

microsofterrorfeedfehlergltige