Control Web Panel

WebPanel => Installation => Topic started by: dormeo on January 26, 2017, 10:24:18 AM

Title: Centos 6 install on dedicated server
Post by: 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
Title: Re: Centos 6 install on dedicated server
Post by: robbyq on January 26, 2017, 10:32:08 AM
Same error more or less
http://forum.centos-webpanel.com/centos-6-problems/could-not-connect-to-mysql/msg9695/?topicseen#msg9695

Need solutions and fix with support.
Title: Re: Centos 6 install on dedicated server
Post by: dormeo on January 26, 2017, 10:42:43 AM
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?
Title: Re: Centos 6 install on dedicated server
Post by: robbyq on January 26, 2017, 10:47:16 AM
http://wiki.centos-webpanel.com/how-to-setup-name-servers

Can see that, and after rebuild all vhost, try
Title: Re: Centos 6 install on dedicated server
Post by: dormeo on January 26, 2017, 10:48:15 AM
no, what I wrote is BEFORE CWP install

http://wiki.centos-webpanel.com/how-to-setup-name-servers

Can see that, and after rebuild all vhost, try
Title: Re: Centos 6 install on dedicated server
Post by: warwicknz on January 26, 2017, 11:44:51 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.
Title: Re: Centos 6 install on dedicated server
Post by: Sandeep on January 27, 2017, 06:16:58 AM
run this command and share the output :
Code: [Select]
cat /etc/resolv.conf
for apache you need to check the logs