[Spce-user] acc-cleanup not working anymore
Alex Lutay
alutay at sipwise.com
Fri Jun 28 10:55:25 EDT 2019
Hi,
The issue has been confirmed.
I was able to reproduce it in mr6.5.4 and trunk/mr7.5,
It happens when root user has a password.
We are testing root user with password on upgrade autotests,
but new installations have default root auth via plugin 'unix_socket'.
The hotfix will follow.
On 6/28/19 1:33 PM, Henk wrote:
...
> I cannot find ngcp-cleanup-acc, I also searched in an recent ISO image
> from 6.5.3. But the code called from acc-cleanup.pl is in
> /usr/share/perl5/NGCP/Cleanup.pm and that contains this:
>
> sub init_cmds {
> %cmds = (
> connect => sub {
> my ($self, $db) = @_;
> my $host = $self->env('host');
> my $user = $self->env('user');
> my $pass = $self->env('pass');
>
> while acc-cleanup.conf cointains:
>
> username = dbcleaner
> password = xxxxxxxxxxxxxxxxxxxx
>
> This results in $user and $pass being empty, so that the script only
> works with a database with no root password set (the default in Sipwise)
--
Alex Lutay
More information about the Spce-user
mailing list