Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by geffry

  1. geffry

    Perl-> Telnet problem.. HELP PLS

    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). :-)
  2. geffry

    Perl-> Telnet problem.. HELP PLS

    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...
  3. geffry

    Perl-> Telnet problem.. HELP PLS

    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...
  4. geffry

    Perl-> Telnet problem.. HELP PLS

    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(...
  5. geffry

    Perl-> Telnet problem.. HELP PLS

    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...
  6. geffry

    Perl-> Telnet problem.. HELP PLS

    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...
  7. geffry

    Authentication problems

    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...
  8. geffry

    cannot findELF

    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
  9. geffry

    apache installation base directory

    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.
  10. geffry

    messages on terminal window

    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...
  11. geffry

    messages on terminal window

    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.
  12. geffry

    replace multiple lines in a file

    Thanks it works..
  13. geffry

    replace multiple lines in a file

    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...
  14. geffry

    running system command in perl and setuid problem

    I used , "exec" instead of system; and changed the perl file permission to 4711 and it worked fine
  15. geffry

    Help, in posting data on dynamic created table

    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...

Part and Inventory Search

Back
Top