Hi Jonathan,
 Thank you for offering your support. Yes, you are absolutely right.The exact problem which I was facing was that, I wasn't able to find the "Self-testing" line in /var/log/syslog file.
I followed the instructions as told by you and I'm mentioning their results as well below.
1. I executed the command:
 $ sudo systemctl status tor
    I got the following output:​
tor status.jpg

2. I checked whether there was an issue related to permissions for the command:
 $ cat /var/log/syslog
    I figured out that there wasn't any error running that command (although I'm not attaching the output of that command).

I am still not getting that "Self-testing" line in /var/log/syslog, which is the problem I'm facing specifically.

It would be of great help if you can think of any other possible issue because of which I am facing this problem.

Thanks,
Yash Kumar

On Wed, 23 May 2018 at 17:30, <tor-relays-request@lists.torproject.org> wrote:
Send tor-relays mailing list submissions to
        tor-relays@lists.torproject.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
or, via email, send a message with subject or body 'help' to
        tor-relays-request@lists.torproject.org

You can reach the person managing the list at
        tor-relays-owner@lists.torproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of tor-relays digest..."


Today's Topics:

   1. Re: tor enters uninterruptible sleep forever when using
      transparent proxy (Zack Weinberg)
   2. Setting up tor relay (Yash Kumar)
   3. Re: Setting up tor relay (Jonathan Marquardt)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 May 2018 20:25:33 -0400
From: Zack Weinberg <zackw@cmu.edu>
To: tor-relays@lists.torproject.org
Subject: Re: [tor-relays] tor enters uninterruptible sleep forever
        when using transparent proxy
Message-ID:
        <CAKCAbMgwDwAsKLf3egHAprr=Up==jmpoEd=a_Y1iP11WXJRPVg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

On Tue, May 22, 2018 at 8:11 PM, Nicolás Dato <nicolas.dato@gmail.com> wrote:
>> tor enters uninterruptible sleep forever when using transparent proxy
>
> For future references, the issue was the kernel version 4.4.118,
> upgraded and the problem was gone.

A bit of Unix sysadmin lore that isn't as widely advertised as it once
was (because, thankfully, it comes up far less often than it used to):
there are only three reasons why a process would remain in an
uninterruptible sleep for more than a few milliseconds: an abnormally
slow storage peripheral (e.g. a tape drive being rewound, or a hard
drive that's about to fail), a network file server that isn't
responding to messages, or a kernel bug.

zw


------------------------------

Message: 2
Date: Wed, 23 May 2018 10:48:10 +0530
From: Yash Kumar <yashkr.99@gmail.com>
To: tor-relays@lists.torproject.org
Subject: [tor-relays] Setting up tor relay
Message-ID:
        <CAGagdeCFKM=pw5+E5+YFn5Y9Fj3yOvq5N5R0=C7N2kvBKLDWCQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,
 I want to setup my machine as a tor relay. I am using Ubuntu 16.04 LTS on
a Intel i5 processor with 4 GB of memory.
I followed the instructions given on this link
<https://trac.torproject.org/projects/tor/wiki/TorRelayGuide>, but was
getting some issue. In one of the later steps, it says "Verify that your
relay works". This is done by checking my logfile(syslog) contains the
following text:

"Self-testing indicates your ORPort is reachable from the outside.
Excellent. Publishing server descriptor."

I checked the syslog by the command:

$ cat /var/log/syslog


To bring it to your knowledge, I have followed all the previous steps
mentioned on that link
<https://trac.torproject.org/projects/tor/wiki/TorRelayGuide>, and was
successfully able to execute all the commands. I would request you to
please help me out in setting up my machine as  a relay to make tor network
faster and more usable.

Thank you,
Yash Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20180523/6db08b53/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 23 May 2018 09:07:23 +0200
From: Jonathan Marquardt <mail@parckwart.de>
To: tor-relays@lists.torproject.org
Subject: Re: [tor-relays] Setting up tor relay
Message-ID: <20180523070723.4zzq5roxqkxwy7wn@parckwart.de>
Content-Type: text/plain; charset="utf-8"

On Wed, May 23, 2018 at 10:48:10AM +0530, Yash Kumar wrote:
>  I want to setup my machine as a tor relay. I am using Ubuntu 16.04 LTS on
> a Intel i5 processor with 4 GB of memory.
> I followed the instructions given on this link
> <https://trac.torproject.org/projects/tor/wiki/TorRelayGuide>, but was
> getting some issue. In one of the later steps, it says "Verify that your
> relay works". This is done by checking my logfile(syslog) contains the
> following text:
>
> "Self-testing indicates your ORPort is reachable from the outside.
> Excellent. Publishing server descriptor."
>
> I checked the syslog by the command:
>
> $ cat /var/log/syslog
>
>
> To bring it to your knowledge, I have followed all the previous steps
> mentioned on that link
> <https://trac.torproject.org/projects/tor/wiki/TorRelayGuide>, and was
> successfully able to execute all the commands. I would request you to
> please help me out in setting up my machine as  a relay to make tor network
> faster and more usable.

Hi,

first of all: Thanks for your efforts.

Although you didn't actually mention it, I'll assume that you didn't find the
"Self-testing" line in /var/log/syslog. Is that correct? If so, please check
first whether Tor has started at all by running the following command:

$ sudo systemctl status tor

Please copy the output of that command.

Alternatively, maybe also the following happened to you when you wanted to
check whether your relay works:

$ cat /var/log/syslog
cat: /var/log/syslog: Permission denied

If that's the case, please retry with:

$ sudo cat /var/log/syslog

If I didn't cover your problem here, please be more specific in what actually
doesn't work.
--
OpenPGP Key: 47BC7DE83D462E8BED18AA861224DBD299A4F5F3
             https://www.parckwart.de/pgp_key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20180523/fc744042/attachment-0001.sig>

------------------------------

Subject: Digest Footer

_______________________________________________
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


------------------------------

End of tor-relays Digest, Vol 88, Issue 41
******************************************