LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-18-2013, 05:58 AM   #1
tapi
Member
 
Registered: Jan 2013
Posts: 55

Rep: Reputation: Disabled
Exclamation Operation not permitted


Hie iam receiving this error, iam using RHEL 5.3

Starting BackupPC: runuser: cannot set groups: Operation not permitted

I can start the service as root user but i cannot start it as backuppc. i have changed the permission on the script from root to backuppc. But still i cannot start the service backuppc as backuppc user
 
Old 03-18-2013, 06:01 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by tapi View Post
Hie iam receiving this error, iam using RHEL 5.3

Starting BackupPC: runuser: cannot set groups: Operation not permitted

I can start the service as root user but i cannot start it as backuppc. i have changed the permission on the script from root to backuppc. But still i cannot start the service backuppc as backuppc user
Do not put same questions in multiple forums.
You have put this here already
http://www.linuxquestions.org/questi...ed-4175454506/
 
Old 03-18-2013, 06:04 AM   #3
tapi
Member
 
Registered: Jan 2013
Posts: 55

Original Poster
Rep: Reputation: Disabled
operation not permitted

user backuppc has groups apache and backuppc
 
Old 03-18-2013, 06:11 AM   #4
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Have you started the service using sudo?
If it is regular user, it should use sudo.
 
Old 03-18-2013, 06:13 AM   #5
tapi
Member
 
Registered: Jan 2013
Posts: 55

Original Poster
Rep: Reputation: Disabled
Iam using RHEL 5.3

---------- Post added 03-18-13 at 01:14 PM ----------

the service backuppc is not running
 
Old 03-18-2013, 06:25 AM   #6
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Does it give this error too?
BackupPC startup failed

How do you start the service?
 
Old 03-18-2013, 06:28 AM   #7
tapi
Member
 
Registered: Jan 2013
Posts: 55

Original Poster
Rep: Reputation: Disabled
[backuppc@machine_name ~]$ /etc/init.d/backuppc start
Starting BackupPC: runuser: cannot set groups: Operation not permitted
[FAILED]
 
Old 03-18-2013, 06:40 AM   #8
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
and what does it give if you enter
$ sudo /etc/init.d/backuppc start
or
$ sudo service backuppc start
 
Old 03-18-2013, 07:09 AM   #9
tapi
Member
 
Registered: Jan 2013
Posts: 55

Original Poster
Rep: Reputation: Disabled
Iam putting my root password by still giving the below error

[backuppc@wanderers ~]$ sudo /etc/init.d/backuppc start
Password:
Sorry, try again.
 
Old 03-18-2013, 07:19 AM   #10
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Do not put root password, see what is it saying.
Put your user password there.
 
Old 03-18-2013, 07:21 AM   #11
tapi
Member
 
Registered: Jan 2013
Posts: 55

Original Poster
Rep: Reputation: Disabled
[backuppc@wanderers ~]$ sudo /etc/init.d/backuppc start
Password:
backuppc is not in the sudoers file. This incident will be reported.
 
Old 03-18-2013, 07:24 AM   #12
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
Open the file /etc/sudoers
Add following line in it
Code:
backuppc	ALL=(ALL) ALL
 
Old 03-18-2013, 07:30 AM   #13
tapi
Member
 
Registered: Jan 2013
Posts: 55

Original Poster
Rep: Reputation: Disabled
thank you very much it's working
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Operation not permitted tapi Linux - Newbie 2 03-18-2013 08:03 AM
Operation not permitted prasunhowlader Linux - Newbie 3 08-20-2008 09:29 PM
Operation not permitted jakkals Linux - General 3 09-26-2005 07:30 PM
su - operation not permitted jrtayloriv Linux - Newbie 2 06-09-2005 09:27 PM
Operation not permitted FrozenShadow23 Linux - Newbie 6 10-05-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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