MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Dipak Bhoi

Pages: [1] 2 3 ... 14
1
How To's / How to Purge Moodle's caches via CLI?
« on: December 04, 2015, 12:46:06 AM »
Hello,

It is very simple to clear moodle's cache by command line. You can purge caches using below command:

Quote
# php admin/cli/purge_caches.php

That's all. Enjoy ..!

2
Errors and Solutions / cPanel/WHM :: Shell could not be modified
« on: December 03, 2015, 12:44:22 AM »
Hello Folks,

While changing shell from noshell to jailshell from WHM >> Manage shell account showing an error message as below.

Quote
Shell could not be modified

It is due to /etc/passwd has been locked. Move the file /etc/ptmp to resolve issue.

Quote
mv /etc/ptmp /etc/ptmp.bk

3
How To's / How to install Node.js on cPanel/WHM server?
« on: December 02, 2015, 08:00:47 PM »
Hello Folks,

Node.js is a JavaScript runtime and uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world. You can check more information on their official website https://nodejs.org/en.

To install Node.Js run below listed commands one by one.

Quote
#cd /usr/local/src

#wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz

#tar -zxvf node-v0.10.26.tar.gz

#cd node-v0.10.26

#./configure --prefix=/usr/local

#make

#make install

That's installed the Node.js on the cPanel/WHM server.

To check the node.js version run below command.

Quote
#node -v
v0.10.26
That's all Enjoy !! :) ;) :)





4
How To's / Prestashop :: How to remove watermark on the images ?
« on: September 13, 2015, 06:25:06 PM »
Hello folks,

One of our client observed that the images have Prestatshop watermark on this website and wish to remove that watermark from the images. If you wish to remove watermark then follow procedure to remove it.

To remove watermark from the images you need to remove/uninstall watermark module.

Go to Moudles - Administrations - Watermark module.

Uninstall the watermark module, then go to image preferences and regenerate the thumbnails. Select "Yes" for option Erase Existing.

If above procedure not work then go to modules directory via SSH and disable the directory of module "watermark" and all fires under directory by changing permission to 000.

Quote
# cd /home/username/public_html/module

#chmod 000 watermark

#chmod 000 watermar -R


Now go to image preferences and regenerate the thumbnails.  Select "Yes" for option Erase Existing Images.

That's it. Enjoy ... !!



5
Hello folks,

If you are facing issue that when customers place orders on the the CS-Cart site they get any email confirmation but the ADMIN did NOT get any email notification that order was placed. To fix this check below setting in CS-Cart admin panel.

Check whether the Notify orders department check box is enabled for the desired order status on the Order statuses page. It should be enabled in order to send the notifications to the store administrator.

In the administration panel go to Administration → Order statuses. In this page you can see option as below.

Notify orders department — tick the check box if you want to inform the store administrator about placing the order with this status.

For more information refer URL http://kb.cs-cart.com/order-status.


6
Errors and Solutions / Email issue : Reply to emails is incorrect
« on: August 28, 2015, 01:20:04 PM »
Hello folks,

One of our client was facing an issue with the emails. When his recipients, if click on reply to in email, it's automatically reply to another email address and it was an incorrect email and client was not able to receive emails from recipients.

To resolve this issue, you have to check if you have set any reply to setting for the email address in webmail or mail client software like outlook.  Below are the steps to check the setting.

Webmail setting :

Click Preferences on the menu on the left side of the screen.
Click on the Mail tab. In the Reply-To box, type the e-mail address you would rather have the replier send mail to. When you have completed this, click the Update Preferences button at the bottom of the screen.

Outlook client setting ::

In Outlook 2007:
Select Tools | Account Settings… from the menu in Outlook.
Go to the E-mail tab.
select the desired email account.
Click on Change….
Now click More Settings ….
Enter the address where you'd like to receive replies under Other User Information for Reply E-mail.
Click OK.
Click Next >.
Now click Finish.





7
How To's / How to change SSH port?
« on: August 03, 2015, 03:51:54 PM »
Hello folks,

In order to change SSH port you will have to edit sshd_config file.

Quote
#vi /etc/ssh/sshd_config

Quote
Change #Port 22 to some other port and uncomment it

You can set it like 8957 or anything that you want. This will secure your servers from brute forcers that will try to crack your ssh password.

That's all, Enjoy !!!

8
Hello folks,

In this post I mentioned the necessary services and their port should be opened by default in firewall on the server. Here I am considering that you are using CSF (Config Server Firewall) as a firewall to secure your server.

Beneath is the list of services and their port numbers, open these ports in firewall.

Quote
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995"

TCP_OUT = "20,21,22,25,53,80,110,113,443"

UDP_IN = "20,21,53"

UDP_OUT = "20,21,53,113,123"


Services using these open ports are:

    Port 20: FTP data transfer

    Port 21: FTP control

    Port 22: Secure shell (SSH)

    Port 25: Simple mail transfer protocol (SMTP)

    Port 53: Domain name system (DNS)

    Port 80: Hypertext transfer protocol (HTTP)

    Port 110: Post office protocol v3 (POP3)

    Port 113: Authentication service/identification protocol

    Port 123: Network time protocol (NTP)

    Port 143: Internet message access protocol (IMAP)

    Port 443: Hypertext transfer protocol over SSL/TLS (HTTPS)

    Port 465: URL Rendesvous Directory for SSM (Cisco)

    Port 587: E-mail message submission (SMTP)

    Port 993: Internet message access protocol over SSL (IMAPS)

    Port 995: Post office protocol 3 over TLS/SSL (POP3S)

Apache Server:

Quote
TCP_IN: 80,443

Mail server:

Quote
TCP_IN: 25,110,143,587,993,995
TCP_OUT: 25,110

MySQL server (if remote access is required)

Quote
TCP_IN: 3306
TCP_OUT: 3306

FTP server:

Quote
TCP_IN: 20,21
TCP_OUT: 20,21
UPD_IN: 20,21
UPD_OUT:20,21

Open necessary ports as per your requirements and enjoy the service .... !!!

9
How To's / How to set/change timezone in openvz base VM?
« on: August 03, 2015, 03:02:18 PM »
Hello folks,

Yes, you can set/change different timezone in OpenVZ based VM. Please follow the instructions and run below commands.

Login to the host node via ssh.

Stop the VM(container) on which you want to set time.

Quote
# vzctl stop 151

Set the container to have capability to change the time zone.

Quote
# vzctl set 151 --capability sys_time:on --save

Start the VM and login to it.

Quote
# vzctl start 151
# vzctl enter 151

Set/Change your local timezone with below commands.

Quote
# mv /etc/localtime /etc/localtime.old
# ln -s /usr/share/zoneinfo/Asia/Calcutta /etc/localtime


Set the date and time.

Quote
# date 080303002015


That's All, Enjoy...!!!!!

10
Hello folks,

One of our client was facing an issue while sending an email, she was receiving bounce back message as below:

Quote
The message you sent requires that you verify that you are a real live human being and not a spam source.


To complete this verification, simply reply to this message and leave
the subject line intact or click the link below:

http://www.receiver-domain.tld/cgi-sys/bxd.cgi?a=receiver@domain.tld&id=BqF0UCpdP4DAolixwA87a-1437980882
The headers of the message sent from your address are shown below:

From sender@domain.tld Mon Jul 27 11:08:02 2015
Received: from something.something.com ([xxx.xxx.xxx.x]:46346)
   by hostname with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)
   (Exim 4.85)
   (envelope-from <sender@domain.tld>
   id 1ZJcW1-0007Vi-Dj
   for receiver@domain.tld; Mon, 27 Jul 2015 11:08:02 +0400
Received: by something.something.com (Postfix, from userid 500)
   id 5B46F9A46D7C8; Mon, 27 Jul 2015 02:08:11 -0500 (CDT)

This is not an error but a verification process. It is because BoxTrapper set to active on receiver email address account. This will cause ALL incoming email to verify before the email will be delivered to receiver.  Verify by following link and your email will be send to receiver.

To turn off Boxtrapper, login to Cpanel, select BoxTrapper (under Mail section), and select the email account and turn it off.

That's it, enjoy !!

11
How To's / How to check php configuration on shared hosting servers?
« on: July 23, 2015, 04:57:53 PM »
Hello folks,

To know what PHP version installed, modules compiled & paratemer set on your shared hosting server, you need to create a file called phpinfo.php (any name that you want) in your website's root directory and enter the following code in the file.

Quote
<?php
phpinfo();
?>

Save the file and open it in a browser, URL should be "yourwebsite.com/phpinfo.php" and it will give all the information which is related to PHP which is compiled on your shared hosting server.

That's it, Enjoy !! :) ;) :)

12
Errors and Solutions / WordPress : Site gives 404 error in all pages
« on: July 23, 2015, 04:36:01 PM »
Hello folks,

If you are facing issue with Wordpress website that all pages gives 404 error after accessing then it should be an issue of the Wordpress Permalinks.

You need to add the following code in your .htaccess file.

Quote
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /callowtop/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

That's it and your website pages will load now.

Enjoy !! :) ;) :)

13
Errors and Solutions / FTP: AUTH TLS connection timed out
« on: July 23, 2015, 02:20:35 PM »
Hello folks,

While connecting to FTP server if you received below error then follow the mentioned solution:

S
Quote
tatus: Resolving address of ftp.thissite.com
Status: Connecting to 192.xxx.xx.xx:21...
Status: Connection established, waiting for welcome message...
Response: 220-******************************* WARNING ****************************************
Response: Your IP Address has been logged.
Response: You have accessed a private computer system. This system is for authorized use
Response: 220 ********************************************************************************
Command: AUTH TLS
Response: 234 AUTH command ok; starting SSL connection.
Status: Initializing TLS...
Error: Connection timed out
Error: Could not connect to server

As per error it appears that some firewall/antivirus software on your end which is blocking your connection. Try uninstalling/disabling all firewalls/antivirus. It should resolve your issue.


14
Hello folks,

While sending an email if you received below error then follow the mentioned solution:

Quote
SMTP Protocol Returned a permanent error 552 Message size exceeds fixed maximum message size of 2097152 bytes
   

This error says that you have exceeded the message size which means there is an attachment in your mail and your SMTP server does not allow you the cross the limit of attachment file. To fix this error you need to increase the SMTP outbound attachment limit.

That's it. Enjoy ..!! :) ;) :)

   

15
Hello folks,

One of our windows shared customer was created one form for upload photo. This upload section was not working and was throwing an error message as below.

Quote
"System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\vhosts\domain.com\adondomain.com\images 

After investigating on it I see that this error comes due to insufficient permissions to directory. Directory should have full permission of user psaadm, psacln, psaserv.

Follow below steps to set full permission to directory.

1. Go to C:\Inetpub\vhosts\domain.com
2. Right click on it and go to Security tab.
3. In it click on Edit button, click on Add button.
4. Dialog box of Select User or Group will be open, click on Advanced.. button and then click on Find Now.
5. Type word psa in Search results list.
6. Select psaadm, psacln, psaserv users by pressing Ctrl key. Click on OK, OK, Apply and then OK.

That's it and you should not receive this error now.

Enjoy ..... !! :) ;) :)


Pages: [1] 2 3 ... 14