Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Be sure to evaluate the bird-hand/bush ratio.


aus+uk / uk.comp.os.linux / Old Zoneminder problem

SubjectAuthor
* Old Zoneminder problemDavey
`* Old Zoneminder problemSimon
 `* Old Zoneminder problemDavey
  +* Old Zoneminder problemSimon
  |`* Old Zoneminder problemDavey
  | `* Old Zoneminder problemSimon
  |  `* Old Zoneminder problemDavey
  |   `* Old Zoneminder problemDavey
  |    `* Old Zoneminder problemDavey
  |     `* Old Zoneminder problemDavey
  |      +* Old Zoneminder problemTheo
  |      |`- Old Zoneminder problemDavey
  |      `* Re: Old Zoneminder problemSimon
  |       +* Re: Old Zoneminder problemTheo
  |       |+- Re: Old Zoneminder problemDavey
  |       |`* Re: Old Zoneminder problem SOLVED!!!!!Davey
  |       | `* Re: Old Zoneminder problem SOLVED!!!!!Adrian Caspersz
  |       |  `- Re: Old Zoneminder problem SOLVED!!!!!Davey
  |       `* Re: Old Zoneminder problemDavey
  |        `- Re: Old Zoneminder problemAndy Burns
  `* Old Zoneminder problemRichmond
   +- Old Zoneminder problemDavey
   `- Old Zoneminder problemTheo

1
Old Zoneminder problem

<unh4fk$1itoe$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1148&group=uk.comp.os.linux#1148

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Old Zoneminder problem
Date: Mon, 8 Jan 2024 15:31:00 +0000
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <unh4fk$1itoe$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 8 Jan 2024 15:31:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="23d93ebe617a437dc866f98237e4fcd6";
logging-data="1668878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ui96522jHDSbIri5fsA3q"
Cancel-Lock: sha1:yojLNKXQ0BkGEbjecdTyi7kqyiM=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Mon, 8 Jan 2024 15:31 UTC

I have an old Dell PC, that I have used for many years to run a
Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder is
v1.22.3.
It has worked pretty flawlessly for years, but suddenly I have been
getting the dreaded "Table './zm/Frames' is marked as crashed and
should be repaired" error message when trying to access any records. I
have gone round and round in the Zoneminder Forums, in which this is
frequently discussed, but I cannot get the:
<mysqlcheck --all-databases --auto-repair>
instruction to work, which is generally considered to be the correct
thing to do. If I try to navigate to:
</var/lib/mysql/zm>, as instructed, I get 'Permission denied', and I
cannot get beyond this. 'Sudo' doesn't work.
I feel that I am close to getting this working again, but I can't cross
this final hurdle.
Any help welcome.

--
Davey.

Re: Old Zoneminder problem

<slrnupo7ms.17cnj.SimonJ@silex.localdomain>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1149&group=uk.comp.os.linux#1149

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: SimonJ@eu.invalid (Simon)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
Message-ID: <slrnupo7ms.17cnj.SimonJ@silex.localdomain>
References: <unh4fk$1itoe$1@dont-email.me>
Injection-Date: Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
Injection-Info: solani.org;
logging-data="203359"; mail-complaints-to="abuse@news.solani.org"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tGHmd4mMwjMNDgtLQHTPpdzCGQc=
X-User-ID: eJwFwQkBwDAIA0BLoxAeOZBR/xJ6B3VxhjnccHHz5NiE78GaVBozmuzld6UXytHq5PKnQusBI3ERyA==
 by: Simon - Mon, 8 Jan 2024 16:12 UTC

On 2024-01-08, Davey <davey@example.invalid> wrote:
> I have an old Dell PC, that I have used for many years to run a
> Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder is
> v1.22.3.
> It has worked pretty flawlessly for years, but suddenly I have been
> getting the dreaded "Table './zm/Frames' is marked as crashed and
> should be repaired" error message when trying to access any records. I
> have gone round and round in the Zoneminder Forums, in which this is
> frequently discussed, but I cannot get the:
><mysqlcheck --all-databases --auto-repair>
> instruction to work, which is generally considered to be the correct
> thing to do. If I try to navigate to:
></var/lib/mysql/zm>, as instructed, I get 'Permission denied', and I
> cannot get beyond this. 'Sudo' doesn't work.
> I feel that I am close to getting this working again, but I can't cross
> this final hurdle.
> Any help welcome.
>
What is the error when using the sudo command?

--
Simon

RLU: 222126

Re: Old Zoneminder problem

<unh979$1itoe$2@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1150&group=uk.comp.os.linux#1150

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 8 Jan 2024 16:51:53 +0000
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <unh979$1itoe$2@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 8 Jan 2024 16:51:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="23d93ebe617a437dc866f98237e4fcd6";
logging-data="1668878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+OfgvY5Rrz9/0FeoMuo/D"
Cancel-Lock: sha1:KWNv8gQJ5Hj5B7tVRaU2qtkK1fU=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Mon, 8 Jan 2024 16:51 UTC

On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
Simon <SimonJ@eu.invalid> wrote:

> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > I have an old Dell PC, that I have used for many years to run a
> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder is
> > v1.22.3.
> > It has worked pretty flawlessly for years, but suddenly I have been
> > getting the dreaded "Table './zm/Frames' is marked as crashed and
> > should be repaired" error message when trying to access any
> > records. I have gone round and round in the Zoneminder Forums, in
> > which this is frequently discussed, but I cannot get the:
> ><mysqlcheck --all-databases --auto-repair>
> > instruction to work, which is generally considered to be the correct
> > thing to do. If I try to navigate to:
> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied', and I
> > cannot get beyond this. 'Sudo' doesn't work.
> > I feel that I am close to getting this working again, but I can't
> > cross this final hurdle.
> > Any help welcome.
> >
> What is the error when using the sudo command?
>

sudo: cd: command not found

--
Davey.

Re: Old Zoneminder problem

<slrnupoda7.1834t.SimonJ@silex.localdomain>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1151&group=uk.comp.os.linux#1151

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: SimonJ@eu.invalid (Simon)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
Message-ID: <slrnupoda7.1834t.SimonJ@silex.localdomain>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me>
Injection-Date: Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
Injection-Info: solani.org;
logging-data="253343"; mail-complaints-to="abuse@news.solani.org"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:9AEutLEe7rthBjqxao8B75b419A=
X-User-ID: eJwFwQkBwDAIA0BLjCepHViJfwm9q8CHn4lClkp0MMeniZ0BvTrr5vVdzT1BM9PqGJSMtgceMxEu
 by: Simon - Mon, 8 Jan 2024 17:47 UTC

On 2024-01-08, Davey <davey@example.invalid> wrote:
> On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> Simon <SimonJ@eu.invalid> wrote:
>
>> On 2024-01-08, Davey <davey@example.invalid> wrote:
>> > I have an old Dell PC, that I have used for many years to run a
>> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder is
>> > v1.22.3.
>> > It has worked pretty flawlessly for years, but suddenly I have been
>> > getting the dreaded "Table './zm/Frames' is marked as crashed and
>> > should be repaired" error message when trying to access any
>> > records. I have gone round and round in the Zoneminder Forums, in
>> > which this is frequently discussed, but I cannot get the:
>> ><mysqlcheck --all-databases --auto-repair>
>> > instruction to work, which is generally considered to be the correct
>> > thing to do. If I try to navigate to:
>> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied', and I
>> > cannot get beyond this. 'Sudo' doesn't work.
>> > I feel that I am close to getting this working again, but I can't
>> > cross this final hurdle.
>> > Any help welcome.
>> >
>> What is the error when using the sudo command?
>>
>
> sudo: cd: command not found
>

So try sudo su

and then run the command from there.
--
Simon

RLU: 222126

Re: Old Zoneminder problem

<86il43her9.fsf@example.com>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1152&group=uk.comp.os.linux#1152

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: dnomhcir@gmx.com (Richmond)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 08 Jan 2024 18:16:42 +0000
Organization: Frantic
Message-ID: <86il43her9.fsf@example.com>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: solani.org;
logging-data="247898"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:Fk+rEayTnafz1/6jkjhbTruI1U0= sha1:z6lisMDHKDqiQ85jnwW1nFsrdsk=
X-User-ID: eJwFwYEBgDAIA7CXZIUC54wq/59gEqBR6Qx6bCyyNZ5WBntNfcUl0j7VFOdCIPvMOh5tnR8SOhDX
 by: Richmond - Mon, 8 Jan 2024 18:16 UTC

Davey <davey@example.invalid> writes:

> On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> Simon <SimonJ@eu.invalid> wrote:
>
>> On 2024-01-08, Davey <davey@example.invalid> wrote:
>> > I have an old Dell PC, that I have used for many years to run a
>> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder is
>> > v1.22.3.
>> > It has worked pretty flawlessly for years, but suddenly I have been
>> > getting the dreaded "Table './zm/Frames' is marked as crashed and
>> > should be repaired" error message when trying to access any
>> > records. I have gone round and round in the Zoneminder Forums, in
>> > which this is frequently discussed, but I cannot get the:
>> ><mysqlcheck --all-databases --auto-repair>
>> > instruction to work, which is generally considered to be the correct
>> > thing to do. If I try to navigate to:
>> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied', and I
>> > cannot get beyond this. 'Sudo' doesn't work.
>> > I feel that I am close to getting this working again, but I can't
>> > cross this final hurdle.
>> > Any help welcome.
>> >
>> What is the error when using the sudo command?
>>
>
> sudo: cd: command not found

On Debian, sudo is a package, and possibly not installed by default.

i A sudo - Provide limited super user privileges to specific users

So you could try apt install sudo, but you need to be root for that. :)

su - root

To switch to the root user.

Re: Old Zoneminder problem

<unhh03$1l079$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1153&group=uk.comp.os.linux#1153

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 8 Jan 2024 19:04:34 +0000
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <unhh03$1l079$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<86il43her9.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 8 Jan 2024 19:04:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="23d93ebe617a437dc866f98237e4fcd6";
logging-data="1736937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lRabeCCcZ7AlC+xOm0x0x"
Cancel-Lock: sha1:fWJ3Ry1xrA8g9XHGBOXel0Tn32Q=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Mon, 8 Jan 2024 19:04 UTC

On Mon, 08 Jan 2024 18:16:42 +0000
Richmond <dnomhcir@gmx.com> wrote:

> Davey <davey@example.invalid> writes:
>
> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> > Simon <SimonJ@eu.invalid> wrote:
> >
> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> >> > I have an old Dell PC, that I have used for many years to run a
> >> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder
> >> > is v1.22.3.
> >> > It has worked pretty flawlessly for years, but suddenly I have
> >> > been getting the dreaded "Table './zm/Frames' is marked as
> >> > crashed and should be repaired" error message when trying to
> >> > access any records. I have gone round and round in the
> >> > Zoneminder Forums, in which this is frequently discussed, but I
> >> > cannot get the:
> >> ><mysqlcheck --all-databases --auto-repair>
> >> > instruction to work, which is generally considered to be the
> >> > correct thing to do. If I try to navigate to:
> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied',
> >> >and I
> >> > cannot get beyond this. 'Sudo' doesn't work.
> >> > I feel that I am close to getting this working again, but I can't
> >> > cross this final hurdle.
> >> > Any help welcome.
> >> >
> >> What is the error when using the sudo command?
> >>
> >
> > sudo: cd: command not found
>
> On Debian, sudo is a package, and possibly not installed by default.
>
> i A sudo - Provide limited super user privileges to specific users
>
> So you could try apt install sudo, but you need to be root for
> that. :)
>
> su - root
>
> To switch to the root user.

Hmm. I've been using sudo for about 15 years, but I'll try anything.
--
Davey.

Re: Old Zoneminder problem

<unhhf5$1l079$2@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1154&group=uk.comp.os.linux#1154

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 8 Jan 2024 19:12:36 +0000
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <unhhf5$1l079$2@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 8 Jan 2024 19:12:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="23d93ebe617a437dc866f98237e4fcd6";
logging-data="1736937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AT0wxYZxH2Hx9aTVUhsSt"
Cancel-Lock: sha1:AdmYyifunxaPberLHQyREbz+0ek=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Mon, 8 Jan 2024 19:12 UTC

On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
Simon <SimonJ@eu.invalid> wrote:

> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> > Simon <SimonJ@eu.invalid> wrote:
> >
> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> >> > I have an old Dell PC, that I have used for many years to run a
> >> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder
> >> > is v1.22.3.
> >> > It has worked pretty flawlessly for years, but suddenly I have
> >> > been getting the dreaded "Table './zm/Frames' is marked as
> >> > crashed and should be repaired" error message when trying to
> >> > access any records. I have gone round and round in the
> >> > Zoneminder Forums, in which this is frequently discussed, but I
> >> > cannot get the:
> >> ><mysqlcheck --all-databases --auto-repair>
> >> > instruction to work, which is generally considered to be the
> >> > correct thing to do. If I try to navigate to:
> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied',
> >> >and I
> >> > cannot get beyond this. 'Sudo' doesn't work.
> >> > I feel that I am close to getting this working again, but I can't
> >> > cross this final hurdle.
> >> > Any help welcome.
> >> >
> >> What is the error when using the sudo command?
> >>
> >
> > sudo: cd: command not found
> >
>
> So try sudo su
>
> and then run the command from there.

Well, it let me get into root, and all the way to /var/lib/mysql/zm.
So I entered the mysqlcheck command:
root@david-desktop:/var/lib/mysql/zm# mysqlcheck --all-databases
--auto-repair
mysqlcheck: Got error: 1045: Access denied for user
'root'@'localhost' (using password: NO) when trying to connect.

Grrr.
--
Davey.

Re: Old Zoneminder problem

<slrnupolet.1cbj5.SimonJ@silex.localdomain>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1155&group=uk.comp.os.linux#1155

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: SimonJ@eu.invalid (Simon)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
Message-ID: <slrnupolet.1cbj5.SimonJ@silex.localdomain>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain> <unhhf5$1l079$2@dont-email.me>
Injection-Date: Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
Injection-Info: solani.org;
logging-data="213197"; mail-complaints-to="abuse@news.solani.org"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:kkapisCtCSIh16FMmUXjbETtaEU=
X-User-ID: eJwFwYERADEIArCVqgh2ncq9+4/wCaGQu0QVlwvLEY0FlYXa911kWCfbmHvmPKbS0oztHwVQELU=
 by: Simon - Mon, 8 Jan 2024 20:06 UTC

On 2024-01-08, Davey <davey@example.invalid> wrote:
> On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
> Simon <SimonJ@eu.invalid> wrote:
>
>> On 2024-01-08, Davey <davey@example.invalid> wrote:
>> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
>> > Simon <SimonJ@eu.invalid> wrote:
>> >
>> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
>> >> > I have an old Dell PC, that I have used for many years to run a
>> >> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder
>> >> > is v1.22.3.
>> >> > It has worked pretty flawlessly for years, but suddenly I have
>> >> > been getting the dreaded "Table './zm/Frames' is marked as
>> >> > crashed and should be repaired" error message when trying to
>> >> > access any records. I have gone round and round in the
>> >> > Zoneminder Forums, in which this is frequently discussed, but I
>> >> > cannot get the:
>> >> ><mysqlcheck --all-databases --auto-repair>
>> >> > instruction to work, which is generally considered to be the
>> >> > correct thing to do. If I try to navigate to:
>> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied',
>> >> >and I
>> >> > cannot get beyond this. 'Sudo' doesn't work.
>> >> > I feel that I am close to getting this working again, but I can't
>> >> > cross this final hurdle.
>> >> > Any help welcome.
>> >> >
>> >> What is the error when using the sudo command?
>> >>
>> >
>> > sudo: cd: command not found
>> >
>>
>> So try sudo su
>>
>> and then run the command from there.
>
> Well, it let me get into root, and all the way to /var/lib/mysql/zm.
> So I entered the mysqlcheck command:
> root@david-desktop:/var/lib/mysql/zm# mysqlcheck --all-databases
> --auto-repair
> mysqlcheck: Got error: 1045: Access denied for user
> 'root'@'localhost' (using password: NO) when trying to connect.
>
> Grrr.

You need to run as a user with mysql access, eg. mysql -u root -p and
give a new password.

--
Simon

RLU: 222126

Re: Old Zoneminder problem

<RJo*lBXzz@news.chiark.greenend.org.uk>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1156&group=uk.comp.os.linux#1156

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!news.furie.org.uk!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: 08 Jan 2024 20:29:35 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <RJo*lBXzz@news.chiark.greenend.org.uk>
References: <unh4fk$1itoe$1@dont-email.me> <slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me> <86il43her9.fsf@example.com>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="6129"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Mon, 8 Jan 2024 20:29 UTC

Richmond <dnomhcir@gmx.com> wrote:
> Davey <davey@example.invalid> writes:
>
> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> > Simon <SimonJ@eu.invalid> wrote:
> >
> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> >> > I have an old Dell PC, that I have used for many years to run a
> >> > Zoneminder installation. The PC runs Ubuntu 8.04LTS, Zoneminder is
> >> > v1.22.3.
> >> > It has worked pretty flawlessly for years, but suddenly I have been
> >> > getting the dreaded "Table './zm/Frames' is marked as crashed and
> >> > should be repaired" error message when trying to access any
> >> > records. I have gone round and round in the Zoneminder Forums, in
> >> > which this is frequently discussed, but I cannot get the:
> >> ><mysqlcheck --all-databases --auto-repair>
> >> > instruction to work, which is generally considered to be the correct
> >> > thing to do. If I try to navigate to:
> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied', and I
> >> > cannot get beyond this. 'Sudo' doesn't work.
> >> > I feel that I am close to getting this working again, but I can't
> >> > cross this final hurdle.
> >> > Any help welcome.
> >> >
> >> What is the error when using the sudo command?
> >>
> >
> > sudo: cd: command not found
>
> On Debian, sudo is a package, and possibly not installed by default.
>
> i A sudo - Provide limited super user privileges to specific users
>
> So you could try apt install sudo, but you need to be root for that. :)
>
> su - root
>
> To switch to the root user.

sudo is installed, but as it says 'cd' isn't a command, it's a shell
builtin. sudo can only run executables that live on the filesystem.

ie you could run:
$ sudo bash
# cd whatever
# ./run-me.sh

or
$ cd whatever
$ sudo ./run-me.sh

but you can't
$ sudo cd whatever

Even if there was a 'cd' executable, it would change the directory in that
process and then exit, so it wouldn't affect anything in the caller.

You can use the -i flag to force sudo to launch a login shell before running
the command, so it doesn't complain:

me@machine:~$ sudo -i cd /
me@machine:~$

but as you can see it doesn't do anything: it changes directory in the shell
launched by sudo and then promptly exits that shell, effectively doing
nothing.

Theo

Re: Old Zoneminder problem

<unjabn$1vmq8$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1157&group=uk.comp.os.linux#1157

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Tue, 9 Jan 2024 11:23:35 +0000
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <unjabn$1vmq8$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 9 Jan 2024 11:23:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0a492c2e54230f485e86f39f7261dd51";
logging-data="2087752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ypQsoSrSJDpdSexWrGSbf"
Cancel-Lock: sha1:mwSvUDlrtnxSwXqVg3DvzEBpk4g=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Tue, 9 Jan 2024 11:23 UTC

On Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
Simon <SimonJ@eu.invalid> wrote:

> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
> > Simon <SimonJ@eu.invalid> wrote:
> >
> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> >> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> >> > Simon <SimonJ@eu.invalid> wrote:
> >> >
> >> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> >> >> > I have an old Dell PC, that I have used for many years to run
> >> >> > a Zoneminder installation. The PC runs Ubuntu 8.04LTS,
> >> >> > Zoneminder is v1.22.3.
> >> >> > It has worked pretty flawlessly for years, but suddenly I have
> >> >> > been getting the dreaded "Table './zm/Frames' is marked as
> >> >> > crashed and should be repaired" error message when trying to
> >> >> > access any records. I have gone round and round in the
> >> >> > Zoneminder Forums, in which this is frequently discussed, but
> >> >> > I cannot get the:
> >> >> ><mysqlcheck --all-databases --auto-repair>
> >> >> > instruction to work, which is generally considered to be the
> >> >> > correct thing to do. If I try to navigate to:
> >> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission denied',
> >> >> >and I
> >> >> > cannot get beyond this. 'Sudo' doesn't work.
> >> >> > I feel that I am close to getting this working again, but I
> >> >> > can't cross this final hurdle.
> >> >> > Any help welcome.
> >> >> >
> >> >> What is the error when using the sudo command?
> >> >>
> >> >
> >> > sudo: cd: command not found
> >> >
> >>
> >> So try sudo su
> >>
> >> and then run the command from there.
> >
> > Well, it let me get into root, and all the way to /var/lib/mysql/zm.
> > So I entered the mysqlcheck command:
> > root@david-desktop:/var/lib/mysql/zm# mysqlcheck --all-databases
> > --auto-repair
> > mysqlcheck: Got error: 1045: Access denied for user
> > 'root'@'localhost' (using password: NO) when trying to connect.
> >
> > Grrr.
>
> You need to run as a user with mysql access, eg. mysql -u root -p and
> give a new password.
>
>

It let me get into mysql, thank you very much. And I have entered the
database autorepair command, and it is sitting there doing something,
although I don't know what. Hopefully, it will eventually decide that
it has worked. All fingers crossed. The cursor flashes for a while,
then goes still, then flashes again.

--
Davey.

Re: Old Zoneminder problem

<unjj3c$218p5$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1158&group=uk.comp.os.linux#1158

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Tue, 9 Jan 2024 13:52:43 +0000
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <unjj3c$218p5$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 9 Jan 2024 13:52:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0a492c2e54230f485e86f39f7261dd51";
logging-data="2138917"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jeKO+wb7OXOM92l6zS5YR"
Cancel-Lock: sha1:TRL3jDq9sAkFI7HnqD/OaJnJLwI=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Tue, 9 Jan 2024 13:52 UTC

On Tue, 9 Jan 2024 11:23:35 +0000
Davey <davey@example.invalid> wrote:

> On Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
> Simon <SimonJ@eu.invalid> wrote:
>
> > On 2024-01-08, Davey <davey@example.invalid> wrote:
> > > On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
> > > Simon <SimonJ@eu.invalid> wrote:
> > >
> > >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > >> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> > >> > Simon <SimonJ@eu.invalid> wrote:
> > >> >
> > >> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > >> >> > I have an old Dell PC, that I have used for many years to
> > >> >> > run a Zoneminder installation. The PC runs Ubuntu 8.04LTS,
> > >> >> > Zoneminder is v1.22.3.
> > >> >> > It has worked pretty flawlessly for years, but suddenly I
> > >> >> > have been getting the dreaded "Table './zm/Frames' is
> > >> >> > marked as crashed and should be repaired" error message
> > >> >> > when trying to access any records. I have gone round and
> > >> >> > round in the Zoneminder Forums, in which this is frequently
> > >> >> > discussed, but I cannot get the:
> > >> >> ><mysqlcheck --all-databases --auto-repair>
> > >> >> > instruction to work, which is generally considered to be the
> > >> >> > correct thing to do. If I try to navigate to:
> > >> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission
> > >> >> >denied', and I
> > >> >> > cannot get beyond this. 'Sudo' doesn't work.
> > >> >> > I feel that I am close to getting this working again, but I
> > >> >> > can't cross this final hurdle.
> > >> >> > Any help welcome.
> > >> >> >
> > >> >> What is the error when using the sudo command?
> > >> >>
> > >> >
> > >> > sudo: cd: command not found
> > >> >
> > >>
> > >> So try sudo su
> > >>
> > >> and then run the command from there.
> > >
> > > Well, it let me get into root, and all the way
> > > to /var/lib/mysql/zm. So I entered the mysqlcheck command:
> > > root@david-desktop:/var/lib/mysql/zm# mysqlcheck --all-databases
> > > --auto-repair
> > > mysqlcheck: Got error: 1045: Access denied for user
> > > 'root'@'localhost' (using password: NO) when trying to connect.
> > >
> > > Grrr.
> >
> > You need to run as a user with mysql access, eg. mysql -u root -p
> > and give a new password.
> >
> >
>
> It let me get into mysql, thank you very much. And I have entered the
> database autorepair command, and it is sitting there doing something,
> although I don't know what. Hopefully, it will eventually decide that
> it has worked. All fingers crossed. The cursor flashes for a while,
> then goes still, then flashes again.
>

After more than 2 hours, there was no change, so I terminated it. It
complained about a broken pipe, so maybe it was still working. I'll try
it again later, maybe with a verbose option, to see if that does
anything.

--
Davey.

Re: Old Zoneminder problem

<unk5jr$22f7h$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1159&group=uk.comp.os.linux#1159

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Tue, 9 Jan 2024 19:08:43 +0000
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <unk5jr$22f7h$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 9 Jan 2024 19:08:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0a492c2e54230f485e86f39f7261dd51";
logging-data="2178289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vFN3+MquPrQV4ORSBrVux"
Cancel-Lock: sha1:+v4qZ3HHQiUeM1rl44r/0JfNqAs=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Tue, 9 Jan 2024 19:08 UTC

On Tue, 9 Jan 2024 13:52:43 +0000
Davey <davey@example.invalid> wrote:

> On Tue, 9 Jan 2024 11:23:35 +0000
> Davey <davey@example.invalid> wrote:
>
> > On Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
> > Simon <SimonJ@eu.invalid> wrote:
> >
> > > On 2024-01-08, Davey <davey@example.invalid> wrote:
> > > > On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
> > > > Simon <SimonJ@eu.invalid> wrote:
> > > >
> > > >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > > >> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> > > >> > Simon <SimonJ@eu.invalid> wrote:
> > > >> >
> > > >> >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > > >> >> > I have an old Dell PC, that I have used for many years to
> > > >> >> > run a Zoneminder installation. The PC runs Ubuntu 8.04LTS,
> > > >> >> > Zoneminder is v1.22.3.
> > > >> >> > It has worked pretty flawlessly for years, but suddenly I
> > > >> >> > have been getting the dreaded "Table './zm/Frames' is
> > > >> >> > marked as crashed and should be repaired" error message
> > > >> >> > when trying to access any records. I have gone round and
> > > >> >> > round in the Zoneminder Forums, in which this is
> > > >> >> > frequently discussed, but I cannot get the:
> > > >> >> ><mysqlcheck --all-databases --auto-repair>
> > > >> >> > instruction to work, which is generally considered to be
> > > >> >> > the correct thing to do. If I try to navigate to:
> > > >> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission
> > > >> >> >denied', and I
> > > >> >> > cannot get beyond this. 'Sudo' doesn't work.
> > > >> >> > I feel that I am close to getting this working again, but
> > > >> >> > I can't cross this final hurdle.
> > > >> >> > Any help welcome.
> > > >> >> >
> > > >> >> What is the error when using the sudo command?
> > > >> >>
> > > >> >
> > > >> > sudo: cd: command not found
> > > >> >
> > > >>
> > > >> So try sudo su
> > > >>
> > > >> and then run the command from there.
> > > >
> > > > Well, it let me get into root, and all the way
> > > > to /var/lib/mysql/zm. So I entered the mysqlcheck command:
> > > > root@david-desktop:/var/lib/mysql/zm# mysqlcheck --all-databases
> > > > --auto-repair
> > > > mysqlcheck: Got error: 1045: Access denied for user
> > > > 'root'@'localhost' (using password: NO) when trying to connect.
> > > >
> > > > Grrr.
> > >
> > > You need to run as a user with mysql access, eg. mysql -u root -p
> > > and give a new password.
> > >
> > >
> >
> > It let me get into mysql, thank you very much. And I have entered
> > the database autorepair command, and it is sitting there doing
> > something, although I don't know what. Hopefully, it will
> > eventually decide that it has worked. All fingers crossed. The
> > cursor flashes for a while, then goes still, then flashes again.
> >
>
> After more than 2 hours, there was no change, so I terminated it. It
> complained about a broken pipe, so maybe it was still working. I'll
> try it again later, maybe with a verbose option, to see if that does
> anything.
>

Well, that seems to be stuck, however ling I leave it. I tried the
mysqlcheck instruction with --verbose on the end, but it said nothing.
it seems to be doing something, but I don't know what, it's not telling
me, it never ends, but it complains 'aborted' if I stop it.
Most puzzling.
I think I'll sleep on it, and try again tomorrow.

--
Davey.

Re: Old Zoneminder problem

<unmd9l$2hn75$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1160&group=uk.comp.os.linux#1160

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Wed, 10 Jan 2024 15:32:05 +0000
Organization: A noiseless patient Spider
Lines: 101
Message-ID: <unmd9l$2hn75$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
<unk5jr$22f7h$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 15:32:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="248f102881e655173e20c02f60389afe";
logging-data="2677989"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Gke316kpAmxUWxWAIv8bl"
Cancel-Lock: sha1:MXqOTbSYn3drfNZGNIDaQ7LW5sQ=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Wed, 10 Jan 2024 15:32 UTC

On Tue, 9 Jan 2024 19:08:43 +0000
Davey <davey@example.invalid> wrote:

> On Tue, 9 Jan 2024 13:52:43 +0000
> Davey <davey@example.invalid> wrote:
>
> > On Tue, 9 Jan 2024 11:23:35 +0000
> > Davey <davey@example.invalid> wrote:
> >
> > > On Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
> > > Simon <SimonJ@eu.invalid> wrote:
> > >
> > > > On 2024-01-08, Davey <davey@example.invalid> wrote:
> > > > > On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
> > > > > Simon <SimonJ@eu.invalid> wrote:
> > > > >
> > > > >> On 2024-01-08, Davey <davey@example.invalid> wrote:
> > > > >> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> > > > >> > Simon <SimonJ@eu.invalid> wrote:
> > > > >> >
> > > > >> >> On 2024-01-08, Davey <davey@example.invalid>
> > > > >> >> wrote:
> > > > >> >> > I have an old Dell PC, that I have used for many years
> > > > >> >> > to run a Zoneminder installation. The PC runs Ubuntu
> > > > >> >> > 8.04LTS, Zoneminder is v1.22.3.
> > > > >> >> > It has worked pretty flawlessly for years, but suddenly
> > > > >> >> > I have been getting the dreaded "Table './zm/Frames' is
> > > > >> >> > marked as crashed and should be repaired" error message
> > > > >> >> > when trying to access any records. I have gone round and
> > > > >> >> > round in the Zoneminder Forums, in which this is
> > > > >> >> > frequently discussed, but I cannot get the:
> > > > >> >> ><mysqlcheck --all-databases --auto-repair>
> > > > >> >> > instruction to work, which is generally considered to be
> > > > >> >> > the correct thing to do. If I try to navigate to:
> > > > >> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission
> > > > >> >> >denied', and I
> > > > >> >> > cannot get beyond this. 'Sudo' doesn't work.
> > > > >> >> > I feel that I am close to getting this working again,
> > > > >> >> > but I can't cross this final hurdle.
> > > > >> >> > Any help welcome.
> > > > >> >> >
> > > > >> >> What is the error when using the sudo command?
> > > > >> >>
> > > > >> >
> > > > >> > sudo: cd: command not found
> > > > >> >
> > > > >>
> > > > >> So try sudo su
> > > > >>
> > > > >> and then run the command from there.
> > > > >
> > > > > Well, it let me get into root, and all the way
> > > > > to /var/lib/mysql/zm. So I entered the mysqlcheck command:
> > > > > root@david-desktop:/var/lib/mysql/zm# mysqlcheck
> > > > > --all-databases --auto-repair
> > > > > mysqlcheck: Got error: 1045: Access denied for user
> > > > > 'root'@'localhost' (using password: NO) when trying to
> > > > > connect.
> > > > >
> > > > > Grrr.
> > > >
> > > > You need to run as a user with mysql access, eg. mysql -u root
> > > > -p and give a new password.
> > > >
> > > >
> > >
> > > It let me get into mysql, thank you very much. And I have entered
> > > the database autorepair command, and it is sitting there doing
> > > something, although I don't know what. Hopefully, it will
> > > eventually decide that it has worked. All fingers crossed. The
> > > cursor flashes for a while, then goes still, then flashes again.
> > >
> >
> > After more than 2 hours, there was no change, so I terminated it. It
> > complained about a broken pipe, so maybe it was still working. I'll
> > try it again later, maybe with a verbose option, to see if that does
> > anything.
> >
>
> Well, that seems to be stuck, however ling I leave it. I tried the
> mysqlcheck instruction with --verbose on the end, but it said nothing.
> it seems to be doing something, but I don't know what, it's not
> telling me, it never ends, but it complains 'aborted' if I stop it.
> Most puzzling.
> I think I'll sleep on it, and try again tomorrow.
>

How can I tell if it's actually doing anything? I started the same
process this morning, and again it seems to start the mysqlcheck
process without complaint. There is a '>' followed by a flashing cursor,
which sometimes stops flashing, and then starts again. If I stop it with
Cntrl-C, it tells me 'aborted'. But there is no other sign of progress,
it doesn't argue with the --verbose option, but it doesn't report
anything either. I am most puzzled. I'll let it run for 24 hours, that
really should be enough, even for a slow PC.

Again, any help most welcome.

--
Davey.

Re: Old Zoneminder problem

<Nkc*3B7zz@news.chiark.greenend.org.uk>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1161&group=uk.comp.os.linux#1161

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: 10 Jan 2024 18:03:11 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <Nkc*3B7zz@news.chiark.greenend.org.uk>
References: <unh4fk$1itoe$1@dont-email.me> <slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me> <slrnupoda7.1834t.SimonJ@silex.localdomain> <unhhf5$1l079$2@dont-email.me> <slrnupolet.1cbj5.SimonJ@silex.localdomain> <unjabn$1vmq8$1@dont-email.me> <unjj3c$218p5$1@dont-email.me> <unk5jr$22f7h$1@dont-email.me> <unmd9l$2hn75$1@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="27194"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Wed, 10 Jan 2024 18:03 UTC

Davey <davey@example.invalid> wrote:
> How can I tell if it's actually doing anything? I started the same
> process this morning, and again it seems to start the mysqlcheck
> process without complaint. There is a '>' followed by a flashing cursor,
> which sometimes stops flashing, and then starts again. If I stop it with
> Cntrl-C, it tells me 'aborted'. But there is no other sign of progress,
> it doesn't argue with the --verbose option, but it doesn't report
> anything either. I am most puzzled. I'll let it run for 24 hours, that
> really should be enough, even for a slow PC.

'top' will tell you if it's using CPU.

'strace' will tell you what syscalls it's making, best logged to a file
eg:

strace -f -tt -o file.log mysqladmin --whatever

-f logs all the child processes as well, and -tt timestamps each one with
microseconds.

Interpreting the strace log is a bit of a skill, but just looking at the
timestamps will tell you if it's in a loop doing something, or stuck waiting
for something which never happens.

However I suspect your bigger problem will be that you need to install
strace and the package repos are long gone. It seems like the archives are
at:

http://old-releases.ubuntu.com/ubuntu/

and you can replace 'archive.ubuntu.com' with 'old-releases.ubuntu.com' in
your /etc/apt/sources.list and then apt-get update to fetch them.

Theo

Re: Old Zoneminder problem

<unna0j$2meab$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1162&group=uk.comp.os.linux#1162

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Wed, 10 Jan 2024 23:42:10 +0000
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <unna0j$2meab$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
<unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me>
<Nkc*3B7zz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Jan 2024 23:42:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c10dc04f33469e43732971a9d1abac";
logging-data="2832715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19x24bgxdI/vRa6p31kkuLB"
Cancel-Lock: sha1:88xneit9sDo3v5RaTkJKPLEA5Z4=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Wed, 10 Jan 2024 23:42 UTC

On 10 Jan 2024 18:03:11 +0000 (GMT)
Theo <theom+news@chiark.greenend.org.uk> wrote:

> Davey <davey@example.invalid> wrote:
> > How can I tell if it's actually doing anything? I started the same
> > process this morning, and again it seems to start the mysqlcheck
> > process without complaint. There is a '>' followed by a flashing
> > cursor, which sometimes stops flashing, and then starts again. If I
> > stop it with Cntrl-C, it tells me 'aborted'. But there is no other
> > sign of progress, it doesn't argue with the --verbose option, but
> > it doesn't report anything either. I am most puzzled. I'll let it
> > run for 24 hours, that really should be enough, even for a slow
> > PC.
>
> 'top' will tell you if it's using CPU.
>
> 'strace' will tell you what syscalls it's making, best logged to a
> file eg:
>
> strace -f -tt -o file.log mysqladmin --whatever
>
> -f logs all the child processes as well, and -tt timestamps each one
> with microseconds.
>
> Interpreting the strace log is a bit of a skill, but just looking at
> the timestamps will tell you if it's in a loop doing something, or
> stuck waiting for something which never happens.
>
>
> However I suspect your bigger problem will be that you need to install
> strace and the package repos are long gone. It seems like the
> archives are at:
>
> http://old-releases.ubuntu.com/ubuntu/
>
> and you can replace 'archive.ubuntu.com' with
> 'old-releases.ubuntu.com' in your /etc/apt/sources.list and then
> apt-get update to fetch them.
>
> Theo

Thanks. I'll start with 'top', and see what that tells me. This is
getting more and more frustrating!
Thanks for the help,
--
Davey.

Re: Old Zoneminder problem

<slrnupvafu.15o78.SimonJ@silex.localdomain>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1163&group=uk.comp.os.linux#1163

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: SimonJ@eu.invalid (Simon)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Thu, 11 Jan 2024 08:42:38 -0000 (UTC)
Message-ID: <slrnupvafu.15o78.SimonJ@silex.localdomain>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain> <unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain> <unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me> <unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me>
Injection-Date: Thu, 11 Jan 2024 08:42:38 -0000 (UTC)
Injection-Info: solani.org;
logging-data="372195"; mail-complaints-to="abuse@news.solani.org"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:5b5cahVMvBdRg0G4l0BzOqILun4=
X-User-ID: eJwFwYEBwDAEBMCVIt7TcRD2H6F3phS2g0bY2vYBYkTHqzwu8eWKPq87nI3TrIeUAMaKWT8bRBFh
 by: Simon - Thu, 11 Jan 2024 08:42 UTC

On 2024-01-10, Davey <davey@example.invalid> wrote:
> On Tue, 9 Jan 2024 19:08:43 +0000
> Davey <davey@example.invalid> wrote:
>
>> On Tue, 9 Jan 2024 13:52:43 +0000
>> Davey <davey@example.invalid> wrote:
>>
>> > On Tue, 9 Jan 2024 11:23:35 +0000
>> > Davey <davey@example.invalid> wrote:
>> >
>> > > On Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
>> > > Simon <SimonJ@eu.invalid> wrote:
>> > >
>> > > > On 2024-01-08, Davey <davey@example.invalid> wrote:
>> > > > > On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
>> > > > > Simon <SimonJ@eu.invalid> wrote:
>> > > > >
>> > > > >> On 2024-01-08, Davey <davey@example.invalid> wrote:
>> > > > >> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
>> > > > >> > Simon <SimonJ@eu.invalid> wrote:
>> > > > >> >
>> > > > >> >> On 2024-01-08, Davey <davey@example.invalid>
>> > > > >> >> wrote:
>> > > > >> >> > I have an old Dell PC, that I have used for many years
>> > > > >> >> > to run a Zoneminder installation. The PC runs Ubuntu
>> > > > >> >> > 8.04LTS, Zoneminder is v1.22.3.
>> > > > >> >> > It has worked pretty flawlessly for years, but suddenly
>> > > > >> >> > I have been getting the dreaded "Table './zm/Frames' is
>> > > > >> >> > marked as crashed and should be repaired" error message
>> > > > >> >> > when trying to access any records. I have gone round and
>> > > > >> >> > round in the Zoneminder Forums, in which this is
>> > > > >> >> > frequently discussed, but I cannot get the:
>> > > > >> >> ><mysqlcheck --all-databases --auto-repair>
>> > > > >> >> > instruction to work, which is generally considered to be
>> > > > >> >> > the correct thing to do. If I try to navigate to:
>> > > > >> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission
>> > > > >> >> >denied', and I
>> > > > >> >> > cannot get beyond this. 'Sudo' doesn't work.
>> > > > >> >> > I feel that I am close to getting this working again,
>> > > > >> >> > but I can't cross this final hurdle.
>> > > > >> >> > Any help welcome.
>> > > > >> >> >
>> > > > >> >> What is the error when using the sudo command?
>> > > > >> >>
>> > > > >> >
>> > > > >> > sudo: cd: command not found
>> > > > >> >
>> > > > >>
>> > > > >> So try sudo su
>> > > > >>
>> > > > >> and then run the command from there.
>> > > > >
>> > > > > Well, it let me get into root, and all the way
>> > > > > to /var/lib/mysql/zm. So I entered the mysqlcheck command:
>> > > > > root@david-desktop:/var/lib/mysql/zm# mysqlcheck
>> > > > > --all-databases --auto-repair
>> > > > > mysqlcheck: Got error: 1045: Access denied for user
>> > > > > 'root'@'localhost' (using password: NO) when trying to
>> > > > > connect.
>> > > > >
>> > > > > Grrr.
>> > > >
>> > > > You need to run as a user with mysql access, eg. mysql -u root
>> > > > -p and give a new password.
>> > > >
>> > > >
>> > >
>> > > It let me get into mysql, thank you very much. And I have entered
>> > > the database autorepair command, and it is sitting there doing
>> > > something, although I don't know what. Hopefully, it will
>> > > eventually decide that it has worked. All fingers crossed. The
>> > > cursor flashes for a while, then goes still, then flashes again.
>> > >
>> >
>> > After more than 2 hours, there was no change, so I terminated it. It
>> > complained about a broken pipe, so maybe it was still working. I'll
>> > try it again later, maybe with a verbose option, to see if that does
>> > anything.
>> >
>>
>> Well, that seems to be stuck, however ling I leave it. I tried the
>> mysqlcheck instruction with --verbose on the end, but it said nothing.
>> it seems to be doing something, but I don't know what, it's not
>> telling me, it never ends, but it complains 'aborted' if I stop it.
>> Most puzzling.
>> I think I'll sleep on it, and try again tomorrow.
>>
>
> How can I tell if it's actually doing anything? I started the same
> process this morning, and again it seems to start the mysqlcheck
> process without complaint. There is a '>' followed by a flashing cursor,
> which sometimes stops flashing, and then starts again. If I stop it with
> Cntrl-C, it tells me 'aborted'. But there is no other sign of progress,
> it doesn't argue with the --verbose option, but it doesn't report
> anything either. I am most puzzled. I'll let it run for 24 hours, that
> really should be enough, even for a slow PC.
>
> Again, any help most welcome.
>

Usually the ">" denotes it is waiting for further input, I would
verify the command entered is correct and complete.

hth

--
Simon

RLU: 222126

Re: Old Zoneminder problem

<Mkc*D5+zz@news.chiark.greenend.org.uk>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1164&group=uk.comp.os.linux#1164

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!news.chmurka.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: 11 Jan 2024 09:48:38 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <Mkc*D5+zz@news.chiark.greenend.org.uk>
References: <unh4fk$1itoe$1@dont-email.me> <slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me> <slrnupoda7.1834t.SimonJ@silex.localdomain> <unhhf5$1l079$2@dont-email.me> <slrnupolet.1cbj5.SimonJ@silex.localdomain> <unjabn$1vmq8$1@dont-email.me> <unjj3c$218p5$1@dont-email.me> <unk5jr$22f7h$1@dont-email.me> <unmd9l$2hn75$1@dont-email.me> <slrnupvafu.15o78.SimonJ@silex.localdomain>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="2613"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Thu, 11 Jan 2024 09:48 UTC

Simon <SimonJ@eu.invalid> wrote:
> Usually the ">" denotes it is waiting for further input, I would
> verify the command entered is correct and complete.

Davey, can you paste the exact command being entered and its output here?
(you can blank out any passwords that may be visible)

mysqladmin does use > as a prompt to enter commands. In this example
somebody typed 'mysqlcheck' at the mysqladmin prompt not at their command
line:

https://dba.stackexchange.com/questions/267788/how-to-check-and-repair-mysql-database-using-mysqlcheck

Simon may be right in that you're staring at a prompt and expecting it to do
something, while it's expecting *you* to do something.

Theo

Re: Old Zoneminder problem

<unoec1$2ungu$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1165&group=uk.comp.os.linux#1165

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Thu, 11 Jan 2024 10:02:41 +0000
Organization: A noiseless patient Spider
Lines: 117
Message-ID: <unoec1$2ungu$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
<unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me>
<slrnupvafu.15o78.SimonJ@silex.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Jan 2024 10:02:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c10dc04f33469e43732971a9d1abac";
logging-data="3104286"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/k5iSp9FI6pblGpsgCiqPB"
Cancel-Lock: sha1:fy3zl6dm1EOsTsy1hZpWX8U2s/k=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Thu, 11 Jan 2024 10:02 UTC

On Thu, 11 Jan 2024 08:42:38 -0000 (UTC)
Simon <SimonJ@eu.invalid> wrote:

> On 2024-01-10, Davey <davey@example.invalid> wrote:
> > On Tue, 9 Jan 2024 19:08:43 +0000
> > Davey <davey@example.invalid> wrote:
> >
> >> On Tue, 9 Jan 2024 13:52:43 +0000
> >> Davey <davey@example.invalid> wrote:
> >>
> >> > On Tue, 9 Jan 2024 11:23:35 +0000
> >> > Davey <davey@example.invalid> wrote:
> >> >
> >> > > On Mon, 8 Jan 2024 20:06:53 -0000 (UTC)
> >> > > Simon <SimonJ@eu.invalid> wrote:
> >> > >
> >> > > > On 2024-01-08, Davey <davey@example.invalid> wrote:
> >> > > > > On Mon, 8 Jan 2024 17:47:52 -0000 (UTC)
> >> > > > > Simon <SimonJ@eu.invalid> wrote:
> >> > > > >
> >> > > > >> On 2024-01-08, Davey <davey@example.invalid>
> >> > > > >> wrote:
> >> > > > >> > On Mon, 8 Jan 2024 16:12:12 -0000 (UTC)
> >> > > > >> > Simon <SimonJ@eu.invalid> wrote:
> >> > > > >> >
> >> > > > >> >> On 2024-01-08, Davey <davey@example.invalid>
> >> > > > >> >> wrote:
> >> > > > >> >> > I have an old Dell PC, that I have used for many
> >> > > > >> >> > years to run a Zoneminder installation. The PC runs
> >> > > > >> >> > Ubuntu 8.04LTS, Zoneminder is v1.22.3.
> >> > > > >> >> > It has worked pretty flawlessly for years, but
> >> > > > >> >> > suddenly I have been getting the dreaded "Table
> >> > > > >> >> > './zm/Frames' is marked as crashed and should be
> >> > > > >> >> > repaired" error message when trying to access any
> >> > > > >> >> > records. I have gone round and round in the
> >> > > > >> >> > Zoneminder Forums, in which this is frequently
> >> > > > >> >> > discussed, but I cannot get the:
> >> > > > >> >> ><mysqlcheck --all-databases --auto-repair>
> >> > > > >> >> > instruction to work, which is generally considered
> >> > > > >> >> > to be the correct thing to do. If I try to navigate
> >> > > > >> >> > to:
> >> > > > >> >> ></var/lib/mysql/zm>, as instructed, I get 'Permission
> >> > > > >> >> >denied', and I
> >> > > > >> >> > cannot get beyond this. 'Sudo' doesn't work.
> >> > > > >> >> > I feel that I am close to getting this working again,
> >> > > > >> >> > but I can't cross this final hurdle.
> >> > > > >> >> > Any help welcome.
> >> > > > >> >> >
> >> > > > >> >> What is the error when using the sudo command?
> >> > > > >> >>
> >> > > > >> >
> >> > > > >> > sudo: cd: command not found
> >> > > > >> >
> >> > > > >>
> >> > > > >> So try sudo su
> >> > > > >>
> >> > > > >> and then run the command from there.
> >> > > > >
> >> > > > > Well, it let me get into root, and all the way
> >> > > > > to /var/lib/mysql/zm. So I entered the mysqlcheck command:
> >> > > > > root@david-desktop:/var/lib/mysql/zm# mysqlcheck
> >> > > > > --all-databases --auto-repair
> >> > > > > mysqlcheck: Got error: 1045: Access denied for user
> >> > > > > 'root'@'localhost' (using password: NO) when trying to
> >> > > > > connect.
> >> > > > >
> >> > > > > Grrr.
> >> > > >
> >> > > > You need to run as a user with mysql access, eg. mysql -u
> >> > > > root -p and give a new password.
> >> > > >
> >> > > >
> >> > >
> >> > > It let me get into mysql, thank you very much. And I have
> >> > > entered the database autorepair command, and it is sitting
> >> > > there doing something, although I don't know what. Hopefully,
> >> > > it will eventually decide that it has worked. All fingers
> >> > > crossed. The cursor flashes for a while, then goes still, then
> >> > > flashes again.
> >> >
> >> > After more than 2 hours, there was no change, so I terminated
> >> > it. It complained about a broken pipe, so maybe it was still
> >> > working. I'll try it again later, maybe with a verbose option,
> >> > to see if that does anything.
> >> >
> >>
> >> Well, that seems to be stuck, however ling I leave it. I tried the
> >> mysqlcheck instruction with --verbose on the end, but it said
> >> nothing. it seems to be doing something, but I don't know what,
> >> it's not telling me, it never ends, but it complains 'aborted' if
> >> I stop it. Most puzzling.
> >> I think I'll sleep on it, and try again tomorrow.
> >>
> >
> > How can I tell if it's actually doing anything? I started the same
> > process this morning, and again it seems to start the mysqlcheck
> > process without complaint. There is a '>' followed by a flashing
> > cursor, which sometimes stops flashing, and then starts again. If I
> > stop it with Cntrl-C, it tells me 'aborted'. But there is no other
> > sign of progress, it doesn't argue with the --verbose option, but
> > it doesn't report anything either. I am most puzzled. I'll let it
> > run for 24 hours, that really should be enough, even for a slow PC.
> >
> > Again, any help most welcome.
> >
>
> Usually the ">" denotes it is waiting for further input, I would
> verify the command entered is correct and complete.
>
> hth
>

That matches what I am seeing. I just wish it would tell me what it
needs.
--
Davey.

Re: Old Zoneminder problem

<unoeeh$2ungu$2@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1166&group=uk.comp.os.linux#1166

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Thu, 11 Jan 2024 10:04:01 +0000
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <unoeeh$2ungu$2@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
<unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me>
<slrnupvafu.15o78.SimonJ@silex.localdomain>
<Mkc*D5+zz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Jan 2024 10:04:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c10dc04f33469e43732971a9d1abac";
logging-data="3104286"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19G11QNlIVcZiAvcreHL+KA"
Cancel-Lock: sha1:UQI+eQ5gX99OE/gOQTOSWJ2LucA=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Thu, 11 Jan 2024 10:04 UTC

On 11 Jan 2024 09:48:38 +0000 (GMT)
Theo <theom+news@chiark.greenend.org.uk> wrote:

> Simon <SimonJ@eu.invalid> wrote:
> > Usually the ">" denotes it is waiting for further input, I would
> > verify the command entered is correct and complete.
>
> Davey, can you paste the exact command being entered and its output
> here? (you can blank out any passwords that may be visible)
>
> mysqladmin does use > as a prompt to enter commands. In this example
> somebody typed 'mysqlcheck' at the mysqladmin prompt not at their
> command line:
>
> https://dba.stackexchange.com/questions/267788/how-to-check-and-repair-mysql-database-using-mysqlcheck
>
> Simon may be right in that you're staring at a prompt and expecting
> it to do something, while it's expecting *you* to do something.
>
> Theo

Yes, indeed. Some useful information there, I'll make some more
attempts. Maybe I'm close........

--
Davey.

Re: Old Zoneminder problem

<l0a0t4Fl9fcU6@mid.individual.net>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1167&group=uk.comp.os.linux#1167

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!news.nntp4.net!weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem
Date: Thu, 11 Jan 2024 11:14:45 +0000
Lines: 11
Message-ID: <l0a0t4Fl9fcU6@mid.individual.net>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain> <unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain> <unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me> <unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me> <slrnupvafu.15o78.SimonJ@silex.localdomain>
<unoec1$2ungu$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net q44zqsuds0abXDSrOJ2HxA9C94Rh/ev3lOIXUsSUiT+s+02CLo
Cancel-Lock: sha1:ybCdYeJkOPxTzT/xMH6kGNAglDU= sha256:1JQ2JwJ1V6JYMoD5XDsWBJWcAm/EZvzXfxGbLK1Fxh0=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <unoec1$2ungu$1@dont-email.me>
 by: Andy Burns - Thu, 11 Jan 2024 11:14 UTC

Davey wrote:

> Simon wrote:
>
>> Usually the ">" denotes it is waiting for further input, I would
>> verify the command entered is correct and complete.
>
> That matches what I am seeing. I just wish it would tell me what it
> needs.

mismatched quotes?

Re: Old Zoneminder problem SOLVED!!!!!

<unok77$2vm4t$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1168&group=uk.comp.os.linux#1168

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem SOLVED!!!!!
Date: Thu, 11 Jan 2024 11:42:30 +0000
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <unok77$2vm4t$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
<unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me>
<slrnupvafu.15o78.SimonJ@silex.localdomain>
<Mkc*D5+zz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Jan 2024 11:42:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c10dc04f33469e43732971a9d1abac";
logging-data="3135645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mEQRaK4tP3jbr7Rg6tB91"
Cancel-Lock: sha1:PtWWitdsZQgxrgPObeS1Yda1X2A=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Thu, 11 Jan 2024 11:42 UTC

On 11 Jan 2024 09:48:38 +0000 (GMT)
Theo <theom+news@chiark.greenend.org.uk> wrote:

> Simon <SimonJ@eu.invalid> wrote:
> > Usually the ">" denotes it is waiting for further input, I would
> > verify the command entered is correct and complete.
>
> Davey, can you paste the exact command being entered and its output
> here? (you can blank out any passwords that may be visible)
>
> mysqladmin does use > as a prompt to enter commands. In this example
> somebody typed 'mysqlcheck' at the mysqladmin prompt not at their
> command line:
>
> https://dba.stackexchange.com/questions/267788/how-to-check-and-repair-mysql-database-using-mysqlcheck
>
> Simon may be right in that you're staring at a prompt and expecting
> it to do something, while it's expecting *you* to do something.
>
> Theo
IT WORKS!!

I followed the link, and it put me on the right path.
I did the same procedure as before, sudo su, cd to /var/lib/mysql/zm,
then entered the instruction:
mysqlcheck -c -u -root -p --all-databases --auto-repair
It then asked for the password, at last, and on entering it, it did the
check procedure!. Despite mysql being specifically for use while the
database is running, it complained that two tables had not been shut
down, but continued on anyway:
Extract:
zm.Stats
warning : Table is marked as crashed
warning : 5 clients are using or haven't closed the table properly
error : Found 158665 keys of 159586
error : Corrupt
zm.TriggersX10 OK

After it had finished, I Stopped Zoneminder running, and repeated the
process. And everything came back as OK. A final check, I brought up a
camera, initiated a Forced Alarm, and it finally worked.
Many, many thanks to those who have helped me.

--
Davey.

Re: Old Zoneminder problem SOLVED!!!!!

<l0f2pdFk23qU1@mid.individual.net>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1169&group=uk.comp.os.linux#1169

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!news.1d4.us!news.samoylyk.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: email@here.invalid (Adrian Caspersz)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem SOLVED!!!!!
Date: Sat, 13 Jan 2024 09:17:33 +0000
Lines: 20
Message-ID: <l0f2pdFk23qU1@mid.individual.net>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain> <unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain> <unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain> <unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me> <unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me> <slrnupvafu.15o78.SimonJ@silex.localdomain>
<Mkc*D5+zz@news.chiark.greenend.org.uk> <unok77$2vm4t$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net VHP/TrZ1S+BkXzIe/1TenwUvwWf03US7UFYDojgyT20108y70i
Cancel-Lock: sha1:tm9TQ6b3+hgcDVgQ5H8OPhrF3oE= sha256:ZYI0btXI0omCJhhga4PwfbLwMjf2reaLSBKXtVJjPvU=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <unok77$2vm4t$1@dont-email.me>
 by: Adrian Caspersz - Sat, 13 Jan 2024 09:17 UTC

On 11/01/2024 11:42, Davey wrote:
>
> After it had finished, I Stopped Zoneminder running, and repeated the
> process. And everything came back as OK. A final check, I brought up a
> camera, initiated a Forced Alarm, and it finally worked.
> Many, many thanks to those who have helped me.

Cool stuff :)

Time now to find how to backup that application, save database
passwords, migrate the whole thing to a newer platform, thrown out a
power inefficient PC.

Hope you've blocked internet access for Ubuntu 8.04LTS, that is a bit
old....

--
Adrian C

Re: Old Zoneminder problem SOLVED!!!!!

<untmsi$3t163$1@dont-email.me>

  copy mid

https://news.novabbs.org/aus+uk/article-flat.php?id=1170&group=uk.comp.os.linux#1170

  copy link   Newsgroups: uk.comp.os.linux
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davey@example.invalid (Davey)
Newsgroups: uk.comp.os.linux
Subject: Re: Old Zoneminder problem SOLVED!!!!!
Date: Sat, 13 Jan 2024 09:58:42 +0000
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <untmsi$3t163$1@dont-email.me>
References: <unh4fk$1itoe$1@dont-email.me>
<slrnupo7ms.17cnj.SimonJ@silex.localdomain>
<unh979$1itoe$2@dont-email.me>
<slrnupoda7.1834t.SimonJ@silex.localdomain>
<unhhf5$1l079$2@dont-email.me>
<slrnupolet.1cbj5.SimonJ@silex.localdomain>
<unjabn$1vmq8$1@dont-email.me>
<unjj3c$218p5$1@dont-email.me>
<unk5jr$22f7h$1@dont-email.me>
<unmd9l$2hn75$1@dont-email.me>
<slrnupvafu.15o78.SimonJ@silex.localdomain>
<Mkc*D5+zz@news.chiark.greenend.org.uk>
<unok77$2vm4t$1@dont-email.me>
<l0f2pdFk23qU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 13 Jan 2024 09:58:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3704df6f18d4031fcd99eed35a522351";
logging-data="4097219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QXr9ZL6ueoT7eHAPPWUOF"
Cancel-Lock: sha1:fCicXvIVCBVqPl4es2+ElQbSklM=
X-Newsreader: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
 by: Davey - Sat, 13 Jan 2024 09:58 UTC

On Sat, 13 Jan 2024 09:17:33 +0000
Adrian Caspersz <email@here.invalid> wrote:

> Hope you've blocked internet access for Ubuntu 8.04LTS, that is a bit
> old....

That PC hasn't talked to the internet for years.

--
Davey.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor