Hi, i was trying to install an ssl on a domain. followed all the steps, it didnt worked, find out some logs it shows error while starting apache that it has erro on the same configuration in vhost file potion of config is below
I removed all the added lines from panel, for overriding ssl also, it doesnt work, not even apache is running, observed few more issues after this
apt-get command is now not working, error while starting apache
systemctl result
Can anyone please help this issue my all sites are down
Code:
# DOMAIN: ukrphoenix.com
<virtualhost *:443>
ServerName ukrphoenix.com
ServerAlias www.ukrphoenix.com
ServerAdmin ukrphoenix@afterdoor.com
DocumentRoot "/var/sentora/hostdata/ukrphoenix/public_html/ukrphoenix_com"
php_admin_value open_basedir "/var/sentora/hostdata/ukrphoenix/public_html/ukrphoenix_com:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/ukrphoenix/ukrphoenix.com-error.log"
CustomLog "/var/sentora/logs/domains/ukrphoenix/ukrphoenix.com-access.log" combined
CustomLog "/var/sentora/logs/domains/ukrphoenix/ukrphoenix.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/ukrphoenix/public_html/ukrphoenix_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 403 /_errorpages/403.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
SSLEngine on
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/ukrphoenix/ukrphoenix_com.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/ukrphoenix/ukrphoenix_com.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/ukrphoenix/ukrphoenix_com.ca-bundle
I removed all the added lines from panel, for overriding ssl also, it doesnt work, not even apache is running, observed few more issues after this
apt-get command is now not working, error while starting apache
Code:
Redirecting to /bin/systemctl restart apache2.service
Failed to issue method call: Unit apache2.service failed to load: No such file or directory.
systemctl result
Code:
proc-sys-fs-binfmt_misc.automount loaded failed failed Arbitrary Executable File Formats File System Automount Point
sys-devices-virtual-net-gre0.device loaded active plugged /sys/devices/virtual/net/gre0
sys-devices-virtual-net-gretap0.device loaded active plugged /sys/devices/virtual/net/gretap0
sys-devices-virtual-net-venet0.device loaded active plugged /sys/devices/virtual/net/venet0
sys-subsystem-net-devices-gre0.device loaded active plugged /sys/subsystem/net/devices/gre0
sys-subsystem-net-devices-gretap0.device loaded active plugged /sys/subsystem/net/devices/gretap0
sys-subsystem-net-devices-venet0.device loaded active plugged /sys/subsystem/net/devices/venet0
-.mount loaded active mounted /
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
brandbot.path loaded active waiting Flexible branding
cups.path loaded active waiting CUPS Printer Service Spool
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
session-83326705.scope loaded active running Session 83326705 of user root
session-83326867.scope loaded active running Session 83326867 of user root
session-83326931.scope loaded active abandoned Session 83326931 of user root
atd.service loaded active running Job spooling tools
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
console-getty.service loaded active running Console Getty
crond.service loaded active running Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
dovecot.service loaded active running Dovecot IMAP/POP3 email server
getty@tty2.service loaded active running Getty on tty2
httpd.service loaded failed failed The Apache HTTP Server
mariadb.service loaded active running MariaDB database server
named.service loaded active running Berkeley Internet Name Domain (DNS)
network.service loaded active exited LSB: Bring up/down networking
postfix.service loaded failed failed Postfix Mail Transport Agent
proftpd.service loaded active running ProFTPD FTP Server
quotaon.service loaded active exited Enable File System Quotas
rhel-dmesg.service loaded active exited Dump dmesg to /var/log/dmesg
rhel-readonly.service loaded active exited Configure read-only root support
sshd.service loaded active running OpenSSH server daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-sysctl.service loaded failed failed Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded failed failed Setup Virtual Console
-.slice loaded active active Root Slice
system-getty.slice loaded active active system-getty.slice
system.slice loaded active active System Slice
Can anyone please help this issue my all sites are down