Questions tagged [named-pipes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
209 views

How to add permissions to windows named pipes using powershell?

How can i add permissions for a specific group to read/write from an existent named pipe, using a powershell script? This is as far as i went: $AccessRule = New-Object System.IO.Pipes.PipeAccessRule( &...
user avatar
  • 511
1 vote
0 answers
332 views

Communication between Windows services on Windows Server 2019

I have some custom made Windows services, that communicate over Named Pipes on local network with other application on another server. This setup worked perfectly on WS 2008 R2 and WS 2016 servers, ...
user avatar
2 votes
1 answer
2k views

using named-pipes to control a remote ssh session in BASH

My question is mostly based on this https://stackoverflow.com/questions/22479631/pipe-timely-commands-to-ssh?rq=1 I am following above question and I am able to connect to a server, like this: ...
user avatar
0 votes
1 answer
31 views

Controlling a program that was automatically started using pipes

I have a program that needs to be automatically started when I boot a CentOS server. After the program has been started, I want to be able to SSH into the server and control this program (read its ...
user avatar
  • 103
0 votes
1 answer
72 views

Where should I put my named pipes on RHEL7?

I done some quicky web searches to find out how to make a named pipe. It looks very straight forward I just need to execute as root: mkfifo filename, but what the best practice on where on the ...
user avatar
1 vote
0 answers
597 views

socat multiple reads from pipe via SSH

I would like to read input on a named pipe on a remote server from my local machine. I have a script on the remote server that is triggered as a CRON job. So every now and then by script writes ...
user avatar
  • 111
2 votes
0 answers
363 views

stream a command's stdout, and merge with terminal's stdin to a single stdout

This answer shows numerous ways to stream multiple commands into another command, but since they use subshells you can't do stdin. While you can achieve this with named pipes, it's somewhat ugly and ...
user avatar
  • 173
0 votes
1 answer
115 views

Webserver stopped writing to named pipe

I am trying to debug a process which worked fine until about a week ago. I have a script accessible to my webserver which does nothing but write a value into an existing named pipe: #!/bin/bash pipe=...
user avatar
  • 161
2 votes
0 answers
2k views

Named Pipe Access Denied when not running as Local System

I'm working on an issue at the moment where a WCF application creates a named pipe, which is then to be accessed by an asp.net application running in IIS. I didn't write the WCF application, I'm just ...
user avatar
2 votes
1 answer
4k views

How can I force a linked SQL Server to use TCP/IP instead of Named Pipes?

I have a SQL Server instance, Instance1, that has a linked SQL Server, Instance2. The linked server technically works, however I am positive that Instance1 is connecting to Instance2 via Named Pipes. ...
user avatar
  • 131
0 votes
1 answer
25 views

Make init script output available without hitting the filesystem

I'm working on an init script for a command which writes extensive activity messages to stdout. The output is only useful for debugging and since it will be running on a Pi, I don't want these ...
user avatar
  • 135
3 votes
1 answer
2k views

Is it possible to expose pipe file from docker container?

Docker assume one container for one application. I have two apps (samba and squid) what talk to each other with pipe file. Is it possible to expose or share this pipe file between two containers?
user avatar
  • 163
1 vote
2 answers
113 views

Linux kernel upgrade broke named pipes

We noticed a change with named pipes after a linux kernel upgrade. Using the scripts from http://www.linuxjournal.com/content/using-named-pipes-fifos-bash, we were able to replicate the issue. The ...
user avatar
1 vote
2 answers
6k views

netcat / named pipe proxy over ssh

I am used to forwarding a remote service port on localhost using ssh like: ssh -L 2181:localhost:2182 user@server (forward remote host port 2182 to local port 2181) now, from the machine I ssh to, I ...
user avatar
  • 408
0 votes
0 answers
439 views

Beanstalkd queue with supervisord opening too many FIFO files

I'm running a Laravel queue job called "webhooks" using beanstalkd and supervisord on my Ubuntu server. I can see the job properly running with process ID 4403: webhooks ...
user avatar
1 vote
1 answer
1k views

Pipe multiple files into one tar gz

I'd like to call mysqldump to create multiple backup files and then archive them in one tar.gz. I am following this tutorial on mysqldump part: http://dev.mensfeld.pl/2013/04/backup-mysql-dump-all-...
user avatar
0 votes
1 answer
528 views

SQL Server 2005 Linked Server using SSMS from laptop vs RDP

I connect to work network via Cisco VPN from my work laptop, which is on AD. Edit I am using SQL authentication to connect from Server A to B; in scenario #1 I can connect. I can even connect from ...
user avatar
  • 135
2 votes
1 answer
850 views

SQL Named Pipes across Site to Site VPN

Running into SQL issues and I can find the exact problem already posted here on SF. I have a SQL server running on a 192.168.16.x subnet on one side of a site to site VPN. I have a workstation on a ...
user avatar
0 votes
1 answer
768 views

Windows Azure: file share, named pipe between virtual machines

I'm not able to get named pipes working within a single VM or across 2 VMs within Azure. Availability set is not an option. So, if the VM name is testVM.cloudapp.net, the named pipe is failing with ...
user avatar
  • 101
1 vote
2 answers
3k views

nginx - log access and error to pipe and use multilog to log rotate

What I am trying to do: Log rotate nginx access and error log using multilog My approach: Log nginx access and error to a pipe, so I can have another process that runs multilog that reads from that ...
user avatar
  • 111
1 vote
3 answers
10k views

SQL 2008 R2 Named Instance Client Connectivity Issues?

We're upgrading our software from using SQL 2000 to 2008 R2. Our customers will be installing an update which uninstalls 2000 and installs 2008 R2 under the same instance. So if no instance existed, ...
user avatar
1 vote
2 answers
975 views

Continual tailing and sorting of multiple files on linux?

Is there a way to use pipes or FIFO in combination to continually monitor several (same format) log files whilst sorting on the first field and then being able to effectively do a tail -f on that ...
user avatar
1 vote
0 answers
51 views

SQL 2005 Named Pipes Stop Responding

We have a SQL 2005 64bit SP2 server running on Windows 2003 R2 SP2. It also has Reporting Server installed and that serves as it's primary function. Over the course of approximately a week, ...
user avatar
  • 171
0 votes
1 answer
344 views

Postfix forward mail to named pipe

In Postfix I can configure to forward emails to a script in /etc/aliases like mailuser: | mailprocessor.pl If I create a named pipe with mkfifo /opt/mypipe and then change /etc/aliases to write ...
user avatar
  • 1,050
1 vote
1 answer
22k views

Firewall blocking SQL Server named pipes

If I turn off the firewall on Windows SBS 2011, I can connect to my SQL Server 2008 non-default instance by name (which I presume means it's using named pipes) without incident. After I turn it back ...
user avatar
0 votes
1 answer
1k views

I can connect to a server via named pipes with sqlcmd but a vendor tool is getting Named Pipes Provider, error: 40

I have a windows service running on my workstation that is part of a vendor supplied tool that connects to a database. It will not startup the error I get 4 errors in the event log with the following ...
user avatar
1 vote
1 answer
2k views

PHP Named Pipe Problem

I am trying to test a website on a local machine that has Windows 7 installed. I want to use named pipes to connect to the MySQL server, but mysql_connect() seems to throw an error: [2002] No ...
user avatar
  • 133
4 votes
2 answers
4k views

Is there a limit on the number on named pipes that can be created on a Linux machine?

And if so, how do we increase it - the named pipes are created using mkfifo command -
user avatar
5 votes
2 answers
9k views

How to add a privilege to an account in Windows?

Given: A VM running Windows 2008 I am logged on there using my domain account (SHUNRANET\markk) I have added the "Create global objects" privilege to my domain account: The VM is restarted (I know ...
user avatar
  • 691
2 votes
1 answer
5k views

Permission needed for Named pipes on Windows 2008

Are there any special permissions needed for domain service account running a windows service which receives messages over named pipes? Hosting environment is Windows Server 2008. Background: We ...
user avatar
0 votes
2 answers
542 views

Named pipe with shell command date

I want to let a standard user change the system date. So I created a named pipe. The standard user write a date to the named pipe and a root process listens to it and sets the date accordingly: (...
user avatar
1 vote
2 answers
5k views

Need script to redirect STDIN & STDOUT to named pipes

I have an app that launches an authentication helper (my script) and uses STDIN/STDOUT to communicate. I want to re-direct STDIN and STDOUT from this script to two named pipes for interaction with ...
user avatar
2 votes
2 answers
3k views

Non-blocking bash redirection

Does anyone know how to redirect the output of a program, running from a bash script, to a named pipe IN NON BLOCKING MODE (having 'O_NONBLOCK' flag set)?
user avatar
  • 191
0 votes
1 answer
3k views

Getting Access Denied While Accessing the Named Pipe from Another System

I have a Named Pipe and It Works Fine While I access it using a Client which runs on My System. I get GLE 5 (Access denied) while I run the client from another system. The original post is at ...
user avatar
  • 137
2 votes
5 answers
388 views

controlling a linux box behind a router

I am trying to make it possible to control a shell on a linux box behind a router which is not under my control. My first idea was to make the client (the box behind the router) to ssh to a server ...
user avatar
0 votes
3 answers
1k views

An SQLite/STDIN Conundrum, Specific to AIX

I'm been playing around with SQlite at work, specifically with trying to get the sqlite3 command line tool to accept stdin instead of a file. Sounds easy enough, on linux you can execute a command ...
user avatar
1 vote
1 answer
6k views

MySQL on Windows - how do I set the wait_timeout for connections using named pipes?

I use a MySQL database running on a Windows box, and for performance reasons I'm connecting to it using named pipes. The (Java) application using the database (through Hibernate) can let the ...
user avatar
  • 128