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
91
DNS / Re: weird issue with rDNS/PTR in Control panel
« on: February 21, 2017, 09:34:21 AM »
Hello,
I've installed cwp.admin yesterday on a VPS hosted at iniz.com.
In their control panel i've set the reverse dns to my machine's hostname (vps.naamareich.com)

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

even tho in http://rdnslookup.com and http://mxtoolbox.com/ReverseLookup.aspx i get
PTR   185.53.129.160   vps.naamareich.com
Reported by rdns2.iniz.com 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: mail.yourdomain.com) and your IP.
You must also have an A record for mail.yourdomain.com (point to your server IP)

92
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

93
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

94
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


95
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

96
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 \



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


and


1. You need to add your hostname :
# hostname sub.domain.com

2. You need to add your public IP to hosts:
# nano /etc/hosts
Add this line
YOUR_SERVER_PUBLIC_IP your_hostname
(ex:  123.233.121.23 ns1.mydomainname.com)

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 ...linode.com), then have a look on this post : http://forum.centos-webpanel.com/centos-6-problems/change-hostname-and-reset-when-reboot-vps/msg5377/#msg5377

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


98
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  ns1.domain.com)


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

change you hostname value accordingly
HOSTNAME=subdomain.yourdomain.com

3. Edit your hostss file
# nano /etc/hosts
127.0.0.1 subdomain.yourdomain.com
YOUR_SERVER_PUBLIC_IP subdomain.yourdomain.com

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

5. Restart cwpsvr
# service cwpsrv restart

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

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


100
Has anyone found a fix for this?

Gary


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

/opt/cwp_letsencrypt

You need to copy from older version of CWP or you can download it from here:
https://www.dropbox.com/s/33mj767qpgdvm06/cwp_letsencrypt.zip?dl=0

(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 cwp_letsencrypt.zip

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



101
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




102
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
sql_mode=NO_ENGINE_SUBSTITUTION

Ctrl-X , Y

Restart mysqld
# service mysqld restart

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

104
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

105
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