Debian installation | problem gleich am anfang

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Debian installation | problem gleich am anfang

Post by kevinator »

Hallo,

ich habe mich entschieden Debian auf meinem 1und1 Rootserver zu installieren.

Habe mich als Root eingelogt und debian-installer.sh runtergeladen.
Wenn ich ./debian-installer.sh eingebe kommt folgede Meldung:

-bash: ./debian-installer.sh: Permission denied.

Was habe ich falsch gemacht bzw muss ich jetzt machen?

Danke schonmal, kevin
svenk
Posts: 36
Joined: 2003-03-12 09:19
 

Re: Debian installation | problem gleich am anfang

Post by svenk »

Code: Select all

chmod 700 debian-installer.sh
Vergessen den chmod zu setzen :wink:
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Und wenn er dann sagt:


-bash: cmod: command not found
:?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Debian installation | problem gleich am anfang

Post by captaincrunch »

Es heit ja auch

chmod

;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

ops 8O
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Größe für das /-Filesystem (in MB) :

was empfiehlt sich da bei 40GB HDD?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Debian installation | problem gleich am anfang

Post by captaincrunch »

DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

da bin ich ja auch schon, nur was ist das filesystem? :p
svenk
Posts: 36
Joined: 2003-03-12 09:19
 

Re: Debian installation | problem gleich am anfang

Post by svenk »

Code: Select all

/
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

danke, dachte ich mir schon fast, wollte es aber nich einfach so versuchen.
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

nochmal eine Frage.. nachdem ich die partitionen eingeteilt habe begann er scheinbar die Installation, hat aber weiter nix nachgefragt.


tar: relocation error: /lib/i686/libpthread.so.0: undefined symbol: _dl_cpuclock
_offset
/bin/mv: `/stage3.sh' and `/mnt/debian/stage3.sh' are the same file
./debian-installer.sh: line 254: /usr/sbin/chroot: No such file or directory
p15138331:~ # dir
ls: relocation error: /lib/i686/libpthread.so.0: undefined symbol: _dl_cpuclock_offset
p15138331:~ # tar: relocation error: /lib/i686/libpthread.so.0: undefined symbol: _dl_cpuclock


dann ratterte die installation runter und er endete da..
was nun?

kevin
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Debian installation | problem gleich am anfang

Post by captaincrunch »

Noch mal ins Rescue-System booten und neuen Anlauf starten ...
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Hi nochmals.. komme irgentwie nicht weiter...
Wenn ich installiere bekomme ich das was da steht, mehr leider nicht, und so geht es laut dem howto net weiter und ich wüsste auch nicht was ich machen sollte :(

Deine Partitionierung sieht im Moment folgendermaßen aus :
/dev/hda3 -> / -> 1000 MB
/dev/hda2 -> swap -> 256 MB
/dev/hda1 -> /boot -> 20 MB
/dev/hda5 -> /usr -> 5000 MB
Ã?brig sind MB.

Größe für das /home-Filesystem in MB :
15000
expr: syntax error

Deine Partitionierung sieht im Moment folgendermaßen aus :
/dev/hda3 -> / -> 1000 MB
/dev/hda2 -> swap -> 256 MB
/dev/hda1 -> /boot -> 20 MB
/dev/hda5 -> /usr -> 5000 MB
/dev/hda6 -> /home -> 15000 MB
Ã?brig sind MB.

Größe für das /tmp-Filesystem in MB :
500
expr: syntax error

Deine Partitionierung sieht im Moment folgendermaßen aus :
/dev/hda3 -> / -> 1000 MB
/dev/hda2 -> swap -> 256 MB
/dev/hda1 -> /boot -> 20 MB
/dev/hda5 -> /usr -> 5000 MB
/dev/hda6 -> /home -> 15000 MB
/dev/hda7 -> /tmp -> 500 MB
Ã?brig sind MB.

Größe für das /var-Filesystem in MB (noch frei : MB) :
18000
expr: syntax error

Deine Partitionierung sieht im Moment folgendermaßen aus :
/dev/hda3 -> / -> 1000 MB
/dev/hda2 -> swap -> 256 MB
/dev/hda1 -> /boot -> 20 MB
/dev/hda5 -> /usr -> 5000 MB
/dev/hda6 -> /home -> 15000 MB
/dev/hda7 -> /tmp -> 500 MB
/dev/hda8 -> /var -> 18000 MB
Ã?brig sind MB.
./debian-installer.sh: [: 39776: unary operator expected

---------------------
Netzwerkkonfiguration
---------------------

IP-Adresse deines Servers :
217.160.xxx.xxx

Hostname deines Server (pxxxxx.pureserver.info) :
pxxx.pureserver.info

chmod u+x ./stage3.sh
--21:39:27-- http://linux.roothell.org/debian-rootie ... art.tar.gz
=> `debian-start.tar.gz.2'
Resolving linux.roothell.org... done.
Connecting to linux.roothell.org[217.160.134.220]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 960,356 [application/x-tar]

100%[====================================>] 960,356 9.96M/s ETA 00:00

21:39:27 (9.96 MB/s) - `debian-start.tar.gz.2' saved [960356/960356]

tar: relocation error: /lib/i686/libpthread.so.0: undefined symbol: _dl_cpuclock
_offset
Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Warning: Partition is being used.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Warning: Partition is being used.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Warning: Partition is being used.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Partition doesn't exist.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Partition doesn't exist.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Partition doesn't exist.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Partition doesn't exist.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Partition doesn't exist.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Unable to satisfy all constraints on the partition.
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Warning: You requested to create a partition at 276.000-1276.000Mb. The closest
Parted can manage is 1027.595-1278.610Mb.
Error: Error informing the kernel about modifications to partition /dev/hda4 - D
evice or resource busy. This means Linux won't know about any changes you made
to /dev/hda4 until you reboot - so you shouldn't mount it or use it in any way b
efore rebooting.
Error: Error adding partition 4: Device or resource busy
Information: Don't forget to update /etc/fstab, if necessary.

Warning: Unable to align partition properly. This probably means that another p
artitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry. It is safe to ignore,but ignoring may cause (fixable
) problems with some boot loaders.
Error: Can't create any more partitions.
Information: Don't forget to update /etc/fstab, if necessary.

mke2fs 1.27 (8-Mar-2002)
/dev/hda1 is mounted; will not make a filesystem here!
mke2fs 1.27 (8-Mar-2002)
/dev/hda3 is mounted; will not make a filesystem here!
mke2fs 1.27 (8-Mar-2002)
mke2fs: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.

mke2fs 1.27 (8-Mar-2002)
mke2fs: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.

mke2fs 1.27 (8-Mar-2002)
mke2fs: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.

mke2fs 1.27 (8-Mar-2002)
mke2fs: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.

Setting up swapspace version 1, size = 787180 KiB
/bin/mkdir: cannot create directory `/mnt/debian': File exists
mount: /dev/hda3 already mounted or /mnt/debian busy
mount: according to mtab, /dev/hda3 is already mounted on /mnt/debian
/bin/mkdir: cannot create directory `/mnt/debian/boot': File exists
mount: /dev/hda1 already mounted or /mnt/debian/boot busy
mount: according to mtab, /dev/hda1 is already mounted on /mnt/debian/boot
/bin/mkdir: cannot create directory `/mnt/debian/usr': File exists
mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
/bin/mkdir: cannot create directory `/mnt/debian/home': File exists
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
/bin/mkdir: cannot create directory `/mnt/debian/tmp': File exists
mount: wrong fs type, bad option, bad superblock on /dev/hda7,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
/bin/mkdir: cannot create directory `/mnt/debian/var': File exists
mount: wrong fs type, bad option, bad superblock on /dev/hda8,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
dpkg: warning, architecture `i486-suse-linux' not in remapping table
I: Retrieving http://ftp.debian.de/debian/dists/woody/Release
I: Validating /mnt/debian/var/lib/apt/lists/debootstrap.invalid_dists_woody_Rele
ase
E: Invalid Release file, no entry for main/binary-i486-suse-linux/Packages
/bin/mv: `/stage3.sh' and `/mnt/debian/stage3.sh' are the same file
./debian-installer.sh: /usr/sbin/chroot: No such file or directory
root@p15xxxxxx:~#
krispin
Posts: 216
Joined: 2003-04-14 16:30
 

Re: Debian installation | problem gleich am anfang

Post by krispin »

Fazit: scheisss script ;)

Kann es sein, dass du dann den Resue-Mod nicht neugestartet hast, da die ganzen Ordner etc und einträge schon existierten, wenn man dann nochmal neu im Rescue-Modus startet, sind alle Einträge weg, und dann kannste nochmal von vorne anfangen!

MfG
Krispin
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Beschäftige mich leider erst seit 2 Tagen mit Servern/Rootservern/Linux, wie komme ich denn in den Rescue-Modus?
krispin
Posts: 216
Joined: 2003-04-14 16:30
 

Re: Debian installation | problem gleich am anfang

Post by krispin »

Da ich aus geheimen Informationene erfahren habe, dass du ein Root-Server bei 1und1 hast, musste dich in das Webinterface einloggen,

https://config.puretec.de/

Dann wählste deinen Vertrag aus, in dem Falle den Root-Server XL und gehst dann auf "Server-Verwaltung" in der Navigations-Leiste.
Und dann da bei Recovery-Tool.

Dort musste dann auswählen, "Im Rescue-Modus beim nächsten Booten starten, und dann Reset anklicken, musst ein paar minuten warten, und dann wieder mit SSH einloggen, die das passwort zum Root-User kannste dann unter Server-Info bekommen.

Dann fängste mit dem Howto nochmal ganz von vorne an!


Ps: Findeste nicht, dass der XL-tarif für nen total-Anfängern icht schon nen bisschen übertrieben ist?
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Muss ich nur einmal im Rescue modus starten und im rescue installieren oder dann wieder in den normalen wechseln und dann installieren?
krispin
Posts: 216
Joined: 2003-04-14 16:30
 

Re: Debian installation | problem gleich am anfang

Post by krispin »

Du musst für die ganze Installation im rescue modus sein!

Da liegt dann wohl auch das problem, wenn du das setup-script unter deiner normalen Installatrion ausgeführt hast, sind die daten immer noch da.

Also die installation komplett im Rescue ausführen!

MfG
Krispin
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Hmm komisch, hab ich gemacht, dann bei nächsten login war nix mehr da, das neue login pw geht auch nicht, immer noch das alte.
krispin
Posts: 216
Joined: 2003-04-14 16:30
 

Re: Debian installation | problem gleich am anfang

Post by krispin »

ok, nochmal kurz howto:

zuerst im rescue starten, das setup-script ausführen...

wenn alles glad gelaufen ist, natürlich auch wieder im normalen Modus starten. Sonst nützt es dir nichts... Dazu dann wieder von Rescue-Mod auf Normal - Booten bei Recovery-Tool einstellen.
kevinator
Posts: 12
Joined: 2003-08-03 23:22
 

Re: Debian installation | problem gleich am anfang

Post by kevinator »

Hi,

habe die Installation nun fertig, ja wie wunderbar.

Aber im gegensatz zu meinem alten Suse habe ich folgendes Problem.

- wie gehe ich mit "vi" um, also wie speichere ich ein textfile
- wget gibt es auch nicht mehr, wie kann ich nun etwas runterladen?
d.m
Posts: 53
Joined: 2003-07-29 00:32
Location: Waltrop
 

Re: Debian installation | problem gleich am anfang

Post by d.m »

@vi
Speichern geht mit :wq
Kannst auch mal folgendes probieren:

Code: Select all

man vi
Ansonsten installiert dir einfach mal "joe". Das ist auch ein guter Editor. Vor allem etwas mehr "userfriendly"...

Code: Select all

apt-get install joe
@wget
Einfach nachinstallieren

Code: Select all

apt-get install wget
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Debian installation | problem gleich am anfang

Post by captaincrunch »

Fazit: scheisss script
... nur ist dieses "scheisss script" schon auf zig Rechnern (inkl. meinem eigenen) ohne jegliche Probleme durchgelaufen ... das Problem sitzt halt meistens eher vor der Tastatur ... ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
asn
Posts: 88
Joined: 2002-06-09 15:11
Contact:
 

Re: Debian installation | problem gleich am anfang

Post by asn »

CaptainCrunch wrote:
Fazit: scheisss script
... nur ist dieses "scheisss script" schon auf zig Rechnern (inkl. meinem eigenen) ohne jegliche Probleme durchgelaufen ... das Problem sitzt halt meistens eher vor der Tastatur ... ;)
101% Agree
belorofon
Posts: 31
Joined: 2002-08-05 23:16
Contact:
 

Re: Debian installation | problem gleich am anfang

Post by belorofon »

Hallo Leute,
recycle mal diesen Thread, da ich ein weiteres Problem beim installieren von Woody habe.
Meine Installation bircht mit der Meldung

Code: Select all

I: Installing core packages...
ln: `/mnt/debian/usr/bin/awk': File exists
/usr/sbin/chroot: cannot execute /stage2.sh: Permission denied
ab.
Ich habe die Platten gemountet, das Script nochmal gechemoddet und dann losgelegt.
Was kann das sein?
Post Reply