Hello, I have already found the topic of 2021, but the problem has not been solved there. I installed ceberpanel several times on Ubuntu 22.04 and when installing wordpress I get the same error [“ERROR 2005 (HY000): Unknown server host ‘localhost’ (-2)”," [404]"]. Does anyone know the solution, and why does cyberpanel installed from scratch make such errors? Thanks
2023-03-13 00:51:59.446109 [NOTICE] [5199] [AutoRestarter] new child process with pid=5201 is forked!
2023-03-13 00:51:59.446855 [NOTICE] [5201] [*:80] Worker #1 activates SO_REUSEPORT #1 socket, fd: 8
2023-03-13 00:51:59.446922 [INFO] [5201] [UDP:0.0.0.0:7080] initPacketsIn: allocated 100 packets
2023-03-13 00:51:59.447062 [NOTICE] [5201] AIO is not supported on this machine!
2023-03-13 00:51:59.447111 [NOTICE] [5201] Successfully change current user to nobody
2023-03-13 00:51:59.447123 [NOTICE] [5201] Core dump is enabled.
2023-03-13 00:51:59.447165 [INFO] [5201] [stihi2557.655340] kill current detached process: 5044
2023-03-13 00:51:59.447175 [INFO] [5201] [stihi2557.655340] remove unix socket for detached process: /tmp/lshttpd/stihi2557.sock
2023-03-13 00:51:59.447194 [NOTICE] [5201] sendKillCmdToWatchdog: ‘extappkill:5044:-3:1678657751’.
2023-03-13 00:51:59.447240 [NOTICE] [5199] Cmd from child: [extappkill:5044:-3:1678657751]
2023-03-13 00:51:59.453497 [INFO] [5199] [CLEANUP] Send signal: 15 to process: 5044
2023-03-13 00:51:59.453596 [INFO] [5201] [stihi2557.655340]: locked pid file [/tmp/lshttpd/stihi2557.sock.pid].
2023-03-13 00:51:59.453612 [INFO] [5201] [stihi2557.655340] remove unix socket for detached process: /tmp/lshttpd/stihi2557.sock
2023-03-13 00:51:59.453684 [NOTICE] [5201] [LocalWorker::workerExec] VHost:stihiduhi.ru suExec check uid 65534 gid 65534 setuidmode 0.
2023-03-13 00:51:59.453701 [NOTICE] [5201] [LocalWorker::workerExec] Config[stihi2557.655340]: suExec uid 1002 gid 1003 cmd /usr/local/lsws/lsphp80/bin/lsphp, final uid 1002 gid 1003, flags: 0.
2023-03-13 00:51:59.454079 [NOTICE] [5201] [stihi2557.655340] add child process pid: 5202
2023-03-13 00:51:59.454192 [INFO] [5201] [stihi2557.655340]: unlocked pid file [/tmp/lshttpd/stihi2557.sock.pid].
2023-03-13 00:51:59.454239 [INFO] [5201] [lsphp]: locked pid file [/tmp/lshttpd/lsphp.sock.pid].
2023-03-13 00:51:59.454243 [INFO] [5201] [lsphp] remove unix socket for detached process: /tmp/lshttpd/lsphp.sock
2023-03-13 00:51:59.454296 [NOTICE] [5201] [LocalWorker::workerExec] Config[lsphp]: suExec uid 65534 gid 65534 cmd /usr/local/lsws/lsphp74/bin/lsphp, final uid 65534 gid 65534, flags: 0.
2023-03-13 00:51:59.455321 [NOTICE] [5201] [lsphp] add child process pid: 5203
2023-03-13 00:51:59.455389 [INFO] [5201] [lsphp]: unlocked pid file [/tmp/lshttpd/lsphp.sock.pid].
2023-03-13 00:51:59.455428 [INFO] [5201] [handm4914.655340]: locked pid file [/tmp/lshttpd/handm4914.sock.pid].
2023-03-13 00:51:59.455432 [INFO] [5201] [handm4914.655340] remove unix socket for detached process: /tmp/lshttpd/handm4914.sock
2023-03-13 00:51:59.455476 [NOTICE] [5201] [LocalWorker::workerExec] VHost:host suExec check uid 65534 gid 65534 setuidmode 0.
2023-03-13 00:51:59.455482 [NOTICE] [5201] [LocalWorker::workerExec] Config[handm4914.655340]: suExec uid 1003 gid 1004 cmd /usr/local/lsws/lsphp74/bin/lsphp, final uid 1003 gid 1004, flags: 0.
2023-03-13 00:51:59.459034 [NOTICE] [5201] [handm4914.655340] add child process pid: 5204
2023-03-13 00:51:59.459138 [INFO] [5201] [handm4914.655340]: unlocked pid file [/tmp/lshttpd/handm4914.sock.pid].
2023-03-13 00:51:59.459177 [NOTICE] [5201] Setup swapping space…
2023-03-13 00:51:59.459248 [NOTICE] [5201] LiteSpeed/1.7.16 Open starts successfully!
2023-03-13 00:51:59.524577 [NOTICE] [4780] New litespeed process is ready, stops listeners
2023-03-13 00:51:59.524608 [INFO] [4780] Stop all listeners.
2023-03-13 00:51:59.524615 [NOTICE] [4780] Stop listener *:80, fd 8.
2023-03-13 00:51:59.524623 [NOTICE] [4780] Stop listener *:7080, fd 9.
2023-03-13 00:51:59.524644 [NOTICE] [4780] Event-loop lingering done.
2023-03-13 00:51:59.524650 [NOTICE] [4780] Shut down successfully!
2023-03-13 00:51:59.524656 [NOTICE] [4780] HttpServerImpl::releaseAll called.
2023-03-13 00:51:59.526013 [NOTICE] [4778] [AutoRestarter] cleanup children processes and unix sockets belong to process 4780 !
2023-03-13 00:51:59.626259 [NOTICE] [4778] [AutoRestarter] child process with pid=4780 exited with status=0!
2023-03-13 00:51:59.626410 [NOTICE] [4778] Server Stopped!
2023-03-13 00:56:10.317186 [INFO] [5201] [handm4914.655340]: locked pid file [/tmp/lshttpd/handm4914.sock.pid].
2023-03-13 00:56:10.317216 [INFO] [5201] [handm4914.655340] remove unix socket for detached process: /tmp/lshttpd/handm4914.sock
2023-03-13 00:56:10.317283 [NOTICE] [5201] [LocalWorker::workerExec] VHost:host suExec check uid 65534 gid 65534 setuidmode 0.
2023-03-13 00:56:10.317292 [NOTICE] [5201] [LocalWorker::workerExec] Config[handm4914.655340]: suExec uid 1003 gid 1004 cmd /usr/local/lsws/lsphp74/bin/lsphp, final uid 1003 gid 1004, flags: 0.
2023-03-13 00:56:10.317681 [NOTICE] [5201] [handm4914.655340] add child process pid: 5300
2023-03-13 00:56:10.317779 [INFO] [5201] [handm4914.655340]: unlocked pid file [/tmp/lshttpd/handm4914.sock.pid].
2023-03-13 00:56:10.346929 [NOTICE] [5201] [198.41.144.253:20273#host] [STDERR] PHP Warning: require(/home/host/public_html/wp-includes/version.php): failed to open stream: No such file or directory in /home/host/public_html/wp-settings.php on line 33
2023-03-13 00:56:10.346958 [NOTICE] [5201] [198.41.144.253:20273#host] [STDERR] PHP Fatal error: require(): Failed opening required ‘/home/host/public_html/wp-includes/version.php’ (include_path=‘.:’) in /home/host/public_html/wp-settings.php on line 33
2023-03-13 00:56:15.205836 [NOTICE] [5201] [198.41.144.253:34011#host] [STDERR] PHP Warning: require(/home/host/public_html/wp-includes/version.php): failed to open stream: No such file or directory in /home/host/public_html/wp-settings.php on line 33
2023-03-13 00:56:15.205871 [NOTICE] [5201] [198.41.144.253:34011#host] [STDERR] PHP Fatal error: require(): Failed opening required ‘/home/host/public_html/wp-includes/version.php’ (include_path=‘.:’) in /home/host/public_html/wp-settings.php on line 33
Welcome @bestperson Happy you are here
Did you do cyberpanel installation on a clean os ?
Hello, yes 3 times from scratch, I chose different php for example 7,4 and 8, the result is the same
CyberPanel — панель управления для VDS сервера LiteSpeed Linux Ubuntu 20.04. Установка Wordpress - YouTube A year ago there were problems with ssl, but everything was fine with the installation of wordpress
Please use this tutorial and no other - 01 - Installing CyberPanel
Choose Ubuntu 20.04 or Ubuntu 22 if you can
This is exactly what I use, I have enough experience using it, but I can’t understand why wordpress is not installed
What do you mean ? You tried to install wordpress through manager or manually via file manager ?
I put it now especially for you on Ubuntu 22.04. Here is a video broadcast for you Установка и тестирование сайта на Cyberpanel - YouTube , here is the error log all that is there. If there are any other journal, tell me where to look and I’ll send them to you/CUiYufdqbto. 2023-03-13 14:54:11.988057 [INFO] [1869] [PlainConf] [virtualHostConfig:] module [cache] add param [storagepath /usr/local/lsws/cachedata/$VH_NAME]
2023-03-13 14:54:11.988581 [INFO] [1869] [config:server:vhosts:vhost:1315836-cy23677.tw1.ru] config context /.well-known/acme-challenge.
2023-03-13 14:54:11.988692 [INFO] [1869] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/stihiduhi.ru/vhost.conf
2023-03-13 14:54:11.995725 [INFO] [1869] [PlainConf] [virtualHostConfig:] RCS checkin config file /usr/local/lsws/conf/vhosts/stihiduhi.ru/vhost.conf0 OK.
2023-03-13 14:54:11.995751 [INFO] [1869] [PlainConf] [virtualHostConfig:] Finished parsing file /usr/local/lsws/conf/vhosts/stihiduhi.ru/vhost.conf
2023-03-13 14:54:11.995777 [INFO] [1869] [PlainConf] [virtualHostConfig:] module [cache] add param [storagepath /usr/local/lsws/cachedata/$VH_NAME]
2023-03-13 14:54:11.997178 [INFO] [1869] [config:server:vhosts:vhost:stihiduhi.ru] config context /.well-known/acme-challenge.
2023-03-13 14:54:11.997332 [INFO] [1869] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/ccl.conf
2023-03-13 14:54:11.997868 [INFO] [1869] [PlainConf] [virtualHostTemplate:] Finished parsing file /usr/local/lsws/conf/templates/ccl.conf
2023-03-13 14:54:11.997882 [INFO] [1869] [PlainConf] [context:/] rewrite add rules [rewritefile .htaccess]
2023-03-13 14:54:11.998132 [INFO] [1869] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/rails.conf
2023-03-13 14:54:11.998655 [INFO] [1869] [PlainConf] [virtualHostTemplate:] Finished parsing file /usr/local/lsws/conf/templates/rails.conf
2023-03-13 14:54:11.998676 [INFO] [1869] [PlainConf] [context:/] rewrite add rules [rewritefile .htaccess]
2023-03-13 14:54:11.998787 [NOTICE] [1869] [ZConfManager] No VHosts added, do not send!
2023-03-13 14:54:11.999179 [NOTICE] [1869] Instance is ready for service. m_fdCmd 32, m_fdAdmin 6.
2023-03-13 14:54:11.999401 [NOTICE] [1869] [AutoRestarter] new child process with pid=1880 is forked!
2023-03-13 14:54:12.000259 [NOTICE] [1880] [*:80] Worker #1 activates SO_REUSEPORT #1 socket, fd: 8
2023-03-13 14:54:12.000340 [INFO] [1880] [UDP:0.0.0.0:7080] initPacketsIn: allocated 100 packets
2023-03-13 14:54:12.000507 [NOTICE] [1880] AIO is not supported on this machine!
2023-03-13 14:54:12.000562 [NOTICE] [1880] Successfully change current user to nobody
2023-03-13 14:54:12.000575 [NOTICE] [1880] Core dump is enabled.
2023-03-13 14:54:12.000633 [INFO] [1880] [cytwr2842.655340]: locked pid file [/tmp/lshttpd/cytwr2842.sock.pid].
2023-03-13 14:54:12.000650 [INFO] [1880] [cytwr2842.655340] remove unix socket for detached process: /tmp/lshttpd/cytwr2842.sock
2023-03-13 14:54:12.000707 [NOTICE] [1880] [LocalWorker::workerExec] VHost:1315836-cy23677.tw1.ru suExec check uid 65534 gid 65534 setuidmode 0.
2023-03-13 14:54:12.000714 [NOTICE] [1880] [LocalWorker::workerExec] Config[cytwr2842.655340]: suExec uid 1002 gid 1003 cmd /usr/local/lsws/lsphp74/bin/lsphp, final uid 1002 gid 1003, flags: 0.
2023-03-13 14:54:12.001071 [NOTICE] [1880] [cytwr2842.655340] add child process pid: 1881
2023-03-13 14:54:12.001141 [INFO] [1880] [cytwr2842.655340]: unlocked pid file [/tmp/lshttpd/cytwr2842.sock.pid].
2023-03-13 14:54:12.001189 [INFO] [1880] [lsphp]: locked pid file [/tmp/lshttpd/lsphp.sock.pid].
2023-03-13 14:54:12.001194 [INFO] [1880] [lsphp] remove unix socket for detached process: /tmp/lshttpd/lsphp.sock
2023-03-13 14:54:12.001243 [NOTICE] [1880] [LocalWorker::workerExec] Config[lsphp]: suExec uid 65534 gid 65534 cmd /usr/local/lsws/lsphp74/bin/lsphp, final uid 65534 gid 65534, flags: 0.
2023-03-13 14:54:12.007888 [NOTICE] [1880] [lsphp] add child process pid: 1882
2023-03-13 14:54:12.008016 [INFO] [1880] [lsphp]: unlocked pid file [/tmp/lshttpd/lsphp.sock.pid].
2023-03-13 14:54:12.008066 [INFO] [1880] [stihi7481.655340]: locked pid file [/tmp/lshttpd/stihi7481.sock.pid].
2023-03-13 14:54:12.008074 [INFO] [1880] [stihi7481.655340] remove unix socket for detached process: /tmp/lshttpd/stihi7481.sock
2023-03-13 14:54:12.008121 [NOTICE] [1880] [LocalWorker::workerExec] VHost:stihiduhi.ru suExec check uid 65534 gid 65534 setuidmode 0.
2023-03-13 14:54:12.008132 [NOTICE] [1880] [LocalWorker::workerExec] Config[stihi7481.655340]: suExec uid 1003 gid 1004 cmd /usr/local/lsws/lsphp80/bin/lsphp, final uid 1003 gid 1004, flags: 0.
2023-03-13 14:54:12.011096 [NOTICE] [1880] [stihi7481.655340] add child process pid: 1883
2023-03-13 14:54:12.011142 [INFO] [1880] [stihi7481.655340]: unlocked pid file [/tmp/lshttpd/stihi7481.sock.pid].
2023-03-13 14:54:12.011172 [NOTICE] [1880] Setup swapping space…
2023-03-13 14:54:12.011345 [NOTICE] [1880] LiteSpeed/1.7.16 Open starts successfully!
2023-03-13 14:54:12.043162 [NOTICE] [935] New litespeed process is ready, stops listeners
2023-03-13 14:54:12.043184 [INFO] [935] Stop all listeners.
2023-03-13 14:54:12.043193 [NOTICE] [935] Stop listener *:80, fd 8.
2023-03-13 14:54:12.043203 [NOTICE] [935] Stop listener *:7080, fd 9.
2023-03-13 14:54:12.043220 [NOTICE] [935] Event-loop lingering done.
2023-03-13 14:54:12.043226 [NOTICE] [935] Shut down successfully!
2023-03-13 14:54:12.043232 [NOTICE] [935] HttpServerImpl::releaseAll called.
2023-03-13 14:54:12.044773 [NOTICE] [839] [AutoRestarter] cleanup children processes and unix sockets belong to process 935 !
2023-03-13 14:54:12.144930 [NOTICE] [839] [AutoRestarter] child process with pid=935 exited with status=0!
2023-03-13 14:54:12.145058 [NOTICE] [839] Server Stopped!
Hello, is there anything you can do to fix this?
For the wordpress error did you try Wordpress: Installation failed. Error message: [404] - #46 by nick.chomey
Yes, I tried everything that is written there, the result is the same(I wrote about it at the very beginning)
In general, everything is fine on Ubuntu 20.04, at least there is no error, as well as free server support). All the best!
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.