Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

error during opensearch installation

Solved4.80K views4th April 2024opensearch
1
Jeroen Geldhof [SLC] [DevOps Enabler]5.07K 2nd April 2024 0 Comments

I'm installing opensearch for a DataMiner system on an Ubuntu server.
I however get following error.

Running OpenSearch Post-Installation Script
opensearch error something went wrong during demo configuration installation. Please see the logs in /var/log/opensearch/install_demo _configuration.log

in that log :
No custom admin password found Please provide a password via the environment variable opensearch_initial_admin_password

I've now performed a sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom password>
How do I continue setting up OpenSearch with that post-installation script it initially tried to execute?

update:
I also just tried starting the service without all this, but it gave me following error:

Executing: /lib/systemd/systemd-sysv-install enable opensearch
administrator@msskch-vs-dmels:/etc/opensearch$ sudo systemctl start opensearch
Job for opensearch.service failed because the control process exited with error code.
See "systemctl status opensearch.service" and "journalctl -xeu opensearch.service" for details.
administrator@msskch-vs-dmels:/etc/opensearch$

I then also tried a reinstall, but got following error:

sudo apt-get reinstall opensearch

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 102 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for opensearch:amd64
administrator@msskch-vs-dmels:/etc/opensearch$

Jeroen Geldhof [SLC] [DevOps Enabler] Selected answer as best 4th April 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate]855 Posted 4th April 2024 1 Comment

Hi Jeroen,

Have you checked the following files?
cat /var/log/opensearch/install_demo _configuration.log

A simple password will cause the same error.
Make sure it contains upper and lower case letters, numbers, and special characters.

However, since the installation seems to have failed, i recommend that you try to purge the package once.
sudo apt-get purge opensearch

Today I also tried to install to ubuntu and encountered the same error, but I set the password correctly and the installation was successful.

Jeroen Geldhof [SLC] [DevOps Enabler] Posted new comment 4th April 2024
Jeroen Geldhof [SLC] [DevOps Enabler] commented 4th April 2024

that worked for me too

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin