General :: PIPE Symbol Not Recognized In Script?

Aug 9, 2011

this is the simple backup script which i used to take backup the databases of my clients

Code:
#!/bin/bash
date=`date +%d-%m-%Y_%H.%M.%S`

[code]....

View 6 Replies


ADVERTISEMENT

Programming :: Handle A Broken Pipe Exception (SIGPIPE) In FIFO Pipe?

Mar 2, 2011

I've written a simple server in linux used fork to create a FIFO pipe.The server create two FIFO pipe.One for server read data from client and write data to client.Then another pipe for client read data from server and write data to server.When the server read data from a client used server-pipe and then write data to client.But ,if the client no read open the pipe,the server side write will be crashed because of a broken-pipe SIGPIPE. How to check whether the read side is opened?Or,how to catch the SIGPIPE,and then my server will still execute on,not crashed!!

View 5 Replies View Related

OpenSUSE :: Symbol Lookup Error: /usr/lib64/libedit.so.0: Undefined Symbol: Tgetent

Dec 15, 2009

Apache doesn't start with libedit.so.0.0.34 ( from libedit0-3.0.snap20090923-4.1.x86_64 ).

Code:

[Tue Dec 15 16:20:51 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
/usr/sbin/httpd2-prefork: symbol lookup error: /usr/lib64/libedit.so.0: undefined symbol: tgetent
Solution: I copied /usr/lib64/libedit.so.0.0.27 from a previous install and symlinked /usr/lib64/libedit.so.0 to it.

View 6 Replies View Related

Ubuntu :: Skype: Symbol Lookup Error: /usr/lib32/libQtDBus.so.4: Undefined Symbol

Jan 17, 2010

ive made a slight mistake on my Ubuntu 9.10 64bit. I was trying to get Voodoo Motion Tracking software to work, and it was having trouble locating some Qt Libs, so I decided it was a good idea to move its included libs into /user/lib32 directory. Voodoo now works, but Skype instead comes up with:

Code:

skype: symbol lookup error: /usr/lib32/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv Skype was installed using their own provided 64bit .deb - it was previously working fine.

View 2 Replies View Related

Ubuntu Installation :: Symbol Lookup Error: /usr/lib/libnssutil3.so.1d: Undefined Symbol: PL_ClearArenaPool

Oct 21, 2010

The most recent update impacted my thunderbird-3.0. When launched I get these error messages

/usr/lib/thunderbird-3.0.3pre/thunderbird-bin: Symbol `SSL_ImplementedCiphers' has different size in shared object, consider re-linking
/usr/lib/thunderbird-3.0.3pre/thunderbird-bin: symbol lookup error: /usr/lib/libnssutil3.so.1d: undefined symbol: PL_ClearArenaPool

I can only assume the libnssutil3 library was upgraded and this broke the library call in the thunderbird-3.0.

View 3 Replies View Related

CentOS 5 :: /opt/dmz/bin/httpd: Symbol Lookup Error: /lib/libssl.so.5: Undefined Symbol: OPENSSL_init

Sep 21, 2010

I performed a yum update and now my yum is not working and I am unable to start my apache processes (in a dmz configuration).This is the error I am getting from yum.

yum clean
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in ?
import yum

[code]....

View 9 Replies View Related

Ubuntu :: Mixxx: Symbol Lookup Error: /usr/lib/libQtNetwork.so.4: Undefined Symbol

Dec 6, 2010

I'm running Ubuntu 10.10 and was looking for software to mix mp3's. I want to try mixxx (found here) I installed the most recent package by using the ppa of the project (as described here) Install seems to be ok (no error messages)But when I try to run mixxx from the menu nothing happens. Nothing. Running it from the terminal with the command

Code:

mixxx

I get this error message:

Quote:

mixxx: symbol lookup error: /usr/lib/libQtNetwork.so.4: undefined symbol: _ZN16QIODevicePrivate4peekEPcx

View 2 Replies View Related

Networking :: PING - Pipe 2 Versus Pipe 3

Apr 10, 2009

I'm doing ping between 2 RH servers through a VPN site2site tunnel and in some times I got in the result pipe 2 and another pipe 3 as I mark it in blue color below.

e.g.

64 bytes from 192.168.1.10: icmp_seq=0 ttl=128 time=0.229 ms
64 bytes from 192.168.1.10: icmp_seq=1 ttl=128 time=0.287 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=128 time=0.278 ms

[code]....

What's the difference between pipe 2 and pipe 3 and what's the meaning of it?

View 1 Replies View Related

Debian Multimedia :: Pidgin: Symbol Lookup Error: Pidgin: Undefined Symbol: Purple_media_element_info_get_type

Aug 1, 2010

Previously after doing aptitude upgrade, my pidgin seems broken with no gui shown. So I decided to download the latest source from pidgin website and build it from source, but I think I made situation worse because it then complained that ssl lib was needed. Then I removed the libpurple (e.g. aptitude purge libpurple0 libpurple-bin libpurple-dev) and reinstalled pidgin (aptitude install pidgin). Now it shows the error

pidgin: symbol lookup error: pidgin: undefined symbol: purple_media_element_info_get_type

I searched on the internet and can not find a solution. The clues on the internet says that's because the piding I use is the older version of libpurple. But I think I've removed all with purge and reinstalled it. Maybe some legacy binary is referenced. What or where it might be? Or where there may contain related information.

View 2 Replies View Related

Fedora Networking :: /usr/bin/perl: Symbol Lookup Error: /usr/bin/perl: Undefined Symbol: PL_use_safe_putenv

Apr 8, 2009

I am trying to setup the wlan access for my Fedora 9 system. I installed ndiswrapper. But when I run

Code:

ndiswrapper -l

i am getting the error

Code:

/usr/bin/perl: symbol lookup error: /usr/bin/perl: undefined symbol: PL_use_safe_putenv

View 11 Replies View Related

General :: Can't Scp A Named Pipe?

Aug 2, 2011

I am trying to encrypt a file on-the-fly, redirecting the output to a named pipe [fifo]. I SSH into my server and run the command:mcrypt -k key < file > named_pipethen from my laptop I try to scp it:$ scp me@server:~/dir/named_pipe d it says scp:users/home/me/dir/named_pipe: not a regular file

View 1 Replies View Related

General :: Keyboard Won't Pipe?

Dec 23, 2010

I'm on the command line, as the install for the proprietary ATI driver has failed. I'm following the instructions for troubleshooting here but the pipe "|" key is not working - a tilda "~" shows up when I press it.I'm wondering if this is because of the keyboard being set as UK instead of US? I did have to change this setting at the graphical login initally, whether from choosing this setting by mistake or the installer choosing it automatically when I chose English UK for the language.

View 3 Replies View Related

General :: Kill A Process Using Pipe?

Apr 22, 2010

We want to kill a process provided that only process name is given and we are to first find out the process id and then kill the process. Yes, in one go! That is, using pipe.

So, I tried this (the bold text):

[Code]...

View 17 Replies View Related

General :: Trying To Use Pipe Or Awk To Work With MPlayer

Feb 11, 2010

I have a text file containing the URL I wanted for mplayer to play. Currently, I play those in commend line using the following steps:
1)cat playlist
2)use mouse to highlight the link
3)type: mplayer then click both left/right mouse button

I was hoping if I can do this in comment line without mouse. I've tried the following without luck. (assume there's only 1 address in the text file)
1) cat playlist |mplayer
2) cat playlist |awk '{print $1}'| mplayer

View 4 Replies View Related

General :: Understanding How Pipe Works In Bash

Aug 21, 2010

I don't quite understand how pipes work in bash. I know that it takes an output from one command as the input in another command. What an output is I can get because it's what the command prints out to the screen. But how do I know what input a command will take? Here is an example I thought would work:

Which gem | rm
Unfortunately it didn't.
Which gem prints out "/usr/bin/gem" so that must be the output right? I thought that was given to rm so it would be "rm /usr/bin/gem" but I was wrong. How do I know what input a command takes?

View 4 Replies View Related

General :: Monitor Interprocess Pipe Traffic?

Dec 14, 2010

I have two Linux processes communicating via a nameless pipe. How can monitor the traffic in the pipe? How can I inject data into the pipe? I have root access and know the pipe inode.

View 2 Replies View Related

General :: Read File And Pipe To Grep

May 26, 2011

I'm storing a list of strings in a file and would like to read the file and pipe each line returned to grep which in turn searches a directory for files containing the string.However this is not returning any output.

View 2 Replies View Related

General :: Flow Control In Bash Pipe?

Jul 25, 2010

Two processes are communicating through a pipe: A | B. A is writing data faster than B is reading it in. Is there any way to have A limit its writing rate to match B's reading rate?

AFAIK the pipe will get full, and will make A's writing block, waiting for B to read in more data. But is there a way to limit A's writing rate before the pipe fills up? (In a way it's like having a pipe with a really small capacity, but as far as I know pipe capacity is a constant compiled into the kernel.)

Code:

EXAMPLE FOR CLARIFICATION

Right now the command is printing out the following in 1-second intervals:

But with flow control it should print out (again in 1-second intervals):

...since "date" would block on the writing loop due to the slow reading loop.

View 4 Replies View Related

General :: Pipe The Output Of Date Command?

Jul 21, 2011

I need to pipe the output of date command, to form a command like this:

mycommand -f 20110721

where 20110721 is current YearMonthDay.

View 1 Replies View Related

General :: Simple Pipe Email To Curl?

Apr 1, 2010

I would like to pipe a raw email from cPanel to curl, using curl to send the raw email via a post variable.wever, I am unsure of the command line syntax that would receive the piped email and post using curl.Ideally, the email would pipe to the curl command "curl -d 'emailvar=RAWEMAILHERE'

View 2 Replies View Related

General :: Replace Everything Before @ Symbol?

Nov 13, 2009

I have a list of email address's that I need to sift through to identify only the domain name.

xyz@yo.com
abs@yo.com
clahclah@test.com

I want to remove everything before the @ symbol and only print the domain name. Can anyone assist with this?

View 8 Replies View Related

General :: What Does Symbol ^ Do In Bash

Sep 13, 2010

What does symbol ^ do in bash?

For example:

Code:
grep -c ^processor /proc/cpuinfo

View 4 Replies View Related

General :: Pipe Output Of Shell Command Into A New Buffer In Vim?

Jun 29, 2010

How can I pipe the output of a shell command into a new buffer in Vim? The following obviously wouldn't work, but you can see what I'm getting at:

:!echo % | :newtab

View 2 Replies View Related

General :: Pipe Kernel Messages To Another Process As They Occur

Apr 13, 2011

I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an argument separated by spaces.Example: the command /opt/asusg50oled/utils/notify.sh Hi Everybody "Hello World" displays on the oled screen:

Hi
Everybody
Hello World

If another message is sent before the old ones disappear and it reverts to status info, it pushes off the top message. Example: less than 30 seconds after the previous example, /opt/asusg50oled/utils/notify.sh "Bananas have potassium" is executed:

Everybody
Hello World
Bananas have potassium

What I want to do is have kernel messages (the kind you see by running dmesg) forwarded to this script. For example, when I insert a USB drive, the following information would show on the OLED screen as they're logged:........

View 3 Replies View Related

General :: Nawk - Input From A Pipe And A File At The Same Time

Sep 16, 2010

I am tying to read a file in with nawk whilst trying to take input from a pipe. I've come across the getline option and no matter how hard I try, I can't figure out the correct syntax. What I want to do is to take some input from the pipe and make a comparison with all of the values in a file and print a match.

Code:

View 2 Replies View Related

General :: Pipe Screen To Video Device (Udev)

Mar 20, 2010

Is there any way to pipe video from the screen to a video device that can be used as if it came from a webcam? I assume it uses udev somehow...

View 4 Replies View Related

General :: Process The Output Of A Locate Command, Pipe It To What?

Sep 30, 2010

Is there a way to process the output of a locate command on the spot within bash. The output is 3 lines, ex:

Code:
[root@server confluence]# locate .timestamp
/opt/confluence/confluence-persistent/index/.timestamp

[code]....

View 3 Replies View Related

General :: What Is Meaning That File Is Named Pipe (FIFO)?

Jul 12, 2011

What is a pipe? and why a file is a named pipe? I am just learning linux.

View 2 Replies View Related

General :: Cant Figure Out What This Symbol Is And How To Type It (')

Feb 24, 2011

Very simple question but I cant proceed without thWhat is this symbol 'and how do I type it? I tried google but dont really know to search for it.I'm trying to type in:Quote:

cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='u:w$ ' /bin/bash
EOF

View 6 Replies View Related

General :: X Bug - Unresolved Symbol Xf86Udelay?

Aug 8, 2010

I'm trying to run Slackware 13.1, but X Window doesn't work - it is an unresolved symbol xf86Udelay in neomagic video driver. Google tells me that it is know problem (523800 in RedHat, 592035 in Debian) and it has even been fixed last year. But what can I do if I wouldn't like to compile X myself? Is it a way to get fixed binary for my neomagic video somewhere?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved