Troubleshooting¶
Service not starting¶
If the Dracal device service fails to start:
- Check service status — see Service Status
- Review log files for error messages:
- Windows:
%PROGRAMDATA%\Dracal\ - Ubuntu:
/var/log/dracal/
- Windows:
- Check configuration file for JSON syntax errors
- Reset configuration by deleting the config file — it will be recreated with defaults
- Verify installation by reinstalling from dracal.com
Devices not detected¶
If your Dracal devices are not being detected:
- Verify USB connection — ensure devices are properly connected
- Restart the service — see Service Management
- Try a different USB port — some ports may have connectivity issues
- Review log files for error messages:
- Windows:
%PROGRAMDATA%\Dracal\ - Ubuntu:
/var/log/dracal/
- Windows:
- Enable debug logging in the configuration file for more detailed diagnostics
Configuration issues¶
If you're experiencing configuration problems:
- Verify configuration file syntax (
.jsonfile) in:- Windows:
%PROGRAMDATA%\Dracal\ - Ubuntu:
/etc/dracal/
- Windows:
- Use a JSON validator to check for syntax errors
- Restart the service after making configuration changes
- Check log files for configuration-related error messages
- Reset to defaults by deleting the configuration file — it will be recreated automatically on restart
API connection errors¶
If you cannot connect to the REST JSON API:
- Verify service is running — check Service Status
- Check configured port — verify the port in the configuration file (default:
11395) - Test the endpoint — use
curl http://localhost:<port>/dracal-service-info - Review firewall settings — ensure the port is not blocked (though the service only accepts local connections)
- Check log files for HTTP server errors
Port conflict errors¶
If you see errors about the port being in use:
- Check for other services using the same port
- Change the HTTP port in the configuration file to an unused port (e.g.,
12000) - Restart the service after changing the port
- Update your client code to use the new port