Sponsored Content
Operating Systems Solaris Apache 2 doesnt create SMF service at installation Post 302351203 by ilikecows on Monday 7th of September 2009 02:08:14 PM
Old 09-07-2009
Try this:

My machine is Solaris 10u7 and has Apache 2.0.63 installed. If you installed the package from Sun Freeware check the services start methods and make sure they point to the proper version. Commands:
Code:
# svcs -a | egrep 'http|apache'
# svccfg export apache_FMRI | less
# less start_method_script_in_FMRI
# # There should be a line that sets a variable called APACHE_HOME
# # cd to the APACHE_HOME directory
# bin/apachectl -v

If the version the FMRI points to isn't the right one you will most likely have to modify the APACHE home line in the FMRI's startup script to point to the sun freeware version you installed which is typically /usr/local for Sun Freeware packages.

I hope this helps.
 

10 More Discussions You Might Find Interesting

1. Solaris

Smf managed service not starting

Hi Experts, While playing with smf in my local system ( which is not in production ) i am unable to restart the service svc:/network/nfs/server:default . I tried starting it in different way, however unable to restart the same. I was checking the dependency for that I disabled the... (11 Replies)
Discussion started by: kumarmani
11 Replies

2. Solaris

SMF service HELP

I would like to run command whenever system boot up, i.e "/opt/admin/script/closegen -c /opt/share/script/colsehg" How do I integrate above command in to SMF services. -sam (1 Reply)
Discussion started by: sam786
1 Replies

3. Solaris

Permission denied in SMF service log

I can't get the exact error message because I am at home, but on Solaris 10u5 machine I have at work, a few services are stuck in the maintenance state with the following error message in the individual service logs (/var/svc/log/FMRI:instance.log): Cannot chdir: permission denied Fortunately... (2 Replies)
Discussion started by: ilikecows
2 Replies

4. Infrastructure Monitoring

Using SMF to register & start a (Nagios) service

I'm trying to register & start a service using SMF on Solaris 10. It's nsca, part of the Nagios monitoring system. I've got nsca running fine as a detached process, and can manually create passive checks via send_nsca. But when I try to run nsca as a daemon, I need some advice. The nsca... (0 Replies)
Discussion started by: lyle
0 Replies

5. Solaris

Service shutdown sequence via SMF

Hi all, Is there any way to configure a certain service to be shutdown first via SMF? Thanks in advance Eugene (1 Reply)
Discussion started by: srage
1 Replies

6. Solaris

Service shutdown sequence via SMF

Hi all, Is there any way to configure a certain service to be shutdown first via SMF? Thanks in advance Eugene (2 Replies)
Discussion started by: srage
2 Replies

7. Solaris

removing associated processes from a SMF service

I'm running Tibco Hawk (hawkhma and agent) on a number of solaris 10 boxes (both x86 and Sparc). Tibco Hawk is a monitoring system, that can monitor processs and logs on the OS and applications. It also have the ability to start a process, if it for some reason, have died. I have implemented... (2 Replies)
Discussion started by: u_paludan
2 Replies

8. Solaris

How to make SMF service start last?

I need to start a service among the last on a freshly booted system. Via the manifest, I've made it dependent on very milestone on the computer yet the service still comes back with an error that a kstat variable in the kernel does not exist. I run it right the service process right there... (6 Replies)
Discussion started by: JWH
6 Replies

9. UNIX for Advanced & Expert Users

Service smf ntp maintenance

Hello, My ntp service goes in maintenance mode in Solaris 11. I do "svcadm clear ntp", the service is back but after 1 minute it crashes but automatically restarted. After the third attempt it goes in maintenance again : After the clear : 1 minute later it crashes but it is... (2 Replies)
Discussion started by: bob74350
2 Replies

10. Red Hat

Apache service not coming up after restart

When I update the server with new SSL certificates, and restart httpd, I get errors : # service httpd restart Stopping httpd: rm: cannot remove `/usr/local/apache2/bin/httpd/logs/httpd.pid': Not a directory Starting httpd: ... (0 Replies)
Discussion started by: anaigini45
0 Replies
gphoto2-config(1)						   User Commands						 gphoto2-config(1)

NAME
gphoto2-config - return meta information about installed version of libgphoto2(3). SYNOPSIS
gphoto2-config [--prefix=DIR] [--libs] [--cflags] [--help] [--version] DESCRIPTION
gphoto2-config is a convenience script which retrieves information about the installed version of libgphoto2(3) on your system. gphoto2-config is typically used to compile and link against libgphoto2(3). The following example shows how to use gphoto2-config in a Makefile: program: program.c cc program.c `gphoto2-config --cflags --libs` The output is similar to that produced by pkg-config(1). OPTIONS
The following options are supported: --cflags Prints pre-processor and compile flags required to compile with libgphoto2(3) on the command line. --help Displays help and usage information. --libs Identical to --cflags option but only prints the link flags. --prefix=DIR Specify a different prefix from the default libgphoto2(3). (default is/usr). --version Displays version of libgphoto2(3) installed on your system. FILES
The following files are used by this application: /usr/bin/gphoto2-config Executable for installed library helper script ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-camera-devel | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), pkg-config(1), libgphoto2(3) NOTES
Written by Matt Keenan Sun Microsystems Inc., 2008. SunOS 5.11 01 Aug 2008 gphoto2-config(1)
All times are GMT -4. The time now is 03:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy