Services Issue : "services"dead but subsys locked [SOLVED]

Issues related to applications and software problems
taliez
Posts: 40
Joined: 2013/12/02 06:32:41

Services Issue : "services"dead but subsys locked [SOLVED]

Post by taliez » 2015/08/21 08:50:41

hi all,

i'm having issues on my samba services

please see details below

Code: Select all

[root@server ~]# smbstatus

Samba version 3.6.23-20.el6
PID     Username      Group         Machine                        
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------

No locked files

[root@server ~]# service smb restart
Shutting down SMB services:                                [FAILED]
Starting SMB services:                                     [  OK  ]
[root@server ~]# service smb status
smbd dead but subsys locked
[root@server ~]# service nmb status
nmbd dead but pid file exists
[root@server ~]# service nmb restart
Shutting down NMB services:                                [FAILED]
Starting NMB services:                                     [  OK  ]
[root@server ~]# service nmb status
nmbd dead but subsys locked
[root@server ~]# 
[root@server ~]# uname -r
2.6.32-431.el6.x86_64
[root@server ~]# more /etc/redhat-release 
CentOS release 6.6 (Final)
[root@server ~]# 

root@server ~]# service httpd status
httpd is stopped
[root@server ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[root@server ~]# 
googled this and haven't found any solution

thanks in advance
Last edited by taliez on 2015/08/22 15:52:34, edited 1 time in total.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Services Issue : "services"dead but subsys locked

Post by gerald_clark » 2015/08/21 13:03:17

Start with 'yum update' to get to the currently supported 6.7.

taliez
Posts: 40
Joined: 2013/12/02 06:32:41

Re: Services Issue : "services"dead but subsys locked

Post by taliez » 2015/08/22 02:01:52

gerald_clark wrote:Start with 'yum update' to get to the currently supported 6.7.
thanks for this BUT didn't... solve the issue

after the yum update .... the OS did not boot good thing had a snapshot to revert current setting

would re-installation help? how can i retain current config and data?

thanks in advance

Whoever
Posts: 1361
Joined: 2013/09/06 03:12:10

Re: Services Issue : "services"dead but subsys locked

Post by Whoever » 2015/08/22 02:21:32

Code: Select all

netstat -avpn | grep 443
should tell you what is listening on port 443.

taliez
Posts: 40
Joined: 2013/12/02 06:32:41

Re: Services Issue : "services"dead but subsys locked

Post by taliez » 2015/08/22 02:38:48

Whoever wrote:

Code: Select all

netstat -avpn | grep 443
should tell you what is listening on port 443.
netstat -avpn | grep 443
tcp 0 0 192.168.*.***:44369 192.168.*.***:22 ESTABLISHED 13866/ssh
tcp 0 0 192.168.*.***:40497 192.168.*.***:22 ESTABLISHED 16443/ssh
tcp 0 0 192.168.*.***:22 192.168.*.***:44369 ESTABLISHED 13868/sshd
tcp 0 0 :::443 :::* LISTEN 5007/httpd
netstat: no support for `AF INET (sctp)' on this system.
netstat: no support for `AF INET (sctp)' on this system.
unix 3 [ ] STREAM CONNECTED 11095443 3478/gvfsd-smb @/dbus-vfs-daemon/socket-CtLixa1A
unix 3 [ ] STREAM CONNECTED 356443 12517/master
netstat: no support for `AF IPX' on this system.
netstat: no support for `AF AX25' on this system.
netstat: no support for `AF X25' on this system.
netstat: no support for `AF NETROM' on this system

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Services Issue : "services"dead but subsys locked

Post by gerald_clark » 2015/08/22 03:05:20

That shows that httpd is already running.
What is the output of 'rpm -q httpd' ?

taliez
Posts: 40
Joined: 2013/12/02 06:32:41

Re: Services Issue : "services"dead but subsys locked

Post by taliez » 2015/08/22 03:12:58

gerald_clark wrote:That shows that httpd is already running.
What is the output of 'rpm -q httpd' ?
hi sir thanks for the reply,BUT the weird thing is ..check output
service httpd status
httpd is stopped
[root@server ~]# rpm -q httpd
httpd-2.2.15-45.el6.centos.x86_64
[root@server ~]#

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Services Issue : "services"dead but subsys locked

Post by gerald_clark » 2015/08/22 03:37:20

Do you have another web server installed?
Are you running a control panel that might have installed another version?

taliez
Posts: 40
Joined: 2013/12/02 06:32:41

Re: Services Issue : "services"dead but subsys locked

Post by taliez » 2015/08/22 03:41:51

gerald_clark wrote:Do you have another web server installed?
Are you running a control panel that might have installed another version?
will this matter?

Code: Select all

[root@server ~]# rpm -qa | grep webmin
webmin-1.720-1.noarch
[root@server ~]# 

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Services Issue : "services"dead but subsys locked

Post by gerald_clark » 2015/08/22 04:20:27

CentOS doesn't support webmin.
Webmin may be installing and starting software behind CentOS's back.
You need to go to them for support now that their software is configuring your server.

Post Reply