We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
problem with HTTPD
problem with HTTPD
Hello, I have Centos 6.10 fresh installation, installed the php switcher but now I get service httpd restart FAILED, it wont restart.
tried this same:
this same:
tried this same:
Code: Select all
~]# /usr/local/vesta/bin/v-rebuild-web-domains admin
Error: httpd restart failed
Code: Select all
[root@vps233197 ~]# bash sk-php-selector2.sh all
You have remi repo installed and run:
CentOS release 6.10 (Final)
##########
Start installing aditional php version
##########
Actually you runing php 7.3, so I will skip it
You Select install all php versions
Instaling PHP 5.4
........
PHP 54 Ready!
Instaling PHP 5.5
.......
PHP 55 Ready!
Instaling PHP 5.6
.......
PHP 56 Ready!
Installing PHP 7.0
.......
PHP 70 Ready!
Installing PHP 7.1
.......
PHP 71 Ready!
Installing PHP 7.2
.......
PHP 72 Ready!
Skip PHP 7.3 actually installed
Installing PHP 7.4
Error: Nothing to do
.......
PHP 74 Ready!
################################
Aditional PHP versión installed!
More info on skamasle.com or forum.vestacp.com or follwme in twiter @skamasle
################################
[root@vps233197 ~]# cd /usr/local/vesta/data/templates/web/httpd/
[root@vps233197 httpd]# replace -v "IncludeOptional %home%/%user%/conf/web/httpd .%domain%.conf*" "Include %home%/%user%/conf/web/httpd.%domain%.conf*" -- sk*.tp l > /dev/null
User time 0.00, System time 0.00
Maximum resident set size 1100, Integral resident set size 0
Non-physical pagefaults 406, Physical pagefaults 0, Swaps 0
Blocks in 0 out 56, Messages in 0 out 0, Signals 0
Voluntary context switches 1, Involuntary context switches 1
[root@vps233197 httpd]# replace -v "IncludeOptional %home%/%user%/conf/web/shttp d.%domain%.conf*" "Include %home%/%user%/conf/web/shttpd.%domain%.conf*" -- sk*. stpl > /dev/null
User time 0.00, System time 0.00
Maximum resident set size 1100, Integral resident set size 0
Non-physical pagefaults 407, Physical pagefaults 0, Swaps 0
Blocks in 0 out 56, Messages in 0 out 0, Signals 0
Voluntary context switches 2, Involuntary context switches 4
Code: Select all
[root@vps233197 ~]# tail -f /var/log/vesta/error.log
2020-02-19 15:38:40 v-rebuild-web-domains 'admin' [Error 20]
2020-02-19 15:38:48 v-restart-service 'httpd' [Error 20]
2020-02-19 15:38:51 v-restart-service 'httpd' [Error 20]
2020-02-19 15:39:03 v-restart-web [Error 20]
2020-02-19 15:39:09 v-restart-service 'httpd' [Error 20]
2020-02-19 15:40:55 v-restart-service 'httpd' [Error 20]
2020-02-19 15:46:55 v-restart-web [Error 20]
2020-02-19 15:46:55 v-rebuild-web-domains 'admin' [Error 20]
2020-02-19 15:46:59 v-restart-web [Error 20]
2020-02-19 15:46:59 v-rebuild-web-domains 'admin' [Error 20]
Re: problem with HTTPD
What about logs from /var/log/httpd/error_log when trying to start httpd?