/usr/local/cpanel/bin/update-roundcube --force
If you get database error,
just go to phpmyadmin and repair all round cube tables.
/usr/local/cpanel/bin/update-roundcube --force
harith@cengkeh:~/test$ ls -lah
total 8.0K
drwxr-xr-x 2 harith harith 4.0K 2009-02-23 03:12 .
drwxr-xr-x 48 harith harith 4.0K 2009-02-23 03:12 ..
-rw-r--r-- 1 harith harith 0 2009-02-23 03:12 file1
-rw-r--r-- 1 harith harith 0 2009-02-23 03:12 file2
-rw-r--r-- 1 harith harith 0 2009-02-23 03:12 file3
harith@cengkeh:~/test$
- (rw-) (rw-) (r--) 1 Harith Harith
| | | |
type owner group others
Just copy paste following command and hit enter:-
wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Result:-
harith@cengkeh:~$ wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
124.13.233.xxx
harith@cengkeh:~$
Other option is using curl :-
curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
if you dont have curl, download by using following command:-
sudo apt-get install curl
<?php
header("Location: http:/harithdawi.com/");
exit();
?>
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://harithdawi.com/"
%>
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://harithdawi.com/");
}
</script>
<%
response.setStatus(301);
response.setHeader( "Location", "http://harithdawi.com/" );
response.setHeader( "Connection", "close" );
%>
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://harithdawi.com/$1 [R=301,L]
<script type="text/javascript">
<!--
window.location = "http://harithdawi.com/"
//-->
</script>
# httpd -t
# httpd -S
Syntax OK
Syntax error on line 44 of /etc/apache/httpd.conf:
bla...bla...bla.....
# vi +44 /etc/apache/httpd.conf
tail -f /var/log/httpd-error.log
egrep -i 'warn|error' /var/log/httpd-error.log
#sudo apt-get install hping
sudo hping - -faster -S <ip address or domain name>