Search:

Type: Posts; User: ajlee; Keyword(s):

Search: Search took 0.00 seconds.

  1. [SOLVED] Re: Getting apache2 virtual hosts to run on my local machine

    Nevermind, found it. I had parms defined in both httpd.conf and apache2.conf and they were conflicting. Removed everything from httpd.conf and it fixed my issue. Thanks!
  2. [SOLVED] Getting apache2 virtual hosts to run on my local machine

    I am trying to setup a local webserver on my laptop.

    I'm getting this on startup of apache2:

    (9Address already in use: make_sock: could not bind to address 0.0.0.0:80


    It doesn't look to me...
  3. Replies
    9
    Views
    25,635

    [ubuntu] Re: how to find out what is using port 80

    Decided this should really be a new thread... sorry.
  4. [ubuntu] Re: Imagemagick automatic Screenshots script PROBLEM

    EDIT: Just realized how old this post was... you probably don't need this anymore - but maybe it will help someone else.

    Your problem is with the while loop. Your date gets set at the top, once...
  5. Replies
    5
    Views
    505

    Re: Help wanted with a SQL query

    Ignore my last query - it won't work, you can use your subquery as if it were a table and join to it. Try this one:

    SELECT e.id, e.event_name, MIN(ea.dtetime) AS min_date
    FROM `event_activities`...
  6. Replies
    5
    Views
    505

    Re: Help wanted with a SQL query

    Sorry - I misunderstood. So if I understand correctly, as long as the event has at least one activity >= today you want it listed, but you still want the min_date displayed in the report. I would...
  7. Replies
    5
    Views
    505

    Re: Help wanted with a SQL query

    Try something like this:

    SELECT e.id, e.event_name, MIN( ea.dtetime ) AS min_date
    FROM `event_activities` ea,
    EVENTS e
    WHERE e.id = ea.event_id
    GROUP BY e.id
    HAVING min_date > CURDATE();
    ...
  8. Replies
    10
    Views
    2,597

    Re: Sed Question: Combining two files line by line

    Thanks everyone. I had looked at paste - but I guess I was leaving off the '' around the \n. Ran the command as you guys described it and it worked perfectly.

    Thanks again!
  9. Replies
    10
    Views
    2,597

    Re: Sed Question: Combining two files line by line

    No it's something I am trying to accomplish at work. I can use any program that will get the job done. What I am actually doing is generating database commands out of the system catalog and I want...
  10. Replies
    10
    Views
    2,597

    Sed Question: Combining two files line by line

    I've done some google searching but no one has given an example of what I am looking for. I have two files:


    File 1
    ======
    AAAA
    BBBB
    CCCC

    File 2
  11. Replies
    5
    Views
    328

    [ubuntu] Re: want to replace file with new name?

    I haven't tested this, but it looks like it would do what you need. I would suggest you test in different directory with only a few files in it first.
    ...
  12. Replies
    6
    Views
    306

    Re: what would you do?

    I'm probably a bad person to ask, I used to skip class a lot when it wasn't snowing too :). I say as long as you can keep up with the work, stay home.
  13. Replies
    2
    Views
    401

    [ubuntu] Re: Questions about an OpenVPN implementation

    Thanks a lot! I'll check that out.
  14. Replies
    2
    Views
    401

    [ubuntu] Questions about an OpenVPN implementation

    I've been lurking on the forums for a while now, and have been running ubuntu as my main OS for a couple of years. I'm still a bit of a newbie when it comes to network security. I'm getting ready...
  15. [ubuntu] Re: Wireless stopped working after button shutdown

    I had the same problem.

    sudo apt-get check --fix-broken

    fixed it for me. Hope this helps.
Results 1 to 15 of 15