Skip to content

Tag: linux

Merge XML files and delete duplicate rows

I’m using the following script to merge XML files. There are 5 different XML file types, ItemAvailability.xml, ItemUpsert.xml, ItemCatDesc.xml, ItemPrice.xml and ItemDelete.xml. How can I have the same script remove duplicate rows from the combined XML files? I really only need the duplicates removed fr…

Signal and output in c

Some time ago I found this exercise in C: without changing the main function, so that receiving a SIGUSR1 signal output is directed and added to a file in append mode as the first parameter. At the reception of another SIGUSR1 the output is directed to the console, and so on. How do such an exercise? Answer I…

GDB Missing separate debuginfos Fedora 22

I’m trying to debug a 32-bit ELF with GDB on Fedora 22, but I keep getting the following message: I did exacty that — I ran: I get that all dependencies are resolved and that there’s nothing to do. Namely, this message: But even then, when I try running the same file in gdb, I get the exact …

SonarQube will not start up

I followed this tutorial on installing SonarQube on my Ubuntu x64 Server http://stuff.stevenreid.uk/2015/03/12/install-sonarqube-5-0-1-on-ubuntu-14-04-x64/. However, when starting up sonarqube (linux-x86-64), it gets shutdown before completing to start. This is the sonar.log file: I already have the debug log…