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 strongm 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: *

  1. DumTech

    Permanently set the $PATH rh 7.3

    You can add it to $HOME/.bash_profile: # User specific environment and startup programs PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin At least, you can in 7.2. I doubt that would change between .2 and .3 though. :) Matt matt@paperlove.org If I can help, I will.
  2. DumTech

    RH7.2 Telnet and ftp access

    I'm not running an ftp server on a 7.2 box, but as for telnet, did you change disable = yes to disable = no in /etc/xinetd.d/telnet? Matt matt@paperlove.org If I can help, I will.
  3. DumTech

    Type 2 errors with some 'net apps

    Macgeneral - Thanks for all the advice! Finally found the culprit last night after I took the time to (yuck) REALLY investigate. I thought I was sure the extension that turned out to be the problem had been working fine on the system from day 1, so I'd never even checked it... but I realized...
  4. DumTech

    Program Files --Newbie

    Right... There isn't a 'Program Files' folder as in Windows, where each application will make a directory for its installation and put most everything there. In the Unix world, there's a handy directory structure that's fairly standard. So install scripts will often put the binaries for new...
  5. DumTech

    VI Question

    There are some good tips about all kinds of things vim-related at http://vim.sourceforge.net ... Matt matt@paperlove.org If I can help, I will.
  6. DumTech

    getting month from a timestamp

    select * from your_table_name where MONTH(your_date_field)='5'; That should work for you. Check the online documentation at mysql.com for more on date functions and calculations. Matt matt@paperlove.org If I can help, I will.
  7. DumTech

    Installing more packages

    GNOME and KDE each include a GUI RPM 'manager' kind of thing. GNOME's is called GnoRPM, and KDE's is KPackage, if I remember correctly. I'm only familiar with GnoRPM really, but it opens to a view of what is already installed. You choose the install option, select the source path (point to your...
  8. DumTech

    How to detect primary key in a table using PHP

    There's probably a simpler way to do it, but this function works ok for me. function get_primkey($table) { $result = mysql_list_fields($dbname,$table); if (!$result) { return false; } while ($field = mysql_fetch_field($result)) { if ($field->primary_key) {...
  9. DumTech

    make

    Where are you when you get that? Sounds like there's no Makefile. Did you try to run ./configure first? Also, Slackware, from what I understand (never run Slack), does involve compiling most everything (which is what make actually does), but other Linux distros have different methods for...
  10. DumTech

    Start RedHat in command mode

    Try ctrl-alt-F2 or F3. That should get you to another virtual console. You can log in there as root, and 'init 3' should shut down the X server. Then you can use Xconfigurator to change your X settings. Hope this helps. Matt matt@paperlove.org If I can help, I will.
  11. DumTech

    diald or what else?

    superdave42- I set up a script at home so that my wife can just click a link on our home page (er, LAN home page - Apache running on the local box, which is Red Hat 7.1) to run 'ifup ppp0' if we aren't already online. The script checks for the ttyS0 lock file (first thing I came across that...
  12. DumTech

    Send messages / NT LAN

    You can use smbclient if you're running Samba on the *nix side: smbclient -M hostname then hit return. Samba finds the machine and tells you so, you type your message, hit Ctrl-D when you're done. This pops up on the Windows machine as if you'd used net send hostname message from a Windows...
  13. DumTech

    Help Consolidating Logs

    Oh, forgot the zippage... Add gzip console$today; as the last line and it'll zip it. To get it to another server, you can add scp console$today.gz user@host:directory or similar. Matt matt@paperlove.org If I can help, I will.
  14. DumTech

    Help Consolidating Logs

    Something like this? #!/bin/bash today=`date +%e%b%Y`; echo 'log1:' > console$today; cat log1 >> console$today; echo 'log2:' >> console$today; cat log2 >> console$today; That'll give you a file called 'console25Apr2002' (today it will, anyway!) which will contain: log1: [log 1 contents]...
  15. DumTech

    Type 2 errors with some 'net apps

    Still no luck with zapping the PRAM from shutdown rather than restart. I did find an ActiveX folder in the Extensions folder, but wasn't sure what to do with it. I've already been through the Extensions Manager a few times, disabling certain things here and there... :/ Matt matt@paperlove.org...
  16. DumTech

    fetchmail not fetching mail

    A line that reads 'set daemon XX' in your .fetchmailrc will run fetchmail at the interval you specify - XX. I think the value should be in seconds - ie 'set daemon 600' would check every 10 minutes. Hope this helps... Matt matt@paperlove.org If I can help, I will.
  17. DumTech

    Type 2 errors with some 'net apps

    Thanks for the response, MacGeneral! Alas, I've done just about everything you suggest, with the exception of zapping the PRAM from a shutdown (vs restart, which I have done) and looking for an ActiveX folder inside the System folder... Will check those ideas out tonight. :) It's a beige...
  18. DumTech

    Can't CHMOD on webserver

    Coupla things occur to me beyond what Luc mentioned... -Why chmod 666? You do know that will give the world read/write access (rw-rw-rw-)to the file? chmod 664 (rw-rw-r--) is more common for such things as web pages, or even 644 (rw-r--r--) if your host doesn't assign each user to a unique...
  19. DumTech

    Maintenance Plan

    I just use mysqldump, which may or may not be what you really want. It basically creates an output file that you could use as source to recreate the database (ie it recreates tables and inserts data with plain ol' SQL statements). Works for me, so I didn't dig deeper into the options for MySQL...
  20. DumTech

    PHP and MAIL

    I have pages that both insert data into the db and send mail - they don't suffer from any 'hanging.' So my first question would be - why do they hang? Might be sendmail bumping into slow DNS when actually sending mail or something like that, rather than a problem with your pages...? Matt...

Part and Inventory Search

Back
Top