kafka broker not available at starting


Question I set on a ubuntu node of a cluster a kafka 0.11.0.0 instance. Until some weeks ago everything worked fine, today I'm trying to starting it and I obtain this error after the boot: [2017-09-11 16:21:13,894] INFO [Kafka Server 0], started (kafka.server.KafkaServer) [2017-09-11 16:21:18,998] WARN Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient) [2017-09-11 16:21:21,991] WARN Connection to node 0 could not be established.…
Read more ⟶

Disable ubuntu keyboard shortcuts [closed]


Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. </div> This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 8 years ago.…
Read more ⟶

Filter log file entries based on date range


Question My server is having unusually high CPU usage, and I can see Apache is using way too much memory. I have a feeling, I'm being DOS'd by a single IP - maybe you can help me find the attacker? I've used the following line, to find the 10 most "active" IPs: cat access.log | awk '{print $1}' |sort |uniq -c |sort -n |tail The top 5 IPs have about 200 times as many requests to the server, as the "…
Read more ⟶

How to automatically install required packages from a Python script as necessary?


Question Is there anything in Python or Linux what basically instructs the system to "install whatever is necessary". Basically I find it annoying to install python packages for each new script/system/server that I work on. Each time I end up doing a sudo pip or an apt-get or dnf anyway. Why not automate that within the script itself. Wherever a 'no package found' error crops up, pass the library name to the install statement.…
Read more ⟶

Learning OpenGL in Ubuntu [closed]


Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. </div> Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. Closed 10 years ago. Improve this question I'm trying to learn OpenGL and improve my C++ skills by going through the Nehe guides, but all of the examples are for Windows and I'm currently on Linux.…
Read more ⟶

error while loading shared libraries: libboost_system.so.1.45.0: cannot open shared object file: No such file or directory


Question I am building a C++ executable on Linux. The executable links into some boost libraries. This is the output when I attempt to run the binary: root@yourbox:~/work/dev/c++/projects/testfgci/dist/Debug/GNU-Linux-x86$ ./testfgci ./testfgci: error while loading shared libraries: libboost_system.so.1.45.0: cannot open shared object file: No such file or directory I then run ldd on the binary to check dependencies: root@yourbox:~/work/dev/c++/projects/testfgci/dist/Debug/GNU-Linux-x86$ ldd testfgci linux-gate.so.1 => (0x00380000) libboost_system.so.1.45.0 => not found libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00b50000) libm.…
Read more ⟶

Building Python and more on missing modules


Question I have another thread asking help on "missing zlib". With the nice help the problem has been resolved (almost). Now I am interested in building Python myself (on Ubuntu 10.10). A few important questions have caught my attention: After building Python (say 2.7.1), do I need to rebuild Python if I have missing modules? Is there a way to find out what modules will be missing prior to building Python?…
Read more ⟶