This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Failed to start everything After installing ssl
#1
Failed to start everything After installing ssl
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

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 Sad
Daman Mokha
My Facebook | My Twitter
Reply
Thanks given by:
#2
RE: Failed to start everything After installing ssl
a wild guess but is <virtualhost *:443> closed in your vhost file?

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#3
RE: Failed to start everything After installing ssl
(06-24-2017, 05:11 PM)Ron-e Wrote: a wild guess but is <virtualhost *:443> closed in your vhost file?

Yes checked, its closed. forgot to copy. its closed.  now i have removed the ssl portion also, but unable to start anything.


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
</virtualhost>
# END DOMAIN: ukrphoenix.com
################################################################
Daman Mokha
My Facebook | My Twitter
Reply
Thanks given by:
#4
RE: Failed to start everything After installing ssl
(06-24-2017, 04:34 PM)damanmokha Wrote:
Code:
Redirecting to /bin/systemctl restart  apache2.service
Failed to issue method call: Unit apache2.service failed to load: No such file or directory.

Are you on ubuntu?
Your profile says Centos and then you use httpd not apache2.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by: damanmokha
#5
RE: Failed to start everything After installing ssl
(06-24-2017, 06:15 PM)Ron-e Wrote: Are you on ubuntu?
Your profile says Centos and then you use httpd not apache2
Hi, yes m on ubutnu, profile message is old sorry for that, will update eve! I tried -r for re checking version and all it also says command not found.
Daman Mokha
My Facebook | My Twitter
Reply
Thanks given by:
#6
RE: Failed to start everything After installing ssl
Hi, so sorry this was my bad, i am writing all commands for ubuntu, I installed this OS in 2014, after that for new installations i am using only ubuntu so that skipped though my mind. So sorry this was my bad its up now.
Thank you so much.
Daman Mokha
My Facebook | My Twitter
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
sentora creates vhost but it displays the apache start page timce2000 4 10 ,793 06-17-2018, 11:31 AM
Last Post: TGates
SQL Job failed to start itzdaniel483 1 4 ,629 05-30-2018, 04:22 PM
Last Post: TGates
New To Sentora - Help Installing Software After Install shurimano 1 5 ,132 05-23-2018, 05:26 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 2 Guest(s)