Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-29-2007, 04:52 AM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 8
Rep:
|
apache problem
hello frnds whenever i tries to restart my httpd server i gets this
msg plz check it out & help me....i m using red hat neterprise linux
service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [Thu Nov 29 16:05:05 2007] [warn] NameVirtualHost 128.0.0.103:0 has no VirtualHosts
(13)Permission denied: make_sock: could not bind to address 128.0.0.110:5000
no listening sockets available, shutting down
Unable to open logs
[FAILED]
|
|
|
11-29-2007, 04:58 AM
|
#2
|
Member
Registered: Oct 2005
Posts: 47
Rep:
|
Probably you have a wrong config file. Read the Apache documentation and give the correct values for the VirtualHost directives in /etc/httpd/conf/httpd.conf.
|
|
|
11-30-2007, 04:03 AM
|
#3
|
LQ Newbie
Registered: Nov 2007
Posts: 8
Original Poster
Rep:
|
plz post config file constraints i'll try to match it with that...
|
|
|
11-30-2007, 04:29 AM
|
#4
|
Member
Registered: Oct 2005
Posts: 47
Rep:
|
The rules for config file can be found at the above link. However it may be easy to analyse the problem if you could post your config file (Don't forget to remove the inline comments).
|
|
|
11-30-2007, 06:50 AM
|
#5
|
Member
Registered: Oct 2007
Location: Sydney, Australia
Distribution: Debian
Posts: 63
Rep:
|
Address already in use: make sock: could not bind to address
|
|
|
11-30-2007, 12:52 PM
|
#6
|
Member
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71
Rep:
|
How did you get that stuff in your httpd.conf file. Have you edited it, either by using some tool or manually. Because a fresh httpd.conf file won't contain these values.
Quote:
(13)Permission denied: make_sock: could not bind to address 128.0.0.110:5000
|
Probably the port 5000 is in use or blocked.
|
|
|
12-03-2007, 12:37 AM
|
#7
|
LQ Newbie
Registered: Nov 2007
Posts: 8
Original Poster
Rep:
|
actually i was edited it with webmin .....
while configuring apache for new web host..
....
|
|
|
12-03-2007, 01:00 AM
|
#8
|
LQ Newbie
Registered: Nov 2007
Posts: 8
Original Poster
Rep:
|
MY .CONF FILE CONFIG IS
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
Include conf.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
ServerAdmin pawan@localhost
UseCanonicalName Off
DocumentRoot "/var/www/html"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir disable
</IfModule>
DirectoryIndex index.html index.html.var
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
TypesConfig /etc/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
# MIMEMagicFile /usr/share/magic.mime
MIMEMagicFile conf/magic
</IfModule>
HostnameLookups Off
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log combined
ServerSignature On
Alias /icons/ "/var/www/icons/"
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_dav_fs.c>
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
</IfModule>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
AddDefaultCharset UTF-8
Alias /error/ "/var/www/error/"
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
<Directory "/var/www/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
<Files "/var/www/html/index.html">
</Files>
NameVirtualHost 128.0.0.110
|
|
|
All times are GMT -5. The time now is 08:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|