Skip to content

Tag: linux

Find which program caused a core dump file

I’ve been going through intense program/package installation recently, so I can’t tell for sure which of the newly installed programs (or old programs) caused the appearance of a core file in my home folder. It’s a server, so I better find out any possible sources of instability on the machi…

How to get started writing a compositing WM?

I would like to write a basic hardware-accelerated window manager, so I’ve been looking for some documentation on how to get started, but I’ve only managed to find this tutorial, which uses an outdated version of Clutter and won’t build with any version currently available. Are there any oth…

Change file owner group under Linux with java.nio.Files

I have a Linux server and I’m running an image resize job in Java for multiple websites on my server. The website files are owned by different OS users/groups. Newly created thumbnails/previews are owned by the user running the resize job. Now I was googleing around how to change the file owner of newly…

How can I use the Perl debugger’s *supported* editor?

The Perl debugger always says: “Editor support available”. I believe every one can see this, but how can I use it? By the way, I got the above prompt on a Linux/Ubuntu 11.04 (Natty Narwhal) machine. Answer The message is a little confusing. It’s telling you it can support running inside an e…

Shell script for remote SSH

I’m new to shell scripts, and I have centos running. I want to write a shell script that ssh a remote machine and execute a bunch of commands. The problem I’m facing is how to provide the username, the password, the remote machine address, and the private access key to a command that shall connect…

How to get errno when epoll_wait returns EPOLLERR?

Is there a way to find out the errno when epoll_wait returns EPOLLERR for a particular fd? Is there any further information about the nature of the error? Edit: Adding more information to prevent ambiguity epoll_wait waits on a number of file descriptors. When you call epoll_wait you pass it an array of epoll…

How to install a Kerberos server on Debian

I’m trying to build up a Kerberos Server on a Debian computer but I’m kind of lost with all the configuration files. Can anyone tell me any good step by step tutorial of how to install and configure a kerberos Server? Or what’s the best distriburion where I can install Kerberos? Answer Debia…