Owncloud down after IP Address change of a server

Hello everyone,

We have a Owncloud running on Centos 7. We tried to change the ip address of the server but Owncloud wont work after the change. I have a ping to the server with the new IP address but the Webserver will not run.

I edited the config.php file with the new IP address but we still can not access the webserver with the new address.

Any help would be much appreciated.

Thank you

I also noticed that after changing the IP address of the server the Certificate is invalid. We get the message ‘your connection is not secure’. Below are the last few logs: ssl error log and ssl access log:

ssl_error_log:
[Thu Mar 02 12:54:24.468194 2023] [ssl:warn] [pid 15374] AH01909: RSA certificate configured for OUR_DOMAIN:443 does NOT include an ID which matches the server name
[Thu Mar 02 12:54:24.541237 2023] [ssl:warn] [pid 15374] AH01909: RSA certificate configured for OUR_DOMAIN:443 does NOT include an ID which matches the server name

ssl_access_log
192.168.203.10 - - [02/Mar/2023:12:56:14 +0100] “POST /index.php/heartbeat HTTP/1.1” 599 -
192.168.203.10 - - [02/Mar/2023:12:56:14 +0100] “GET /status.php HTTP/1.1” 599 -
192.168.203.10 - baze [02/Mar/2023:12:56:15 +0100] “GET /status.php HTTP/1.1” 599 -
192.168.203.10 - - [02/Mar/2023:12:57:14 +0100] “GET /status.php HTTP/1.1” 599 -
192.168.203.10 - baze [02/Mar/2023:12:57:17 +0100] “GET /status.php HTTP/1.1” 599 -
192.168.203.10 - - [02/Mar/2023:12:58:14 +0100] “GET /status.php HTTP/1.1” 599 -
192.168.203.10 - baze [02/Mar/2023:12:58:19 +0100] “GET /status.php HTTP/1.1” 599 -

I think there’s webserver issue here , can you show some webserver log? And some of the configuration

1 Like

The strange thing is we have the issue when we change the IP address to the Server only. When we go back to the old IP address Owncloud works without an issue. I noticed an issue with the SSL certificate when we use the new IP address.

Below is the httpd error log:
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:20:45.772316 2023] [mpm_prefork:notice] [pid 2667] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:20:45.772383 2023] [core:notice] [pid 2667] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Mar 02 13:21:35.311680 2023] [mpm_prefork:notice] [pid 2667] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 02 13:21:36.417639 2023] [suexec:notice] [pid 2709] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 02 13:21:36.473902 2023] [lbmethod_heartbeat:notice] [pid 2709] AH02282: No slotmem from mod_heartmonitor
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:21:36.552563 2023] [mpm_prefork:notice] [pid 2709] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:21:36.552665 2023] [core:notice] [pid 2709] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Mar 02 13:22:28.356441 2023] [mpm_prefork:notice] [pid 2709] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 02 13:22:29.447541 2023] [suexec:notice] [pid 2738] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 02 13:22:29.485454 2023] [lbmethod_heartbeat:notice] [pid 2738] AH02282: No slotmem from mod_heartmonitor
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:22:29.530091 2023] [mpm_prefork:notice] [pid 2738] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:22:29.530144 2023] [core:notice] [pid 2738] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Mar 02 13:22:37.706467 2023] [mpm_prefork:notice] [pid 2738] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 02 13:22:38.855842 2023] [suexec:notice] [pid 2759] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 02 13:22:38.890504 2023] [lbmethod_heartbeat:notice] [pid 2759] AH02282: No slotmem from mod_heartmonitor
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:22:38.930256 2023] [mpm_prefork:notice] [pid 2759] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:22:38.930297 2023] [core:notice] [pid 2759] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Mar 02 13:22:47.007857 2023] [mpm_prefork:notice] [pid 2759] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 02 13:23:05.628396 2023] [suexec:notice] [pid 1220] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 02 13:23:05.802137 2023] [lbmethod_heartbeat:notice] [pid 1220] AH02282: No slotmem from mod_heartmonitor
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:23:06.083693 2023] [mpm_prefork:notice] [pid 1220] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:23:06.083755 2023] [core:notice] [pid 1220] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Mar 02 13:26:57.094427 2023] [mpm_prefork:notice] [pid 1220] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 02 13:27:17.189455 2023] [suexec:notice] [pid 1214] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 02 13:27:17.360466 2023] [lbmethod_heartbeat:notice] [pid 1214] AH02282: No slotmem from mod_heartmonitor
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:27:17.532607 2023] [mpm_prefork:notice] [pid 1214] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:27:17.532654 2023] [core:notice] [pid 1214] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Mar 02 13:28:17.157736 2023] [mpm_prefork:notice] [pid 1214] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Mar 02 13:28:52.439145 2023] [suexec:notice] [pid 1211] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Mar 02 13:28:52.585388 2023] [lbmethod_heartbeat:notice] [pid 1211] AH02282: No slotmem from mod_heartmonitor
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘apc.so’ (tried: /usr/lib64/php/modules/apc.so (/usr/lib64/php/modules/apc.so: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/apc.so.so (/usr/lib64/php/modules/apc.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Thu Mar 02 13:28:52.814144 2023] [mpm_prefork:notice] [pid 1211] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30 configured – resuming normal operations
[Thu Mar 02 13:28:52.816412 2023] [core:notice] [pid 1211] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’

Yes. This is beacuse, as @JDhyeaa suggested, you likely have a server configuration issue. You need to look at the detailed reason provided by the connection is not secure message. It should point you in the right direction.

You need to share some of the configuration, as it seems there is something cause this when the IP is changed, likely configuration issue as I mentioned before

Also need to know what type of service are using? Like dedicated server or CPanel like ?

1 Like

We use dedicated server. It runs on Centos 7. I will try to reinstall the webserver and see if that fixes the problem

1 Like

Let me know what happen , if issue fixed or not

Unfortunately no. It did not work

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.