Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1689 connectés 

 


 Mot :   Pseudo :  
 
 Page :   1  2
Page Suivante
Auteur Sujet :

OCSNG - Erreur au lancement de l'agent-Linux

n°29604
zecrazytux
Posté le 11-12-2007 à 16:33:32  profilanswer
 

Reprise du message précédent :
quel est la conf du site par defaut ?  
Include /etc/apache2/default-server.conf  
 
je suppose que tu dois utiliser apache pour l'interface web d'ocs. l'installateur d'ocs configure t'il apache lui même ?


---------------
Blog photo/récits activités en montagne http://planetcaravan.net
mood
Publicité
Posté le 11-12-2007 à 16:33:32  profilanswer
 

n°29605
Ibnu-Abi2
Posté le 11-12-2007 à 16:45:34  profilanswer
 

Bonsoir,
 
 
zecrazytux, c'est en effet l'installateur d'ocs qui configure apache.
 
Voici le contenu de default-server.conf :
 
 


 
#
# Global configuration that will be applicable for all virtual hosts, unless
# deleted here, or overriden elswhere.
#
 
DocumentRoot "/srv/www/htdocs"
 
#
# Configure the DocumentRoot
#
<Directory "/srv/www/htdocs">
     # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs-2.2/mod/core.html#options
    # for more information.
Options None
     # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
AllowOverride None
     # Controls who can get stuff from this server.
Order allow,deny
 Allow from all
</Directory>
 
# Aliases: aliases can be added as needed (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL.  So "/icons" isn't aliased in this
# example, only "/icons/".  If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings.  If you
# do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "/usr/share/apache2/icons/"
 
<Directory "/usr/share/apache2/icons">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>
 
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
 
# "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/srv/www/cgi-bin">
 AllowOverride None
 Options +ExecCGI -Includes
 Order allow,deny
 Allow from all
</Directory>
 
 
# Include all *.conf files from /etc/apache2/conf.d/.
#
# This is mostly meant as a place for other RPM packages to drop in their
# configuration snippet.
#
# You can comment this out here if you want those bits include only in a
# certain virtual host, but not here.
#
Include /etc/apache2/conf.d/*.conf
 
# The manual... if it is installed ('?' means it won't complain)
Include /etc/apache2/conf.d/apache2-manual?conf
ServerName colmant-cuvelier
 
ServerAdmin root@colmant-cuvelier
 


 
 
Cordialement,
Ibnu_Abi

n°29622
zecrazytux
Posté le 11-12-2007 à 22:02:04  profilanswer
 

je ne vois rien à propos d'ocs ?!
ta conf d'apache est assez dispersée et noyée dans les commentaires inutiles :s
 
en tout cas je vois un ServerName particulier, qu'as tu dans /etc/hosts ?
y a t'il des messages d'erreur au (re)lancement d'apache (/etc/init.d/httpd start|restart ou service httpd start|restart ?


---------------
Blog photo/récits activités en montagne http://planetcaravan.net
n°29641
Ibnu-Abi2
Posté le 12-12-2007 à 10:07:14  profilanswer
 

Bonjour,

  

Rectifications, j'ai installé Apache à part, sans OCS.

 


#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#  
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

 

127.0.0.1       localhost

 

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

 

fe00::0         ipv6-localnet

 

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       colmant-cuvelier.serveur colmant-cuvelier

 
 


Pour apache, j'ai du le relancer avec YaST car je n'ai pas trouvé d'excutable httpd, ce qui est bizzare ma foi. Mais je n'ai pas rencontré de message d'erreur en tout cas.

  

Cordialement,
Ibnu_Abi

 


Message édité par Ibnu-Abi2 le 12-12-2007 à 10:11:39
n°29654
zecrazytux
Posté le 12-12-2007 à 15:31:06  profilanswer
 

tu ne sembles pas avoir configuré apache. Je suppose que tu l'as tout simplement installé avec yast.
 
ton ServerName correspond à l'ip 127.0.0.2 ce qui est étrange. peut tu me donner l'ouput d'un "ifconfig -a" ?
 
tu devrait créer ta propre conf d'apache, afin de rendre disponible les pages d'OCS (où les as tu mise ? dans /var/www ?)


---------------
Blog photo/récits activités en montagne http://planetcaravan.net
n°29762
Ibnu-Abi2
Posté le 14-12-2007 à 11:14:02  profilanswer
 

Bonjour,
 
 
 
 
Excusez ma réponse tardif.
 
Voici ce que donne ifconfig -a:  
 


 
ocsglpi:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:18:C3:07:F3
          inet addr:192.105.0.181  Bcast:192.105.0.255  Mask: 255.255.255.0
          inet6 addr: fe80::2e0:18ff:fec3:7f3/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:142737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4532 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23949894 (22.8 Mb)  TX bytes:433207 (423.0 Kb)
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:410 errors:0 dropped:0 overruns:0 frame:0
          TX packets:410 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:322317 (314.7 Kb)  TX bytes:322317 (314.7 Kb)
 
ocsglpi:~ # ifconfig -A
ifconfig: option `-A' not recognised.
ifconfig: `--help' gives usage information.
ocsglpi:~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:E0:18:C3:07:F3
          inet addr:192.105.0.181  Bcast: 192.105.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:18ff:fec3:7f3/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:143255 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24017612 (22.9 Mb)  TX bytes:436012 (425.7 Kb)
 
eth1      Link encap:Ethernet  HWaddr 00:17:9A:3B:12:58
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:145 Base address:0xa000
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask: 255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:421 errors:0 dropped:0 overruns:0 frame:0
          TX packets:421 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:324580 (316.9 Kb)  TX bytes:324580 (316.9 Kb)
 
sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 


 
 
Pour apache, les pages d'ocs, elles sont dans /var/www/htdocs
 
Comment je fais pour faire ma propre config d'Apache ?
 
 
 
Cordialement,
Ibnu_Abi

n°29764
zecrazytux
Posté le 14-12-2007 à 11:33:06  profilanswer
 

Pour apache, les pages d'ocs, elles sont dans /var/www/htdocs
 
Comment je fais pour faire ma propre config d'Apache ?
 
 
en lisant de la doc ? :)
 
déja virer tous les commentaires inutiles.
Un DocumentRoot doit pointer vers les pages d'OCS avec des droits suffisants pour que tu puisse y acceder, et le ServerName doit être un nom résolu en ton adresse ip, or là ton nom est résolu en 127.0.0.2 qui n'est pas une ip attribuée à ton serveur !
 
regarde un peu les tutoriaux de configuration d'apache sur linux, ce n'est pas ça qui manque. Après nous pourrons t'aider à paufiner le tout.


---------------
Blog photo/récits activités en montagne http://planetcaravan.net
mood
Publicité
Posté le   profilanswer
 

 Page :   1  2
Page Suivante

Aller à :
Ajouter une réponse
 

Sujets relatifs
Lancement PCErreur ASP.Net et Framework
Erreur envoi mail via Lotus Notes sous linuxMigration reseau Linux=> windows
Multicast et basculement d'interface sous linuxerreur netdiag, entrées dns erronées
[Exchange] Mails rejetés par mon serveur -> erreur 7010 xexch50erreur 3021,4 affichée par NORTON
Plus de sujets relatifs à : OCSNG - Erreur au lancement de l'agent-Linux


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR