---
title: "Starting the IceBox Server"
url: https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server
language: cpp
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Starting the IceBox Server

Programming language: C++. Other languages: [C#](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/csharp.md), [Java](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/java.md), [JavaScript](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/js.md), [MATLAB](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/matlab.md), [PHP](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/php.md), [Python](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/python.md), [Ruby](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/ruby.md), [Swift](https://docs.zeroc.com/ice/3.8/services/icebox/starting-the-icebox-server/swift.md).

Incorporating everything we discussed previously, we can now configure and start IceBox servers.

The configuration file for our example C++ service is shown below:

```config
IceBox.Service.Greeter=GreeterService:create --Ice.Trace.Dispatch
```

Assuming this property resides in a configuration file named `config`, we can start the C++ IceBox server as follows:

```shell
icebox --Ice.Config=config
```

## IceBox Server Failures

At startup, an IceBox server inspects its configuration for all properties having the prefix [IceBox.Service](https://docs.zeroc.com/ice/3.8/property-reference/icebox-properties/cpp.md#icebox.service.name) and initializes each service. If initialization fails for a service, the IceBox server invokes the `stop` operation on any initialized services, reports an error, and terminates.

## See Also

- [IceBox.\*](https://docs.zeroc.com/ice/3.8/property-reference/icebox-properties/cpp.md)
