Learn about Centmin Mod LEMP Stack today
Register Now

vBulletin vBulletin 5 Connect installation problems (404 Not Found error - WHY?)

Discussion in 'Forum software usage' started by VIP_Hawaii, Dec 12, 2019.

  1. VIP_Hawaii

    VIP_Hawaii Member

    56
    11
    8
    May 6, 2016
    Ratings:
    +12
    Local Time:
    11:02 PM
    1.11.3
    10.1.13 (?)
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • CentOS 7 64bit
    • Centmin Mod Version Installed: i.e. 123.08stable or 123.09beta01
    • 123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • 1.17.6
    • PHP Version Installed: i.e. 5.6.37, 7.0.31, 7.1.21, 7.2.9
    • 7.3.11
    • MariaDB MySQL Version Installed: i.e. 10.0.x or 10.1.xx or 10.2.xx
    • 10.3.21
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • This morning.
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      cat /etc/centminmod/custom_config.inc
      

      Post output in CODE tags.
    • No custom persistent config
    • vBulletin Version Installed:
    • vBulletin Connect v. 5.5.5 (latest)
    I know this is sort of off-topic, but ... :
    I followed your vBulletin 5 Connect installation guide, created the special-content /usr/local/nginx/conf/conf.d/churchofparadise.net.conf file, of course substituted the generic domain name or names (with 'www' canonical) as instructed, saved the file, restarted nginx successfully ("OK").

    Then I created the /usr/local/nginx/conf/phpvb5.conf using nano and the contents for it from your page.

    I wound up realizing that there are NO adequate Android FTP clients in existence, that can do what is required of the standard Centminmod configuration, i.e. FTPES with pem / crt / csr / RSA key pairs ... Closest to working correctly was AndFTP. God, how I wish I had a perfect working Android port of my fave, Bitvise Tunnelier ...

    So I wound up installing Webmin using the webmin.repo file/YUM install method, then after doing a quick edit on the CSF firewall configuration file, added TCP_IN and TCP_OUT instructions for port 10000, then used Webmin's built-in Others/Upload & Download utility to upload the vBulletin installation zip file, auto-extract the zip file and auto-delete it.

    Then I had to run (from my /home/local/nginx/domains/churchofparadise.net/public/upload directory : mv * /home/local/nginx/domains/churchofparadise.net/public to move all the files to the public WWW directory.

    Then, as instructed in the vBulletin manual, did all the config.php edits after creating a database called "c".


    Then, as instructed by a vBulletin.com forum post, I opened a Web browser and navigated to :

    http://churchofparadise.net/core/install/install.php (also tried it with a "www" prefix and with https:// but all URLs give me a 404 Not Found error).

    Checking again, I did a systemctl status nginx.service -l and this was the output :

    Code (Text):
    [05:59][root@ns543594 ~]# nano /usr/local/nginx/conf/phpvb5.conf
    [06:01][root@ns543594 ~]# nprestart      
    Restarting nginx (via systemctl):  Job for nginx.service failed because the contro
    l process exited with error code. See "systemctl status nginx.service" and "journa
    lctl -xe" for details.
    [FAILED]
    Restarting php-fpm (via systemctl) [  OK  ]
    [06:01][root@ns543594 ~]# systemctl status nginx.service -l
    ● nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP
    /POP3 proxy server
       Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
       Active: failed (Result: exit-code) since Thu 2019-12-12 06:01:50 UTC; 57s ago
         Docs: man:systemd-sysv-generator(8)
      Process: 30551 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=1/FAI
    LURE)
     Main PID: 6215 (code=exited, status=0/SUCCESS)
    
    Dec 12 06:01:50 ns543594 systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HT
    TP(S) reverse proxy and IMAP/POP3 proxy server...
    Dec 12 06:01:50 ns543594 nginx[30551]: Starting nginx: nginx: [emerg] unknown dire
    ctive "combined" in /usr/local/nginx/conf/conf.d/churchofparadise.net.conf:10
    Dec 12 06:01:50 ns543594 nginx[30551]: [FAILED]
    Dec 12 06:01:50 ns543594 systemd[1]: nginx.service: control process exited, code=e
    xited status=1
    Dec 12 06:01:50 ns543594 systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) ser
    ver, HTTP(S) reverse proxy and IMAP/POP3 proxy server.
    Dec 12 06:01:50 ns543594 systemd[1]: Unit nginx.service entered failed state.
    Dec 12 06:01:50 ns543594 systemd[1]: nginx.service failed.
    [06:02][root@ns543594 ~]#
    

    And the output of journalctl -xe :
    Code (Text):
    [06:02][root@ns543594 ~]# journalctl -xe                                 Dec 12 06:13:34 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:35 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:37 ns543594 sshd[31289]: Unable to negotiate with 163.172.13Dec 12 06:13:38 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:39 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:41 ns543594 sshd[31291]: Connection closed by 139.59.41.154 Dec 12 06:13:42 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:43 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:46 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:47 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:50 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:50 ns543594 sshd[31293]: Unable to negotiate with 163.172.13Dec 12 06:13:51 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:54 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:55 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:57 ns543594 kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:57 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:13:59 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:02 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:03 ns543594 sshd[31308]: Unable to negotiate with 163.172.13Dec 12 06:14:03 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:06 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:07 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:10 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:11 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:14 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:15 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:15 ns543594 sshd[31310]: Unable to negotiate with 163.172.13Dec 12 06:14:18 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:19 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:22 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:23 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:26 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:27 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= Dec 12 06:14:27 ns543594 sshd[31335]: Unable to negotiate with 163.172.13Dec 12 06:14:30 ns543594 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        ~                                                                        lines 1042-1077/1077 (END)
    

    What did I do wrong?

    Dane.
     
    Last edited: Dec 12, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    55,400
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    6:02 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You mean guide listed at https://centminmod.com/nginx_configure.html for https://centminmod.com/nginx_configure_vbulletin5.html ? That was written 6yrs ago so could be out dated.

    You broke Centmin Mod by installing webmin as Centmin Mod will not work with any other control panel. Unfortunately, best to start on a fresh CentOS 7 install with fresh Centmin Mod install as I have no idea what you broke by installing Webmin on a Centmin Mod installation.

    Why you require Android FTP client ? If you can't use pure-ftpd, then upload as root user via SFTP port 22 and ensure to change directory and files for wordpress to nginx user/group via chown. As per Getting Started Guide step 2 https://centminmod.com/getstarted.html
    You can edit CSF firewall config directly via /etc/csf/csf.conf as outlined at https://centminmod.com/csf_firewall.html using nano/vim/vi editors in linux within SSH session. Easiest way to edit configuration or any files on your server is via logging into your server via ssh and directly editing them using nano or vim linux text editors. For nano which you can read up more about nano here and here. For vim text editor read here and here and thread at WebPerf - Popular Vim Commands – a Comprehensive Vim Cheatsheet. Also there's numerous online how to use guides for nano and vim you can search for via google :)

    Unfortunately, best to start on a fresh CentOS 7 install with fresh Centmin Mod install as I have no idea what you broke by installing Webmin on a Centmin Mod installation.
     
  3. VIP_Hawaii

    VIP_Hawaii Member

    56
    11
    8
    May 6, 2016
    Ratings:
    +12
    Local Time:
    11:02 PM
    1.11.3
    10.1.13 (?)
    I was referring to the
    https://centminmod.com/nginx_configure_vbulletin5.html
    guide; yes, I realize that guide is 6 years old, written for vBulletin 5.0.4 and my version is 5.5.5!

    However, about 3 years ago I did in fact install Webmin over Centminmod and no damage was done, in fact I considered it to be a perfect installation. I even mentioned at that time here in this forum that I had hoped to write a set of Webmin modules that were compatible with Centminmod as a gift to George Liu and the CentOS / Centminmod community at large.

    You say just "upload as root user via SFTP port 22" but without a workable FTP client I am left with only Web browsers ... Which one to use??
    I usually use Firefox but Firefox always has problems with form submissions and checkboxes so usually I would use Chrome in Desktop mode when necessary. The reason I need to use an Android client is that I have to be out and about and cannot at this time afford a laptop computer, which would have a dual-boot CentOS 7 or CentOS 8 64 bit installation with Windows 7 Professional, and I would use the Windows software, "Bitvise Tunnelier" ( https://www.bitvise.com/download-area ).

    Are there any plans for a WebUI for Centminmod?

    In the meantime I will try doing a clean YUM remove and hopefully that will fix any damage. I have a TeamSpeak server running up there that took me 4 hours last night to set up.

    I will post back here with my results.

    Dane.
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,400
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    6:02 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+