HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: vsftpd dead but subsys locked
 
Operating System - Linux
        1840178
        Members
    
    
        3745
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-02-2007 10:34 PM
07-02-2007 10:34 PM
			
				
					
						
							vsftpd dead but subsys locked
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						I'm trying to ftp to my Linux server but i can't connect. I checked the status of vsftpd service and got this msg:
vsftpd dead but subsys locked
tried to stop and restart the service, but couldn't. Nothing seems to work here.
Anybody has any solution to this problem...???
		
		
	
	
	
vsftpd dead but subsys locked
tried to stop and restart the service, but couldn't. Nothing seems to work here.
Anybody has any solution to this problem...???
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-03-2007 12:13 AM
07-03-2007 12:13 AM
			
				
					
						
							Re: vsftpd dead but subsys locked
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						this is probably an selinux issue. You can temporarily disable it by typing
# setenforce 0
then try restarting vsftpd
# service vsftpd restart
If that works you should look in var/log/messages to see what the issue is. Just grep for avc in the file. If you can, post the output. I think that one of your files may have an incorrect context. You can also try this:
# service vsftpd stop
# rpm --verify vsftpd
This will show what is different about the files currently in place and the ones that originally were installed with the package. You might want to read the man for rpm and go to the section for --verify. It sill produce a string by each file that is different. This is from the man:
S file Size differs
M Mode differs (includes permissions and file type)
5 MD5 sum differs
D Device major/minor number mismatch
L readLink(2) path mismatch
U User ownership differs
G Group ownership differs
T mTime differs
This should hopefully help you with trying to diagnose the issue.
If selinux is the issue and you want to diable it permanently edit /etc/sysconfig/selinux and make SELINUX=disabled.
					
				
			
			
				
		
		
	
	
	
# setenforce 0
then try restarting vsftpd
# service vsftpd restart
If that works you should look in var/log/messages to see what the issue is. Just grep for avc in the file. If you can, post the output. I think that one of your files may have an incorrect context. You can also try this:
# service vsftpd stop
# rpm --verify vsftpd
This will show what is different about the files currently in place and the ones that originally were installed with the package. You might want to read the man for rpm and go to the section for --verify. It sill produce a string by each file that is different. This is from the man:
S file Size differs
M Mode differs (includes permissions and file type)
5 MD5 sum differs
D Device major/minor number mismatch
L readLink(2) path mismatch
U User ownership differs
G Group ownership differs
T mTime differs
This should hopefully help you with trying to diagnose the issue.
If selinux is the issue and you want to diable it permanently edit /etc/sysconfig/selinux and make SELINUX=disabled.
	"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
07-03-2007 03:13 AM
07-03-2007 03:13 AM
			
				
					
						
							Re: vsftpd dead but subsys locked
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						You should try to start the daemon not using the rc scripts, in this way you will be able to see the error that reports if nothing are logged to the log files.
					
				
			
			
				
		
		
	
	
	
	Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
			
			
				
			
			
			
			
			
			
		The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP