Failing to start the neo4j database

I am starting the neo4j community edition as a container using the entry point script file. The content of the script file is:

#!/bin/bash
cd /var/lib/neo4j

bin/neo4j console

As soon as the container is started, i could see the below process for some seconds:

root        15    13 99 07:38 pts/0    00:00:09 /jdk/bin/java -cp /var/lib/neo4j/plugins:/var/lib/neo4j/conf:/var/lib/neo4j/lib/*:/var/lib/neo4j/plugins/* -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+UnlockExperim

After few seconds, this process vanishes and again if i try to start the database, below error occurs.

root@cf841d3559f9:/var/lib/neo4j# bin/neo4j console
Directories in use:
  home:         /var/lib/neo4j
  config:       /var/lib/neo4j/conf
  logs:         /var/lib/neo4j/logs
  plugins:      /var/lib/neo4j/plugins
  import:       /var/lib/neo4j/import
  data:         /var/lib/neo4j/data
  certificates: /var/lib/neo4j/certificates
  run:          /var/lib/neo4j/run
Starting Neo4j.
2022-02-17 07:40:07.951+0000 INFO  Starting...
2022-02-17 07:40:09.762+0000 INFO  ======== Neo4j 4.1.1 ========
2022-02-17 07:40:17.213+0000 ERROR Failed to start Neo4j on dbms.connector.http.listen_address, a socket address. If missing port or hostname it is acquired from dbms.default_listen_address. Error starting Neo4j database server at /var/lib/neo4j/data/databases
java.lang.RuntimeException: Error starting Neo4j database server at /var/lib/neo4j/data/databases
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:198)
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:158)
        at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
        at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:117)
        at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:87)
        at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.dbms.database.DefaultSystemGraphInitializer@60325987' was successfully initialized, but failed to start. Please see the attached cause exception "Multiple components failed to initialize the system graph:
        multi-database: org.neo4j.graphdb.DatabaseShutdownException: This database is shutdown.
        security-users: org.neo4j.graphdb.DatabaseShutdownException: This database is shutdown.".
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:463)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:110)
        at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.startDatabaseServer(DatabaseManagementServiceFactory.java:189)
        ... 5 more
Caused by: java.lang.IllegalStateException: Multiple components failed to initialize the system graph:
        multi-database: org.neo4j.graphdb.DatabaseShutdownException: This database is shutdown.
        security-users: org.neo4j.graphdb.DatabaseShutdownException: This database is shutdown.
        at org.neo4j.dbms.database.SystemGraphComponents.initializeSystemGraph(SystemGraphComponents.java:99)
        at org.neo4j.dbms.database.DefaultSystemGraphInitializer.initializeSystemGraph(DefaultSystemGraphInitializer.java:41)
        at org.neo4j.dbms.database.SystemGraphInitializer.start(SystemGraphInitializer.java:29)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:442)
        ... 7 more
2022-02-17 07:40:17.214+0000 INFO  Neo4j Server shutdown initiated by request