Can't Login - fresh DA install on CentOS 8

zwankie

Verified User
Joined
Apr 19, 2020
Messages
92
Hi guys,

I just installed a fresh trial on CentOS8
The installation seemed to have gone ok.

I can open http://server-ip:2222 and the login page opens.

When is use the details in /usr/local/directadmin/scripts/setup.txt it does not work.
adminname=admin
adminpass=xxxxxxxxxxxxx

There is lots of space, no full partitions because the install is new.
I check the time setting - ok
I restarted but same problem

When i do passwd admin command then there is no user admin.

Any advice, this is crazy to have such issues on a fresh new install.

Cheers
 
Hi guys,

I just installed a fresh trial on CentOS8
The installation seemed to have gone ok.

I can open http://server-ip:2222 and the login page opens.

When is use the details in /usr/local/directadmin/scripts/setup.txt it does not work.
adminname=admin
adminpass=xxxxxxxxxxxxx

There is lots of space, no full partitions because the install is new.
I check the time setting - ok
I restarted but same problem

When i do passwd admin command then there is no user admin.

Any advice, this is crazy to have such issues on a fresh new install.

Cheers

That’s strange. Admin user should be there. Try:
Code:
/usr/local/directadmin/directadmin i

I hope it helps!
 
Hooray, that worked.

Thanks, what could be the cause and how to prevent it in future?
 
Hooray, that worked.

Thanks, what could be the cause and how to prevent it in future?
I am not sure. Do you have output from the installation saved? If yes, you may PM it to me, it might have more info.
 
Truncated.

Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successful
Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf successful
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf successful
directory /usr/local/directadmin/data created
directory ./data/admin created
directory /usr/local/directadmin/data/tickets created
directory ./data/users created
directory /home/tmp created
directory /usr/local/directadmin/data/sessions created
directory /etc/virtual created
directory /var/spool/virtual created
directory ./data/admin/ips created
directory ./data/admin/packages created
file ./data/admin/packages.list created
ip.list written successfully
./data/admin/login.hist written successfully
./data/admin/next_ticket.number written correctly
./data/admin/services.status written successfully
tickets.list written successfully
*** Error creating Admin User : ./data/users/admin/user.usage : Unable to get Lock on file:<br>
open error for ./data/users/admin/user.usage.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
./data/users/admin/domains.list : Unable to get Lock on file:<br>
open error for ./data/users/admin/domains.list.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
./data/users/admin/user.conf : Unable to get Lock on file:<br>
open error for ./data/users/admin/user.conf.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
Unable to get Lock on file:<br>
open error for ./data/users/admin/reseller.usage.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
Unable to get Lock on file:<br>
open error for ./data/users/admin/users.list.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
Unable to get Lock on file:<br>
open error for ./data/users/admin/reseller.conf.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
Unable to get Lock on file:<br>
open error for ./data/users/admin/reseller.allocation.lock: No such file or directory<br>
./data/users/admin: No such file or directory<br>
<br>
Unix User created successfully<br>
<br>
<b>Error with system Quotas</b><br>
xfs_quota: cannot set limits: Function not implemented
<br>
<a href='http://help.directadmin.com/item.php?id=42'>Debug Guide</a><br>
User's data directory created successfully<br>
Domains directory created successfully<br>
Domains directory created successfully in user's home<br>
<br>
Unable to read the system ftp passwd file to add the user to it.<br>
<br>
User added to ssh config file.<br>

## INSTALL_COMPLETE
## ACCOUNT_INFO
 
Looks like there are many issues with the DA install on CentOS8.

Cannot update the hostname, won't accept anything xx.xxxxxxxx.xxx

When errors starting Exim
Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system
/lib/systemd/system/exim.service

Errors with Dovecot
Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system
/lib/systemd/system/dovecot.service

Errors with popb4smtp
Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system
/lib/systemd/system/da-popb4smtp.service

Mail Queue Error
Error with queue size: sh: /usr/sbin/exim: No such file or directory

Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system
/lib/systemd/system/php-fpm73.service

Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system
/lib/systemd/system/pure-ftpd.service

Are these normal?
 
Your installation failed earlier. Command provided was not enough. I’d simply suggest reinstallation, that should work..

Code:
cd /root
wget -O setup.sh directadmin.com/setup.sh
./setup.sh auto beta

If any issues - feel free to PM me and I could check it directly on your server free of charge.
 
@istartcloud
Which version are you now using on your production server?

Can we use already CentOS8 64bit for production servers with DirectAdmin or is there only a beta out of it at moment?
Otherise which CentOS version is recoomend to use on a new server?

Greets
 
I'm testing DA on CentOS8 64bit now.
Have a few things still to resolve.
 
Just some advice @alwaysbusy, don't skimp on test vps RAM.
I initially tried with a small vps and 1GB RAM but it cause issues.
2GB RAM and 2GB Swap space worked well but you can obviously go as big as you want.

Follow the steps and pre-installs for CentOS8 and you should be fine.

I've posted some other issues I'm facing in separate places but no responses yet.
 
Do you face problems with CentOS itself or have only some other things to resolve like personal scripts etc?

Greets
No issues with CentOS8 at all.
No issues with CloudLinux 8 at all.

My issues were to little RAM to build DA.
Now some config and setup problems with DA I'm waiting for feedback/advice on.
 
Just some advice @alwaysbusy, don't skimp on test vps RAM.
I initially tried with a small vps and 1GB RAM but it cause issues.
2GB RAM and 2GB Swap space worked well but you can obviously go as big as you want.

Follow the steps and pre-installs for CentOS8 and you should be fine.

I've posted some other issues I'm facing in separate places but no responses yet.

I got for testing a VPS with 4GB RAM, that should be fine, i guess.
 
Back
Top