Applications :: WinExe Command - Cannot Open Control Pipe Error
Dec 2, 2010
When I give the command:
winexe --interactive 0 --user <user>%<password> //<ip_address> 'cmd /C dir'
I receive the message:
ERROR: Cannot open control pipe - NT_STATUS_ACCESS_DENIED
The source machine is a RedHat EL4 server. The target machine is a Windows XP Home SP3 pc. When I give the same command to another pc all works fine. The other pc is a Windows XP Prof SP3.
View 6 Replies
ADVERTISEMENT
Sep 15, 2010
I am using nessus 4.2.2. When running with command line:
nessus -q -x -T html 127.0.0.1 1241 myUser myPassword listTarget.txt output.txt
1241 is default port of nessus
The error throw out:
nessus : Could not open a connection to 127.0.0.1
But when I running nessus GUI by browser with localhost on port 8834 is ok.
View 1 Replies
View Related
Jan 6, 2010
Has anyone messed with winexe? It's a very cool program. Let's you get into Windows from Linux. [URL].
[]# ./winexe -U domain/username%*****//my.site.com 'cmd'
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:WINDOWSsystem32>
However it seems to have some limits. For example, I can't get it to work with "wmic" commands. For example:
[]# ./winexe -U domain/username%***** //mysite.com 'wmic share get caption,name,path'
It hangs...
View 1 Replies
View Related
Oct 1, 2010
I have a while(1) loop, and the error is: glibtop: open (/proc/stat): Too many open files This error occurs after about a half hour to an hour of running. I've tried running this multiple times, both with using glib_close() at the end of the loop, using glib_init() and glib_close() at beginning/end, and just using glib_init(). The strange thing is these have no effect on the actual glib_get functions.
View 5 Replies
View Related
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
May 9, 2010
I'm looking for an mp3 file in the firefox cache folder.I was thinking I could run the command 'find -size +2M' and pipe that output into the 'file' command to tell me which is an mp3, something like thisfind -size +2M | fileBut this doesn't work, what am I doing wrong?This is output Usage: file [-bcikLhnNrsvz0] [-e test] [-f namefile] [-F separator] [-m magicfiles] file...file -C -m magicfilesTry `file --help' for more information.
View 4 Replies
View Related
Aug 11, 2010
I understand that $! is the PID of a command. For example:
Code: #!/bin/bash
myprogram &
echo "PID of myprogram is $!"
I'd like to send the output of "myprogram" to both console and to a log file using the "tee" command but I also want to store the PID of "myprogam". Something like this:
Code: #!/bin/bash
myprogram | tee ./logfile &
echo "PID of myprogram is $!"
The problem is that $! is now the PID of "tee" rather than the PID of "myprogram".
View 3 Replies
View Related
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
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
Jan 4, 2011
I've been using Claws for a long time and I like its filtering capability, however this app is hanging,hogging 100% of the cpu time. the last version was similar, but the latest version hangs after an hour.I've run it in debug mode, and with strace but nothing stands out I'm suspecting that its the way it looks for a pipe used by pulseaudio, which is not installed. It doesn't hang immediately after trying to open the pipe but within a few minutes. I'm not getting any success from the claws group, so time to look for another mail applicationI'm open to suggestions, I've tried Tbird and found the filtering lacking.there is a catch, I need to be able to import the mail from Claws-mail into it.
View 10 Replies
View Related
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
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
Feb 16, 2011
I have an "error", its not really and error, every time I open the terminal, it shows this:
Reading: command not found
Building: command not found
Reading: command not found
*****@****-****:~$
View 3 Replies
View Related
Apr 22, 2010
My question deals with me creating a name pipe (file) in the my /group directory called chat.I then have to write a script to read from the named pipe and save data into a file called chat.log until the words End of File are passed to the program.
-When I created the named pipe file (chat) I used the mknod chat p command..Is this the correct command to create a named pipe file? -Then I'm having trouble with my script and how to make it run until the words End of File are entered in. This is what I have so far.
View 6 Replies
View Related
Feb 8, 2011
Laptop is Dell Latitude C600/C500 with Pentium III 850Mhz, 256Kb L2 Cache, 256MB RAM, ATI M3 video card, HD 20005 MB and sound card is EES Maestro 3i. After trying to do something with Windows 2000 which was installed on the machine, I decided to put Linux without keeping windows on the machine. First I try with Xubuntu (latest version) which was working but slowly, then I found that Debian could work fine on that machine. I have installed latest version 5.08 and was surprised how goodly old machine can work. I solved problems with screen resolution (change from 800x600 to 1024x768) but I couldn't find solution how to fix problem with sound.
Actually I don't have sound on the machine. I looked for a linux driver for that sound card and Dell is only providing windows drivers. Then I found that I can solve the problem with ALSA drivers but I couldn't find the easy way (or any way at all) to install drivers and to get back the sound. When I click on 'Volume Control' (top right corner of the screen) I get the message: 'Volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.'
View 14 Replies
View Related
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
May 13, 2011
Have this script which is reading in a series of files, one at a time with while-do-done loop, each file goes through various greps/awk's where this info is then saved to various files for later use. i.e....
Script is being run on Linux Red Hat,
In one of the grep/awk's the output (currently) are 2 columns (min max), i.e....| awk '{print $1, $2}' | sort -u which outputs (e.g.)
The number of "min max" pairs varies from file to file. Want to output a single column of unique numbers from the min max pairs & get the number of them for input to a file...i.e...
Where <PROCESS> is some process/technique that will generate a single column of integers (increment of 1) to pipe into the next one (sort -u)
i.e. (example from above)
Have tried command seq - only works for single pair input i.e.
Is there any command like seq etc which will output a single column based on a input of min max numbers (increment 1) to pipe onwards to next command?
View 4 Replies
View Related
Mar 17, 2009
I have a MS Access database I would love to able to use in OOo. How do I do it
View 2 Replies
View Related
Dec 4, 2010
I have installed Kubuntu 10.10 on a macbook3.1 and everything (almost) is working fine. My sole problem is that the left control key, despite being mapped to:
keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L
and having the right behavior in the terminal, does nothing on most other applications, like kate, money managers, intelliJ, etc.
It does work properly also on Google Chrome.
View 1 Replies
View Related
Sep 26, 2010
Running Lucid, has been a bit glitch here and there, but generally ok. I use Audacity a lot, so need "drag" with the mouse. Also "drag" on the desktop has gone totally now it just opens the file or folder. Any mouse control app that works? Using a ps2 led mouse, it works fine under wine/crossover apps.
View 9 Replies
View Related
Jan 18, 2011
I'm looking for a tool to control network bandwidth (per application i.e. totem), something like trickle (a userspace bandwidth shaper).Trickle is a bit outdated, latest ver. 1.0.6 (2003), and it won't compile under -current. There's a slackbuild available, dated 2004.
Quote:
$ make
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -g -O2 -c trickle.c
[code]...
View 4 Replies
View Related
Jul 6, 2010
My system just crashed.
kduffy101@kduffy101-desktop:~$ firefox
WARNING: pipe error (3): Connection reset by peer: file ./src/chrome/common/ipc_channel_posix.cc, line 404
Segmentation fault
kduffy101@kduffy101-desktop:~$.
View 4 Replies
View Related
Jul 15, 2010
We are facing broken pipe exception while connecting to SMPP gateway through TCP/IP.on RHEL4 It is coming till we restart the application. Below is the exception we are getting. java.net.SocketException: Broken pipe
View 1 Replies
View Related
Apr 11, 2010
I connect to our server by ssh, default ssh client on Debian system.when I run a command that has large output on stdout (on shell) my connection is lost and I get error: "Write failed: Broken pipe"Unfortunate on our server there is limitation for connection per hour!
View 2 Replies
View Related
Jul 21, 2011
I am building a python script which works same as SMTP protocol. I have build separate functions in that for each command of SMTP, and after this i have integrated all those functions in a new function named as send_mail(so that i don't have to execute every function separately for every command). Now, when i execute the script for the first time it runs successfully, but for the second time it gives the error of "BROKEN PIPE". I really can't make out how the socket is getting closed.
View 5 Replies
View Related
Jun 8, 2011
No real screen saver tool built in, is there a third party application that will allow a selection of graphical screen savers on time out?
View 2 Replies
View Related
Nov 29, 2010
I came across term as "standard root password control application"
I have no imformation over what are such applications how to implement them?
It was also suggested to audit root login .How would i go about it?
View 2 Replies
View Related
Mar 2, 2010
I have installed a LAMP server (Debian Lenny + Apache2 + PHP Version 5.3.1-0.dotdeb.1). On this machine, my web application (PHP + MySQL) exists in 2 flavours:
- Dev
- Prod
In /etc/apache2/sites-available, I have ims & ims-dev, one for each instance. Their contents are identical in terms of settings, except for the paths (dev/prod):
Code:
<VirtualHost *:80>
ServerAdmin admin@domain.com
ServerName ims.domain.com
ServerAlias ims.domain.com
[code]....
why this difference when the settings are strictly identical? Do I need to add EnableSendfile off in my conf files to stop that?
View 14 Replies
View Related
Nov 16, 2014
I wrote y bash script that opens YouTube playlist using youtube-dl and VLC applications: the output of youtube-dl is the input of VLC. The only problem is VLC needs to be closed after each playlist item unless I get the error message of the operating system:
"ERROR: unable to write data: [Errno 32] Broken pipe".
I understand the reason but I don't know how to resolve it: it is possible to close previous STDIN of VLC without killing the entire VLC process so that a new youtube-dl instance can connect to the same VLC instance? In short this is my question. The problem is detailed here: Downloading and playing videos and subtitles.
View 0 Replies
View Related
Jul 22, 2010
I'm following the "The Perfect Server - Fedora12 x86_64 [ISPConfig 3]" instructions and I am encountering an error when trying to build the rpm for courier-imap (from page 4 of the HOWTO).
The command I run is:
Code:
rpmbuild -ta courier-imap-4.6.0.tar.bz2
The error is below:
Code:
INFO: LOGIN, user=confmdtest, ip=[127.0.0.1], port=[0], protocol=SMAP1
INFO: LOGOUT, user=confmdtest, ip=[127.0.0.1], headers=0, body=0, rcvd=26, sent=610, time=0
sort: fflush failed: standard output: Broken pipe
[code]....
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.85697 (%build)
View 3 Replies
View Related