10-05-2007
You have given us no information to work with.
1. what type of system are you using?
2. what other machines are you talking to?
3. what networking are you using?
4. what error messages are you getting?
5. are you the administrator, given you are able to reboot the box?
10 More Discussions You Might Find Interesting
1. Programming
#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
struct stat s;
main() {
char c;
if (fork()==0) {
system("clear");
do {
printf("myAI\\>§ ");
scanf("%s",c);
if(stat(c,&s)>-1) {... (3 Replies)
Discussion started by: C|[anti-trust]
3 Replies
2. HP-UX
Hi,
I do have three scripts. Whcih inserts records into a table using sqlldr, creating some reprot files etc. The first script will call the second and then the second will call the third. When I run my first script from the shell prompt, all my operation are completed successfully. If I do... (23 Replies)
Discussion started by: risshanth
23 Replies
3. Shell Programming and Scripting
Hi all,
I'm trying to generate a series of txt files starting from a plain csv file
part of my code:
#!/bin/ksh
INSTALLDIR=/Users/ME/Installdir
CSV=CSV.csv
TMP=/tmp/$(basename $0).txt
tr -s "\r" "\n" < /$INSTALLDIR/$CSV > $TMP
function Makefiles
{
printf '%24s:%30s\n' "sometext"... (1 Reply)
Discussion started by: Jive Spector
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
Can any one help me to solve the issue.
The Issue is, i have started the sendmail service on my RHEL 4 update 6 box, I am able to send the mail from my box to almost all of the Email Id's except few.
Exampe,
test mail.
.
Output is :the message is sent.
now if I send the... (2 Replies)
Discussion started by: akhtar.bhat
2 Replies
5. SCO
Hello friends,
I am using telnet from windows xp to connect to SCO Unix. Since i am used to telnet environment given by linux from windows, this one is annoying.
The cursor movements has no boundary, causing me to type control characters accidentally, which makes it difficult to navigate,... (1 Reply)
Discussion started by: frozensmilz
1 Replies
6. Shell Programming and Scripting
I am using mailx command in my script to attach a file and send an email. I need to attach a csv file and send email to a mail id -
I am using
uuencode output.csv output.csv | mailx -s "test mail" xyz@abc.com
This will send a mail with scrambled text in body.
am i missing something ?... (4 Replies)
Discussion started by: Sriranga
4 Replies
7. Red Hat
This is the first time for using sudo for me.
# visudo
## Allows people in group admin to run all commands
%admin ALL=(ALL) ALL
# groupadd admin
# useradd temp
# usermod -a -G admin temp
# id temp
uid=506(temp) gid=506(temp) groups=506(temp),507(admin)
#
#sudo... (5 Replies)
Discussion started by: getrue
5 Replies
8. Shell Programming and Scripting
Hello Everyone,
I'm very new to the shell script. I'm trying to send multiple attachments in unix using uuencode command.
Total I have 3 text files which should be send in mail.
but I'm getting 6 files and 3 files with subject as file name. And the content is
`
end
I'm working... (6 Replies)
Discussion started by: narikivar
6 Replies
9. Shell Programming and Scripting
Platform: RHEL 5.4
In the below text file I have strings like following.
$ cat /tmp/mytextfile.txt
DISK1
DISK10
DISK101
DISK102
DISK103
DISK104
DISK105
DISK106
DISK107
DISK108
DISK109
DISK110
DISK111
DISK112
DISK113
DISK114 (8 Replies)
Discussion started by: kraljic
8 Replies
10. Shell Programming and Scripting
I want to join two files , with file 1 col 3 and file 2 col 1 as key.
The join command is erratic for some reason. File 2 is a master file having all the names, and file 1 has some values. I want to add the names from fil2 in file 1. If I use the original master file, some output is missing.
... (16 Replies)
Discussion started by: ritakadm
16 Replies
LEARN ABOUT DEBIAN
fence_rsb
fence_rsb(8) System Manager's Manual fence_rsb(8)
NAME
fence_rsb - I/O Fencing agent for Fujitsu-Siemens RSB
SYNOPSIS
fence_rsb [OPTION]...
DESCRIPTION
fence_rsb is an I/O Fencing agent which can be used with the Fujitsu-Siemens RSB management interface. It logs into an RSB device via tel-
net and reboots the associated machine. Lengthy telnet connections to the RSB device should be avoided while a GFS cluster is running
because the connection will block any necessary fencing actions.
fence_rsb accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent.
fence_rsb can be run by itself with command line options. This is useful for testing.
Vendor URL: http://www.fujitsu.com
OPTIONS
-a IPaddress
IP address or hostname of the RSB device.
-h Print out a help message describing available options, then exit.
-l login
Login name.
-n telnet_port
The port number on which the telnet service listens.
-o action
The action required. This can be reboot (default), off, on, or status.
-p password
Password for login.
-S path
Full path to an executable to generate the password for login.
-v Verbose. Print informational messages to standard out.
-V Print out a version message, then exit.
STDIN PARAMETERS
agent = < param >
This option is used by fence_node(8) and is ignored by fence_rsb.
ipaddr = < hostname | ip >
IP address or hostname of the device.
telnet_port = < port number >
The port number on which the telnet service listens.
login = < param >
Login name.
option = < param >
The action required. This can be reboot (default), off, on, or status.
passwd = < param >
Password for login.
passwd_script = < param >
Full path to an executable to generate the password for login.
SEE ALSO
fence(8), fence_node(8)
fence_rsb(8)