Set application environment variables with systemd

Using systemd it's rather simple to set specific environment variables for a specific application. In this example ill set a http(s) and noproxy settings for docker. First we create systemd drop-in directory for the docker service: sudo mkdir /etc/systemd/system/docker.service.d Add  file called /etc/systemd/system/docker.service.d/http-proxy.conf that includes the HTTP_PROXY environment variable: [Service] Environment="HTTP_PROXY=http://proxy.internal:3128/" Environment="HTTPS_PROXY=http://proxy.internal:3128/" Environment="NO_PROXY=localhost,127.0.0.1/8" Reload the daemon $ su...
Read More

Invalid RSI Locater

If the RSI locaters at the primary and replicate Replication Servers are not identical, then the primary Replication Server might delete messages from its stable queue at an incorrect location and invalidate the RSI locater at the replicate Replication Server. RSI locaters must be identical. If they are not identical you need to reset the correct entry in the rs_locater system table in the Replication Server System Database (RSSD) (more…)
Read More

Starting ASE after a system kill

Killing ASE with a SIGKILL is obviously not a good idea but you can run out of other options. Data-loss can and will happen because no checkpoint will be given to the database. Should it unavoidable you need to check some actions before starting such as the shared memory segments and files. The shared memory files are located under the $SYBASE/$SYBASE_ASE directory with the SERVER_NAME.krg file name. The sybase process should be able to read and write in this file. Shared memory segments also need to be cleaned up. These can be identified with ipcs | grep sybase and ipcrm -M <KEY&gt...
Read More

SteamOS

Ever since the start I have been a huge fan of SteamOS and I have been running Alchemist since the closed BETA. The fact that I can stream games from my Desktop to my TV is a major plus for me in games like Pro Evolution Soccer. Certain games such as the Witcher can run natively on my SteamOS. (more…)
Read More