PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache einrichten? Eine Menge Probleme



moul
13.01.06, 09:34
Hi,
also ich habe nochmal versucht meine Apachen Server zu konfigurieren.
Aber leider bekomme ich noch immer folgende Fehlermeldung:



debian:/home/malte# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2 ... no pidfile found! not running?apache2: Could not determine the server's fully qualified domain name, using 192.168.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
debian:/home/malte#


Außerdem steht das hier in der error_log:



[Thu Jan 12 16:37:16 2006] [error] [client 127.0.0.1] File does not exist: /var/www/forum/phpmyadmin
[Thu Jan 12 16:40:05 2006] [error] [client 127.0.0.1] File does not exist: /var/www/forum
[Thu Jan 12 16:40:10 2006] [error] [client 127.0.0.1] File does not exist: /var/www/forum
[Thu Jan 12 16:40:26 2006] [notice] caught SIGTERM, shutting down
[Thu Jan 12 16:40:27 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-15 configured -- resuming normal operations
[Thu Jan 12 16:42:48 2006] [notice] caught SIGTERM, shutting down


Und das steht in der httpd.conf:



<VirtualHost localhost>
ServerName www.forum.de
ServerAlias forum.de *.forum.de
DocumentRoot /var/www/
</VirtualHost>


Jetzt weiß ich nicht woran es liegt.
Könnt ihr mir vielleicht sagen was ich jetzt noch ändern muss damit es vielleicht klappt?
Außerdem würde ich gerne wisseb was ich in meiner PHP Config Datei ändern muss, damit alles klappt und ich auch mal mit PHPMYADMIN arbeiten kann:



<?php
/**
* Debian local configuration file
*
* This file overrides global configuration file
*/
/**
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
// Uncomment to override the default configuration
//$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
//$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
//$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
//$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
//$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
//$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// // (requires PHP >= 4.3.0)
//$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// // (this user must have read-only
//$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// // and "mysql/db" tables).
// // The controluser is also
// // used for all relational
// // features (pmadb)
//$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
//$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
//$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// // with 'config' auth_type)
//$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// // this db is displayed in left frame
// // It may also be an array of db-names, where sorting order is relevant.
//$cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
//
//$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';// Database used for Relation, Bookmark and PDF Features
// // (see scripts/create_tables.sql)
// // - leave blank for no support
// // DEFAULT: 'phpmyadmin'
//$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';// Bookmark table
// // - leave blank for no bookmark support
// // DEFAULT: 'pma_bookmark'
//$cfg['Servers'][$i]['relation'] = 'pma_relation';// table to describe the relation between links (see doc)
// // - leave blank for no relation-links support
// // DEFAULT: 'pma_relation'
//$cfg['Servers'][$i]['table_info'] = 'pma_table_info';// table to describe the display fields
// // - leave blank for no display fields support
// // DEFAULT: 'pma_table_info'
//$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';// table to describe the tables position for the PDF schema
// // - leave blank for no PDF schema support
// // DEFAULT: 'pma_table_coords'
//$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';// table to describe pages of relationpdf
// // - leave blank if you don't want to use this
// // DEFAULT: 'pma_pdf_pages'
//$cfg['Servers'][$i]['column_info'] = 'pma_column_info';// table to store column information
// // - leave blank for no column comments/mime types
// // DEFAULT: 'pma_column_info'
//$cfg['Servers'][$i]['history'] = 'pma_history';// table to store SQL history
// // - leave blank for no SQL query history
// // DEFAULT: 'pma_history'
//$cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables
// // are up to date. This prevents compatibility
// // checks and thereby increases performance.
//$cfg['Servers'][$i]['AllowRoot'] = TRUE; // whether to allow root login
//$cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use
// = '';
//$cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults
// = array();

?>


Danke

corresponder
13.01.06, 10:05
hi,

sieht so aus als würde schon ein anderer prozess den port nutzen.

was klappt bei phpmyadmin nicht?

gruss

c.

moul
13.01.06, 10:15
Wenn ich mich einloggen will, dann sagt er mir immmer das der Server nicht erreichbar ist und der Socket wahrscheinlich nicht konfiguriert sein.

corresponder
13.01.06, 10:20
sag ich doch, da läuft ein prozess und der verhindert den start vom apache und somit den start von phpmyadmin.
einfach mal mit

ps aux |grep apache (oder http)

den prozess suchen und killen oder das pidfile löschen...

gruss

c.

moul
13.01.06, 10:23
Was ist denn bitte ein pidfile ?

corresponder
13.01.06, 10:28
http://www.expertune.com/tutor.html

eine prozessnummer einfach gesprochen.

gruss

c.

marce
13.01.06, 11:18
ähm, Du bist aber schon root wenn Du den Apache starten willst?

moul
13.01.06, 11:24
ja ich starte ihn über die konsole und melde mich vorher als root an

Tomek
13.01.06, 12:20
Verschoben ins Forum "Server und Clients".