Gibts wget? Bzw, installier mal das wget oder guck ob wget ausführbar ist
Hallo allerseits,
jetzt brauch ich mal Hilfe
Ich habe hier bei verschiedensten Vorgängen "Permission denied" Fehler und keine Ahnung was ich noch machen soll.
Hier einige Beispiele:- zunächst ein 'chmod -R 777 /opt' ausgeführt. Ohne Erfolg.Code:[admin@blechbuechse root]$ ipkg update Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz sh: wget: Permission denied An error ocurred, return value: 1. Collected errors: ipkg_download: ERROR: Command failed with return value 127: `wget -P /opt/ipkg-kHaG87 http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz' [admin@blechbuechse root]$ /opt/etc/init.d/S80lighttpd restart /opt/etc/init.d/S80lighttpd: /opt/etc/init.d/S80lighttpd: 9: test: Permission denied [admin@blechbuechse root]$ /opt/etc/init.d/S10cron stop && /opt/etc/init.d/S10cron start /opt/etc/init.d/S10cron: /opt/etc/init.d/S10cron: 16: [: Permission denied [admin@blechbuechse work]$ transmission_watchdog /opt/sbin/transmission_watchdog: /opt/etc/transmission.conf: 25: UPLOAD_SPEED=41: not found /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 41: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 46: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 51: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 58: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 64: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 66: touch: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 275: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 288: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 304: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 306: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 327: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 327: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 331: head: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 336: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 338: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 342: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 376: [: Permission denied /opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 1: rm: Permission denied
- auf allen Partitionen ist noch reichlich Platz.
- SHELL='/bin/sh' ist gesetzt (Es ist auch bash installiert)
- ich bin user admin und in der passwd gibt es nur admin und nobody...
Ich habe echt keine Idee mehr....
Installiert ist oleg FW laut meinem HowTo undJemand einen Einfall?Code:[admin@blechbuechse root]$ ipkg list_installed bash - 3.2.33-1 - A bourne style shell busybox - 1.10.3-1 - A userland replacement for embedded systems. busybox-base - 1.10.3-1 - A userland replacement for embedded systems. busybox-links - 1.10.3-1 - A userland replacement for embedded systems. bzip2 - 1.0.5-1 - Very high-quality data compression program c-ares - 1.5.2-2 - C library that performs DNS requests and name resolves asynchronously coreutils - 6.12-2 - Bunch of heavyweight *nix core utilities cron - 4.1-7 - Standard vixie cron, with cron.d addition cyrus-sasl-libs - 2.1.22-2 - Provides client or server side authentication (see RFC 2222). diffutils - 2.8.1-6 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files e2fslibs - 1.41.0-1 - Ext2 Filesystem Libraries e2fsprogs - 1.41.0-1 - Ext2 Filesystem Utilities e2tools - 0.0.16-3 - Ext2 tools expat - 2.0.1-1 - XML Parser library findutils - 4.2.32-1 - File finding utilities fontconfig - 2.5.0-0 - Font configuration library freetype - 2.3.6-1 - Free truetype library gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware. These are used by glibc iconv() implementation. gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. gnuplot - 4.2.3-1 - Command-line driven interactive data and function plotting utility groff - 1.19.2-2 - front-end for the groff document formatting system hdparm - 8.9-1 - Linux hard drive parameter utility ipkg-opt - 0.99.163-10 - The Itsy Package Manager less - 418-1 - Less file browser libcurl - 7.18.2-3 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI libdb - 4.2.52-3 - Berkeley DB Libraries libevent - 1.3d-1 - libevent to implement an event loop libgd - 2.0.35-2 - An ANSI C library for the dynamic creation of images libjpeg - 6b-2 - collection of jpeg tools libmemcache - 1.4.0.rc2-3 - The C API for memcached. libpng - 1.2.30-1 - Portable Network Graphics Libraries libuclibc++ - 0.2.2-8 - C++ standard library designed for use in embedded systems libxml2 - 2.6.32-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project. lighttpd - 1.4.19-5 - A fast webserver with minimal memory footprint. logrotate - 3.7.5-2 - Rotates, compresses, removes and mails system log files. lua - 5.1.3-2 - Lua is a powerful light-weight programming language designed for extending applications. lynx - 2.8.6-1 - A text browser for the World Wide Web man - 1.6f-1 - unix manual page reader man-pages - 2.76-1 - unix manual pages memcached - 1.2.5-1 - memcached is a high-performance, distributed memory object caching system. mini-sendmail - 1.3.6-1 - small sendmail-compatible mail forwarder nano - 2.1.4-1 - A pico like editor ncurses - 5.6-3 - NCurses libraries ncursesw - 5.6-2 - NCurses libraries with wide char support. nload - 0.7.2-1 - Nload is a console application which monitors network traffic and bandwidth usage in real time nmap - 4.68-1 - Nmap is a feature-rich portscanner openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol openssl - 0.9.7m-4 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari pcre - 7.7-1 - Perl-compatible regular expression library perl - 5.8.8-19 - Practical Extraction and Report Language. popt - 1.14-1 - A C library for parsing command line parameters. procps - 3.2.7-6 - PROCPS System Utilities readline - 5.2-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal termcap - 1.3.1-2 - Terminal emulation library transmission - 1.33-2 - Lightweight BitTorrent client and daemon, with Clutch web interface bundled. transmissiond - 1.33-1 - lightweight BitTorrent daemon with CGI WWW interface uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems unzip - 5.52-3 - A (de)compression library for the ZIP format xinetd - 2.3.14-8 - Highly configurable, modular and secure inetd zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system. Successfully terminated.
danke
wengi
Last edited by wengi; 05-09-2008 at 10:03.
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Gibts wget? Bzw, installier mal das wget oder guck ob wget ausführbar ist
Hi,
ich nutze den busybox-wget.
Wenn ich wget manuell ausführe lädt er alles sauber runter. Kein Problem.
Daher glaube ich, dass es sich um ein lokales Problem handelt.
Auch würde das die anderen Probleme nicht erklären...
wengi
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
/bin/sh ausführbar?
Wird ja so ziemlich in jedem Script genutzt!
Bzw, was steht den in der Zeile bei den Scripten über der er sich aufregt?
Alles /bin/sh.
/bin/sh ist auch meine login shell als admin.
wengiCode:[admin@blechbuechse root]$ cat /etc/passwd admin:xxxxxxxxxxxxxxxxxxx:0:0:root:/usr/local/root:/bin/sh nobody:x:99:99:nobody:/:/sbin/nologin [admin@blechbuechse root]$ ls -la /bin/sh lrwxrwxrwx 1 admin root 7 Mar 14 20:51 /bin/sh -> busybox [admin@blechbuechse root]$ ls -la /bin/busybox -rwxr-xr-x 1 admin root 1291000 Mar 14 20:50 /bin/busybox [admin@blechbuechse root]$
Last edited by wengi; 05-09-2008 at 13:32.
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Bei mir sieht das so aus
Auch so bei dir?[root@asus new_wvstreams]$ ls /bin/sh
lrwxrwxrwx 1 root root 7 Apr 6 2007 /bin/sh -> busybox
Du bist zu schnell
Ich habs oben geändert, während Du schon gepostet hast.
wengi
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Das ist aber sehr komisch!
passwd und busybox sehen gleich aus bei mir.
Kannst du den irgendein Script im /tmp Verzeichnis starten (kleines Testscript mit nem echo)?
Das geht:
Code:[admin@blechbuechse /tmp]$ ls -la test -rwxr-xr-x 1 admin root 37 Sep 5 14:53 test [admin@blechbuechse /tmp]$ cat test #!/bin/sh # echo "dies ist ein test" [admin@blechbuechse /tmp]$ ./test dies ist ein test [admin@blechbuechse /tmp]$
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Hallo Wengi!
Hatte bereits 2x das Problem:
in beiden Fällen hat ein fsck bzw. Plattentausch geholfen, hatte zum Glück ein volles Backup...
siehe: http://suse-linux-faq.koehntopp.de/q...rm_denied.html
LG
Newbiefan
Alle HowTo's, all howto's
RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n
werd ich testen.
muss jetzt weg.
jungesellenabschied.
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Viel Glück!!
Ähmm... habe ganz vergessen, den Vorgang kurz zu beschreiben, sorry - brauchst nicht suchen.
(Hoffentlich habe ich keine Erinnerungslücken...LOL)
also zuerst alles stoppen (/opt/etc/init.d/rc.unslung stop)
dann umount die opt partition und eventuel datenpartition, sowie swap ausschalten (geht soweit ich mich erinnere auch einzeln)
und dann nur fsck /dev/discss/disc0/part1 usw. oder eben deine Platte/Stick
Hat mir einmal gezeigt, dass Platte nicht reparierbar (Filesystem) und das 2.x war mein Filesystem defekt.
Ich hatte wohl einen Plattencrash, denn einige Blöcke waren nicht reparierbar (fdisk usw...), deshalb musste ich einmal tauschen.
Jedenfalls hat alles danach funktioniert.
Übrigens kam bei mir der Fehler immer häufiger, am Anfang allerdings nur ganz selten, seither fahre ich so alle Monate ein fsck, hat aber seither keinen Fehler mehr gemeldet.
Hoffentlich ist nicht die Platte hinüber......
Last edited by newbiefan; 05-09-2008 at 18:11.
Alle HowTo's, all howto's
RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n
Hi wengi,
das Problem hatte ich auch mal. Kann sein das Du Bash installiert hast? (Gerade gesehen ist der Fall)
Schau mal in Deine /etc/profile und kommentier das Zeug am Anfang von Bash aus. Neu einloggen mit Putty und es sollte wieder gehen.
Gruß FastJack
wl500gp mit 1.9.2.7-10 und 120G Platte
--
[How-To] Crosscompilieren eigener IPK Packete
[How-To] Torrentflux-b4rt - Lighttpd
[How-To] pyload installieren
Problem gefunden: Platte defekt.
Sie lässt sich inzwischen überhaupt nicht mehr mounten.
Mal sehen, was ich mache.
wengi
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Hmmm.
Platte ist wieder da.
fsck ist erfolgreich gelaufen. Jetzt erhalte ichAber immer noch die "permission denied" Fehler.Code:[admin@blechbuechse root]$ fsck fsck 1.41.0 (10-Jul-2008) e2fsck 1.38 (30-Jun-2005) /dev/discs/disc0/part2: recovering journal /dev/discs/disc0/part2: clean, 9822/125184 files, 38560/250110 blocks e2fsck 1.38 (30-Jun-2005) /dev/discs/disc0/part3: recovering journal /dev/discs/disc0/part3: clean, 386/9584640 files, 9009084/19162458 blocks [admin@blechbuechse root]$
danach meine profile überprüft:Danach /opt/etc/profile umbenannt und reboot: Und siehe da, es funktioniert.Code:[admin@blechbuechse root]$ cat /etc/profile # /etc/profile export PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export PS1="[\u@\h \W]\$ " [ -x /usr/local/etc/profile ] && . /usr/local/etc/profile [ -x /opt/etc/profile ] && . /opt/etc/profile ------------------------------------------------------------- [admin@blechbuechse root]$ cat /opt/etc/profile # # Bash initialization script # PS1="[\u@\h \W]$ " PATH=/opt/sbin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH} export PS1 PATH LD_LIBRARY_PATH # Some alias for making life easier # To start lynx with transmission: 'tlynx' alias tlynx="lynx -cache=0 localhost:8008/cgi-bin/transmission.cgi" # To start nload with DSL 6000 settings: 'nld' alias nld="nload -t 200 -s 7 -i 6656 -o 640 -u H eth1" # Make ls default -la with color coding alias ls="ls --color=auto -la" # Make pss a grep ps function alias pss="ps axf | grep" # df human readable (Only works with coreutils installed!) # alias df="df -h" [admin@blechbuechse root]$
Analyse:
- Die von bash eingerichtete profiles ist falsch.
- Warum meine Platte am Wochenende nicht gemountet wurde bleibt im dunkeln.
Einfach das fett Hervorgehobene in /opt/etc/profile gelöscht und gut ist. Mein dank gilt FastJack.
wengi
Last edited by wengi; 08-09-2008 at 08:22.
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)