Sponsored Content
Full Discussion: Apache2 maintenance
Operating Systems Solaris Apache2 maintenance Post 302930855 by tood on Thursday 8th of January 2015 01:43:14 AM
Old 01-08-2015
Apache2 maintenance

Hi! apache and tomcat are installed in default on solaris 10, after some configuration tomcat is enable, but apache status is maintenance... How to change its status to online...? The log say

Code:
[ janv  7 17:46:17 Enabled. ]
[ janv  7 17:46:18 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ janv  7 17:46:18 Method "start" exited with status 1 ]

And when I tape the svcs -xv commande, this is the result

Code:
bash-3.00# svcs -xv svc:/network/http:apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
 State: maintenance since  7 janvier 2015 17:46:18 EAT
Reason: Start method failed repeatedly, last exited with status 1.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/apache2/man -s 8 httpd
   See: /var/svc/log/network-http:apache2.log
Impact: This service is not running.


Last edited by tood; 01-08-2015 at 03:05 AM..
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Board Maintenance

Just a remark now the board has grown to considerable proportion. I see too little of an active hand(s) maintaning the boards, clipping away dead posts, moving posts that were created in the wrong forums etc. It's a bit tiring to see alot of threads ending in: this has been covered before, do a... (7 Replies)
Discussion started by: patvdv
7 Replies

2. UNIX for Advanced & Expert Users

System Maintenance

How do I go about doing this??? Is there something to it other than cleaning up useless files?? if you have knowledge concerning this, please give your suggestions also, is it possible or safe to compress an entire filesystem. how do you go about doing this??? any information is appreciated (7 Replies)
Discussion started by: IMPORTANT
7 Replies

3. UNIX for Dummies Questions & Answers

Disc Needs Maintenance

Hello All Here I am using Sun V880 server which have discsuit pack of 8 discs with 2 sub mirrors each. Everything was fine for the last 1 year. Now I am getting problem of taking backup of the server. After analysis what I got that each 2nd submirrors are in NEEDS MAINTENANCE status. What... (5 Replies)
Discussion started by: ailnilanjan
5 Replies

4. Solaris

Disk needs maintenance

Hi there, It's my first time here. I have an hard drive need a maintenance. here the result of metastat : Sun Microsystems Inc. SunOS 5.9 Generic May 2002 host2{11}: metastat d1: RAID State: Needs Maintenance Invoke: metareplace d1 c2t2d0s1 <new device> Interlace:... (3 Replies)
Discussion started by: Juterassee
3 Replies

5. AIX

maintenance level

Hello I have a question. I have several box with $ oslevel -s 5300-06-01-0000 My questions are: 1.-How long I can keept my actual technology level (in time) before I updated to the next technology level? My other question is If I have to update to the next technology level. ... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

6. SuSE

Library Maintenance

How are libraries created and maintained? I tried the following to add prog.o to an existing library ar -r library.so prog.o but the output is "File format not recognized", on the other hand nm --print-armap library.so does print a table of contents. (2 Replies)
Discussion started by: jgt
2 Replies

7. UNIX for Dummies Questions & Answers

NEED MAINTENANCE ON DISK

hELLO PEOPLE I AM DETECTING IN THE MIRROR ON MY SPARC THAT IS A DISK ASKING FOR MAINTENANCE. d0: Mirror Submirror 0: d10 State: Needs maintenance Submirror 1: d20 State: Needs maintenance Pass: 1 Read option: roundrobin (default) Write option: parallel... (0 Replies)
Discussion started by: enkei17
0 Replies

8. Solaris

How to clear maintenance state for apache2 server?

Can any one of you suggest me the method to get apache server in online from maintenance mode. I tried in the following way, but couldn't get that service to online. bash-3.00# svcs -a | grep apache legacy_run 9:51:55 lrc:/etc/rc3_d/S50apache offline 9:51:22... (3 Replies)
Discussion started by: Sesha
3 Replies

9. Shell Programming and Scripting

maintenance script

Hi Guys i wonder if anyone can help. i want to create a script that checks multiple servers for disk space availible, cpu usage for past 24 hours. as well as check if all the hardware components are still doing their jobs. i will be doing this in the tcsh, can anyone help? OS = Sun Solaris 5.10... (2 Replies)
Discussion started by: brian112
2 Replies
apache2ctl(8)						      System Manager's Manual						     apache2ctl(8)

NAME
apache2ctl - Apache HTTP server control interface SYNOPSIS
When acting in SysV init mode, apache2ctl takes simple, one-word commands, defined below. apachectl command apache2ctl command When acting in pass-through mode, apache2ctl can take all the arguments available for the httpd binary. apachectl [httpd-argument] apache2ctl [httpd-argument] DESCRIPTION
apache2ctl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache apache2 daemon. NOTE: The default Debian configuration requires the environment variables APACHE_RUN_USER, APACHE_RUN_GROUP, and APACHE_PID_FILE to be set in /etc/apache2/envvars. The apache2ctl script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script. OPTIONS
The command can be any one or more of the following options: start Start the Apache daemon. Gives an error if it is already running. stop Stops the Apache daemon. restart Restarts the Apache daemon by sending it a SIGHUP. If the daemon is not running, it is started. This command automatically checks the configuration files via configtest before initiating the restart to to catch the most obvious errors. However, it is still possible for the daemon to die because of problems with the configuration. fullstatus Displays a full status report from mod_status. For this to work, you need to have mod_status enabled on your server and a text-based browser such as lynx available on your system. The URL used to access the status report can be set by setting the APACHE_STATUSURL variable in /etc/apache2/envvars. status Displays a brief status report. Similar to the fullstatus option, except that the list of requests currently being served is omitted. graceful Gracefully restarts the Apache daemon by sending it a SIGUSR1. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks the configuration files via apache2ctl configtest before initiating the restart to to catch the most obvious errors. However, it is still possible for the daemon to die because of problems with the configuration. graceful-stop Gracefully stops the Apache httpd daemon. This differs from a normal stop in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. configtest Run a configuration file syntax test. It parses the configuration files and either reports Syntax Ok or information about the particular syntax error. This test does not catch all errors. help Displays a short help message. The following option was available in earlier versions but has been removed. startssl To start httpd with SSL support, you should edit your configuration file to include the relevant directives and then use the normal apache2ctl start. ENVIRONMENT
The behaviour of apache2ctl can be influenced with these environment variables: APACHE_HTTPD, APACHE_LYNX, APACHE_STATUSURL, APACHE_ULIMIT_MAX_FILES, APACHE_RUN_DIR, APACHE_LOCK_DIR, APACHE_RUN_USER, APACHE_ARGUMENTS, APACHE_ENVVARS. See the comments in the script for details. These variables (except APACHE_ENVVARS) can be set in /etc/apache2/envvars. SEE ALSO
apache2(8), /usr/share/doc/apache2/README.Debian.gz April 2008 apache2ctl(8)
All times are GMT -4. The time now is 07:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy