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 - Administrator

Pages: [1] 2 3 ... 5
1
Hi All,

For one of our client I was investigating the issue where the website when accessed shows a Not Found error. On looking at the server error logs, I found logs as below.

Quote
Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

Further checking, found that the issue was with the .htaccess file which conflicts with the one in the root directory of the account. Renaming the unwanted file OR correcting the redirect rules solved the problem.

2
News and Announcements / Proud Sponsors Of WordCamp Mumbai 2016 !
« on: March 08, 2016, 02:49:42 PM »
It's just two weeks, DrupalCon Asia event concluded and our team is prepared for the WordCamp Mumbai event. It's one of the coolest event for WordPress lovers, bloggers, webmaster, developer, fans and followers.

There are many reasons why you should attend WordCamp Mumbai event. For complete information about the event, tickets and venue checkout https://2016.mumbai.wordcamp.org/

If you are attending WordCamp Mumbai 2016, do visit our booth for goodies & information on Refer A Friend & Get Rewarded program.

3
Errors and Solutions / Maximum number of redirect reached
« on: February 12, 2016, 03:22:56 PM »
Hi,

On a server with litespeed installed, you might receive an error

Quote
Maximum number of redirect reached

It is because of the .htaccess rules conflicts. Have a check at the .htaccess file and correct/comment the rules which conflicts with each other.

4
Hi All,

When you upload the image via Magento admin panel, it might be that the images are not getting displayed and a thumbnail does not gets created. When you try to browse the image using a valid link it shows 404 Not Found Error.

The images gets uploaded under your account & you can view it using File Manager as well. If you have a close look at the file permissions, you will notice that the permissions on files is set to 640. With these permissions you won't be able to browse the images and that is the reason thumbnails are not getting generated and neither it does show the images in products.

This is due to the permission set when files are uploaded is incorrect in lib/Varien/File/Uploader.php. Simply open the file which should be under the root directory of your magento installation.

Quote
# vi lib/Varien/File/Uploader.php

Look for

Quote
chmod($destinationFile, 0640);

Set it to

Quote
chmod($destinationFile, 0644);

Save the file & exit.

When you upload the images and products now, correct permissions will be set on the images and it will generate the thumbnails as well as show the product images.

Quote
Looking for quality Magento hosting? Look no further than MilesWeb's Best Magento Hosting plans.

5
Errors and Solutions / Unable to SSH Linux Server CentOS 6.x
« on: January 30, 2016, 05:29:04 PM »
Hi All,

Couple of days before when trying to SSH a linux server, it was not allowing me to login. It kept on processing without any errors. However, further checking the verbose option with command below.

Quote
ssh -v root@xx.xx.xx.xx -p 22

I managed to poll the errors. The error was

Quote
debug1: Unspecified GSS failure.  Minor code may provide more information
Cannot determine realm for numeric host address

To fix the above error, I had to open the SSH config file /etc/ssh/sshd_config & find for GSSAPIAuthentication. Set GSSAPIAuthentication to no and restart SSH service.

You will be able to access the server via SSH now.

6
Errors and Solutions / Unable to resolve all conflicts plesk restore
« on: January 30, 2016, 05:09:26 PM »
Hi All,

When trying to perform a restore from command prompt on Windows Plesk Server, you might receive a message as below. The restoration fails.

Quote
<?xml version="1.0"?>
<conflicts-description>
 <conflict id="1" guid="ca481736a27373d81b38b5d8bc754b97">
  <type>
   <configuration>
    <reason-description>
     <required-resource-description>
      <ip type="shared" value="xx.xx.xx.xx"/>
     </required-resource-description>
    </reason-description>
    <resolve-options>
     <option name="rename"/>
     <option name="do-not-restore"/>
    </resolve-options>
   </configuration>
  </type>
  <conflicting-objects/>
 </conflict>
</conflicts-description>
Unable to resolve all conflicts

This error is when any of the module/package isn't installed OR setting isn't correct. You need to check properly what is listed just below      <required-resource-description>. In the above case it means that shared IP isn't set. Simply, login to your plesk panel and assign a shared IP. Now, try to perform the restore. It would work.

7
How To's / How To Open Passive Ports in pure-ftpd cPanel Server ?
« on: January 22, 2016, 02:00:54 PM »
Hi All,

When trying to upload the files via FileManager, you might receive errors related to directory listing. It is because passive ports are not enabled in pure-ftpd and server's firewall. Let's know how to enable the Passive Ports and open then in server firewall.

Open pure-ftpd file.

Quote
# vi /etc/pure-ftpd.conf

Find for PassivePortRange and uncommend the line. Simply, remove the # just before PassivePortRange. Restart the pure-ftpd service.

Quote
# /etc/init.d/pure-ftpd restart

Now, let's open the ports in server's csf (config server firewall) firewall.

Quote
# vi /etc/csf/csf.conf

Find for TCP_IN and at the end of line, enter the port range 30000:50000. It should look like as below.

Quote
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,30000:50000"

Save the file and quit. Restart csf firewall.

Quote
# csf -r

Directory listing should be enabled now.

8
Hi All,

One of our client tried executing a query from phpMyadmin. However, it threw an error.

Quote
Query Error: #1296 - Got error 64 'Temp File Write failure' from InnoDB

This error is usually due to the tmpdir set for MySQL/MariaDB is running out of space. By default, it is set to /tmp. Mostly /tmp folder is set to not more than 2GB. If the size of the database is large, 2GB isn't sufficient enough.

You will simply need to increase the size of /tmp OR set tmpdir to some other directory which has sufficient space. Make sure you set full permissions on /tmp folder.

9
When initiating a backup of MSSQL database using SQL Management Studio, you might get the error as below.

Quote
TITLE: Microsoft SQL Server Management Studio
------------------------------

Backup failed for Server ''.  (Microsoft.SqlServer.SmoExtended)

For help, click: go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.5058.0+((SQL11_PCU_Main).140514-1820+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: Cannot open backup device 'C:\backup.bak'. Operating system error 5(Access is denied.). (Microsoft.SqlServer.Smo)

For help, click: go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.5058.0+((SQL11_PCU_Main).140514-1820+)&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

This error is due to incorrect permissions on the folder under which the backup file is generated. Simply, add network user's permission on that folder & you will be able to generate the backups.

10
Errors and Solutions / Error: The system cannot find the file specified.
« on: November 24, 2015, 06:13:12 PM »
When trying to manage the accounts from plesk panel 12.0, you get an error as below.

Quote
Error: The system cannot find the file specified.

It is because the the update within plesk that needs to be re installed. Simply, login your windows server via RDP and access command prompt. Execute the command below which will perform the updates.

Quote
"%plesk_bin%\ai.exe" --select-release-current --upgrade-installed-components

This error also occurs when you try to add a MSSQL database, create FTP accounts OR when trying to set subscription.

11
Errors and Solutions / Unable To Add Domain From Plesk
« on: August 20, 2015, 08:18:29 PM »
When trying to add a domain from Plesk panel, you might receive an error as below.

Quote
Error: ProtDir_IIS::update() failed: Add Protected Directory failed: columns siteId, path are not unique (Error code 1)

The above error means the protected directory was not synchronized properly.

Login to your server via RDP & access command prompt. Execute the command below.

Quote
"%plesk_cli%\repair.exe"  --synchronize-protected-directories-storage

The above command will synchronize the directories on the server & you should be able to add the domains now.

12
Errors and Solutions / Unable To wget On CentOS
« on: August 20, 2015, 08:16:10 PM »
When trying to perform a wget on CentOS server, you might receive an error as below.

Quote
OpenSSL: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
OpenSSL: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib

This is usually due to the older version of openssl installed on your server. It's time to upgrade OpenSSL on the server.

Quote
#yum upgrade openssl -y

With the above command OpenSSL will be upgraded on the server. Now, try performing a wget on the server.

13
You receive this error when you build a database, view reports OR when running operation on a large number of rows within a table that uses the InnoDB storage engine.

This occurs when MySQL runs out of locks, which for an InnoDB database occurs when the buffer pool is full. You can fix this by increasing the size of the buffer pool, by editng the innodb_buffer_pool_size option in my.cnf, to set innodb_buffer_pool_size to a number higher than the default.

Simply, edit the file /etc/my.cnf and find for innodb_buffer_pool_size. Set the value to 1024M OR 2048M. It should look like below.

Quote
innodb_buffer_pool_size=2048M

Restart MySQL service & try running the query.

14
You will see the below error in the X-Cart log files.

Quote
Attempt to write data to a missing field of the table. Try to remove X-Cart cache to solve the problem.
Request URI:

As the message says, you will need to remove the X-Cart cache. Kindly browse the steps on clearing the X-Cart cache at https://www.milesweb.com/hosting-faqs/how-to-clear-x-cart-cache/

15
A quick help to beginners who are unable to upload the files. If you receive an error below when trying to connect via FTP using FileZilla.

Quote
Response:   421 Sorry, cleartext sessions are not accepted on this server.

Make sure you replace the Server IP OR the domain name in the FTP Host as below.

Quote
ftpes://Server-IP OR ftpes://domain.com

It uses Encryption type for your server as FTP over TLS/SSL Explicit.

Pages: [1] 2 3 ... 5