Sponsored Content
Top Forums Shell Programming and Scripting ftp: Name or service not known Post 302519286 by jim mcnamara on Tuesday 3rd of May 2011 02:40:28 PM
Old 05-03-2011
Please show us your script - the part with the problems.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ftp: ftp/tcp: unknown service

Hello, when I type ftp on the server (Sco Unix 5.0.4) it gives an error messages which is "ftp: ftp/tcp: unknown service" but I have this service in '/etc/services' file. Also when I want to telnet from another machine to this machine is gives also 'telnet: tcp/telnet: unknown service' this... (2 Replies)
Discussion started by: alisevA3
2 Replies

2. AIX

Unix security -- FTP service????

I would like to ask for you suggestions or comments see if you can help. Since system auditing is under progress and the AIX is the main investigated unit. They are asking to disable the FTP service to enhance the security but I doubt. For daily use, the FTP will help administrator to download... (1 Reply)
Discussion started by: shanemcmahon
1 Replies

3. Linux

Better FTP service needed. (suspected inteferance)

Hello there, I have of recent been having overbearing problems with my Linux computer when accessing servers via FTP. The server behaves rather erractically and refuses to complete uploads, merely stalling the transfer for an unpredictable amount of time, which can stem from being either 5... (2 Replies)
Discussion started by: Noran Rad
2 Replies

4. Linux

Ftp Service /process Status

:confused: Hi Can anyone tell me how to check the FTP process status in linux . eg,I'm ftpping some files from "A" server to "B" server through FTP command , after ftpping these files , I 'm suppose to delete the files which are successfully ftpped from "A" server ,but when I 'm checking the... (1 Reply)
Discussion started by: GaneshB
1 Replies

5. UNIX for Dummies Questions & Answers

FTP service..please help me

could you please guys and gals to educate me about the ftp...implementation and how to use it on BSD? thanks a lot (2 Replies)
Discussion started by: lipbalm
2 Replies

6. Linux

Setting up FTP service +on Fedora 9

Hi all, I set up FTP service at my linuxAbox. Everything is good. When i did FTP from my LinuxB box , it authenticated just fine. The problem is: 1. I can't list the directory 2. when i use ls command to list the directory, it showed: 227 Entering passive mode... (2 Replies)
Discussion started by: c00kie88
2 Replies

7. AIX

Block users ftp service

Hello everyone I create a file /etc/ftpusers to block users. I put the names of the users and I refresh the service inetd. My question is the user still log in by ftp.???? What I miss Thanks for your opinions. Greetings (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

8. UNIX for Dummies Questions & Answers

FTP service/ set up

Hi Everybody, How can I understand when I login to any unix server that this server is having ftp service running? what I care is that I want to ftp something to this server and I can't, something like connection refuse. is there any ways to understand if the ftp is setup? and if not, how to set... (2 Replies)
Discussion started by: messi777
2 Replies

9. HP-UX

FTP service Enable/Disable

hi everybody, I can easily enable /disable the FTP service from SAM, how can I do this via command line? using inetd? how? cheers, messi (1 Reply)
Discussion started by: messi777
1 Replies

10. AIX

To stop ftp service on VIO

Hi all, How can I close ftp port 21 on VIO server. Best regards, ---------- Post updated at 10:06 AM ---------- Previous update was at 08:45 AM ---------- I resoved with switch to OS mode. $ oem_setup_env (0 Replies)
Discussion started by: getrue
0 Replies
mmsclient_script(4)						   File Formats 					       mmsclient_script(4)

NAME
mmsclient_script - script file for mmsclient program SYNOPSIS
mmsclient_script DESCRIPTION
This man page describes the syntax of the script file that is driven by the mmsclient(1M) utility. This file contains a list of Media Man- agement Protocol (MMP) commands that are used to communicate with a Media Management server. The MMP and the commands in the script file are based, in part, on IEEE 1244, the Media Management System (MMS) standards. In the script file, each MMP command must start with one of the following symbols as the first character: # Comment character Indicates the following characters document the file or command. Any character following the # character on the same line is ignored. @ Async command Indicates that the command on the next line is sent in async mode. Any character following the @ character on the same line is ignored. The MMP command to be performed must start on the next line. Commands that are not preceded with the @ character are sent in sync mode, that is, the mmsclient command waits for a response before continuing to the next MMP command in the file. $ Sync point Forces the mmsclient command to wait for a response to a previous async command. For example, if the script contained an async com- mand such as: @task["Get volume Names"] ...a subsequent command: $Get volume Names ...stops the script until the volume names are retrieved. > Interactive MMP prompt Displays a prompt on the display device and pauses the script. To respond to the prompt, type the requested information, ending with the semicolon (;) character. The mmsclient utility then sends the information to the MMS server. To skip the MMP prompt, type the q character. % Pause the script The script stops until you press the Enter key. ! Execute a command The mmsclient utility issues a call to system(3C) to invoke a command. Whatever command follows ! is run in the shell in which mmsclient is run. For example: ! date See the shell commands in the example script below. EXAMPLES
Example 1 Example Script The following script, demo_example, demonstrates the special characters and some MMP commands. It is executed with default values when the command: # mmsclient -f demo _example ...is run. #mmsclient example script #Send show commands in sync mode show task["sync show command 1"] report[DM] reportmode[namevalue] number[1..2]; show task["sync show command 2"] report[LM LIBRARY] reportmode[namevalue] number[1..2]; #Pause the script and wait for someone to #press Enter to continue % #send show commands in async mode @ show task["async show command 1"] report[DRIVE] reportmode[namevalue] number[1..2]; @ show task["async show command 2"] report[CARTRIDGE VOLUME] reportmode[namevalue] number[1..2]; #set a sync point for the second async command, #to stop the script until the response is complete $async show command 2 #set a sync point for an unsent command and set #a sync pont for a command that has already received a response. #mmsclient does not stop for either one $sync show command 1 #Start interactive MMP prompt. #To continue, enter an MMP command or 'q' > #Register for a some events notify task["notify test3"] receive[tag["client connected"] object[CONNECTION] action["add"] match[streq(CONNECTION."Language" "MMP")]] receive[tag["client disconnected"] object[CONNECTION] action["delete"] match[streq(CONNECTION."Language" "MMP")]] receive[tag["DM connected"] object[CONNECTION] action["add"] match[streq(CONNECTION."Language" "DMP")]] receive[tag["DM disconnected"] object[CONNECTION] action["delete"] match[streq(CONNECTION."Language" "DMP")]] receive[tag["LM connected"] object[CONNECTION] action["add"] match[streq(CONNECTION."Language" "LMP")]] receive[tag["LM disconnected"] object[CONNECTION] action["delete"] match[streq(CONNECTION."Language" "LMP")]] ; #Pause the script #Connect another mmsclient to see some events #Press Enter key to continue % notify task["delete all CONNECTION events"] cancel[object[CONNECTION]]; #Pause the script and wait. #Connect another mmsclient to verify the events are cancelled. #Press Enter key to continue % #Execute some simple shell commands !echo Hello World !uname -a !hostname #Pause the script and wait. #Press Enter key to continue % #Send last command in async mode. #mmsclient does not exit until it receives the responses #for all pending commmands. @ show task["async show command 3"] report[APPLICATION] reportmode[namevalue]; @ show task["async show command 4"] report[AI] reportmode[namevalue]; ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmmsu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
mmsadm(1M), mmsclient(1M), mmsexplorer(1M), mmsinit(1M), system(3C), attributes(5) IEEE 1244, IEEE Storage Systems Standards, a set of MMS standards SunOS 5.11 10 Jul 2008 mmsclient_script(4)
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy