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.

[GUIDE] Guides/Fixes For Sentora For Windows
[GUIDE] Guides/Fixes For Sentora For Windows
Figured i would start this due to finding various things that were ether broken/missing in the Windows version. I will format this in a Q&A style as to make things simple.

Q: A command line window pops up every 5 minutes, how do i stop this?

A: People have said that Sentora is not meant to be used on a workstation, although i find that there are certain scenarios where it is okay to use it on a workstation. Take mine for example, i need a full web stack for development of PHP applications, being able to run one with everything i need including a email server and a nice UI is a godsend. It has completely replaced AMPPS for me, and have been doing this since i found zPanel.

As to fix this issue (because i do know it can be annoying), it is quite simple. Simply open the file C:\Sentora\bin\cron\cron.ini and search for the line that has "AsLoggedUser ON" and replace it with "AsLoggedUser OFF". Restart cron and the window should no longer appear.

Note: If you are on Windows XP this is not necessary. The reason being is that after Windows XP the way services were handled changed. You can read up more on it here

Q: The bandwidth is not being added up for clients, it stays at 0 Bytes. How do i fix this?

A: The reson behind why this is not working is that bandwidth logs are not being generated for virtual hosts. The line is missing from the apache_admin daemon hook. To fix it the following line needs to be added to C:\Sentora\panel\modules\apache_admin\hooks\OnDaemonRun.hook.php right under line #318
PHP Code:
$line .= '    CustomLog "' ctrl_options::GetSystemOption'log_dir' ) . "domains/" $vhostuser'username' ] . "/" $rowvhost'vh_name_vc' ] . '-bandwidth.log" ' ctrl_options::GetSystemOption'bandwidth_log_format' ) . fs_filehandler::NewLine(); 

Q: How do i setup SSL for the Sentora Panel?

A: You need to download openssl from
All you need to do is extract it to some place on your drive (I recommend C:\Sentora\bin\openssl as i am developing a module to automate the entire process and this is where openssl will be located.) and run the following command from a command prompt
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -out C:/Sentora/bin/apache/conf/ssl/sentora.crt -keyout C:/Sentora/bin/apache/conf/ssl/sentora.key

Note: This will generate a self signed SSL certificate and key. I am not going to go on about how to get a signed SSL certificate as that info can be found all over the internet and goes beyond what is needed in this guide.

You then need to open C:\Sentora\bin\apache\conf\httpd.conf and replace the line "#LoadModule ssl_module modules/" with "LoadModule ssl_module modules/". This will enable SSL on the apache server.

You then need to go to Server Admin > Module Admin > Apache Config and add the following to the Global Sentora vHost entry

NameVirtualHost *:443
    SSLEngine on
    SSLCertificateFile C:/Sentora/bin/apache/conf/ssl/sentora.crt
    SSLCertificateKeyFile C:/Sentora/bin/apache/conf/ssl/sentora.key

After the next daemon run and apache restart you should be able to access the panel from https://

If i have made any mistakes do feel free to correct me, and i will take requests for more guides.
I will update this as neccessary.
Thanks given by: zHostingSolutions
RE: [GUIDE] Guides/Fixes For Sentora For Windows
Thanks for the tips.
Thanks given by:
RE: [GUIDE] Guides/Fixes For Sentora For Windows
Thanks for the command line to prevent daemon from running every 5 minutes.

I can't wait till you make the module to automate SSL process.
Thanks given by:

Possibly Related Threads...
Thread Author Replies Views Last Post
ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version TGates 16 18 940 07-09-2020, 09:50 PM
Last Post: andykimpe
Sentora on Windows ANY NEW INSTALLER elmoutakaf 2 3 469 07-08-2020, 10:06 PM
Last Post: andykimpe
Sentora for Windows 1.0.0 released! MarkDark 70 122 083 07-08-2020, 09:58 PM
Last Post: andykimpe

Forum Jump:

Users browsing this thread: 1 Guest(s)