Hi Mayur,

Ubuntu uses upstart <https://help.ubuntu.com/community/UpstartHowto> to
keep rsyslog running. If you want read/change the settings, you can edit
/etc/init/rsyslog.conf

When you start rsyslog manually (via running `rsyslogd`), this is
independent from the upstart job, which you can manage with `start/stop
rsyslog`.

So if you want to use the newly installed rsyslog version, make sure that
the upstart job (see the exec command in /etc/init/rsyslog.conf) uses your
new rsyslogd binary (you can check its version by running `rsyslogd -v`).

If you want to start rsyslog manually, make sure the upstart job is
stopped, then start it manually with `rsyslogd`. You can keep it in
foreground by adding -n, and you can see the debug output by adding -d.

I hope this helps.

Best regards,
Radu


2013/4/18 Mayur Patil <[email protected]>

> Hello,
>
>   may be this quesion is a bit silly but please help !!
>
>   I have installed rsyslog in ubuntu from source v7.2.6 and I want it to
> use as Server.
>
>   My location is /opt/rsyslog-7.2.6.
>
>   But I am confused which service should I choose ??
>
>   When I try to run
>
>   $  service rsyslog status
>   rsyslog start/running
>
>   When I try to run
>   $ rsyslog
>
>   No command 'rsyslog' found, did you mean:
>   Command 'dsyslog' from package 'dsyslog' (universe)
>   Command 'rsyslogd' from package 'rsyslog' (main)
>
>   Then I run rsyslogd
>
>   # service rsyslogd status
>    rsyslogd: unrecognized service
>
>   # rsyslogd
>   Already running. If you want to run multiple instances, you need to
> specify different pid files (use -i option)
>
>
>  1. rsyslog.conf file is at location /etc.
>  2. locations of rsyslog files are
>      /etc/default
>      /etc/logcheck/ignore.d.server
>
>  3. rsyslogd file is present at these locations
>      /usr/local/sbin
>      /opt/rsyslog-7.2.6/tools
>      /opt/rsyslog-7.2.6/platform/freebsd
>
>   # chkconfig --allsevices
>
>  shows neither rsyslog nor rsyslogd.
>
>  Need help which service should I have to start and which has to stop.
>
>  Seeking for guidance,
>
>  Thank you !!
>
> --
> *Cheers,
> Mayur*.
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to