Installationsfehler etc.

  • Thread starter Thread starter PimpBodyPlaya
  • Start date Start date
P

PimpBodyPlaya

Guest
Hallo,

ich wollte gerade VHCS auf meinem frisch installiertem VPS installieren.
Hier mal der Log von Putty:
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Sun Feb 25 16:53:56 2007 from gprs-pool-1-016.eplus-online.de
login:~#
login:~# apt-get install apache2 apache2-common apache2-mpm-prefork bind9 bzip2 courier-authdaemon courier-base courier-imap courier-maildrop courier-pop dialog diff gzip iptables libapache2-mod-php4 libberkeleydb-perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmcrypt4 libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsasl2-modules libsasl2 libsnmp-session-perl libterm-readkey-perl libterm-readpassword-perl libtimedate-perl make mysql-client-4.1 mysql-common-4.1 mysql-server-4.1 original-awk patch perl perl-base perl-modules php4 php4-mcrypt php4-mysql php4-pear php4-gd postfix postfix-tls procmail proftpd-mysql sasl2-bin tar wget
Reading Package Lists... Done
Building Dependency Tree... Done
apache2 is already the newest version.
apache2-common is already the newest version.
apache2-mpm-prefork is already the newest version.
W: Couldn't stat source package list . stable/main Packages (/var/lib/apt/lists/ftp.freenet.de_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list . stable/contrib Packages (/var/lib/apt/lists/ftp.freenet.de_debian_dists_stable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list . stable/non-free Packages (/var/lib/apt/lists/ftp.freenet.de_debian_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list Debian -- Security Information stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list Debian -- Security Information stable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list Debian -- Security Information stable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package bind9
login:~# ^M/usr/bin/mysqladmin -u root password 'DeinPasswort'
/usr/bin/mysqladmin: No such file or directory
login:~#
login:~# ^M/usr/bin/mysqladmin -u root password 'DeinPasswort'
/usr/bin/mysqladmin: No such file or directory
login:~#
login:~# /usr/bin/mysqladmin -u root passwort '816868'
-bash: /usr/bin/mysqladmin: No such file or directory
login:~# ^M
-bash: :s^M: substitution failed
login:~# /usr/bin/mysqladmin -u root password '816868'
-bash: /usr/bin/mysqladmin: No such file or directory
login:~# in:~# ^M
-bash: in:~#: command not found
login:~# in:~# ^M
-bash: in:~#: command not found
login:~# in:~# ^M
-bash: in:~#: command not found
login:~# /usr/bin/mysqladmin -u root passwort passwort '816868'
-bash: /usr/bin/mysqladmin: No such file or directory
login:~# cd /root
login:~# wget http://www.myvhcs.de/dl/vhcs2.4.8-rc1.tar.bz2
--17:10:05-- http://www.myvhcs.de/dl/vhcs2.4.8-rc1.tar.bz2
=> `vhcs2.4.8-rc1.tar.bz2.2'
Resolving my VHCS .de | my ISPCP.de - (my) Virtual Hosting Control System | (my) ISP Control Panel... 213.186.56.185
Connecting to my VHCS .de | my ISPCP.de - (my) Virtual Hosting Control System | (my) ISP Control Panel[213.186.56.185]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,218,558 [application/x-tar]

100%[====================================>] 4,218,558 1.30M/s ETA 00:00

17:10:09 (1.30 MB/s) - `vhcs2.4.8-rc1.tar.bz2.2' saved [4218558/4218558]

login:~# tar -xjf vhcs2.4.8-rc1.tar.bz2
login:~# cd vhcs.2.4.8-rc1
-bash: cd: vhcs.2.4.8-rc1: No such file or directory
login:~# cd vhcs2.4.8-rc1
login:~/vhcs2.4.8-rc1# make install
cd ./tools && make install
make[1]: Entering directory `/root/vhcs2.4.8-rc1/tools'
cd ./build && make install
make[2]: Entering directory `/root/vhcs2.4.8-rc1/tools/build'
/usr/bin/install -m 0700 -o root -g root ./vhcs2-mkdirs.pl /usr/sbin
make[2]: Leaving directory `/root/vhcs2.4.8-rc1/tools/build'
cd ./daemon && make vhcs2_daemon
make[2]: Entering directory `/root/vhcs2.4.8-rc1/tools/daemon'
gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -c -o vhcs_daemon.o vhcs_daemon.c
make[2]: gcc: Command not found
make[2]: *** [vhcs_daemon.o] Error 127
make[2]: Leaving directory `/root/vhcs2.4.8-rc1/tools/daemon'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/vhcs2.4.8-rc1/tools'
make: *** [install] Error 2
login:~/vhcs2.4.8-rc1# cd /tmp/vhcs-2.4.8
-bash: cd: /tmp/vhcs-2.4.8: No such file or directory
login:~/vhcs2.4.8-rc1# cd /tmp/vhcs-2.4.8
-bash: cd: /tmp/vhcs-2.4.8: No such file or directory
login:~/vhcs2.4.8-rc1#
Also was mach ich falsch?

Mfg,
Rene
 
Hallo,

ich für meinen Teil würde sagen das deine sources.list im Eimer ist.

Die Verzeichnisse die apt da öffnen möchte stehen in keiner normalen sources.list.

Poste die mal bitte.
 
Hallo,

Folgende Befehle mal ausführen :

Code:
cd /etc/apt

Code:
less sources.list
Die Ausgaben davon hier posten.
 
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Sun Feb 25 17:03:47 2007 from gprs-pool-1-027.eplus-online.de
login:~# cd /etc/apt
login:/etc/apt# less sources.list

Broadcast message from root (Sun Feb 25 17:31:44 2007):

The system is going down for system halt NOW!











# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb Index of /debian stable main contrib non-free
#deb Index of /debian-non-US stable/non-US main contrib non-free
deb debian/ stable main contrib non-free
deb Debian -- Security Information stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
#deb-src Index of /debian stable main contrib non-free
#deb-src Index of /debian-non-US stable/non-US main contrib non-f
ree
(END)
Meinst du das?
 
Hallo,

also wenn das der Inhalt der Datei sources.list ist dann ist klar warum das nicht geht.

Aber vorsichtshalber machen wir mal was anderes, führe mal folgenden Befehl aus :

Code:
cat /etc/apt/sources.list

Dann makierst du das mit deiner Maus alles und postest das hier.

Danke ;)
 
Hmmmm. Hast du eigendlich bemerkt, dass dein Server nun ausgeschaltet ist?
Ja...
Keine Ahnung wie das geht...

@V40:
Code:
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://ftp.freenet.de/debian stable main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

Ist der Inhalt...
 
Last edited by a moderator:
Hallo,

folgende Befehle mal Ausführen :

Code:
apt-get clean
apt-get update

Danach die Installation nochmal probieren, und ruhig bei der ersten Fehlermeldung anhalten und nicht stumpf weiter machen ;)
 
hmm es geht schonmal vorran...
schritte die ich noch nie gesehen habe...
aber es geht wenigstens schonmal der erste schritt...
 
soo jetzt kommts wieder:
cd ./tools && make install
make[1]: Entering directory `/root/vhcs2.4.8-rc1/tools'
cd ./build && make install
make[2]: Entering directory `/root/vhcs2.4.8-rc1/tools/build'
/usr/bin/install -m 0700 -o root -g root ./vhcs2-mkdirs.pl /usr/sbin
make[2]: Leaving directory `/root/vhcs2.4.8-rc1/tools/build'
cd ./daemon && make vhcs2_daemon
make[2]: Entering directory `/root/vhcs2.4.8-rc1/tools/daemon'
gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -c -o vhcs_daemon.o vhcs_daemon.c
make[2]: gcc: Command not found
make[2]: *** [vhcs_daemon.o] Error 127
make[2]: Leaving directory `/root/vhcs2.4.8-rc1/tools/daemon'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/vhcs2.4.8-rc1/tools'
make: *** [install] Error 2
login:~/vhcs2.4.8-rc1#
login:~/vhcs2.4.8-rc1#

Aber davor gab es keinen error
 
hmm und wie installier ich das?
Sorry aber das is mein eigener Server mit Root-Rechten...
Naja look at my age...
 
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Sun Feb 25 18:06:22 2007 from gprs-pool-1-027.eplus-online.de
login:~# /usr/bin/mysqladmin -u root password '816868'
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
login:~# apt-get install gcc
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
gcc-3.3
Suggested packages:
manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-3.3-doc
Recommended packages:
libc-dev libc6-dev
The following NEW packages will be installed:
gcc gcc-3.3
0 upgraded, 2 newly installed, 0 to remove and 72 not upgraded.
Need to get 1575kB of archives.
After unpacking 4264kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 . stable/main gcc-3.3 1:3.3.5-13 [1570kB]
Get:2 . stable/main gcc 4:3.3.5-3 [4906B]
Fetched 1575kB in 1s (928kB/s)
Selecting previously deselected package gcc-3.3.
(Reading database ... 26698 files and directories currently installed.)
Unpacking gcc-3.3 (from .../gcc-3.3_1%3a3.3.5-13_i386.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a3.3.5-3_i386.deb) ...
Setting up gcc-3.3 (3.3.5-13) ...
Setting up gcc (3.3.5-3) ...

login:~# cd vhcs2.4.8-rc1
login:~/vhcs2.4.8-rc1# make install
cd ./tools && make install
make[1]: Entering directory `/root/vhcs2.4.8-rc1/tools'
cd ./build && make install
make[2]: Entering directory `/root/vhcs2.4.8-rc1/tools/build'
/usr/bin/install -m 0700 -o root -g root ./vhcs2-mkdirs.pl /usr/sbin
make[2]: Leaving directory `/root/vhcs2.4.8-rc1/tools/build'
cd ./daemon && make vhcs2_daemon
make[2]: Entering directory `/root/vhcs2.4.8-rc1/tools/daemon'
gcc -O2 -ansi -Wall -Wstrict-prototypes -pedantic -c -o vhcs_daemon.o vhcs_daemon.c
In file included from vhcs_daemon.c:2:
defs.h:11:20: stdlib.h: No such file or directory
defs.h:17:20: syslog.h: No such file or directory
defs.h:23:22: sys/stat.h: No such file or directory
defs.h:24:23: sys/types.h: No such file or directory
defs.h:25:24: sys/socket.h: No such file or directory
defs.h:31:24: netinet/in.h: No such file or directory
defs.h:37:22: sys/time.h: No such file or directory
defs.h:43:20: signal.h: No such file or directory
defs.h:49:20: string.h: No such file or directory
defs.h:55:19: errno.h: No such file or directory
defs.h:61:20: unistd.h: No such file or directory
defs.h:67:19: stdio.h: No such file or directory
defs.h:73:23: arpa/inet.h: No such file or directory
vhcs_daemon.c: In function `main':
vhcs_daemon.c:12: error: storage size of `servaddr' isn't known
vhcs_daemon.c:15: error: storage size of `cliaddr' isn't known
vhcs_daemon.c:20: error: `pid_t' undeclared (first use in this function)
vhcs_daemon.c:20: error: (Each undeclared identifier is reported only once
vhcs_daemon.c:20: error: for each function it appears in.)
vhcs_daemon.c:20: error: syntax error before "childpid"
vhcs_daemon.c:22: error: `socklen_t' undeclared (first use in this function)
vhcs_daemon.c:27: error: `EOF' undeclared (first use in this function)
vhcs_daemon.c:37: error: `LOG_DAEMON' undeclared (first use in this function)
vhcs_daemon.c:39: warning: implicit declaration of function `socket'
vhcs_daemon.c:39: error: `AF_INET' undeclared (first use in this function)
vhcs_daemon.c:39: error: `SOCK_STREAM' undeclared (first use in this function)
vhcs_daemon.c:41: warning: implicit declaration of function `memset'
vhcs_daemon.c:41: error: `size_t' undeclared (first use in this function)
vhcs_daemon.c:41: error: syntax error before "sizeof"
vhcs_daemon.c:45: warning: implicit declaration of function `htonl'
vhcs_daemon.c:47: warning: implicit declaration of function `htons'
vhcs_daemon.c:49: warning: implicit declaration of function `bind'
vhcs_daemon.c:50: warning: implicit declaration of function `strerror'
vhcs_daemon.c:50: error: `errno' undeclared (first use in this function)
vhcs_daemon.c:50: warning: passing arg 2 of `say' makes pointer from integer without a cast
vhcs_daemon.c:51: warning: implicit declaration of function `exit'
vhcs_daemon.c:54: warning: implicit declaration of function `listen'
vhcs_daemon.c:55: warning: passing arg 2 of `say' makes pointer from integer without a cast
vhcs_daemon.c:61: warning: implicit declaration of function `calloc'
vhcs_daemon.c:61: error: invalid application of `sizeof' to an incomplete type
vhcs_daemon.c:62: error: invalid application of `sizeof' to an incomplete type
vhcs_daemon.c:64: error: invalid application of `sizeof' to an incomplete type
vhcs_daemon.c:66: error: invalid application of `sizeof' to an incomplete type
vhcs_daemon.c:68: error: dereferencing pointer to incomplete type
vhcs_daemon.c:69: error: dereferencing pointer to incomplete type
vhcs_daemon.c:71: error: dereferencing pointer to incomplete type
vhcs_daemon.c:72: error: dereferencing pointer to incomplete type
vhcs_daemon.c:74: warning: implicit declaration of function `signal'
vhcs_daemon.c:74: error: `SIGCHLD' undeclared (first use in this function)
vhcs_daemon.c:76: error: `SIGPIPE' undeclared (first use in this function)
vhcs_daemon.c:79: error: `FILE' undeclared (first use in this function)
vhcs_daemon.c:79: error: `file' undeclared (first use in this function)
vhcs_daemon.c:79: warning: implicit declaration of function `fopen'
vhcs_daemon.c:80: warning: implicit declaration of function `fprintf'
vhcs_daemon.c:80: warning: implicit declaration of function `getpid'
vhcs_daemon.c:81: warning: implicit declaration of function `fclose'
vhcs_daemon.c:88: error: `clilen' undeclared (first use in this function)
vhcs_daemon.c:88: error: syntax error before "sizeof"
vhcs_daemon.c:91: warning: implicit declaration of function `accept'
vhcs_daemon.c:99: error: `EINTR' undeclared (first use in this function)
vhcs_daemon.c:103: warning: passing arg 2 of `say' makes pointer from integer without a cast
vhcs_daemon.c:115: warning: implicit declaration of function `setsockopt'
vhcs_daemon.c:117: error: `SOL_SOCKET' undeclared (first use in this function)
vhcs_daemon.c:118: error: `SO_RCVTIMEO' undeclared (first use in this function)
vhcs_daemon.c:121: error: invalid application of `sizeof' to an incomplete type
vhcs_daemon.c:126: error: `SO_SNDTIMEO' undeclared (first use in this function)
vhcs_daemon.c:129: error: invalid application of `sizeof' to an incomplete type
vhcs_daemon.c:133: warning: implicit declaration of function `inet_ntop'
vhcs_daemon.c:135: error: `childpid' undeclared (first use in this function)
vhcs_daemon.c:135: warning: implicit declaration of function `fork'
vhcs_daemon.c:136: warning: initialization makes pointer from integer without a cast
vhcs_daemon.c:138: warning: implicit declaration of function `close'
vhcs_daemon.c:142: warning: implicit declaration of function `sprintf'
vhcs_daemon.c:148: warning: implicit declaration of function `free'
vhcs_daemon.c:156: warning: implicit declaration of function `closelog'
vhcs_daemon.c:12: warning: unused variable `servaddr'
vhcs_daemon.c:15: warning: unused variable `cliaddr'
make[2]: *** [vhcs_daemon.o] Error 1
make[2]: Leaving directory `/root/vhcs2.4.8-rc1/tools/daemon'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/vhcs2.4.8-rc1/tools'
make: *** [install] Error 2
Ist mir langsam echt peinlich...
 
Jo, is ja das mindeste das es dir peinlich ist. :)

Nutze mal folgende sources.list:

# Sarge - 3.1

# stable
deb Index of /debian stable main contrib non-free
deb Index of /debian-non-US stable/non-US main contrib non-free
deb Debian -- Security Information stable/updates main contrib non-free

# sources
deb-src Index of /debian stable main contrib non-free
deb-src Index of /debian-non-US stable/non-US main contrib non-free
deb-src Debian -- Security Information stable/updates main contrib non-free

# backports
deb Index of / stable all
deb-src Index of / stable all

# amavis
deb Index of /~sgran/debian sarge main
deb-src Index of /~sgran/debian sarge main

apt-get update

dann:

apt-get install apache2 apache2-common apache2-mpm-prefork bind9 bzip2 courier-authdaemon courier-base courier-imap courier-maildrop courier-pop dialog diff gzip iptables libapache2-mod-php4 libberkeleydb-perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmcrypt4 libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsasl2-modules libsasl2 libsnmp-session-perl libterm-readkey-perl libterm-readpassword-perl libtimedate-perl make mysql-client-4.1 mysql-common-4.1 mysql-server-4.1 original-awk patch perl perl-base perl-modules php4 php4-mcrypt php4-mysql php4-pear php4-gd postfix postfix-tls procmail proftpd-mysql sasl2-bin tar wget

/usr/bin/mysqladmin -u root password 'DeinPasswort'


cd /root


wget http://www.mytestweb.info/dl/vhcs2.4.8-rc1.tar.bz2

tar -xjf vhcs2.4.8-rc1.tar.bz2

cd vhcs2.4.8-rc1

make install

cd /tmp/vhcs-2.4.8

cp -R * /

cd /var/www/vhcs2/engine/setup/

./vhcs2-setup

und sich freuen !
 
Hallo,

ich wiederhole mich mal eben : Anhalten sobald der erste Fehler kommt!

In diesem Fall ist es der MySQL Fehler!

Edit :
Briese war schneller, aber trotzdem mal dran halten. Nicht einfach weiter machen trotz Fehlermeldung!
 
hmmm also mein kumpel riet mir das ich den v-server neu mit debian aufsetze...
schnell getan doch jetzt das:
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Mon Feb 26 16:14:21 2007 from gprs-pool-1-008.eplus-online.de
login:~# apt-get install apache2 apache2-common apache2-mpm-prefork bind9 bzip2 courier-authdaemon courier-base courier-imap courier-maildrop courier-pop dialog diff gzip iptables libapache2-mod-php4 libberkeleydb-perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmcrypt4 libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsasl2-modules libsasl2 libsnmp-session-perl libterm-readkey-perl libterm-readpassword-perl libtimedate-perl make mysql-client-4.1 mysql-common-4.1 mysql-server-4.1 original-awk patch perl perl-base perl-modules php4 php4-mcrypt php4-mysql php4-pear php4-gd postfix postfix-tls procmail proftpd-mysql sasl2-bin tar wget
Reading Package Lists... Done
Building Dependency Tree... Done
apache2 is already the newest version.
apache2-common is already the newest version.
apache2-mpm-prefork is already the newest version.
E: Couldn't find package bind9
login:~#
Was ist denn los?
Habe Debian jetzt schon 3 mal neu aufgesetzt auch über nacht...
 
Back
Top