У мя проблема с апачем,я установил апач и перл для начала,все по видео сконфигурировал,затем создал как по видео скрипт и хотел проверить все ли нормально,так когда я пишу localhost/cgi-bin/test.cgi
он начинает думать,и самое главное не открывает страницу,иногда когда я перезхагружаю апач он мне пишет типа ошибка возникла и приложение будет открыто,странно.
могу журнал ошибок показать если нужно:
[Sun Apr 23 15:53:41 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 15:53:41 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 15:53:41 2006] [notice] Parent: Created child process 3788
[Sun Apr 23 15:53:43 2006] [notice] Child 3788: Child process is running
[Sun Apr 23 15:53:44 2006] [notice] Child 3788: Acquired the start mutex.
[Sun Apr 23 15:53:44 2006] [notice] Child 3788: Starting 250 worker threads.
[Sun Apr 23 15:56:36 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/favicon.ico, referer:
http://localhost/
[Sun Apr 23 15:56:44 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/cgi
[Sun Apr 23 15:56:56 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/cgi
[Sun Apr 23 15:58:24 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Apr 23 15:58:24 2006] [notice] Child 3788: Exit event signaled. Child process is ending.
[Sun Apr 23 15:58:25 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 15:58:25 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 15:58:25 2006] [notice] Parent: Created child process 692
[Sun Apr 23 15:58:25 2006] [notice] Child 692: Child process is running
[Sun Apr 23 15:58:26 2006] [notice] Child 692: Acquired the start mutex.
[Sun Apr 23 15:58:26 2006] [notice] Child 3788: Released the start mutex
[Sun Apr 23 15:58:26 2006] [notice] Child 692: Starting 250 worker threads.
[Sun Apr 23 15:58:27 2006] [notice] Child 3788: Waiting for 250 worker threads to exit.
[Sun Apr 23 15:59:08 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Apr 23 15:59:09 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 15:59:09 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 15:59:09 2006] [notice] Parent: Created child process 4088
[Sun Apr 23 15:59:09 2006] [notice] Child 692: Exit event signaled. Child process is ending.
[Sun Apr 23 15:59:09 2006] [notice] Child 4088: Child process is running
[Sun Apr 23 15:59:10 2006] [notice] Child 4088: Acquired the start mutex.
[Sun Apr 23 15:59:10 2006] [notice] Child 692: Released the start mutex
[Sun Apr 23 15:59:10 2006] [notice] Child 4088: Starting 250 worker threads.
[Sun Apr 23 15:59:11 2006] [notice] Child 692: Waiting for 247 worker threads to exit.
[Sun Apr 23 15:59:11 2006] [crit] [Sun Apr 23 15:59:11 2006] file C:\\asf-build\\build-2.0.55\\server\\mpm\\winnt\\child.c, line 1078, assertion "(rv >= 0) && (rv < threads_created)" failed
[Sun Apr 23 15:59:23 2006] [error] [client 127.0.0.1] Premature end of script headers: test.cgi
[Sun Apr 23 16:00:02 2006] [error] [client 127.0.0.1] Premature end of script headers: test.cgi
[Sun Apr 23 16:01:27 2006] [notice] Child 3788: Terminating 3 threads that failed to exit.
[Sun Apr 23 16:04:15 2006] [error] [client 127.0.0.1] Premature end of script headers: test.cgi
[Sun Apr 23 16:04:55 2006] [error] [client 127.0.0.1] Premature end of script headers: test.cgi
[Sun Apr 23 16:06:22 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Apr 23 16:06:22 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 16:06:22 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 16:06:22 2006] [notice] Parent: Created child process 5552
[Sun Apr 23 16:06:23 2006] [notice] Child 4088: Exit event signaled. Child process is ending.
[Sun Apr 23 16:06:23 2006] [notice] Child 5552: Child process is running
[Sun Apr 23 16:06:24 2006] [notice] Child 5552: Acquired the start mutex.
[Sun Apr 23 16:06:24 2006] [notice] Child 4088: Released the start mutex
[Sun Apr 23 16:06:24 2006] [notice] Child 5552: Starting 250 worker threads.
[Sun Apr 23 16:06:25 2006] [notice] Child 4088: Waiting for 246 worker threads to exit.
[Sun Apr 23 16:06:25 2006] [crit] [Sun Apr 23 16:06:25 2006] file C:\\asf-build\\build-2.0.55\\server\\mpm\\winnt\\child.c, line 1078, assertion "(rv >= 0) && (rv < threads_created)" failed
[Sun Apr 23 16:06:29 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/cgi
[Sun Apr 23 16:06:29 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/favicon.ico, referer:
http://localhost/cgi/test.cgi
[Sun Apr 23 16:06:31 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/cgi
[Sun Apr 23 16:06:31 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/favicon.ico, referer:
http://localhost/cgi/test.cgi
[Sun Apr 23 16:06:32 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/cgi
[Sun Apr 23 16:06:32 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/favicon.ico, referer:
http://localhost/cgi/test.cgi
[Sun Apr 23 16:11:41 2006] [error] [client 127.0.0.1] Premature end of script headers: test.cgi
[Sun Apr 23 16:23:15 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Apr 23 16:23:15 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 16:23:15 2006] [notice] Child 5552: Exit event signaled. Child process is ending.
[Sun Apr 23 16:23:15 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 16:23:15 2006] [notice] Parent: Created child process 3620
[Sun Apr 23 16:23:15 2006] [notice] Child 3620: Child process is running
[Sun Apr 23 16:23:16 2006] [notice] Child 5552: Released the start mutex
[Sun Apr 23 16:23:16 2006] [notice] Child 3620: Acquired the start mutex.
[Sun Apr 23 16:23:16 2006] [notice] Child 3620: Starting 250 worker threads.
[Sun Apr 23 16:23:17 2006] [notice] Child 5552: Waiting for 244 worker threads to exit.
[Sun Apr 23 16:23:17 2006] [crit] [Sun Apr 23 16:23:17 2006] file C:\\asf-build\\build-2.0.55\\server\\mpm\\winnt\\child.c, line 1078, assertion "(rv >= 0) && (rv < threads_created)" failed
[Sun Apr 23 16:23:58 2006] [error] [client 127.0.0.1] File does not exist: C:/localhost/www/favicon.ico, referer:
http://localhost/cgi/test.cgi
[Sun Apr 23 16:26:02 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Apr 23 16:26:02 2006] [notice] Child 3620: Exit event signaled. Child process is ending.
[Sun Apr 23 16:26:03 2006] [notice] Child 3620: Released the start mutex
[Sun Apr 23 16:26:04 2006] [notice] Child 3620: Waiting for 244 worker threads to exit.
[Sun Apr 23 16:26:04 2006] [crit] [Sun Apr 23 16:26:04 2006] file C:\\asf-build\\build-2.0.55\\server\\mpm\\winnt\\child.c, line 1078, assertion "(rv >= 0) && (rv < threads_created)" failed
[Sun Apr 23 16:26:12 2006] [notice] Parent: Child process exited successfully.
[Sun Apr 23 16:26:21 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 16:26:22 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 16:26:22 2006] [notice] Parent: Created child process 936
[Sun Apr 23 16:26:22 2006] [notice] Child 936: Child process is running
[Sun Apr 23 16:26:22 2006] [notice] Child 936: Acquired the start mutex.
[Sun Apr 23 16:26:22 2006] [notice] Child 936: Starting 250 worker threads.
[Sun Apr 23 16:26:25 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Apr 23 16:26:25 2006] [notice] Child 936: Exit event signaled. Child process is ending.
[Sun Apr 23 16:26:25 2006] [notice] Apache/2.0.55 (Win32) configured -- resuming normal operations
[Sun Apr 23 16:26:25 2006] [notice] Server built: Oct 9 2005 19:16:56
[Sun Apr 23 16:26:25 2006] [notice] Parent: Created child process 2408
[Sun Apr 23 16:26:26 2006] [notice] Child 2408: Child process is running
[Sun Apr 23 16:26:26 2006] [notice] Child 2408: Acquired the start mutex.
[Sun Apr 23 16:26:26 2006] [notice] Child 936: Released the start mutex
[Sun Apr 23 16:26:26 2006] [notice] Child 2408: Starting 250 worker threads.
[Sun Apr 23 16:26:27 2006] [notice] Child 936: Waiting for 250 worker threads to exit.
[Sun Apr 23 16:26:27 2006] [notice] Child 936: All worker threads have exited.
[Sun Apr 23 16:26:28 2006] [notice] Child 936: Child process is exiting
вот так вот.