Hi All,
I am seeing weird behavior on Linux where I am seeing that remote end and local end are both showing same IP and port combination. Following is the netstat output
netstat -anp | grep 6102
tcp 0 0 139.185.44.123:61020 0.0.0.0:* LISTEN 3361/a.out
tcp 0 0 139.185.44.123:61021 ...
Please, how to solve this:
I've installed GIMP 2.7.1 (OS Slax), but it doesn't work. Clicking on icon doesn't start GIMP.
In Shell:
kdesu /usr/bin/gimp
gimp: symbol lookup error: /usr/lib/libgegl-0.1.so.0: undefined symbol: g_dgettext
I cannot run most of apps, including mono.
...
Hello,
I searched for a question about regexp testing/learning tools, but people usually suggest Windows based solution. I found one for ubuntu: redit.
However, I'm wondering if there are better tools for the job. So, without further ado
Q: What is the best tool for testing/leadning regular expressions
for linux/ubuntu?
Sorry if th...
I read some documents that share library comiled with -fPIC argument,
the .text seqment of the .so will be shared at process fork's dynamic linking stage
(eq. the process will map the .so to the same physical address)
i am interested in who (the kernel or ld.so ) and how to accomplish this?
maybe i should trace the code, but i dont kno...
Hi,
I need a tool that allows me to parse a config file and request some data from it.
The format of the config file is free (it can be INI, XML, and so on) but the more human-friendly, the better.
Here is a sample config file (using XML, but it could be anything: i don't mind the format):
<?xml version="1.0" encoding="UTF-8" ?>
<con...
We have a linux module developed by a 3rd party, now the module runs correctly on a Fedora system but on Ubuntu the same fails. When we do an ldd for the binary the following output is received
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib32/libdl.so.2 (0xf76f5000)
libc.so.6 => /lib32/libc.so.6 (0xf759b000)
...
How do I make vim use syntax=cpp for *.h *.H *.C files? What line(s) should I add to vimrc?
...
how to install xmpp python lib in ubuntu?
i downloaded this lib file
http://archive.ubuntu.com/ubuntu/pool/main/p/python-xmpp/python-xmpp_0.2-rc3.orig.tar.gz
when i say make install its giving me error
ubuntu@ubuntu:/media/DATA/ubuntu/xmpppy-0.2-rc3$ make install
Add here commands to install the package into debian/python-xmpp
[ -d...
i am using RouterTik OS as my edge router. My clients are connected to one of the lan card of this router PC. One of my client has MAC book. He can discover all the clients connected to that lan card. How can i restrict my clients unable to discover each others?
...
I compile my simple prog with #include <sys/socket.h> but there's none of this file.
Where is it, I just start coding in linux and I have no idea where is it . Or do we need to download it online .
...
Is there any way to compare such strings on bash:
2.4.5 and 2.8 and 2.4.5.1
etc
...
I have a Amazon EC2 Linux micro instance server that I need to fire an hourly process on. I have chosen to use crontab and cannot get it to fire.
I placed a *.sh file in the /etc/cron.hourly
If I run $ sh /etc/cron.hourly/notify.sh the script behaves as expected.
I have checked to see if the cron service is running and it is.
I have...
Hi, I'm using the combination of pppd and chat to communicate with a GSM-Modem and establish n GPRS-Connection. The Modem that I'm using implements the AT^SCFG Command to manage its internal configuration. Using this command on a serial console works just fine, but when I'm sending it via a chatscript, the modem responds with an error.
I...
Hi.
Is there a good way to detect that particular disk went offline on server on Linux, via Java?
I have an application, that due to performance reasons, writes to all disks directly (without any RAID in middle).
I need to detect if Linux would unmount any disk due to disk crash during run-time, so I would stop using it. The problem i...
I have been working with an Windows application which reads from the 'nonpaged pool' to increase performance. In this case the nonpaged pool is the area of memory where the network drivers write data as they grab it off the wire.
How does Linux handle memory which network drivers (or other drivers) which require high speed exclusive ac...
Hello
I'm currently writing a software to test the integrity of flash-memory devices. (using c++ iostreams)
To achieve this goal files with random content are written to the device, read back, copied, moved, compared ( I put the device under stress condition, and check if the data is valid from time to time)...
Everything looks great on...
Possible Duplicate:
how to find the location of the executable in C
I would like an executable to be able to discover its own path; I have a feeling that the answer is "you can't do this", but I would like this to be confirmed!
I don't think I can use getcwd(), because I might not be executing it from the same directory. I d...
I rename few files (1234.xml, 9876.xml, 2345.xml etc) with .xml extension with the following code :
for i in *.xml
do
mv $i $i.ab
done
it becomes 1234.xml.ab, 9876.xml.ab, 2345.xml.ab...etc
Now, I want to rename it to 1234.xml.SD, 9876.xml.SD, 2345.xml.SD...etc.
These are 100 files.
How can this be achieved with the hel...
Hi all. I have this problem when i try to push in git:
error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To ssh://<repo url>/<repo dir>
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push so...
Hi there,
I'm building a console application in Ruby. One of the things I'd like it to do is edit text files. It strikes me that the most reasonable course of action would be to launch whatever default editor the user has set up -- nano, vi, emacs... let the user decide. I'd like to pass it the name of the file that will be created/edit...