New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Centos 6 install on dedicated server

Started by dormeo, January 26, 2017, 10:24:18 AM

Previous topic - Next topic

dormeo

Hello,

Something is wrong with the current install, because I have used the CWP on this server half years ago.
After install, I want to use the "Apache & Nginx Reverse Proxy" option.
After that and after rebuild vhosts the netstat block is empty.
In SSH:
service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 419 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load /usr/local/apache/modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: cannot open shared object file: No such file or directory
                                                           [FAILED]




Other info for help: why I get this warning on all page:

Warning: [obfuscated](): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/admin/index.php on line 0

Warning: [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=ads_all): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/admin/index.php on line 0


dormeo

#2
I think the official install help is not enough.
Because If you set your hostname with "hostname anything.yourdomain.com" that is destroy if you restart your server.
And the installer tutorial say reboot after "yum -y update", so then your hostname set useless, you need to do again, or edit in "/etc/sysconfig/network" AND "/etc/hosts"

based on this: https://support.rackspace.com/how-to/centos-hostname-change/

Am I see this good?



warwicknz

Quote from: dormeo on January 26, 2017, 10:24:18 AM
Hello,

Something is wrong with the current install, because I have used the CWP on this server half years ago.
After install, I want to use the "Apache & Nginx Reverse Proxy" option.
After that and after rebuild vhosts the netstat block is empty.
In SSH:
service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 419 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load /usr/local/apache/modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: cannot open shared object file: No such file or directory
                                                           [FAILED]




Other info for help: why I get this warning on all page:

Warning: [obfuscated](): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/admin/index.php on line 0

Warning: [obfuscated](http://centos-webpanel.com/webpanel/main.php?app=ads_all): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/local/cwpsrv/htdocs/admin/index.php on line 0


Any update on this? I have this php_network error also, completely out of the blue, no issues for months.

Sandeep

run this command and share the output :
cat /etc/resolv.conf

for apache you need to check the logs