Hello, I get an error while installing apache.
ERROR: apache-2.4.58 installation failed.
=========================================
Log:
--2024-01-10 18:44:05-- https://node.aapanel.com/install/4/apache.sh
Resolving node.aapanel.com (node.aapanel.com)... 104.21.79.196, 172.67.171.7, 2606:4700:3034::ac43:ab07, ...
Connecting to node.aapanel.com (node.aapanel.com)|104.21.79.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13115 (13K) [application/octet-stream]
Saving to: ‘apache.sh’
0K .......... .. 100% 114M=0s
2024-01-10 18:44:05 (114 MB/s) - ‘apache.sh’ saved [13115/13115]
--2024-01-10 18:44:05-- https://node.aapanel.com/install/4/apache.sh
Resolving node.aapanel.com (node.aapanel.com)... 104.21.79.196, 172.67.171.7, 2606:4700:3034::ac43:ab07, ...
Connecting to node.aapanel.com (node.aapanel.com)|104.21.79.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13115 (13K) [application/octet-stream]
Saving to: ‘apache.sh’
0K .......... .. 100% 114M=0s
2024-01-10 18:44:05 (114 MB/s) - ‘apache.sh’ saved [13115/13115]
selecting download node...
https://dg2.bt.cn
--2024-01-10 18:44:18-- https://node.aapanel.com/install/public.sh
Resolving node.aapanel.com (node.aapanel.com)... 104.21.79.196, 172.67.171.7, 2606:4700:3034::ac43:ab07, ...
Connecting to node.aapanel.com (node.aapanel.com)|104.21.79.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4560 (4.5K) [application/octet-stream]
Saving to: ‘Tpublic.sh’
0K .... 100% 49.0M=0s
2024-01-10 18:44:18 (49.0 MB/s) - ‘Tpublic.sh’ saved [4560/4560]
selecting download node...
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:9.3.0-1ubuntu2).
gcc is already the newest version (4:9.3.0-1ubuntu2).
liblua5.1-0-dev is already the newest version (5.1.5-8.1build4).
lua-cjson is already the newest version (2.1.0+dfsg-2.1).
lua-socket is already the newest version (3.0rc1+git+ac3201d-4).
lua5.1 is already the newest version (5.1.5-8.1build4).
libnghttp2-dev is already the newest version (1.40.0-1ubuntu0.2).
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-62 linux-headers-5.4.0-62-generic
linux-image-5.4.0-62-generic linux-modules-5.4.0-62-generic
linux-modules-extra-5.4.0-62-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2024-01-10 18:44:31-- https://na1-node.bt.cn/install/src/lua-cjson-2.1.0.tar.gz
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87172 (85K) [application/octet-stream]
Saving to: ‘lua-cjson-2.1.0.tar.gz’
0K .......... .......... .......... .......... .......... 58% 175K 0s
50K .......... .......... .......... ..... 100% 245K=0.4s
2024-01-10 18:44:32 (198 KB/s) - ‘lua-cjson-2.1.0.tar.gz’ saved [87172/87172]
lua-cjson-2.1.0/
lua-cjson-2.1.0/rfc4627.txt
lua-cjson-2.1.0/lua-cjson-2.1.0-1.rockspec
lua-cjson-2.1.0/lua_cjson.c
lua-cjson-2.1.0/LICENSE
lua-cjson-2.1.0/CMakeLists.txt
lua-cjson-2.1.0/performance.html
lua-cjson-2.1.0/fpconv.c
lua-cjson-2.1.0/manual.txt
lua-cjson-2.1.0/lua/
lua-cjson-2.1.0/lua/lua2json.lua
lua-cjson-2.1.0/lua/json2lua.lua
lua-cjson-2.1.0/lua/cjson/
lua-cjson-2.1.0/lua/cjson/util.lua
lua-cjson-2.1.0/g_fmt.c
lua-cjson-2.1.0/NEWS
lua-cjson-2.1.0/strbuf.h
lua-cjson-2.1.0/Makefile
lua-cjson-2.1.0/manual.html
lua-cjson-2.1.0/THANKS
lua-cjson-2.1.0/runtests.sh
lua-cjson-2.1.0/fpconv.h
lua-cjson-2.1.0/dtoa.c
lua-cjson-2.1.0/dtoa_config.h
lua-cjson-2.1.0/strbuf.c
lua-cjson-2.1.0/tests/
lua-cjson-2.1.0/tests/bench.lua
lua-cjson-2.1.0/tests/example1.json
lua-cjson-2.1.0/tests/example2.json
lua-cjson-2.1.0/tests/README
lua-cjson-2.1.0/tests/test.lua
lua-cjson-2.1.0/tests/example4.json
lua-cjson-2.1.0/tests/example3.json
lua-cjson-2.1.0/tests/types.json
lua-cjson-2.1.0/tests/example5.json
lua-cjson-2.1.0/tests/genutf8.pl
lua-cjson-2.1.0/tests/numbers.json
lua-cjson-2.1.0/tests/octets-escaped.dat
lua-cjson-2.1.0/tests/rfc-example1.json
lua-cjson-2.1.0/tests/rfc-example2.json
lua-cjson-2.1.0/lua-cjson.spec
lua-cjson-2.1.0/performance.txt
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o strbuf.o strbuf.c
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o fpconv.o fpconv.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
43 | #include <lua.h>
| ~
compilation terminated.
make: *** [Makefile:89: lua_cjson.o] Error 1
make: *** Waiting for unfinished jobs....
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:43:10: fatal error: lua.h: No such file or directory
43 | #include <lua.h>
|
compilation terminated.
make: *** [Makefile:89: lua_cjson.o] Error 1
--2024-01-10 18:44:32-- https://na1-node.bt.cn/src/httpd-2.4.58.tar.gz
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-10 18:44:33 ERROR 404: Not Found.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'httpd-2.4.58': No such file or directory
apache.sh: line 197: cd: src/srclib: No such file or directory
--2024-01-10 18:44:33-- https://na1-node.bt.cn/src/apr-1.6.5.tar.gz
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1073556 (1.0M) [application/octet-stream]
Saving to: ‘apr-1.6.5.tar.gz’
0K .......... .......... .......... .......... .......... 4% 169K 6s
50K .......... .......... .......... .......... .......... 9% 337K 4s
100K .......... .......... .......... .......... .......... 14% 338K 4s
150K .......... .......... .......... .......... .......... 19% 338K 3s
200K .......... .......... .......... .......... .......... 23% 339K 3s
250K .......... .......... .......... .......... .......... 28% 339K 3s
300K .......... .......... .......... .......... .......... 33% 58.0M 2s
350K .......... .......... .......... .......... .......... 38% 328K 2s
400K .......... .......... .......... .......... .......... 42% 346K 2s
450K .......... .......... .......... .......... .......... 47% 149M 1s
500K .......... .......... .......... .......... .......... 52% 339K 1s
550K .......... .......... .......... .......... .......... 57% 141M 1s
600K .......... .......... .......... .......... .......... 61% 338K 1s
650K .......... .......... .......... .......... .......... 66% 200M 1s
700K .......... .......... .......... .......... .......... 71% 338K 1s
750K .......... .......... .......... .......... .......... 76% 47.3M 1s
800K .......... .......... .......... .......... .......... 81% 341K 0s
850K .......... .......... .......... .......... .......... 85% 61.8M 0s
900K .......... .......... .......... .......... .......... 90% 340K 0s
950K .......... .......... .......... .......... .......... 95% 39.4M 0s
1000K .......... .......... .......... .......... ........ 100% 59.6M=2.1s
2024-01-10 18:44:36 (506 KB/s) - ‘apr-1.6.5.tar.gz’ saved [1073556/1073556]
--2024-01-10 18:44:36-- https://na1-node.bt.cn/src/apr-util-1.6.1.tar.gz
Resolving na1-node.bt.cn (na1-node.bt.cn)... 128.1.164.196
Connecting to na1-node.bt.cn (na1-node.bt.cn)|128.1.164.196|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 554301 (541K) [application/octet-stream]
Saving to: ‘apr-util-1.6.1.tar.gz’
0K .......... .......... .......... .......... .......... 9% 166K 3s
50K .......... .......... .......... .......... .......... 18% 331K 2s
100K .......... .......... .......... .......... .......... 27% 166K 2s
150K .......... .......... .......... .......... .......... 36% 18.0M 1s
200K .......... .......... .......... .......... .......... 46% 336K 1s
250K .......... .......... .......... .......... .......... 55% 331K 1s
300K .......... .......... .......... .......... .......... 64% 333K 1s
350K .......... .......... .......... .......... .......... 73% 32.4M 0s
400K .......... .......... .......... .......... .......... 83% 334K 0s
450K .......... .......... .......... .......... .......... 92% 25.0M 0s
500K .......... .......... .......... .......... . 100% 278K=1.5s
2024-01-10 18:44:38 (359 KB/s) - ‘apr-util-1.6.1.tar.gz’ saved [554301/554301]
cat: /www/server/panel/install/apache/config.pl: No such file or directory
apache.sh: line 225: cd: /www/server/apache/src: No such file or directory
apache.sh: line 226: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Ubuntu 20.04.6 LTS
\l
Bit:64 Mem:120752M Core:24 gcc:9.4.0 cmake:3.16.3
Linux 5.4.0-169-generic x86_64
ERROR: apache-2.4.58 installation failed.
|-Successify --- Command executed! ---
=======================
Thank you!