Jump to content
Froxlor Forum
  • 0

[solved] Fehler bei Konfiguration


toni

Question

Hallo

 

Ich habe eine VServer mit Debian und darauf nun Froxlor

 

# a2dismod userdir

"userdir" not present

 

Mu? ich bei userdir was anderes eingeben oder ist bei der eigentlichen Installation was schief gegangen?

 

Gruss Antonius

Link to comment
Share on other sites

24 answers to this question

Recommended Posts

Sofern userdir ohnehin nicht installiert ist, ist es doch ok?

 

"aPACHE2disABLEmodULE" deaktiviert das Modul (falls bisher aktiviert). Das Thema hat weniger mit Froxlor als eher mit der Installationsweise/-art bzw. Konfiguration deines Webservers zu tun. :)

Link to comment
Share on other sites

Hallo

 

Das trift sich ja gut...

 

lvps62-112-144-103:~# apt-get install postfix postfix-mysql libsasl2 libsasl2-modules libsasl2-modules-sql                    Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsasl2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 libsasl2-2
E: Package libsasl2 has no installation candidate

 

Sagt mir das, dass schon was installiert ist, was mich jetzt hindert das zu installieren?

Oder hei?t mein Paket einfach anders?

 

Gruss Antonius

Link to comment
Share on other sites

Hallo

 

Das trift sich ja gut...

 

lvps62-112-144-103:~# apt-get install postfix postfix-mysql libsasl2 libsasl2-modules libsasl2-modules-sql                    Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsasl2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 libsasl2-2
E: Package libsasl2 has no installation candidate

 

Sagt mir das, dass schon was installiert ist, was mich jetzt hindert das zu installieren?

Oder hei?t mein Paket einfach anders?

 

Gruss Antonius

 

Das bedeutet, dass das Paket "libsasl2" nicht verf?gbar ist, aber durch ein anderes Paket (-> "libsasl2-2") ersetzt wird.

 

Probier mal:

 

apt-get install postfix postfix-mysql libsasl2-2 libsasl2-modules libsasl2-modules-sql

Link to comment
Share on other sites

Hallo

 

Ich war nicht unt?tig nach der ersten Fehlermeldung und habe postfix mit

apt-get install postfix postfix-mysql

installiert.

 

Ich denke dann ist automatisch alles andere mit installiert worden.

 

lvps62-112-144-103:~# apt-get install postfix postfix-mysql libsasl2-2 libsasl2-modules libsasl2-modules-sql
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version.
postfix-mysql is already the newest version.
libsasl2-2 is already the newest version.
libsasl2-modules is already the newest version.
libsasl2-modules-sql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

Jetzt zieht eigentlich nur Dovecot quer....

 

Apache macht restart, bind9, postfix, nur Dovecot nicht.

 

lvps62-112-144-103:~# /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecotFatal: Dovecot is already running with PID 1927 (read from /var/run/dovecot/master.pid)
failed!

 

Der Versuch es zu deinstallieren:

 

lvps62-112-144-103:~# apt-get remove dovecot-imapd dovecot-pop3d
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
 dovecot-imapd dovecot-pop3d
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 2216kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 15821 files and directories currently installed.)
Removing dovecot-imapd ...
Fatal: Dovecot is already running with PID 1927 (read from /var/run/dovecot/master.pid)
Removing dovecot-pop3d ...
Fatal: Dovecot is already running with PID 1927 (read from /var/run/dovecot/master.pid)

 

Wie kann in Dovecot, das doofe Skript, in Ordnung bringen?

 

Bei ProFTPD ist in der Config was eingetragen, was dem Programm nicht gef?llt.

 

Stopping ftp server: proftpd.
Starting ftp server: proftpd - warning: handling possibly truncated configuration data at line 57 of '/etc/proftpd/modules.conf'
- warning: handling possibly truncated configuration data at line 24 of '/etc/proftpd/sql.conf'
- warning: handling possibly truncated configuration data at line 125 of '/etc/proftpd/proftpd.conf'
.

 

Was sollte ich hier ?ndern oder ist die leider immer da?

 

?brigens wird in meinem Froxlor ein file gesucht und nicht gefunden:

File does not exist: /var/www/froxlor/images/header.png (Apache error)

Der header lag nicht im pfad, ich habe da jetzt aber was rein gelegt.

 

Gruss Antonius

Link to comment
Share on other sites

Bei ProFTPD ist in der Config was eingetragen, was dem Programm nicht gef?llt.

 

Stopping ftp server: proftpd.
Starting ftp server: proftpd - warning: handling possibly truncated configuration data at line 57 of '/etc/proftpd/modules.conf'
- warning: handling possibly truncated configuration data at line 24 of '/etc/proftpd/sql.conf'
- warning: handling possibly truncated configuration data at line 125 of '/etc/proftpd/proftpd.conf'
.

 

Was sollte ich hier ?ndern oder ist die leider immer da?

 

?brigens wird in meinem Froxlor ein file gesucht und nicht gefunden:

File does not exist: /var/www/froxlor/images/header.png (Apache error)

Der header lag nicht im pfad, ich habe da jetzt aber was rein gelegt.

 

Gruss Antonius

 

Wie sehen denn die Dateien /etc/proftpd/sql.conf und /etc/proftpd/proftpd.conf aus?

 

Fatal: Dovecot is already running with PID 1927 (read from /var/run/dovecot/master.pid)

 

Versuch mal dovecot zu killen mit

 

kill -9 1927

 

Wenn der Prozess nicht mehr vorhanden ist, dann ist wahrscheinlich nur die Datei noch unn?tzigerweise da.

Also entsprechend mit

 

rm /var/run/dovecot/master.pid

 

l?schen.

Link to comment
Share on other sites

lvps62-112-144-103:~# apt-get remove dovecot-imapd dovecot-pop3d
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dovecot-imapd is not installed, so not removed
Package dovecot-pop3d is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
lvps62-112-144-103:~#  /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecot.
lvps62-112-144-103:~#  /etc/init.d/dovecot stop
lvps62-112-144-103:~#  /etc/init.d/dovecot start
Fatal: Dovecot is already running with PID 21718 (read from /var/run/dovecot/master.pid)
lvps62-112-144-103:~#  /etc/init.d/dovecot start
-> Inhalt aus master.pid gel?scht.
Fatal: Dovecot is already running with PID  (read from /var/run/dovecot/master.pid)
-> master.pid gel?scht.
lvps62-112-144-103:~#  /etc/init.d/dovecot start
lvps62-112-144-103:~#  /etc/init.d/dovecot stop
lvps62-112-144-103:~#  /etc/init.d/dovecot start
lvps62-112-144-103:~# /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecot.

 

Nummer sicher....

lvps62-112-144-103:~# apt-get install dovecot-imapd dovecot-pop3d
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
 dovecot-imapd dovecot-pop3d
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1302kB of archives.
After this operation, 2216kB of additional disk space will be used.
Selecting previously deselected package dovecot-imapd.
(Reading database ... 15808 files and directories currently installed.)
Unpacking dovecot-imapd (from .../dovecot-imapd_1%3a1.0.15-2.3+lenny1_amd64.deb) ...
Selecting previously deselected package dovecot-pop3d.
Unpacking dovecot-pop3d (from .../dovecot-pop3d_1%3a1.0.15-2.3+lenny1_amd64.deb) ...
Setting up dovecot-imapd (1:1.0.15-2.3+lenny1) ...
Restarting IMAP/POP3 mail server: dovecot.
Setting up dovecot-pop3d (1:1.0.15-2.3+lenny1) ...
Restarting IMAP/POP3 mail server: dovecot.

 

Die ber?hmte Frage, was steht denn drin (sorry h?tte ich auch schon vorher nachsehen und hier rein kopieren sollen).

 

Hier die sql.conf komplett, w?hrend die letzte Reihe wohl die 24 ist.

<IfModule mod_sql.c>
DefaultRoot ~
RequireValidShell off
AuthOrder mod_sql.c

SQLBackend mysql
SQLEngine on
SQLAuthenticate on

SQLAuthTypes Crypt
SQLAuthenticate users* groups*
SQLConnectInfo froxlor@127.0.0.1 froxlor MYSQL_PASSWORD
SQLUserInfo ftp_users username password uid gid homedir shell
SQLGroupInfo ftp_groups groupname gid members
SQLUserWhereClause "login_enabled = 'y'"

SQLLog PASS login
SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users

SQLLog RETR download
SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users

SQLLog STOR upload
SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users
</IfModule>

 

Bei der proftpd.conf, die etwas gr??er ist habe ich den letzten Teil kopier.

Hier ist die vorletzte die 125. Zeile.

Der Fehler liegt also wohl nicht an der anzeigenden config.

 

<IfModule mod_ctrls.c>
ControlsEngine        off
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
Include /etc/proftpd/sql.conf

#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf

 

Beiden config-Dateien sind die, die ich von der Installation in diese Dateien ?bernehmen sollte.

 

Gruss Antonius

Link to comment
Share on other sites

Hier die sql.conf komplett, w?hrend die letzte Reihe wohl die 24 ist.

<IfModule mod_sql.c>
DefaultRoot ~
RequireValidShell off
AuthOrder mod_sql.c

SQLBackend mysql
SQLEngine on
SQLAuthenticate on

SQLAuthTypes Crypt
SQLAuthenticate users* groups*
SQLConnectInfo froxlor@127.0.0.1 froxlor MYSQL_PASSWORD
SQLUserInfo ftp_users username password uid gid homedir shell
SQLGroupInfo ftp_groups groupname gid members
SQLUserWhereClause "login_enabled = 'y'"

SQLLog PASS login
SQLNamedQuery login UPDATE "last_login=now(), login_count=login_count+1 WHERE username='%u'" ftp_users

SQLLog RETR download
SQLNamedQuery download UPDATE "down_count=down_count+1, down_bytes=down_bytes+%b WHERE username='%u'" ftp_users

SQLLog STOR upload
SQLNamedQuery upload UPDATE "up_count=up_count+1, up_bytes=up_bytes+%b WHERE username='%u'" ftp_users
</IfModule>

 

Bei der proftpd.conf, die etwas gr??er ist habe ich den letzten Teil kopier.

Hier ist die vorletzte die 125. Zeile.

Der Fehler liegt also wohl nicht an der anzeigenden config.

 

Wurde in der sql.conf auch das Passwort f?r MySQL ge?ndert?

Damit meine ich diese Zeile:

 

SQLConnectInfo froxlor@127.0.0.1 froxlor MYSQL_PASSWORD

 

Da die Konfiguration korrekt aussieht, aber "MYSQL_PASSWORD" total nach der Standardkonfiguration von Froxlor klingt, k?nnte es sein, dass vergessen wurde das Passwort zu ?ndern?

Link to comment
Share on other sites

Hallo

 

Das Passwort habe ich nicht ge?ndert.

Ich verstehe den Satz "Bitte ersetzen Sie "MYSQL_PASSWORD" manuell durch das entsprechende Passwort."

Was ist das "entsprechende" Passwort.

Daher ist dieser Job liegen geblieben :(

 

Gruss Antonius

Link to comment
Share on other sites

Hallo

 

Das Passwort habe ich nicht ge?ndert.

Ich verstehe den Satz "Bitte ersetzen Sie "MYSQL_PASSWORD" manuell durch das entsprechende Passwort."

Was ist das "entsprechende" Passwort.

Daher ist dieser Job liegen geblieben :(

 

Gruss Antonius

 

Damit ist das Passwort f?r die Froxlor-Datenbank gemeint.

Link to comment
Share on other sites

Hallo

 

Das Passwort habe ich nicht ge?ndert.

Ich verstehe den Satz "Bitte ersetzen Sie "MYSQL_PASSWORD" manuell durch das entsprechende Passwort."

Was ist das "entsprechende" Passwort.

Daher ist dieser Job liegen geblieben :(

 

Gruss Antonius

 

Dann kannst du das doch nicht einfach so lassen wie es ist. Besser w?re gewesen, wenn du vorweg gefragt h?ttest, welches Passwort da eingef?gt werden muss. Bitte lesen :)

Link to comment
Share on other sites

Hallo

 

Warum steht dann nicht dort welches Passwort und wie und wo ich das ersetze?

 

Unter

lib/

 

ist bei mir keine Datei

userdata.inc.php"

 

die mir "es" anzeigen k?nnte.

 

Antonius

Link to comment
Share on other sites

Hallo

 

Warum steht dann nicht dort welches Passwort und wie und wo ich das ersetze?

 

Unter

lib/

 

ist bei mir keine Datei

userdata.inc.php"

 

die mir "es" anzeigen k?nnte.

 

Antonius

 

Bitte beachten Sie: Das MySQL-Passwort wurde aus Sicherheitsgr?nden nicht ersetzt.

Bitte ersetzen Sie "MYSQL_PASSWORD" manuell durch das entsprechende Passwort.

Falls Sie es vergessen haben sollten, finden Sie es in der Datei "lib/userdata.inc.php".

 

Es wird darauf hingewiesen, dass man "MYSQL_PASSWORD" ersetzen muss, und man dachte das der Hinweis mit "lib/userdata.inc.php" klar genug w?re.

Aber das macht ja nichts, nun wei?t du ja was du eintragen musst (:

Link to comment
Share on other sites

Es wird darauf hingewiesen, dass man "MYSQL_PASSWORD" ersetzen muss, und man dachte das der Hinweis mit "lib/userdata.inc.php" klar genug w?re.

Aber das macht ja nichts, nun wei?t du ja was du eintragen musst (:

 

Ich finde "verdeckte" Hinweise im Bereich von 1-0-1-1-... immer so klasse.

Das und "man dachte" macht vielen Linux & Co so unsympathisch, weil schlecht zu verstehen.

Aber es deutlich besser geworden in den letzten Jahren.

 

Auf Unternehmensebene spricht man von Betriebsblindheit wenn es um un- und missverst?ndliche Anleitungen und Erkl?rungen geht.

Bei Linux waren es schon immer die, die bereits einige Zeit mit Linux arbeiten und versuchen Anleitungen zu schreiben und zu Erkl?ren.

 

Antonius

Link to comment
Share on other sites

Ich finde "verdeckte" Hinweise im Bereich von 1-0-1-1-... immer so klasse.

Das und "man dachte" macht vielen Linux & Co so unsympathisch, weil schlecht zu verstehen.

Aber es deutlich besser geworden in den letzten Jahren.

 

Auf Unternehmensebene spricht man von Betriebsblindheit wenn es um un- und missverst?ndliche Anleitungen und Erkl?rungen geht.

Bei Linux waren es schon immer die, die bereits einige Zeit mit Linux arbeiten und versuchen Anleitungen zu schreiben und zu Erkl?ren.

 

Antonius

 

 

Hier geht es eher um mangelnde, solide Serverkenntnisse.

 

Die a2dismod Frage => Thematik Apache. Wenn man mit Bedacht gearbeitet h?tte, w?rde man diesen Shell-Befehl in Google o.a. recherchieren um mehr ?ber die Sache zu erfahren.

 

Die libsaslXYZ Frage => Hat mit Debian's APT Paketverwaltung zu tun. Dieses Paket wurde AFAIK nicht von Froxlor vorgeschlagen. Wenn man mit Bedacht gearbeitet h?tte, w?rde man diesen Shell-Befehl in Google o.a. recherchieren um mehr ?ber die Sache zu erfahren.

 

Die Dovecot Frage => Thematik Dovecot. Wenn man mit Bedacht gearbeitet h?tte, w?rde man ...

 

Die ProFTP Frage => Thematik Leseverst?ndnis. Wenn mit Bedacht gelesen/gearbeitet worden w?re, w?rde man das "MYSQL_PASSWORD" nicht einfach blind kopieren in der Konfigurationsdatei stehen lassen, mit der Hoffnung das funktioniert schon irgendwie/irgendwann.

 

 

Unter

lib/

 

ist bei mir keine Datei

userdata.inc.php"

 

Woher hast du dann die Konfigurations-Vorlagen?

 

 

Ich finde "verdeckte" Hinweise im Bereich von 1-0-1-1-... immer so klasse.

Das und "man dachte" macht vielen Linux & Co so unsympathisch, weil schlecht zu verstehen.

Bei Nutzern mit Sehbehinderung/ Sehschw?che w?rde ich das nachvollziehen. Normalerweise heben sich fett gekennzeichnete Hinweise hervor, die man dann auch vollst?ndig durchliest.

 

 

un- und missverst?ndliche Anleitungen und Erkl?rungen geht.

Hierzu folgt von meiner Seite aus demn?chst einiges hilfreiches.

Link to comment
Share on other sites

Hallo

 

Die Antwort ist verst?ndlich und normal. In der Wirtschaft t?dlich.

Mit Bedacht (steckt denken drin) kann man besonders gut arbeiten, wenn einem eine Sache klar ist.

 

Ich m?chte bei einer Installation nicht st?ndig 5 Fenster ge?ffnet haben, weil ich mit einem Google zur Suchen haben, ein hilfreichen How2Do gefunden habe, auf dem Forum bin, Die Konfiguration ge?ffnet habe und noch irgendwo denke, was sinnvolles gefunden zu haben.

 

Unter
lib/

ist bei mir keine Datei
userdata.inc.php"

 

Hei?t richtig: "lib/userdata.inc.php" ist bei mir nicht vorhanden.

Da soll das Passwort von MYSQL_PASSWORD liegen, wenn man es vergessen hat (Froxlor Konfiguration).

 

Antonius

Link to comment
Share on other sites

lib/

 

ist bei mir keine Datei

userdata.inc.php"

[/code]

 

Hei?t richtig: "lib/userdata.inc.php" ist bei mir nicht vorhanden.

Da soll das Passwort von MYSQL_PASSWORD liegen, wenn man es vergessen hat (Froxlor Konfiguration).

 

Antonius

 

Theoretisch MUSS die Datei "userdata.inc.php" im Froxlor-Ordner -> /lib vorhanden sein, weil da die Konfigurationsdateien f?r Froxlor abgelegt sind. W?re sie nicht vorhanden, w?rde Froxlor meinen, dass die Installation nicht durchgef?hrt wurde.

 

Aber schweifen wir nicht so ab...

Funktioniert denn der FTP-Server denn nun?

Link to comment
Share on other sites

Ich habe von vorne angefangen, bin aber schon wieder h?ngen geblieben.

 

Das war gestern gegen 21 Uhr die Meldung, dass bei der Datenbank irgendwie nichts stimmt.

Seit dem habe ich rund 4 Stunden versucht, da was zu reparieren.

Es geht einfach nicht.

 

Das Resulatat aus der Installation...

Teste, ob die MySQL-Root-Benutzerdaten richtig sind...Establishing connection failed, exiting
mysql error number: 1045
mysql error desc: Access denied for user 'root'@'localhost' (using password: NO)
Time/date: 20/03/2011 12:14 AM
Script: /froxlor/install/install.php
Referer: http://62.112.144.103/froxlor/install/install.php?language=german&chooselang=Go

 

Standard Fehlermeldung:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

 

Bevor hier einer Ratschl?ge hat, wie ich ein root passwort oder anders bekomme.

Dieses waren meine Eingaben gestern Abend. Ergebnis war abschlie?end immer obige Standard Fehlermeldung.

 

passwd root
apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-common bind9 bind9utils
apt-get install courier-authdaemon courier-authlib courier-authlib-mysql
apt-get install courier-authlib-userdb courier-base defoma dovecot-common dovecot-imapd
apt-get install dovecot-pop3d expect fam fontconfig-config libapache2-mod-php5 libapr1
apt-get install libaprutil1 libc-client2007b libcap1 libdbd-mysql-perl libdbi-perl libexpat1
apt-get install libfam0 libfontconfig1 libfreetype6 libgd2-xpm libgeoip1
apt-get install libhtml-template-perl libjpeg62 libltdl3 libmysqlclient15off
apt-get install libnet-daemon-perl libplrpc-perl libpng12-0 libpq5 libsasl2-modules
apt-get install libsasl2-modules-sql libsqlite0 libt1-5 libterm-readkey-perl libxpm4
apt-get install maildrop mlock mysql-client-5.0 mysql-common mysql-server mysql-server-5.0
apt-get install openssl openssl-blacklist php5 php5-cli php5-common php5-gd php5-imap
apt-get install php5-mysql php5-suhosin proftpd-basic proftpd-mod-mysql psmisc ssl-cert
apt-get install tcl8.4 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra webalizer bind9-host
apt-get install dnsutils libbind9-40 libdns45 libisc45 libisccc40 libisccfg40 liblwres40
cd /var/www
wget http://files.froxlor.org/releases/froxlor-0.9.tar.gz
apt-get install wget
wget http://files.froxlor.org/releases/froxlor-0.9.tar.gz
wget http://files.froxlor.org/releases/froxlor-0.9.tar.gz.md5
md5sum -c froxlor-0.9.tar.gz.md5
tar zxvf froxlor-0.9.tar.gz
mv froxlor-0.9.tar.gz /usr/local/src
touch froxlor /lib/userdata.inc.php
chown www-data:www-data froxlor /lib/userdata.inc.php
exit
/etc/init.d/apache2 restart
mysql> GRANT ALL ON sampel_db.* TO marco@localhost IDENTIFIED BY "";
mysql> GRANT ALL ON froxlor.* TO froxlor@localhost IDENTIFIED BY "";
mysql> show databases;
sudo dpkg-reconfigure mysql-server-5.0
mysql -u root mysql
UPDATE user SET Password=PASSWORD(.++AZ382.) WHERE user=.root.;
UPDATE user SET Password=PASSWORD .++AZ382. WHERE user=.root.;
GRANT ALL PRIVILEGES TO root@localhost IDENTIFIED BY '++AZ382';
/etc/init.d/mysql stop
echo "GRANT ALL PRIVILEGES TO root@localhost IDENTIFIED BY '++AZ382';" >~/setrootpassword.sql
mysqld_safe --init-file=~/setrootpassword.sql
#[ctrl]+[c]
/etc/init.d/mysql start
rm -f ~/setrootpassword.sql
create database if not exists froxlor;
mysql> create database if not exists froxlor;
mysql> show databases;
exit
mysql> show databases;
mysql> create user 'froxlor'@'localhost' identified by 'heinz345';
mysql> grant all on froxlor.* to 'froxlor'@'localhost'; 
mysql> show databases;
mysqladmin -u root password '++AZ382'
exit
mysqladmin -u root password '++AZ382'
exit
mysqladmin -u root password '++AZ382'
/etc/init.d/apache2 restart
exit
exit
mysqladmin -u root password '++AZ382'
mysql -u root -p++AZ382
/etc/init.d/mysqld stop
cd  /etc/init.d/
mysqld stop
mysql stop

/etc/init.d/mysql stop
mysqladmin -u root password '++AZ382'
mysql -u root -p++AZ382
/etc/init.d/mysql start
mysql -u root -p++AZ382
/etc/init.d/mysql stop
echo "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('4htee');" >~/setrootpassword.sql
mysqld_safe --init-file=~/setrootpassword.sql
#[ctrl]+[c]
/etc/init.d/mysql start
rm -f ~/setrootpassword.sql
mysqladmin -u root password '++AZ382'
mysql> admin -u root password '++AZ382'
mysql> create database if not exist froxlor;
mysql> create user 'froxlor'@'localhost' identified by 'heinz345';
mysql> grant all on froxlor.* to 'froxlor'@'localhost';
exit
mysql> use mysql;
/usr/bin/mysqladmin -u root -p
/usr/bin/mysqladmin -u root -p
mysql
mysql> use mysql;
mysql> update user set password=password('++AZ382') where User='root';
mysql> update user set password=++AZ382 where User='root';
mysql> use mysql;
mysql> use mysql;exit
mysql> use mysql;
exit

 

In der Datenbank gibt es die Tabelle User.

Darin ist 3 x root und 1 x debian-sys-maint eingetragen.

root geh?rt zum Host: localhost, 127.0.0.1 und lvps62-112-144-103.my-simplyroot.de und debian-sys-maint zu localhost.

Link to comment
Share on other sites

 

Habe im Threadtitel aus "0.9" ein "0.9.x" gemacht..

 

 

Ich werde gleich nochmals einen neuen Anlauf nehmen, klappt der wieder nicht, muss Froxlor einige Versionen auf einen neuen Versuch warten oder kommt nicht mehr zu Zuge.

 

 

Ich wusste gar nicht das Froxlor f?r die Server/IT-Kenntnisse des Systemadmins verantwortlich ist und ihn auf allgemein-bekannte Shell-Befehle aufkl?ren muss, dass Froxlor f?r die Installation von Distri-Packages zust?ndig ist, dem korrekten start/stop/restart-Verhalten von Dovecot zust?ndig ist und auch die Lesef?higkeiten des Admins in Frage stellen muss und dabei auf Sicherheitsaspekte pfeifen muss.

 

hmm.

Link to comment
Share on other sites

Zudem sollte

http://redmine.froxlor.org/projects/froxlor/wiki/Installation_via_APT_(Debian

 

ziemlich aktuell sein und vorallem bei Debian gut lauff?hig sein. Durch apt-get install froxlor werden gleich alle ben?tigten Pakete geliefert, dann nur noch Froxlor einrichten und am Ende die Dienste konfigurieren. Hat bisher immer einwandfrei geklappt und das sicher nicht nur bei mir.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...