General :: Xinetd Keeps Process Open When Client Disconnects?

Sep 17, 2010

I've asked this question more or less before on stackoverflow and believed it to be solved (hence accepted the answer) but it turns out it wasnt solved.In simple terms, I've written a python script which just outputs text constantly to stdout, thats all it does 24/7. I've linked it to this xinetd file

service myservice
{
instances = 1

[code].....

View 2 Replies


ADVERTISEMENT

CentOS 5 Server :: LDAP Client - Nss_ldap: - Authenticate SSH And Sudo And Not Services Like Httpd - Nrpe - Xinetd

Aug 9, 2011

When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.

View 2 Replies View Related

Fedora Networking :: OpenVPN Client Disconnects Me From LAN / Fix It?

Sep 15, 2009

This is the first one of probably many posts as I am new to Fedora having lots of questions. This one is about the openvpn client which is used by me to connect to my company network. Thanks to the Fedora FAQ it was easy for me to set up the client and establish a connection. There is just one problem every time I open a connection I am disconnected from my local Internet. I was using openvpn on my Windows XP PC before and there was no problem keeping two Network connections, the (W)LAN and the vpn tunnel. Does anyone know how to solve this? I am utilizing the latest Fedora 11 release and configured openvpn client via the Network Manager GUI.

View 2 Replies View Related

Ubuntu Servers :: Xinetd 754/tcp Kerberos Propagation Port Can't Open?

Apr 6, 2010

I can't open 754/tcp por for kerberos propagation, the service is krb_prop.The file /etc/xinetd.conf:

Code:
defaults
{

[code]....

View 3 Replies View Related

General :: How To Find Apache Client Session Process Id?

Apr 21, 2010

I am running Montavista distribution. I have an Apache server running in my machine. Now I want to know how many clients are connected to the Apache server and what are the process ids for those sessions. What is the command to do that?

View 5 Replies View Related

General :: To Xinetd Or Not To Xinetd ?

Jul 21, 2009

I've been reading the RUTE Linux book and they recommend the use of xinetd to run services. However, this book is already a bit outdated, and I was wondering whether this still applies to today's circumstances?

View 4 Replies View Related

General :: Assign CPU Resource To A Certain Process(RHEL 5.5 Client With Workstation)?

May 27, 2010

How to assign CPU and memory resource to a certain process? How to assign CPU and memory resource to a certain user?Let's assume the software is no limit for resource usage.Below is a description of my situation.dual 6 core, 32G memory, RHEL5.5 client with workstation option.I run a big computation (say process1). However, I found from KDE system guard the CPU and memory are not loaded as expected. below are numbers. user% system%process1 100 0.00and CPU idle 90%, memory free 97%

View 3 Replies View Related

Server :: /etc/xinetd.conf Vs /etc/xinetd.d

Apr 24, 2009

I installed Subversion and xinetd and added Subversion as a service to xinetd.conf as instructed at http://www.codeandcoffee.com/2007/06...rver-on-linux/

I restarted the xinetd service using /sbin/service. however, Subversion does not end up being listed in /etc/xinetd.d nor does it seem to be running and occupying the port altogether.

View 2 Replies View Related

General :: How To Determine What Process Has A File Open

Jan 19, 2010

I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.

View 3 Replies View Related

General :: Windows - Open Source IRC Client Software?

Aug 31, 2010

What is a good example of an Open Source IRC client for Windows or Linux? If not, something free and extensible will do.The reason I would like this to be open source is that I wouldn't mind being able to understand how the message formatting is implemented in such a project.

View 5 Replies View Related

General :: Ssh Not Working Under Xinetd?

Apr 15, 2011

I'm trying to restrict ssh connection using xinetd , so my xinetd configuration files are :
/etc/xinetd.conf

Code:
defaults
{

[code]...

View 3 Replies View Related

General :: Xinetd And Trying To Get R-1 To Work ?

Jul 8, 2009

I am really not very experienced with linux and have only just started working off the command line in windows as well.

I know the basics but I am trying to install R-1 and I was having a lot of difficulties and figured out that it was that xinetd was not running.

So I tried to run it service xinetd start and it said unecognized service so then I installed xinetd and there was already a xinetd.d directory with all of the processes i needed with the .conf file but so when i run xinetd -d

Code:

My xinetd.conf file looks like this:

Code:

# All service files are stored in the /etc/xinetd.d directory
#
includedir /etc/xinetd.d
# End /etc/xinetd
EOF

This is what one of the files in xinetd.d looks like

Code:

I need to get xinetd running so that i can finish installing R-1.

View 6 Replies View Related

General :: Remove Xinetd.conf ?

Dec 18, 2010

I have simpe question about xinetd what happen to my system if i remove xinetd.conf what can i do to dont allow anyone delete xinetd.conf.

View 2 Replies View Related

General :: Xinetd - Unrecognized Service

May 21, 2010

I've already installed centos 5.5 and checked the xinetd services using the command : service xinetd status and the reply is xinetd: unrecognized service.

View 3 Replies View Related

General :: Use YUM To Install E.g. Xinetd On A RHEL 4?

Jun 1, 2011

i got another question, can i use YUM to install e.g. xinetd on a RHEL 4? or does RHEL4 have another command like YUM?

Code:
$ yum install xinetd
-bash: yum: command not found

View 2 Replies View Related

General :: Is There A Xinetd.conf Alternative For Ubuntu

Feb 10, 2010

I want to look into disabling things like chargen, chargen-udp, daytime, daytime-udp, echo etc...I have found a manual at:which points me towards the xinetd.conf file. I cant seem to find it, im using ubuntu 8.10 LTS. Should I be looking else where?

View 2 Replies View Related

General :: Xinetd Server Configuration - Infinite Loop?

Apr 14, 2011

I have a java server console program that I have configured xinetd to start when connection comes in on a given port and then the program runs in an infinite loop receiving inputstream from telephone exchanges. The thing is, when a new chunk of stream comes from the exchange xinetd forks a new process each time. I tried setting the wait parameter to yes and restarted the deamon, but no success. How can I stop this behavior and have the deamon just direct the stream to the process already running? Am I missing something in my config or is it just incorrect?

My config is as follow:
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 50 10
}
includedir /etc/xinetd.d

And then my actual config,
service aos_larmar
{
socket_type = stream
protocol = tcp
user = root
type = UNLISTED
wait = yes
instances = 256
server = /home/gunnl/java/start.sh
port = 5204
disable = no
}

My server OS is, Red Hat Enterprise Linux ES release 4 (Nahant Update 7)

View 1 Replies View Related

General :: Using Xinetd - No Responses Or Messages At All - Doesn't Work

Sep 30, 2010

I'm going through strange symptom with my linux.

When I type

Code: service xinetd [start|restart|stop]

There is no responses or messages at all. Even when I tried some meaningless argument, such as

Code:service xinetd sdfsdfsdg , it just doesn't work.

I checked that xinetd is installed by using the command

Code: rpm -qv xinetd

Also I do not see the error message "Unrecognized service" when I type the commands.

Here's what I see when I type the command.

Code:

View 1 Replies View Related

General :: RHEL5: Includedir Option In /etc/xinetd.conf Does Not Take Effect?

Mar 1, 2010

When I was configure xinetd service I tried to modify the includedir option in /etc/xinetd.conf to another directory. For example:

defaults
{
}

[code]....

View 2 Replies View Related

Networking :: Client (192.168.0.3) Can't Open Web Pages

Jun 23, 2010

I have 2 laptops connected by a lan cable - from 1 laptop network card to the other. the first laptop is an Asus eeePc that runs a modified version of debian. this one is connected to the internet and i simply want the other one to connect to the internet via the lan cable. the "server" has 2 connections: 1. one for connecting to the internet via a dialup mobile connection (i checked and this connection is shared) 2. the 2nd connection: "Local Area Connection" defined this way:

IP address: 192.168.0.4
subnet mask: 255.255.255.0
+ it is also marked as 'shared'
that's all, no Gateway/DNS/Wins defined

[code]...

my problem is that the client (192.168.0.3) cannot open web pages even if it sees just fine the server's files.

View 3 Replies View Related

Ubuntu :: What Is Child Process - GE Cannot Open

Aug 4, 2010

what is child process - GE cannot open

View 1 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: X-server Disconnects After A While?

Feb 23, 2010

This is probably a very basic question related to running and X11 application on a remote machine.

I connect from a linux machine to another by ssh -X remote.machine

After that all X11 applications work fine. But after a while (~ 20 minutes), I can no longer run the applications. I get a message like containing "cannot connect to X server localhost:10.0".

My host machine has in /etc/ssh/ssh_config "ForwardX11 yes".

Is there anyway to connect to a remote machine with a permanent X11 session?

View 1 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

Debian :: Files Deleted But Process Open

Jun 4, 2015

My /dev/md1 is full

Code:

Select all# du -x -m --max-depth=1 | sort -n
shows
Code: Select all0   ./dev
0   ./proc
0   ./sys
1   ./home
1   ./lost+found

[Code] ....

There are files that have been deleted but open processes are still active. The result :

Code:
Select all# lsof | grep 'deleted'
shows
Code: Select allmysqld     2881      mysql    4u      REG                9,1          0     393317 /tmp/ib16UZEE (deleted)
mysqld     2881      mysql    5u      REG                9,1        798     393318 /tmp/ibqA5RvA (deleted)
mysqld     2881      mysql    6u      REG                9,1          0     393319 /tmp/ibfXpKmw (deleted)
mysqld     2881      mysql    7u      REG                9,1          0     393322 /tmp/ibcluSds (deleted)

[Code] ....

If I delete these files does it diminish the size of / var ? If yes, how to remove these and can I remove them ?

View 9 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies View Related







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