View previous topic :: View next topic |
Author |
Message |
DieselPower Apprentice
Joined: 26 Oct 2005 Posts: 216 Location: TN
|
Posted: Wed Sep 20, 2006 2:24 am Post subject: ACCESS DENIED access_wr: / on almost everything! [Solved] |
|
|
I was going to update an old server that gets kinda neglected but ran into this on almost everything. Where should I start? I cant even emerge sandbox anymore! Should I downgrade portage untill I get the rest of system updated? I think this started with a portage upgrade but I'm not sure.
Code: |
>>> Emerging (1 of 1) sys-apps/sandbox-1.2.17 to /
* sandbox-1.2.17.tar.bz2 MD5 ;-) ... [ ok ]
* sandbox-1.2.17.tar.bz2 RMD160 ;-) ... [ ok ]
* sandbox-1.2.17.tar.bz2 SHA1 ;-) ... [ ok ]
* sandbox-1.2.17.tar.bz2 SHA256 ;-) ... [ ok ]
* sandbox-1.2.17.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking sandbox-1.2.17.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking sandbox-1.2.17.tar.bz2 to /var/tmp/portage/sandbox-1.2.17/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sandbox-1.2.17/work/sandbox-1.2.17 ...
* If configure fails with a 'cannot run C compiled programs' error, try this:
* FEATURES=-sandbox emerge sandbox
ACCESS DENIED access_wr: /
* Configuring sandbox for ABI=default...
* econf: updating sandbox-1.2.17/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating sandbox-1.2.17/config.sub with /usr/share/gnuconfig/config.sub
../sandbox-1.2.17//configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --build=i386-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
...
//cut//
...
creating libsandbox.la
(cd .libs && rm -f libsandbox.la && ln -s ../libsandbox.la libsandbox.la)
make[2]: Leaving directory `/var/tmp/portage/sandbox-1.2.17/work/build-default-i386-pc-linux-gnu/src'
make[2]: Entering directory `/var/tmp/portage/sandbox-1.2.17/work/build-default-i386-pc-linux-gnu'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/sandbox-1.2.17/work/build-default-i386-pc-linux-gnu'
make[1]: Leaving directory `/var/tmp/portage/sandbox-1.2.17/work/build-default-i386-pc-linux-gnu'
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-apps_-_sandbox-1.2.17-18295.log"
access_wr: /
--------------------------------------------------------------------------------
northstar ~ # cat LOG FILE = "/var/log/sandbox/sandbox-sys-apps_-_sandbox-1.2.17-18295.log
>
northstar ~ # cat /var/log/sandbox/sandbox-sys-apps_-_sandbox-1.2.17-18295.log
access_wr: /
|
_________________ I have it my way no matter what, and I build it every time, 'cause they don't sell them that way. A genius is always has what he wants, but a rich person does not. I'm a rich kid with no money! That's why I chose Gentoo...
Last edited by DieselPower on Wed Sep 20, 2006 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Wed Sep 20, 2006 3:11 am Post subject: |
|
|
It may be that the old version of sandbox you've already got installed isn't compatible with the new version of portage.
Maybe try uninstalling sandbox then installing this new version. |
|
Back to top |
|
|
DieselPower Apprentice
Joined: 26 Oct 2005 Posts: 216 Location: TN
|
Posted: Wed Sep 20, 2006 1:23 pm Post subject: |
|
|
I was to scared to unmerge sandbox, so I downgraded to portage-2.0.51.22-r3, emerged sandbox, and upgraded to portage-2.2.1 and it's all fixed! thanks! _________________ I have it my way no matter what, and I build it every time, 'cause they don't sell them that way. A genius is always has what he wants, but a rich person does not. I'm a rich kid with no money! That's why I chose Gentoo... |
|
Back to top |
|
|
dgorski n00b
Joined: 21 Sep 2006 Posts: 2
|
Posted: Thu Sep 21, 2006 1:28 am Post subject: |
|
|
# FEATURES=-sandbox emerge sandbox
seems to be a pretty easy way to get round the issue (worked for me).
- Darrin |
|
Back to top |
|
|
Kravlor n00b
Joined: 21 Sep 2006 Posts: 1 Location: Middleton, WI
|
Posted: Thu Sep 21, 2006 11:44 pm Post subject: |
|
|
This worked for me as well. Many thanks from a long-time Linux, but short-term Gentoo, user! |
|
Back to top |
|
|
makenoob Apprentice
Joined: 19 Aug 2004 Posts: 272 Location: /Germany/Düsseldorf
|
Posted: Fri Sep 22, 2006 9:44 am Post subject: |
|
|
dgorski wrote: | # FEATURES=-sandbox emerge sandbox
seems to be a pretty easy way to get round the issue (worked for me).
- Darrin |
worked for me, too. |
|
Back to top |
|
|
rafo Apprentice
Joined: 18 Nov 2003 Posts: 161 Location: Sollentuna, Sweden
|
Posted: Fri Sep 22, 2006 3:26 pm Post subject: |
|
|
The `FEATURES=-sandbox emerge sandbox' trick worked for me too. My intention is to upgrade a server that has been running with no updates for around 9 months and I was stuck when trying to emerge gcc (following the GCC Upgrade Guide of course). Right now gcc-4.1.1 is actually being emerged.
For me this would have been a showstopper if I hadn't found this forum thread. Would there be any point in filing a bug? I mean, can this particular problem be "corrected" so that it doesn't strike again in, say, another 9 months?
Or, is this just the kind of minor annoyances that one has to live with in a source-based and incrementally upgradable (and in general very satisfying) distribution? |
|
Back to top |
|
|
DieselPower Apprentice
Joined: 26 Oct 2005 Posts: 216 Location: TN
|
Posted: Sat Sep 23, 2006 12:38 am Post subject: |
|
|
rafo wrote: |
Or, is this just the kind of minor annoyances that one has to live with in a source-based and incrementally upgradable (and in general very satisfying) distribution? |
I think if we keep our boxes more up to date we would not have these problems _________________ I have it my way no matter what, and I build it every time, 'cause they don't sell them that way. A genius is always has what he wants, but a rich person does not. I'm a rich kid with no money! That's why I chose Gentoo... |
|
Back to top |
|
|
43r05p4c3 n00b
Joined: 29 May 2006 Posts: 17 Location: Ontario, Canada
|
Posted: Sat Sep 23, 2006 11:58 am Post subject: |
|
|
I'm not sure, but if the latest version of sandbox were listed as a dependency that was needed before other files, wouldn't that fix this problem?
Steve |
|
Back to top |
|
|
rex123 Apprentice
Joined: 21 Apr 2004 Posts: 272
|
Posted: Mon Oct 02, 2006 3:07 pm Post subject: |
|
|
I think this is definitely a bug. There's nothing in the Gentoo handbook that says "if you don't upgrade once a month, it's your own fault if emerge stops working". I take good care of a Gentoo machine, and only upgrade the things that need upgrading, when they need upgrading. I always upgrade portage whenever I sync, so now I've found myself with a non-working emerge command without any warning, and without any feeling of "oh, I should have known about that".
Thanks for the forum thread - but without it I would be extremely annoyed by this problem. |
|
Back to top |
|
|
winston_nolan n00b
Joined: 24 Aug 2004 Posts: 71 Location: cape town, south africa
|
Posted: Thu Oct 05, 2006 9:00 am Post subject: |
|
|
Code: |
# FEATURES=-sandbox emerge sandbox
|
This worked for me!
This is why i love gentoo forums! what a great source of knowlege! You can solve many problems by coming to this cool webspace!
Thank you for the advice, have a lovely day guys!
Winston _________________ Winston Nolan
www.3ampsy.com - PSYTRANCE! Listen to full tracks for Free, and buy various Psytrance related gear.
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Have a great day! |
|
Back to top |
|
|
alexlm78 Veteran
Joined: 08 Dec 2003 Posts: 1265 Location: Guatemala,Guatemala
|
Posted: Sun Oct 08, 2006 1:34 am Post subject: |
|
|
Thanks a lot, very usefull infomation.
For works in this way:
Code: | # emerge -C sandbox
# emerge sandbox
# emerge sandbox
# emerge portage |
it geme a little advisors but nothig important.
Thanks again. _________________ "This is a different kind of world, you need a different kind of software"
Linux User# 315201
100% Chapin hecho en Guatemala |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Tue Oct 10, 2006 8:37 pm Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads in favour of topic 496043. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
|