[Freedombox-discuss] cannot access plinth config web server
Aaron Ferrucci
aaron.ferrucci at gmail.com
Sat Jan 7 06:52:32 UTC 2017
Thanks for your response, Sunil.
My method was to install debian (jessie) using the instructions here:
https://github.com/ssinyagin/pcengines-apu-debian-cd, upgrade it to
"testing" and then install freedombox-setup.
Your questions led me back to my notes, and I see that I did have errors
related to ldapd during freedombox-setup install, and then I may have
failed to run setup afterwards. In any case, when I run setup now, I get
some exceptions. I'm not sure if it's useful, but I'll paste the output of
/usr/lib/freedombox/setup below.
I think my next step is to revert to debian jessie, and start the process
over, taking better notes as I go, in the hopes of being able to ask a
better question. I'll do that unless there's a more direct approach.
thanks again,
-Aaron
*root at freedombox:/home/aaronf# /usr/lib/freedombox/setup >
freedombox-setup.log 2>&1root at freedombox:/home/aaronf# cat
freedombox-setup.log*running /usr/lib/freedombox/setup.d/01_etckeeper-pre
info: Not setting git user.email.
running /usr/lib/freedombox/setup.d/86_plinth
Configuring Apache for Plinth...
Module headers already enabled
Module proxy already enabled
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module rewrite already enabled
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
Conf javascript-common already enabled
Site plinth already enabled
Site plinth-ssl already enabled
Done configuring Apache for Plinth.
Running Plinth setup...
[2017-01-06 22:47:50,689] plinth.__main__ INFO Configuration loaded
from file - /etc/plinth/plinth.config
[2017-01-06 22:47:50,691] plinth.__main__ INFO Script prefix - /plinth
[2017-01-06 22:47:51,070] plinth.module_loader INFO Module load order -
['apps', 'xmpp', 'transmission', 'quassel', 'system', 'users', 'snapshot',
'repro', 'dynamicdns', 'first_boot', 'owncloud', 'firewall', 'upgrades',
'radicale', 'help', 'datetime', 'openvpn', 'names', 'tor', 'config',
'networks', 'disks', 'deluge', 'mumble', 'roundcube', 'shaarli',
'monkeysphere', 'diagnostics', 'minetest', 'avahi', 'power', 'ikiwiki',
'letsencrypt', 'pagekite', 'security', 'ttrss', 'privoxy']
[2017-01-06 22:47:51,185] plinth.actions INFO Executing command -
['sudo', '-n', '/usr/share/plinth/actions/firewall',
'get-enabled-services', '--zone', 'external']
[2017-01-06 22:47:53,521] plinth.modules.names INFO Added domain
unassigned of type domainname with services ['ssh']
[2017-01-06 22:47:53,556] plinth.actions INFO Executing command -
['sudo', '-n', '/usr/share/plinth/actions/pagekite', 'is-disabled']
Unit pagekite.service could not be found.
[2017-01-06 22:47:55,015] plinth.actions INFO Executing command -
['sudo', '-n', '/usr/share/plinth/actions/pagekite', 'get-kite']
[2017-01-06 22:47:56,480] plinth.setup INFO Running setup for
modules, essential - True, selected modules - None
[2017-01-06 22:47:56,488] plinth.setup INFO Running module setup -
users
[2017-01-06 22:47:58,008] plinth.setup INFO Running step for module -
users, step - post
[2017-01-06 22:47:58,009] plinth.actions INFO Executing command -
['sudo', '-n', '/usr/share/plinth/actions/users', 'setup']
[2017-01-06 22:48:04,339] plinth.actions ERROR Error executing command -
['sudo', '-n', '/usr/share/plinth/actions/users', 'setup'], , Use of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
invoke-rc.d: policy-rc.d denied execution of stop.
Moving old database directory to /var/backups:
Backup path /var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...
Use of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
Use of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
invoke-rc.d: policy-rc.d denied execution of restart.
Use of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk 1.
debconf: DbDriver "_ENV_stack": unable to save changes to:
libnss-ldapd/nsswitch
ldap_add: Server is unwilling to perform (53)
additional info: no global superior knowledge
Traceback (most recent call last):
File "/usr/share/plinth/actions/users", line 84, in
create_organizational_unit
stdout=subprocess.DEVNULL, check=True)
File "/usr/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ldapsearch', '-Q', '-Y',
'EXTERNAL', '-H', 'ldapi:///', '-s', 'base', '-b', 'ou=users,dc=thisbox',
'(objectclass=*)']' returned non-zero exit status 32
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/plinth/actions/users", line 159, in <module>
main()
File "/usr/share/plinth/actions/users", line 155, in main
subcommand_method(arguments)
File "/usr/share/plinth/actions/users", line 51, in subcommand_setup
configure_slapd()
File "/usr/share/plinth/actions/users", line 70, in configure_slapd
create_organizational_unit('users')
File "/usr/share/plinth/actions/users", line 94, in
create_organizational_unit
check=True)
File "/usr/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ldapadd', '-Q', '-Y', 'EXTERNAL',
'-H', 'ldapi:///']' returned non-zero exit status 53
[2017-01-06 22:48:04,340] plinth.setup ERROR Error running setup -
('users', '', 'Use of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ninvoke-rc.d: policy-rc.d denied execution of stop.\n Moving old
database directory to /var/backups:\n\n Backup path
/var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...\nUse of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\nUse of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ninvoke-rc.d: policy-rc.d denied execution of restart.\nUse of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ndebconf: DbDriver "_ENV_stack": unable to save changes to:
libnss-ldapd/nsswitch\nldap_add: Server is unwilling to perform
(53)\n\tadditional info: no global superior knowledge\nTraceback (most
recent call last):\n File "/usr/share/plinth/actions/users", line 84, in
create_organizational_unit\n stdout=subprocess.DEVNULL, check=True)\n
File "/usr/lib/python3.5/subprocess.py", line 398, in run\n
output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command
\'[\'ldapsearch\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\',
\'-s\', \'base\', \'-b\', \'ou=users,dc=thisbox\', \'(objectclass=*)\']\'
returned non-zero exit status 32\n\nDuring handling of the above exception,
another exception occurred:\n\nTraceback (most recent call last):\n File
"/usr/share/plinth/actions/users", line 159, in <module>\n main()\n
File "/usr/share/plinth/actions/users", line 155, in main\n
subcommand_method(arguments)\n File "/usr/share/plinth/actions/users",
line 51, in subcommand_setup\n configure_slapd()\n File
"/usr/share/plinth/actions/users", line 70, in configure_slapd\n
create_organizational_unit(\'users\')\n File
"/usr/share/plinth/actions/users", line 94, in
create_organizational_unit\n check=True)\n File
"/usr/lib/python3.5/subprocess.py", line 398, in run\n output=stdout,
stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapadd\',
\'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\']\' returned non-zero
exit status 53\n')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/plinth/setup.py", line 81, in run
self.module.setup(self, old_version=current_version)
File "/usr/lib/python3/dist-packages/plinth/modules/users/__init__.py",
line 58, in setup
helper.call('post', actions.superuser_run, 'users', ['setup'])
File "/usr/lib/python3/dist-packages/plinth/setup.py", line 120, in call
return method(*args, **kwargs)
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 118, in
superuser_run
return _run(action, options, input, async, True)
File "/usr/lib/python3/dist-packages/plinth/actions.py", line 180, in _run
raise ActionError(action, output, error)
plinth.errors.ActionError: ('users', '', 'Use of uninitialized value $item
in hash element at /usr/share/perl5/Debconf/DbDriver/File.pm line 85,
<__ANONIO__> chunk 1.\ninvoke-rc.d: policy-rc.d denied execution of
stop.\n Moving old database directory to /var/backups:\n\n Backup path
/var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...\nUse of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\nUse of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ninvoke-rc.d: policy-rc.d denied execution of restart.\nUse of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ndebconf: DbDriver "_ENV_stack": unable to save changes to:
libnss-ldapd/nsswitch\nldap_add: Server is unwilling to perform
(53)\n\tadditional info: no global superior knowledge\nTraceback (most
recent call last):\n File "/usr/share/plinth/actions/users", line 84, in
create_organizational_unit\n stdout=subprocess.DEVNULL, check=True)\n
File "/usr/lib/python3.5/subprocess.py", line 398, in run\n
output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command
\'[\'ldapsearch\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\',
\'-s\', \'base\', \'-b\', \'ou=users,dc=thisbox\', \'(objectclass=*)\']\'
returned non-zero exit status 32\n\nDuring handling of the above exception,
another exception occurred:\n\nTraceback (most recent call last):\n File
"/usr/share/plinth/actions/users", line 159, in <module>\n main()\n
File "/usr/share/plinth/actions/users", line 155, in main\n
subcommand_method(arguments)\n File "/usr/share/plinth/actions/users",
line 51, in subcommand_setup\n configure_slapd()\n File
"/usr/share/plinth/actions/users", line 70, in configure_slapd\n
create_organizational_unit(\'users\')\n File
"/usr/share/plinth/actions/users", line 94, in
create_organizational_unit\n check=True)\n File
"/usr/lib/python3.5/subprocess.py", line 398, in run\n output=stdout,
stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapadd\',
\'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\']\' returned non-zero
exit status 53\n')
[2017-01-06 22:48:04,346] plinth.__main__ ERROR Error running setup -
('users', '', 'Use of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ninvoke-rc.d: policy-rc.d denied execution of stop.\n Moving old
database directory to /var/backups:\n\n Backup path
/var/backups/unknown-2.4.44+dfsg-2.ldapdb exists. Giving up...\nUse of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\nUse of uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ninvoke-rc.d: policy-rc.d denied execution of restart.\nUse of
uninitialized value $item in hash element at
/usr/share/perl5/Debconf/DbDriver/File.pm line 85, <__ANONIO__> chunk
1.\ndebconf: DbDriver "_ENV_stack": unable to save changes to:
libnss-ldapd/nsswitch\nldap_add: Server is unwilling to perform
(53)\n\tadditional info: no global superior knowledge\nTraceback (most
recent call last):\n File "/usr/share/plinth/actions/users", line 84, in
create_organizational_unit\n stdout=subprocess.DEVNULL, check=True)\n
File "/usr/lib/python3.5/subprocess.py", line 398, in run\n
output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command
\'[\'ldapsearch\', \'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\',
\'-s\', \'base\', \'-b\', \'ou=users,dc=thisbox\', \'(objectclass=*)\']\'
returned non-zero exit status 32\n\nDuring handling of the above exception,
another exception occurred:\n\nTraceback (most recent call last):\n File
"/usr/share/plinth/actions/users", line 159, in <module>\n main()\n
File "/usr/share/plinth/actions/users", line 155, in main\n
subcommand_method(arguments)\n File "/usr/share/plinth/actions/users",
line 51, in subcommand_setup\n configure_slapd()\n File
"/usr/share/plinth/actions/users", line 70, in configure_slapd\n
create_organizational_unit(\'users\')\n File
"/usr/share/plinth/actions/users", line 94, in
create_organizational_unit\n check=True)\n File
"/usr/lib/python3.5/subprocess.py", line 398, in run\n output=stdout,
stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'ldapadd\',
\'-Q\', \'-Y\', \'EXTERNAL\', \'-H\', \'ldapi:///\']\' returned non-zero
exit status 53\n')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20170106/d27d17bc/attachment-0001.html>
More information about the Freedombox-discuss
mailing list