Has anyone tried connecting to a database on CentOS 7 running Interworx? I can’t seem to get it to connect.
From the /var/log/mariadb.log is below. It doesn’t seem to change when testing, all stays the same.
root@server mariadb]# tail -n 50 mariadb.log
151031 17:07:16 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.44-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server
151101 12:23:10 [Note] /usr/libexec/mysqld: Normal shutdown
151102 07:56:39 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
151102 07:58:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151102 7:58:03 [Note] /usr/libexec/mysqld (mysqld 5.5.44-MariaDB) starting as process 2100 …
151102 7:58:03 InnoDB: The InnoDB memory heap is disabled
151102 7:58:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151102 7:58:03 InnoDB: Compressed tables use zlib 1.2.7
151102 7:58:03 InnoDB: Using Linux native AIO
151102 7:58:03 InnoDB: Initializing buffer pool, size = 128.0M
151102 7:58:03 InnoDB: Completed initialization of buffer pool
151102 7:58:03 InnoDB: highest supported file format is Barracuda.
151102 7:58:04 InnoDB: Waiting for the background threads to start
151102 7:58:05 Percona XtraDB (http://www.percona.com) 5.5.43-MariaDB-37.2 started; log sequence number 1597945
151102 7:58:05 [Note] Plugin ‘FEEDBACK’ is disabled.
151102 7:58:05 [Note] Server socket created on IP: ‘0.0.0.0’.
151102 7:58:05 [Note] Event Scheduler: Loaded 0 events
151102 7:58:05 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.44-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server
Above it shows socket created on IP: 0.0.0.0. So in the config file, I changed localhost to 127.0.0.1 and that didn’t work. I don’t think anything changed.
There wasn’t a mysqld.log so I checked Interwrox at Server->Logs->mysqld.log and below is what I saw, which it was correct.
/usr/bin/tail: cannot open ?/var/log/mysqld.log? for reading: No such file or directory
The httpd error logs don’t show anything.
I checked and mariadb is running I’m not real good with databases, so I could be missing something. I’ve resarte httpd and mariadb in the event this had to be done. Nothing changes. Any ideas?
Sorry, a thought came to me, so before doing the above can you
Set your IP address to 0.0.0.0 and restart MySQL
Create a siteworx database and user
I think your issue maybe your using the wrong username (and you should not be able to use root externally)
So double check your user for database - login to siteworx account, hosting, MySQL users - take note of full user name shown (should have unix-user, not just username)
Sorry for the delay in replying, but I’ve been very busy.
I uploaded a test page to the domain root and accessed directly from the web. It was able to access the database and list the tables. So the issue is not Interworx, but the software. Apparently it’s not compatible with the newer versions on this box.
On a side note, I haven’t had to run cvspernsfix resolves as I haven’t had a permissions issue since running it the first time. Not to say I’ll have to run it later, but so far I haven’t.
There is a lot more testing I need to do, but so far, all is looking good.
Well, it happened! I had to run cvspernsfix to fix the permissions issue. I was hoping I wouldn’t have to run it, but I did. Interworx is almost there!
Interworx uses firewalld on CentOS 7 for the firewall, doesn’t it?
If Interworx does use firewalld, does anyone know when there will be a fix for it? Although I do run a hardware firewall to protect my network, I don’t feel comfortable running a production server without the software firewall. Other than that, Interworx appears to work very well on CentOS 7!
Strange, I thought it used firewalld. Do you know if the issue with iptables have been corrected?
I’m going down to the datacenter tomorrow and performing a fresh CentOS 7 install. Late that evening or on Sunday I’ll install Interworx. I’ll let you know. On the past tests, everything else seemed to work great until I started firewalld. Ha, ha, ha, guess I should have tried the iptables.
I am not sure, I would think it has been but if I remember correctly, IW showed iptables not working (firewall) but a test for ports opened, showed it was working.
Also, IW announced very recently that the issue over IW not starting up after reboot/repower was resolved.
Personally, I install stable, check everything is as expected, then upgrade to release candidate, but then after upgrade, revert back to stable update, and run release candida on test server, once new updates show fine, I schedule for upgrade to production servers by setting update to release candidate, update and reverse back to stable on production.
Works extremely well for us, giving the most recent at our choosing
Sorry for any confusion I might cause, I was just posting the way I do it
It’s centos 7, so install release candidate to be sure
You could always setup the server prior to datacentre and reset IP address, add additional etc then take to DC. Actually, your behind a seperate firewall, which I’m thinking your using nat, which makes it easier if you run same internal node
Well, this sucks! I just tried to install the stable version of Interworx to CentOS 7 and never got past the setup. I’ve never had this happen before. Attached is a screen capture. Any ideas?
Okay, I think I know what I did wrong, just don’t know how to fix it.
I double checked and for the license key I put in the key for my mail server. So I guess Interworx thought I tried to spam them or do something illegal. Anyone know how to fix this?
The screenshot does not show much, but you should be able to look at logs
I would rerun the installer but use release candidate
If you mix up your licenses, it’s simple to fix, just edit iworx.conf and change the password to correct license, then restart iworx.
If your license needs changing for IP address assigned and registered with IW license servers, just log into your IW account and change as required, but I don’t think you need to change as its not been registered.
You should not need to call back to DC, as SSH should be installed.
I hope that helps a little and please update your post with how you go