drizzle/drizzled/drizzled --help | grep daemon
-d [ --daemon ] Run as a daemon.
-u [ --user ] arg Run drizzled daemon as user.
-r [ --chroot ] arg Chroot drizzled
daemon
Perhaps those options will help. You should be able to pass this and
have the lt-drizzled process just run as a daemon.
On 12/07/2011 06:47 PM, Me Myself and I wrote:
First of all, success is mine.
Secondly, when I go ./drizzled --user=drizzle, how do I
-send this running server instance into the background?
-get access to the command line again in this command window, avoid the freeze
that happens?
[root@localhost sbin]# cd /usr/sbin
[root@localhost sbin]# ./drizzled --user=drizzle
InnoDB: The log sequence number in ibdata files does not match the log sequence
number in the ib_logfiles!
111208 10:13:27 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
"/tmp/mysql.socket" exists already. Do you have another Drizzle or MySQL
running? Or perhaps the file is stale and should be removed?
Date: Wed, 7 Dec 2011 11:44:22 +0200
Subject: Re: [Drizzle-discuss] Vital Drizzle Database Questions.
From: [email protected]
To: [email protected]
CC: [email protected]
Ah, but here:
[zachary@localhost sbin]$ ./drizzled
Aborting:"Local catalog does not exist, was unable to chdir() to
/var/lib/drizzle". Abort was called from drizzled/main.cc:337 in main()
[zachary@localhost sbin]$ ./drizzled --user=drizzle
Aborting:"Local catalog does not exist, was unable to chdir() to
/var/lib/drizzle". Abort was called from drizzled/main.cc:337 in main()
[zachary@localhost sbin]$
You are not running as root so drizzled is unable to change to that directory.
henrik
On Wed, Dec 7, 2011 at 11:32 AM, Me Myself and I
<[email protected]> wrote:
[root@localhost drizzle]# ls -l
total 116748
-rw-rw---- 1 drizzle drizzle 77594624 Nov 26 10:16 ibdata1
-rw-rw---- 1 drizzle drizzle 20971520 Nov 26 10:24 ib_logfile0
-rw-rw---- 1 drizzle drizzle 20971520 Nov 26 10:16 ib_logfile1
drwx------ 2 drizzle drizzle 4096 Nov 26 10:16 local/
-rw-rw---- 1 drizzle drizzle 36 Nov 26 10:16 server.uuid
[root@localhost drizzle]#
Date: Wed, 7 Dec 2011 09:58:50 +0200
Subject: Re: [Drizzle-discuss] Vital Drizzle Database Questions.
From: [email protected]
To: [email protected]
CC: [email protected]
And what does ls -l /var/lib/drizzle say?
On Wed, Dec 7, 2011 at 4:15 AM, Me Myself and I
<[email protected]> wrote:
I have removed auth_http and still can't get the drizzle client to run
and
login.
?
[zachary@localhost usr]$ cd sbin
[zachary@localhost sbin]$ ./drizzled
Aborting:"Local catalog does not exist, was unable to chdir() to
/var/lib/drizzle". Abort was called from drizzled/main.cc:337 in main()
[zachary@localhost sbin]$ ./drizzled --user=drizzle
Aborting:"Local catalog does not exist, was unable to chdir() to
/var/lib/drizzle". Abort was called from drizzled/main.cc:337 in main()
[zachary@localhost sbin]$
Unless you really want to use http based authentication source,
uninstall auth_http.
henrik
On Tue, Dec 6, 2011 at 6:49 AM, Me Myself and I
<[email protected]> wrote:
Still having problems getting drizzled to start.
[root@localhost sbin]# ./drizzled --user=drizzle
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
Could not load auth file: Could not open users file:
/etc/drizzle.users
Plugin 'auth_file' init function returned error.
Aborting:"plugin_finalize() failed". Abort was called from
drizzled/drizzled.cc:1478 in init_server_components()
[root@localhost sbin]#
I have removed the auth_file plugin package, and get this:
[root@localhost sbin]# ./drizzled --user=drizzle
InnoDB: Log scan progressed past the checkpoint lsn 48941
111126 10:20:04 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the
doublewrite
InnoDB: buffer...
111126 10:20:04 InnoDB: Starting an apply batch of log records to
the
database...
InnoDB: Progress in percents: 28 29 30 31 32 33 34 35 36 37 38 39 40
41
42
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
66
67
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
91
92
93 94 95 96 97 98 99
InnoDB: Apply batch completed
auth_http plugin loaded but required option url not specified.
Against
which
URL are you intending on authenticating?
Plugin 'auth-http' init function returned error.
Aborting:"plugin_finalize() failed". Abort was called from
drizzled/drizzled.cc:1478 in init_server_components()
[root@localhost sbin]#
repeating
[root@localhost sbin]# ./drizzled --user=drizzle
gives exactly the same problem.
What do I do to specify a localhost url login? Is this the problem?
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
--
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc
My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
--
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc
My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
--
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc
My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp