Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monetdbd cannot open pidfile on Fedora 15 #2850

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

monetdbd cannot open pidfile on Fedora 15 #2850

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working normal Server Tools

Comments

@monetdb-team
Copy link

Date: 2011-08-05 22:02:29 +0200
From: @sjoerdmullender
To: Merovingian devs <>
Version: 11.3.7 (Apr2011-SP2) [obsolete]

Last updated: 2011-09-16 15:04:33 +0200

Comment 16079

Date: 2011-08-05 22:02:29 +0200
From: @sjoerdmullender

On Fedora 15, /var/run is on a tmpfs file system. This means that the directory is completely empty when the system starts. Moreover, the directory is owned by root and has mode 755. This means that monetdbd cannot create the /var/run/monetdb5 directory (not that is tries) and cannot open the pidfile that is supposed to be located there.

On Fedora 15 and later we should not create /var/run/monetdb in the RPM. Instead we should probably use the tmpfiles.d(5) mechanism.

Comment 16081

Date: 2011-08-05 22:10:37 +0200
From: @grobian

hmm, can't the init script assure the directory exists?

Comment 16082

Date: 2011-08-06 11:15:38 +0200
From: @sjoerdmullender

(In reply to comment 1)

hmm, can't the init script assure the directory exists?

Not is you don't use the script ;) .
This is needed if you want to run monetdbd as a normal user.

Comment 16083

Date: 2011-08-06 12:02:29 +0200
From: @grobian

$ monetdbd create $HOME/my/place
$ monetdbd start $HOME/my/place

perhaps "default" should no longer work, or start issuing a warning.

Comment 16086

Date: 2011-08-06 19:12:36 +0200
From: @sjoerdmullender

Changeset b6d94077ee3a made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=b6d94077ee3a

Changeset description:

Add tmpfiles.d configuration file to create /var/run/monetdb.
This fixes bug #2850.

Comment 16089

Date: 2011-08-09 14:30:05 +0200
From: @sjoerdmullender

It seems to work now, both after a fresh install and after a reboot.
Since this is hard to test automatically, there is no test.

Comment 16238

Date: 2011-09-16 15:04:33 +0200
From: @sjoerdmullender

The Aug2011 version has been released.

@monetdb-team monetdb-team added bug Something isn't working normal Server Tools labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working normal Server Tools
Projects
None yet
Development

No branches or pull requests

2 participants