LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2005, 07:50 AM   #1
dmkang
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
Samba error: Permission denied


I upgraded from Linux 9 to Linux Enterprise Server 4.0 after my network connections had been damaged from a bad shutdown. After upgrading I installed and configured Samba. Everything was working fine until I installed Tapeware backup. Now whenever I try to start Samba, I get the following error.

Failed to start Samba servers : /etc/rc.d/init.d/smb start failed
Permission denied.

Any thoughts?
 
Old 04-01-2005, 08:12 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Are you running the command as root?
 
Old 04-01-2005, 08:16 AM   #3
dmkang
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the greeting. Yes, I'm running as root which is kind of strange.
 
Old 04-01-2005, 08:19 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Can you post the output from:
ls -l /etc/rc.d/init.d/smb
 
Old 04-01-2005, 08:23 AM   #5
dmkang
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Original Poster
Rep: Reputation: 0
-rw-r--r-- 1 root root 2020 Mar 31 18:48 /etc/rc.d/init.d/smb
 
Old 04-01-2005, 08:25 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to make it execuable:
chmod 744 /etc/rc.d/init.d/smb
 
Old 04-01-2005, 08:29 AM   #7
dmkang
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Original Poster
Rep: Reputation: 0
very cool david! your insight fixed my problem as innocuous as it might have appeared.

Cheers.
 
  


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
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
winbind samba user vs. group permission denied prob pauljtester Linux - Software 1 09-30-2004 09:32 AM
Printing fine via samba, but Windows still says permission denied. Do I care? jcb4003 Linux - Newbie 2 08-26-2004 06:14 PM
permission denied error endezeichen Linux - General 5 12-20-2003 06:59 PM
Permission denied with Samba and Win2k richa65 Linux - Software 8 08-29-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 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