Tor server service restart after 1 minute with error status kill

Tor server service restart after 1 minute with error status kill. Tor starting going in 100%. Using CentOs7.
Systemctl status tor show
‘’'tor.service - Anonymizing overlay network for TCP
Loaded: loaded (/usr/lib/systemd/system/tor.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2022-03-19 04:39:02 EDT; 29s ago
Process: 17209 ExecStartPre=/usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /et
c/tor/torrc --verify-config (code=exited, status=0/SUCCESS)
Main PID: 17211 (tor)
CGroup: /system.slice/tor.service
`-17211 /usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc

Mar 19 01:33:07 Tor[16511]: Bootstrapped 10% (conn_done): Connected to a relay
Mar 19 01:33:07 Tor[16511]: Bootstrapped 14% (handshake): Handshaking with a relay
Mar 19 01:33:07 Tor[16511]: Bootstrapped 15% (handshake_done): Handshake with a relay
done
Mar 19 01:33:07 Tor[16511]: Bootstrapped 75% (enough_dirinfo): Loaded enough directory
info to build circuits
Mar 19 01:33:07 Tor[16511]: Bootstrapped 90% (ap_handshake_done): Handshake finished w
ith a relay to build circuits
Mar 19 01:33:07 Tor[16511]: Bootstrapped 95% (circuit_create): Establishing a Tor circ
uit
Mar 19 01:33:07 Tor[16511]: Bootstrapped 100% (done): Done
Mar 19 01:33:17 systemd[1]: Stopping Anonymizing overlay network for TCP…
Mar 19 01:33:39 Tor[16511]: Interrupt: exiting cleanly.
Mar 19 01:33:39 systemd[1]: Stopped Anonymizing overlay network for TCP.’’’

Hi and welcome to the forum.

Can you please provide your torrc using the code block (type CTRL+E when writing your post, or klick the </> button)? You can remove all comments (lines beginning with #).

You might as well make a debug log. Stop tor via systemctl. Then start tor as follows:

su -s /bin/bash -c '/usr/bin/tor --Log "debug file /tmp/tor-debug.log"' toranon

I’m not sure, but toranon should be the correct user on CentOS. If not, you can also quickly find him in the file /etc/passwd

Cancel the process with CTRL+C. In /tmp/ should be your debug log now, attach it as a file.

Hello.
Toorc is

 ControlSocket /run/tor/control
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFile /run/tor/control.authcookie
CookieAuthFileGroupReadable 1
HiddenServiceDir /var/lib/tor/site999/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site2/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site3/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site4/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site5/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site6/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site7/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site8/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site9/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site10/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site11/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site12/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site13/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site14/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site15/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site16/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site17/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site18/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site19/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site40/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site41/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site42/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site43/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site44/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site60/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site61/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site62/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site63/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site64/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site65/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site67/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site70/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site71/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site72/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site73/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site74/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site109/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site196/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site110/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site111/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site112/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site113/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site114/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site115/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site116/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site117/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site118/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site119/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site120/
HiddenServicePort 80 127.0.0.1:80

Cant attach log


Reinstalled VPS. Installed tor. Still the same error. Every 60 seconds restart tor

···

tor-debug.log
Hi.Torrc is
‘’’
ControlSocket /run/tor/control
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFile /run/tor/control.authcookie
CookieAuthFileGroupReadable 1

HiddenServiceDir /var/lib/tor/site999/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site2/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site3/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site4/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site5/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site6/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site7/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site8/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site9/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site10/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site11/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site12/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site13/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site14/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site15/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site16/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site17/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site18/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site19/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site40/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site41/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site42/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site43/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site44/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site60/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site61/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site62/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site63/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site64/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site65/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site67/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site70/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site71/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site72/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site73/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site74/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site109/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site196/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site110/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site111/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site112/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site113/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site114/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site115/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site116/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site117/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site118/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site119/
HiddenServicePort 80 127.0.0.1:80

HiddenServiceDir /var/lib/tor/site120/
HiddenServicePort 80 127.0.0.1:80

@ coacx
Made 1 site. All work’s but 1 minute and tor is restart again