When i run the script (./meuscript.sh), I have no return, only if i select cancel the dialog. If I run the script without the function, the command is executed correctly Answer You have an endless loop. Rename the function to something else so that you don’t end up with ping calling ping calling ping ca…
Tag: linux
error while loading shared libraries: libcapnp-0.5.3.so
I think this is a generic problem not specifically related to Cap’n Proto. My project’s build succeeds but on run I get: Maybe I am missing something in CMake? I verified libcapnp-0.5.3.so exists in /usr/local/lib I also tried adding: Answer /usr/local/lib needs to be added to /etc/ld.so.conf then…
passwordless ssh from linux to Solaris works for oracle user but not for ftpuser [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 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 …
Installing (and deploying) Mono ASP.Net to Redhat
I have an Asp.Net app (built in mono) that I am trying to deploy to a Linux Redhat 6 environment. I tried following the instructions on the mono website: http://www.mono-project.com/docs/web/aspnet/ http://www.mono-project.com/docs/getting-started/install/linux/ I was able to get nginx installed and setup; ho…
Nancy on Linux is using 100% CPU
My nancy web-apps are using up together 100% CPU without them actually being used. They are running inside a docker container on mono. The only thing I could think about to cause this, would be the endless loop in my main function, something like but I thought, Console.ReadLine() would be blocking and therefo…
How to cross compile system tap scripts for user space application
The challenge that I faced was on identifying the process name / library name within the script.During the cross compilation the process name and library name are being referred with real path of process/library in the host (which I understood after peeked the generated .ko). Since the real path of host and t…
I am trying to replace a string in a file via shell script where a part of the string is unknown
I have tried a few ways with sed as below without success: I do not know the value behind “=” which can have up to 2 digits. Before and after the string there is a space, and the string always starts with “device.value=” PS: The file is a one liner with many values seperated through a …
How to get port information for usb ports using libudev?
For a small project i am using libudev to get notification for USB devices plug-in/plug-out. Is there any way of knowing which USB port was used to plug in the device via libudev. Actually there are multiple ports available and it is necessary to know which one was used. Any hints would be highly appreciated!…
strikethrough characters on php stream output
I am using php ssh2_exec to execute a ps aux command on a remote Linux server… The server initiating the connection is Ubuntu 14.04 and the server I am communicating with is Centos 6.6. Both systems are fully updates and I am using the following versions of PHP and Apache on the Ubuntu system: apache2 2…
Running multiple Java Applications on startup
I currently run these java applications with the following command via root: java -Xms1G -Xmx1G -jar /var/www/tekkit.socialnetwk.com/tekkit.jar nogui Although if I close the terminal window those applications close/stop. Is there anyway to stop this from happening? Either creating it as a service or to start …