toni Posted March 21, 2011 Share Posted March 21, 2011 Hallo Ich will doch Lighttpd Webserver verwenden. Leider kommt es nach restart zu einer Fehlermeldung. lvps62-112-144-103:~# /etc/init.d/lighttpd restart Stopping web server: lighttpd. Starting web server: lighttpd2011-03-21 16:56:34: (configfile.c.796) source: cat /etc/apache2/sites-enabled/*.conf line: 5 pos: 3 invalid character in variable name 2011-03-21 16:56:34: (configfile.c.852) configfile parser failed at: (EOL) 2011-03-21 16:56:34: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 61 pos: 1 parser failed somehow near here: (EOL) failed! Antonius Link to comment Share on other sites More sharing options...
toni Posted March 21, 2011 Author Share Posted March 21, 2011 Hallo Der lighttpd startet jetzt auch ohne Probleme. Die letzte Zeile unterer config war irgendwie mit da herein geraten ;-) Es l?uft eigentlich soweit mit Apache FTP, Web, MySQL geht, e-mail kann ich noch nicht richtig pr?fen. Es sind ja einige, da ich den * als alle configs deute, kommen au?er der folgend abgebildeten 'lighttpd.conf' noch weitere der 10 Stck. unter 'conf-available' in Frage? Ich dachte er w?re vielleicht ein f?r Fachleute leicht zu erkennender Fehler gewesen. ############################################################################### # Default lighttpd.conf for Froxlor. ############################################################################### var.basedir = "/var/www" var.logdir = "/var/log/lighttpd" var.statedir = "/var/lib/lighttpd" server.modules = ( "mod_rewrite", "mod_redirect", "mod_alias", "mod_access", "mod_auth", "mod_fastcgi", "mod_cgi", "mod_accesslog" ) server.username = "www-data" server.groupname = "www-data" server.document-root = var.basedir server.pid-file = "/var/run/lighttpd.pid" accesslog.filename = var.logdir + "/access.log" server.errorlog = var.logdir + "/error.log" server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") server.name = "lvps62-112-144-103.my-simplyroot.de" server.port = 80 server.bind = "62.112.144.103" url.access-deny = ("~", ".inc") fastcgi.server = ( ".php" => ( "localhost" => ( "socket" => "/tmp/lighttpd-fcgi-sock-lighttpd", "broken-scriptfilename" => "enable", "bin-path" => "/usr/bin/php5-cgi", "min-procs" => 1, "max-procs" => 1, "max-load-per-proc" => 4, "idle-timeout" => 60, "bin-environment" => ( "UID" => "www-data", "GID" => "www-data", "PHP_FCGI_CHILDREN" => "0", "PHP_FCGI_MAX_REQUESTS" => "10000" ), "bin-copy-environment" => ( "" ) ) ) ) #### external configuration files ## mimetype mapping include_shell "/usr/share/lighttpd/create-mime.assign.pl" **** include_shell "cat /etc/apache2/sites-enabled/*.conf" **** Die error-log schreibt zur Zeit des letzten Fehlers: 2011-03-21 16:16:50: (server.c.1475) server stopped by UID = 0 PID = 23904 Antonius Link to comment Share on other sites More sharing options...
d00p Posted March 21, 2011 Share Posted March 21, 2011 include_shell "cat /etc/apache2/sites-enabled/*.conf" Pfad im Panel nicht angepasst? Link to comment Share on other sites More sharing options...
toni Posted March 21, 2011 Author Share Posted March 21, 2011 Hallo Kann ich zur Zeit nicht pr?fen, da beide Webserver gerade nicht laufen. lighttpd noch nicht, obwohl ohne Fehler startend und Apache startet mit Fehler. Ich habe im Paneel alle Einstellungen auf lighttpd ge?ndert und seither will Apache nicht mehr. Gruss Antonius Link to comment Share on other sites More sharing options...
d00p Posted March 22, 2011 Share Posted March 22, 2011 Ich habe im Paneel alle Einstellungen auf lighttpd ge?ndert und seither will Apache nicht mehr. Na das wundert mich jetzt irgendwie mal garnicht. Trotzdem hast du anscheinend das ein oder andere ?bersehen. Log dich halt direkt auf der Shell in die mysql-db und ?ndere entsprechende Eintr?ge in der Tabelle 'panel_settings' Link to comment Share on other sites More sharing options...
toni Posted March 22, 2011 Author Share Posted March 22, 2011 Hallo Habe mal schnell die DB mit XAMPP ge?ffnet und die Tabelle exportiert. Hier und da lie?t man Apache... INSERT INTO `panel_settings` (`settingid`, `settinggroup`, `varname`, `value`) VALUES (1, 'session', 'sessiontimeout', '1200'), (2, 'panel', 'adminmail', 'admin@lvps62-112-144-103.my-simplyroot.de'), (3, 'panel', 'phpmyadmin_url', ''), (4, 'customer', 'accountprefix', 'web'), (5, 'customer', 'ftpprefix', 'ftp'), (6, 'customer', 'mysqlprefix', 'sql'), (7, 'system', 'lastaccountnumber', '0'), (8, 'system', 'lastguid', '10001'), (9, 'system', 'documentroot_prefix', '/var/customers/webs/'), (10, 'system', 'logfiles_directory', '/var/customers/logs/'), (11, 'system', 'ipaddress', '62.112.144.103'), (12, 'system', 'apachereload_command', '/etc/init.d/lighttpd reload'), (13, 'system', 'last_traffic_run', '1300748402'), (14, 'system', 'vmail_uid', '2000'), (15, 'system', 'vmail_gid', '2000'), (16, 'system', 'vmail_homedir', '/var/customers/mail/'), (17, 'system', 'bindconf_directory', '/etc/bind/'), (18, 'system', 'bindreload_command', '/etc/init.d/bind9 reload'), (19, 'panel', 'version', '0.9.18.1'), (20, 'system', 'hostname', 'lvps62-112-144-103.my-simplyroot.de'), (21, 'login', 'maxloginattempts', '3'), (22, 'login', 'deactivatetime', '900'), (23, 'panel', 'webmail_url', ''), (24, 'panel', 'webftp_url', ''), (25, 'panel', 'standardlanguage', 'Deutsch'), (26, 'system', 'mysql_access_host', '127.0.0.1,localhost,62.112.144.103'), (27, 'panel', 'pathedit', 'Manual'), (28, 'system', 'lastcronrun', '1300639876'), (29, 'panel', 'paging', '20'), (30, 'system', 'defaultip', '1'), (31, 'system', 'phpappendopenbasedir', '/tmp/'), (32, 'panel', 'natsorting', '1'), (33, 'system', 'deactivateddocroot', ''), (34, 'system', 'mailpwcleartext', '0'), (35, 'system', 'last_tasks_run', '1300814402'), (36, 'customer', 'ftpatdomain', '0'), (37, 'system', 'nameservers', ''), (38, 'system', 'mxservers', ''), (39, 'system', 'mod_log_sql', '0'), (40, 'system', 'mod_fcgid', '0'), (41, 'panel', 'sendalternativemail', '0'), (42, 'system', 'apacheconf_vhost', '/etc/apache2/sites-enabled/'), (43, 'system', 'apacheconf_diroptions', '/etc/apache2/sites-enabled/'), (44, 'system', 'apacheconf_htpasswddir', '/etc/apache2/froxlor-htpasswd/'), (45, 'system', 'webalizer_quiet', '2'), (46, 'ticket', 'noreply_email', 'NO-REPLY@b1n.de'), (47, 'ticket', 'worktime_all', '1'), (48, 'ticket', 'worktime_begin', '00:00'), (49, 'ticket', 'worktime_end', '23:59'), (50, 'ticket', 'worktime_sat', '0'), (51, 'ticket', 'worktime_sun', '0'), (52, 'ticket', 'archiving_days', '5'), (53, 'system', 'last_archive_run', '000000'), (54, 'ticket', 'enabled', '0'), (55, 'ticket', 'concurrently_open', '5'), (56, 'ticket', 'noreply_name', 'Froxlor Support'), (57, 'system', 'mod_fcgid_configdir', '/var/www/php-fcgi-scripts'), (58, 'system', 'mod_fcgid_tmpdir', '/var/customers/tmp'), (59, 'ticket', 'reset_cycle', '2'), (60, 'panel', 'no_robots', '1'), (61, 'logger', 'enabled', '1'), (62, 'logger', 'log_cron', '0'), (63, 'logger', 'logfile', ''), (64, 'logger', 'logtypes', 'syslog,mysql'), (65, 'logger', 'severity', '1'), (66, 'system', 'ssl_cert_file', '/etc/apache2/apache2.pem'), (67, 'system', 'use_ssl', '0'), (68, 'system', 'openssl_cnf', '[ req ]\r\ndefault_bits = 1024\r\ndistinguished_name = req_distinguished_name\r\nattributes = req_attributes\r\nprompt = no\r\noutput_password =\r\ninput_password =\r\n[ req_distinguished_name ]\r\nC = DE\r\nST = froxlor\r\nL = froxlor \r\nO = Testcertificate\r\nOU = froxlor \r\nCN = @@domain_name@@\r\nemailAddress = @@email@@ \r\n[ req_attributes ]\r\nchallengePassword =\r\n'), (69, 'system', 'default_vhostconf', ''), (70, 'system', 'mail_quota_enabled', '0'), (71, 'system', 'mail_quota', '100'), (72, 'panel', 'decimal_places', '4'), (73, 'dkim', 'use_dkim', '0'), (74, 'system', 'webalizer_enabled', '1'), (75, 'system', 'awstats_enabled', '0'), (76, 'dkim', 'dkim_prefix', '/etc/postfix/dkim/'), (77, 'dkim', 'dkim_domains', 'domains'), (78, 'dkim', 'dkim_dkimkeys', 'dkim-keys.conf'), (79, 'dkim', 'dkimrestart_command', '/etc/init.d/dkim-filter restart'), (80, 'panel', 'unix_names', '1'), (81, 'panel', 'allow_preset', '1'), (82, 'panel', 'allow_preset_admin', '0'), (83, 'system', 'httpuser', 'www-data'), (84, 'system', 'httpgroup', 'www-data'), (85, 'system', 'webserver', 'lighttpd'), (86, 'autoresponder', 'autoresponder_active', '0'), (87, 'autoresponder', 'last_autoresponder_run', '0'), (88, 'admin', 'show_version_login', '1'), (89, 'admin', 'show_version_footer', '0'), (90, 'system', 'mod_fcgid_wrapper', '1'), (91, 'system', 'mod_fcgid_starter', '0'), (92, 'system', 'mod_fcgid_peardir', '/usr/share/php/:/usr/share/php5/'), (93, 'system', 'index_file_extension', 'html'), (94, 'aps', 'items_per_page', '20'), (95, 'aps', 'upload_fields', '5'), (96, 'aps', 'aps_active', '0'), (97, 'aps', 'php-extension', ''), (98, 'aps', 'php-configuration', ''), (99, 'aps', 'webserver-htaccess', ''), (100, 'aps', 'php-function', ''), (101, 'aps', 'webserver-module', ''), (102, 'session', 'allow_multiple_login', '0'), (103, 'panel', 'allow_domain_change_admin', '0'), (104, 'panel', 'allow_domain_change_customer', '0'), (105, 'system', 'mod_fcgid_maxrequests', '250'), (106, 'system', 'ssl_key_file', '/etc/apache2/apache2.key'), (107, 'system', 'ssl_ca_file', ''), (108, 'panel', 'frontend', 'froxlor'), (109, 'spf', 'use_spf', '0'), (110, 'spf', 'spf_entry', '@ IN TXT "v=spf1 a mx -all"'), (111, 'system', 'debug_cron', '0'), (112, 'panel', 'password_min_length', '0'), (113, 'system', 'store_index_file_subs', '1'), (114, 'panel', 'adminmail_defname', 'Froxlor Administrator'), (115, 'panel', 'adminmail_return', 'anxxxo@gmail.com'), (116, 'dkim', 'dkim_algorithm', 'all'), (117, 'dkim', 'dkim_add_adsp', '1'), (118, 'dkim', 'dkim_keylength', '1024'), (119, 'dkim', 'dkim_servicetype', '0'), (120, 'dkim', 'dkim_add_adsppolicy', '1'), (121, 'dkim', 'dkim_notes', ''), (122, 'system', 'stdsubdomain', ''), (123, 'system', 'awstats_path', '/usr/bin/'), (124, 'system', 'awstats_conf', '/etc/awstats/'), (125, 'system', 'defaultttl', '604800'), (126, 'defaultwebsrverrhandler', 'enabled', '0'), (127, 'defaultwebsrverrhandler', 'err401', ''), (128, 'defaultwebsrverrhandler', 'err403', ''), (129, 'defaultwebsrverrhandler', 'err404', ''), (130, 'defaultwebsrverrhandler', 'err500', ''), (131, 'ticket', 'default_priority', '2'), (132, 'system', 'mod_fcgid_defaultini', '1'), (133, 'system', 'ftpserver', 'proftpd'), (134, 'customredirect', 'enabled', '1'), (135, 'customredirect', 'default', '1'), (136, 'system', 'dns_createmailentry', '0'), (137, 'system', 'froxlordirectlyviahostname', '0'), (138, 'panel', 'password_regex', ''), (139, 'system', 'perl_path', '/usr/bin/perl'), (140, 'system', 'mod_fcgid_ownvhost', '0'), (141, 'system', 'mod_fcgid_httpuser', 'froxlorlocal'), (142, 'system', 'mod_fcgid_httpgroup', 'froxlorlocal'), (143, 'perl', 'suexecworkaround', '0'), (144, 'perl', 'suexecpath', '/var/www/cgi-bin/'), (145, 'system', 'awstats_awstatspath', '/usr/bin/'), (146, 'system', 'mod_fcgid_defaultini_ownvhost', '1'), (147, 'system', 'awstats_icons', '/usr/share/awstats/icon/'), (148, 'system', 'ssl_cert_chainfile', ''), (149, 'login', 'domain_login', '0'), (150, 'system', 'nginx_php_backend', '127.0.0.1:8888'), (151, 'system', 'perl_server', 'unix:/var/run/nginx/cgiwrap-dispatch.sock'), (152, 'system', 'phpreload_command', ''), (153, 'phpfpm', 'enabled', '0'), (154, 'phpfpm', 'configdir', '/etc/php-fpm.d/'), (155, 'phpfpm', 'reload', '/etc/init.d/php-fpm restart'), (156, 'phpfpm', 'pm', 'static'), (157, 'phpfpm', 'max_children', '1'), (158, 'phpfpm', 'start_servers', '20'), (159, 'phpfpm', 'min_spare_servers', '5'), (160, 'phpfpm', 'max_spare_servers', '35'), (161, 'phpfpm', 'max_requests', '0'), (162, 'phpfpm', 'tmpdir', '/var/customers/tmp/'), (163, 'phpfpm', 'peardir', '/usr/share/php/:/usr/share/php5/'), (164, 'phpfpm', 'enabled_ownvhost', '0'), (165, 'phpfpm', 'vhost_httpuser', 'froxlorlocal'), (166, 'phpfpm', 'vhost_httpgroup', 'froxlorlocal'), (167, 'system', 'report_enable', '1'), (168, 'system', 'report_webmax', '90'), (169, 'system', 'report_trafficmax', '90'), (170, 'panel', 'default_theme', 'Froxlor'); Beim Start von Apache wird ?brigens das angezeigt: lvps62-112-144-103:~# /etc/init.d/apache2 start Starting web server: apache2Syntax error on line 5 of /etc/apache2/sites-enabled /10_froxlor_ipandport_62.112.144.103.80.conf: Invalid command '$SERVER["socket"]', perhaps misspelled or defined by a module not included in the server configuration w?rend Zeile 5 $SERVER["socket"] == "62.112.144.103:80" { ist Antonius Link to comment Share on other sites More sharing options...
Scarya Posted March 22, 2011 Share Posted March 22, 2011 ?hm... du solltest einfach noch mal komplett von vorne anfangen. Deine Datenbank ist inkonsistent und deine Settings fehlerhaft. Daran weiter rumzudoktorn bringt nichts und kostet dich/uns nur Zeit. Entscheide dich am Anfang f?r einen Webserver! Und l?sche/leere die froxlor Datenbank. Link to comment Share on other sites More sharing options...
d00p Posted March 22, 2011 Share Posted March 22, 2011 (42, 'system', 'apacheconf_vhost', '/etc/apache2/sites-enabled/'), (43, 'system', 'apacheconf_diroptions', '/etc/apache2/sites-enabled/'), (44, 'system', 'apacheconf_htpasswddir', '/etc/apache2/froxlor-htpasswd/'), k?mmer dich um die, dann tut das auch @scarya nett den user gleich zum aufgeben zu ?berreden wenn die l?sung nicht sonderlich kompliziert ist Link to comment Share on other sites More sharing options...
Scarya Posted March 23, 2011 Share Posted March 23, 2011 k?mmer dich um die, dann tut das auch @scarya nett den user gleich zum aufgeben zu ?berreden wenn die l?sung nicht sonderlich kompliziert ist Ich ?berrede ihn nicht, ich bin nur der Meinung, dass er als Neuling besser von vorne beginnt, um es sauber durch zu ziehen. Au?er die DB Eintr?ge zu ?ndern, muss er auch die falschen Configs noch l?schen. Aber danke f?r diesen konstruktiven Kommentar an mich. Link to comment Share on other sites More sharing options...
toni Posted March 23, 2011 Author Share Posted March 23, 2011 Hallo So ich habe nicht mehr froxlor. Es sollte ja mein letzter Versuche vorerst sein. Gruss Antonius Link to comment Share on other sites More sharing options...
Scarya Posted March 21, 2011 Share Posted March 21, 2011 Wie w?re es, wenn du uns die Configs zeigst? Ich habe keine Glaskugel, die mir verr?t, wo dein Problem ist. Hast du die Config aus dem Panel kopiert? An welcher Stelle des Setups bist du denn? Link to comment Share on other sites More sharing options...
Question
toni
Hallo
Ich will doch Lighttpd Webserver verwenden.
Leider kommt es nach restart zu einer Fehlermeldung.
lvps62-112-144-103:~# /etc/init.d/lighttpd restart
Stopping web server: lighttpd.
Starting web server: lighttpd2011-03-21 16:56:34: (configfile.c.796) source: cat /etc/apache2/sites-enabled/*.conf line: 5 pos: 3 invalid character in variable name
2011-03-21 16:56:34: (configfile.c.852) configfile parser failed at: (EOL)
2011-03-21 16:56:34: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 61 pos: 1 parser failed somehow near here: (EOL)
failed!
Antonius
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.