Sponsored Content
Full Discussion: Timeout Error
Top Forums UNIX for Dummies Questions & Answers Timeout Error Post 23556 by RTM on Tuesday 25th of June 2002 09:29:12 AM
Old 06-25-2002
Perderabo - for a non-OBP expert you do pretty good.

Merlin - the system is definitely attempting to boot from the net. Perderabo's explaination is correct. The install may have changed the default boot device.

SUNSolve OBP commands

You can also do a reset of the OBP back to factory default by turning off power, turn on power while holding down the Stop and N key.
 

10 More Discussions You Might Find Interesting

1. HP-UX

timeout

How can I kick a user out after being idle for a certain amount of time, would prefer not to use scripts, will TMOUT work on HP-UX? (5 Replies)
Discussion started by: csaunders
5 Replies

2. Solaris

About the Timeout

Hello everyone I am a new one,I want to know how to get the solaris force the loginer out if he do not in a time thanks (4 Replies)
Discussion started by: lyh003473
4 Replies

3. UNIX for Advanced & Expert Users

Timeout waiting for arp/rarp error

hello folks, I am trying to install solaris 10 through network using jumpstart but the thing is i am facing problem with the following message problem Timeout waiting for arp/rarp i made sure everything correct as /etc/hosts and /etc/ethers cables are connected, plz anyone help me out (7 Replies)
Discussion started by: solar10
7 Replies

4. Linux

RSH Timeout

Hi All I have a nice little script that i have written in Perl, in it use RSH ( yes i know it is i should being using ssh, but it i secure network it is being run on) the idea of the script it that it will RSH into a machine and then follow out a command, the problem i am running into is if the... (3 Replies)
Discussion started by: John101
3 Replies

5. Solaris

SFTP is successful but still shows timeout error

Hi, I am doing sftp from remote server1 to remote server2. This is done through a script. This script was working fine. But if i am tranfer files of 120 MB only some part of the file gets transferred (around 9 MB). Incase i put the same file manually it gets uploaded successfully. Can... (1 Reply)
Discussion started by: subiksha
1 Replies

6. Programming

using libpcap with timeout

I want to write a small application using Libpcap in C on Linux. Currently, it starts to sniff and waits for the packets. But that's not what I need actually. I want it to wait for N seconds and then stop listening. (I think there's something wrong with my usage of 'pcap_open_live'...) How... (0 Replies)
Discussion started by: xyzt
0 Replies

7. Shell Programming and Scripting

Timeout in shellscripting

#!/bin/sh for ip in $(cat /root/Desktop/ftp.txt) do HOST=$ip USER='bob' PASS='bob' ftp -n $HOST <<EOF user bob bob EOF echo "$ip" done the Above code i want to use check and verify login works on multiple ftp servers on my network. However the ftp servers are dynamic in setup... (5 Replies)
Discussion started by: Noledge
5 Replies

8. Red Hat

TNS Timeout Error when connecting to SQLPLUS through scripts only

Hi, I am facing a strange issue when connecting to SQLPLUS via a shell scripts. I am using Linux 2.6.18-274.18.1 and gbash shell. When I connect to SQLPLUS through scripts then it throws TNS Time Out error ""sometimes"" and connects successfully other times.This is only happening when... (9 Replies)
Discussion started by: aashish.sharma8
9 Replies

9. Solaris

weblogic connection timeout error

i am facing an issue that the server give a connection timeout after 60 sec for any request more than that number . i tried to increase the TCP INTERVAL TIMEOUT from the default 60000 ms to more higher number. the server seems to work fine and didn't give me the massage of the timeout but the... (0 Replies)
Discussion started by: core99
0 Replies

10. Shell Programming and Scripting

What is this error log = hda: irq timeout: error=0x00 and how to solve?

what is this error log = hda: irq timeout: error=0x00 and how to solve? every day upon checking the logs i see this error. hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hda: irq timeout: error=0x00 hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies
ssh_sftp(3erl)						     Erlang Module Definition						    ssh_sftp(3erl)

NAME
ssh_sftp - SFTP client. DESCRIPTION
This module implements an SFTP (SSH FTP) client. SFTP is a secure, encrypted file transfer service available for SSH. COMMON DATA TYPES
Type definitions that are used more than once in this module and/or abstractions to indicate the intended use of the data type: ssh_connection_ref() - opaque to the user returned by ssh:connect/3 timeout() = infinity | integer() - in milliseconds. TIMEOUTS
If the request functions for the sftp channel return {error, timeout} it does not mean that the request did not reach the server and was not performed, it only means that we did not receive an answer from the server within the time that was expected. EXPORTS
start_channel(ConnectionRef) -> start_channel(ConnectionRef, Options) -> start_channel(Host, Options) -> start_channel(Host, Port, Options) -> {ok, Pid} | {ok, Pid, ConnectionRef} | {error, Reason} Types Host = string() ConnectionRef = ssh_connection_ref() Port = integer() Options = [{Option, Value}] Reason = term() If not provided, setups a ssh connection in this case a connection reference will be returned too. A ssh channel process is started to handle the communication with the SFTP server, the returned pid for this process should be used as input to all other API func- tions in this module. Options are: {timeout, timeout()} : The timeout is passed to the ssh_channel start function, and defaults to infinity. All other options are directly passed to ssh:connect/3 or ignored if a connection is already provided. stop_channel(ChannelPid) -> ok Types ChannelPid = pid() Stops a sftp channel. If the ssh connection should be closed call ssh:close/1 . read_file(ChannelPid, File) -> read_file(ChannelPid, File, Timeout) -> {ok, Data} | {error, Reason} Types ChannelPid = pid() File = string() Data = binary() Timeout = timeout() Reason = term() Reads a file from the server, and returns the data in a binary, like file:read_file/1 . write_file(ChannelPid, File, Iolist) -> write_file(ChannelPid, File, Iolist, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() File = string() Iolist = iolist() Timeout = timeout() Reason = term() Writes a file to the server, like file:write_file/2 . The file is created if it's not there. list_dir(ChannelPid, Path) -> list_dir(ChannelPid, Path, Timeout) -> {ok, Filenames} | {error, Reason} Types ChannelPid = pid() Path = string() Filenames = [Filename] Filename = string() Timeout = timeout() Reason = term() Lists the given directory on the server, returning the filenames as a list of strings. open(ChannelPid, File, Mode) -> open(ChannelPid, File, Mode, Timeout) -> {ok, Handle} | {error, Reason} Types ChannelPid = pid() File = string() Mode = [Modeflag] Modeflag = read | write | creat | trunc | append | binary Timeout = timeout() Handle = term() Reason = term() Opens a file on the server, and returns a handle that is used for reading or writing. opendir(ChannelPid, Path) -> opendir(ChannelPid, Path, Timeout) -> {ok, Handle} | {error, Reason} Types ChannelPid = pid() Path = string() Timeout = timeout() Reason = term() Opens a handle to a directory on the server, the handle is used for reading directory contents. close(ChannelPid, Handle) -> close(ChannelPid, Handle, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() Handle = term() Timeout = timeout() Reason = term() Closes a handle to an open file or directory on the server. read(ChannelPid, Handle, Len) -> read(ChannelPid, Handle, Len, Timeout) -> {ok, Data} | eof | {error, Error} pread(ChannelPid, Handle, Position, Len) -> pread(ChannelPid, Handle, Position, Len, Timeout) -> {ok, Data} | eof | {error, Error} Types ChannelPid = pid() Handle = term() Position = integer() Len = integer() Timeout = timeout() Data = string() | binary() Reason = term() Reads Len bytes from the file referenced by Handle . Returns {ok, Data} , or eof , or {error, Reason} . If the file is opened with binary , Data is a binary, otherwise it is a string. If the file is read past eof, only the remaining bytes will be read and returned. If no bytes are read, eof is returned. The pread function reads from a specified position, combining the position and read functions. aread(ChannelPid, Handle, Len) -> {async, N} | {error, Error} apread(ChannelPid, Handle, Position, Len) -> {async, N} | {error, Error} Types ChannelPid = pid() Handle = term() Position = integer() Len = integer() N = term() Reason = term() Reads from an open file, without waiting for the result. If the handle is valid, the function returns {async, N} , where N is a term guaranteed to be unique between calls of aread . The actual data is sent as a message to the calling process. This message has the form {async_reply, N, Result} , where Result is the result from the read, either {ok, Data} , or eof , or {error, Error} . The apread function reads from a specified position, combining the position and aread functions. write(ChannelPid, Handle, Data) -> write(ChannelPid, Handle, Data, Timeout) -> ok | {error, Error} pwrite(ChannelPid, Handle, Position, Data) -> ok pwrite(ChannelPid, Handle, Position, Data, Timeout) -> ok | {error, Error} Types ChannelPid = pid() Handle = term() Position = integer() Data = iolist() Timeout = timeout() Reason = term() Write data to the file referenced by Handle . The file should be opened with write or append flag. Returns ok if successful and {error, Reason} otherwise. Typical error reasons are: ebadf : The file is not opened for writing. enospc : There is a no space left on the device. awrite(ChannelPid, Handle, Data) -> ok | {error, Reason} apwrite(ChannelPid, Handle, Position, Data) -> ok | {error, Reason} Types ChannelPid = pid() Handle = term() Position = integer() Len = integer() Data = binary() Timeout = timeout() Reason = term() Writes to an open file, without waiting for the result. If the handle is valid, the function returns {async, N} , where N is a term guaranteed to be unique between calls of awrite . The result of the write operation is sent as a message to the calling process. This message has the form {async_reply, N, Result} , where Result is the result from the write, either ok , or {error, Error} . The apwrite writes on a specified position, combining the position and awrite operations. position(ChannelPid, Handle, Location) -> position(ChannelPid, Handle, Location, Timeout) -> {ok, NewPosition | {error, Error} Types ChannelPid = pid() Handle = term() Location = Offset | {bof, Offset} | {cur, Offset} | {eof, Offset} | bof | cur | eof Offset = int() Timeout = timeout() NewPosition = integer() Reason = term() Sets the file position of the file referenced by Handle . Returns {ok, NewPosition (as an absolute offset) if successful, otherwise {error, Reason} . Location is one of the following: Offset : The same as {bof, Offset} . {bof, Offset} : Absolute offset. {cur, Offset} : Offset from the current position. {eof, Offset} : Offset from the end of file. bof | cur | eof : The same as above with Offset 0. read_file_info(ChannelPid, Name) -> read_file_info(ChannelPid, Name, Timeout) -> {ok, FileInfo} | {error, Reason} Types ChannelPid = pid() Name = string() Handle = term() Timeout = timeout() FileInfo = record() Reason = term() Returns a file_info record from the file specified by Name or Handle , like file:read_file_info/2 . read_link_info(ChannelPid, Name) -> {ok, FileInfo} | {error, Reason} read_link_info(ChannelPid, Name, Timeout) -> {ok, FileInfo} | {error, Reason} Types ChannelPid = pid() Name = string() Handle = term() Timeout = timeout() FileInfo = record() Reason = term() Returns a file_info record from the symbolic link specified by Name or Handle , like file:read_link_info/2 . write_file_info(ChannelPid, Name, Info) -> write_file_info(ChannelPid, Name, Info, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() Name = string() Info = record() Timeout = timeout() Reason = term() Writes file information from a file_info record to the file specified by Name , like file:write_file_info . read_link(ChannelPid, Name) -> read_link(ChannelPid, Name, Timeout) -> {ok, Target} | {error, Reason} Types ChannelPid = pid() Name = string() Target = string() Reason = term() Read the link target from the symbolic link specified by name , like file:read_link/1 . make_symlink(ChannelPid, Name, Target) -> make_symlink(ChannelPid, Name, Target, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() Name = string() Target = string() Reason = term() Creates a symbolic link pointing to Target with the name Name , like file:make_symlink/2 . rename(ChannelPid, OldName, NewName) -> rename(ChannelPid, OldName, NewName, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() OldName = string() NewName = string() Timeout = timeout() Reason = term() Renames a file named OldName , and gives it the name NewName , like file:rename/2 delete(ChannelPid, Name) -> delete(ChannelPid, Name, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() Name = string() Timeout = timeout() Reason = term() Deletes the file specified by Name , like file:delete/1 make_dir(ChannelPid, Name) -> make_dir(ChannelPid, Name, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() Name = string() Timeout = timeout() Reason = term() Creates a directory specified by Name . Name should be a full path to a new directory. The directory can only be created in an existing directory. del_dir(ChannelPid, Name) -> del_dir(ChannelPid, Name, Timeout) -> ok | {error, Reason} Types ChannelPid = pid() Name = string() Timeout = timeout() Reason = term() Deletes a directory specified by Name . The directory should be empty. Ericsson AB ssh 2.0.4 ssh_sftp(3erl)
All times are GMT -4. The time now is 04:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy