LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-30-2007, 06:14 PM   #1
CRX
LQ Newbie
 
Registered: Feb 2004
Distribution: Kubuntu/OpenSuse
Posts: 11

Rep: Reputation: 0
[Apache2] Bad file descriptor


Hi all,

I am having some trouble with Apache 2.2.3 on OpenSuse 10.1 with Mod.SSL. Whenever Logrotate does a reload I get:

Code:
[Sun May 27 22:37:48 2007] [notice] Graceful restart requested, doing restart
[Sun May 27 22:37:48 2007] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Sun May 27 22:37:48 2007] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
It's probably not good but Apache keeps running, but twice now in two weeks it has been different:

Code:
[Wed May 30 22:15:02 2007] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
Syntax error on line 101 of /etc/apache2/server-tuning.conf:
Invalid command 'BrowserMatch', perhaps misspelled or defined by a module not included in the server configuration


And I did not touch or even look at the config files... If I start Apache again no errors are reported.
If I disable SSL all is well no problems, the issue occurs on two separate machines.

Would anyone know what I can do to fix this issue? Thanks a million for any replies in advance
 
Old 05-31-2007, 02:24 AM   #2
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
For Second problem:
Run httpd -l for currently loaded modules.
Check whether mod_setenvif module is loaded with apache or not.
Check if you still get 'BrowserMatch' errors or not.
 
Old 05-31-2007, 04:08 AM   #3
CRX
LQ Newbie
 
Registered: Feb 2004
Distribution: Kubuntu/OpenSuse
Posts: 11

Original Poster
Rep: Reputation: 0
Yeah it is loaded:

Code:
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 actions_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_default_module (shared)
 authz_user_module (shared)
 authn_dbm_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 dir_module (shared)
 env_module (shared)
 expires_module (shared)
 include_module (shared)
 log_config_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 suexec_module (shared)
 userdir_module (shared)
 php5_module (shared)
Syntax OK
 
Old 06-01-2007, 04:06 AM   #4
CRX
LQ Newbie
 
Registered: Feb 2004
Distribution: Kubuntu/OpenSuse
Posts: 11

Original Poster
Rep: Reputation: 0
Did find some more info on this:

http://bugs.donarmstrong.com/cgi-bin...cgi?bug=400918

The crash at reload problem indeed seems to be a separate issue.

My resolution, I'll install a second machine with opensuse 10.2 use that one and hope for the best...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad File Descriptor tech_user Linux - Hardware 0 10-14-2005 03:21 PM
boot/System.map: Bad file descriptor pixie Fedora 16 03-01-2005 12:19 PM
apt-file returns nothing; 'bad file descriptor' overbored Debian 3 10-03-2004 09:13 PM
Evolution: bad file descriptor bfibandit Mandriva 2 04-11-2004 03:00 PM
SIOCSIFADDR: Bad file descriptor egon Linux - Networking 0 02-13-2001 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration