[Bug 1693122] Re: mongodb starts before network on VM and standalone
On 01.06.2017 [00:22:44 -], Luca Cervigni wrote: > I mean, it is a database service and 99% of the times can be, or it is used > from the network. > In the mongodb configuration mongodb.conf: > > ... > #Net > net.bindIp: 127.0.0.1,10.4.78.23 > net.port: 27017 > ... That is a change you made in your local configuration, correct? By default, mongodb listens on localhost only. > The db tries to start binding on the 10.4.78.23 ip, that is still not up > because there is no hierarchy set up when mongodb starts. The default > startup process in systemd is managed by the package and therefore this > change is probably to be done by your side. MongoDB is a database server > and therefore need to be accessible from the network. So you made a change to your local configuration without finishing the change in the systemd service, afaict. It is expected that you will do the systemd change you mentioned. Similar to if you change where the database is stored, and that is on some systemd-managed mountpoint, you might need to wait on that unit as well. All that being said, MySQL seems to have made this change to their service file, so there is precedence. I will place this on the server backlog. > In my case, the mongodb database is used on three standalone VMs to > support the monitoring of an Openstack installation. I think the right approach to this is probably to ask Debian if they would consider changing the systemd file in the source package. Would you be willing to file the bug there? ** Changed in: mongodb (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mongodb in Ubuntu. https://bugs.launchpad.net/bugs/1693122 Title: mongodb starts before network on VM and standalone To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1693122/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1693676] Re: package bacula-director 7.4.4+dfsg-5 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
hello and thank you for filing this bug report. I tried to install 'bacula' in a 17.04 container and encountered no errors. At the prompt for bacula-director-sqlite3, did you ask it to create the databases for you or not? If not, I think there can be issues and you need to ensure the configuration is correct before proceeding to install bacula-director itself. In my container, I see: Setting up bacula-director-sqlite3 (7.4.4+dfsg-5) ... dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-sqlite3.conf Creating config file /etc/dbconfig-common/bacula-director-sqlite3.conf with new version creating database bacula.db: success. verifying database bacula.db exists: success. populating database via sql... done. Which I don't see in your logs. Please provide the requested information and mark the bug as new. ** Changed in: bacula (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/1693676 Title: package bacula-director 7.4.4+dfsg-5 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1693676/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1694107] Re: package php7.1-common 7.1.5-1ubuntu1 failed to install/upgrade: Unterprozess neues pre-installation-Skript gab den Fehlerwert 2 zurück
Hello and thank you for reporting this issue! Vorbereitung zum Entpacken von .../138-php7.1-common_7.1.5-1ubuntu1_amd64.deb ... /var/lib/dpkg/tmp.ci/preinst: 52: /var/lib/dpkg/tmp.ci/preinst: Cannot fork dpkg: Fehler beim Bearbeiten des Archivs /tmp/apt-dpkg-install-AhUwYt/138-php7.1-common_7.1.5-1ubuntu1_amd64.deb (--unpack): Unterprozess neues pre-installation-Skript gab den Fehlerwert 2 zurück It would appear dpkg was unable to fork. Are you able to run: sudo apt update sudo apt -f install sudo apt full-upgrade >From a terminal without issue? ** Changed in: php7.1 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php7.1 in Ubuntu. https://bugs.launchpad.net/bugs/1694107 Title: package php7.1-common 7.1.5-1ubuntu1 failed to install/upgrade: Unterprozess neues pre-installation-Skript gab den Fehlerwert 2 zurück To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.1/+bug/1694107/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1693944] Re: package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
** Changed in: openssh (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1693944 Title: package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1693944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1694126] Re: package mysql-server-5.7 (not installed) failed to install/upgrade: il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 1
Hello and thank you for filing this bug report. It appears you installed a non-ubuntu version of MySQL at some point: Selezionato il pacchetto mysql-server-5.7 non precedentemente selezionato. Preparativi per estrarre .../mysql-server-5.7_5.7.18-0ubuntu0.17.04.1_i386.deb... Aborting downgrade from (at least) 10.1 to 5.7. If are sure you want to downgrade to 5.7, remove the file /var/lib/mysql/debian-*.flag and try installing again. [1mdpkg:[0m errore nell'elaborare l'archivio /var/cache/apt/archives/mysql-server-5.7_5.7.18-0ubuntu0.17.04.1_i386.deb (--unpack): il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 1 Please follow the instructions as specified in the above message. ** Changed in: mysql-5.7 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.7 in Ubuntu. Matching subscriptions: main https://bugs.launchpad.net/bugs/1694126 Title: package mysql-server-5.7 (not installed) failed to install/upgrade: il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1694126/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1693122] Re: mongodb starts before network on VM and standalone
Hello and thank you for reporting this bug. What exactly is the use case / why do you need networking for your database to start? The MongoDB service is for the mongodb server, as far as I can tell, which is for serving databases. By default that is done locally. If you need to server your MongoDB over the network (perhaps that is the use case here?) you do need to probably make systemd changes if the ordering needs to be different than the default. ** Changed in: mongodb (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mongodb in Ubuntu. https://bugs.launchpad.net/bugs/1693122 Title: mongodb starts before network on VM and standalone To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1693122/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1693054] Re: package at 3.1.18-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Hello and thank you for reporting this bug. Do you still get any errors if you run: sudo apt update sudo apt -f install sudo apt full-upgrade If you do, can you attach the output to this bug? 'atd' claims: Setting up at (3.1.18-2ubuntu1) ... Failed to connect to bus: Connection refused Failed to connect to bus: Connection refused Failed to connect to bus: Connection refused Failed to connect to bus: Connection refused Failed to connect to bus: Connection refused invoke-rc.d: initscript atd, action "start" failed. dpkg: error processing package at (--configure): subprocess installed post-installation script returned error exit status 1 but it's unclear which bus it's failing to connect to and why exactly. Please mark the bug as New once you provide the requested information. ** Changed in: at (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to at in Ubuntu. https://bugs.launchpad.net/bugs/1693054 Title: package at 3.1.18-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/at/+bug/1693054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs