Brian Taylor
New Pleskian
Trying to run scheduled tasks (cron) which worked fine on an easyspace virtual server using plesk 11.5 , we're now on a dedicated server using Plesk 12 and the same jobs are now failing with a Connection Refused error. I cannot find any mention of the error in any log files, the cron log just tells me its been called. I am using wget but also tried curl, the url works just fine if dne through a browser
/usr/bin/wget "https://kingdom-sales.co.uk/magento/smiffyfeed.php" -O /dev/null
This is the email I get from plesk
--2015-08-03 10:41:01-- https://kingdom-sales.co.uk/magento/smiffyfeed.php
Resolving kingdom-sales.co.uk... ::1, 127.0.0.1
Connecting to kingdom-sales.co.uk|::1|:443... failed: Connection refused.
Connecting to kingdom-sales.co.uk|127.0.0.1|:443... failed: Connection refused.
I'm using the plesk firewall, everything matches to the firewall settings in plesk11.5, the iptables show as
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
REJECT tcp -- anywhere anywhere tcp flags:!FIN,SYN, RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:12443
ACCEPT tcp -- anywhere anywhere tcp dpt:11443
ACCEPT tcp -- anywhere anywhere tcp dpt:11444
ACCEPT tcp -- anywhere anywhere tcp dpt:8447
ACCEPT tcp -- anywhere anywhere tcp dptcsync-http s
ACCEPT tcp -- anywhere anywhere tcp dpt:cddbp-alt
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:submission
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:urd
ACCEPT tcp -- anywhere anywhere tcp dptop3
ACCEPT tcp -- anywhere anywhere tcp dptop3s
ACCEPT tcp -- anywhere anywhere tcp dpt:imap
ACCEPT tcp -- anywhere anywhere tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere tcp dptoppassd
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp dptostgres
ACCEPT tcp -- anywhere anywhere tcp dptgs-server
ACCEPT tcp -- anywhere anywhere tcp dpt:glrpc
ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-d s
ACCEPT udp -- anywhere anywhere udp dptpenvpn
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT icmp -- anywhere anywhere icmp type 8 code 0
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
REJECT tcp -- anywhere anywhere tcp flags:!FIN,SYN, RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
REJECT tcp -- anywhere anywhere tcp flags:!FIN,SYN, RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Having searched the internet and looked for the past 4 days with no success and limited knowledge on servers I am getting no where. Conf files seem to be set up ok, ports are set different to those used in plesk 11.5 (7080, 7081) but that appears to ok as nginx is in use and nginx conf is set using 80,443. No proxies being used that I am aware of, host file set for 127.0.0.1 and ::1.
Any help would be appreciated, I'm also a forum newbie so apologies if I'm not doing this right.
Thanks Brian
/usr/bin/wget "https://kingdom-sales.co.uk/magento/smiffyfeed.php" -O /dev/null
This is the email I get from plesk
--2015-08-03 10:41:01-- https://kingdom-sales.co.uk/magento/smiffyfeed.php
Resolving kingdom-sales.co.uk... ::1, 127.0.0.1
Connecting to kingdom-sales.co.uk|::1|:443... failed: Connection refused.
Connecting to kingdom-sales.co.uk|127.0.0.1|:443... failed: Connection refused.
I'm using the plesk firewall, everything matches to the firewall settings in plesk11.5, the iptables show as
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
REJECT tcp -- anywhere anywhere tcp flags:!FIN,SYN, RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:12443
ACCEPT tcp -- anywhere anywhere tcp dpt:11443
ACCEPT tcp -- anywhere anywhere tcp dpt:11444
ACCEPT tcp -- anywhere anywhere tcp dpt:8447
ACCEPT tcp -- anywhere anywhere tcp dptcsync-http s
ACCEPT tcp -- anywhere anywhere tcp dpt:cddbp-alt
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:submission
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:urd
ACCEPT tcp -- anywhere anywhere tcp dptop3
ACCEPT tcp -- anywhere anywhere tcp dptop3s
ACCEPT tcp -- anywhere anywhere tcp dpt:imap
ACCEPT tcp -- anywhere anywhere tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere tcp dptoppassd
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp dptostgres
ACCEPT tcp -- anywhere anywhere tcp dptgs-server
ACCEPT tcp -- anywhere anywhere tcp dpt:glrpc
ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-d s
ACCEPT udp -- anywhere anywhere udp dptpenvpn
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT icmp -- anywhere anywhere icmp type 8 code 0
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
REJECT tcp -- anywhere anywhere tcp flags:!FIN,SYN, RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
REJECT tcp -- anywhere anywhere tcp flags:!FIN,SYN, RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Having searched the internet and looked for the past 4 days with no success and limited knowledge on servers I am getting no where. Conf files seem to be set up ok, ports are set different to those used in plesk 11.5 (7080, 7081) but that appears to ok as nginx is in use and nginx conf is set using 80,443. No proxies being used that I am aware of, host file set for 127.0.0.1 and ::1.
Any help would be appreciated, I'm also a forum newbie so apologies if I'm not doing this right.
Thanks Brian