Extended Internet Services daemon, which starts internet protocols such as FTP or telnet as needed
Questions tagged [xinetd]
63 questions
1
vote
1 answer
how to open daytime service on mac using launchctl?
well, there is solution on internet to linux's daytime service startup.
But I can not find solution to Mac.
I don't know if I should find the executable of daytime first, and then write a .plist file, or just there is something built-in, all I need…

wuhaochi
- 389
- 1
- 3
- 9
1
vote
1 answer
xinetd does not load environment variables set in /etc/profile.d
I am using xinetd to serve the output of check_mk_agent. I have custom check_mk_agent scripts, some of which are configured with environment variables. These environment variables are set in /etc/profile.d/set_env.sh. When I run check_mk_agent…

maxenglander
- 3,991
- 4
- 30
- 40
0
votes
1 answer
CENT OS xinetd service
I want open pop3 port on my CENT OS Linux box with /etc/services. And add pop3 script on /etc/xinet.d/
After modifying that file, can't restart /etc/rc.d/init.d/xinetd.
There is no xinetd file in that directory.
How can i restart xinetd without…

Paul Cho
- 1
- 3
0
votes
0 answers
How to create a http service in shellscript via xinetd service for readwrite HA check for postgresql
My Question is : How Can I Setup a http service with xinetd
Shell Script (pgsqlchk) is as follows:
#!/bin/bash
# This script checks if a postgres server is healthy running on localhost. It will return:
# "HTTP/1.x 200 OK\r" (if postgres is running…

vaibhav singhal
- 883
- 8
- 9
0
votes
1 answer
bash script user input with xinetd
Doing some exercises / tutorials with xinetd. I setup the script below as a xinetd controlled service.
#!/bin/bash
str1="password"
printf 'Hello...'
printf '%(%Y-%m-%d)T\n' -1
# Prompt for password that will be compared with str1.
echo "Please…

user695752
- 319
- 7
- 18
0
votes
1 answer
Nagios nrpe plugin install on remote host
On Centos7, following nrpe plugin install steps, when testing the connection between the Nagios server and the remote agent, I got this error...
/usr/local/nagios/libexec/check_nrpe -H 192.168.50.5
CHECK_NRPE: Error - Could not connect to…

Michael
- 131
- 1
- 6
0
votes
1 answer
Is xinetd configurable on HP-UX and AIX?
I know inetd is available on HP-UX and AIX.
on Linux, inetd is available for kernel 2.x and below, and xinetd is available for 3.x and higher.
On HP-UX and AIX, xinetd has no way to install or use.
Can this be used? Help me.

vulny
- 1
- 1
0
votes
0 answers
haproxy with xinetd shows warning: can't get client address: Connection reset by peer
I have followed this tutorial to setup a HAProxy server with a Galera clustering of 2 MariaDB servers; therefore, HAProxy, frontend and backend are working well except I got this warning message below. What's wrong? or how can I get rid of this…

Rotha
- 1
- 1
0
votes
1 answer
php xinetd UDP socket - fwrite STDOUT errno 89
I've a simple xINETd UDP service written in PHP - basicly acting as a proxy -, but when I try to write back the answer with fwrite(STDOUT, $ans); I'm getting an interesting error:
PHP Notice: fwrite(): send of 244 bytes failed with errno=89…

V1pr
- 103
- 2
- 9
0
votes
1 answer
Systemctl: Argument list too long
I'm running Centos 7 and need to install a check_mk agent to get machine stats. I have successfully installed the agent in many others Centos 7 of the same cluster through an rpm package but with the current machine I get this output:
Running…

Kevin Arévalo
- 41
- 1
- 9
0
votes
0 answers
Debugging xinetd services with GDB
I have a xinetd service that runs an executable on client requests.
I want to debug executable.
How to do this in smart way?

trupanka
- 693
- 8
- 20
0
votes
1 answer
How to Obtain IP Address of Connected Client in xinetd Custom Service
Question:
xinetd (extended Internet services daemon) maps input to a service's standard input and output to a service's standard out.
In other words, assuming a custom TCP service written in C, data coming into port X is mapped to stdin of the…

HighExodus
- 104
- 2
- 11
0
votes
2 answers
How to create a service that will respond to an HTTP request by running a bash script and returning the output?
I have a DO loadbalancer setup in front of a MySQL Group Replication setup. What I need to do is create a health check for the loadbalancer via an http request.
What I've come up with so far is to create a bash script (code below) that basically…

Mo Tawakol
- 87
- 1
- 1
- 11
0
votes
1 answer
Xinetd server connection refused
I'm using xinetd on Fedora.
I put a file called telnet inside the etc/xinetd.d folder with the following content:
service telnet
{
disable = yes
id = telnet
socket_type = stream
protocol = tcp
wait = no
user = root
…

Flama
- 772
- 3
- 13
- 39
0
votes
0 answers
What is the relationship between xinetd and mysql?
My mariadb was can not start up, and there are the part of the logs:
Aug 16 15:52:19 ha-node1 xinetd[1523]: EXIT: mysqlchk signal=13 pid=12120 duration=0(sec)
Aug 16 15:52:21 ha-node1 xinetd[1523]: START: mysqlchk pid=12124…

aircraft
- 25,146
- 28
- 91
- 166