DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st October 2008
IIMarckus IIMarckus is offline
Port Guard
 
Join Date: Aug 2008
Posts: 13
Thanked 0 Times in 0 Posts
Default mpd: "Operation not permitted"

OpenBSD 4.3 generic, i386

I downloaded mpd and all the necessary packages from openbsd.org, and just used pkg_add to add it. It went through with no problems, but I don't know how to start it.

Code:
$ mpd
cannot setgid for user "_mpd" at line 36: Operation not permitted
$ su
Password:
# mpd
ksh: mpd: not found
As usual I have no idea what's going on
Reply With Quote
  #2   (View Single Post)  
Old 1st October 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by IIMarckus View Post
...but I don't know how to start it.
  1. Find the name of the primary package installed:

    $ pkg_info | grep mpd
  2. Determine what files were installed by the package:

    $ pkg_info -L <complete-package-name>

    Most important, see if a manpage was installed (typically with a *.0 extension...).
  3. Study the manpage. A good chance exists that you can view it simply via:

    $ man mpd
Reply With Quote
  #3   (View Single Post)  
Old 1st October 2008
IIMarckus IIMarckus is offline
Port Guard
 
Join Date: Aug 2008
Posts: 13
Thanked 0 Times in 0 Posts
Default

I've already read the manpage. All it lists is a set of options (--help, etc), none of which would seem to help the situation.

---

Problem solved; apparently I didn't Google enough.

Last edited by IIMarckus; 1st October 2008 at 04:44 AM.
Reply With Quote
  #4   (View Single Post)  
Old 1st October 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

pkg_info -L gives path information for all files installed to the system.
Reply With Quote
  #5   (View Single Post)  
Old 29th October 2008
Zmyrgel Zmyrgel is offline
Port Guard
 
Join Date: May 2008
Posts: 26
Thanked 0 Times in 0 Posts
Default

The first error probably caused by your lack of priviledges to change processes userid as normal user. The root user doesn't find the program to run it.

Try to run the mpd as root user with full path like:
Code:
# /usr/local/sbin/mpd
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM
mount: /dev/ad1s1d : Operation not permitted tutosun FreeBSD General 8 9th October 2008 07:28 PM
Newbie-friendly "printing in OpenBSD" guide wanted Shagbag OpenBSD Packages and Ports 5 7th July 2008 09:26 PM
Mutex unlock failure: Operation not permitted ccc FreeBSD Ports and Packages 8 16th June 2008 10:46 PM


All times are GMT. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick