I set up Webmin/Virtualmin on Centos 6 64bit for a customer. after 5-6 month its stop working, I check the service status and its STOP.
Now I am trying to start by issuing command /etc/init.d/webmin start but nothing happened and when I try to "service webmin restart" than following error displays:
Stopping Webmin server in /usr/libexec/webmin cat: /var/webmin/miniserv.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Starting Webmin server in /usr/libexec/webmin /etc/webmin/start: /usr/libexec/webmin/miniserv.pl: /usr/bin/perl^M: bad interpreter: No such file or directory /etc/webmin/start: line 11: /usr/libexec/webmin/miniserv.pl: Success
Any help will highly appriciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
webmin noarch 1.900-1 virtualmin-universal 21 M
Transaction Summary
Reinstall 1 Package(s)
Total download size: 21 M
Installed size: 78 M
Is this ok [y/N]: y
Downloading Packages:
webmin-1.900-1.noarch.rpm | 21 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : webmin-1.900-1.noarch 1/1
Verifying : webmin-1.900-1.noarch 1/1
Installed:
webmin.noarch 0:1.900-1
Complete!
BUT AFTER THAT STILL SAME ERROR :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[20/Dec/2018:12:00:15 +0000][0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:18 +0000][0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:22 +0000][0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:25 +0000][0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:31 +0000] Reloading configuration [20/Dec/2018:12:00:34 +0000][0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:34 +0000][0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:15:19:21 +0000][125.64.94.197] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:16:06:35 +0000][77.72.83.87] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:18:14:29 +0000][77.72.83.20] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
I set up Webmin/Virtualmin on Centos 6 64bit for a customer. after 5-6 month its stop working, I check the service status and its STOP.
Now I am trying to start by issuing command /etc/init.d/webmin start but nothing happened and when I try to "service webmin restart" than following error displays:
Stopping Webmin server in /usr/libexec/webmin cat: /var/webmin/miniserv.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Starting Webmin server in /usr/libexec/webmin /etc/webmin/start: /usr/libexec/webmin/miniserv.pl: /usr/bin/perl^M: bad interpreter: No such file or directory /etc/webmin/start: line 11: /usr/libexec/webmin/miniserv.pl: Success
Any help will highly appriciated
How abot running either:
/etc/webmin/start
or
service webmin start
or
systemctl start webmin
If your install went broken for any reason, you can safely re-install Webmin by running:
yum reinstall webmin
After running either
/etc/webmin/start
or
service webmin start
Nothing displays :(
Simply reinstall Webmin by running the command above.
You could also downgrade to the wanted version.
yum downgrade webmin-1.890
.What is the output of the following command?
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
I try to reinstall by
[root@server ~]# yum reinstall webmin
Loaded plugins: fastestmirror
Setting up Reinstall Process
Determining fastest mirrors
epel/metalink | 9.0 kB 00:00
* base: mirrors.linode.com
* epel: sg.fedora.ipserverone.com
* extras: mirrors.linode.com
* remi: mirrors.thzhost.com
* remi-php56: mirrors.thzhost.com
* remi-safe: mirrors.thzhost.com
* updates: mirrors.linode.com
base | 3.7 kB 00:00
centos-sclo-rh | 2.9 kB 00:00
centos-sclo-sclo | 2.9 kB 00:00
centos-sclo-sclo/primary_db | 154 kB 00:00
epel | 4.7 kB 00:00
epel/primary_db | 6.0 MB 00:00
extras | 3.4 kB 00:00
remi | 3.0 kB 00:00
remi/primary_db | 2.3 MB 00:01
remi-php56 | 3.0 kB 00:00
remi-php56/primary_db | 244 kB 00:00
remi-safe | 3.0 kB 00:00
remi-safe/primary_db | 1.2 MB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.0 MB 00:00
virtualmin | 3.6 kB 00:00
virtualmin-universal | 3.6 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package webmin.noarch 0:1.900-1 will be reinstalled
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
webmin noarch 1.900-1 virtualmin-universal 21 M
Transaction Summary
Reinstall 1 Package(s)
Total download size: 21 M
Installed size: 78 M
Is this ok [y/N]: y
Downloading Packages:
webmin-1.900-1.noarch.rpm | 21 MB 00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : webmin-1.900-1.noarch 1/1
Verifying : webmin-1.900-1.noarch 1/1
Installed:
webmin.noarch 0:1.900-1
Complete!
BUT AFTER THAT STILL SAME ERROR :(
What are the errors or other relevant messages do you have in:
/var/webmin/miniserv.error
//var/webmin/miniserv.log
[root@server ~]# tail /var/webmin/miniserv.error
[20/Dec/2018:12:00:15 +0000] [0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:18 +0000] [0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:22 +0000] [0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:25 +0000] [0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:31 +0000] Reloading configuration
[20/Dec/2018:12:00:34 +0000] [0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:12:00:34 +0000] [0.0.0.0] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:15:19:21 +0000] [125.64.94.197] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:16:06:35 +0000] [77.72.83.87] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[20/Dec/2018:18:14:29 +0000] [77.72.83.20] Document follows : This web server is running in SSL mode. Try the URL https://server.domain.com:10000/ instead.
[root@server ~]# tail /var/webmin/miniserv.log
50.49.230.115.33 - root [20/Dec/2018:10:55:09 +0000] "GET /virtual-server/manual_records.cgi?dom=154520842315377&type=A HTTP/1.1" 200 7170
49.230.115.33 - root [20/Dec/2018:10:55:12 +0000] "GET /help.cgi/authentic-theme/editor HTTP/1.1" 200 4281
49.230.115.33 - root [20/Dec/2018:10:55:24 +0000] "POST /virtual-server/manual_records_save.cgi HTTP/1.1" 302 0
49.230.115.33 - root [20/Dec/2018:10:55:26 +0000] "GET /virtual-server/list_records.cgi?dom=154520842315377 HTTP/1.1" 200 64670
49.230.115.33 - root [20/Dec/2018:10:55:35 +0000] "POST /virtual-server/manual_records_save.cgi HTTP/1.1" 302 0
49.230.115.33 - root [20/Dec/2018:10:55:42 +0000] "GET /virtual-server/list_records.cgi?dom=154520842315377 HTTP/1.1" 200 64666
49.230.115.33 - root [20/Dec/2018:10:55:48 +0000] "POST /virtual-server/ HTTP/1.1" 200 8218
49.230.115.33 - root [20/Dec/2018:10:55:59 +0000] "POST /virtual-server/list_records.cgi?dom=154520842315377 HTTP/1.1" 200 23805
49.230.115.33 - root [20/Dec/2018:12:00:06 +0000] "GET /virtual-server/delete_domain.cgi?dom=154520842315377&xnavigation=1 HTTP/1.1" 200 47627
49.230.115.33 - root [20/Dec/2018:12:00:33 +0000] "GET /virtual-server/delete_domain.cgi?dom=154520842315377&confirm=Yes%2C%20Delete%20It HTTP/1.1" 200 49415
[root@server ~]#
All logs stop writing after 20th decemebr. today is 17th Jan 2019 :)