Sponsored Content
Full Discussion: Interfaces related query
Homework and Emergencies Emergency UNIX and Linux Support Interfaces related query Post 303013073 by rbatte1 on Wednesday 14th of February 2018 12:17:37 PM
Old 02-14-2018
You don't say what version of AIX you have, so things may have changed since I last managed one, but I think if you edit /etc/inetd.conf and adjust the line that starts the ftpd service, you can add the debug flags there.
The documentation for it is in man ftpd rather that the page for inetd or inetd.conf.

Sadly, I no have access to AIX, but I think it is the -d flag. You might also need to create an output file for syslogd to write to, add a record in /etc/syslog.conf to direct the output for daemon.debug to it and restart the syslogd (or perhaps kill -HUP it?)


I hope that this gets you started. Sorry I can't form the whole answer.

Does that make sense, or have I just confused you more?
Robin
This User Gave Thanks to rbatte1 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Date change related query

Good day folks, This is my first post on this board and I thank you in advance for helping me with this issue. Any idea how I can synchronize server time with another timeserver but have my server lag behind by 2 seconds? Meaning...I need a simple unix script that I can run as crone that... (2 Replies)
Discussion started by: franklo
2 Replies

2. Shell Programming and Scripting

Query related to #!/bin/sh

hi All Why is #!/bin/sh being used in most of the ksh scripts......? I have seen this (#!/bin/sh) being used at the start of the script Regards Suresh (2 Replies)
Discussion started by: sureshg_sampat
2 Replies

3. Shell Programming and Scripting

sed related query

Hi I have a file which looks like this //string = "abcd"; //info //string = "*pqrs"; //add string = "#123"; //sub //string = "#1234567890" data = check(string) //string = "#1234567890" I want to modify this as string = "#987"; //mult data = check(string) How do i do that? (1 Reply)
Discussion started by: gopsman
1 Replies

4. UNIX for Dummies Questions & Answers

awk related query

hi, I have to extract a column from a file and then updated that column..?? Now i can use wak for extracting it and then how to update it.. $ awk' {print $5}' input_file Can i use sed command here piping it to the output from the awk command.. (2 Replies)
Discussion started by: abhisek.says
2 Replies

5. Shell Programming and Scripting

Print related query

i Am using the below query and printing the $8 and $9 filed.. find /A/B/C/{1,3,5,7} -name "*.txt" -o -name "*.csv" -o -name "*.TXT" -o -name "*.dat" |xargs ls -ltr |awk '{print $8 ,$9}' > result.xls this give me the rsult like below.. 2008/home/ADMIN/om/1.txt 2008/home/ADMIN/om/hi.txt ... (1 Reply)
Discussion started by: sapan123
1 Replies

6. Shell Programming and Scripting

query related to if

wht does below statement mean? if wht does dis -d option do?? TIA. (1 Reply)
Discussion started by: sainathdeg
1 Replies

7. Shell Programming and Scripting

datetimestamp related query!

Hi all, I have put a query in a thread but didn't get any reply. Hoping to get a reply here. I have a file in that one line resembles like below... Forwarded by Deepak on 11/15/2009 10:28 AM EST ofcourse AM can be PM also... so what i need is first i need to get only... (1 Reply)
Discussion started by: smarty86
1 Replies

8. Solaris

Query related to runlevels and milestones

Hi friends.. Please clarify my follg doubts: 1. I can easily switch from runlevel 1 to runlevel 2 or 3 by means of init 2 or init 3 commands. I can even get a gui login screen when i do an init 3 from runlevel1. 2.But suppose if I am in GUI and switched to single-user milestone by means of ... (3 Replies)
Discussion started by: saagar
3 Replies

9. UNIX for Dummies Questions & Answers

A query related to 'ls' command

I am executing the ls command to show the contents of a folder, it shows some number in front of word total as highlighted in blue color below quotes. Can anyone please share that what it is? (2 Replies)
Discussion started by: Zaib
2 Replies

10. UNIX for Dummies Questions & Answers

query related to grep

Hi All, The result for 'grep "cert_codes" /develop/sales/appl.srce/*.4gl' command will be saved at aa.txt grep "cert_codes" /develop/sales/appl.srce/*.4gl >aa.txt But I am not sure, whether, all result stored in .txt file in case of multi-line result. Please revert back if... (2 Replies)
Discussion started by: pbankar
2 Replies
inetd(8)						      System Manager's Manual							  inetd(8)

NAME
inetd - Internet services daemon SYNOPSIS
For starting the daemon: inetd [-d] [-R rate] [-r radid] [configfile] For signaling the running daemon: inetd [-d] [-h | -q | -s | -t] FLAGS
Dumps debugging messages to syslogd(8) and to standard error. Sends the currently running master inetd daemon a SIGHUP signal, which causes it to reread its configuration files. Sends the currently running master inetd daemon a SIGQUIT signal, which kills all inetd child daemons, but none of the services that the child daemons have started. The master inetd daemon continues to run. Specifies the maximum number of times a service can be invoked in one minute. The default is 2 billion (INT_MAX). Specifies the identifier of the Resource Affinity Domain (RAD) on which to start an inetd child daemon. You can specify this option multiple times on the command line (see the "Examples" section). The default is to start a child daemon on all RADs. Sends the currently running master inetd daemon a SIGUSR2 sig- nal, which kills all inetd daemons, including the master inetd daemon, and all services that they have started. Sends the currently run- ning master inetd daemon a SIGTERM signal, which kills all inetd daemons, including the master inetd daemon, but none of the services that they have started. By default, the files are /etc/inetd.conf and /etc/inetd.conf.local. They contain configuration information that the daemon reads at startup. If you specify configfile on the command line, only that file is read at startup. DESCRIPTION
The inetd daemon should be run at boot time by inetd in the /sbin/init.d directory. At startup, it determines how many RADs are present (if on NUMA-capable hardware) and starts an inetd child daemon on each RAD. On non-NUMA hardware, only one inetd child daemon is started. Each inetd child then listens for connections on certain Internet sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. After the program is finished, it continues to lis- ten on the socket (except in some cases that are discussed later in this reference page. Essentially, inetd allows running one daemon to invoke several others, reducing load on the system. Upon execution, each inetd child reads its configuration information from the two configuration files, which, by default, are /etc/inetd.conf and /etc/inetd.conf.local; the /etc/inetd.conf file is read first. There must be an entry for each field of the configura- tion files, with entries for each field separated by a tab or a space. Comments are denoted by a # (number sign) at the beginning of a line. If an entry exists in both configuration files, the entry in the /etc/inetd.conf.local file overrides the entry in the /etc/inetd.conf file. See inetd.conf(4) for more information. The inetd daemon provides several trivial services internally by use of routines within itself. These services are echo, discard, chargen (character generator), daytime (human-readable time), and time (machine-readable time, in the form of the number of seconds since midnight January 1, 1900). All of these services are tcp or udp based, and support both IPv4 and IPv6. (Note: These services are initially turned off. To turn them on, you must remove the comment leader of the service in /etc/inetd.conf or /etc/inetd.conf.local, depending on your configuration, and send a SIGHUP signal to inetd.) For details of these services, consult the appropriate RFC. The inetd daemon rereads its configuration files when it receives a hangup signal, SIGHUP. Services may be added, deleted, or modified when the configuration files are reread. You should use the -h option to send a SIGHUP signal. You can use the inetd daemon to start RPC daemons by adding them to the inetd.conf or inetd.conf.local file. When you add an RPC service it must be followed by a slash (/) and the range of version supported. Also, the protocol field must consist of the string rpc followed by a slash (/) and protocol listed in the /etc/protocols file. Resource Affinity Domains and inetd When you add a new RAD, complete the following steps: Add the RAD. Configure the RAD. Issue the inetd -h command to force inetd to reread its configuration file. When you delete a RAD, complete the following steps: Issue the inetd -q command to kill all child daemons. Unconfigure the RAD. Remove the RAD. Issue the inetd -h command to force inetd to reread its configuration file. See the appropriate hardware documentation for the actual procedure for adding and deleting a RAD. EXAMPLES
To start an inetd daemon on RADs 1 and 2, enter: # inetd -r1 -r2 FILES
Specifies the command path. The global configuration file. The cluster member-specific configuration file. Process ID. RELATED INFORMATION
Commands: comsat(8). Daemons: fingerd(8), ftpd(8), rexecd(8), rlogind(8), rpc.rquotad(8), rpc.rstatd(8), rpc.rusersd(8), rpc.rwalld(8), rpc.sprayd(8), rshd(8), telnetd(8), tftpd(8). Files: inetd.conf(4). delim off inetd(8)
All times are GMT -4. The time now is 07:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy