Jump to content
Froxlor Forum
  • 0

fcgid installation


bgworms

Question

Hallo,

 

ich habe heute Froxlor frisch installiert und alle Konfigurationen ausgef?hrt.

 

Ich habe noch keine User angelegt.

 

Danach wollte ich fcgid nach Anleitung in Wiki installieren. Nachdem ich alles durchgegangen bin konnte ich Froxlor nicht mehr

aufrufen. Er will immer die Datei runterladen, also schein php nicht zu funktionieren.

 

Was muss ich eigentlich bei der Datei /etc/apache2/sites-enabled/000-default eintargen ???

Das was in dem fcgi-Handbuch steht oder muss das was in dem fcgi-Handbuch steht dazugef?gt werden ?

 

Ich habe beides ausprobiert, danach den apache neu gestartet, aber mit dem selben "erfolg".

 

Hier mal die Ausgabe von ps faux:

 

 
server014:/etc/cron.daily# ps faux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1984   680 ?        Ss   15:19   0:00 init [2]
root       295  0.0  0.0  28016  1252 ?        Sl   15:19   0:00 /usr/sbin/rsyslogd -c3
root       308  0.0  0.0   5276  1000 ?        Ss   15:19   0:00 /usr/sbin/sshd
root      8375  0.0  0.0   8596  2736 ?        Ss   18:32   0:00  \_ sshd: root@pts/1
root      8378  0.0  0.0   6012  1544 pts/1    Ss   18:32   0:00      \_ -bash
root      9565  0.0  0.0   5500   808 pts/1    R+   20:28   0:00          \_ ps faux
root      5569  0.0  0.0   5716  1260 ?        S    17:31   0:00 /bin/sh /usr/bin/mysqld_safe
mysql     5606  0.0  0.3 120044 17696 ?        Sl   17:31   0:01  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql
root      5607  0.0  0.0   4836   596 ?        S    17:31   0:00  \_ logger -p daemon.err -t mysqld_safe -i -t mysqld
bind      6324  0.0  0.2 104872 14656 ?        Ssl  17:43   0:00 /usr/sbin/named -u bind
root      7173  0.0  0.0   5480  1804 ?        Ss   17:56   0:00 /usr/lib/postfix/master
postfix   7180  0.0  0.0   5536  1892 ?        S    17:56   0:00  \_ qmgr -l -t fifo -u
postfix   9290  0.0  0.0   5796  1628 ?        S    19:35   0:00  \_ pickup -l -t fifo -u -c
root      7768  0.0  0.0   2004   600 ?        Ss   18:03   0:00 /usr/sbin/dovecot
vmail     7770  0.0  0.0   9420  2436 ?        S    18:03   0:00  \_ dovecot-auth
dovecot   7777  0.0  0.0   3504  1584 ?        S    18:03   0:00  \_ pop3-login
dovecot   7778  0.0  0.0   3504  1584 ?        S    18:03   0:00  \_ pop3-login
dovecot   7779  0.0  0.0   3504  1588 ?        S    18:03   0:00  \_ pop3-login
dovecot   7780  0.0  0.0   3508  1592 ?        S    18:03   0:00  \_ imap-login
dovecot   7781  0.0  0.0   3508  1588 ?        S    18:03   0:00  \_ imap-login
dovecot   7782  0.0  0.0   3508  1588 ?        S    18:03   0:00  \_ imap-login
proftpd   8172  0.0  0.0  10872  1552 ?        Ss   18:19   0:00 proftpd: (accepting connections)
root      8667  0.0  0.0 114356  1816 ?        Ssl  19:05   0:00 /usr/sbin/nscd
root      9151  0.0  0.0   5272   800 ?        Ss   19:23   0:00 /usr/sbin/cron
root      9533  0.0  0.0  13812  3000 ?        Ss   20:20   0:00 /usr/sbin/apache2 -k start
www-data  9535  0.0  0.0  13748  1844 ?        S    20:20   0:00  \_ /usr/sbin/apache2 -k start
www-data  9537  0.0  0.0  13812  2004 ?        S    20:20   0:00  \_ /usr/sbin/apache2 -k start
www-data  9538  0.0  0.0  13812  2004 ?        S    20:20   0:00  \_ /usr/sbin/apache2 -k start
www-data  9539  0.0  0.0  13812  2004 ?        S    20:20   0:00  \_ /usr/sbin/apache2 -k start
www-data  9540  0.0  0.0  13812  2004 ?        S    20:20   0:00  \_ /usr/sbin/apache2 -k start
www-data  9541  0.0  0.0  13812  2004 ?        S    20:20   0:00  \_ /usr/sbin/apache2 -k start
server014:/etc/cron.daily#

 

In der Anleitung steht auch unter Punkt 5, dass ich in der Froxlor-Einstellung bei FCGI das mit dem Vhost einschalten soll.

Das habe ich nicht gemacht, sondern nur im Hauptmenue Einstellungen FCGI eingeschaltet. Ich denke, das ist der Fehler, aber ich

kann es jetzt nicht mehr einstellen, da ich ja nicht mehr in Froxlor reinkommen. Wie und wo kann ich das aktivieren ?

 

LG Bodo

Link to comment
Share on other sites

Recommended Posts

Da auf dem System noch keine Seiten drauf sind installiere ich es wohl nochmal komplett von vorne.

Daher w?rde mich immer noch die Frage von vorhin interessieren:

 

 

Irgendwie blicke ich es nicht so ganz. Was muss ich nicht machen wie in der Anleitung ?

Ich habe ja schon eine 000-default Datei. Muss ich die umbenennen und die in derAnleitung zus?tzlich dazuf?gen oder muss ich die vorhandene ersetzen ??

 

 

Link to comment
Share on other sites

bitte mal die Rechte des Ordners nopasten

 

ls -la /var/www/froxlor

 

 

server014:/etc/apache2/sites-enabled# ls -la /var/www/froxlor
total 476
drwxr-xr-x 11 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 .
drwxr-xr-x  5 root         root          4096 2010-10-08 11:17 ..
drwxr-xr-x  3 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 actions
-rw-r--r--  1 froxlorlocal froxlorlocal 27783 2010-09-20 09:56 admin_admins.php
-rw-r--r--  1 froxlorlocal froxlorlocal  1052 2010-02-05 09:23 admin_aps.php
-rw-r--r--  1 froxlorlocal froxlorlocal  5680 2010-03-22 13:36 admin_configfiles.php
-rw-r--r--  1 froxlorlocal froxlorlocal  4342 2010-03-26 09:42 admin_cronjobs.php
-rw-r--r--  1 froxlorlocal froxlorlocal 56638 2010-09-27 11:53 admin_customers.php
-rw-r--r--  1 froxlorlocal froxlorlocal 51500 2010-09-20 08:07 admin_domains.php
-rw-r--r--  1 froxlorlocal froxlorlocal  9905 2010-09-20 09:56 admin_index.php
-rw-r--r--  1 froxlorlocal froxlorlocal 12341 2010-01-25 11:06 admin_ipsandports.php
-rw-r--r--  1 froxlorlocal froxlorlocal  4264 2010-01-25 11:06 admin_logger.php
-rw-r--r--  1 froxlorlocal froxlorlocal  3722 2010-02-05 09:23 admin_message.php
-rw-r--r--  1 froxlorlocal froxlorlocal  6698 2010-04-30 07:07 admin_phpsettings.php
-rw-r--r--  1 froxlorlocal froxlorlocal  6094 2010-08-05 08:19 admin_settings.php
-rw-r--r--  1 froxlorlocal froxlorlocal 13354 2010-08-17 08:19 admin_templates.php
-rw-r--r--  1 froxlorlocal froxlorlocal 28376 2010-09-23 08:08 admin_tickets.php
-rw-r--r--  1 froxlorlocal froxlorlocal  3562 2010-04-29 08:50 admin_updates.php
-rw-r--r--  1 froxlorlocal froxlorlocal  1058 2010-02-05 09:36 customer_aps.php
-rw-r--r--  1 froxlorlocal froxlorlocal  9182 2010-09-20 09:56 customer_autoresponder.php
-rw-r--r--  1 froxlorlocal froxlorlocal 22093 2010-08-12 14:32 customer_domains.php
-rw-r--r--  1 froxlorlocal froxlorlocal 30830 2010-07-24 21:42 customer_email.php
-rw-r--r--  1 froxlorlocal froxlorlocal 15623 2010-08-11 09:48 customer_extras.php
-rw-r--r--  1 froxlorlocal froxlorlocal 13898 2010-08-10 11:21 customer_ftp.php
-rw-r--r--  1 froxlorlocal froxlorlocal  7159 2010-09-20 09:56 customer_index.php
-rw-r--r--  1 froxlorlocal froxlorlocal 12224 2010-08-10 11:21 customer_mysql.php
-rw-r--r--  1 froxlorlocal froxlorlocal 15002 2010-04-29 07:38 customer_tickets.php
-rw-r--r--  1 froxlorlocal froxlorlocal  9321 2010-04-20 12:58 customer_traffic.php
drwxr-xr-x  2 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 images
-rw-r--r--  1 froxlorlocal froxlorlocal 10758 2010-08-17 08:19 index.php
drwxr-xr-x  5 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 install
drwxr-xr-x  6 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 lib
drwxr-xr-x  2 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 lng
drwxr-xr-x  2 froxlorlocal froxlorlocal  4096 2010-10-01 08:31 packages
drwxr-xr-x  3 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 scripts
drwxr-xr-x  2 froxlorlocal froxlorlocal  4096 2010-10-01 08:31 temp
drwxr-xr-x  7 froxlorlocal froxlorlocal  4096 2010-10-07 18:52 templates
server014:/etc/apache2/sites-enabled#

Link to comment
Share on other sites

Welche Anleitung verwendest du eigentlich?

 

Die Anleitung auf der wiki-seite von Froxlor. http://wiki.froxlor.org/contrib/fcgid-handbook

 

In dem Beitrag #6 oben hat der User d00p geschrieben, dass man das aber nicht mehr so kompliziert machen muss, wie es in der Anleitung steht. Jetzt interessiert mich nat?rlich, was ich anders machen muss.

Link to comment
Share on other sites

und bei ls -la /var/www/ geh?rt der Ordner 'froxlor' auch dem User 'froxlorlocal' ?

 

Ja.

 


server014:/etc/apache2/sites-enabled# ls -la /var/www/
total 24
drwxr-xr-x  5 root         root         4096 2010-10-08 11:17 .
drwxr-xr-x 15 root         root         4096 2010-10-07 18:59 ..
drwxr-xr-x 11 froxlorlocal froxlorlocal 4096 2010-10-07 18:52 froxlor
-rw-r--r--  1 root         root           45 2010-10-07 18:31 index.html
drwxr-xr-x  3 root         root         4096 2010-10-08 11:17 php-fcgi-scripts
drwxr-xr-x  2 root         root         4096 2010-10-07 18:52 webalizer
server014:/etc/apache2/sites-enabled#

Link to comment
Share on other sites

lass man den ganzen unsinn mit der 000-default weg und dem anlegen der php-starter-script-Datei. Geh im panel als admin in die Einstellungen und unter FCGID checkst du das K?stchen "Enable FCGID for the Froxlor vhost" an :) Dann werden dir die Starter-Scripts und Vhosts automatisch erstellt

Link to comment
Share on other sites

lass man den ganzen unsinn mit der 000-default weg und dem anlegen der php-starter-script-Datei. Geh im panel als admin in die Einstellungen und unter FCGID checkst du das K?stchen "Enable FCGID for the Froxlor vhost" an :) Dann werden dir die Starter-Scripts und Vhosts automatisch erstellt

 

In der Einstellung im panel steht folgendes:

 

Verwende FCGID im Froxlor Vhost
Wenn verwendet, wird Froxlor selbst unter einem lokalem Benutzer ausgef?hrt
ACHTUNG:Hierzu m?ssen noch zus?tzliche Konfigurationen vorgenommen werden, siehe http://wiki.froxlor.org/contrib/fcgid-handbook

 

Welche zus?tzlichen Konfigurationen muss man vornehmen ?? Reicht Schritt 3-7 oder muss ich auch irgendwas anderes machen ? Oder ist das schon zuviel.

 

Soll ich die Einstellung im Panel vorher ?ndern und dann mit den Schritten im Handbuch beginnen ?

Link to comment
Share on other sites

Du musst lediglich den lokalen Benutzer anlegen und in den Einstellungen im Panel hinterlegen [Local user to use for FCGID (Froxlor vhost)].

 

Den Rest macht der Cronjob, wenn du die Einstellung aktiviert hast

 

Also wenn ich das jetzt richtig verstanden habe muss ich nur im Panel alles aktiviren und den User so anlegen:

 

addgroup --gid 9999 froxlorlocal
adduser --no-create-home --uid 9999 --ingroup froxlorlocal --shell /bin/false froxlorlocal

 

Den Rest des Handbuches kann ich vergessen, da das alles Froxlor macht.

Link to comment
Share on other sites

Archived

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



×
×
  • Create New...