Author Topic: Errors after install  (Read 21063 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Errors after install
« on: November 05, 2014, 09:18:15 AM »
Hi,
Ive installed CWP< all seems fine except whenI try to look at cwp addons, then the following error occurs. ( I have name servers set to the free dns name servers.
Is it just a case of waiting to see if name servers propagate fully?


Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/resources/admin/modules/webpanel_addons.php(1) : eval()'d code(1) : eval()'d code on line 1

Warning: file_get_contents(http://centos-webpanel.com/webpanel/main.php?app=rc4key&version=0.9.6): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/resources/admin/modules/webpanel_addons.php(1) : eval()'d code(1) : eval()'d code on line 1

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/resources/admin/modules/webpanel_addons.php(1) : eval()'d code(1) : eval()'d code on line 1

Warning: file_get_contents(http://centos-webpanel.com/webpanel/main.php?app=addons&version=0.9.6): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/resources/admin/modules/webpanel_addons.php(1) : eval()'d code(1) : eval()'d code on line 1

Warning: Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 1

Notice: String offset cast occurred in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 1

Notice: Uninitialized string offset: 0 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 1

Warning: Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line

Offline
*
Re: Errors after install
« Reply #1 on: November 05, 2014, 12:28:47 PM »
can you add the output of the following comand
Code: [Select]
cat /etc/resolv.conf
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Errors after install
« Reply #2 on: November 05, 2014, 01:50:29 PM »
Hi,
output below


[root@Damos ~]# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 62.210.16.6

Offline
*
Re: Errors after install
« Reply #3 on: November 05, 2014, 01:56:25 PM »
replace it with

Code: [Select]
nameserver 8.8.8.8
nameserver 8.8.4.4
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Errors after install
« Reply #4 on: November 05, 2014, 02:01:01 PM »
even though Im using the freedns names?

tia

Offline
*
Re: Errors after install
« Reply #5 on: November 05, 2014, 02:46:10 PM »
hI , added 8.8.8.8 & 4.4.4.4 same issue

Offline
*
Re: Errors after install
« Reply #6 on: November 07, 2014, 02:05:31 AM »
have you tried to make a test like
ping google from the shell ?
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Errors after install
« Reply #7 on: November 07, 2014, 11:16:13 AM »
Hi,
I left it for a day & it works now...  Now have different issue...  If I install mod_security, apache stops working.

Offline
*
Re: Errors after install
« Reply #8 on: November 11, 2014, 12:07:38 AM »
you will need to check apache error logs.
/usr/local/apache/logs/error_log
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: Errors after install
« Reply #9 on: December 16, 2014, 06:33:11 AM »
I got same proble few times about cat /etc/resolv.conf.
Usually the fastest test is to try ping as admin suggest you.

The file cat /etc/resolv.conf is overwritted by networking service in some cases. (This is the why it has back to normal working without intervention)

If you have local IP on resolvconf and doesn't work, maybe you have named service down, or you don't have setup it. You are not oblied to use your own dns, cuz your dns server has only your dns records. To reach full internet you must setup a public dns, like google's 8.8.8.8 and 8.8.4.4.

I hard-fix that by removing write permission on file /etc/resolv.conf using command
Code: [Select]
chmod -w /etc/resolv.conf and setting file like admin suggest:
Code: [Select]
nameserver 8.8.8.8
nameserver 8.8.4.4

Regards.
« Last Edit: December 16, 2014, 06:35:42 AM by erm3nda »
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.