Fix : Internal Server Error – Webuzo

Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.

Deploy a wide range of web applications as well as system applications from the Webuzo Library by just a click of a button or manually deploy your sites to your domains.

Users usually face the “Internal Server Error” due to negligence of permissions to the files/folders and similar issues.
Internal Server Error

Some of the solutions to fix this issue on Webuzo are as follows

Sol #1

Assumption : Webuzo User (soft) has a domain example.com with the path “home/soft/www/public_html

In the above scenario, files/folders with the home/soft/www/public_html directory should have the owner and group set to the webuzo username i.e soft instead of root.

Execute the follow command from the terminal to fix the issues related to the permissions
Root > chown -R soft:soft /home/soft/public_html

Note : Replace “soft” by your Webuzo Username and “/home/soft/public_html” with the path to your files.

Sol #2

Webuzo requires to be installed on a minimal CentOS 5.x / 6.x or Red Hat Enterprise Linux 5.x / 6.x or Scientific Linux 5.x / 6.x (x86 or x86_64) / Ubuntu LTS machine.


Important !!!

Note : There should be no third-party tools like PHP, Apache, MySQL,etc installed on the server.

Usually, Apache installed by default on the server conflicts with Webuzo’s Apache Binary located at /usr/local/apps/apache resulting in the “Internal Server Error”.

Fix for the same will be to remove the default installation of Apache from the server and remove/install Apache using Webuzo.

Step 1) Remove default Apache service from the server
Root > yum -y remove httpd

Step 2) Remove and Install Apache by a click using Webuzo
Navigate to Webuzo Enduser Panel >> Apps >> WebServers >> Apache

Click on the “Remove” button to remove Apache >> “Return to Overview” >> Click on the “Install” button to install Apache.

Guide : http://www.webuzo.com/wiki/Install_System_Apps

Video Tutorial : https://www.youtube.com/watch?v=otOgYTsKuxQ

Step 3) Restart the Apache service from the terminal for once.
Root > service httpd restart

Rare Case Scenario:
If at all your face an error like “mod_wsgi.so could not be located” while restarting the Apache service, simply remove and install Python2 from the Webuzo Enduser Panel >> Server Side Scripting >> Python2

Restart the Apache Service !!!
Root > service httpd restart

That’s It !!!

Other Issues
Invalid contents in the file .htaccess on your server can lead to Internal Server Error as well.

Check for the error logs for the particular domain in the Apache Logs directory to learn about the cause for the error!!!

Apache Logs Path : /usr/local/apps/apache/logs/

Hope this information was useful !!!

Webuzo Demo
Admin Panel : http://demo.webuzo.com/
Enduser Panel : http://demo.webuzo.com/enduser/

Webuzo Support
Support : https://www.softaculous.com/support/open.php?

Heartbleed Vulnerability fix on Webuzo

Heartbleed LogoThe Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).

The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.

This tutorial guide users to manually upgrade their OpenSSL installation.

Step 1) Find the architecture of your server
Root > uname -i

Step 2) Stop your webserver (Apache/Nginx/Lighttpd)
For Apache
Root > service httpd stop

Step 3) Remove and Create the OpenSSL directory to download the latest packages.
Root > rm -rf /var/softaculous/apps/openssl/
Root > mkdir /var/softaculous/apps/openssl/
Root > cd /var/softaculous/apps/openssl/

Download the openssl package as per your architecture.
For 32 bit machine (x86)
Root > wget http://files.webuzo.com/apps/openssl-x86.zip

For 64 bit machine (x86_64)
Root > wget http://files.webuzo.com/apps/openssl-x86_64.zip

Step 4) Unzip the archive
For 32 bit machine (x86)
Root > unzip openssl-x86.zip
Root > rm -rf openssl-x86.zip

For 64 bit machine (x86_64)
Root > unzip openssl-x86_64.zip
Root > rm -rf openssl-x86_64.zip

Step 5) Extract the archive on the existing openssl location
Root > cd /usr/local/apps
For 32 bit machine (x86)
Root > tar -zxvf /var/softaculous/apps/openssl/openssl-x86.tar.gz

For 64 bit machine (x86_64)
Root > tar -zxvf /var/softaculous/apps/openssl/openssl-x86_64.tar.gz

Step 6) Start the webserver(Apache/Nginx/Lighttpd)
For Apache
Root > service httpd start

Step 7) Confirm your OpenSSL version
Root > /usr/local/apps/bin/openssl version

Test your server for CVE-2014-0160 !!!
http://filippo.io/Heartbleed/

We will be launching a New version of Webuzo soon which will automatically fix this issue !!!

If you still face any issues, please open a support ticket with the root details of your server and access to your Webuzo Enduser Panel, we will resolve your issues.

Support : https://www.softaculous.com/support/open.php?

Source : http://heartbleed.com/

New System Application added to the Webuzo Library – Varnish : version 3.0.5

Webuzo Varnish LogoVarnishCache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents.

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator.

Review , Rate and View Demo of Varnish here:
http://www.webuzo.com/sysapps/modules/Varnish

Support : https://www.softaculous.com/support/open.php?

Webuzo System Applications Updated

PHP 5.4.22 Update
PHP 5.4PHP 5.4 is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual. Ever wondered how popular PHP is? See the Netcraft Survey.

Nginx 1.4.4 Security Update
NginxNginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. For a long time, it has been running on many heavily loaded Russian sites including Yandex, Mail.Ru, VKontakte, and Rambler. According to Netcraft nginx served or proxied 12.81% busiest sites in February 2013. Here are some of the success stories: Netflix, WordPress.com, FastMail.FM.

PHP 5.5.6 Update
PHP 5.5PHP 5.5 is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual. Ever wondered how popular PHP is? See the Netcraft Survey.

Node.js v0.10.22 Update
Node.jsNode.js is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Apache 2.2.26 Update
ApacheApache Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

WordPress + Lighttpd on Webuzo

Lighttpd Web ServerWordPress is web software you can use to create a beautiful website or blog. We like to say that WordPress is both free and priceless at the same time.

Lighttpd Web ServerA single WordPress consumes all the memory on a VPS as in and poorly managed Apache Setup. For this reason WordPress can be deployed easily using Lighttpd. With “lighty” the WordPress installation on a VPS works like a charm. Running multiple sites on a single VPS with just 1 GB RAM, what more can you expect from “Lighty”.

Lighttpd does not use a .htaccess file like Apache does, so you can consider writing your own rewrite rules and include them into the Lighttpd configuration and load all the necessary module to suit the requirements for the site. Webuzo Lighttpd Setup is pre-loaded to have WordPress up and running thus fulfilling the basic requirements.

Webuzo Application Manager provides the complete package to setup the LLMP (Linux, Lighttpd, MySQL and PHP ) Stack and WordPress just by a click of a button. The default installation of Webuzo serves Apache as the default Webserver.

Quick guide to have LLMP setup by default.

LLMP can be installed by a click for the Webuzo Enduser Panel as well as explained in the following tutorial.

Webuzo further allows users to switch among webservers (Apache / NGINX / Lighttpd) at any point of time by a click from the Webuzo Enduser Panel

Getting Started
1) Install LLMP from the Webuzo Enduser Panel >> Apps >> Stacks
Webuzo LLMP Install

2) Confirm whether the services are running from the Webuzo Enduser Panel >> Services Menu
Webuzo Lighttpd Service

3) If you are unable to find Lighttpd in the services and Apache/NGINX instead, you require to switch to Lighttpd as the webserver.
Guide : http://webuzo.com/wiki/System_Utilities
Webuzo Switch Lighttpd

4) Well !!! Time to install WordPress.
Find WordPress in the Webuzo Enduser Panel >> PHP >> Blogs >> WordPress
Fill in the required details and hit Enter
Webuzo Install WordPress

5) Access the WordPress Admin / Enduser Site

WordPress Admin Site :

Wordpress Admin Site

WordPress Enduser Site :

Wordpress Site

Hope that was simple !!!

Webuzo DEMO : http://demo.webuzo.com/enduser/

Note : Users can further configure other modules to improvise the performance of the site.
LIGHTTPD CONF FILE LOCATION : /usr/local/apps/lighttpd/etc/lighttpd.conf

Sources :
http://antesarkkinen.com/blog/wordpress-with-lighttpd-pretty-url-permalinks-and-jetpack/

http://wordpress.org/