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.

Messages - locvfx

Pages: 1 ... 5 6 [7] 8
DNS / Re: weird issue with rDNS/PTR in Control panel
« on: February 21, 2017, 09:34:21 AM »
I've installed cwp.admin yesterday on a VPS hosted at
In their control panel i've set the reverse dns to my machine's hostname (

for some reason i'm getting this:
Your Hostname is: and it resolves to IP: [Check Black List]
rDNS/PTR = FAILED, check with your hosting provider! FAILED [Check SenderBase]

even tho in and i get
Reported by on 1/28/2017 at 9:09:28 PM (UTC 0)

so why is cwp.admin showing me that error?

I think your domain does not have an MX record. Go to your control panel (domain admin, not CWP) and add an MX record, point to your mail server (ex: and your IP.
You must also have an A record for (point to your server IP)

Aplications / Re: how to use imagick?
« on: February 21, 2017, 09:19:42 AM »
Anyone ?

Assume you have many *.jpg files in a current folder. the thumnails will be generated under ./square, we are going to make square thumbnails for tons of jpg files in current directory

Crop & Resize without keeping aspect ratio, resize 400px , quality 75%
mogrify -monitor -thumbnail x400 -resize 400 -gravity center -crop 400x400+0+0 +repage -format jpg -quality 75 -path square *.jpg

Crop & Resize to make thumbnails, keep respect ratio + Fill white BG to make same width and height , resize 400px , quality 75%
mogrify -monitor -resize 80x80 -background white -gravity center -extent 80x80 -format jpg -quality 75 -path thumbs *.jpg

No fill BG, but keep aspect ratio
mogrify -monitor -resize 80x80 -gravity center -format jpg -quality 75 -path thumbs *.jpg

SSL / Re: after changing port cannot login to ssh
« on: February 20, 2017, 04:44:09 PM »
Open browser and use your admin panel, go to Services config > SSH Configuration
Remove the line you added (the port), save file and try to connect to your server again

SSL / Re: Hostname SSL Problem... Need Help!
« on: February 20, 2017, 04:41:02 PM »
Make sure your sub domain need an A record point to your hostname server IP

SSL / Re: SSL On Hostname?
« on: February 20, 2017, 04:38:10 PM »
How do you add an SSL on hostname for Centos 7 please?

Just install Let's encrypt in your browser, you will automatically have SSL access to hostname

CentOS Configuration / Re: GDlib
« on: February 20, 2017, 04:34:55 PM »
add these lines when you recompile your php:

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

MySQL / Re: I can not start Mysql
« on: February 20, 2017, 04:23:23 PM »


1. You need to add your hostname :
# hostname

2. You need to add your public IP to hosts:
# nano /etc/hosts
Add this line

3. You need to add ServerName in your Cwp conf file
# nano /usr/local/cwpsrv/conf/httpd.conf
Add this line:   ServerName your_hostname

If your hostname is reverted to default every time you reboot your server (in your image I see it's, then have a look on this post :

One more thing, you need to autostart cwpsrv evertime you reboot the system:
# chkconfig cwpserv on

Installation / [RESOLVED] Hostname resetting after network restart
« on: February 20, 2017, 03:23:41 AM »
This happened when you have a public Cloud VPS. To fix this issue, just follow these steps:

1. Start, we need to set hostname
# hostname your_hostname
(it must be sub domain, for example

2. edit  /etc/sysconfig/network :
# nano /etc/sysconfig/network

change you hostname value accordingly

3. Edit your hostss file
# nano /etc/hosts

4. You need to add an A record to your sub domain, point to your server IP

5. Restart cwpsvr
# service cwpsrv restart

Postfix / Re: Mail queue just getting bigger and bigger
« on: February 17, 2017, 09:03:28 AM »

I have installed CentOS Web panel, and its working fine however the mail queue is always getting bigger and bigger, and it is reach like 2000 mail in the queue within 6-7 hour. I have stopped Postfix, Dovecot, ClamAV and every mail services cause i don't need it. The only thing i have is a root forwarder, maybe that's the problem? If root forwarder is the problem how can i delete it? Cause its says in the options -> root forwarder file detected.

You need to clean up your root email , you can set cron to run automatically

Delete all email of an account (root account)
# cat /dev/null > /var/spool/mail/root

Has anyone found a fix for this?


Reason: The source script is not exist in that path, you need to place it manually at this location


You need to copy from older version of CWP or you can download it from here:

(I dont know what's the reason it's not exist in the lately version of CWP)

The steps:
- Download the file from dropbox (i packed it myself, no worry) or look for it if you dont trust  my source
- assume you download my file, upload it to this location : /opt , then perform unzip it
# unzip

Go back to your CWP (on browser) and install as you wish
Remove file after all
# rm

Postfix / Created email account but no folder was created under /var/vmail
« on: February 17, 2017, 06:07:13 AM »
I'm facing problem that when I create a new email account, no folder was created under /var/vmail/
And I could not send or receive , even though login to round cube.

I tried chown -R vmail:mail /var/vmail   but no luck
I guess something wrong with the folder permission, user permission or cwp script did not make the folder itself
Lastly I tried to rebuild mail server from CWP , but still facing same problem
Please help

Postfix / Re: Postfix: Can't create email accounts
« on: February 17, 2017, 06:00:22 AM »
edit your /usr/my.cnf:

#nano /usr/my.cnf

add this line

Ctrl-X , Y

Restart mysqld
# service mysqld restart

Installation / Re: How to install the GeoIP Geo location PECL extension?
« on: November 16, 2016, 06:41:26 AM »
Thank you! it works now

Aplications / Re: setup SSL for phpMyAdmin login?
« on: October 12, 2016, 07:40:20 AM »
Install Let's encrypt for your domain
Login via https

Hi Igor, thank you very much.

(1)what should we check in the file?
(2)what should we edit in the file?

Thanks again.

Check duplicate entries (you domain you are planning to add in) in your vhost file

Pages: 1 ... 5 6 [7] 8