Hi InDenial,
I really appreciate your help.
I tried replacing the prompt and it works now,but the problem is it fails on the machines which does not have uptime info displayed on login (these machines worked bfore). :-)
I think the problem, is with the telnet->login command is not able to get the prompt to match with i gave.. This due to the uptime command info being present and the telnet.pm module does not translate it properly. I have no clue to solve the problem.
Even if i gave a one liner command...
I had that log enabled.. i can see that it logs in the machine.. but with the result of uptime command, the waitfor command prompt gets screwed up.
so it gets timed out...
Any one who have runup with this problem.
"when the machine shows the result of uptime command on login, the...
Hi Mike,
It is surely bcos of the uptime it fails, i dont know how to make my script work when there is uptime displayed @ Login.
here is my latest script
#!/usr/bin/perl
use lib '/usr/local/lib/perl5/site_perl/5.005/';
use Net::Telnet;
$telnet = new Net::Telnet(...
Thanks for ur replies.
I did take dump_log and input_log, it has logged into system, but it is not able to wait for the prompt, as these machines on login shows the uptimes and no. of users before the command prompt.
Thats why the script passes on some machines and fails on other.
login...
Hi,
I have a script which logins to many unix stations and executes a command and gets the output.
In some of the unix stations,it is not able to get the prompt after login and it times out.
I found out that the problem is due to,
login: xyz
Password:
Last login: Wed Apr 20 10:06:28 from...
Hi,
my .htacces file looks like this,
".htaccess" 5 lines, 174 characters
AuthUserFile '/opt/local/apache/conf/passwd'
AuthGroupFile /dev/null
AuthName "Restricted Area - Enter UNIX Login ID"
AuthType Basic
require valid-user
When i open the web-page,it prompts for entering the...
when i start the apache by running apachectl as nobody user.. i get the below msg,
$ /opt/local/apache/bin/apachectl configtest
httpd: Cannot findELF
Killed
Os: Solaris 2.8
apache_1.3.27
when i install the Apache on solaris box it install by default on /usr/local/apache.... I do by using pkgadd -d ....
Is there way to change the installation base directory to some thing like /opt/local/ instead of /usr/local
I downloaded the Apache installable from sun freeware.
I did not open a console window, I open a terminal window to machine.. but i keep on getting messages on the terminal window.
not only sendmail messages but other system messages..anyway to stop the spam of messages...
Hi,
i get the following messages dumped on all my terminal windows quite often.
Dec 6 00:58:02 ws42 sendmail[4592]: [ID 801593 mail.alert] iB65rYw04592: SYSERR(root): savemail: cannot save rejected email anywhere
how do i prevent this msg appearing on the terminal windows.
Hi,
I have a file where there are 10 lines.
In a shell script i get some user input, Now i have to update the lines 2,4,7 (example) in that file. and update the contents of the file with these values.
I can do it by writing to a temporary file and then renaming the file. I don't want to...
I am creating a table dynamically (with values obtained from database ) with code as below, In each row of a table in the last field a "Reserve" button is present.
When the user clicks the reserver button the form calls another perl file, but i am not able to post the data in first field of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.