telekom-security / tpotce

🍯 T-Pot - The All In One Multi Honeypot Platform 🐝
GNU General Public License v3.0
6.82k stars 1.08k forks source link

NGINX 500 Internal Server Error #425

Closed JohnDoe3000 closed 5 years ago

JohnDoe3000 commented 5 years ago

Hello,

We are having some issues with accessing the web portal on port TCP 64297 with the NGINX 500 Internal server error. Cockpit administration GUI portal is working, and all the Docker containers seem to be working perfectly. The system was built directly on Debian 9.7

[root@unconsciouspneumonia:/home/administrator]# uname -a Linux unconsciouspneumonia 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux

JohnDoe3000 commented 5 years ago

image

JohnDoe3000 commented 5 years ago

image

JohnDoe3000 commented 5 years ago

image

t3chn0m4g3 commented 5 years ago

Looks good to me. Cannot reproduce. Are you using a TLS 1.3 compatible browser? Try to install from the ISO image to compare installations on your end and to rule out any other side effects of the manual installation.

JohnDoe3000 commented 5 years ago

Unfortunately the ISO install didn't work. (we got a busybox command prompt after the initial install phase). We tried with both with HyperV and VMware).

The error is not browser related (tried with Chrome and Firefox). We get an initial prompt for credentials and the error is returned:

image

These are the NGINX logs from inside the container

_[root@notablestepgrandmother:/home/administrator]# docker exec -it a40f058eb7c0 /bin/sh
/ # cd var
/var # cd log
/var/log # cd nginx/
/var/log/nginx # ls
access.log       access.log.2.gz  access.log.4.gz  access.log.6.gz  access.log.8.gz  error.log        error.log.2.gz   error.log.4.gz   error.log.6.gz   error.log.8.gz
access.log.1.gz  access.log.3.gz  access.log.5.gz  access.log.7.gz  access.log.9.gz  error.log.1.gz   error.log.3.gz   error.log.5.gz   error.log.7.gz
/var/log/nginx # cat error.log
2019/08/01 11:14:35 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET / HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:14:35 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET / HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:14:35 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET /favicon.ico HTTP/2.0", host: "10.101.2.1:64297", referrer: "https://10.101.2.1:64297/"
2019/08/01 11:14:35 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET /favicon.ico HTTP/2.0", host: "10.101.2.1:64297", referrer: "https://10.101.2.1:64297/"
2019/08/01 11:15:43 [crit] 7#7: *5 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET / HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:15:43 [crit] 7#7: *5 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET / HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:15:43 [crit] 7#7: *5 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET /favicon.ico HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:15:43 [crit] 7#7: *5 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET /favicon.ico HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:15:53 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET / HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:15:53 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET / HTTP/2.0", host: "10.101.2.1:64297"
2019/08/01 11:15:53 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET /favicon.ico HTTP/2.0", host: "10.101.2.1:64297", referrer: "https://10.101.2.1:64297/"
2019/08/01 11:15:53 [crit] 7#7: *3 pread() "/etc/nginx/nginxpasswd" failed (21: Is a directory), client: 10.101.6.202, server: example.com, request: "GET /favicon.ico HTTP/2.0", host: "10.101.2.1:64297", referrer:_
t3chn0m4g3 commented 5 years ago

Please provide /install.err and /install.log.

t3chn0m4g3 commented 5 years ago

Just did a fresh install on VirtualBox, VMWare ESXi and KVM. All installations went fine. Unless you provide further info we cannot help.

JohnDoe3000 commented 5 years ago

There are some error in install.err one also related with nginx

[root@notablestepgrandmother:/]# cat install.err

info: Trying to set 'docker.io/restart' [boolean] to 'true'
info: Loading answer for 'docker.io/restart'
info: Trying to set 'debconf/frontend' [select] to 'noninteractive'
info: Loading answer for 'debconf/frontend'
W: --force-yes is deprecated, use one of the options starting with --allow instead.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Held packages were changed and -y was used without --allow-change-held-packages.
htpasswd: cannot create file /data/nginx/conf/nginxpasswd__
Generating a RSA private key
...........................................................................................................................................+++
.................................................................+++
writing new private key to '/data/nginx/cert/nginx.key'
-----
npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
fatal: destination path '/opt/tpot' already exists and is not an empty directory.
addgroup: The group `tpot' already exists.
adduser: The user `tpot' already exists, but is not a system user. Exiting.
ln: failed to create symbolic link '/opt/tpot/etc/tpot.yml': File exists

[root@notablestepgrandmother:/]# cat install.log

 ___           _        _ _ _                     
|_ _|_ __  ___| |_ __ _| | (_)_ __   __ _         
 | || '_ \/ __| __/ _` | | | | '_ \ / _` |        
 | || | | \__ \ || (_| | | | | | | | (_| |  _ _ _ 
|___|_| |_|___/\__\__,_|_|_|_|_| |_|\__, | (_|_|_)
                                    |___/         
deb http://deb.debian.org/debian unstable main contrib non-free
deb-src http://deb.debian.org/debian unstable main contrib non-free

### Getting update information.

Get:1 http://deb.debian.org/debian unstable InRelease [149 kB]
Get:2 http://deb.debian.org/debian unstable/main Sources.diff/Index [27.9 kB]
Get:3 http://deb.debian.org/debian unstable/non-free Sources.diff/Index [27.8 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [27.9 kB]
Get:5 http://deb.debian.org/debian unstable/main Translation-en.diff/Index [27.9 kB]
Get:6 http://deb.debian.org/debian unstable/contrib amd64 Packages.diff/Index [27.8 kB]
Get:7 http://deb.debian.org/debian unstable/non-free amd64 Packages.diff/Index [27.8 kB]
Get:8 http://deb.debian.org/debian unstable/main Sources 2019-07-30-0230.35.pdiff [16.5 kB]
Get:9 http://deb.debian.org/debian unstable/main Sources 2019-07-30-0834.52.pdiff [3,790 B]
Get:10 http://deb.debian.org/debian unstable/non-free Sources 2019-07-30-0230.35.pdiff [710 B]
Get:11 http://deb.debian.org/debian unstable/non-free Sources 2019-07-30-0834.52.pdiff [31 B]
Get:12 http://deb.debian.org/debian unstable/main amd64 Packages 2019-07-30-0230.35.pdiff [30.9 kB]
Get:13 http://deb.debian.org/debian unstable/main amd64 Packages 2019-07-30-0834.52.pdiff [15.5 kB]
Get:14 http://deb.debian.org/debian unstable/main Translation-en 2019-07-30-0230.35.pdiff [296 B]
Get:15 http://deb.debian.org/debian unstable/main Translation-en 2019-07-30-0834.52.pdiff [451 B]
Get:16 http://deb.debian.org/debian unstable/contrib amd64 Packages 2019-07-30-0230.35.pdiff [361 B]
Get:17 http://deb.debian.org/debian unstable/non-free amd64 Packages 2019-07-30-0230.35.pdiff [242 B]
Get:18 http://deb.debian.org/debian unstable/non-free amd64 Packages 2019-07-30-0834.52.pdiff [222 B]
Get:9 http://deb.debian.org/debian unstable/main Sources 2019-07-30-0834.52.pdiff [3,790 B]
Get:13 http://deb.debian.org/debian unstable/main amd64 Packages 2019-07-30-0834.52.pdiff [15.5 kB]
Get:11 http://deb.debian.org/debian unstable/non-free Sources 2019-07-30-0834.52.pdiff [31 B]
Get:15 http://deb.debian.org/debian unstable/main Translation-en 2019-07-30-0834.52.pdiff [451 B]
Get:16 http://deb.debian.org/debian unstable/contrib amd64 Packages 2019-07-30-0230.35.pdiff [361 B]
Get:18 http://deb.debian.org/debian unstable/non-free amd64 Packages 2019-07-30-0834.52.pdiff [222 B]
Fetched 385 kB in 4s (89.5 kB/s)
Reading package lists...

### Upgrading packages.

[apt-fast 14:21:21]
[apt-fast 14:21:21]Working... this may take a while.
[apt-fast 14:21:21]

07/30 14:21:22 [NOTICE] Downloading 6 item(s)

07/30 14:21:22 [NOTICE] CUID#8 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git-man_2.23.0~rc0-1_all.deb

07/30 14:21:22 [NOTICE] CUID#11 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/i/ispell/iamerican_3.4.00-7_all.deb

07/30 14:21:22 [NOTICE] CUID#7 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:22 [NOTICE] CUID#9 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/i/ispell/ispell_3.4.00-7_amd64.deb

07/30 14:21:22 [NOTICE] CUID#10 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/i/ispell/ibritish_3.4.00-7_all.deb

07/30 14:21:22 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/ispell_3.4.00-7_amd64.deb

07/30 14:21:22 [NOTICE] Download complete: /var/cache/apt/apt-fast/ispell_3.4.00-7_amd64.deb

07/30 14:21:22 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/iamerican_3.4.00-7_all.deb

07/30 14:21:22 [NOTICE] Download complete: /var/cache/apt/apt-fast/iamerican_3.4.00-7_all.deb

07/30 14:21:22 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/ibritish_3.4.00-7_all.deb

07/30 14:21:22 [NOTICE] Download complete: /var/cache/apt/apt-fast/ibritish_3.4.00-7_all.deb

07/30 14:21:22 [NOTICE] CUID#12 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git-man_2.23.0~rc0-1_all.deb

07/30 14:21:22 [NOTICE] CUID#14 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:22 [NOTICE] CUID#15 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:22 [NOTICE] CUID#17 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:22 [NOTICE] CUID#16 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:22 [NOTICE] CUID#17 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:22 [NOTICE] CUID#18 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/g/git/git_2.23.0~rc0-1_amd64.deb

07/30 14:21:23 [NOTICE] CUID#20 - Redirecting to http://cdn-fastly.deb.debian.org/debian/pool/main/i/ispell/ienglish-common_3.4.00-7_all.deb

07/30 14:21:23 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/git-man_1%3a2.23.0~rc0-1_all.deb

07/30 14:21:23 [NOTICE] Download complete: /var/cache/apt/apt-fast/git-man_1%3a2.23.0~rc0-1_all.deb

07/30 14:21:23 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/ienglish-common_3.4.00-7_all.deb

07/30 14:21:23 [NOTICE] Download complete: /var/cache/apt/apt-fast/ienglish-common_3.4.00-7_all.deb
[#924e3c 5.1MiB/5.8MiB(87%) CN:2 DL:8.6MiB]

07/30 14:21:23 [NOTICE] Verification finished successfully. file=/var/cache/apt/apt-fast/git_1%3a2.23.0~rc0-1_amd64.deb

07/30 14:21:23 [NOTICE] Download complete: /var/cache/apt/apt-fast/git_1%3a2.23.0~rc0-1_amd64.deb

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
8dbe1d|OK  |   1.9MiB/s|/var/cache/apt/apt-fast/ispell_3.4.00-7_amd64.deb
61b55a|OK  |   2.1MiB/s|/var/cache/apt/apt-fast/iamerican_3.4.00-7_all.deb
4b06dd|OK  |   2.1MiB/s|/var/cache/apt/apt-fast/ibritish_3.4.00-7_all.deb
ef97b1|OK  |   3.9MiB/s|/var/cache/apt/apt-fast/git-man_1%3a2.23.0~rc0-1_all.deb
eacf8c|OK  |   1.4MiB/s|/var/cache/apt/apt-fast/ienglish-common_3.4.00-7_all.deb
924e3c|OK  |   8.3MiB/s|/var/cache/apt/apt-fast/git_1%3a2.23.0~rc0-1_amd64.deb

Status Legend:
(OK):download completed.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
  exim4 exim4-base exim4-config exim4-daemon-light mailutils mailutils-common
The following packages will be upgraded:
  git git-man iamerican ibritish ienglish-common ispell
apt-listchanges: Reading changelogs...
Preconfiguring packages ...
6 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/8,375 kB of archives.
After this operation, 1,273 kB of additional disk space will be used.
(Reading database ... 77857 files and directories currently installed.)
Preparing to unpack .../0-git_1%3a2.23.0~rc0-1_amd64.deb ...
Unpacking git (1:2.23.0~rc0-1) over (1:2.22.0-1) ...
Preparing to unpack .../1-git-man_1%3a2.23.0~rc0-1_all.deb ...
Unpacking git-man (1:2.23.0~rc0-1) over (1:2.22.0-1) ...
Preparing to unpack .../2-ispell_3.4.00-7_amd64.deb ...
Unpacking ispell (3.4.00-7) over (3.4.00-6+b1) ...
Preparing to unpack .../3-ibritish_3.4.00-7_all.deb ...
Unpacking ibritish (3.4.00-7) over (3.4.00-6) ...
Preparing to unpack .../4-iamerican_3.4.00-7_all.deb ...
Unpacking iamerican (3.4.00-7) over (3.4.00-6) ...
Preparing to unpack .../5-ienglish-common_3.4.00-7_all.deb ...
Unpacking ienglish-common (3.4.00-7) over (3.4.00-6) ...
Setting up ispell (3.4.00-7) ...
Setting up ienglish-common (3.4.00-7) ...
Setting up git-man (1:2.23.0~rc0-1) ...
Setting up iamerican (3.4.00-7) ...
Setting up ibritish (3.4.00-7) ...
Setting up git (1:2.23.0~rc0-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dictionaries-common (1.28.1) ...
ispell-autobuildhash: Processing 'american' dict.
ispell-autobuildhash: Processing 'british' dict.

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

### Installing T-Pot dependencies.

[apt-fast 14:21:36]
[apt-fast 14:21:36]Working... this may take a while.
Reading package lists...
Building dependency tree...
Reading state information...
apache2-utils is already the newest version (2.4.38-3).
apparmor is already the newest version (2.13.3-4).
apt-transport-https is already the newest version (1.8.2).
aria2 is already the newest version (1.34.0-4).
aufs-tools is already the newest version (1:4.14+20190211-1).
bash-completion is already the newest version (1:2.8-7).
dnsutils is already the newest version (1:9.11.5.P4+dfsg-5.1).
build-essential is already the newest version (12.6).
ca-certificates is already the newest version (20190110).
genisoimage is already the newest version (9:1.1.11-3+b2).
cgroupfs-mount is already the newest version (1.4).
cockpit is already the newest version (199-1).
cockpit-docker is already the newest version (199-1).
console-setup is already the newest version (1.192).
console-setup-linux is already the newest version (1.192).
libcrack2 is already the newest version (2.9.6-2).
curl is already the newest version (7.65.1-1).
debconf-utils is already the newest version (1.5.72).
dialog is already the newest version (1.3-20190211-1).
docker-compose is already the newest version (1.21.0-3).
docker.io is already the newest version (18.09.1+dfsg1-7.1).
dstat is already the newest version (0.7.4-3).
ethtool is already the newest version (1:4.19-1).
fail2ban is already the newest version (0.10.2-2.1).
figlet is already the newest version (2.2.5-3).
git is already the newest version (1:2.23.0~rc0-1).
glances is already the newest version (3.1.0-1).
grc is already the newest version (1.11.3-1).
haveged is already the newest version (1.9.1-8).
html2text is already the newest version (1.3.2a-24).
htop is already the newest version (2.2.0-2).
iptables is already the newest version (1.8.3-2).
iw is already the newest version (5.0.1-1).
jq is already the newest version (1.5+dfsg-2+b1).
kbd is already the newest version (2.0.4-4).
libltdl7 is already the newest version (2.4.6-10).
man-db is already the newest version (2.8.5-2).
mosh is already the newest version (1.3.2-2.1+b1).
multitail is already the newest version (6.4.2-3+b1).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
netselect-apt is already the newest version (0.3.ds1-28).
npm is already the newest version (5.8.0+ds6-4).
ntp is already the newest version (1:4.2.8p13+dfsg-2).
openssh-server is already the newest version (1:8.0p1-3).
openssl is already the newest version (1.1.1c-1).
pass is already the newest version (1.7.3-2).
prips is already the newest version (1.1.1-2).
psmisc is already the newest version (23.2-1).
pv is already the newest version (1.6.6-1).
python-pip is already the newest version (18.1-5).
software-properties-common is already the newest version (0.96.20.2-2).
syslinux is already the newest version (3:6.04~git20190206.bf6db5b4+dfsg1-1).
toilet is already the newest version (0.3-1.2).
unattended-upgrades is already the newest version (1.13).
unzip is already the newest version (6.0-25).
vim is already the newest version (2:8.1.0875-5).
wget is already the newest version (1.20.3-1).
wireless-tools is already the newest version (30~pre9-13).
wpasupplicant is already the newest version (2:2.8-3).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  guile-2.0-libs libgc1c2 libgsasl7 libkyotocabinet16v5 liblzo2-2
  libmailutils5 libmariadbclient18 libncurses5 libntlm0 mailutils-common
  mysql-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  exim4* exim4-base* exim4-daemon-light* mailutils*
The following held packages will be changed:
  exim4-base mailutils
0 upgraded, 0 newly installed, 4 to remove and 3 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
exim4-base was already set on hold.
mailutils was already set on hold.
__        __   _                                             _     
\ \      / /__| |__  _   _ ___  ___ _ __    ___ _ __ ___  __| |___ 
 \ \ /\ / / _ \ '_ \| | | / __|/ _ \ '__|  / __| '__/ _ \/ _` / __|
  \ V  V /  __/ |_) | |_| \__ \  __/ |    | (__| | |  __/ (_| \__ \
   \_/\_/ \___|_.__/ \__,_|___/\___|_|     \___|_|  \___|\__,_|___/

 _   _  ____ ___ _   ___  __   ____          _   _  __ _           _       
| \ | |/ ___|_ _| \ | \ \/ /  / ___|___ _ __| |_(_)/ _(_) ___ __ _| |_ ___ 
|  \| | |  _ | ||  \| |\  /  | |   / _ \ '__| __| | |_| |/ __/ _` | __/ _ \
| |\  | |_| || || |\  |/  \  | |__|  __/ |  | |_| |  _| | (_| (_| | ||  __/
|_| \_|\____|___|_| \_/_/\_\  \____\___|_|   \__|_|_| |_|\___\__,_|\__\___|

 _____                           _                         __ _       
| ____|_  ____ _ _ __ ___  _ __ | | ___    ___ ___  _ __  / _(_) __ _ 
|  _| \ \/ / _` | '_ ` _ \| '_ \| |/ _ \  / __/ _ \| '_ \| |_| |/ _` |
| |___ >  < (_| | | | | | | |_) | |  __/ | (_| (_) | | | |  _| | (_| |
|_____/_/\_\__,_|_| |_| |_| .__/|_|\___|  \___\___/|_| |_|_| |_|\__, |
                          |_|                                   |___/ 

### Example static ip config
### Replace <eth0> with the name of your physical interface name
#
#auto eth0
#iface eth0 inet static
# address 192.168.1.1
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
# dns-nameservers 192.168.1.1

### Example wireless config without 802.1x
### This configuration was tested with the IntelNUC series
### If problems occur you can try and change wpa-driver to "iwlwifi"
#
#auto wlan0
#iface wlan0 inet dhcp
#   wpa-driver wext
#   wpa-ssid <your_ssid_here_without_brackets>
#   wpa-ap-scan 1
#   wpa-proto RSN
#   wpa-pairwise CCMP
#   wpa-group CCMP
#   wpa-key-mgmt WPA-PSK
#   wpa-psk "<your_password_here_without_brackets>"

 ____ ____  _   _                             _                      __  __ 
/ ___/ ___|| | | |  _ __ ___   __ _ _ __ ___ (_)_ __   __ _    ___  / _|/ _|
\___ \___ \| |_| | | '__/ _ \ / _` | '_ ` _ \| | '_ \ / _` |  / _ \| |_| |_ 
 ___) |__) |  _  | | | | (_) | (_| | | | | | | | | | | (_| | | (_) |  _|  _|
|____/____/|_| |_| |_|  \___/ \__,_|_| |_| |_|_|_| |_|\__, |  \___/|_| |_|  
                                                      |___/                 
UseRoaming no
 ___           _        _ _ _                     _             
|_ _|_ __  ___| |_ __ _| | (_)_ __   __ _   _ __ | | ____ _ ___ 
 | || '_ \/ __| __/ _` | | | | '_ \ / _` | | '_ \| |/ / _` / __|
 | || | | \__ \ || (_| | | | | | | | (_| | | |_) |   < (_| \__ \
|___|_| |_|___/\__\__,_|_|_|_|_| |_|\__, | | .__/|_|\_\__, |___/
                                    |___/  |_|        |___/     
/usr/local/bin/elasticdump -> /usr/local/lib/node_modules/elasticdump/bin/elasticdump
/usr/local/bin/multielasticdump -> /usr/local/lib/node_modules/elasticdump/bin/multielasticdump
+ elasticdump@6.3.3
updated 2 packages in 14.48s
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (19.2.1)
Requirement already satisfied: elasticsearch-curator in /usr/local/lib/python2.7/dist-packages (5.7.6)
Requirement already satisfied: yq in /usr/local/lib/python2.7/dist-packages (2.7.2)
Requirement already satisfied: requests-aws4auth>=0.9 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (0.9)
Requirement already satisfied: voluptuous>=0.9.3 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (0.11.5)
Requirement already satisfied: certifi>=2019.3.9 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (2019.6.16)
Requirement already satisfied: urllib3<1.25,>=1.24.2 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (1.24.3)
Requirement already satisfied: boto3>=1.9.142 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (1.9.196)
Requirement already satisfied: click<7.0,>=6.7 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (6.7)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python2.7/dist-packages (from elasticsearch-curator) (1.12.0)
Requirement already satisfied: pyyaml==3.12 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (3.12)
Requirement already satisfied: requests>=2.20.0 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (2.22.0)
Requirement already satisfied: elasticsearch<8.0.0,>=7.0.0 in /usr/local/lib/python2.7/dist-packages (from elasticsearch-curator) (7.0.2)
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from yq) (41.0.1)
Requirement already satisfied: xmltodict>=0.11.0 in /usr/local/lib/python2.7/dist-packages (from yq) (0.12.0)
Requirement already satisfied: s3transfer<0.3.0,>=0.2.0 in /usr/local/lib/python2.7/dist-packages (from boto3>=1.9.142->elasticsearch-curator) (0.2.1)
Requirement already satisfied: botocore<1.13.0,>=1.12.196 in /usr/local/lib/python2.7/dist-packages (from boto3>=1.9.142->elasticsearch-curator) (1.12.196)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/local/lib/python2.7/dist-packages (from boto3>=1.9.142->elasticsearch-curator) (0.9.4)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests>=2.20.0->elasticsearch-curator) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests>=2.20.0->elasticsearch-curator) (3.0.4)
Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from s3transfer<0.3.0,>=0.2.0->boto3>=1.9.142->elasticsearch-curator) (3.3.0)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /usr/local/lib/python2.7/dist-packages (from botocore<1.13.0,>=1.12.196->boto3>=1.9.142->elasticsearch-curator) (2.8.0)
Requirement already satisfied: docutils<0.15,>=0.10 in /usr/local/lib/python2.7/dist-packages (from botocore<1.13.0,>=1.12.196->boto3>=1.9.142->elasticsearch-curator) (0.14)
  ____ _             _               _____     ____       _   
 / ___| | ___  _ __ (_)_ __   __ _  |_   _|   |  _ \ ___ | |_ 
| |   | |/ _ \| '_ \| | '_ \ / _` |   | |_____| |_) / _ \| __|
| |___| | (_) | | | | | | | | (_| |   | |_____|  __/ (_) | |_ 
 \____|_|\___/|_| |_|_|_| |_|\__, |   |_|     |_|   \___/ \__|
                             |___/                            
  ____                _                             
 / ___|_ __ ___  __ _| |_ ___   _   _ ___  ___ _ __ 
| |   | '__/ _ \/ _` | __/ _ \ | | | / __|/ _ \ '__|
| |___| | |  __/ (_| | ||  __/ | |_| \__ \  __/ |   
 \____|_|  \___|\__,_|\__\___|  \__,_|___/\___|_|   

 ____       _     _               _                              
/ ___|  ___| |_  | |__   ___  ___| |_ _ __   __ _ _ __ ___   ___ 
\___ \ / _ \ __| | '_ \ / _ \/ __| __| '_ \ / _` | '_ ` _ \ / _ \
 ___) |  __/ |_  | | | | (_) \__ \ |_| | | | (_| | | | | | |  __/
|____/ \___|\__| |_| |_|\___/|___/\__|_| |_|\__,_|_| |_| |_|\___|

    _       _  _           _                      _       
   / \   __| |(_)_   _ ___| |_   _ __   ___  _ __| |_ ___ 
  / _ \ / _` || | | | / __| __| | '_ \ / _ \| '__| __/ __|
 / ___ \ (_| || | |_| \__ \ |_  | |_) | (_) | |  | |_\__ \
/_/   \_\__,_|/ |\__,_|___/\__| | .__/ \___/|_|   \__|___/
            |__/                |_|                       
[Socket]
ListenStream=
ListenStream=64294

Port 64295

 ____ _____  _    _   _ ____    _    ____  ____  
/ ___|_   _|/ \  | \ | |  _ \  / \  |  _ \|  _ \ 
\___ \ | | / _ \ |  \| | | | |/ _ \ | |_) | | | |
 ___) || |/ ___ \| |\  | |_| / ___ \|  _ <| |_| |
|____/ |_/_/   \_\_| \_|____/_/   \_\_| \_\____/ 

 ____        _ _   _                                 
|  _ \ _   _| | | (_)_ __ ___   __ _  __ _  ___  ___ 
| |_) | | | | | | | | '_ ` _ \ / _` |/ _` |/ _ \/ __|
|  __/| |_| | | | | | | | | | | (_| | (_| |  __/\__ \
|_|    \__,_|_|_| |_|_| |_| |_|\__,_|\__, |\___||___/
                                     |___/           
1903: Pulling from dtagdevsec/dionaea
Digest: sha256:5a80ae40415d9412ab37f66f4743de8ba90424751d8ebe75f3368c1528d6a4be
Status: Image is up to date for dtagdevsec/dionaea:1903
1903: Pulling from dtagdevsec/kibana
Digest: sha256:e34843342901cb659e76df16a229903cbda5bd74765bc55bcb0b5b5058be0735
Status: Image is up to date for dtagdevsec/kibana:1903
1903: Pulling from dtagdevsec/tanner
Digest: sha256:8d4feeeb95d9ac4aa5ff36cc6584dcfecb1a187d70e5fdc3790f9c35033a4c4d
Status: Image is up to date for dtagdevsec/tanner:1903
1903: Pulling from dtagdevsec/conpot
Digest: sha256:12f15c9b533eaa17275be06631c94404cc864d869727891caf534a5eace33c05
Status: Image is up to date for dtagdevsec/conpot:1903
1903: Pulling from dtagdevsec/logstash
Digest: sha256:db8e5e2fb700d89dc7392291d2cac2ccf0435eee2c851dcf07c2efe1f2a400e9
Status: Image is up to date for dtagdevsec/logstash:1903
1903: Pulling from dtagdevsec/cowrie
Digest: sha256:389a67c802276dcd91e340a9939924f8a9c10f3c6266292f3a5f41c90e2e86bb
Status: Image is up to date for dtagdevsec/cowrie:1903
1903: Pulling from dtagdevsec/phpox
Digest: sha256:203d8c2171ad4f1c88553a4142df7ff84c81fa1efc19661a55125a086d76d15b
Status: Image is up to date for dtagdevsec/phpox:1903
1903: Pulling from dtagdevsec/honeytrap
Digest: sha256:34f971f503c684640503259df839ca596f7ad49935427b08891addf81a92bb9a
Status: Image is up to date for dtagdevsec/honeytrap:1903
1903: Pulling from dtagdevsec/adbhoney
Digest: sha256:d8cd5451fe6a992dd78b357578c6372503ae4d187bc9a448b246620758a2ae12
Status: Image is up to date for dtagdevsec/adbhoney:1903
1903: Pulling from dtagdevsec/head
Digest: sha256:690b34e9fb2f7a05aa29ba07c636e46387f064255f25c8f7b82367ad2a2f3c3b
Status: Image is up to date for dtagdevsec/head:1903
1903: Pulling from dtagdevsec/medpot
Digest: sha256:2c0e1bfc8deac0718b67b0f5f46858fb127180073d9ac624fe06b3fdb4fdb503
Status: Image is up to date for dtagdevsec/medpot:1903
1903: Pulling from dtagdevsec/rdpy
Digest: sha256:8dcb6d1baffec76e88a4d9a2986c5d7061cbeb385cb51a3e38b2c374e1e2d2c7
Status: Image is up to date for dtagdevsec/rdpy:1903
1903: Pulling from dtagdevsec/elasticpot
Digest: sha256:b3540aade2c4632b5d0c458045225a1893fc30a9cb67e5aa8fdfa7bde9193fef
Status: Image is up to date for dtagdevsec/elasticpot:1903
1903: Pulling from dtagdevsec/heralding
Digest: sha256:5775a5e8ae8e499db239391c0eb9f4b7a9f298191c3e340eb3a35a6aa48e56da
Status: Image is up to date for dtagdevsec/heralding:1903
1903: Pulling from dtagdevsec/elasticsearch
Digest: sha256:870f98b9780053b7079c094029cfa2cf5c8516e1ff5a2b7dba7c8daf50e4666a
Status: Image is up to date for dtagdevsec/elasticsearch:1903
1903: Pulling from dtagdevsec/mailoney
Digest: sha256:a09dccec06d56c09bf3f2618c380eeb007fdb0a0739c860fe4d879e93804ff39
Status: Image is up to date for dtagdevsec/mailoney:1903
1903: Pulling from dtagdevsec/nginx
6c40cc604d8e: Already exists
1903: Pulling from dtagdevsec/spiderfoot
Digest: sha256:ec7ea5648f4787b5574c9a403f1fd4fba7cca2a43d54034452da6c5c5ebaa7ff
Status: Image is up to date for dtagdevsec/spiderfoot:1903
1903: Pulling from dtagdevsec/ciscoasa
Digest: sha256:1f7b76ead388bd6c5f0e0ec1aab94c43c940b4df253feb8afc151b7c5a67c21d
Status: Image is up to date for dtagdevsec/ciscoasa:1903
1903: Pulling from dtagdevsec/p0f
Digest: sha256:d782546f615bd89af90c162f32c506766037637ab761f4dde1977486abc653b3
Status: Image is up to date for dtagdevsec/p0f:1903
1903: Pulling from dtagdevsec/redis
Digest: sha256:2140347980496b9e4b1c431da0aee523058a9c1b56753e88f85457ea12143a71
Status: Image is up to date for dtagdevsec/redis:1903
1903: Pulling from dtagdevsec/ewsposter
Digest: sha256:8cf675908eb47349d3ca9b031006980d4204b8b0dd0faa7a44840fd86b980a41
Status: Image is up to date for dtagdevsec/ewsposter:1903
6715e85ce4f8: Already exists
1903: Pulling from dtagdevsec/cyberchef
Digest: sha256:6fd639213bd8fe8d5e0d6567e39e798db3d86f41ead6478c8dba908e01ab158b
Status: Image is up to date for dtagdevsec/cyberchef:1903
0da57847a60d: Already exists
1903: Pulling from dtagdevsec/suricata
Digest: sha256:ace5b27768a278dfa40827c7b050a9172928acb1e1f2790d03d73cb1c4cf86c1
Status: Image is up to date for dtagdevsec/suricata:1903
1903: Pulling from dtagdevsec/snare
Digest: sha256:51b1771eced8c834b7efe210a174264a09d9b1ac81dc9b52cf741f92fde49d12
Status: Image is up to date for dtagdevsec/snare:1903
Digest: sha256:d07b96a3362fc539adfd33a6efe1169a3c45071668
JohnDoe3000 commented 5 years ago

Theare aren't any files in /data/nginx/conf/nginxpasswd_ regarding the error "htpasswd: cannot create file /data/nginx/conf/nginxpasswd"

t3chn0m4g3 commented 5 years ago

Based on the install.err you did not freshly install on a new system. You have to install on a freshly installed system on which the T-Pot installer was never executed.

Because of that you are getting errors like...

fatal: destination path '/opt/tpot' already exists and is not an empty directory.
addgroup: The group `tpot' already exists.
adduser: The user `tpot' already exists, but is not a system user. Exiting.
ln: failed to create symbolic link '/opt/tpot/etc/tpot.yml': File exists

Closing this, please perform a fresh install.