Enhanced Logging With rsyslog - rsyslog script error

Discussion in 'HOWTO-Related Questions' started by fast Hackem, Dec 12, 2007.

  1. fast Hackem

    fast Hackem New Member

    Hello,
    in reference to http://www.howtoforge.com/logging_with_rsyslog_phplogcon_debian_etch

    Step 6:
    /etc/init.d/sysklogd stop
    /etc/init.d/klogd stop
    /etc/init.d/rsyslog start

    I get this

    -bash: /etc/init.d/rsyslog: Permission denied

    Have tried restarting the Server with no luck, the Phplogcon is running, however there is no data, since the startup script cannot run.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you run the commands as root?
     
  3. fast Hackem

    fast Hackem New Member

    Yes I was logged in as root.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -l /etc/init.d/rsyslog
    ?

    What's at the beginning of that file?
     
  5. fast Hackem

    fast Hackem New Member

    ahhh right, well It appears that I've fixed it with this

    chmod a+x /etc/init.d/rsyslog


    Thankyou for putting me on the right track !

    I'll post my next question in a new thread.
     
    Last edited: Dec 13, 2007

Share This Page