完成Unix和Apache世界的新手。
刚刚通过X-Win32 SSH在远程服务器上配置并安装了Apache(据我所知成功)。
在bin目录中,我看到" httpd"列出。
启动Web服务器我提供的服务器状态说明:
从安装Apache目录类型,' ./ bin / apachectl start'。
但是,我收到以下错误(11-14只显示它在那里):
server.edu(11): ls
bin cgi-bin conf htdocs icons include libexec logs man proxy
server.edu(12): cd bin
server.edu(13): ls
ab apxs dbmmanage htpasswd logresolve
apachectl checkgid htdigest httpd rotatelogs
server.edu(14): cd ..
server.edu(15): ./bin/apachectl start
./bin/apachectl: apache/bin/httpd: not found
./bin/apachectl start: httpd could not be started
非常感谢任何帮助。
谢谢!
编辑 @ h4b0
server.edu(98): pwd
/home/scf-25/gmcnulty/apache_1.3.42/apache
server.edu(99): ls -l bin/httpd
-rwxr-xr-x 1 gmcnulty 28880 May 24 22:12 bin/httpd
EDIT2 @ h4b0
server.edu(102): ls
ab apxs dbmmanage htpasswd logresolve
apachectl checkgid htdigest httpd rotatelogs
server.edu(103): cd ../..
server.edu(104): ls
ABOUT_APACHE NOTICE README cgi-bin htdocs
INSTALL NWGNUenvironment.inc README-WIN.TXT conf icons
LICENSE NWGNUhead.inc README.configure config.layout logs
Makefile NWGNUmakefile WARNING-WIN.TXT config.status src
Makefile.tmpl NWGNUtail.inc apache configure
server.edu(105): ./apache/bin/apachectl start
fopen: No such file or directory
httpd: could not open error log file apache/apache/logs/error_log.
./apache/bin/apachectl start: httpd could not be started
答案 0 :(得分:2)
httpd
apache/bin/httpd
确实存在吗?显示第11行目录的pwd
输出