I am trying to select an element with with ID which have pipecharacter (|)....i found that its not workingCODE--HTML<input type ="text" id="firstName|1" name="firstName|1"/>CODE-SCRIPTalert($("#firstname|1").val() );and output is "undefined"..............................Works well if i remove pipePlease help me..is it a bug or "feature"
hello, I have the above mentioned integrated keyboard/monitor/mounse kvm attached to a 7026-H80 running 5.2 ML2. The pipe key will not work. Belkin support is not that helpful. I see some keyboard related files in /usr/lpp/X11/defaults/xmodmap. Is there something on the software level I can look at to fix this problem?
I'm trying to create a named pipe for syslog-ng to feed. No matter what I do, it seems, syslog-ng says: syslog-ng356508: Error opening file for writing;filename='/data/pipes/net_pipe', error='No such device or address (6)' I created it with mkfifo -m 640 /data/pipes/net_pipeI then chown syslog:syslog /data/pipes/net_pipeThis is the same as when you let syslog-ng create the files on its own (but as a file).
I ran into a problem when I tried to using a named pipe as the AIX syslog "destination", if someone could give me some answer or hint, it will be appreciated.First, I am not sure whether syslog on AIX can support named pipe, I did not see the named pipe support in the syslog manpage. I tried to add the line "*.debug |/full/path/of/named/pipe" in /etc/syslog.conf and restarted the syslogd, but it seems that it does not work. Does someone know whether syslog on AIX can support named pipe?If the syslog on AIX can support named pipe, how should we configure it?I know that the syslog-ng can be inst
HiIn an AIX box, 5300-05, I want to change pipe size, I tried from /etc/security/limits and rebooted, still older value.bash-2.04# ulimit -acore file size (blocks) unlimiteddata seg size (kbytes) unlimitedfile size (blocks) unlimitedmax memory size (kbytes) unlimitedopen files unlimitedpipe size (512 bytes) 64stack size (kbytes) 2097151cpu time (seconds) unlimitedmax user processes 262144virtual memory (kbytes) unlimited Can anyone suggest how to change this value?
I am new to AIX. This is the ulimit of my machine:-bash-3.00# ulimit -a...pipe size (512 bytes, -p) 64...Does anyone know how to change the pipe size?
This message is one of several periodic postings to DevShed's Perl forum intended to make it easier for Perl programmers to find answers to common questions. The core of this message represents an excerpt from the documentation provided with every Standard Distribution of Perl.---------------------------------------------How can I open a pipe both to and from a command?The IPC::Open2 module (part of the standard perl distribution) is aneasy-to-use approach that internally uses pipe(), fork(), and exec() to dothe job. Make sure you read the deadlock warnings in its documentation,though (see the
DBMS_PIPE package body not installed properly. Need the DBMS_PIPE package.OS-HP-UNIX
Lately i am seeing this PHP notice in my error_log:PHP Notice: fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 107 bytesfailed with errno=32 Broken pipe in /home/virtual/media_functions/links/sphinxapi-97.phpon line 432I have been googling for solution but couldn't find any.anyone familiar with this problem?
I have tried all sort of combinations with main.cf and master.cf. with no luck at all.where should the code below go? I've already tried at the bottom of master.cf.bounce unix - n n - - pipeuser=www-data argv=/var/www/apps/oempro/cli/bounce.php
I have problems for getting a mysqld-nt service working okay. I have installed version 4.1.8 of the Windows Essentials distribution. My OS is windows 2000 + sp4. The service starts successfully but I cannot access the database: $ mysql -h . -u root -p Enter password: ************ ERROR 2017 (HY000): Can't open named pipe to host: . pipe: MySQL (2) Originally I have used the wizard for doing the installation, but after getting the problem shown above I have uninstalled everything and re-installed in this case by manually issuing the following command: $ mysqld-nt.exe --install MySQL --defaults-
/var/adm/wtmp grow up.I just >/var/adm/wtmp or cp /dev/null /var/adm/wtmpDo we have other method to reduce it size.pipe the file is not official method?
We are getting this in searchd log from time to time WARNING: send() failed: 32: Brokenpipe.Does anyone know what is causing this, I found one thread referencing this but didn;tseem relevant to us we are using the PHP api on RHEL4 with:Sphinx 0.9.9-id64-rc1 (r1566)
I'm trying to get my head around pipes. I thought it would be pretty simple but I've found that it isn't safe to read from a pipe when there's no data available. For example this code works (and would presumably still work if two different processes were accessing the pipe)int handles[2];int ret = _pipe(handles, 4096, O_TEXT);if (0 == ret){char buf[20];// Write, then read::write (handles[1], "Hello ", 6);::read (handles[0], buf, 20); // Successfully receives the string "Hello "}But reading from an empty pipe doesn't work so well:-int handles[2];int ret = _pipe(handles, 4096
I'm new to Linux and I'm still trying to make my linux work on an external drive. I think I have found how, but I need to use the pipe symbol in a command line and I don't have it on my keyboard.I've tried different settings for my keyboard and different language, but nothing seems to do; I try all the keys, with shift or alt, but nothing works.I'm working on Debian, Lenny, with a Lenovo 3000 v100 Laptop. Nowhere on my keyboard do I have the symbol I am looking for. I have the vertical bar divided in two, but not the continous one.Do I need somehow to remap my keyboard or add a function to a k
I move a page from a server in Suse to Debian and this script was working well but when i move the page to a Debian base server it is sending in the logs the following message:cat: write error: Broken pipe, referer: http://domain.example/cgi-bin/search.shthe cgi does the following, read a db file plain text that repeat each 15 lines an information where to look the seraching info. if it is there sends to the output the 15 lines block. but it was not sending errors in suse distro, does anybody knows why the cat's line are sending "cat: write error: Broken pipe," if i am not writing or
Is there a way that I can open a pipe or something and pass variables, so that when I use exec() to run an application, that application can use those variables.
MySQL version: 4.1.13-standard Hibernate version: 3 Tomcat version: 5.0.28 I'm having similar problems as described in bug #7195: http://forums.mysql.com/post.php?10 After a few hours of my web app being live, I get a Broken Pipe error: Hibernate: select count(profile0_.id) as col_0_0_ from profile profile0_ pwkp WARN (JDBCExceptionReporter.java:71) - SQL Error: 0, SQLState: 08S01 pwkp ERROR (JDBCExceptionReporter.java:72) - Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Broken pipe STACKTRACE: java.net.SocketException: B
I'm working on a service program in which I'm using named pipes to communicate with a control program. I found a really cool sample on MSDN to illustrate the concept:http://msdn.microsoft.com/en-us/library/aa365588(VS.85).aspxIt works great, except that I can't figure out how to stop the named pipe object right before the service is stopped. Can someone offer their ideas?
can anyone please say why the following code fails to run on my computer...#include <stdio.h>#include <unistd.h>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>int main(int argc, char** argv){unlink("p1");if (mkfifo("p1",0777))printf("\nERROR creating pipe");int fd1=open("p1",O_WRONLY);printf("\nfd=%d",fd1);close(fd1);return 0;}it compiles with no error messages but displays no output when run. the program doesn't terminate also.the code runs perfectly on other computers running
HiLet's say i have a program that creates several files while running and i want to move those files to a remote server without actually store those files locally cause i don't have enough space. I'm thinking about tar pipes with rsync or netcat commands but i have tried these approach before with commands whose result were just one file (like tar or pax commands), something like this:cd /sourcedir; tar -cvf - | nc -q 10 -l -l 7878then in the remote server:cd /targetdir; nc remoteserver 7878 | tar -xvf -This somehow have worked for me. I have even used rsync and ssh tunneling in order to make
My platform is: Windows XP + Tomcat + MySQL 5.1 I want to ask if I only connect to MySQL using JDBC within my app., is it approiate to using name pipe at all? Would it enforce a higher level of security by cutting off all TCP/IP connection? any help would be appreciated
I'm trying to remove the ' | ' pipe charachter out of some text and it blankly refuses. I've tried adding a backslash to the front but nothing seems to work. Any help is greatly appreciated.L :)
I am using the serializing feature of MFC to write to a file but not for reading. I am creating a log file for my application. The issue is that this Serializing feature emdeds a pipe | delimiter character into my log file for every line or string which gets written/serialized to file. When I view the log file with Notepad or Wordpad I get an unknown square character in both viewers. Is there anyway to prevent this pipe character from being written to disk ? Can I substitute another delimiter instead so that its viewable with either of these viewers ?
I wonder if anyone can help. I have a simple text file with 20 fields in it seperated with the pipe symbol. Does anyone have any php code that would enable me to insert this into a MYSQL database ?Many
This is not a one off data import. I am trying to read into a mysql database a pipe delimited text file that contains 20 fields. This needs to take place in the early hours of each morning. I am very new to PHP. Does anyone have a php script to do this or maybe point me in the right direction ?Many
Ive had mysql 5 running on my server for around 5 months+ now with no problems at all and its just running simple listing data, nothing heavy :P, but since last week the mysql server just shuts down at random times, it will run fine for a day and the stop and you want be able to get it to start again even after restart etc. it did it last night at 3am so i know its not to do with hits etc coz my site was dead, I have to re-install mysql to standard settings to get it to start and to open MySQL Administrator to see my logs etc. does anyone now that this could be as ive not changed much from las
I have some questions about PIPE implementation. As pipe are design for the IPC , but can i use them in the same process but for different threads.Actually I have two different threads are running parallel :I am to achieve that As i write through 1st thread in PIPE it should be read through 2nd thread immediately.Is it possible, i want to use it just to avoid the the synchronization the threads(i dont want to use the event).Secondly Please let me now that as X process writes something in the pipe, Y process is ready to read. I have a question here, does Pipe gets empty after READ function or D
I am trying to implement the jQuery Deferred.pipe() method for the following scenario:Add a user in DB via $.ajax()Get response whether user was added correctly or not.If successfully added, get all the user list from server via $.ajax()Display the list via jQuery templatesThis is something which I tried: var addUserSuccess = function( data ) { if ( data.returnCode !== "success" ) { return $.Deferred().reject('Error saving user'); } getUsers(); }
When I execute the following string within a stored procedure:(The string has been modified to mask company info)bcp "Exec dbname.dbo.GetSalesCodesContracts" queryout d:\ftp\sfa\SalescodeContract-1.txt -m1 -c -t| -Uxxxxx -Pxxxxx -SxxxxxI get the following error: The name specified is not recognized as aninternal or external command, operable program or batch file.But if I change -t| to -t, (comma) it works ok and produces a comma delimited file.The pipe character seems to be the problem. The help file on delimiters says you can use the pipe.This is running under SQL Server 7.0.Any he
I have a few web servers connection to MSSQL7 using odbc. I connect them with TCP/IP network library. Few days ago, some of the web servers fail to connect to the DB (TCP/IP, General Network Error). When I switch those web servers to using Named pipes, they work ... I'm wondering what's causing the TCP/IP to suddenly fail, and is TCP/IP or Named pipe a better choice?
I've been looking at using Microsofts IAS (Internet Authentication Service) on Windows 2000. My problem is I need to write back to a SQL server via ODBC and the best I can tell acording to Microsoft's documentation is that I can only write the accounting logs directly to a disk file or to a named pipe. If I understand named pipes correctly from my Unix days (then again this is microsoft not unix) a named pipe should look like a existing file willing to swallow anything tossed at it with an application sitting on the other side that will digest this data and then of course post it to a database
I'm about at my wit's end with this. I've searched the forums and Google and tried everything I could find in order to fix this, but I can't get apt and dpkg working correctly. Having already cleared the package cache and I keep getting the error:E: Sub-process /usr/bin/dpkg exited unexpectedlySometimes it is accompanied by an error about a broken pipe. I would very much like to avoid forcing a purge or removal since the present package with which I have this issue is base-files. If I open aptitude and attempt to fix the currently broken dependencies, I get an error about a missing file in bas
I use JavaScript arrays to store the dynamic data of my SVG template. These dynamic variables store colors, which are used to shade a map and thereby show a statistic graphically. A version of this document, in post template form, is viewable here - http://baz.perlmonk.org/r.cgi?name=Griffin&=.svgThe size of this doc is about 80K, and takes a while to download (I have a 56K connection); SVG is also new so there are some peculiarities during the download of this file to the client. I'm simply wondering if it would be possible to open a pipe between Perl and JavaScript, so that when the user
I've got a little problem. I pushed out the MS Named Pipe patch (MS03-031, q815495) to a SQL 7.0 SP4 server. We have an application that uses Named Pipes. After applying the patch the users weren't able to connect. Administrative users can connect ok.We turned around and attempted the Patch to the Patch (Q823492) which was supposed to fix this problem. As you can tell it didn't fix the problem. We were able to move the clients over to TCP/IP and get them off of the Named Pipes but we still have processes internal to this application that aren't able to work.We looked at backing out the patch b
We are using Informatica ETL tool to autload 4 million rows into a table. The hardware we are runningon is a 30 processor p690 with AIX 5.x. We are running UDB ver 7.2. We are getting the following error and the database is shutting down immediately. Here is the autoload log file messageREADER_1_1_1> FR_3071 Maximum Line sequential buffer length is 65662.WRITER_1_1_1> WRT_8167 Start loading table INVC_ADJ_RESN at: Wed Oct 26 17:33:24 2005WRITER_1_1_1> Wed Oct 26 17:37:51 2005WRITER_1_1_1> WRT_8216 External loader error. Broken pipeWRITER_1_1_1> Wed Oct 26 17:37:51 2005WRITER_1_1
I was working with a customer who couldn't load some data on tape, created on DB2 for zVM, into DB2 for zSeries Linux. I didn't have immediate access to a zSeries tape subsystem so I tried it on a trusty IBM 7028 PowerPC system that had an internal SCSI DDS tape drive. I ran into the same problem: DB2 couldn't read the data from the tape by itself. So, I used the [b]mt[/b], [b]tar[/b], [b]dds2tar[/b] commands, along with a [b]named pipe[/b] and the DB2 [b]load[/b] command to load the data. This was a fun little scripting exercise. I also used [b]sed[/b], [b]awk[/b], [b]expr[/b] and [b]split[/b
I just installed SuSE yesterday. Below is the info from uname command:Linux 2.6.11.4-21.12-default #1 Wed May 10 09:38:20 UTC 2006 i686 i686 i386 GNU/LinuxIm using bash shell. My problem is that my backslash and pipe (\ and |) button doesnt work correctly. When I pressed the backslash button, Ive got the # sign. When I tried Shift + backslash to type pipe, Ive got the ~ sign. Other keys worked just fine. How do I fix this? Its really annoying not be able to use the pipe.Please advice,Patrick
I have two servers:SQL 6.5 = DEV3SQL 2000 = FE1(Both are running on ISO domain.)User ID on ISO = jackUser Jack is also added in the local Admin group on both servers (DEV3, FE1).I am logged on on both servers using this id and SQL server services are also running under this domain id.When I upgrade the database I got the folowing error(when it reaches on "export/Import via named pipe").=====================Export.exe on the remote machine was hung...Export Exit Code: 259 - export.exe -CodePage 1252 -DeviceType Pipe -AllTables yes -MasterPath c:\MSSQL\DATA\MASTER.DAT -DatabaseName s4f
Running Oracle Express 10g version 2.When I try to run expdp, impdp, export, or import I get an error saying that they are not valid commands. I was following the 2 day DBA tutorial when I ran into this problem. I did HELP INDEX and none of them showed up.Any idea what the problem might be?
Could someone else with DB2 9.5 on Linux check the following simple commands?Assuming you have a few messages in your current db2diag.log file this will generally produce some output when run as the instance owner:$ db2diag -l warningNow, if you run the command again, just piping the output into the same command you should get the same results. I know this is pointless but it's the easiest way I can think of to check if piped input works:$ db2diag -l warning | db2diag -l warningOn RHEL 4.8 with db2 9.1 FP6 this works fine, as it says it should in the documentation. On RHEL 5.4 with db2 9.5 fp3
I've read all from MSDN and can't find on asynchronous named pipe i/o.I've written listening server and a client, but have noting except error #87Somebody have any suggestions?
we have developed a web application under Windows environment..now we r trying to run that application in RedHat Linux EL4.0 in machine which is having IBM Power Architecture processor(PPC). so we r using jdk1.4 from IBM itself. the application is working fine when we have started the web server(Apache Tomcat 5.5.25).... But after some period of time, it is throwing the following excption,java.sql.SQLException : Broken Pipeand all the Database transanctions are not working (even login). What would be the reason for this? thanx in advance,subbu
I am running some makeshift tar backups, because our tape drive is broken. The target location of the tar file is a mounted samba share on another server on the network. Once the tar file reaches 2 GB, I get the following error. backupjob.bash: line 79: 25891 Broken pipe This only happens if I run the tar command on the server it is being backed up FROM. If I run the tar command, on the server it is being backed up TO (which is grabbing the files to tar off of a mounted samba share on the main server) then it does not have this error. I dont want to have to do that though - because it has to t
Morning everyone,I'm hoping that someone can help me with a problem we've been having for over a month now. I'll keep it short but I can supply proc mon logs etc if required.In a nutshell, we have around 50 users (on Windows XP machines) accessing an application (on a Windows 2003 SP1 server) over a mapped drive. This app creates a pipe to a service that runs on the application server which in turn allows the app to run a number of dll's that the app requires. For about a month now we've had issues where the users find their sessions being terminated at seemingly random intervals. After a lot
Can anyone please help me with installing scipy and other packages that need a dependency? For some reason, something has a Broken Pipe error.$ sudo apt-get install python-scipy* Reading package lists... DoneBuilding dependency tree Reading state information... DoneNote, selecting python-scipy-core for regex 'python-scipy*'Note, selecting python-scipy for regex 'python-scipy*'You might want to run `apt-get -f install' to correct these:The following packages have unmet dependencies:mencoder: Depends: libmp3lame0 but it is not going to be installedmplayer-nogui: Depends: libmp3lame0 but it is no
Someone recently asked me how to setup MySQL with named pipes instead of TCP, but I can't seem to get MySQL to use named pipes. I started MySQL with the following commands: cd "C:\Program Files\MySQL\MySQL...\bin" mysqld-nt.exe --skip-networking --enable-named-pipe --socket=C:/tmp/mysql.sock As far as I can tell, it looks as though the Server started because I can see it in the processes. What am I doing wrong? Why won't it work? Not even the mysqladmin client can connect to the server. Best
I am trying to creating a pagination list, I have one little issue where I wasnt able to remove the last pipe.How do I remove the last pipe/delimit "|"? It should work in both IE6 and Firefox. I have attached the html and css.The list should look like thisback < 1 | 2 | 3 | 4 | 5 .... 10 > nextcurrently it look like this( notice the extra pipe after 5 )back < 1 | 2 | 3 | 4 | 5 | ... 10 > nextThanks in adavance/**** CSS CODE **/.paginate-d {border:0px solid red;padding:10px 0 25px 25px; ;margin:0;}.paginate-d ul {list-style-type: none;}.paginate-d li {float: left;display:
How can I catch the status of an inner pipe command .example :< cmd 1 > | < cmd 2 > in this case the return value of this pipe command is the return value of the last command ( cmd 2 ) How can I get the return value of cmd 1 ?Actually ,it is the same as PIPESTATUS[] in bash.but how can I do it in KSH ?
I just did a export of around 20 schemas from my production database. expdp userid=system/pwd schemas=('a','b',...'x') dumpfile=xxx logfile=yyyy directory=....Is is possible for me to import just one particular schema into my test database by specifying the schema of interest??? (in this case schema a)impdp userid=system/pwd schemas=('a') dumpfile=.... logfile=... directory=...