Skip to end of metadata
Go to start of metadata

If a service crashes that is managed by SMF,  SMF will place it in "maintenance mode."  For any service in maintenance mode, you need to restart the service manually with SMF. You can also use SMF to restart Webmin if necessary.

In this topic:

At a Glance

This topic shows you how to restart a service if it is disabled or in maintenance mode using SMF. You can also use SMF to restart Webmin if it crashes.

Restarting Services

You can restart or re-enable a service by doing the following.

You need to run these procedures as the root user or admin user with sudo access.

Services in Maintenance Mode

SMF will place a service in maintenance mode when the service encounters something that causes it to crash. This usually indicates an error with the service but can also occur if your SmartMachine is running out of resources (RAM or disk space).

To verify if a service is in maintenance mode:

  1. Run this command:

    This will show all running and disabled services. If a service is in maintenance mode, you will see something similar to this:

  2. Review the log to root-cause why the service was in maintenance mode.
  3. Take the service out of maintenance mode:

Disabled Services

To verify if a service is disabled:

If the service is disabled, you will see something similar to this:

Enable a Service

To enable a service:

  1. Enable the service:
  2. Verify the service is enabled:

If successful, you should see something similar to this:

The term "online" is the service state and indicates that the service is running.

Restarting Webmin

If Webmin becomes unresponsive or unreachable, you can restart it through SSH.

  1. Login as an administrative user:
  2. Check the current state of Webmin: 
    1. If shown as "running" then:
      1. Restart Webmin: 
    2. If shown as "disabled" then:
      1. Start Webmin: 
    3. If shown as "maintenance":
      1. Clear Webmin: 
  3. Make sure Webmin is not in maintenance: 
  4. If Webmin is listed as being in maintenance, run: 
Labels:
smf smf Delete
webmin webmin Delete
ssh ssh Delete
sudo sudo Delete
root root Delete
service service Delete
maintenance maintenance Delete
mode mode Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.