LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2019, 02:12 AM   #1
virtualmin2018
LQ Newbie
 
Registered: Jun 2019
Posts: 15

Rep: Reputation: Disabled
Virtualmin installation problem


I can't seem to install virtual min and keep getting this error

Code:
[12/23] Configuring Quotas The filesystem / could not be remounted with quotas enabled. You may need to reboot your system, and/or enable quotas in the Disk Quotas module. [ ⚠ ] [13/23] Configuring SASL [ ✔ ] [14/23] Configuring Shells [ ✔ ] [15/23] Configuring SpamAssassin [ ✔ ] [16/23] Configuring Status [ ✔ ] [17/23] Configuring Upgrade [ ✔ ] [18/23] Configuring Usermin [ ✔ ] [19/23] Configuring Webalizer [ ✔ ] [20/23] Configuring Webmin [ ✔ ] [21/23] Configuring Fail2banFirewalld [ ✔ ] [22/23] Configuring Postfix [ ✔ ] [23/23] Configuring Virtualmin [ ✔ ] ▣▣▣ Cleaning up

Device "link" does not exist. [WARNING] Unable to determine IP address of primary interface. Please enter the name of your primary network interface:
Any ideas how to solve this problem?

Im running a OPENVZ centos7 VPS and using gitbash as my command prompt.
 
Old 06-18-2019, 03:11 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by virtualmin2018 View Post
I can't seem to install virtual min and keep getting this error

Code:
[12/23] Configuring Quotas The filesystem / could not be remounted with quotas enabled. You may need to reboot your system, and/or enable quotas in the Disk Quotas module. [ ⚠ ] [13/23] Configuring SASL [ ✔ ] [14/23] Configuring Shells [ ✔ ] [15/23] Configuring SpamAssassin [ ✔ ] [16/23] Configuring Status [ ✔ ] [17/23] Configuring Upgrade [ ✔ ] [18/23] Configuring Usermin [ ✔ ] [19/23] Configuring Webalizer [ ✔ ] [20/23] Configuring Webmin [ ✔ ] [21/23] Configuring Fail2banFirewalld [ ✔ ] [22/23] Configuring Postfix [ ✔ ] [23/23] Configuring Virtualmin [ ✔ ] ▣▣▣ Cleaning up

Device "link" does not exist. [WARNING] Unable to determine IP address of primary interface. Please enter the name of your primary network interface:
Any ideas how to solve this problem?

Im running a OPENVZ centos7 VPS and using gitbash as my command prompt.
Did you "enter the name of your primary network interface:" at that prompt?
 
Old 06-18-2019, 05:19 AM   #3
virtualmin2018
LQ Newbie
 
Registered: Jun 2019
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
Did you "enter the name of your primary network interface:" at that prompt?
Exactly I don't know what to input here? I searched around but many users say it's a problem with updates and others ask to input other commands before running the installer which I tried and didn't work. The installation should be smooth without this query.
 
Old 06-18-2019, 07:16 PM   #4
virtualmin2018
LQ Newbie
 
Registered: Jun 2019
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
Did you "enter the name of your primary network interface:" at that prompt?
So I tried inputting venet0 and give this message

Quote:
Device "link" does not exist.
[WARNING] Unable to determine IP address of primary interface.
Please enter the name of your primary network interface:
venet0
./slib.sh: line 450: log_debugPrimary address detected as 127.0.0.1: command not found
[SUCCESS] Installation Complete!
[SUCCESS] If there were no errors above, Virtualmin should be ready
[SUCCESS] to configure at https://*** (or https:*****:10000).
[SUCCESS] You'll receive a security warning in your browser on your first visit.
[root@**** ~]# Connection to ***** closed by remote host.
Connection to **** closed.
but when I type the ip with :10000 port it just show ERR_CONNECTION_TIMED_OUT
 
Old 06-20-2019, 03:13 AM   #5
virtualmin2018
LQ Newbie
 
Registered: Jun 2019
Posts: 15

Original Poster
Rep: Reputation: Disabled
Ok this is how I fix it hope it helps

I first type ip ro ls and it will come out something like:

default via xx.x.x.x.x. dev eth0 onlink

for mine it was venet0 instead of eth0 so I used venet0 as the primary IP address of interface and typed it in.

Next, gitbash(the terminal I use) says installation successful however, I cannot get inside https://xx.xx.xx.xx:10000 because I get ERR_CONNECTION_TIMED_OUT and I start to panic again.

So this is because firewall is blocking the port and IP I think so what you do next is input the following:

firewall-cmd --zone=public --add-port=10000/tcp --permanent

then reload with

firewall-cmd --reload

And now you can access virtualmin control panel. All the best!
 
Old 06-20-2019, 09:24 AM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Thank you for posting the solution.

Yes, the *min software uses high port numbers that are usually blocked by firewalls.

You can mark the thread [SOLVED] using the thread tools at the top of the page.

And welcome to LQ.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Virtualmin / Apache / Suexec problem guzabi Linux - Server 1 04-26-2010 12:47 PM
[SOLVED] Fetchmail Problem with Virtualmin Domain users mail4vijay Linux - General 2 12-21-2009 11:45 AM
Virtualmin Prerequisite Installation k_oudom Linux - Server 6 10-13-2009 02:06 AM
Qmail+courier-IMAP+SquirrelMail+ virtualmin Half way there posixjunkie Linux - Wireless Networking 0 04-15-2004 07:07 AM
virtualmin - perl error? lok1 Linux - Software 1 11-25-2003 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration