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.

vHost file auto changed after a period ???
#31
RE: vHost file auto changed after a period ???
Hi buddy

Suddenly I can not login sentora panel - Server not found; then few sites can not work: server DNS address could not be found; while few other sites are working normally; although all sites in this VPS

Please help me with this
Reply
Thanks given by:
#32
RE: vHost file auto changed after a period ???
(01-17-2017, 12:11 PM)7rdoq Wrote: Hi buddy

Suddenly I can not login sentora panel - Server not found; then few sites can not work: server DNS address could not be found; while few other sites are working normally; although all sites in this VPS

Please help me with this

Sounds like issues with your DNS and possibly https-vhosts.conf file. Have you done any customizing?
PM me your site links and I'll take a look.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#33
RE: vHost file auto changed after a period ???
Hi!

There is any way to run manually the script that replaces Vhost file?

It's for test purpose.

Best regards.
Reply
Thanks given by:
#34
RE: vHost file auto changed after a period ???
(04-04-2017, 04:04 AM)FernandoGarcia Wrote: Hi!

There is any way to run manually the script that replaces Vhost file?

It's for test purpose.

Best regards.

Code:
sudo /usr/bin/php -q /etc/sentora/panel/bin/daemon.php
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#35
RE: vHost file auto changed after a period ???
(04-04-2017, 04:08 AM)TGates Wrote:
Code:
sudo /usr/bin/php -q /etc/sentora/panel/bin/daemon.php

Hi!

Thanks for your answer but I think this command is to force daemon. I want know which command replaces 'httpd-vhosts.conf' file.

Best regards.
Reply
Thanks given by:
#36
RE: vHost file auto changed after a period ???
(04-11-2017, 12:27 AM)FernandoGarcia Wrote: Hi!

Thanks for your answer but I think this command is to force daemon. I want know which command replaces 'httpd-vhosts.conf' file.

Best regards.

https://github.com/sentora/sentora-core/...n.hook.php
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#37
RE: vHost file auto changed after a period ???
(04-11-2017, 02:24 AM)TGates Wrote: https://github.com/sentora/sentora-core/...n.hook.php

Thanks but this command is not replacing the file.

The output:
Code:
START Apache Config Hook.
Apache Admin module ENABLED...
Apache Config has NOT changed...nothing to do.
END Apache Config Hook.
Reply
Thanks given by:
#38
RE: vHost file auto changed after a period ???
Huh

Ok, if you force run the daemon, it will update the httpd-vhosts.conf

But, there is another command line that will set it to 'true' in the DB so whenever the daemon runs it will also rewrite the file.

I am running out to work as I type, but will have to look it up when I get home unless somebody else pops in and answers Wink
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: FernandoGarcia
#39
RE: vHost file auto changed after a period ???
Hi!
Any news Tgates?
Best regards.
Reply
Thanks given by:
#40
RE: vHost file auto changed after a period ???
Command line:
Code:
sudo setso --set apache_changed true
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,784 01-11-2022, 05:01 AM
Last Post: Nigel
Site Not Updating changes made in The HTML file me7leelee 4 9 ,198 05-20-2020, 06:29 PM
Last Post: 5050
How to give the cliens file manager access to their respective domain directory vsvinit0 4 10 ,440 10-09-2019, 10:05 PM
Last Post: vsvinit0

Forum Jump:


Users browsing this thread: 8 Guest(s)