Recent content by mntamago

  1. M

    grep and printf

    I use awk with grep often, and it works no problem. The files I use grep and awk on are internet log access files. They all have a standard format. In any given line you have 9 element (or columns) separated by spaces. So, what I do when I want to grep for a particular piece of data and...
  2. M

    Apache httpd Log File...interesting...

    Thanks for the info! Enjoyed giving it a try. m(_ _)m :p
  3. M

    Apache httpd Log File...interesting...

    I just thought I would add my 2 cents here. In contrast to "tail", you can get the first 20 lines ( or how ever many you want ) of a file by using "head". For example, ... head -n20 somefile.txt ...gives you the first 20 lines of the somefile.txt file. m(_ _)m
  4. M

    Errors when trying to test MySQL

    What OS version are you running? I can not recall exactly, but somewhere around 10.1.5 or so I ran into a similar problem. As it turned out, updating my OS have changed my PATH. Try a ... which mysql from somewhere like /usr. You should get... /usr/local/bin/mysql ... if 1) you...
  5. M

    Error accessing MySQL in Terminal

    BTW... I found a couple of other good places to look for info when all else fails. They are: http://lists.apple.com/mailman/listinfo http://discussions.info.apple.com/ When I had my problems with dyld after 10.2 installation and pre 10.2.1 I ended up at the mailing list from Apple.
  6. M

    Error accessing MySQL in Terminal

    I think it may be helpful to clear up a few details here. [1] When did you first start getting/noticing these errors? [2] When did you first install MySQL? There seem to be alot of issues one has to deal with when upgrading from 10.1.* to 10.2. (1) 10.2 screws up PATH. That is, after...
  7. M

    Error accessing MySQL in Terminal

    What version of Mac OSX are you running? 10.2? I had similar problems with OSX 10.2, but they disappeared when I updated to 10.2.1.
  8. M

    MySQL & StartupItems Problem

    /System/Library/StartupItems is reserved for use by the OS, and as such you do not want to put user made StartupItems in there. If there is no /Library/StartupItems as you say - in my case too there was originally none - then you just create one. Devshed's has a good page regarding the...
  9. M

    TOMCAT, JBOSS, JSP troubles...

    Just a final update on the TC/dyld-multiple definitions error that I was getting when I went to start/stop TC - today I downloaded and installed OS X 10.2.1, along with the 2002-09-20 security update. And what do I find but to my surprise TC now mysteriously works without a hitch! I had been...
  10. M

    MySQL Instal Errors

    Okay. Let's get a bit radical here! If memory serves me correctly, when one installs mysql by the packages that Marc Liyanage has posted on his pages, applications/utilities (or whatever) get installed into /usr/local/bin . If you take a glance into this directory you should see various...
  11. M

    Setting up env. variables at startup for all users (incl. root)

    No, No. No implications and such. It is rather a personal issue. What I mean is that I have been working with tomcat on my Mac OSX for a short while now. I was just starting to get up to running speed -i.e. I had just got all the applications I wanted to utilize in my development set up and...
  12. M

    MySQL Instal Errors

    flash By all appearances, my mysql is functioning normally. But then again, I really have not yet started to "use" it in my workings. Until the recent present, I have been a postgreSQL user, battling with psql on Mac. However, I felt that postgreSQL did not offer the speed, and it also was...
  13. M

    Setting up env. variables at startup for all users (incl. root)

    One quick question...what OS are you running. 10.2 with the developer tools that come with it?
  14. M

    MySQL Instal Errors

    flash, I not really sure what you mean by "this problem too", but if you mean importing/inserting from the terminal, I seem to be having know problems eventhough I have installed the dev tools that come with 10.2. The script I us to import is the following shell script. #!/usr/bin/csh...
  15. M

    MySQL Instal Errors

    I do not use phpMyAdmin, so I no nothing about it basically. Yet, is it possible that phpMyAdmin uses a different user/permission to access mysql from that the terminal is using. What I am suggesting here goes more like this. When I access mysql thought my browser/cgi type set up, the user...
Back
Top