Installation on VPS (CentOS 7.3 image)

**NethServer Version: 7

I am trying to get this installed on my VPS, and it looks like everything gets installed correctly, but at the end of the log i get this:

Complete!
Fri Feb 10 21:08:11 UTC 2017 systemctl start nethserver-system-init.service
Failed to start nethserver-system-init.service: Operation refused, unit nethserver-system-init.service may be requested by dependency only.
See system logs and ‘systemctl status nethserver-system-init.service’ for details.
Fri Feb 10 21:08:11 UTC 2017 End
Fri Feb 10 21:18:51 UTC 2017 Already installed
Fri Feb 10 21:18:52 UTC 2017 End

Figured it out finally!

Had to enable the service manually, then reboot:

systemctl enable nethserver-system-init.service

2 Likes

This sounds like a bug.

I will dig into it and let you know.

1 Like

yes @giacomo please check it asap…

how i can reproduce it:

  1. install ns7 on a vps (vmware based with centos7.3 image and dhcp)
  2. install c7.3 in dhcp and then ns7 on proxmox
  3. install ns7 on c7.3 for rpi2

if i understand correctly the service is called from

nethserver-install: logexec “systemctl start nethserver-system-init.service”

but the unit file has:
RefuseManualStart=true
RefuseManualStop=true

tnx

3 Likes

Davide already opened a bug: https://github.com/NethServer/dev/issues/5218

We are working on it.

1 Like

Yes it is a bug! It seems trivial, please @ang3l12 @dz00te help me to test this fix!

  • Start from a clean centos minimal installation
  • install the testing package:
      yum localinstall http://packages.nethserver.org/nethserver/7.3.1611/testing/x86_64/Packages/nethserver-release-7-1.1.ge9e2319.ns7.noarch.rpm
  • run as usual nethserver-install

You should get the well known message (note the IP):

Configuring system, please wait...


You can access the Web interface at:

    https://localhost.localdomain:980 (or https://192.168.122.8:980)

    Login: root
    Password: 


Installation log can be found here: /var/log/nethserver-install.log

More info:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.