10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
I use bash functions which are in different script files.
Theses scripts function files are sourced when necessary.
As function does not easily return string value, Value are return using the echo function, and a return code is returned..
Now here my question :
In the main script I... (11 Replies)
Discussion started by: jcdole
11 Replies
2. Shell Programming and Scripting
I have a script which connects to a remote server via FTP and gets some file from there.
#!/bin/bash
/usr/bin/ftp -n remote.hostname.com <<EOF
quote USER user123
quote PASS password123
lcd /dir1/dir2/dir3
cd /
mget file_pattern*
close
bye
EOF
rc=$?
if ]
... (7 Replies)
Discussion started by: dhruuv369
7 Replies
3. High Performance Computing
hai this is samiulla
i am installing vcs 6.0 in vmware solaris 10 (64bit) i got error while i am going to install vcs in 2 nodes even i add rhost files on both nodes and ssh autho login still i got error. But i install vcs within one node it installs but when going to install in both nodes i got... (0 Replies)
Discussion started by: samiulla
0 Replies
4. Solaris
i am installed solaris 10 latest release i want to install Veritas cluster in solaris and i already installed VXVM in it and it works fine but when i install cluser on solaris i display an error like this what does it mean ? explain in detailed.
2 Failed to call set_value for... (1 Reply)
Discussion started by: samiulla
1 Replies
5. Shell Programming and Scripting
Afternoon ladies and gents,
I am trying to create a simple script to remove a certain file from a user's network profile location. The removal works ok, but in the interest of overkill I would like to add a simple error detection (such as file doesn't exist or permission denied)
Currently, it... (2 Replies)
Discussion started by: hateborne
2 Replies
6. Solaris
hi, dear all
I get a problem "VCS ERROR V-16-2-13077 " on VCS 4.1 for Solaris 10.
I can not offline the host2 when the raid is bad.
I don't know the reason and how to offline host2 and switch to host1.
please help me, thank you!
the message of engine_A.log is :
... (2 Replies)
Discussion started by: ForgetChen
2 Replies
7. Solaris
I got a Power supply failure. I replaced the power supply and still got the error.
Any ideas on what I should try next? (1 Reply)
Discussion started by: 642fiddi
1 Replies
8. Shell Programming and Scripting
I want to import the info to shell when the connection to remote host was closed . I have follwed by ssh errors but how to use variables in script.
I am thinking out loud the shell script could look as follow:
svnvaraible=$ERROR_SSH_CONNECTION_LOST
if ; then
break
fi (1 Reply)
Discussion started by: Michal Janusz
1 Replies
9. UNIX and Linux Applications
Hi Friends,
I need your help in understanding this: :rolleyes:
I want to print the error numbers returned by the system calls (not the actual integers but the strings that they match to). The error numbers like EACCESS, ENOMEM, ENOENT etc ...
For eg:
returnCode = open(somefile,... (2 Replies)
Discussion started by: vijaya2006
2 Replies
10. AIX
I have been given some pSeries AIX servers to maintain. One of the servers wont come up after a shutdown and the following code is showing on the server:
10118401
How do I look up the error code? (2 Replies)
Discussion started by: dangral
2 Replies