Apache config issue


 
Thread Tools Search this Thread
Operating Systems Solaris Apache config issue
# 15  
Old 04-04-2008
ok, I saw that the output of that error message had a hyperlink and I clicked on it and saw this:

"Use svcs -xv service_fmri to see a list of services waiting for the service to start"

What is a "service_fmri"? Where do I find it? is it in the error message?
# 16  
Old 04-04-2008
WooHoo!

Sometimes asking questions out loud gets me my own answer. I actually did the nasty an read the man page on svcs and got it to work. After ~38 years, you'd think MAN pages would eventually get a little more user-friendly!

root> svcs -xv /network/http:apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
State: maintenance since Sat Mar 08 00:06:08 2008
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: Sun Message ID: 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.
root> more /var/svc/log/network-http:apache2.log
[ Feb 19 21:43:30 Rereading configuration. ]
[ Feb 20 01:30:35 Disabled. ]
[ Mar 8 00:06:08 Enabled. ]
[ Mar 8 00:06:08 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Mar 8 00:06:08 Method "start" exited with status 96 ]
root> svcadm clear /network/http:apache2
root> svcs -xv /network/http:apache2
svc:/network/http:apache2 (Apache 2 HTTP server)
State: online since Fri Apr 04 17:34:53 2008
See: man -M /usr/apache2/man -s 8 httpd
See: /var/svc/log/network-http:apache2.log
Impact: None.
# 17  
Old 04-04-2008
i've never liked the apache it ships with. idk why. just don't Smilie

service_fmri is the new SMF functionality of sol10. its to help make sol10 more "windowsy". however, there is a good side to it as it allows for concurrent services to start thus speeding up the boot time. svcs is really to help you see which services are running. you can make your own script to start up as a service with svcadm, svcfg and some scripting... both xml stuff and regular shell scripting.
# 18  
Old 04-04-2008
Yeah, I have two Solaris 10 books. I have been to lazy to open them up. it is about time for me to read them through.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to block some key words in my url for apache config?

Hi Folks, I am running a website and that needs to be tightened with security in terms of hacking... Whereas, In my URL, when i click on certain links the entire link as contains some words like below:/control_panel /controlpanel /admin /cms Whereas, i need to block those words in apache... (1 Reply)
Discussion started by: gsiva
1 Replies

2. Web Development

Config xcache apache

im use centos 6.8 & Apache/2.2.15 When I install xcache I get the following error PHP Warning: Module 'XCache' already loaded in Unknown on line 0 PHP Fatal error: XCache: create entries OOM in Unknown on line 0 PHP Fatal error: XCache: failed init variable cache in Unknown on line... (0 Replies)
Discussion started by: mnnn
0 Replies

3. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

4. Web Development

Apache vhosts config RewriteCond to ignore part of URL

I am attempting to control redirections on my site using the Apache vhosts config. I have two-letter regions setup, such as /fr, /de, /es, which I am currently ignoring as you will see from my vhosts file below. However I also have a 301 permanent redirect setup to redirect /cm (and /fr/cm,... (3 Replies)
Discussion started by: crmpicco
3 Replies

5. Web Development

Apache Web Server Config

Hi Gurus I am a newbie in Apache. I want to configure Apache Web server(A for reference) to receive all requests on Port-843 to be redirected to another Apache web server(B) and access a crossdomain.xml(located in /var/www/html) file there. I have put the following entries in... (0 Replies)
Discussion started by: Hari_Ganesh
0 Replies

6. IP Networking

DHCP config issue?

I searched the forum and found a similar question (https://www.unix.com/ip-networking/119108-dhcpd-related-questions.html), but my config is already utilizing the suggested fix... :( My setup: eth0 connected to Motorola DSL Modem via bridged mode (giving the public IP to the interface), IP... (1 Reply)
Discussion started by: macwunder
1 Replies

7. Shell Programming and Scripting

sed command to parse Apache config file

Hi there, am trying to parse an Apache 'server' config file. A snippet of the config file is shown below: ..... ProxyPassReverse /foo http://foo.example.com/bar ..... ..... RewriteRule ^/(.*) http://www.example.com/$1 RewriteRule /redirect https://www.example1.com/$1 ........ (7 Replies)
Discussion started by: jy2k7ca
7 Replies

8. Web Development

bash script editing my apache config files

okay i'm going to try to say this uber-simple: I use dropbox (file-sync service). in order for dropbox sync files, they must be its children eg. somewhere under /home/jzacsh/Dropbox]. I want to now use it to keep my development files in sync across my machines: easy: just move my dev. files... (2 Replies)
Discussion started by: jzacsh
2 Replies

9. UNIX for Dummies Questions & Answers

Apache Config

I need help doing two things in my Apache Config.... 1) Creating a Referer log where only domains other than my own (or a list I specify) are logged ...and... 2) I want to replace images loaded from my site, on other sites, it a standard RED "stolen" image. I currently have code in place... (2 Replies)
Discussion started by: l008com
2 Replies

10. UNIX for Dummies Questions & Answers

Apache Config Files

Currently our Apache log files are huge, I want to put say a month's time limit on this, then when it hits the end of the month I would like it to start over writing. Does anyone know where the config file is for this and what its called? I also want to do exactly the same on wtmp config (who... (1 Reply)
Discussion started by: Webwitch
1 Replies
Login or Register to Ask a Question