Purpose: This script scans the user directories and reports the installed CMS packages and what version it is running. It can be set to report just outdated packages and scan specific users. It has the ability to search for common versions of the following packages:
Only recently the Cockpit project was launched, aiming at providing a web based management interface for various servers. It already leaves an interesting impression for simple management tasks – and the design is actually well done.
I just recently came across the only three month old Cockpit project. The mission statement is clear:
Cockpit is a server manager that makes it easy to administer your GNU/Linux servers via a web browser.
The web page also states three aims: beginners friendly interface, multi server management – and that there should be no interference in mixed usage of web interface and shell. Especially the last point caught my attention: many other web based solutions introduce their own magic, thus making it sometimes tricky to co-administrate the system manually via the shell. The listed objectives also make clear that cockpit does not try to replace tools that go much deeper into the configuration of servers, like Webmin, which for example offers modules to configure Apache servers in a quite detailed manner. Cockpit tries to simply administrate the server, not the applications. I must admit that I would always do such a application configuration manually anyway…
cPanel is now upgrading php via an EA by default which when run, can upgrade a customers default php version to 5.4. As mentioned in an earlier post, part of cPanels EA EndOfLife email, 5.2.17 is no longer included in the php version list for EA. With that said, cPanel has made the downgrade process extremely simple. Below are the simple copy/pasta instructions for downgrading the php to 5.2.17 with the new EA version.
We have just discovered that cPanel currently (11.40.1) has an issue with parsing out single quotes in the ~/.my.cnf. For instance, if your /root/my.cnf file looks like:
With the way that cPanel currently parses this, it uses the password with the single quotes, and sends that off to MySQL. If you’re doing something that requires a connection with MySQL, this of course fails; the password doesn’t really have single quotes included around it.
As a workaround, either remove the quotes from the ~/.my.cnf or change them to double quotes – both work. If you want to know more, This was submitted as a bug report with cPanel.
When updating to cPanel 11.40, this enables IPv6 by default. This can cause an issue when cPanel starts rebuilding the Apache configuration though because it adds one or both of these lines:
When IPv6 is installed on a server, the Listen directive is set to Listen[::]:80, which listens for all IPv6 addresses on the server.
The above is basically how Apache will listen for IPv6 addresses. So far I believe this only works with Apache 2.0+. When Apache encounters this problem on start/restart it will present a similar error to the following:
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address
To resolve this temporarily just disable the lines that contain the ipv6 listen directives by adding the pound sign, number sign, or hashtag to the beginning of the line:
This can permanently be resolved by forcing EasyApache to rebuild the currently installed apache and php versions.
(Never run easyapache without first making sure you backup current Apache config, php config and php information as well as currently installed modules)
From what we are seeing in certain circumstances, this can even upgrade your PHP version when the currently installed version of PHP is no longer an option in EasyApache. To be 100 percent safe and save yourself some time always verify the current php version and make sure it is selected in EasyApache. If for any reason this does not happen, you may find that EasyApache upgraded the php version and some websites may not be working anymore. This does appear to be a trending issue as more and more servers are upgraded to 11.40 without making any changes to their apache configuration at all.
Just a heads up…
We have recently noted an odd error within WHM and the following message is received when trying to park a domain using the function in Home » DNS Functions » Park a Domain
The error message that is returned is “That owner doesn’t exist.”
Google it with quotes. Go ahead, I’ll wait…
Find anything? Yeah me neither.
It looks like this is a known bug and cpanel is working on it. In the meantime, domain parking from within the cpanel account itself should still work.
“The issue you describe is actually a known bug that our developers are working on addressing. The internal case number for this bug is 89825. I do not know when this bug is going to be addressed but you can monitor our change log at the link posted below to see when case #89825 is addressed.
In the meantime, you should be able to create the needed parked domain(s) through the account’s cPanel. I apologize for any inconvenience this may be causing.”
Change Log for 22.214.171.124
Entry: 2014-02-05, 02:00 (UTC)
Fixed case 89825: Fix parking a domain through WHM.
This looks to have been resolved.
A Terminal emulator is a computer program that reproduces a video terminal within some other display structure. In other words the Terminal emulator has an ability to make a dumb machine appear like a client computer networked to the server. The terminal emulator allows an end user to access console as well as its applications such as text user interface and command line interface.
“We use hash tags all over the place in social networks. We use it extensively on Twitter and Instagram. Facebook recently launched support for hash tags as well.
So, in a way, our online life revolves around hash tags. Given that, it’s a really great thing for bash power users that # in shell means comment. I usually tend to type long commands and won’t bother remembering or saving them somewhere as it is in the bash history and i can retrieve it by reverse-i-search (Ctrl+R) anytime I want.
As time passes by, more than often I end up retyping the whole command as reverse-i-search doesn’t have a unique combination of letters/words to search for. So, off late, I have found a dead simple way to never lose control over reverse-i-search because of too many similar commands. I just append a hash tag every command I type in. And later search for the hash tag in reverse-i-search. Since, anything that follows # is treated as a comment, the text is silently ignored, while giving you power to search through it alter on.
For example, when i write PHP code, I often tend to run lint on all the php files before executing them to make sure there aren’t any silly syntax errors. This is the exact command that i run:
find . -iname '*.php' -print0 | xargs -0 -n1 php -l
If you look at this command, none if its contents are unique by any mean. All these phrases and commands are something that we use over and over again. So it’s very plausible that this might get lost in the bash history and practically un-searchable with reverse-i-search. Now this is the command with a hash tag appended:
find . -iname '*.php' -print0 | xargs -0 -n1 php -l #phplint
Tada, there we go. From now on, we can do a reverse-i-search for “#phplint” or merely “phplint” to get back this command from the bash history. Also make sure you set HISTSIZE to a large value in your .bashrc to make sure you history is practically infinite.”