English 中文(简体)
Apachectl 启动无法找到 httpd 但它是在那里?
原标题:apachectl start can t find httpd but it is there?

乌尼克斯和阿帕奇世界全新

刚刚通过 X-Win32 SSH在远程服务器上配置和安装了阿帕奇(据我所知是成功的)。

在文件夹目录中我看到“ httpd” 列表 。

要启动网络服务器, 我为服务器状态提供的指示 :

从安装 Apache 目录类型./bin/apachectl 开始 。

然而,我发现以下错误(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

非常感谢任何帮助。

谢谢!

< 加强 > EDIT @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
最佳回答
  • Check permissions for httpd
  • Does apache/bin/httpd actually exist? Show pwd output from directory at line 11
问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签