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.

Apache stop working after make guide from forum
#1
Apache stop working after make guide from forum
When i make this guide : http://forums.sentora.org/showthread.php?tid=1758 have one wrong.
I added </virtualhost> after the script, and when try to restart httpd service - cant start again.

Code:
[root@ ~]# systemctl start httpd.service
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.

Code:
[root@ ~]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
   Active: failed (Result: exit-code) since Sun 2015-08-16 13:57:04 EEST; 28s ago
  Process: 32568 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 32566 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=203/EXEC)
 Main PID: 32566 (code=exited, status=203/EXEC)

Aug 16 13:57:04 systemd[1]: Starting The Apache HTTP Server...
Aug 16 13:57:04 systemd[32566]: Failed at step EXEC spawning /usr...d
Aug 16 13:57:04 systemd[1]: httpd.service: main process exited, ...EC
Aug 16 13:57:04 kill[32568]: kill: cannot find process ""
Aug 16 13:57:04 systemd[1]: httpd.service: control process exite...=1
Aug 16 13:57:04 systemd[1]: Failed to start The Apache HTTP Server.
Aug 16 13:57:04 systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

I try to update Global Sentora Entry mysql value from shell - but nothing.
Reply
Thanks given by:
#2
RE: Apache stop working after make guide from forum
(08-16-2015, 09:00 PM)kini Wrote: I added </virtualhost> after the script, and when try to restart httpd service - cant start again.

This is what when wrong..
Just remove everything at "Server Admin" > "Module Admin" > "Apache Config" > "Global Sentora Entry".
Select "Force Update" at the bottom and save.
Run the daemon manually thru SSH (php -q /etc/sentora/panel/bin/daemon.php) to speed things up.
Then try to restart your httpd service again.

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: Apache stop working after make guide from forum
(08-16-2015, 09:14 PM)Ron-e Wrote:
(08-16-2015, 09:00 PM)kini Wrote: I added </virtualhost> after the script, and when try to restart httpd service - cant start again.

This is what when wrong..
Just remove everything at "Server Admin" > "Module Admin" > "Apache Config" > "Global Sentora Entry".
Select "Force Update" at the bottom and save.
Run the daemon manually thru SSH (php -q /etc/sentora/panel/bin/daemon.php) to speed things up.
Then try to restart your httpd service again.

im trying second times with this command in shell: UPDATE x_settings SET so_value_tx='', so_defvalues_tx='' WHERE so_id_pk='87';

I cant do it with phpmyadmin and in sentora - remember: httpd cant start

but nothing again..
Reply
Thanks given by:
#4
RE: Apache stop working after make guide from forum
You can also remove the part you added from the etc/sentora/configs/apache/httpd-vhosts.conf file and then restart httpd..
And then before the daemon runs again fix the global entry in Sentora itself.

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:
#5
RE: Apache stop working after make guide from forum
(08-16-2015, 10:14 PM)Ron-e Wrote: You can also remove the part you added from the etc/sentora/configs/apache/httpd-vhosts.conf file and then restart httpd..
And then before the daemon runs again fix the global entry in Sentora itself.

I make this early and not help me. Apache cant start Huh
Reply
Thanks given by:
#6
RE: Apache stop working after make guide from forum
If the problem is what you have added to the Global Sentora Entry, you can edit the httpd-vhosts.conf file thru ssh/sftp/whatever you like to use so httpd starts again..
the Global Sentora Entry is written in to the httpd-vhosts.conf file.
You don't need httpd to edit the httpd-vhosts.conf 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:
#7
RE: Apache stop working after make guide from forum
(08-16-2015, 11:22 PM)Ron-e Wrote: If the problem is what you have added to the Global Sentora Entry, you can edit the httpd-vhosts.conf file thru ssh/sftp/whatever you like to use so httpd starts again..
the Global Sentora Entry is written in to the httpd-vhosts.conf file.
You don't need httpd to edit the httpd-vhosts.conf file.

You dont understand my last post. The first thing I did is this, before i publish thread here. I remove the rows. The problem IS NOT FIXED.. Undecided
Reply
Thanks given by:
#8
RE: Apache stop working after make guide from forum
Strange.. then i don't know what it is..
Maybe post your httpd-vhosts.conf to take a look at another fault in there?
Have you changed other things in the recent history?

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:
#9
RE: Apache stop working after make guide from forum
(08-16-2015, 11:37 PM)Ron-e Wrote: Strange.. then i don't know what it is..
Maybe post your httpd-vhosts.conf to take a look at another fault in there?
Have you changed other things in the recent history?

No, i dont touch anything. Before 1 day i install whmcs_module but i remove it.

This is httpd-vhosts.conf

I'm not sure for this: UPDATE x_settings SET so_value_tx='NULL', so_defvalues_tx='NULL' WHERE so_id_pk='87';
My second dedicated server is with sentora 1.0.3, but now i try to fix this problem in 1.0.0 version. What is the function id in mysql table on 1.0.0 version (id 87 - is on 1.0.3).?

Code:
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName domain.com
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
   AllowOverride All
   Require all granted
</Directory>

# Custom settings are loaded below this line (if any exist)

</VirtualHost>  <--- i added this here now because i see file from another my dedicated server with fresh install

################################################################
# Sentora generated VHOST configurations below.....
################################################################
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 15 ,915 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 9 ,319 12-23-2020, 03:31 PM
Last Post: djkashdui1
Install guide wget over http? edavidf 5 11 ,174 12-15-2020, 07:07 PM
Last Post: jibranahmed

Forum Jump:


Users browsing this thread: 3 Guest(s)