[MonetDB-users] monetdb/merovingian
Hi, I've got this messages after rebooting the server and trying to start merovingian again: unable to open '/var/run/MonetDB/merovingian.pid' for writing: No such file or directory Software: Ubuntu 9.10 MonetDB server v5.18.3 (64-bit), based on kernel v1.36.3 (64-bit oids) Please help. Dariusz.
On 19-04-2010 12:34:25 -0400, dariuszs wrote:
Hi, I've got this messages after rebooting the server and trying to start merovingian again:
unable to open '/var/run/MonetDB/merovingian.pid' for writing: No such file or directory
Software: Ubuntu 9.10 MonetDB server v5.18.3 (64-bit), based on kernel v1.36.3 (64-bit oids)
Please help. Dariusz.
do you have a /var/run/MonetDB? If so, who owns it?
Hi, It was there before reboot, owned by monetdb. Dariusz. Fabian Groffen wrote:
On 19-04-2010 12:34:25 -0400, dariuszs wrote:
Hi, I've got this messages after rebooting the server and trying to start merovingian again:
unable to open '/var/run/MonetDB/merovingian.pid' for writing: No such file or directory
Software: Ubuntu 9.10 MonetDB server v5.18.3 (64-bit), based on kernel v1.36.3 (64-bit oids)
Please help. Dariusz.
do you have a /var/run/MonetDB? If so, who owns it?
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
Hi, Yes it's gone. To verify I removed the packages installed them again, started merovingian, started demo database, rebooted the server and now /var/run/MonetDB folder is gone... Dariusz. Fabian Groffen wrote:
On 19-04-2010 13:36:00 -0400, dariuszs wrote:
do you have a /var/run/MonetDB? If so, who owns it?
It was there before reboot, owned by monetdb. Dariusz.
so it's gone now?
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
Hi, What do we do now? Thanks. Dariusz. dariuszs wrote:
Hi, Yes it's gone. To verify I removed the packages installed them again, started merovingian, started demo database, rebooted the server and now /var/run/MonetDB folder is gone... Dariusz.
Fabian Groffen wrote:
On 19-04-2010 13:36:00 -0400, dariuszs wrote:
do you have a /var/run/MonetDB? If so, who owns it?
It was there before reboot, owned by monetdb. Dariusz.
so it's gone now?
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
I've used MonetDB on Ubuntu using the .deb package and there is no
init.d script created to start/stop merovingian. (That would be a nice
addition, if only for consistency.)
When I got the error starting merovingian, I would just do a:
"sudo mkdir /var/run/MonetDB" and try again and it would work.
I ended up creating my own init.d script and I had to check and create
the /var/run/MonetDB if needed. I never figured out what exactly was
removing the directory. I just figured merovingain was being overly
tidy when shutting down.
IMHO, if it is going to be so tidy as to create .pid files in its own
directory, it should take responsibility for creating the needed
sub-directory when it first starts.
Regards,
Steve
--- On Mon, 4/19/10, Fabian Groffen
From: Fabian Groffen
Subject: Re: [MonetDB-users] monetdb/merovingian To: monetdb-users@lists.sourceforge.net Date: Monday, April 19, 2010, 3:02 PM On 19-04-2010 15:43:04 -0400, dariuszs wrote: Hi, What do we do now? Thanks. Dariusz.
So, you are on ubuntu, and use our .deb-files to install MonetDB. How exactly do you start the server? Is there some init.d script?
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
On 19-04-2010 14:52:10 -0700, Steve Schmechel wrote:
I've used MonetDB on Ubuntu using the .deb package and there is no init.d script created to start/stop merovingian. (That would be a nice addition, if only for consistency.)
When I got the error starting merovingian, I would just do a: "sudo mkdir /var/run/MonetDB" and try again and it would work.
I ended up creating my own init.d script and I had to check and create the /var/run/MonetDB if needed. I never figured out what exactly was removing the directory. I just figured merovingain was being overly tidy when shutting down.
IMHO, if it is going to be so tidy as to create .pid files in its own directory, it should take responsibility for creating the needed sub-directory when it first starts.
It isn't that tidy as far as I can tell. It simply cannot create the directory either, since it should run as a user (non-root), hence it has no permissions to create a new directory in /var/run. Here (misc amount of systems) merovingian doesn't remove ${prefix}/var/run/MonetDB when shutting down. Does Ubuntu perhaps clean /var/run upon a (re)boot? Makes sense from a "removing stale pidfiles" point of view. It would get unpleasantly in our way though. Maybe some .keep file (like on Gentoo) is necessary in the MonetDB directory to prevent it from being removed. I suspect this is a Debian/Ubuntu issue (with the .deb installers) more than a merovingian problem, based on above thoughts.
On 20-4-2010 8:53, Fabian Groffen wrote:
On 19-04-2010 14:52:10 -0700, Steve Schmechel wrote:
I've used MonetDB on Ubuntu using the .deb package and there is no init.d script created to start/stop merovingian. (That would be a nice addition, if only for consistency.)
When I got the error starting merovingian, I would just do a: "sudo mkdir /var/run/MonetDB" and try again and it would work.
I ended up creating my own init.d script and I had to check and create the /var/run/MonetDB if needed. I never figured out what exactly was removing the directory. I just figured merovingain was being overly tidy when shutting down.
IMHO, if it is going to be so tidy as to create .pid files in its own directory, it should take responsibility for creating the needed sub-directory when it first starts.
It isn't that tidy as far as I can tell. It simply cannot create the directory either, since it should run as a user (non-root), hence it has no permissions to create a new directory in /var/run.
Here (misc amount of systems) merovingian doesn't remove ${prefix}/var/run/MonetDB when shutting down. Does Ubuntu perhaps clean /var/run upon a (re)boot? Makes sense from a "removing stale pidfiles" point of view. It would get unpleasantly in our way though. Maybe some .keep file (like on Gentoo) is necessary in the MonetDB directory to prevent it from being removed.
Yes it does.
I suspect this is a Debian/Ubuntu issue (with the .deb installers) more than a merovingian problem, based on above thoughts.
It is not an issue, quoting the Filesystem Hierarchy Standard about /var/run: " Files under this directory must be cleared (removed or truncated as appropriate) at the beginning of the boot process." http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA Debian/Ubuntu does this correctly. -- Gijs Molenaar http://gijs.pythonic.nl
On 2010-04-19 23:52, Steve Schmechel wrote:
I've used MonetDB on Ubuntu using the .deb package and there is no init.d script created to start/stop merovingian. (That would be a nice addition, if only for consistency.)
When I got the error starting merovingian, I would just do a: "sudo mkdir /var/run/MonetDB" and try again and it would work.
I ended up creating my own init.d script and I had to check and create the /var/run/MonetDB if needed. I never figured out what exactly was removing the directory. I just figured merovingain was being overly tidy when shutting down.
The directories were added to the sources on March 23. One day after the Feb2010-SP1 release was created. In other words, they should be there in the Feb2010-SP2 release.
IMHO, if it is going to be so tidy as to create .pid files in its own directory, it should take responsibility for creating the needed sub-directory when it first starts.
Regards, Steve
--- On Mon, 4/19/10, Fabian Groffen
wrote: From: Fabian Groffen
Subject: Re: [MonetDB-users] monetdb/merovingian To: monetdb-users@lists.sourceforge.net Date: Monday, April 19, 2010, 3:02 PM On 19-04-2010 15:43:04 -0400, dariuszs wrote: Hi, What do we do now? Thanks. Dariusz.
So, you are on ubuntu, and use our .deb-files to install MonetDB. How exactly do you start the server? Is there some init.d script?
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Sjoerd Mullender
Hi, I start it manually from the shell root@monetdb:~#merovingian Dariusz. Fabian Groffen wrote:
On 19-04-2010 15:43:04 -0400, dariuszs wrote:
Hi, What do we do now? Thanks. Dariusz.
So, you are on ubuntu, and use our .deb-files to install MonetDB. How exactly do you start the server? Is there some init.d script?
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
On 19-4-2010 19:36, dariuszs wrote:
Hi, It was there before reboot, owned by monetdb. Dariusz.
Thanks for the report. This is a known issue with the Ubuntu packages. I'm checking all the MonetDB packages at the moment to fix this kind of problems. I'll add a Ubuntu startup script also. If everything works out they will be ready before the next release, otherwise the month after that. -- Gijs Molenaar http://gijs.pythonic.nl
participants (5)
-
dariuszs
-
Fabian Groffen
-
Gijs Molenaar
-
Sjoerd Mullender
-
Steve Schmechel