Our database is housed on a Red Hat Enterprise Linux ES release 4 (Nahant Update 8). My version of isql is "unixODBC 2.2.11".
Issue:
If I log in to this box on the internal network, or over the VPN i can
type:
And it will prompt for the password and connect.
Today I logged into our one of our public facing web servers ( Mac Xserve /w Leopard ) ...then logged into the same RHEL box from there ( ssh ) via internal network. So I'm still basically connecting from the same host yet when I type the same command it just gives me the help/syntax crap.
Is there some security setting I'm missing? Here's another thing ...I can
connect if:
I ssh into my workstation from the xServe then use SQSH.
My colleague can type the same command on the same box ( RHEL ) and have it work while on the VPN.
Any ideas?
Bub
---------- Post updated at 01:28 PM ---------- Previous update was at 12:54 PM ----------
Can somebody know if it is possible to connect to remote IBM MQ, if local server using C, but don't have MQ library?
Thanks for contribution (0 Replies)
Hi,
I am using korn shell.
until ]
do
echo "\$# = " $#
echo "$1"
shift
done
To the above script, I passed 2 parameters and the program control doesn't enter inside "until" loop. If I change it to until ] then it does work.
Why numeric comparison is not working with -ne and works... (3 Replies)
gcc packages are installed as is seen.
# pkginfo | grep -i gcc
system SUNWgcc gcc - The GNU C compiler
system SUNWgccruntime GCC Runtime libraries
#
There is gcc in /usr/sfw/bin but It doesn't work.
# gcc
bash: gcc: command not found... (7 Replies)
Hi
please suggest .. how can i get my original user from which logged in to another server.
my main current login is
$whoami
nitin
ssh nit01@n01
i m going (redirected)to log in below path..
nit01@n01:/home/n01 -> pwd
/home/n01
nit01@n01:/home/n01 ->
on this server i want get... (1 Reply)
hi
I wrote the following makefile, I have just one problem, when i type make clean I get the message make 'clean' is up to date and any obj file is removed from my folder, what's wrong?
Thank you
CC = cc
all: es.o elaboration.o
$(CC) -o es es.o elaboration.o
elaboration.o:... (0 Replies)
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
it seams that my ctrl+c and my ctrl+d don't work. if I type a bunch of jiberish on a line and ctrl+c I expect the command to be cancelled and to be given a fresh prompt, but instead it just putts ^C at the end of the line.
Also, ctrl+d should close the session, but instead mine just puts ^D at... (3 Replies)
cat .servers | while read LINE; do
ssh jason@$LINE $1
done
exit 1
./command.ksh "ls -l ~jason"
Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing?
Thanks!
JP (2 Replies)
RHN_CHECK(8) Red Hat Network RHN_CHECK(8)NAME
rhn_check - check for queued actions on RHN and execute them
SYNOPSIS
/usr/sbin/rhn_check [-v] [--verbose]
DESCRIPTION
rhn_check is a client program that connects to the Red Hat Network backend servers and retrieves information associated with the queued
actions for this particular system. This script reads the digital server ID from /etc/sysconfig/rhn/systemid and uses that to identify the
machine to the Red Hat Network. Upon successfull authentication, rhn_check will start processing the queued actions sequentially.
ACTION TYPES
The following types of actions are currently processed by rhn_check:
action type description
() ()
refresh This action will refresh the hardware or software profiles of this
machine with Red Hat Network. This fucntion is called as
refresh(hardware) or refresh(rpmlist)
new_systemid This action is used by the RHn Backend to update the Digital
system ID of this machine with a new one.
update_packages This action will trigger rhn_check into running a package
update for a list of packages queued from the Red Hat Network.
rhn_check will use modules from the up2date client to download
the packages, solve dependencies and install the on the system.
FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto Red Hat Network. This file does
not exist otherwise.
/var/spool/up2date This directory is used by up2date to store package headers and RPM packages downloaded from Red Hat Network
SEE ALSO
man pages for up2date(8) and rhnsd(8).
AUTHORS
Cristian Gafton <gafton@redhat.com>
Preston Brown <pbrown@redhat.com>
()