The Solaris Service Management Facility--the replacement for init.d scripts in Solaris 10 and up.

learn more… | top users | synonyms

2
votes
1answer
26 views

postgres solaris smf service reports status online before it can listen for connections

I have an SMF service (Naviserver web server) that depends on postgres to be up and running (i.e. accepting connections) before it should start. Postgres reports it's status as "online" well before it ...
1
vote
2answers
119 views

DNS resolving error in postfix mail queue

mailq gives me this error: F2E7B32820F3 3549 Wed Feb 17 12:15:50 "www-data@info"@hivemind.ru (host mxs.mail.ru[94.100.180.150] said: 421 Problem resolving DNS for domain info"@hivemind.ru (...
1
vote
1answer
92 views

apache smf refresh does what?

Morning, I am trying to determine what svcadm refresh apache22 does. We have had an issue with connectivity to apache this week where nobody can access anything that apache helps serve up. Doing a ...
0
votes
0answers
115 views

SMF: Custom method script and automatic restart on Solaris

i'm experiencing problems with automatic service restart with SMF and Solaris 11.3. I had to write my own start/stop method script to start a Tomcat to ensure several prerequisites. The script itself ...
2
votes
1answer
61 views

Solaris SMF Detect Java PermGen?

Is there a way to detect a Java process is out of memory (e.g. PermGen space) and restart it with an SMF contract?
1
vote
0answers
711 views

Cannot set up blueimp jquery upload server for Node using SMF on SmartOS

I set up a node blueimp jquery file upload server on a Joyent cloud SmartOS SmartMachine (nodejs 13.1.0) instance. It works fine if I manually start it using the command ./node_modules/blueimp-file-...
2
votes
2answers
605 views

Correct way to modify startup options for svc:/network/finger:default in Solaris 10?

I want to make "finger" harmless on Solaris 10, and I see this in the man page; OPTIONS fingerd supports the following option. -s Enable secure mode. Deny forwarding of queries to other ...
2
votes
1answer
451 views

How to tell SMF that a service really is online?

This seems trivial, but I have a service in Solaris 10 that's running but SMF thinks it isn't. I could probably get SMF to have the right status by stopping and then starting the service, but in ...
0
votes
1answer
84 views

Can a daemon running under smf on SmartOs have a memory cap

Can I set a memory limit on a daemon running under smf on Joyent SmartOS? I have a logging process that seems to balloon after cpu time gets above 100. I only have small instances (512Mb), it would ...
10
votes
1answer
538 views

Why is SMF manifest losing configuration data when exported on SmartOS?

I'm running a server process under SMF (Server Management Facility) on Joyent's Base64 1.8.1 SmartOS image. For those not aqauinted with SmartOS, it is a cloud-based distribution of IllumOS with KVM. ...
1
vote
3answers
4k views

Solaris SMF Services - Method “start” exited with status 96

Hi I'm trying to start a new service on server reboot and I got this error on start: "Method "start" exited with status 96". Also my service in on "Maintenance" state. My service is working when I ...
0
votes
1answer
1k views

Solaris SMF stops svc on child segfault despite ignore_error

I know about Solaris SMF kill service because child dies. Here is my problem: I want SMF to ignore any crash dumps (seg faults) by my service's children. I thought I would achieve this by adding this ...
2
votes
1answer
1k views

What part of SMF is likely broken by a hard power down?

At one of my customer sites, the local guy shut down their local Solaris 10 x86 server, pulled the power inputs, moved it, and now it won’t start properly. It boots and then presents a prompt which ...
2
votes
3answers
990 views

Solaris SMF: Kill with custom signal, or get PID, or prevent kill of children

In the Solaris Service XML I am using a kill to signal a graceful shutdown <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60" /> This works great, except for the fact ...
1
vote
1answer
448 views

Solaris SMF for ssh tunnel

I'm tunneling from our web server to our MySQL server, both on Solaris boxes. I've created a SMF manifest for the ssh tunnel in order to reconnect when the web server box reboots. This works great. ...
0
votes
1answer
121 views

Not able to set env with character '='in SMF solaris

svccfg -s network/inetd setenv UMEM_DEBUG default,firewall=1 this command is not working. I need to set an environment variable to the inetd service with "=" as a character in environment variable ...
1
vote
3answers
1k views

Too many open files

In php-fpm.conf I have: rlimit_files = 8192 My server is a 1G SmartMachine from Joyent, meaning it is a Solaris with 1GB memory. My problem is that on high load I get errors like this: Warning (2)...
0
votes
2answers
1k views

Solaris SMF functionality in any open source or Linux kernel packages?

I use Solaris SMF to monitor, report, and automatically restart processes after a crash on Solaris systems. Is there anything similar either as portable open source or in the Linux kernel? For those ...
0
votes
2answers
274 views

how can I tell SMF to stop monitoring service?

I want it to stop monitoring it for sometime so that I can stop my server (my main motivation is that smf wont start my server again automatically once i manually stopped it) and then start it again (...
0
votes
1answer
201 views

Solaris SMF Syntax

I'm trying to write a SMF manifest but i'm stuck because i can't find the complete documentation. Their DTD (/usr/share/lib/xml/dtd/service_bundle.dtd.1) is a joke, it's full of CDATA. For instance, ...
6
votes
3answers
2k views

Solaris SMF kill service because child dies

I am using SMF to manage a service under Solaris10. This service is itself a process manager, and forks off many child processes, some of which die occasionally (or are killed for various reasons). ...
0
votes
1answer
407 views

Export SMF posts into Drupal forum

I am currently working on a Drupal 6 site and would love it if there's a way I could import everything over from an already existing SMF site. By everything I actually mean : users and their ...
1
vote
2answers
274 views

SMF restarting service whenever there's output?

I'm trying to add a custom service to SMF's configuration, which seems successful in that the service starts and there is a log file, but therein lies the problem; the service, on start-up, prints ...