confixx webfront wech wegen ts2 userstart ?

rooty

New Member
Hallo,

nach einen update des boot vorgangs für teamspeak2
mit meinem script (scriptcode ganz unten)

update-rc.d userstartts defaults
reboot

startet zwar alles was ich vorher schon gemacht und auch der ts2 server
als user teamspeak, jedoch ist irgendwas mit confixx los.

Das Webfronend öffnet sich nicht mehr auf http://k087.khaki.fastwebserver.de/

genauso wie die erstellten domains

www.macsys-root.de
www.www-apo.de

Hab ihr evtl. ne Ahnung was los ist ?

apache2,mysql, etc pp was laufen sollte läuft.

Evtl. da ich erst nicht wusste wie ich es genau machen mit dem usersstart,
könnte das auch noch der übeltäter sein.

4.3 Teamspeak Autostart (Tipp by Profi-Webmaster.com)

Befehl in Shell ausführen:

crontab -e -u teamspeak

Dann im folgenden Fenster ausführen: (Pfad gemäß eurem Installationsverzeichnisses anpassen!)

@reboot /home/teamspeak/tss2_rc2/teamspeak2-server_startscript start

Und mit einem Reboot testen.


Teamspeak userbootts script:

PHP:
#! /bin/sh
#
# teamspeak userstart macsys-root
DIR=/opt/teamspeak2
DAEMON=$DIR/server_linux
PARAMS="-log=/var/log/teamspeak -pid=/opt/teamspeak2/tsserver2.pid"
TS_USER="teamspeak"
NAME="Teamspeak"
DESC="Voice-Server"
case "$1" in
start)
echo "Starting $DESC: $NAME"
if [ -e $DIR ];
then
cd $DIR
su $TS_USER -c "screen -d -m -S $NAME $DAEMON $PARAMS"
screen -d -m -S $NAME $DAEMON $PARAMS
else echo "No such directory: $DIR!"
fi
;;
stop)
echo -n "Stopping $DESC: $NAME"
killall -TERM server_linux
echo " ... done."
;;
restart)
echo -n "Stopping $DESC: $NAME"
killall -TERM server_linux
echo " ... done."
echo -n "Starting $DESC: $NAME"
cd $DIR
screen -d -m -S $NAME $DAEMON $PARAMS
echo " ... done."
;;
status)
ps aux
CHECK=$?
[ $CHECK -eq 0 ] && echo "Teamspeak is UP"
;;
*)
echo "Usage: $0 {start
exit 1
;;
esac
exit 0

script:

#! /bin/sh
#
# teamspeak userstart macsys-root

DIR=/opt/teamspeak2
DAEMON=$DIR/server_linux
PARAMS="-log=/var/log/teamspeak -pid=/opt/teamspeak2/tsserver2.pid"
TS_USER="teamspeak"
NAME="Teamspeak"
DESC="Voice-Server"
case "$1" in
start)
echo "Starting $DESC: $NAME"
if [ -e $DIR ];
then
cd $DIR
su $TS_USER -c "screen -d -m -S $NAME $DAEMON $PARAMS"
screen -d -m -S $NAME $DAEMON $PARAMS
else echo "No such directory: $DIR!"
fi
;;
stop)
echo -n "Stopping $DESC: $NAME"
killall -TERM server_linux
echo " ... done."
;;
restart)
echo -n "Stopping $DESC: $NAME"
killall -TERM server_linux
echo " ... done."
echo -n "Starting $DESC: $NAME"
cd $DIR
screen -d -m -S $NAME $DAEMON $PARAMS
echo " ... done."
;;
status)
ps aux
CHECK=$?
[ $CHECK -eq 0 ] && echo "Teamspeak is UP"
;;
*)
echo "Usage: $0 {start
exit 1
;;
esac
exit 0
 
Last edited by a moderator:
Starte den Apache mal neu:
Code:
/etc/init.d/apache2 restart

Poste mal die Ausgabe von:
Code:
ps aux

Was steht in den Logs?
 
apache2 neu zu starten hab ich schon mal probiert.

welche logs meinst du ? /var/logs/welche ?

Ausgabe von ps aux:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2228 784 ? Ss 16:18 0:01 init [2]
root 2 0.0 0.0 0 0 ? S< 16:18 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< 16:18 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S< 16:18 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 16:18 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S< 16:18 0:00 [migration/1]
root 7 0.0 0.0 0 0 ? S< 16:18 0:00 [ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S< 16:18 0:00 [watchdog/1]
root 9 0.0 0.0 0 0 ? S< 16:18 0:00 [events/0]
root 10 0.0 0.0 0 0 ? S< 16:18 0:00 [events/1]
root 11 0.0 0.0 0 0 ? S< 16:18 0:00 [khelper]
root 44 0.0 0.0 0 0 ? S< 16:18 0:00 [kblockd/0]
root 45 0.0 0.0 0 0 ? S< 16:18 0:00 [kblockd/1]
root 47 0.0 0.0 0 0 ? S< 16:18 0:00 [kacpid]
root 48 0.0 0.0 0 0 ? S< 16:18 0:00 [kacpi_notify]
root 131 0.0 0.0 0 0 ? S< 16:18 0:00 [kseriod]
root 172 0.0 0.0 0 0 ? S 16:18 0:00 [pdflush]
root 173 0.0 0.0 0 0 ? S 16:18 0:00 [pdflush]
root 174 0.0 0.0 0 0 ? S< 16:18 0:00 [kswapd0]
root 175 0.0 0.0 0 0 ? S< 16:18 0:00 [aio/0]
root 176 0.0 0.0 0 0 ? S< 16:18 0:00 [aio/1]
root 656 0.0 0.0 0 0 ? S< 16:19 0:00 [ksuspend_usbd]
root 657 0.0 0.0 0 0 ? S< 16:19 0:00 [khubd]
root 662 0.0 0.0 0 0 ? S< 16:19 0:00 [ata/0]
root 664 0.0 0.0 0 0 ? S< 16:19 0:00 [ata/1]
root 667 0.0 0.0 0 0 ? S< 16:19 0:00 [ata_aux]
root 756 0.0 0.0 0 0 ? S< 16:19 0:00 [scsi_eh_0]
root 757 0.0 0.0 0 0 ? S< 16:19 0:00 [scsi_eh_1]
root 758 0.0 0.0 0 0 ? S< 16:19 0:00 [scsi_eh_2]
root 759 0.0 0.0 0 0 ? S< 16:19 0:00 [scsi_eh_3]
root 916 0.0 0.0 0 0 ? S< 16:19 0:00 [md0_raid1]
root 951 0.0 0.0 0 0 ? S< 16:19 0:00 [kjournald]
root 1019 0.0 0.0 2416 800 ? S<s 16:19 0:00 udevd --daemon
root 1462 0.0 0.0 0 0 ? S< 16:19 0:00 [kpsmoused]
daemon 1811 0.0 0.0 1916 500 ? Ss 16:19 0:00 /sbin/portmap
statd 1822 0.0 0.0 1980 712 ? Ss 16:19 0:00 /sbin/rpc.statd
root 1961 0.0 0.0 28452 1512 ? Sl 16:19 0:00 /usr/sbin/rsyslogd -c3
109 1974 0.0 0.0 2692 596 ? Ss 16:19 0:00 /usr/bin/dbus-daemon --system
root 1985 0.0 0.0 5548 1040 ? Ss 16:19 0:00 /usr/sbin/sshd
root 2028 0.0 0.0 2856 1296 ? S 16:19 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 2067 0.0 0.4 128160 17836 ? Sl 16:19 0:02 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
root 2068 0.0 0.0 1772 544 ? S 16:19 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 2134 0.0 0.0 1936 744 ? S 16:19 0:00 /usr/sbin/and
root 2139 0.0 0.0 1976 440 ? S 16:19 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemond
root 2140 0.0 0.0 2144 616 ? S 16:19 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2150 0.0 0.0 1976 348 ? S 16:19 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/imapd.pid -start -name=imapd /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnsloo
root 2151 0.0 0.0 2084 592 ? S 16:19 0:00 /usr/sbin/couriertcpd -address=0 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Ma
root 2156 0.0 0.0 1976 352 ? S 16:19 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/pop3d.pid -start -name=pop3d /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noident
root 2157 0.0 0.0 2084 592 ? S 16:19 0:00 /usr/sbin/couriertcpd -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup -address=0 110 /usr/lib/courier/courier/courierpop3login /usr/lib/co
root 2159 0.0 0.0 2144 236 ? S 16:19 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2160 0.0 0.0 2144 236 ? S 16:19 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2161 0.0 0.0 2144 236 ? S 16:19 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2162 0.0 0.0 2144 236 ? S 16:19 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2163 0.0 0.0 2144 236 ? S 16:19 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2275 0.0 0.0 5652 1816 ? Ss 16:19 0:00 /usr/lib/postfix/master
postfix 2290 0.0 0.0 5708 1776 ? S 16:19 0:00 qmgr -l -t fifo -u
root 2417 0.0 0.0 8516 780 ? Ss 16:19 0:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
root 2426 0.0 0.0 8516 492 ? S 16:19 0:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
root 2428 0.0 0.0 8516 376 ? S 16:19 0:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
root 2429 0.0 0.0 8516 376 ? S 16:19 0:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
root 2430 0.0 0.0 8516 376 ? S 16:19 0:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
root 2452 12.0 8.0 346568 291764 ? Sl 16:19 16:18 ./ut3-bin server DM-Deck?GameMode=5?Game=UTGame.UTDuelGame?MinNetPlayers=1?MaxPlayers=10?bShouldAdvertise=True?bIsLanMatch=False?bUsesStats=Tru
root 2487 8.7 7.4 324308 271312 ? Sl 16:19 11:54 ./ut3-bin server DM-Deck?GameMode=5?Game=UTGame.UTDuelGame?MinNetPlayers=1?MaxPlayers=10?bShouldAdvertise=True?bIsLanMatch=False?bUsesStats=Tru
root 2510 0.0 0.0 3296 520 ? Ss 16:19 0:00 /usr/sbin/famd -T 0
ntp 2525 0.0 0.0 4296 1300 ? Ss 16:19 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u 103:105 -g
root 2535 0.0 0.0 2172 444 ? Ss 16:19 0:00 /sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan --syslog
root 2567 0.0 0.0 2300 948 ? Ss 16:19 0:00 /usr/sbin/cron
root 2605 0.0 0.0 1788 508 tty1 Ss+ 16:19 0:00 /sbin/getty 38400 tty1
root 2606 0.0 0.0 1788 508 tty2 Ss+ 16:19 0:00 /sbin/getty 38400 tty2
root 2607 0.0 0.0 1788 508 tty3 Ss+ 16:19 0:00 /sbin/getty 38400 tty3
root 2608 0.0 0.0 1788 500 tty4 Ss+ 16:19 0:00 /sbin/getty 38400 tty4
root 2609 0.0 0.0 1788 508 tty5 Ss+ 16:19 0:00 /sbin/getty 38400 tty5
root 2610 0.0 0.0 1788 504 tty6 Ss+ 16:19 0:00 /sbin/getty 38400 tty6
1071 2694 0.2 0.0 95708 2208 ? SNl 16:27 0:15 ./server_linux -PID=tsserver2.pid
root 2904 0.0 0.0 8444 2788 ? Ss 17:20 0:00 sshd: root@notty
root 2909 0.0 0.0 4968 1524 ? Ss 17:21 0:00 /usr/lib/openssh/sftp-server
root 2910 0.0 0.0 8448 2804 ? Rs 17:21 0:00 sshd: root@pts/1
root 2912 0.0 0.0 2976 1540 pts/1 Rs 17:21 0:00 -bash
postfix 3146 0.0 0.0 5664 1732 ? S 17:59 0:00 pickup -l -t fifo -u -c
root 3802 2.0 0.0 6892 2224 ? Ss 18:34 0:00 sshd: [accepted]
sshd 3803 0.0 0.0 6892 1196 ? S 18:34 0:00 sshd: [net]
root 3804 0.0 0.0 2456 920 pts/1 R+ 18:34 0:00 ps aux
 
Last edited by a moderator:
hier noch das error.log von apache2

Code:
[Sat Aug 29 18:44:55 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Aug 29 18:44:55 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Aug 29 18:44:55 2009] [warn] RSA server certificate CommonName (CN) `Parallels Confixx' does NOT match server name!?
[Sat Aug 29 18:44:55 2009] [warn] Init: SSL server IP/port conflict: 93.186.196.87:443 (/etc/apache2/confixx_mhost.conf:129) vs. k087.khaki.fastwebserver.de:443 (/etc/apache2/confixx_mhost.conf:176)
[Sat Aug 29 18:44:55 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sat Aug 29 18:44:55 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
 
So wie ich das sehe (kann auch sein dass ichs übersehe weil die ps aux Ausgabe besser in CODE Tags sollte) läuft schlicht und einfach dein Apache nicht ;)
 
Jau nur warum startet er nicht richtig ...

wenn ich ihn versuche zu restarten oder zu stopen und dann wieder zu starten
gibt er keine message von sich.

Code:
[Sun Aug 30 16:04:53 2009] [warn] Init: SSL server IP/port conflict: 93.186.196.87:443 (/etc/apache2/confixx_mhost.conf:129) vs. k087.khaki.fastwebserver.de:443 (/etc/apache2/confixx_mhost.conf:176)

liegst evtl hier dran ? hmmmm hätte ich mal alles selber installiert ! ;)
 
Nein das ist nur eine Warnung kein Error.

Schau mal alle Logs durch die im apache2 Verzeichnis sind und eventuell auch noch den Syslog.

Schau mal mit:
Code:
netstat -tulpe
ob Port 80 vielleicht von was anderem belegt ist.

UPDATE: Fehler gefunden.
Ein Teamspeak2 Server belegt Port 80. Deswegen kann dein Apache nicht mehr starten. :)
 
nope war nicht teamspeak.

sondern icephp.

Ich wollte erst auf mumble murmur server umsteigen und icephp nutzen.

Code:
icecpp: error: cannot open `/usr/share/slice/Murmur.ice' for reading
PHP Fatal error:  Unable to start ice module in Unknown on line 0

Da der mumble server und apache vorher lief ich aber kein reboot vom server machte. war auch natürlcih auch nix im error.log. Hab lange für gebraucht aber nun bin ich auch wieder ein wenig schlauer wo alles zufinden ist. ;)

thx and greetz rooty
 
Back
Top