{"record":{"id":"427efb121658a905","repo":"risingwavelabs/risingwave","slug":"no-service-is-specified-to-start","errorCode":null,"errorMessage":"No service is specified to start.","messagePattern":"No service is specified to start\\.","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/cmd_all/src/standalone.rs","lineNumber":171,"sourceCode":"                .prometheus_listener_addr\n                .clone_from(prometheus_listener_addr);\n        }\n        if let Some(compactor_opts) = compactor_opts.as_mut() {\n            compactor_opts\n                .prometheus_listener_addr\n                .clone_from(prometheus_listener_addr);\n        }\n        if let Some(meta_opts) = meta_opts.as_mut() {\n            meta_opts.prometheus_listener_addr = Some(prometheus_listener_addr.clone());\n        }\n    }\n\n    if meta_opts.is_none()\n        && compute_opts.is_none()\n        && frontend_opts.is_none()\n        && compactor_opts.is_none()\n    {\n        panic!(\"No service is specified to start.\");\n    }\n\n    ParsedStandaloneOpts {\n        meta_opts,\n        compute_opts,\n        frontend_opts,\n        compactor_opts,\n    }\n}\n\n/// A service under standalone mode.\nstruct Service {\n    name: &'static str,\n    runtime: BackgroundShutdownRuntime,\n    main_task: tokio::task::JoinHandle<()>,\n    shutdown: CancellationToken,\n}\n","sourceCodeStart":153,"sourceCodeEnd":189,"githubUrl":"https://github.com/risingwavelabs/risingwave/blob/6469eb736d691e8e9b8a419a57edd6429ca77417/src/cmd_all/src/standalone.rs#L153-L189","documentation":"A command-line validation guard in standalone mode's parse_standalone_opt_args: after merging subcommand options, none of meta_opts, compute_opts, frontend_opts, or compactor_opts is Some, meaning the user invoked `risingwave standalone` without specifying any service to run. The offending input is the CLI argument set, which selected standalone mode but provided no component flags.","triggerScenarios":"Thrown at src/cmd_all/src/standalone.rs:171 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass at least one service flag, e.g. `risingwave standalone --with-frontend`, or the combination you need (meta/compute/frontend/compactor)","Check subcommand placement: service flags must come after `standalone`, not before it, or they will not be parsed into the standalone options","Run `risingwave standalone --help` to list the accepted service flags and defaults","Use the full `risingwave` all-in-one mode (without standalone) if you want the standard single-node defaults instead of explicit service selection"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6469eb736d691e8e9b8a419a57edd6429ca77417","analyzedAt":"2026-09-11T21:06:21.487Z","contentChangedAt":"2026-09-11T21:06:21.487Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}