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 ???
#21
RE: vHost file auto changed after a period ???
thank so much, TGates

It may work now, I'll check this some days to know

Regards
Reply
Thanks given by:
#22
RE: vHost file auto changed after a period ???
Right on, keep us updated!
-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:
#23
RE: vHost file auto changed after a period ???
Hi buddy

Today, suddenly I get this error


Quote:Critical Error: [0100] - Unable to connect or authenticate to the Sentora database (sentora_core).


Google it, I find this topic
Critical Error: [0100] - Unable to connect or authenticate to the Sentora database (sentora_core)

Then it leads to this topic
panel down and cannot connect

And I can not check MySQL with commands in Critical Error: [0100] - Unable to connect or authenticate to the Sentora database (sentora_core); they give errors "No such file or directory". And basically, all solutions in these above topics can not solve mine, so I try to restart server then everything is okay.

My question here: the custom VHost setting may give this error? Or may tell me why this error occurs? Because I didn't touch any config in server / sentora panel from my last post above

Many thanks
Reply
Thanks given by:
#24
RE: vHost file auto changed after a period ???
First, its always better to start a new topic than to continue an old topic Wink

If you didn't change anything, the first thing that comes to mind is make sure you have enough disk space. Your logs may be getting to large and eating it up. Some can be cleared out (/var/sentora/logs/sentora*.log) There are more, you can check the /var/sentora/logs/domains/[domainname]/ and see if any sites are creating too many errors (and fix them) so the error logs stay small.

I don't see how a vhost entry has anything to do with the database, so that shouldn't be the problem.
-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: 7rdoq
#25
RE: vHost file auto changed after a period ???
thank you so much, these log files are really big but disk space is still okay, so I think disk space is not problem

I also can not see any log of MySQL in these 2 dirs?

And may you guide me how to turn off (disable) access & bandwidth logs for both sites & sentora?

Thanks
---

I just delete these files manually, sentora shall auto create them?
Reply
Thanks given by:
#26
RE: vHost file auto changed after a period ???
Currently there is no simple way of removing them. And, you really should not remove them since Sentora uses them for account control like disabling accounts for exceeded bandwidth and access logs are good to see if your site is being compromised or attacked. You may want to look into logrotate to help keep them smaller.
-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:
#27
RE: vHost file auto changed after a period ???
yes, thank you, but I use VPS for my sites only

And these files auto created by sentora after deleted? or they'll be deleted permanently?
Reply
Thanks given by:
#28
RE: vHost file auto changed after a period ???
If deleted, they should be recreated. I usually just open them up and remove the older contents and resave.
-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: 7rdoq
#29
RE: vHost file auto changed after a period ???
yes, but some my files are gigabytes Smile so there's any way to delete their content automatically after some days?
Reply
Thanks given by:
#30
RE: vHost file auto changed after a period ???
as I mentioned, logrotate should help you out Wink
[url=https://www.google.com/search?q=logrotate&ie=utf-8&oe=utf-8][/url]
-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: 7rdoq


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: 1 Guest(s)