Results 1 to 8 of 8

Thread: Process Not Starting

  1. #1
    Join Date
    Nov 2005
    Location
    UK
    Posts
    991

    Process Not Starting

    I'm trying to get a second instance of thttpd serve running on my Slug.:sigh:

    Been trying to follow the instrutions here

    I've realised that maually entering
    Code:
    /usr/sbin/thttpd -C /etc/thttpd-website.conf
    works and gets it started but my startup file refuses to. (I followed what it said...)

    Tried chmod +x and chmod 775 but that doesn't help.

    Currently it appears as:-
    Code:
    /usr/sbin/thttpd -C /etc/thttpd-website.conf
    After a couple of failures, I add edited it to
    Code:
    #!/bin/sh
    /usr/sbin/thttpd -C /etc/thttpd-website.conf
    which hasn't helped either.

    Anyone able to help?

  2. #2
    Drezha,

    I take it you mean this is a startup script right ?

    Does it give you any information at all?

    Try adding a > /home/<whatever>/thttpd.log 2>&1

    after the command and see if anything is in there.

    I've just installed 7.04 server under VMWare on an opteron 170. Not sure if I'll get much time today to do anything else with it, but certainly tomorrow.

    Bok

  3. #3
    Join Date
    Nov 2005
    Location
    UK
    Posts
    991
    Yeah this is a startup script.

    Add > /home/<whatever>/thttpd.log 2>&1 to the command in the script or when I manually give it?

  4. #4
    In the script. Just to see if there is any output at all..

  5. #5
    Join Date
    Nov 2005
    Location
    UK
    Posts
    991
    Right got round to trying this today...

    Adding > /var/tmp/thttpd.log 2>&1 did nothing. It created the file thttpde but had no text in.

    -l /tmp/file.log showed nothing either.

  6. #6
    I don't really know what a 'SLUG' is but it looks like it's just running a slimmed down SYS5 unix.

    Can you run dmesg on it to see what the startup says?

    You did name the startup file as S90website or something like that ? The uppercase S is important as the startup script only looks for those with capital S I believe.

    I'm presuming this one is running on a different port as the instructions show, right?

    Bok

  7. #7
    Join Date
    Nov 2005
    Location
    UK
    Posts
    991
    This is a Slug..


    Lovely little thing :D

    Yeah it has a capital S. It's now S70website as I thought the startup script my search for S60 then S70 etc...

    Mind I have a script at S60 I'm not sure if it's starting and thats my DynDNS script...

    When do you use dmesg?

  8. #8
    Startup just trawls through all Sxx in order , so S70 would be ok.

    if you have a commandline, just type dmesg. It basically displays the startup messages usually held in /var/log/messages

    Bok

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •