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

Pages: [1]
1
E-Mail / What should my Domain and hostname be when rebuilding postfix
« on: December 07, 2018, 10:37:16 PM »
I'm running a vps on scaleway and i'm not sure what I should add as hostname and domainname when rebuilding my postfix.
Lets say the domain im hosting is mysite.com and my scaleway address is 34.295.7.1.cloud.scaleway.com.
What do I use?

Crowds

2
CentOS 7 Problems / CWP wont start after hostname change
« on: September 19, 2017, 07:06:58 PM »
I altered my hostname and after a restart CWP will not load.
I am getting
Quote
systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

running systemctl status httpd.service gives me
Quote
Sep 19 18:53:43 mydomain.com systemd[1]: Starting Web server Apache...
Sep 19 18:53:44 mydomain.com apachectl[5881]: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf.d/ssl.conf:9
Sep 19 18:53:44 mydomain.com apachectl[5881]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using mydomain.com. Set the 'ServerName' directive globally to suppress this message
Sep 19 18:53:45 mydomain.com systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 19 18:53:45 mydomain.com systemd[1]: Failed to start Web server Apache.
Sep 19 18:53:45 mydomain.com systemd[1]: Unit httpd.service entered failed state.
Sep 19 18:53:45 mydomain.com systemd[1]: httpd.service failed.

Whilst journalctl -xe provides
Quote
Sep 19 18:58:41 mydomain.com cwpsrv[6321]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
Sep 19 18:58:41 mydomain.com systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Sep 19 18:58:41 mydomain.com systemd[1]: Failed to start CentOS Web Panel service (daemon).
-- Subject: Unit cwpsrv.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has failed.
--
-- The result is failed.
Sep 19 18:58:41 mydomain.com systemd[1]: Unit cwpsrv.service entered failed state.
Sep 19 18:58:41 mydomain.com systemd[1]: cwpsrv.service failed.
Sep 19 18:58:42 mydomain.com postfix/smtp[6207]: connect to mx4.hotmail.com[65.55.37.120]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6208]: connect to mx2.hotmail.com[104.44.194.231]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6210]: connect to mta5.am0.yahoodns.net[98.136.216.25]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6212]: connect to ff-ip4-mx-vip1.prodigy.net[144.160.159.21]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6214]: connect to mailin-01.mx.aol.com[152.163.0.99]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6215]: connect to msn-com.olc.protection.outlook.com[104.47.36.33]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6216]: connect to mx3.hotmail.com[207.46.8.199]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6217]: connect to mailin-02.mx.aol.com[64.12.88.163]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6218]: connect to mta7.am0.yahoodns.net[98.138.112.32]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6219]: connect to mailin-01.mx.aol.com[152.163.0.68]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6221]: connect to mx1.hotmail.com[65.55.92.168]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6222]: connect to mailin-01.mx.aol.com[152.163.0.99]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6227]: connect to mx4.hotmail.com[104.44.194.233]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6228]: connect to mailin-01.mx.aol.com[64.12.88.132]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6229]: connect to mta6.am0.yahoodns.net[63.250.192.46]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6230]: connect to mta5.am0.yahoodns.net[98.136.216.25]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6231]: connect to mta5.am0.yahoodns.net[98.138.112.37]:25: Connection timed out
Sep 19 18:58:43 mydomain.com postfix/smtp[6232]: connect to mailin-02.mx.aol.com[152.163.0.68]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6233]: connect to al-ip4-mx-vip1.prodigy.net[144.160.235.143]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6234]: connect to mailin-01.mx.aol.com[152.163.0.67]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6235]: connect to msn-com.olc.protection.outlook.com[104.47.40.33]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6236]: connect to mailin-03.mx.aol.com[64.12.91.196]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6237]: connect to mailin-02.mx.aol.com[64.12.88.163]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6238]: connect to mailin-03.mx.aol.com[64.12.88.164]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6239]: connect to ff-ip4-mx-vip2.prodigy.net[144.160.159.22]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6240]: connect to ff-ip4-mx-vip1.prodigy.net[144.160.159.21]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6241]: connect to mailin-01.mx.aol.com[64.12.91.195]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6242]: connect to msn-com.olc.protection.outlook.com[104.47.40.33]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6244]: connect to msn-com.olc.protection.outlook.com[104.47.36.33]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6245]: connect to ff-ip4-mx-vip2.prodigy.net[144.160.159.22]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6243]: connect to alt1.gmail-smtp-in.l.google.com[74.125.205.26]:25: Connection timed out
Sep 19 18:58:44 mydomain.com postfix/smtp[6243]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4010:c02::1b]:25: Network is unreachable
Sep 19 18:58:45 mydomain.com kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=de:19:5c:26:90:05:ee:ca:8f:db:ce:36:08:00 SRC=222.186.51.138 DST=10.3.134.139 LEN=40 TOS=0x00 PREC=0x00 TTL=100 ID=256 PROTO=TCP SPT=6000 DPT=3306 WINDOW
Sep 19 18:58:46 mydomain.com systemd[1]: cwpsrv.service holdoff time over, scheduling restart.
Sep 19 18:58:46 mydomain.com systemd[1]: Starting CentOS Web Panel service (daemon)...
-- Subject: Unit cwpsrv.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has begun starting up.
Sep 19 18:58:46 mydomain.com cwpsrv[6327]: cwpsrv: [emerg] EM_read_bio_X509_AUX("/etc/pki/tls/certs/hostname.crt") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
Sep 19 18:58:46 mydomain.com cwpsrv[6327]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
Sep 19 18:58:46 mydomain.com systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Sep 19 18:58:46 mydomain.com systemd[1]: Failed to start CentOS Web Panel service (daemon).
-- Subject: Unit cwpsrv.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has failed.
--
-- The result is failed.
Sep 19 18:58:46 mydomain.com systemd[1]: Unit cwpsrv.service entered failed state.
Sep 19 18:58:46 mydomain.com systemd[1]: cwpsrv.service failed.

My logs are showing a whole bunch of this >
Quote
[Tue Sep 19 18:53:45.001826 2017] [ssl:emerg] [pid 5883:tid 139787373369216] AH02561: Failed to configure certificate mydomain.com:443:0, check /etc/pki/tls/certs/mydomain.com.cert
[Tue Sep 19 18:53:45.001974 2017] [ssl:emerg] [pid 5883:tid 139787373369216] SSL Library Error: error:0906D06C:PEM routines:PEM_read_bio:no start line (Expecting: CERTIFICATE) -- Bad file contents or format - or even just a forgotten SSLCertificateKeyFile?
[Tue Sep 19 18:53:45.002021 2017] [ssl:emerg] [pid 5883:tid 139787373369216] SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
AH00016: Configuration Failed

I have found this issue mentioned elsewhere on the forum and it would seem I have messed up my ssl cert by changing my hostname?

http://forum.centos-webpanel.com/apache/cwp7-apache-won%27t-start-after-changing-hostname/

It's suggested to disable ssl but I have no idea how...

Any ideas?

3
CentOS 7 Problems / Could not select database root_cwp
« on: July 21, 2017, 09:43:24 PM »
Everything was working find but suddenly today I keep getting
Quote
Could not select database root_cwp
Sometimes it briefly works and then and live monitor starts to load then it seems like the connection drops out?
Centos 7
CWPpro

I have searched and saw a suggestion to reset the mysql root password which I did but no joy

Any Ideas?



4
DNS / DNS - registrar settings for a multiple domain setup.
« on: May 05, 2017, 09:04:31 PM »
I have just switched my VPS provider and reinstalled CWP. I cant for the life of me recall how I got DNS working before.
I have a root domain registered.. and that domain  i use as my DNS server. I also have a couple of other sites hosted. Alas all of them default to the CWP default page...I have removed the index.html but no joy.
Lets say my default site is mysite.com
On my domain registrar, do I need to set my name servers as mysite.com for a second or third hosted site or should they be second.site, third.site ?

5
E-Mail / Webmail lite -Error while connecting to the mail server
« on: January 22, 2017, 11:49:58 PM »
I saw that webmail lite was available via the Softaculous script installer and wanted to give it a go. I installed it but when I access the folder and try to log in it says 'Error while connecting to the mail server'
Has anyone managed to get this working on CWP? What to I need to do to get it to connect with the mail server ?

Jim

Pages: [1]