castris
Verified User
Hi.
I have inherited a system with Directadmin and ubuntu 20.04
When going to install wiki.js I ran into a MySQL accessibility problem.
The reason is that the software does not detect or validate the configuration for accessing the database.
After verifying in the shell that the data was correct, note that the user cannot access via localhost in said software, but in the shell he can.
When checking, I saw a localhost resolution problem
Any ideas?
I have inherited a system with Directadmin and ubuntu 20.04
When going to install wiki.js I ran into a MySQL accessibility problem.
The reason is that the software does not detect or validate the configuration for accessing the database.
After verifying in the shell that the data was correct, note that the user cannot access via localhost in said software, but in the shell he can.
When checking, I saw a localhost resolution problem
Bash:
# host localhost
Host localhost not found: 3(NXDOMAIN)
Checking the /etc/hosts file
Bash:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain
127.0.1.1 server-myhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Checking /etc/nsswitch.conf
Code:
hosts: files dns
networks: files
Any ideas?