Sponsored Content
Operating Systems Solaris Svc:/network/http:apache2 error Post 302871855 by Junaid Subhani on Thursday 7th of November 2013 05:46:54 AM
Old 11-07-2013
Hammer & Screwdriver Svc:/network/http:apache2 error

Dear All,

http:apache2 service on my node is continuously in maintenance mode.
I have tried to enable and disable the service but nothing works.

Code:
root@ops # svcs -a | grep apache2
maintenance    15:46:37 svc:/network/http:apache2

When I reboot the system, I get the following error:

Code:
ops console login: Nov  7 15:46:37 svc.startd[9]: svc:/network/http:apache2: Method "/lib/svc/method/http-apache2 start" failed with exit status 96.
Nov  7 15:46:37 svc.startd[9]: network/http:apache2 misconfigured: transitioned to maintenance (see 'svcs -xv' for details)
syslogd: line 32: unknown priority name "notice /var/adm/name_of_log_file"


Log file states:

Code:
root@ops # cat /var/svc/log/network-http\:apache2.log
[ Jan  3 17:55:39 Disabled. ]
[ Jan  3 17:55:39 Rereading configuration. ]
[ Jan  3 18:45:44 Rereading configuration. ]
[ Jan  5 20:46:21 Rereading configuration. ]
[ Nov  5 13:49:48 Enabled. ]
[ Nov  5 13:49:48 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Nov  5 13:49:48 Method "start" exited with status 96 ]
[ Nov  5 13:50:11 Leaving maintenance because disable requested. ]
[ Nov  5 13:50:11 Disabled. ]
[ Nov  5 13:50:16 Enabled. ]
[ Nov  5 13:50:16 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Nov  5 13:50:16 Method "start" exited with status 96 ]
[ Nov  5 13:52:18 Leaving maintenance because disable requested. ]
[ Nov  5 13:52:18 Disabled. ]
[ Nov  5 13:52:22 Enabled. ]
[ Nov  5 13:52:22 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Nov  5 13:52:22 Method "start" exited with status 96 ]
[ Nov  5 13:53:50 Leaving maintenance because clear requested. ]
[ Nov  5 13:53:50 Enabled. ]
[ Nov  5 13:53:50 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Nov  5 13:53:50 Method "start" exited with status 96 ]
[ Nov  5 13:55:55 Leaving maintenance because clear requested. ]
[ Nov  5 13:55:55 Enabled. ]
[ Nov  5 13:55:55 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Nov  5 13:55:55 Method "start" exited with status 96 ]
[ Nov  7 15:41:50 Leaving maintenance because disable requested. ]
[ Nov  7 15:41:50 Disabled. ]
[ Nov  7 15:46:37 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Nov  7 15:46:37 Method "start" exited with status 96 ]


What seems to be the issue ?
 

9 More Discussions You Might Find Interesting

1. IP Networking

http error code

Hi, I'm looking for detailed http error codes. I want to know what means : HTTP/1.1" 302 330 and HTTP/1.1" 302 265 Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies

2. UNIX for Advanced & Expert Users

http error 302

Hi, I can not access my oracle applications in Internet browser with this error message : You have insufficient privileges for the current operation. I looked at access log on the server and I have this errors : 152.116.0.3 - - "GET /OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE HTTP/1.1" 302 694... (0 Replies)
Discussion started by: big123456
0 Replies

3. UNIX for Advanced & Expert Users

http error on unix command..

Hi, I am trying to hit an application which is listening on a specific port 2030 and is behind the firewall and get this error. maddy>telnet adrpd011 2030 GET /TestApp and it should give me 200 response, because the application is listening on that port. Instead it gives me this... (5 Replies)
Discussion started by: everurs789
5 Replies

4. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

5. Shell Programming and Scripting

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies

6. Solaris

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. [ n

After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks. ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface # ifconfig eg1000g0:2 plumb ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface # ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies

7. Solaris

dependency require_all/none svc:/network/physical (maintenance)

I am using telnet instead of ssh because network/physical service is on maintenance mode. I can ping google and other internel machines. I can't ssh to this server because network/physical is dependency of ssh. How can I fix this service. I can use network service but it is maintenance mode.... (8 Replies)
Discussion started by: getrue
8 Replies

8. Web Development

HTTP Headers Reference: HTTP Status-Codes

Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies

9. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
APACHE2(8)							      apache2								APACHE2(8)

NAME
apache2 - Apache Hypertext Transfer Protocol Server SYNOPSIS
apache2 [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] SUMMARY
apache2 is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used like this it will create a pool of child processes or threads to handle requests. In general, apache2 should not be invoked directly, but rather should be invoked via /etc/init.d/apache2 or apache2ctl. The default Debian configuration requires environment variables that are defined in /etc/apache2/envvars and are not available if apache2 is started directly. However, apache2ctl can be used to pass arbitrary arguments to apache2. DOCUMENTATION
The full documentation is available in the apache2-doc package or at http://httpd.apache.org/docs/2.2/ . Information about Debian specific changes and configuration can be found in /usr/share/doc/apache2/README.Debian.gz . OPTIONS
-d serverroot Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive in the configu- ration file. -f config Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is /etc/apache2/apache2.conf. -k start|restart|graceful|stop|graceful-stop Signals apache2 to start, restart, or stop. See Stopping Apache for more information. -C directive Process the configuration directive before reading config files. -c directive Process the configuration directive after reading config files. -D parameter Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart. -e level Sets the LogLevel to level during server startup. This is useful for temporarily increasing the verbosity of the error messages to find problems during startup. -E file Send error messages during server startup to file. -R directory When the server is compiled using the SHARED_CORE rule, this specifies the directory for the shared object files. -h Output a short summary of available command line options. -l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive. -L Output a list of directives together with expected arguments and places where the directive is valid. -M Dump a list of loaded Static and Shared Modules. -S Show the settings as parsed from the config file (currently only shows the virtualhost settings). -t Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests with either a return code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host con- figuration will be printed. If -D DUMP_MODULES is set, all loaded modules will be printed. -v Print the version of apache2, and then exit. -V Print the version and build parameters of apache2, and then exit. -X Run apache2 in debug mode. Only one worker will be started and the server will not detach from the console. SEE ALSO
apache2ctl(8), /usr/share/doc/apache2/README.Debian.gz Apache HTTP Server 2008-04-05 APACHE2(8)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy