I am currently working on "Creation of Postmortem data logger in Linux on Intel architecture. Its nothing but core utility creation. how the signal handlers for various signals(SIGSEGV,SIGABRT,SIGFPE etc) which produce core dump upon crashing an application internally implemented in Linux kernel. I need to re-write these signal handlers with my own user specific needs and rebuild the kernel. It makes my kernel producing the core file (upon crashing an application) with user specific needs like showing registers,stackdump and backtrace etc.
What I can't seem to find in the repositories is software for Dictionary Definitions and a Thesaurus - in another distro there is what is called "Online Dictionary" (which includes synonyms) and another distro there is what is called "WordNet";So, I would like to know the name(s) to look for in the repositories for software for a Dictionary / Thesaurus, where it is two different software packages or just one.I did see the "webpin" finds "WordNet", but installation of that fails.
I have installed suse linux 11.3. I have jdk 1.6.20.0 and oracle 10g 10.2.0. When I tried to connect to a database through thin driver ,it is giving me the following error.
Exception in thread "main" java.lang.NoClassDefFoundError: odata Caused by: java.lang.ClassNotFoundException: odata at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: odata. Program will exit.
I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.
I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.
I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....
I was playing with top to understand ram memory usage of every thread but i am in trouble with some basic questions:
- what difference is between 'thread' and 'process'?
- what does 'virtual image size' means, and Resident size, Shared Mem size, Code size, Data+Stack size, Swapped size? I thought that the only important field is 'Memory usage', but it is represented as a percent value...
I have googled a bit, but nothing really helped me. before opening top i thought that memory is divided in several pages by every process/thread (?) and that this occupied memory would be counted as 'used memory', and nothing else.
Code: Select all import java.util.*; public class FindDupes { public static void main(String[] args) { Set<String> orig = new HashSet<String>(); Set<String> dupe = new HashSet<String>(); for(String a: args) if(!orig.add(a)) dupe.add(a);
for some reason it will compile but not run on debian lenny complains it can't find the main class but it compiles and runs without problem on Fedora 12.
I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead. File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module> Checking for C++ header file asio.hpp... (cached) yes Checking for C++ header file boost/bind.hpp... (cached) yes Checking for C++ header file GL/gl.h... (cached) yes Checking for C++ header file GL/glu.h... (cached) yes Checking for C++ header file SDL/SDL.h... (cached) yes [Code]........
I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp. I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working as I espected:
grep -E '^[^(/*)(//)].*[^a-zA-Z]ABCZ[]*[*(<:;,{& ]' ^[^(/*)(//)] don't math comments in the begging of the line ( // or /* ) .* followed by any character
[code]....
Well, I can get patterns like this:
class Test: public ABCZ{ class Test: public ABCZ { class Test : public ABCZ<T>
I'm trying to design an inexpensive large scale DNS server but fail to find any metrics or methods to base scalabilty.Can anyone offer information on building a stable dedicated DNS server? That might be able to scale well.
Code: #include<iostream.h> #include<stdio.h> main() { int num1, num2, sum; code....
I search the answer to my problem in various forums but I can't solve the problem.I think that is due to I need some package or that I don't install the necessary libraries.
I just recently rebuilt my RHEL 5.3 system using MONDO onto differnt hardware. The tool worked GREAT on my 32 bit system. The only problem I am having now is that since this system was built as a clone of another system on different hardware, it copied over the network definitions as well. Not good!!! So although my system is up, I can't get it on the network because it still wants to use the original NIC's that were on the other system. How can I blow away all network hardware definitions and tell the system to go out and re-discover so that I can configure them with the nessasary network information.
ireverter will not launch due to a java problem: "Could not find the main class: org.thestaticvoid.iriverter.ConverterUI"
In the past a solution was to add: "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni" before the java line in the script. This does not correct my problem.
Recently, my fraternity decided to use our LAN to stream media to our various bars, lounges and ballroom. Some of our playback devices, including an iPhone and a laptop, broke during a party, which is why we decided to have portable devices replaced with sturdy, interchangable and fixed hardware.
As this is going to cost some money and effort, we had better make a fully thought-through plan, which I am in charge of. Still, having never organized a project of any measurable magnitude, I would rather have this plan commented on here.
So far, I am planning to buy one central PC (2GHz, 512 MB RAM) acting as a server, and four identical PCs (1GHz, 256 MB RAM) acting as clients. The former would a) provide local files, stored an an external encrypted hard drive, and b) act as a NFS and SMB client to private systems in the same LAN to incorporate (and forward) data stored on those (as to provide one central point to change the configuration for their use). Futhermore, it would host /etc, /usr and /home of the individual clients to provide that at all times, the same software and drivers are used on all of them. The clients then would mount /etc, /usr and /home from the server, alongside with the both the directories on its external HDD and the ones it had itself mounted from other PCs. Each of them would have to be able to play back music, video files and terrestrial TV from a USB stick, with at most two of them doing so at a time.
Is this a realistic scenario? I so, would you have any recommendations for changes and could you point out pitfalls? The whole lot would have to be rather secure, as usually, there are lots of people coming and going, and we don't want our private data corrupted. If not, where did I go wrong? How would you yourself build a system like that?
And last, what software would you use? Is there a window manager which would be able to act solely as a means to display the three icons needed for TV, video, and music, and make it impossible to tamper with the system? And what programs would you use for playback to ensure maximum performance?
P.S.: Not that I'd suspect so, but is there a german lawyer present? Provided the individual files we play are in our legal posession, this is a legal scenario, isn't it? There would only be friends and other frats present at any public display.
Are there any tricks/sites/methods to use the linux man command in a more convenient way? I love commands in terminal but for some strange reason I preferred to type man in firefox then in the terminal. The output is so long and I have to scroll forever to find what I need. Also the lack of example is a headache.
python can get anylink or any tutorials which is having few basic eg. and could help as a guide too. bcaz whatever now i have like "byte of python" which i feel difficult bcaz it lack in having eg. for modules of xml.so please help me by providing any better options
Does anyone know or have a book on the advanced uses of kickstart and its deployment methods? I have a challenge and its to: Write a report with a full and detailed analysis of the two methods,(remote installation methods of linux and windows) their differences, and a comparison of features and performance.
I am also going to have two servers (one Windows one Linux)thay deploy a virtual network of VMs with different scopes and policies. What can i really do to go beyond the scopes and policies?
Where are the definitions for C library functions located? It was just recently that I realized that header files don't actually define any functions, they merely include their prototypes.
For instance, stdio.h includes the following line:
Code:
This just means that the definition of printf() is located in another file. What file? Is there some kind of default shared object file that is automatically included during compilation?
I have somehow managed to wreck the definitions /paths for my Home and Desktop. If I click on Places I now have a "Home Folder" displayed as "Open Your personal Folder", a "Desktop" displayed as "Open the contents of your Desktop in a folder" and a second "Home Folder" displays as "Open '/home/ian'"....and they all point to the same folder which is my personal user file "ian". This is kind of OK except that every file I have now gets displayed on my screen because "Desktop" has a view of these files. Is there any easy way to reset my file directory ? or do I have to backup my files and reinstall Ubuntu.
I have installed clamav antivirus,and while scanning it shows the following warning
LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** Please update it as soon as possible. *** LibClamAV Warning: **************************************************
And so i have tried to update the virus database as root,using this command
# freshclam bash: freshclam: command not found
but i cant,can you pls say me how to update the virus database...
Is it possible to induce bash to interpret the ${tbl[1]} part to its actual value (1-6) when I reference those particular entries in the arrays? Using this instruction to do so code...
I am new in c++ progreming . i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...
To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.
There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.
I have a server (192.168.1.9) in my network that is running a http server on port 5000. This server port have been opened (on my router 192.168.1.1) to be available from my public IP (on port 80).
I have recently installed openvpn to connect to a vpn, but I'd like to keep my http server available from my public IP (no need to have it available to the VPN network).
I'm completely lost and I don't know where to start ...
Here are some details about the route configuration :
i've just started to learn about functions in Bash scripting. I'm able to set the functions and execute the commands correctly. However, if my_var is set in the first function and then later in the script in the script the 2nd function is called, it doesn't seem to remember my_var and quits (at least i suspect this is the problem).
Here's my code (it requires yad available via webupd8. org). My specific problem seems to lay in line #27 where if we view the changelog and then exit that window, it returns to the "main" function but any subsequent commands cause a crash. Is this because of the get command on line #29? It's presumably now out of scope after calling menu on line #25?
I am unable to send emails throught smtp class with auth server. Whenever i send the email even throught mybb smtp class in forum i see blank page and apache logs shows: Code: [Thu Jul 29 16:41:49 2010] [notice] child pid 23716 exit signal Segmentation fault (11) any idea what i have to add for proper work of this?
Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.