this command didnt give any output: grep errorlog /etc/webmin/miniserv.conf
WTF, why would Webmin be trying to listen on port 80?
And, if you donât have errorlog
entry in miniserv.conf
, I donât know what to make of that either.
Is anything in /etc/webmin/miniserv.conf
?
Well, thereâs your answer.
Why is it empty?
Do you have a backup from before it was deleted? That is the best option you have at this point.
If you donât have a backup, you may be able to delete the empty file and run dnf reinstall webmin
to replace it with a default config. That will be missing any customizations youâve made, and will also be missing Virtualmin (I saw virtual-server
mentioned in your screenshots earlier, so I guess you actually have Virtualmin and not just Webmin, which is good, since youâre managing websitesâŠplease mention that in future questions, so people know what youâre working with).
Once youâre able to start Webmin with a clean default config file, you can do:
virtualmin config-system --include Webmin
To configure Webmin for use with Virtualmin.
Probably. Youâre in very uncharted waters. You really shouldnât delete your configuration files, itâs a dramatic thing to do.
You skipped a couple steps. You need to get Webmin able to run again before you can do anything else.
On second thought, you shouldnât run the Virtualmin
step, as you may still have the Virtualmin config files. If you do, you shouldnât modify them with config-system
.
And, if you donât still have the Webmin module config files, youâre in much bigger trouble and you really need backups.
how can i check if i have backups?
Did you make backups? If not, you donât have backups.
i think i dont
is there any way to check if there any backups ?
If you had scheduled backups in Webmin, youâd be able to look at them in Webmin. But, well, you donât have Webmin because you (or someone else) deleted your Webmin configuration.
But, you donât accidentally have backups. Thatâs a thing you pro-actively do when you care about reliability and disaster recovery. If you donât know if you have backups, you donât have backups.
So, do what I suggested above.
i reinstalled the webmin with this command: dnf reinstall webmin
but after finsh when i run this command:
virtualmin config-system --include Webmin
i get this output
Youâre still skipping steps.
If you pipe to âlessâ you can read it all.
That would replace the whole system. Which, I guess if you havenât done anything worth keeping since the problem started, you could restore. It may also be possible to restore to a new system, just for copying the missing files off of.
i restore it and now webmin working fine but my website is still not working : https://screenshotly.com
As I said above, thatâs completely unrelated to Webmin. You need to open a new topic.
https://forum.virtualmin.com/guidelines
Please include the exact error message you see, the relevant log entries from the error log for the domain in question, and the status of the httpd
service in your new post.