Fix macOS Catalina broken Mail Search

This post is not related to hostEONS Hosting Services, but a very simple fix for macOS Catalina broken mail search.

Since most of our techs are using MAC and as soon as we are upgraded to Catalina we were surprised to find out that SpotLight or mail search was not displaying results from mails.

So here is how we fixed it.

Quit Apple Mail

Go to System Preferences

Now Click on Spotlight

Then Click on Privacy Tab

Now click on “+” and add whole Macintosh HD, it will give you warning that you are about to disable Spotlight search, proceed with it.

Now restart your MAC

Now again to System Preferences -> Spotlight -> Privacy Tab now select Macintosh HD and click on minus “-” sign and close System Preferences

Now you start using Mail in your Mac and give it couple of hours, it will reindex your whole drive including mails and all mails will be searchable again.

BLESTA License for FREE

BLESTA For FREE

We are pleased to announce our partnership with BLESTA a fully featured Billing and Automation Software.

We are now offering BLESTA License for FREE with all our hosting services:

  1. VPS
  2. Web Hosting
  3. Reseller Hosting
  4. Dedicated Servers

Once you order services with us you will get BLESTA for FREE as long as your service is active with us. You can install it on services hosted with us.

Existing customers can also order it for FREE from https://my.hosteons.com/cart.php?gid=addons

For any queries please submit a support ticket

Logging or Showing Real IP in cPanel/Apache when using CloudFlare

We recently switched to CloudFlare for our own website but even after a lot of research could not find proper documentation moreover mod_cloudflare has been discontinued and all documents are too old, so here is how we fixed it.

  1. First login to WHM
  2. Customise your Apache config and under Apache Modules select mod_remoteip (yes we will use mod_remoteip instead of mod_cloudflare)
  3. Once Apache is recompiled now you need to edit a file with name “370_mod_remoteip.conf” it may be 360 or 350 or something else but last part will be “mod_remoteip.conf” and file is available in /etc/apache2/conf.modules.d.
  4. Just add following to above file:

RemoteIPHeader X-Real-IP
RemoteIPTrustedProxy 173.245.48.0/20
RemoteIPTrustedProxy 103.21.244.0/22
RemoteIPTrustedProxy 103.22.200.0/22
RemoteIPTrustedProxy 103.31.4.0/22
RemoteIPTrustedProxy 141.101.64.0/18
RemoteIPTrustedProxy 108.162.192.0/18
RemoteIPTrustedProxy 190.93.240.0/20
RemoteIPTrustedProxy 188.114.96.0/20
RemoteIPTrustedProxy 197.234.240.0/22
RemoteIPTrustedProxy 198.41.128.0/17
RemoteIPTrustedProxy 162.158.0.0/15
RemoteIPTrustedProxy 104.16.0.0/12
RemoteIPTrustedProxy 172.64.0.0/13
RemoteIPTrustedProxy 131.0.72.0/22
RemoteIPTrustedProxy 2400:cb00::/32
RemoteIPTrustedProxy 2606:4700::/32
RemoteIPTrustedProxy 2803:f800::/32
RemoteIPTrustedProxy 2405:b500::/32
RemoteIPTrustedProxy 2405:8100::/32
RemoteIPTrustedProxy 2a06:98c0::/29
RemoteIPTrustedProxy 2c0f:f248::/32

 

5. Now go to WHM and under “Apache Configuration” click on “Include Editor” then under “Pre Main Include” edit the file and add:

<IfModule remoteip_module>
RemoteIPHeader X-Forwarded-For
</IfModule>
<IfModule log_config_module>
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent
LogFormat “%a %l %u %t \”%r\” %>s %b” common
LogFormat “%a %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined
CustomLog logs/access_log combined
</IfModule>

 

Now just save and restart Apache, it should now start showing your real IP in apache logs etc…

 

 

 

Manually Migrate a KVM VPS to another node where both source and destination nodes are running SolusVM

If for some reason SolusVM automated migration is failing or if you just want make your hands dirty and wants to manually migrate a KVM VPS to another VPS Node, just follow these simple steps:

Run following commands on Source VPS Node:

Assuming your KVM ID for your VPS is “kvm5368”

# lvdisplay | grep kvm5368
LV Path /dev/vg_node10/kvm5368_img
LV Name kvm5368_img

Now lets shutdown the Source VPS:

# virsh shutdown kvm5368

Now once it’s shutdown lets create an image of the VPS Disk:

#dd if=/dev/vg_node10/kvm5368_img | gzip | dd of=/root/kvm5368_backup.gz bs=4096

Now lets create a Logical Volume on the destination node, so run following commands on the destination node:

# lvcreate -n kvm5368_img –size 30G /dev/vg_node

Now transfer the VPS image file created earlier from source to destination node:

# scp -C /root/kvm454_backup.gz [email protected]:/root/

Once it’s transferred then run following command on destination vps node to restore the VPS Image:

dd if=/root/kvm5368_backup.gz | gzip -d | dd of=/dev/vg_node/kvm5368_img bs=4096

Once it’s restored run following command on your SolusVM Master:

/scripts/vm-migrate <vserverid> <newnodeid>

Now you should be able to boot the new migrated VM from SolusVM

Getting Errors while booting a OpenVZ 7 VPS Container running on Ploop File System ?

Getting errors like:

2019-08-09T08:24:10-0400 : Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)

2019-08-09T08:24:10-0400 vzctl : CT 392 : Failed to mount image /vz/private/392/root.hdd: Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)
[41]

#vzctl start 392

Starting container…
Opening delta /vz/private/392/root.hdd/root.hdd
Adding delta dev=/dev/ploop61204p1 img=/vz/private/392/root.hdd/root.hdd (rw)
/dev/ploop61204p1p1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)
Failed to mount image: Error in e2fsck (fsutils.c:471): e2fsck failed (exit code 4)

It can happen due to a file system crash or VPS Node crash etc…, don’t worry follow following tutorial to fix.

Solution:

1)Stop the container.

#vzctl stop 392

#vzlist 392

2)Mount the ploop image.

#ploop mount /vz/private/392/root.hdd/DiskDescriptor.xml

3)Perform fdisk -l

#fdisk -l /dev/ploop61204p1

4)Perform a file system check for the partition(note p1 at the end):

#e2fsck /dev/ploop61204p1p1

5)Unmount the ploop image

#ploop umount -d /dev/ploop61204p1

Unmounting device /dev/ploop61204p1

6)Start the container

#vzctl start 392

cPanel Alternative – Reliable and Affordable

With recent cPanel price increase, it is not affordable anymore especially for VPS and even Dedicated Servers, this recent cPanel price increase is going to force a lots of Web Hosting providers to switch to other Control Panels.

There are very few good alternatives to cPanel as cPanel is feature rich, stable and was not very expensive until now. Some of the alternatives to cPanel are:

  1. Plesk
  2. Direct Admin (Free with Hosteons VPS)
  3. VestaCP (Free)

Plesk is also owned by same parent company as cPanel, so it’s not big deal that even Plesk follows same path as cPanel hence it’s no brainer to switch to Plesk

Direct Admin is a very old, mature and stable web hosting control panel, it just does not have all the good looks of cPanel but it is very stable and secure and also provides regular updates, also unlike cPanel it works not only on CentOS but also many other linux variants like Debian, Ubuntu and many more, it even supports FreeBSD

Direct Admin is much cheaper then cPanel infant we at hosteons provide it for free with most of our VPS Packages, just use coupon code “DA” to get Direct Admin for free with your VPS

VestaCP is another web hosting control panel, but its a free control panel and had some vulnerabilities in past, so it’s OK to use for personal use, but commercial or production use is not recommended.

Free Direct Admin With VPS

To add more value to our services and to make VPS management easier for our client we are now offering Direct Admin Control Panel for free with most of our VPS packages. Since Direct Admin has certain resource requirements, we are going to offer Direct Admin on following VPS Packages:

KVM VPS: 

VPS 2 – VPS 7

OpenVZ VPS:

OVZ 2 – OVZ 7

To get Direct Admin for free you need to use coupon code “DA” while placing order and after placing order please submit a support ticket to install Direct Admin on your VPS, we will reinstall your VPS and also install Direct Admin for you and reply back to you within 24 hours (We do have 24×7 support but Direct Admin Licenses are handled by Billing hence we cannot activate it immediately)

Please note it is applicable only on new VPS Orders.

Hosteons – First Anniversary – Journey So Far

Time Flies yes that’s true, sounds like yesterday when we launched our services in May 2018. We started with just one KVM VPS Node in Los Angeles and a web hosting box in May 2018 and basically no team just a one man show but today within one year we are now offering KVM VPS Hosting from three different data centres and two locations – Los Angeles Psychz, Los Angeles InterNAP and New York InterNAP. Not only this we are now even offering DDOS Protected Dedicated Servers from Los Angeles (New York Also coming soon). We are now even offering OpenVZ 7 based VPS from Los Angeles Psychz. Now we have a 24×7 support team with working round the clock to assist our valuable clients.

We faced a lot of hurdles during this journey. Most important was to gain trust of clients since so many hosting companies and summer host companies pop up every day and then dead pool within few months but by offering affordable and stable services slowly we were able to overcome this hurdle. Again thanks to our clients for trusting us.

One year ago we had zero clients but today we are serving more than 4000 VPS and also hosting tons of websites on our network.  All the credit goes to our valuable and loyal clients, affiliates and our rockstar support team.

I Kapil Jain – Founder of Hosteons.com would like to thank all our clients, affiliates, our vendors and support team to help us grow so quickly.

I would also like to share some of our future plans for the upcoming year:

1) Launch OpenVZ VPS Services in New York

2) Provide Dedicated Servers in New York

3) Add more locations for our VPS Hosting Services

MARCH Madness – RECURRING 20% OFF on OpenVZ and KVM VPS

Coupon Code: MARCH20

This coupon will give RECURRING 20% OFF on our KVM as well as OpenVZ VPS on following packages

KVM VPS – LA and NY Both Locations:

Packages: VPS 1 to VPS 7

OpenVZ VPS – LA:

Packages: OVZ 1 to OVZ 7

Not applicable on 256 MB or 512 MB OpenVZ VPS also not applicable on 256 MB KVM VPS.

Offer Expires on 31st March 2019

Order now from https://hosteons.com/vps.php to avail this offer