Standalone FTPD within SMF


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Standalone FTPD within SMF
# 1  
Old 01-13-2006
Standalone FTPD within SMF

Hello
We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities:

i) Remove the FTP service from INETD SMF service control (which should prevent INETD from monitoring the FTP port);
ii) Import the FTP service as a standalone service into SMF (so that the FTP demon then monitors the FTP port).

We carried out the following activities:
i) Disabled and deleted the current FTP service as follows:
inetadm -d network/ftp
svccfg delete network/ftp

ii) Imported a customised FTP manifest file that starts the FTP demon as standalone.

The FTP service is now running fine as a standalone service, but inetd is no longer fine. It continually fails. The following is found within the log files:

svc:/network/inetd:default: Method "/usr/lib/inet/inetd start" failed with exit status 1

Does anyone know how we can successfully run the FTPD service within SMF as a standalone demon without upsetting the INETD service? Simply disabling the FTP service using INETADM and importing our customised FTP service seems to cause problems.

Thanks in advance for your help.

Cheers
Dave
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Using Firefox/Chatzilla on standalone

Hello! I am trying to perform a test using chatzilla, the problem is my machine is not on a network so I am trying to prove I can communicate through local host. This way it will hit the nic go through and come back on the other side. All the configurations I have tried irc.local.host:6667... (12 Replies)
Discussion started by: cybersecEG
12 Replies

2. Solaris

Ftpd alarms

Hi, I am facing following alarms in var/adm/messages after an interval of 10 mins. I dont know what the impact is and how can i fix it. Can anyone help please? Dec 4 07:50:03 hxcsvc-a01 ftpd: open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory Dec ... (4 Replies)
Discussion started by: sni_engineer
4 Replies

3. Linux

wu-ftpd

Hello everyone! I looking for wu-ftpd latest rpm or sorce package. Anyone have idea where i can find? I need to install on Centos 5. please help. -thanks, :) (4 Replies)
Discussion started by: email-lalit
4 Replies

4. UNIX Desktop Questions & Answers

how to check if a file ftpd to mainframe was actually ftpd

Hi All, I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies

5. Solaris

Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now. Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies

6. UNIX for Dummies Questions & Answers

How to configure a network workstation to a standalone?

Hi, I have a networked ultra 5 workstation(using NIS) that I would like to be able to : 1. Reconfigure to standalone workstation, 2. and be able to switch back to a network workstation when the needs required. Please advise. Ryan (5 Replies)
Discussion started by: ryantk
5 Replies

7. UNIX for Dummies Questions & Answers

Installation Procedure of UNIX on a standalone pc

Hi, I am nil about UNIX and i want to learn about. For this i want to install UNIX 5.0 on my home pc. Anyone please tell me the procedure to install it. The partition and all etc. etc.. My pc configuration is P-IV, 1.7GHz 40 GB HDD With regards, Phani (1 Reply)
Discussion started by: phanikmv
1 Replies

8. UNIX for Dummies Questions & Answers

FTPD, CHROOT, SMF and non-root user

Hello I am trying to configure WU-FTPD on Solaris 10 to do the following: Using the -r parameter to in.ftpd, I am running the FTP demon within a CHROOT jail (/export/ftp). The FTP service is also being controlled by SMF. This seems to work fine. However, one of the requirements I have is to... (2 Replies)
Discussion started by: CowsUdders
2 Replies

9. UNIX for Advanced & Expert Users

ftpd message

hello, On my AIX server 4.3.3.0 the following message appears on the screen: ftpd :Failed dlopen :/usr/lib/libpag.a(shr.o):a file or directory in the path name does not exist. Please help, Thanks . (1 Reply)
Discussion started by: eyounes
1 Replies

10. UNIX for Dummies Questions & Answers

wu-ftpd question

ya i was wondering if there was anyone out there who could show me a good how to page on wu-ftpd ...im running RH 7.1 and i have the update of wu i just need to know how to use it and configure it so the users are limited to their dir and not the whole system .....any help will do ..thx (2 Replies)
Discussion started by: mista_king
2 Replies
Login or Register to Ask a Question
inetadm(1M)                                               System Administration Commands                                               inetadm(1M)

NAME
inetadm - observe or configure inetd-controlled services SYNOPSIS
inetadm inetadm -? inetadm -p inetadm -l {FMRI | pattern} inetadm -e {FMRI | pattern} inetadm -d {FMRI | pattern} inetadm -m {FMRI | pattern} ... {name=value} ... inetadm -M {name=value} ... DESCRIPTION
The inetadm utility provides the following capabilities for inetd-managed SMF services: o Provides a list of all such services installed. o Lists the services' properties and values. o Allows enabling and disabling of services. o Allows modification of the services'property values, as well as the default values provided by inetd. See smf(5) for a description of an SMF service. With no arguments, inetadm lists all services under inetd(1M) control, including such attributes as their current run state and whether or not they are enabled. OPTIONS
For options taking one or more FMRI operands (see smf(5) for a description of an FMRI), if the operand specifies a service (instead of a service instance), and that service has only a single instance, inetadm operates on that instance. If a service name is supplied and it contains more than one instances or a pattern is supplied and and it matches more than one instance, a warning message is displayed and that operand is ignored. For those options taking name=value parameters, a description of each of the possible names and the allowed values is found in the inetd(1M) man page. The following options are supported: -? Display a usage message. -p Lists all default inet service property values provided by inetd in the form of name=value pairs. If the value is of boolean type, it is listed as TRUE or FALSE. -l {FMRI | pattern}... List all properties for the specified service instances as name=value pairs. In addition, if the property value is inherited from the default value provided by inetd, the name=value pair is identified by the token (default). Property inheritance occurs when properties do not have a specified service instance default. -e {FMRI | pattern}... Enable the specified service instances. -d {FMRI | pattern}... Disable the specified service instances. -m {FMRI | pattern}...{name=value}... Change the values of the specified properties of the identified service instances. Properties are specified as whitespace-separated name=value pairs. To remove an instance-specific value and accept the default value for a property, simply specify the property without a value, for example, name= . -M {name=value}... Change the values of the specified inetd default properties. Properties are specified as whitespace-separated name=value pairs. EXAMPLES
Example 1: Displaying Properties for a Service The following command displays the properties for the spray service. # inetadm -l network/rpc/spray:default SCOPE NAME=VALUE name="sprayd" endpoint_type="tli" proto="datagram_v" isrpc=TRUE rpc_low_version=1 rpc_high_version=1 wait=TRUE exec="/usr/lib/netsvc/spray/rpc.sprayd" user="root" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE default tcp_wrappers=FALSE Example 2: Displaying Default Properties The following command displays default properties. # inetadm -p NAME=VALUE bind_addr="" bind_fail_max=-1 bind_fail_interval=-1 max_con_rate=-1 max_copies=-1 con_rate_offline=-1 failrate_cnt=40 failrate_interval=60 inherit_env=TRUE tcp_trace=FALSE tcp_wrappers=FALSE Example 3: Changing Property Values for a Service The following command changes rpc_high_version to 3 and tcp_trace to TRUE for the spray service. # inetadm -m network/rpc/spray:default rpc_high_version=3 tcp_trace=TRUE # inetadm -l network/rpc/spray:default SCOPE NAME=VALUE name="sprayd" endpoint_type="tli" proto="datagram_v" isrpc=TRUE rpc_low_version=1 rpc_high_version=3 wait=TRUE exec="/usr/lib/netsvc/spray/rpc.sprayd" user="root" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE tcp_trace=TRUE default tcp_wrappers=FALSE EXIT STATUS
The following exit values are returned: 0 Operation completed successfully. 1 A fatal error occurred. An accompanying error message will provide further information. 2 Invalid arguments were supplied, such as an ambiguous service FMRI or pattern. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
inetd(1M), svccfg(1M), attributes(5), smf(5) SunOS 5.10 17 Dec 2004 inetadm(1M)