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!

Search results for query: *

  • Users: pcorchary
  • Content: Threads
  • Order by date
  1. pcorchary

    How to get line-by-line output

    I'll FREELY admit I'm a newbie, and only a hacker-programmer. With that out of the way... I have a script that needs to iterate through a series of (33) steps, each taking 2-5 seconds. I've written this as a BASH CGI that outputs CSS/HTML, and it pushes one line of output per iteration to the...
  2. pcorchary

    PHP Script to post on-call rotation

    I am looking to have a config file listing staff on call with the week they are on-call (config file can be in any format, so long as it has on-call time, name, phone), and then a PHP script to scan the config and list the person or person's on-call based on the server date in the HTML output...
  3. pcorchary

    HELP: Scripting changes in Public Folders

    I'm looking for a way to script on the Outlook/Exchange CLIENT-side a move of messages in one public folder to another public folder. Ideally this script would have the ability to enter a date range, and a source and target Public FOlder, but i could deal with hard-coded. Basically we have a...
  4. pcorchary

    Expect and SSH help needed

    I need to run remote apps via ssh. Easily done. However I'm trying to automate this, and despite 15+ years in unix, I've never used expect before :-) (just sh/ksh and some perl) #!/usr/bin/expect # # for now, assume called with [host] [user] [passwd] spawn /usr/bin/ssh [lindex $argv 0] -l...
  5. pcorchary

    Mandrake 9.2 and USB Keybaord/Mouse

    I'm completely unable to get Mandrake 9.2 to recognize or use my USB keyboard or mouse and either of two different systems I've tried. Can anyone help at all? (I prefer MDK92, but RH8/9 both work perfectly on the same hardware. I've not tired MDK8x on this hardware, but I had good luck with USB...
  6. pcorchary

    NFS mount failure

    I need serious guru help :-) I've been doing Unix for 15+ years and Linux now for 3, and I can't figure this out ... Two boxes, A and B. Box A needs to NFS mount Server B. Box B does NOT have DNS or entry in /etc/hosts (and it won't at this point - it's being built). Box A and B can ping each...
  7. pcorchary

    SIMPLE 'blog' for INTRANET Diary/Journal/Log

    I'm looking for a really simple software that would allow for a departmental journal or periodic posting of information on an intranet page. It should display in a web browser (duh). Requirements: - open source - runs on linux/apache - php OK, perl preferred, NO DB - browser entry, NOT text...
  8. pcorchary

    difference in time for syslog cron script

    I am in search of a portable (sh) method for differential times, that includes dates. Essentially I need an accurate way to determining what time it was "N" minutes ago ... The core problem is to scavange Solaris syslog /var/adm/messages for certain things, but only from the entries...
  9. pcorchary

    regexp string delimiter

    Help! I need a grep only solution to this ... how to search for a string literal? Suppose the input file of: test blah (tabs or spaces or both seperate) test-foo blah foo-test blah test-bar boop And I want to grep for "test", and have ONLY the first line returned...
  10. pcorchary

    CPU perf measurement: top vs. vmstat vs. mpstat

    I am looking for feedback from experienced Linux admins regarding CPU usage analysis in Linux. The following should be taken in context of dual-CPU (Intel) systems with RedHat 7.2, kernel 2.4.7.10smp. 1) Has anyone seen issues with 'top' (from the procps package), where when the system has been...
  11. pcorchary

    kernel: kernel BUG at dcache.c352

    Help! I need some information or references to information on this type of error. I'm being told that this is a hardware RAM problem, and I think that is WRONG! Any information appreciated: Jan 9 04:06:23 dnweb1 kernel: kernel BUG at dcache.c:352! Jan 9 04:06:23 dnweb1 kernel: invalid...
  12. pcorchary

    HELP! - CGI.pm parse in here document?

    Isn't it possible to reference a param('name') within a here document? I've tried the following, and they don't work: my @html=<<EOF; <somehtml> $cgi->param('floor') <somehtml> param('mats') <somehtml> &quot;param('covers')&quot; EOF HELP!?
  13. pcorchary

    KDE3 and Mandrake 8.2 problems

    I have a white-box AMD1700XP with an almost new installation of M8.2. I decided to try KDE3 install. I had a heck of a time getting it installed (lots of rpm errors -- had to do everything in init s and used --nodeps), but eventually it seems OK .. **BUT** here are the problems: 1) at login it...
  14. pcorchary

    HELP! Validation only working in IE, not NSx?

    I wrote a form-based web CGI in Perl and needed some field validation. So I picked this up from the web http://javascript.about.com/library/scripts/blformvalidate.htm since I've never written any JS. It sez it's supposed to work in IE and NS, but it only works in IE 5x (win/mac) and IE6 (win)...
  15. pcorchary

    Perl 5.6.1 to Oracle 8.17: what do I actually need?????

    Help ... what do I ACTUALLY need to get to allow the following. Apache/PerlCGI on Linux (Mandrake 8.1 or RH 7.2) box to connect to Oracle 8.1.7.2 on a different Solaris 8 system on the same network. - I've got Apache, Perl, etc. and have been running CGI's. - I have the DBI and SQLSyntax...
  16. pcorchary

    Perl 5.6.1 to Oracle 8.17: what do I actually need?????

    Help ... what do I ACTUALLY need to get to allow the following. Apache/PerlCGI on Linux (Mandrake 8.1 or RH 7.2) box to connect to Oracle 8.1.7.2 on a different Solaris 8 system on the same network. - I've got Apache, Perl, etc. and have been running CGI's. - I have the DBI and SQLSyntax...
  17. pcorchary

    Discoverer can't login on first attempt

    With Oracle Discoverer 3.1.36.06 and Oracle 8.1.7.2, the first login attempt _always_ fails, the second succeeds - yes the user/pass/connect are correct each time, this is uniformly replicated. Any ideas? Eventually I'll be writing Perl to access this same Oracle instance, and I'm told by...
  18. pcorchary

    Discoverer can't login on first attempt

    With Oracle Discoverer 3.1.36.06 and Oracle 8.1.7.2, the first login attempt _always_ fails, the second succeeds - yes the user/pass/connect are correct each time, this is uniformly replicated. Any ideas? Eventually I'll be writing Perl to access this same Oracle instance, and I'm told by...
  19. pcorchary

    Problem with Hosted PHP

    OK ... I'm trying to get ANY one of several different PHP OSS apps running on my hosted account - ftp only. They ALL wind up giving me this basic error: Warning: Failed opening '/s/code/site.inc.php' for inclusion (include_path='') in...
  20. pcorchary

    DBI assistance

    (it shouldn't matter, but this is in relation to DBD:CSV) I'm still very new to Perl, CGI and DBI - so don't assume that I know anything Using DBI methods, is there a way to retrieve the column NAMES from a table? Further when I use bind_columns, is there a way to assign this with an array...

Part and Inventory Search

Back
Top