Some questions about multiple Tor relay

Hello,
I created two torrc files and when I want to run them, then I got the following errors:

[notice] You configured a non-loopback address '172.20.2.54:9050' for SocksPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.

[warn] Failed to parse/validate config: Couldn't create private data directory "/var/lib/tor"

[err] Reading config failed--see warnings above.

I did:

# tor -f torrc 
Oct 25 10:24:07.494 [notice] Tor 0.4.7.13 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.11, Zlib 1.2.13, Liblzma 5.4.1, Libzstd 1.5.4 and Glibc 2.36 as libc.
Oct 25 10:24:07.494 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
Oct 25 10:24:07.494 [warn] Tor was compiled with zstd 1.5.2, but is running with zstd 1.5.4. For safety, we'll avoid using advanced zstd functionality.
Oct 25 10:24:07.495 [notice] Read configuration file "/etc/tor/torrc".
Oct 25 10:24:07.501 [notice] You configured a non-loopback address '172.20.2.54:9050' for SocksPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Oct 25 10:24:07.501 [notice] Opening Socks listener on 172.20.2.54:9050
Oct 25 10:24:07.501 [notice] Opened Socks listener connection (ready) on 172.20.2.54:9050
Oct 25 10:24:07.502 [warn] /var/lib/tor is not owned by this user (root, 0) but by debian-tor (102). Perhaps you are running Tor as the wrong user?
Oct 25 10:24:07.502 [notice] Closing partially-constructed Socks listener connection (ready) on 172.20.2.54:9050
Oct 25 10:24:07.502 [warn] Failed to parse/validate config: Couldn't create private data directory "/var/lib/tor"
Oct 25 10:24:07.502 [err] Reading config failed--see warnings above.

How to solve them?

Thank you.