We currently have a server that we have to load a special kind of file onto, to do this we have a script that someone on my team wrote years ago called emm <file>. We recently added another server to our system, so every file that's added on one has to be added to the other. I want to write a script that will scp the file to the other server, run the original script locally, and then ssh to the other system and run it there. I tried just doing
But there's something in the actual script (emm) that is causing it not to work, sadly I don't have the the actual error message as I'm not at work right now, but it had something to do with the script calling on who am i, as well as some other problems.
I'm really not advanced enough to try to rewrite the original script, so I'm curious. Is there some other syntax for ssh that would actually take the user to the other server and execute the command as if it were being done locally?
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Hello, I'm trying to get to the bottom of SAN disk errors we've been seeing.
Server is Sun Fire X4270 M2 running Solaris 10 8/11 u10 X86 since April 2012. SAN HBAs are SG-PCIE2FC-QF8-Z-Sun-branded Qlogic. SAN storage system is Hitachi VSP. We have 32 LUNs in use and another 8 LUNs not brought... (4 Replies)
Hi Folks,
I am getting the following error in /var/adm/messages. Can any one help me out on this?
ZXXXXXA:/# tail /var/adm/messages
Oct 26 00:13:04 ZXXXXXA ftpd: setsockopt SO_KEEPALIVE Invalid argument
Oct 26 00:13:04 ZXXXXXA ftpd: setsockopt (SO_OOBINLINE): Invalid argument
Oct 26... (3 Replies)
Hi Unix experts,
I have a question regarding a disk failure seen in "iostat -Enm" output:
# iostat -Enm
c1t0d0 Soft Errors: 0 Hard Errors: 7 Transport Errors: 9
Vendor: FUJITSU Product: MAU3073NCSUN72G Revision: 0802 Serial No: 0514F005M0
Size: 73.40GB <73400057856 bytes>
Media... (5 Replies)
i've made a simple program that change a string from lowercase to uppercase and from uppercase to lowercase. Server works until start client, after client run server give this error: "recv server fallita: Transport endpoint is not connected" why? i think that stream closed too soon or not? below... (1 Reply)
I am trying to set up a two host cluster. trouble is with the cluster transport configuration.
i'm using e1000g2 and g3 for the cluster transport. global0 and global1 are my two nodes, and I am running the scinstall from global1.
i think i should be expecting, is this:
The following... (19 Replies)
Dear Friends,
I am using Solaris 10 on Sun Sparc T5120 with 4 HDD(Raid).I am getting transport error in one of my mirrored HDD c1t2d0. Below is a screen shot. I have replaced the HDD with new one but still the same. Any one can help????
c1t2d0 Soft Errors: 0 Hard Errors: 0... (1 Reply)
Someone who can help me. the following error occur, what does it mean, and any possible solution you can give.thanks
syslog: fp: NOTICE: fp(2): PLOGI to d5900 failed state=Packet Transport error , reason=No Connection (Database)
$cat /var/adm/messages
Nov 3 05:16:21 vfaus279 fp: ... (7 Replies)
avahi-dnsconfd.action(8) System Manager's Manual avahi-dnsconfd.action(8)NAME
avahi-dnsconfd.action - avahi-dnsconfd action script
SYNOPSIS
/etc/avahi/avahi-dnsconfd.action
DESCRIPTION
avahi-dnsconfd.action is the action script that is called whenever a new unicast DNS server is found or removed by avahi-dnsconfd. The
default script as shipped with avahi patches /etc/resolv.conf to reflect the changed unicast DNS server configuration.
PARAMETERS
argv[1] Contains the character "+" if the DNS server is new, "-" when it shall be removed from the DNS server list.
argv[2] The IP address of the DNS server.
argv[3] Numerical network interface number this DNS server was found on.
argv[4] Numerical protocol number this DNS server was found on. (usually 2 for IPv4 and 10 for IPv6)
ENVIRONMENT
AVAHI_INTERFACE Contains the textual interface name the corresponds with argv[3]. (e.g. "eth0")
AVAHI_INTERFACE_DNS_SERVERS Contains a list of all DNS servers that avahi-dnsconfd found on the interface $AVAHI_INTERFACE, separated by
spaces.
AVAHI_DNS_SERVERS Contains a list of all DNS server that avahi-dnsconfd found on all interfaces, separated by spaces.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO avahi-dnsconfd(8), avahi-daemon(8)COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-dnsconfd.action(8)