From: <ml-...@fl...> - 2022-07-19 19:17:34
|
Hayim, at first sight, your existdb.service file looks fine. I would first start checking the ExecStart path. If the path is valid, i would recommend to check the logs, especially $EXIST_HOME/logs/exist.log. Errors during startup should show up there. You may also try to run the startup.sh script manually as existdb user: sudo -u existdb /home/ec2-user/exist-6.0.1/bin/startup.sh To stop the exist server started this way, just hit CTRL+C. Regarding sudo chown -R existdb:existdb . You're right, it's only one command. The documentation is slightly outdated in that regard. Initially, it contained two separate commands to set the user and the group separately. The single command above combines both steps. Greetings, Florian Am 19.07.2022 um 19:42 schrieb Hayim Lapin: > As a footnote: the documentation reads: > > You do so by navigating to your |$EXIST_HOME| folder and typing the > following two commands: > sudo chown -R existdb:existdb . > > But isn't there only one command here? > > On Tue, Jul 19, 2022 at 1:34 PM Hayim Lapin <hl...@um... > <mailto:hl...@um...>> wrote: > > Dear list, > I have successfully created an aws instance running the default > linux os running on port 8899. > I have also followed the directions here > <https://exist-db.org/exist/apps/doc/advanced-installation#service> for > running existdb as a service, apparently to no effect. My > existed.service file below. Any hints about what I may be doing wrong? > Many thanks, > HL > > [Unit] > Description=eXist-db Server > Documentation=https://exist-db.org/exist/apps/doc/ > <https://exist-db.org/exist/apps/doc/> > After=syslog.target > > [Service] > Type=simple > User=existdb > Group=existdb > ExecStart=/home/ec2-user/exist-6.0.1/bin/startup.sh > > [Install] > WantedBy=multi-user.target > > Any suggestions about what I might be doing wrong? > > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |