Unable to run Onion Site V3 on VPS server with Centos-6.0-x86. The service does not start with the configured site

I’m trying to raise a site mirror. Tor version 0.2.9.17 (git-e057a19b74589fca).

On the old Tor server, the site is disabled. I upload 3 Tor files in the site pack. I add these lines to torrc:

HiddenServiceDir /home/admin/web/SITE.pw/public_html/
HiddenServicePort 80 127.0.0.1:80

But after saving the changes, the tor does not start up with the following errors on the command line:

[root@vps18483 ~]# sudo service tor start
Raising maximum number of filedescriptors (ulimit -n) to 32768.
Checking if tor configuration is validJan 31 12:54:18.152 [notice] Tor 0.2.9.17 (git-e057a19b74589fca) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1e-fips and Zlib 1.2.3.
Jan 31 12:54:18.152 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jan 31 12:54:18.152 [notice] Read configuration file "/etc/tor/torrc".
Jan 31 12:54:18.155 [warn] Couldn't find $HOME environment variable while expanding "~/.tor"; defaulting to "".
Jan 31 12:54:18.155 [warn] Default DataDirectory is "~/.tor".  This expands to "/.tor", which is probably not what you want.  Using "/var/tor" instead
Jan 31 12:54:18.155 [warn] /home/admin/web/SITE.pw/public_html/ is not owned by this user (root, 0) but by <unknown> (501). Perhaps you are running Tor as the wrong user?
Jan 31 12:54:18.155 [warn] Checking service directory /home/admin/web/SITE.pw/public_html/ failed.
Jan 31 12:54:18.155 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
Jan 31 12:54:18.155 [err] Reading config failed--see warnings above.

The only explanation that I can give is that, judging by the date the torrc file was modified on 09/22/2018, the old version of TOR from this repository is being installed, which does not yet support V3 addresses. If this is because of this, then how to download the latest version for centos?

[root@vps18483 ~]# yum install epel-release
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: ftp-stud.hs-esslingen.de
 * remi: mirror.docker.ru
 * remi-php55: mirror.docker.ru
 * remi-php56: mirror.docker.ru
 * remi-safe: mirror.docker.ru
 * remi-test: mirror.docker.ru
Package epel-release-6-8.noarch already installed and latest version
Nothing to do
[root@vps18483 ~]# yum install tor
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: ftp-stud.hs-esslingen.de
 * remi: mirror.docker.ru
 * remi-php55: mirror.docker.ru
 * remi-php56: mirror.docker.ru
 * remi-safe: mirror.docker.ru
 * remi-test: mirror.docker.ru
Resolving Dependencies
--> Running transaction check
---> Package tor.i686 0:0.2.9.17-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================
 Package                                   Arch                                       Version                                               Repository                                  Size
=============================================================================================================================================================================================
Installing:
 tor                                       i686                                       0.2.9.17-1.el6                                        epel                                       3.0 M

Transaction Summary
=============================================================================================================================================================================================
Install       1 Package(s)

Total download size: 3.0 M
Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
tor-0.2.9.17-1.el6.i686.rpm                                                                                                                                           | 3.0 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : tor-0.2.9.17-1.el6.i686                                                                                                                                                   1/1
  Verifying  : tor-0.2.9.17-1.el6.i686                                                                                                                                                   1/1

Installed:
  tor.i686 0:0.2.9.17-1.el6

Complete!

Instructions taken from here : Setup Tor Hidden Service on CentOS 7 – ServerOK

Not sure if this is your issue. try tor --version to see what version of tor you have installed.

tor --version
Tor version 0.4.6.9.
Tor is running on Linux with Libevent 2.1.11-stable, OpenSSL 1.1.1f, Zlib 1.2.11, Liblzma 5.2.4, Libzstd 1.4.4 and Glibc 2.31 as libc.
Tor compiled with GCC version 9.3.0

In any case, you can always compile tor from source as described here

Also, not sure if it is a good idea in general to provide a public service with an EOL Operating System. As far as I know, maintenance updates for CentOS 6 have stopped over a year ago. Consider upgrading to something more modern to make sure you and your visitors stay safe.

2 Likes

tor.i686 0:0.2.9.17-1.el6
[root@vps18483 ~]# tor --version
Tor version 0.2.9.17 (git-e057a19b74589fca).

Yeah, that is ancient. It’s from September 2018 if I looked correctly.

Here are the currently recommended versions of tor (source):

server-versions 0.3.5.10, 0.3.5.11, 0.3.5.12, 0.3.5.13, 0.3.5.14, 0.3.5.15, 0.3.5.16, 0.3.5.17, 0.3.5.18, 0.4.5.1-alpha, 0.4.5.2-alpha, 0.4.5.3-rc, 0.4.5.4-rc, 0.4.5.5-rc, 0.4.5.6, 0.4.5.7, 0.4.5.8, 0.4.5.9, 0.4.5.10, 0.4.5.11, 0.4.6.1-alpha, 0.4.6.2-alpha, 0.4.6.3-rc, 0.4.6.4-rc, 0.4.6.5, 0.4.6.6, 0.4.6.7, 0.4.6.8, 0.4.6.9, 0.4.7.1-alpha, 0.4.7.2-alpha, 0.4.7.3-alpha
3 Likes

how to install them? Do you need to download a file, upload it via FTP to the server, and then install it with a command on the command line? (delete the previous version of course)
Please help me how to install on centos

If you want to stay on CentOS 6 (I don’t recommend it), you will need to compile tor from source (“make” / “make install”).

Source files for tor can be found here: Tor Project | Download Tor

You can ask Google how to install any software from source for your OS. In a nutshell, you will need to make sure you have the correct compiler and dependencies installed (such as libevent, openssl and zlib for tor) and then you execute “make” and “make install”.

If this is too complicated, I recommend to switch to a different OS. Easy to install and current tor packages are for example available for Debian, Ubuntu and Fedora. More information can be found here.

2 Likes
Feb 01 07:16:27.405 [notice] Tor 0.2.9.17 (git-e057a19b74589fca) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1e-fips and Zlib 1.2.3.

Deleted the old version of TOR.
When I tried to uninstall, the server issued these lines, does this mean that these compilers are already installed with me or do I need to install them? How can I check if they are installed on my server? If they are already installed, can you use them to build the latest version of Tor 0.4.6.9?
Please, help.

As I understand it with the right command download on server

wget https://dist.torproject.org/tor-0.4.6.9.tar.gz

Unpack archive:

tar -zxvf tor-0.4.6.9.tar.gz

next

make

next

make install

This is true? Please help, I don’t know English and I communicate with the help of Google translator, I can’t find in Russian “how to build Tor under Centos 6”
Can you give a link to the instructions for lamers?

Please help :smiling_face_with_tear:

[root@vps18483 ~]# ./configure --prefix=/opt/tor-VERSION --sysconfdir=/etc --localstatedir=/var \
> --enable-static-openssl --with-openssl-dir=/opt/openssl \
> --with-tor-user=tor --with-tor-group=tor \
> --enable-lzma --enable-zstd
-bash: ./configure: No such file or directory
[root@vps18483 ~]# make
make: *** No targets specified and no makefile found.  Stop.
[root@vps18483 ~]# sudo make install
make: *** No rule to make target `install'.  Stop.
[root@vps18483 ~]#

I downloaded and unpacked the new version of Tor, I’m trying to make a configuration before building - nothing comes out, what should I do?

[root@vps18483 ~]# ./configure --prefix=/opt/tor-VERSION --sysconfdir=/etc --localstatedir=/var \
> --enable-static-openssl --with-openssl-dir=/opt/openssl \
> --with-tor-user=tor --with-tor-group=tor \
> --enable-lzma --enable-zstd
-bash: ./configure: No such file or directory

Hi!
CentOS 6 has EOL for a while now, I am not sure you should keep running services there.
Anyway, your error here is that you need to cd to the tor directory before running ./configure :smile: .

1 Like

I agree, but how to find out where the archive was unpacked?
I’m completely lamer, for me to compile a program on a remote server via the command line is something at the level of ancient sorcery.
This needs to be done, as I understand it, with the cd command? Can you help?

cd path-tor

Well, are you sure that you want to host a hidden service, then?
If you do not configure it properly, you risk to compromise the security and/or privacy of your service, and of your server.

Yes. There are a few useful commands you should learn:

  • pwd tells you which is your current directory (and you also see its name in the prompt, ~ means that you are in your home)
  • ls lists the content of your current directory, of ls path lists the content of paths
  • cd path you move to a certain path.

But you should however look for a complete guide…

Also, I noticed that you are running a root shell.
You should not, unless you need to run commands that need high privileges.
Compiling a program does not require root privileges, only installing it (make install) usually requires root privileges.

Usually source archives contain a directory in the format programname-version, and tor complies to this rule. So, the archive you downloaded, once extracted, creates a tor-0.4.6.9 directory.

Again, I suggest you to upgrade from CentOS 6 to something more recent, and avoid installing Tor from sources, unless you are ready to keep it updated in case of updates.
Especially security updates.

Also, the configure command will likely fail.
You will need all the dependencies (and their headers) for it to succeed.

1 Like
# cd tor-0.4.6.9

[root@vps18483 tor-0.4.6.9]

# ./configure --prefix=/opt/tor-VERSION --sysconfdir=/etc --localstatedir=/var \
> --enable-static-openssl --with-openssl-dir=/opt/openssl \
> --with-tor-user=tor --with-tor-group=tor \
> --enable-lzma --enable-zstd
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/tor-0.4.6.9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tor configure 0.4.6.9, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/opt/tor-VERSION --sysconfdir=/etc --localstatedir=/var --enable-static-openssl --with-openssl-dir=/opt/openssl --with-tor-user=tor --with-tor-group=tor --enable-lzma --enable-zstd

## --------- ##
## Platform. ##
## --------- ##

hostname = vps13.vmh.ru
uname -m = i686
uname -r = 2.6.32-042stab112.15
uname -s = Linux
uname -v = #1 SMP Tue Oct 20 17:22:56 MSK 2015

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
PATH: /usr/local/vesta/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2909: checking for a BSD-compatible install
configure:2977: result: /usr/bin/install -c
configure:2988: checking whether build environment is sane
configure:3043: result: yes
configure:3194: checking for a thread-safe mkdir -p
configure:3233: result: /bin/mkdir -p
configure:3240: checking for gawk
configure:3256: found /bin/gawk
configure:3267: result: gawk
configure:3278: checking whether make sets $(MAKE)
configure:3300: result: yes
configure:3329: checking whether make supports nested variables
configure:3346: result: yes
configure:3489: checking whether make supports nested variables
configure:3506: result: yes
configure:3524: checking whether make supports the include directive
configure:3539: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3542: $? = 0
configure:3561: result: yes (GNU style)
configure:3631: checking for gcc
configure:3661: result: no
configure:3724: checking for cc
configure:3771: result: no
configure:3827: checking for cl.exe
configure:3857: result: no
configure:3881: error: in `/root/tor-0.4.6.9':
configure:3883: error: no acceptable C compiler found in $PATH
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CARGO_set=
ac_cv_env_CARGO_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_JEMALLOC_CFLAGS_set=
ac_cv_env_JEMALLOC_CFLAGS_value=
ac_cv_env_JEMALLOC_LIBS_set=
ac_cv_env_JEMALLOC_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBSYSTEMD209_CFLAGS_set=
ac_cv_env_LIBSYSTEMD209_CFLAGS_value=
ac_cv_env_LIBSYSTEMD209_LIBS_set=
ac_cv_env_LIBSYSTEMD209_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LZMA_CFLAGS_set=
ac_cv_env_LZMA_CFLAGS_value=
ac_cv_env_LZMA_LIBS_set=
ac_cv_env_LZMA_LIBS_value=
ac_cv_env_NSS_CFLAGS_set=
ac_cv_env_NSS_CFLAGS_value=
ac_cv_env_NSS_LIBS_set=
ac_cv_env_NSS_LIBS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_RUSTC_set=
ac_cv_env_RUSTC_value=
ac_cv_env_SYSTEMD_CFLAGS_set=
ac_cv_env_SYSTEMD_CFLAGS_value=
ac_cv_env_SYSTEMD_LIBS_set=
ac_cv_env_SYSTEMD_LIBS_value=
ac_cv_env_TCMALLOC_CFLAGS_set=
ac_cv_env_TCMALLOC_CFLAGS_value=
ac_cv_env_TCMALLOC_LIBS_set=
ac_cv_env_TCMALLOC_LIBS_value=
ac_cv_env_TOR_RUST_DEPENDENCIES_set=
ac_cv_env_TOR_RUST_DEPENDENCIES_value=
ac_cv_env_TOR_RUST_TARGET_set=
ac_cv_env_TOR_RUST_TARGET_value=
ac_cv_env_ZSTD_CFLAGS_set=
ac_cv_env_ZSTD_CFLAGS_value=
ac_cv_env_ZSTD_LIBS_set=
ac_cv_env_ZSTD_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

A2X=''
ACLOCAL='${SHELL} /root/tor-0.4.6.9/missing aclocal-1.16'
ADD_MULODI4_FALSE=''
ADD_MULODI4_TRUE=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
ASCIIDOC=''
AUTOCONF='${SHELL} /root/tor-0.4.6.9/missing autoconf'
AUTOHEADER='${SHELL} /root/tor-0.4.6.9/missing autoheader'
AUTOMAKE='${SHELL} /root/tor-0.4.6.9/missing automake-1.16'
AWK='gawk'
BINDIR=''
BUILDDIR=''
BUILD_CURVE25519_DONNA_C64_FALSE=''
BUILD_CURVE25519_DONNA_C64_TRUE=''
BUILD_CURVE25519_DONNA_FALSE=''
BUILD_CURVE25519_DONNA_TRUE=''
BUILD_HTML_DOCS_FALSE=''
BUILD_HTML_DOCS_TRUE=''
BUILD_KECCAK_TINY_FALSE=''
BUILD_KECCAK_TINY_TRUE=''
BUILD_LIBTORRUNNER_FALSE=''
BUILD_LIBTORRUNNER_TRUE=''
BUILD_MANPAGE_FALSE=''
BUILD_MANPAGE_TRUE=''
BUILD_MODULE_DIRAUTH_FALSE=''
BUILD_MODULE_DIRAUTH_TRUE=''
BUILD_MODULE_DIRCACHE_FALSE=''
BUILD_MODULE_DIRCACHE_TRUE=''
BUILD_MODULE_RELAY_FALSE=''
BUILD_MODULE_RELAY_TRUE=''
BUILD_NT_SERVICES_FALSE=''
BUILD_NT_SERVICES_TRUE=''
BUILD_READPASSPHRASE_C_FALSE=''
BUILD_READPASSPHRASE_C_TRUE=''
CARGO=''
CARGO_ONLINE=''
CC=''
CCDEPMODE=''
CFLAGS=''
CFLAGS_BUGTRAP=''
CFLAGS_CONSTTIME=''
CONFDIR=''
COVERAGE_ENABLED_FALSE=''
COVERAGE_ENABLED_TRUE=''
CPP=''
CPPFLAGS=''
CURVE25519_LIBS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DISABLE_ASSERTS_IN_UNIT_TESTS_FALSE=''
DISABLE_ASSERTS_IN_UNIT_TESTS_TRUE=''
DOXYGEN_FATAL_WARNINGS=''
DOXYGEN_WARN_ON_MISSING=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F_OMIT_FRAME_POINTER=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JEMALLOC_CFLAGS=''
JEMALLOC_LIBS=''
LDFLAGS=''
LIBFUZZER_ENABLED_FALSE=''
LIBFUZZER_ENABLED_TRUE=''
LIBOBJS=''
LIBS=''
LIBSYSTEMD209_CFLAGS=''
LIBSYSTEMD209_LIBS=''
LOCALSTATEDIR=''
LOGFACILITY=''
LTLIBOBJS=''
LZMA_CFLAGS=''
LZMA_LIBS=''
MAKEINFO='${SHELL} /root/tor-0.4.6.9/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
NSS_CFLAGS=''
NSS_LIBS=''
OBJEXT=''
OSS_FUZZ_ENABLED_FALSE=''
OSS_FUZZ_ENABLED_TRUE=''
PACKAGE='tor'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='tor'
PACKAGE_STRING='tor 0.4.6.9'
PACKAGE_TARNAME='tor'
PACKAGE_URL=''
PACKAGE_VERSION='0.4.6.9'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PYTHON=''
RANLIB=''
RUSTC=''
RUST_DL=''
RUST_LINKER_OPTIONS=''
RUST_TARGET_PROP=''
RUST_WARN=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSTEMD_CFLAGS=''
SYSTEMD_LIBS=''
TCMALLOC_CFLAGS=''
TCMALLOC_LIBS=''
THREADS_PTHREADS_FALSE=''
THREADS_PTHREADS_TRUE=''
THREADS_WIN32_FALSE=''
THREADS_WIN32_TRUE=''
TORGROUP=''
TORUSER=''
TOR_CPPFLAGS_libevent=''
TOR_CPPFLAGS_openssl=''
TOR_CPPFLAGS_zlib=''
TOR_LDFLAGS_libevent=''
TOR_LDFLAGS_openssl=''
TOR_LDFLAGS_zlib=''
TOR_LIBEVENT_LIBS=''
TOR_LIB_BCRYPT=''
TOR_LIB_CRYPT32=''
TOR_LIB_GDI=''
TOR_LIB_IPHLPAPI=''
TOR_LIB_MATH=''
TOR_LIB_SHLWAPI=''
TOR_LIB_USERENV=''
TOR_LIB_WS32=''
TOR_LZMA_CFLAGS=''
TOR_LZMA_LIBS=''
TOR_MODULES_ALL_ENABLED=''
TOR_OPENSSL_LIBS=''
TOR_RUST_DEPENDENCIES=''
TOR_RUST_LIB_PATH=''
TOR_RUST_TARGET=''
TOR_STATIC_LDFLAGS=''
TOR_SYSTEMD_CFLAGS=''
TOR_SYSTEMD_LIBS=''
TOR_TRACE_LIBS=''
TOR_WARNING_FLAGS=''
TOR_ZLIB_LIBS=''
TOR_ZSTD_CFLAGS=''
TOR_ZSTD_LIBS=''
UNITTESTS_ENABLED_FALSE=''
UNITTESTS_ENABLED_TRUE=''
USEPYTHON_FALSE=''
USEPYTHON_TRUE=''
USE_ANDROID_FALSE=''
USE_ANDROID_TRUE=''
USE_ASCIIDOC_FALSE=''
USE_ASCIIDOC_TRUE=''
USE_NSS_FALSE=''
USE_NSS_TRUE=''
USE_OPENBSD_MALLOC_FALSE=''
USE_OPENBSD_MALLOC_TRUE=''
USE_OPENSSL_FALSE=''
USE_OPENSSL_TRUE=''
USE_PERL_FALSE=''
USE_PERL_TRUE=''
USE_RUST_FALSE=''
USE_RUST_TRUE=''
USE_TRACING_FALSE=''
USE_TRACING_INSTRUMENTATION_LOG_DEBUG_FALSE=''
USE_TRACING_INSTRUMENTATION_LOG_DEBUG_TRUE=''
USE_TRACING_INSTRUMENTATION_LTTNG_FALSE=''
USE_TRACING_INSTRUMENTATION_LTTNG_TRUE=''
USE_TRACING_INSTRUMENTATION_USDT_FALSE=''
USE_TRACING_INSTRUMENTATION_USDT_TRUE=''
USE_TRACING_TRUE=''
VERSION='0.4.6.9'
WIN32_FALSE=''
WIN32_TRUE=''
ZSTD_CFLAGS=''
ZSTD_LIBS=''
ac_ct_AR=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/tor-0.4.6.9/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pprint_tput=''
prefix='/opt/tor-VERSION'
program_transform_name='s,x,x,'
psdir='${docdir}'
rust_crates=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tor"
#define PACKAGE_TARNAME "tor"
#define PACKAGE_VERSION "0.4.6.9"
#define PACKAGE_STRING "tor 0.4.6.9"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CONFIG_FLAGS "--prefix=/opt/tor-VERSION --sysconfdir=/etc --localstatedir=/var --enable-static-openssl --with-openssl-dir=/opt/openssl --with-tor-user=tor --with-tor-group=tor --enable-lzma --enable-zstd"
#define APPROX_RELEASE_DATE "2021-12-15"
#define PACKAGE "tor"
#define VERSION "0.4.6.9"

configure: exit 1

As I understood further, you can not try to do anything, everything is useless?
There, about 10 sites will have to be transferred, the option of moving and updating is not even considered. My server does not contain secret information.

As configure told you, you do not have a C compiler installed on your system.
I am sorry, but I have no experience with CentOS 6, so I cannot help you.

2 Likes