ispCP - Board - Support
User Anlegen verursacht Fehler - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: User Anlegen verursacht Fehler (/thread-10952.html)

Pages: 1 2 3


RE: User Anlegen verursacht Fehler - ZooL - 06-13-2010 03:00 AM

naja für mich sieht das so aus als wenn er 1. den daemon nicht gestartet hat, 2. den request-mng ausführen sollte.

so am rande, aber neu machen bringt mehr festigkeit mit linux umzugehen ...

mfg


RE: User Anlegen verursacht Fehler - MasterM - 06-13-2010 03:34 AM

Ja sorry, das dumme Problem ist nur, wie schon geschrieben, ich hab das System neu gemacht, als es beim ersten mal nicht funktioniert hat, da ich dachte ich hab vieleicht was falsch gemacht, also den VServer neuinstalliert und das gleiche Problem wieder.

Das einzige was ich gemacht habe ist, nach dem neuinstallieren
- Das Root PW ändern
- Update und Upgrade
- MC heruntergeladen
- Alles nach der deutsch übersetzen Anleitung gemacht

Da dann der gleiche Fehler immer noch da war habe ich mich hier im Forum gemeldet, dann habe ich noch ( danach ) einen User für Teamspeak und einen zum späteren Login gemacht (ts3 und Dirk)
Weiß echt nicht, wo/wie/warum da dann ein Fehler reingekommen ist.

Hab desshalb verständlicherweise nicht nocheinmal Lust den Server neuzumachen, auch wenn das nun (noch) keine große Sache ist, da ich aber nun schon Teamspeak wieder eingerichtet habe, möchte ich es vermeiden.


Hier mal die ganze Bash History vom root bis zum Abschluss der Installation:

Quote:cd
aptitude install locales
dpkg --reconfiure locales
dpkg --reconfigure locales
dpkg reconfigure locales
dpkg
dpkg --help
dpkg --configure locales
dpkg --force --configure locales
dpkg --reconfigure locales
dpkg --help
aptitude reinstall locales
aptitude reinstall locales
aptitude purge locales
aptitude reinstall locales
aptitude install locales
locale
locale-gen
localedef
localedef --help
cd
cat /etc/debian_version
less /etc/apt/sources.list
cat /etc/apt/sources.list
aptitude install openssh-server
netstat
netstat -tulpe
apt-get install mx
apt-get install mc
apt-get update
apt-get dist-upgrade
apt-get install wget mc zip unzip bzip2 ntp ntpdate lsb-release
mkdir -p /usr/local/src/ispcp
cd /usr/local/src/ispcp
wget http://mesh.dl.sourceforge.net/sourceforge/ispcp/ispcp-omega-1.0.5.tar.bz2
tar -xjvf ispcp-omega-1.0.5.tar.bz2
cd ispcp-omega-1.0.5
mcedit
mcedit
mcedit /etc/apt/sources.list
apt-get update
apt-get dist-upgrade
apt-get install $ (cat ./docs/Debian/debian-packages-`lsb_release -cs`)
aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)
make install
cp -Rv /tmp/ispcp/* /
mysql_secure_installation
cd /var/www/ispcp/engine/setup
perl ./ispcp-setup
hostname -f
cd /usr/local/src/ispcp
cd ispcp-omega-1.0.5
cd /var/www/ispcp/engine/setup
perl ./ispcp-setup
rm -fR /tmp/ispcp

Vieleicht habe ich ja auch irgendetwas falsch gemacht, bzw. es gibt etwas was nicht in der Anleitung steht, oder für euch vieleicht "selbstverständlich" ist für mich jedoch (noch) nicht.


Gruß
Dirk


RE: User Anlegen verursacht Fehler - gOOvER - 06-13-2010 03:37 AM

Nimm die englische Anleitung. Bei der deutschen bin ich mir nicht sicher, ob die noch aktuell ist. Wink


RE: User Anlegen verursacht Fehler - MasterM - 06-13-2010 04:55 AM

Okay, um es nun wirklich 100%ig richtig zu machen habe ich nun die englische Anleitung genommen, den Server komplett neu gemacht . und leider ist der Fehler immer noch da.

Fehler gab es nur, das die "Quelle" für die Dateien angeblich unsicher sei, ich musste zwei mal yes eingeben.


Hier noch mal alles was nach der Installation un Putty stand, der obere Teil fehlt leider, weiß nicht ob das irgendwo gespeichert wird.
Quote:ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-setup /tmp/ispcp/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-setup-methods.pl /tmp/ispcp/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-update /tmp/ispcp/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/ispcp-uninstall /tmp/ispcp/var/www/ispcp/engine/setup
cp ./fcgid_ispcp.conf /tmp/ispcp/etc/ispcp/apache/fcgid_ispcp.conf
make[3]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/debian/apache'
/usr/bin/install -m 0700 -o root -g root ./setup/updDB.php /tmp/ispcp/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./setup/maintainer-helper.sh /tmp/ispcp/var/www/ispcp/engine/setup
/usr/bin/install -m 0700 -o root -g root ./tools/ispcp-httpd-logs-mngr /tmp/ispcp/var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr
/usr/bin/install -m 0700 -o root -g root ./tools/ispcpphptemp.sh /tmp/ispcp/var/www/ispcp/engine/tools/ispcpphptemp.sh
make[3]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/configs/debian/proftpd'
/usr/bin/install -m 0700 -o root -g root ./tools/ispcp-net-interfaces-mngr /tmp/ispcp/var/www/ispcp/engine/tools/ispcp-net-interfaces-mngr
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-srv-traff /tmp/ispcp/var/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff /tmp/ispcp/var/www/ispcp/engine/traffic
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff-correction /tmp/ispcp/var/www/ispcp/engine/traffic
if test debian = suse ; then \
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff-SUSE /tmp/ispcp/var/www/ispcp/engine/traffic; \
elif test debian = opensuse ; then \
/usr/bin/install -m 0700 -o root -g root ./traffic/ispcp-vrl-traff-SUSE /tmp/ispcp/var/www/ispcp/engine/traffic; \
fi
make[1]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/engine'
cd ./gui && make install
make[1]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/gui'
/bin/mkdir -p /tmp/ispcp/var/www/ispcp/gui
cp ./index.php /tmp/ispcp/var/www/ispcp/gui/index.php
cp ./lostpassword.php /tmp/ispcp/var/www/ispcp/gui/lostpassword.php
cp ./imagecode.php /tmp/ispcp/var/www/ispcp/gui/imagecode.php
cp ./robots.txt /tmp/ispcp/var/www/ispcp/gui/robots.txt
cp ./favicon.ico /tmp/ispcp/var/www/ispcp/gui/favicon.ico
cp -dR ./admin /tmp/ispcp/var/www/ispcp/gui
cp -dR ./reseller /tmp/ispcp/var/www/ispcp/gui
cp -dR ./client /tmp/ispcp/var/www/ispcp/gui
cp -dR ./include /tmp/ispcp/var/www/ispcp/gui
cp -dR ./domain_default_page /tmp/ispcp/var/www/ispcp/gui
cp -dR ./domain_disable_page /tmp/ispcp/var/www/ispcp/gui
cp -dR ./errordocs /tmp/ispcp/var/www/ispcp/gui
cp -dR ./themes /tmp/ispcp/var/www/ispcp/gui
cp -dR ./tools /tmp/ispcp/var/www/ispcp/gui
cp -dR ./orderpanel /tmp/ispcp/var/www/ispcp/gui
cp -dR ./phptmp /tmp/ispcp/var/www/ispcp/gui
make[1]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/gui'
cd ./keys && make install
make[1]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/keys'
/bin/mkdir -p /tmp/ispcp/var/www/ispcp/keys
cp ./rpl.pl /tmp/ispcp/var/www/ispcp/keys
make[1]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/keys'
cd ./database && make install
make[1]: Entering directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/database'
/bin/mkdir -p /tmp/ispcp/etc/ispcp/database
cp ./database.sql /tmp/ispcp/etc/ispcp/database
cp ./languages.sql /tmp/ispcp/etc/ispcp/database
make[1]: Leaving directory `/usr/local/src/ispcp/ispcp-omega-1.0.5/database'
heideskat:/usr/local/src/ispcp/ispcp-omega-1.0.5# cp -R /tmp/ispcp/* /
heideskat:/usr/local/src/ispcp/ispcp-omega-1.0.5# cp -R /tmp/ispcp/* /
heideskat:/usr/local/src/ispcp/ispcp-omega-1.0.5# mysql_secure_installation




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

You already have a root password set, so you can safely answer 'n'.

Change the root password? [Y/n] n
... skipping.

By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
... Success!

Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
... Success!

By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
- Dropping test database...
ERROR 1008 (HY000) at line 1: Can't drop database 'test'; database doesn't exist
... Failed! Not critical, keep moving...

- Removing privileges on test database...
... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
... Success!

Cleaning up...



All done! If you've completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!


heideskat:/usr/local/src/ispcp/ispcp-omega-1.0.5# cd /var/www/ispcp/engine/setup
heideskat:/var/www/ispcp/engine/setup#
heideskat:/var/www/ispcp/engine/setup# perl ./ispcp-setup
Generating database keys, it may take some time, please wait...
If it takes to long, please checkhttp://www.isp-control.net/documentation/frequently_asked_questions/what_does_generating_database_keys_it_may_take_some_time_please_wait..._on_setup​_mean

Stopping services: .........

Welcome to ispCP '1.0.5 OMEGA' Setup Dialog.

This program will set up ispCP OMEGA system on your server.

Next you are asked to enter a "fully qualified hostname" (FQHN).
For more infos read http://en.wikipedia.org/wiki/FQDN.


Please enter a fully qualified hostname. [heideskat.de]: dirk.heideskat.de

Please enter system network address. [109.71.28.132]:

Please enter the domain name where ispCP OMEGA will run on [admin.dirk.heideskat.de]:

Please enter SQL server host. [localhost]:

Please enter system SQL database. [ispcp]:

Please enter system SQL user. [root]:

Please enter system SQL password. [none]:
Please repeat system SQL password:

Please enter ispCP ftp SQL user. [vftp]:

Please enter ispCP ftp SQL user password. [auto generate]:
Please repeat ispCP ftp SQL user password:

Please enter ispCP phpMyAdmin Control user. [pma]:

Please enter ispCP phpMyAdmin Control user password. [auto generate]:
Please repeat ispCP phpMyAdmin Control user password:

Please enter administrator login name. [admin]: DirkEuhus

Please enter administrator password:
Please repeat administrator password:

Please enter administrator e-mail address: server_wartung@live.de

IP of Secondary DNS. (optional) []:

Use MySQL Prefix.
Possible values: [i]nfront, [b]ehind, [n]one. [none]:

FastCGI Version: [f]cgid or fast[c]gi. [fcgid]:

Activate AWStats. [no]:

Starting Installation
Setting GUI Permissions: .... done
Setting Engine Permissions: ... done

Starting services: .........

Congratulations you installed ispCP '1.0.5 OMEGA' successfully!

Please type http://admin.dirk.heideskat.de in your browser and
log in with your Administrator Account to use ispCP.

[ Rootkit Hunter version 1.3.2 ]

Checking rkhunter data files...
Checking file mirrors.dat [ No update ]
Checking file programs_bad.dat [ Updated ]
Checking file backdoorports.dat [ Updated ]
Checking file suspscan.dat [ Updated ]
Checking file i18n/cn [ Updated ]
Checking file i18n/en [ No update ]
Checking file i18n/zh [ No update ]
Checking file i18n/zh.utf8 [ No update ]
Ending...
heideskat:/var/www/ispcp/engine/setup# rm -fR /tmp/ispcp
heideskat:/var/www/ispcp/engine/setup#


Gruß
Dirk


RE: User Anlegen verursacht Fehler - gOOvER - 06-13-2010 06:46 AM

Gib mal ein paar Daten zu Deinem vServer


RE: User Anlegen verursacht Fehler - MasterM - 06-13-2010 07:33 AM

Öhhm, genaue Daten habe ich leider nicht, kann dir nur sagen, was er haben sollte,
# 10 GB HDD
# Traffic-Flat (FairUse)
# 350 MB garantiert RAM
# 1024 MB Dynm. Ram
# Start/Stop/Reboot kostenfrei

Habe aber 15 GB HDD, in ISPCP selber werden mir noch folgende Daten angezeigt:

Kernel 2.6.26-2-vserver-amd64 (SMP)
Up time 3 hours 3 minutes
Load 0.21 0.07 0.02

CPU model AMD Opteron™ Processor 248
Number of CPU Cores 2
CPU MHz 2210.18
CPU cache 1024 KB
CPU bogomips 8843.74

Ram: 3.88 GB 1.85 GB 2.03 GB
Swap: 9.48 GB 76.00 KB 9.48 GB
Fileystem: / ufs /dev/hdv1 0 % 13.90 GB 0 B 14.65 GB


System ist Debian 5 Lenny
Gesteuert wird es über OpenVCP

Falls es dir, bzw. mir dadurch weiterhilft Smile

Gruß
Dirk


RE: User Anlegen verursacht Fehler - MasterM - 06-14-2010 05:44 AM

Hi,
also, es hat sich etwas getan,
und zwar habe ich nun folgende Schritte gemacht
- dem ganzen ispcp Ordner Chmod 777 gesetzt
- Das Verzeichniss var/kunden/ angelegt ( stellte sich nun als belanglos heraus, hatte es nur als Tipp hier im Forum gefunden, also wieder gelöscht. )
http://isp-control.net/documentation/howto:ispcp:regenerate_config Das hier ausgeführt.

Danach ging der Account einwandfrei.
Lege ich nun einen neuen an, ist der selbe Fehler wieder da, nach dem Ausführen von /var/www/ispcp/engine/ispcp-rqst-mngr
ist alles ok.

Nun, die Ursache Fehlt, die Lösung ist da Tongue

Update:
Zu Früh gefreut, alles lief für ca. 20 Minuten gut, dann kam plötzlich error 500.
Im Log steht:
[Sun Jun 13 20:02:34 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(22046) exit(communication error), terminated by calling exit(), return code: 116


RE: User Anlegen verursacht Fehler - ZooL - 06-14-2010 07:26 AM

du schreibst syscp ?
du schreibst /var/kunden/

also willst du ispcp installieren oder syscp ?
deine installation ist nicht sauber...

behaupte ich jetzt mal..

mfg


RE: User Anlegen verursacht Fehler - fulltilt - 06-14-2010 07:29 PM

Genau - OS und ispcp neu installieren. Du kannst nicht ispcp und syscp gleichzeitig verwenden!


RE: User Anlegen verursacht Fehler - MasterM - 06-14-2010 10:08 PM

Ach Gottchen, ich verwechsle das immer.
Also ISPCP ist drauf und Syscp nicht.

Wie schon gesagt, der Fehler war auch nach der neuinstallation des Systems wieder da, daraus schließe ich
1.) entweder habe ich bei der Einrichtung ein Fehler gemacht
2.) Das Image ist irgendwie beschädigt oder kein Standartimage
3.) Irgendein Programm fehlt/ist nicht verfügbar, wurde upgedatet und ist nicht mehr mit ispcp kompatibel
4.) Es liegt ein Fehler in einem System vor, auf das ich keinen Einfluss habe (Hostrechner)
5.) ISPCP an sich hat einen Fehler

So den error 500 habe ich beseitigen können, als ich die Schreibrechte wieder weggenommen habe, nun habe ich das hier:

Quote:Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Nur steht nun keine Fehlermeldung mehr im suexec Log.
Kann mir jemand sagen, welche Datein schreibrechte brauchen ?
Oder liegt es nicht an den Rechten ?