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

Pages: 1 2 [3]
31
CentOS 7 Problems / internal server error and 503 permissions
« on: November 08, 2017, 02:06:22 PM »
Hi guys.
I’m having a problem with permissions and I think it may be due to the php version I’ve installed on the server.
Emails give an error forbidden 503 and so do the websites and also if I try and view websites through account and ip address I get an internal server error 500.
Just before these errors occurred the server was working fine and then httpd service failed. As I was unable to restart the service I used yum to reinstall and start the service. I then took the opportunity to upgrade the server php version from 5.3 to 7.0 and it seems that that has caused the problems I have now.
In a bid to sort that problem out I reverted back to php version 5.3 by rebuilding the selector and then restarting the httpd service. The problem continued.
Looking in Apache2 error log I see the following:
Code: [Select]
[Wed Nov 08 14:04:41.081278 2017] [:error] [pid 27686:tid 140447787747072] [client 46.229.168.66:11298] Failed loading /usr/local/php56/lib/php/extensions/ZendOptimizer.so:  /usr/local/php56/lib/php/extensions/ZendOptimizer.so: cannot open shared object file: No such file or directory300mb of log saying the same two errors.
So I rebuilt php 5.3 from selector and included ioncube and zen in the build. I then ran the following command
Code: [Select]
sh /scripts/update_ioncuberestarted httpd services and the problem is still there.
Any ideas please.

32
Backup / Backup to local NAS
« on: October 15, 2017, 05:15:39 PM »
Hi guys I can't seem to see how to achieve the following and wondered if anyone could help me with this please.
I have Centos 7 and running CWP version: 0.9.8.359. There is only the one server hosting about 10 VPS clients.
On my local network I have the Centos server behind a NAT router that also hosts a NAS.
I've setup daily and weekly backups in CWP but would like the weekly backups to be backed up to the local NAS.
I'm trying to achieve that I have a backup copy in the local backup directory (CWP backups) and also at least a weekly backup on the NAS.
Any help would be fantastic.

33
E-Mail / Can send but not receieve
« on: October 08, 2017, 05:37:56 PM »
Guys I’ve been trying to resolve this for about 5 weeks now, I’ve trolled every postfix and dns forum available and although I’m seeing the exact same issues, I’m unable to resolve my problem. Without a doubt this is to do with my lack of understanding of DNS and Postfix.
Anyway, the issue is that I’m unable to receive emails from outside the domain. I can send and the emails are received within seconds. If the emails are returned they don’t get sent to my inbox. If I send an email from an external domain they don’t end up in my inbox. If I send an email to myself (internally) it turns up in my inbox.
I’ve spoken to my ISP and they say that port 25 is open and they don’t restrict anything.
I have access to alter the PTR records at the ISP but I’m not sure what to put there. I’ve put
82-69-15-167.server1.recom.co.uk.
That’s the real external IP of the server that is also the ISP IP address. That is also the host name of the server and real domain name.
I was initially running the DNS on the server but decided to use the Free DNS manager and here is the set up.
Code: [Select]
DNS Zone Test
zone recom.co.uk/IN: loaded serial 2017100704
OK

Domain nameservers are set to:
ns1.centos-webpanel.com
ns2.centos-webpanel.com

You need to set your domain nameservers to:
ns1.centos-webpanel.com
ns2.centos-webpanel.com
ns3.centos-webpanel.com
ns4.centos-webpanel.com
ns5.centos-webpanel.com

*if you want that your dns records works!

Zone:
recom.co.uk
Serial:2017100704
Refresh: 28800
Retry:7200
Expire:1209600
TTL:86400
NS1: ns1.centos-webpanel.com
NS2: ns2.centos-webpanel.com
 
Host Type Destination

@ A 82.69.15.167

@ MX 10 mail.recom.co.uk

ftp A 82.69.15.167

mail A 82.69.15.167

server1.recom.co.uk A 82.69.15.167

www CNAME @
I have only set up one zone, so what you see is the entire DNS.
As I mentioned earlier the domains and IPs are the genuine thing. I’ve published these in the hope of guidance as I’m aware that my lack of knowledge combined with using example.com would further inflame my problem.
I’m hoping that someone will be kind enough to guide me through this problem and I will be able to one day help the community in return.

Pages: 1 2 [3]