General :: Grep Exits Abnormally With Code 123 When Running Rgrep On Emacs
Oct 7, 2010
I'm running GNU Emacs 23.1.1 on "Ubuntu 10.04.1 LTS" and any search I perform using the built-in M-x rgrep on the standard Linux kernel source code (vanilla) ends prematurely with the following error printed to the emacs echo area:Grep exited abnormally with code 123.I have been seeing it for a while on Redhat systems as well, and with other (large) code bases.
View 2 Replies
ADVERTISEMENT
Aug 2, 2010
I installed squid 2.6.stable21 on centos 5.3,it starts normally from /usr/local/squid/sbin/squid but when I start form init.d it is running but display message.
/etc/init.d/squid start then displays
Starting JunkBuster & Squid 2010/08/02 19:05:52| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 179: http_reply_access allow all
Squid Cache (Version 2.6.STABLE21): Terminated abnormally. [FAILED]
View 2 Replies
View Related
May 17, 2010
I was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
View 2 Replies
View Related
Mar 17, 2010
I am not sure which thread this fits in, I am facing a strange problem. There is a code tarball that I cross-compile on a Fedora Core 9 machine and it builds fine. But when I do the same thing on a (heavily used) Fedora Core 7 machine, the build keeps failing in the gnuapp folders grep, coreutils etc. I have tried 'make distclean', and clearing the config.cache but no impact.
Note: I export the PATH variable (to the local cross-compiler) before starting the build. The cross compilation is for the MIPS processor and GNU makefiles are used.
View 1 Replies
View Related
Jul 19, 2009
After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.
If I run one session of emacs everything works fine.
Once I start a second session and try to resize or move the emacs window, the system stops responding.
View 1 Replies
View Related
Mar 19, 2010
Can someone please tell me how I can use grep to display all users running a particular command.
View 3 Replies
View Related
Jan 13, 2010
I usually develop python code with emacs, emacs being in python code. On my desktop a version is installed and/or configured that way, so I easily can choose a region in the code and simply click on a menu option to comment out this block of code (i.e. at the begin of each line in the selected code two '##' are put). That is very convenient.
However, on my Laptop, running F12 and emacs 23.1.1, this menu option is missing! I searched within google and found the hint that by pressing 'C-c #' I also can comment out a selected region. But on my emacs it says: 'C-c # is undefined'. Am I missing something? Anyone any idea how to fix/install/update/solve this problem, so I can easily choose a couple of python lines and comment them out?
View 3 Replies
View Related
Mar 23, 2011
Can you find an alternative for Code: wc -l using grep?
View 1 Replies
View Related
Oct 4, 2010
When i restart the squid service, the following error has occured
Code:
2010/10/04 12:14:14| Squid is already running! Process ID 3941
FATAL: setrlimit: RLIMIT_NOFILE: (13) Permission denied
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
[code]....
View 3 Replies
View Related
Feb 27, 2011
I'm working on a new conky script, and I had the idea to use text from a [URL]... The command I'm using to pull the file is:
Code:
curl -s http://www.thefuckingweather.com/?zipcode=33186 | grep 'ITS FKING *'
However, this gives me the entire line of code this line appears in.
Code:
<br />ITS FKCING NICE</div><div id="remark"><br />
How can I limit this to simply the text?
Sorry about the foul language btw...the words obviously aren't misspelled when I enter them in the terminal
View 5 Replies
View Related
Jan 20, 2010
I am new to Linux and have asked several Linux enthusiasts about my problem, however I am wondering at this point if it is a lost cause, since many have been unable to help me solve my problem.
I am unable to run a certain C code which uses the obsolete compilation method 'imake'. I would kindly like to ask if there is any way that I can run this code. Am I required to install anything? Or do I have to change the code in some way so that it could run on a more updated compilation method?
View 1 Replies
View Related
Jul 5, 2010
I am a semi-noob on this and I have problems getting my emacs recognizing .tex as latex and even running latex-mode. Usually when you run latex-mode (M-x : latex-mode) emacs should switch to latex-mode, but nothing happens in my case. The menu bar still show the TeX options, highlighting remains the same etc.
I am running emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4), this is on a university system so I don't know much about it.
> uname -a
Linux karakum 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 00:57:09 EST 2010 x86_64 x86_64 x86_64 GNU/Linux.
View 12 Replies
View Related
Jan 29, 2010
In short our required is that we are creating a share library which can be loaded by a process and that share library analysis the process which load it. Since share library is in address space of the process so I need to find out how many threads created by the process and what is status of their stack trace etc.
So I am looking for a way to get list of threads in running process.
View 1 Replies
View Related
Feb 5, 2011
how to list the currently running processes via code a shell script. FYI i now about the top method in the terminal but i need a way to have it via a shell script.
View 4 Replies
View Related
Aug 18, 2009
is there a way for me to grep the process that running more than 30 days only using linux command or script?
example:i do ps -ef to list out the process, then i want to filter only the process that always running more than 30 days..
View 8 Replies
View Related
Jan 29, 2011
I'm trying to use emacs in the auctex mode. But Flymake complains about something I could not understand. This is the error it shows whenever I open a tex file.
Code:
Flymake:Configuration error has occured while running (texify --pdf --tex-option=-c-style-errors PATH_TO_FILE_DIRECTORY/FILE_flymake.tex).
Flymake will be switched OFF.
I have texify installed on my system. I also tried suggestions in the emacs wiki on FlymakeTex, added the following lines in my .emacs file:
Code:
(defun flymake-get-tex-args (file-name)
(list "pdflatex" (list "-file-line-error" "-draftmode"
"-interaction=nonstopmode" file-name)))
How do I stop this msg and use flymake.
View 1 Replies
View Related
Jan 25, 2011
Quote:
logcountfunction()
{
awk ' {
# when executing the script pass the logfile as parameter on the command prompt with the name of the file
#export file_name= "&1"
[Code]....
my problem is that when i execute this script only the first two functions are being called.once the DBcounttry_finalnofunc() is done ,the script exits.The rest of the functions are not being called.
View 1 Replies
View Related
Apr 23, 2010
I am using CentOS 5.4. I created a bash script that does some checking before running any commands. If the check fails, it will simply exit 0. The problem I am having is that on our server, the script will exit the su or ssh session when the exit 0 is called.
#!/bin/bash
# check if directory has contents and exit if none
if [ -z "`ls /ebs_raid/import/*.txt 2>/dev/null`" ]; then
echo "ok"
exit 0
fi
Here is the output:
[root@ip-10-251-86-31 ebs_raid]# . test.sh
ok
[russ@ip-10-251-86-31 ebs_raid]$
I was removed from my sudo session, if I wasn't in the sudo session, it would have logged me out of my ssh session. I am not sure what I am doing wrong here or where to start.
View 1 Replies
View Related
Mar 17, 2010
I faced a issue with updating a file contents with echo command which fails with error as below:
echo "foo" > bar //to create a file named "bar"
echo "foobar" > bar //to edit its contents
The latter fails, it prompts "File exists" i.e.
~>echo "foo" > bar
~>echo "foobar" > bar
bar: File exists.
~>cat bar
foo
~>
View 4 Replies
View Related
Jun 9, 2009
I'm trying to install centos 5.3 as part of AsteriskNow 1.5 on a SuperMicro server with main board type X5DA8 The anaconda fails with the following text visible:
[Code]....
Other terminals (F3 and F4) don't appear to have any interesting information on why it barfed. I tried it with a text install too, much the same result. I get this error with other Centos 5.n based Asterisk and GUI bundled mini distors too, specifically TrixBox
View 17 Replies
View Related
Mar 31, 2010
Not doubt this sounds alarmist, and perhaps it is... anyway, earlier tonight my mum complained that her home network connection wasn't working. After complaining about Windows and running a virus scan, I returned to my laptop, only to find my Ubuntu 10.04 was having the same problem. Then I noticed the wireless connection light (next to send and receive, which always blinks anyway) was constantly flashing, as if transmitting data, even though neither of us was connected, of course. I turned the router off and on again a few minutes later. Initially the light was still blinking abnormally, but I could now access the internet, as could mum, so I ignored it.
Later on, while the virus scan on mum's computer was running, Windows notified her she was running out of hard drive space - normally about 30GB of the 51GB HD is used on her laptop, but suddenly 50GB had been used. I also noticed my 275GB Ubuntu partition had 235GB free (although total size of files on disk was 128TB - a bug perhaps?), i.e. 40GB used, which seems pretty large for a rather fresh install and a handful of documents!Currently, everything's normal where my router's concerned (no blinking lights except for my browsing), and my Lucid partition is still showing 235GB free (strangely, mum's laptop now shows 46GB used instead of 50GB). So, what do we make of all this? Were our computers hacked for storage space?
View 12 Replies
View Related
Apr 27, 2010
I was wondering why this code only returns me the same value ten times instead of valuate the conta+0.1 value code...
View 6 Replies
View Related
Oct 1, 2010
I am using Pthread concept for developing my application Some times my system is getting hanged while the code is running and as soon as I am Pressing CTRL + C it is coming out of the code and system is going to the normal state. but several time only ^C is appearing in the terminal and system is not responding. do any one have the Solution what to do in that case.
View 3 Replies
View Related
Aug 9, 2010
I installed code blocks from .deb files, icon of CB was created but when I click on it to start it, it shows only logo of CB and end, please wehe is error?
View 1 Replies
View Related
Oct 3, 2010
i configured the build-essential(for c compilation). and I am unable to get the output.This is what i do.(check the image) Since i wanted to copy the output from one of the tty's I tried GPM service. But i dont know how to copy it. Some says click the middle mouse button and it will copy but when i do some code start running on the console. no copy paste. How can i run JAVA programs.
View 9 Replies
View Related
Nov 22, 2010
I need to kind of grep within grep. My input file would be something like:
[Code]....
and I need to find the first occurrence of hello before MY PATTERN (hello 9008 in this case), so the output should be:
[Code]....
View 4 Replies
View Related
Aug 30, 2010
I have a bash script that launches an application of mine through a gnome terminal with the following command:gnome-terminal -x MyApplicationIf MyApplication launches correctly, a GUI is displayed. If it fails to launch correctly, it reports errors to stdout (the terminal).
My problem is, the terminal immediately exits when MyApplication exits, leaving no time to see the error messages if MyApplication fails to launch.You can also see this behavior by trying:gnome-terminal -x lsThe gnome terminal immediately exits.Is there a way to stop this behavior? I want the terminal to remain until I close it.
View 6 Replies
View Related
Jul 29, 2011
I tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?
View 1 Replies
View Related
Mar 11, 2011
I am currently interested in switching from vim to emacs.One of the more compelling reasons for this is the smooth integration with a unix environment. The most experienced emacs users I have seen have a bash prompt at the bottom of their window, with stdout going to a buffer right above it. They then interact with the output of programs such as grep in interesting ways.I am on Ubuntu 10.04 and the default emacs environment does not seem to do much for me in the way of integration. For example, in the M-x shell mode, output from basic commands like ls produce lots of strange characters and hitting the up arrow does not go to previous commands.
View 4 Replies
View Related
Aug 20, 2010
I am doing some project work and for that using the server at college with ssh connection. Every time I try to open emacs on the terminal after connecting, it opens emacs in the terminal itself i.e. not its own window. On my laptop on which ubuntu is installed, emacs always opens up in its own window an thats how I am used to it. There are several problems when it opens in the terminal like when I try to use commands such as M-V, actually terminal's view menu opens up, its very frustrating. Also I am pretty sure that the college server runs on red hat and has X installed on it. So what do I need to do to get my emacs window back.
View 4 Replies
View Related