انجمنهای فارسی اوبونتو
کمک و پشتیبانی => شبکه و سرویس دهندهها => نویسنده: mhch در 29 شهریور 1392، 04:35 بظ
-
با سلام
بعد از دانلود و اکسترک کردن سورس به کانفیگ پرداختم که به این ارور برخوردم
./configure
Configuring for Apache, Version 1.3.41
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ Warning: Your 'echo' command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried 'echo -E' but had no real success. If errors occur
+ please set the SEO variable in 'configure' manually to
+ the required 'echo' options, i.e. those which force your
+ 'echo' to not interpret escape sequences per default.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Syntax error --- The configuration file is used only to
define the list of included modules or to set Makefile in src
options or Configure rules, and I don't see that at all:
`$(SRCDIR)/apaci`
default
default
no
no
no
yes
no
default
no
default
default
مشکل کجاست و راه حل چیست
با تشکر
-
خوب بهترین کار نصب آپاچی از مخازن هست. ولی اگر میخواید از سورس نصب کنید، ابتدا فایل README.configure رو بخونید و ابتدا پیشنیازها رو نصب کنید.
-
بیشتر یه حالت مشق (به قول جادی :) )داره و باید سرویس و کلا موارد خواسته شده رو همون جوری پیاده سازی کنم
پس میرم سراغ README.configure
ممنون
-
بعد از مشقات بسیار اپاچی کامل نصب شد و 127.0.0.1 کار میکنه
اما شل اینو میگه موقعی که میخوام سرویس رو استارت کنم
# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for mhch.linux
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
-
فایل hosts به درستی تنظیم نشده. مجوزها هم به درستی تنظیم نشدند و Apache نمیتونه Log بسازه. احتمالا تنظیمات Apache هم درست نیست.