[Spce-user] acc-cleanup not working anymore
Henk
henk at voipdigit.nl
Fri Jun 28 07:33:06 EDT 2019
Hi Alex,
Here the requested information:
root at spce:~# cat /etc/ngcp_version
mr6.5.4
root at spce:~# cat /etc/sipwise_ngcp_version
System installed. NGCP version mr5.5.4 on 2018-05-14 10:20:14
System installed. NGCP version mr5.5.5 - upgraded on 2018-08-25 16:38:46
System installed. NGCP version mr6.5.2 - upgraded on 2018-12-23 15:17:00
System installed. NGCP version mr6.5.3 - upgraded on 2019-02-02 12:41:07
System installed. NGCP version mr6.5.4 - upgraded on 2019-05-04 12:06:42
root at spce:~# which ngcp-cleanup-acc
root at spce:~# which acc-cleanup.pl
/usr/sbin/acc-cleanup.pl
root at spce:~# ls -la $(which acc-cleanup.pl)
-rwxr-xr-x 1 root root 307 Apr 2 00:35 /usr/sbin/acc-cleanup.pl
root at spce:~# ls -la /usr/sbin/acc-cleanup.pl
-rwxr-xr-x 1 root root 307 Apr 2 00:35 /usr/sbin/acc-cleanup.pl
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)
Regards,
Henk Plessius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190628/b43e761b/attachment-0001.html>
More information about the Spce-user
mailing list