CentOS 7 issues

ben29

Verified User
Joined
Jul 20, 2006
Messages
449
Location
Israel
found few bugs on centos 7:


  1. Freshclam and clamav goes down everytime. It's look like it is not compile with centos 7. See screenshots.
  2. Let's say I would like to rewrite or rebuild htpd . it's stuck on the reset.
  3. Proftpd has a problem on restart/start "Sep 13 15:27:54 server systemd: PID file /run/proftpd/proftpd.pid not readable (yet?) after start."
  4. On "custom HTTPD Configurations" , when I chose website to edit. On Configuration Check , I get "The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl."

Thanks

1.PNG2.PNGI
 
Hello,

I've moved these issues to the CentOS 7 forum, as they're not really related to the changes in 1.46.0.

1) I'm not sure about clamav.. I checked build and it does create /var/run/clamd.
Perhaps there is a clamd log if it doesn't start?
Check /var/log/messages or any other related log.

2) I've completely redone the /etc/systemd/system/httpd.services file, as I was also having issues with Type=notify option.. kept hanging on both the stop and start.
I changed it to Type=forking (and various other settings that are more appropriate) and it now works much better.
Code:
wget -O /etc/systemd/system/httpd.services http://files1.directadmin.com/services/custombuild/2.0/custombuild/configure/systemd/httpd.service
systemctl daemon-reload
but to allow for smooth restarts, I've also changed the DA binaries to do use the "graceful" method by default. (which actually calls a reload for CentOS 7, because systemd doesn't support "graceful", then we have ExecReload set to do a graceful restart)

3) I've added a "mkdir -p /var/run/proftpd" to the proftpd.sh installer script. CB2 does run it, but proftpd might not be compiled by default, in which case it wouldn't run.

4) Fixed that, changed it to use a direct "/usr/sbin/httpd -t" call, because again, systemd doesn't support the extra options like configtest.

Hopefully that helps straighten out a few things...

John
 
I experienced the same issue with ClamAV and Spamassassin. Don't have the exact log lines anymore but systemd was complaining "holdoff time over, scheduling restart" on both services. I fixed the issue by using the *.service files provided by CentOS RPMs instead.
 
Please try the following to fix SpamAssassin/ClamAV problem:
Code:
cd /usr/local/directadmin/custombuild
./build set downloadserver files1.directadmin.com
./build update
./build spamassassin
./build clamav
 
Sorry to say that, but having no idea about versions I've selected MariaDB and 5.6. CustomBuild/setup.sh accepted it, and during installation they stopped the process with an error. Since that I met various issues with installing Directadmin on CentOS 7. Had to install MariaDB-5.5.39-centos6-x86_64-compat.rpm

Code:
wget http://mirror.mephi.ru/mariadb/mariadb-5.5.39/yum/centos6-amd64/rpms/MariaDB-5.5.39-centos6-x86_64-compat.rpm
rpm -i MariaDB-5.5.39-centos6-x86_64-compat.rpm

as they complained about missing requires MariaDB-5.5.39-centos6-x86_64-compat

And what about MariaDB-5.5.39-centos6-x86_64-compat? Is it needed?
 
Back
Top