Partage web impossible

r2d2

Membre confirmé
16 Mai 2002
19
0
Visiter le site
Salut à tous!
Ben en fait mon prob est:
J'arrive plus à activé le partage web sur 10.1.4! Je clique sur "démarrer", puis ça marque "démarage du partage web" et là, plus rien ne se passe! Le prob est survenu après que j'aille modifié le fichier httpd.conf pour activer le php. J'ai remis le fichier d'origine, mais ça marche toujours pas. Qqn aurait une idée? Merci  
confused.gif
confused.gif
 
Oui passe par le Terminal,

tu rentres la commande sudo apachectl start

tu mets ton mot de passe admin et tu regardes s'il te met un message d'erreur ou pas
wink.gif
 
J'ai fais la commande dans le terminal , et il me dis:

Welcome to Darwin!
[localhost:~] lucap% sudo apachectl start

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:

#1) Respect the privacy of others.
#2) Think before you type.

Password:
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/.DS_Store
Syntax error on line 2 of /private/etc/httpd/users/.DS_Store:
Invalid command '<plist', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
[localhost:~] lucap%


Voila, any idea?
frown.gif
shocked.gif
confused.gif
 
<BLOCKQUOTE><font size="1" face="Verdana, Geneva">quote:</font><HR>Posté à l'origine par r2d2:

Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/.DS_Store
Syntax error on line 2 of /private/etc/httpd/users/.DS_Store:
Invalid command '&lt;plist', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
[localhost:~] lucap%


Voila, any idea?
frown.gif
shocked.gif
confused.gif
<HR></BLOCKQUOTE>

Ben voui cela veut dire qu'il y a une erreur au niveau de la ligne 2 du fichier /private/etc/httpd/users/.DS_Store ouvre le et regarde la ligne deux et tu nous fai un copier coller de la chose comme ça on va pouvoire te dire ce qu'il faut que tu corriges...
 
Voilà tout le fichier .DS_Store qui pose prob. Je me demandais si tout ce "cheni" vers la fin est normal.. Ah, et pour précision, j'ai 10.1.4 avec la màj sécurité 4.2002 (php).

<BLOCKQUOTE><font size="1" face="Verdana, Geneva">quote:</font><HR> opertyList.dtd"&gt;
&lt;plist ven&gt;;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;Location&lt;/key&gt;
&lt;string&gt;0, 44&lt;/string&gt;
&lt;key&gt;FileViewer.LastWindowLocation&lt;/key&gt;
&lt;string&gt;467, 219, 1'090, 689&lt;/string&gt;
&lt;key&gt;FileViewer.Statusbar&lt;/key&gt;
&lt;true/&gt;
&lt;key&gt;InspectorWindow.Location&lt;/key&gt;
&lt;string&gt;4, 42&lt;/string&gt;
&lt;key&gt;StandardViewOptions&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;icnv&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;ArrangeBy&lt;/key&gt;
&lt;string&gt;dnam&lt;/string&gt;
&lt;key&gt;BackgroundType&lt;/key&gt;
&lt;string&gt;DefB&lt;/string&gt;
&lt;key&gt;IconSize&lt;/key&gt;
&lt;integer&gt;32&lt;/integer&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;key&gt;TrashOptions&lt;/key&gt;
&lt;dict/&gt;
&lt;key&gt;ViewOptionsWindow.Location&lt;/key&gt;
&lt;string&gt;4, 42&lt;/string&gt;
&lt;key&gt;WindowState&lt;/key&gt;
&lt;array/&gt;
&lt;key&gt;ZoomRects&lt;/key&gt;
&lt;false/&gt;
&lt;key&gt;recent-folders&lt;/key&gt;
&lt;array&gt;
&lt;dict&gt;
&lt;key&gt;file-data&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;_CFURLAliasData&lt;/key&gt;
&lt;data&gt;
AAAAAAEuAAIAARt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;on&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;Ilocblobon&gt;&lt;caron&gt;t;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;ocblob&gt;&lt;caron&gt;on&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;>;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;lcaron&gt;&lt;caron&gt;n&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&g t;R> BWH1AATqqwACACYgSEQgUG93ZXIgTWFjIEc0OlVzZXJz
Omx1Y2FwOkRvY3VtZW50cwAOABQACQBEAG8AYwB1AG0A
ZQBuAHQAcwAPACIAEAAgAEgARAAgAFAAbwB3AGUAcgAg
AE0AYQBjACAARwA0ABAACAAAt9kRbAAAABEACAAAt7XT
cwAA//8AAA==
&lt;/data&gt;
&lt;key&gt;_CFURLString&lt;/key&gt;
&lt;string&gt;file://localhost/Users/lucap/Documents/&lt;/string&gt;
&lt;key&gt;_CFURLStringType&lt;/key&gt;
&lt;integer&gt;15&lt;/integer&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;dict&gt;
&lt;key&gt;file-data&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;_CFURLAliasData&lt;/key&gt;
&lt;data&gt;
AAAAAAEsAAIAARAgSEQgUG93ZXIgTWFjIEc0AAAAAAAA
AAAAAAC32S2MSCsAAAAAAAIMQXBwbGljYXRpb25zAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAHPOLd4xRQAPQFmAwMDX///
//8AAAAgAAAAAAAAAAAAAAAAAAAAECBIRCBQb3dlciBN
YWMgRzQAAgAdIEhEIFBvd2VyIE11Y2FwAAABAAgA
BWH1AATqqwACACYgSEQgUG93ZXIgTWFjIEc0OlVzZXJz
Omx1Y2FwOkRvY3VtZW50cwAOABQACQBEAG8AYwB1AG0A
ZQBuAHQAcwAPACIAEAAgAEgARAAgAFAAbwB3AGUAcgAg
AE0AYQBjACAARwA0ABAACAAAt9kRbAAAABEACAAAt7XT
cwAA//8AAA==
&lt;/data&gt;
&lt;key&gt;_CFURLString&lt;/key&gt;
&lt;string&gt;file://localhost/Users/lucap/Documents/&lt;/string&gt;
&lt;key&gt;_CFURLStringType&lt;/key&gt;
&lt;integer&gt;15&lt;/integer&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;dict&gt;
&lt;key&gt;file-data&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;_CFURLAliasData&lt;/key&gt;
&lt;data&gt;
AAAAAAEsAAIAARAgSEQgUG93ZXIgTWFjIEc0AAAAAAAA
AAAAAAC32S2MSCsAAAAAAAIMQXBwbGljYXRpb25zAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAHPOLd4xRQAPQFmAwMDX///
//8AAAAgAAAAAAAAAAAAAAAAAAAAECBIRCBQb3dlciBN
YWMgRzQAAgAdIEhEIFBvd2VyIE1 <HR></BLOCKQUOTE>

Voila tout
 
Voilà tout le fichier .DS_Store qui pose prob. Je me demandais si tout ce "cheni" vers la fin est normal.. Ah, et pour précision, j'ai 10.1.4 avec la màj sécurité 4.2002 (php).

<BLOCKQUOTE><font size="1" face="Verdana, Geneva">quote:</font><HR> opertyList.dtd"&gt;
&lt;plist ven&gt;;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;Location&lt;/key&gt;
&lt;string&gt;0, 44&lt;/string&gt;
&lt;key&gt;FileViewer.LastWindowLocation&lt;/key&gt;
&lt;string&gt;467, 219, 1'090, 689&lt;/string&gt;
&lt;key&gt;FileViewer.Statusbar&lt;/key&gt;
&lt;true/&gt;
&lt;key&gt;InspectorWindow.Location&lt;/key&gt;
&lt;string&gt;4, 42&lt;/string&gt;
&lt;key&gt;StandardViewOptions&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;icnv&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;ArrangeBy&lt;/key&gt;
&lt;string&gt;dnam&lt;/string&gt;
&lt;key&gt;BackgroundType&lt;/key&gt;
&lt;string&gt;DefB&lt;/string&gt;
&lt;key&gt;IconSize&lt;/key&gt;
&lt;integer&gt;32&lt;/integer&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;key&gt;TrashOptions&lt;/key&gt;
&lt;dict/&gt;
&lt;key&gt;ViewOptionsWindow.Location&lt;/key&gt;
&lt;string&gt;4, 42&lt;/string&gt;
&lt;key&gt;WindowState&lt;/key&gt;
&lt;array/&gt;
&lt;key&gt;ZoomRects&lt;/key&gt;
&lt;false/&gt;
&lt;key&gt;recent-folders&lt;/key&gt;
&lt;array&gt;
&lt;dict&gt;
&lt;key&gt;file-data&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;_CFURLAliasData&lt;/key&gt;
&lt;data&gt;
AAAAAAEuAAIAARt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;on&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;Ilocblobon&gt;&lt;caron&gt;t;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;ocblob&gt;&lt;caron&gt;on&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;>;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;lcaron&gt;&lt;caron&gt;n&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&gt;&lt;caron&g t;R> BWH1AATqqwACACYgSEQgUG93ZXIgTWFjIEc0OlVzZXJz
Omx1Y2FwOkRvY3VtZW50cwAOABQACQBEAG8AYwB1AG0A
ZQBuAHQAcwAPACIAEAAgAEgARAAgAFAAbwB3AGUAcgAg
AE0AYQBjACAARwA0ABAACAAAt9kRbAAAABEACAAAt7XT
cwAA//8AAA==
&lt;/data&gt;
&lt;key&gt;_CFURLString&lt;/key&gt;
&lt;string&gt;file://localhost/Users/lucap/Documents/&lt;/string&gt;
&lt;key&gt;_CFURLStringType&lt;/key&gt;
&lt;integer&gt;15&lt;/integer&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;dict&gt;
&lt;key&gt;file-data&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;_CFURLAliasData&lt;/key&gt;
&lt;data&gt;
AAAAAAEsAAIAARAgSEQgUG93ZXIgTWFjIEc0AAAAAAAA
AAAAAAC32S2MSCsAAAAAAAIMQXBwbGljYXRpb25zAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAHPOLd4xRQAPQFmAwMDX///
//8AAAAgAAAAAAAAAAAAAAAAAAAAECBIRCBQb3dlciBN
YWMgRzQAAgAdIEhEIFBvd2VyIE11Y2FwAAABAAgA
BWH1AATqqwACACYgSEQgUG93ZXIgTWFjIEc0OlVzZXJz
Omx1Y2FwOkRvY3VtZW50cwAOABQACQBEAG8AYwB1AG0A
ZQBuAHQAcwAPACIAEAAgAEgARAAgAFAAbwB3AGUAcgAg
AE0AYQBjACAARwA0ABAACAAAt9kRbAAAABEACAAAt7XT
cwAA//8AAA==
&lt;/data&gt;
&lt;key&gt;_CFURLString&lt;/key&gt;
&lt;string&gt;file://localhost/Users/lucap/Documents/&lt;/string&gt;
&lt;key&gt;_CFURLStringType&lt;/key&gt;
&lt;integer&gt;15&lt;/integer&gt;
&lt;/dict&gt;
&lt;/dict&gt;
&lt;dict&gt;
&lt;key&gt;file-data&lt;/key&gt;
&lt;dict&gt;
&lt;key&gt;_CFURLAliasData&lt;/key&gt;
&lt;data&gt;
AAAAAAEsAAIAARAgSEQgUG93ZXIgTWFjIEc0AAAAAAAA
AAAAAAC32S2MSCsAAAAAAAIMQXBwbGljYXRpb25zAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAHPOLd4xRQAPQFmAwMDX///
//8AAAAgAAAAAAAAAAAAAAAAAAAAECBIRCBQb3dlciBN
YWMgRzQAAgAdIEhEIFBvd2VyIE1 <HR></BLOCKQUOTE>

Voila tout
 
Le problème ce situe à la ligne deux (dixit ton message d'erreur) comme ça a vu de nez je dirais que la balise &lt;plist n'est pas fermée...donc tu replaces &lt;plit par &lt;plist&gt; (mais tu laisses le reste de la ligne) et tu devras surement faire cette modif avec les droits root
wink.gif
 
Ben maintenant, ça change pas grand chose:
<BLOCKQUOTE><font size="1" face="Verdana, Geneva">quote:</font><HR>
Welcome to Darwin!
[localhost:~] lucap% sudo apachectl start
Password:
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/.DS_Store
Syntax error on line 2 of /private/etc/httpd/users/.DS_Store:
Invalid command '&lt;plist&gt;', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
[localhost:~] lucap%
<HR></BLOCKQUOTE>
???
 
Ben maintenant, ça change pas grand chose:
<BLOCKQUOTE><font size="1" face="Verdana, Geneva">quote:</font><HR>
Welcome to Darwin!
[localhost:~] lucap% sudo apachectl start
Password:
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/.DS_Store
Syntax error on line 2 of /private/etc/httpd/users/.DS_Store:
Invalid command '&lt;plist&gt;', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
[localhost:~] lucap%
<HR></BLOCKQUOTE>
???
 
Je ne sais pas très bien ce que tu risques mais à mon avis pas grand chose, efface ce fichier (ou met le ds un autre dossier) et restart ton serveur pour voir
wink.gif
 
Oui passe par le Terminal,

tu rentres la commande sudo apachectl start

tu mets ton mot de passe admin et tu regardes s'il te met un message d'erreur ou pas
wink.gif

Bonjour,

Suite au même problème rencontré sur Mac os x Lion, j'ai suivi ce conseil, mais aucun message d'erreur n'apparaît …

Sauriez-vous m'indiquer que faire dans ce cas s'il vous plaît ?

Merci d'avance.
 
L'un des plus beaux déterrages de sujet depuis que je modère : 9 ans révolus... :D

Quel est ton problème, au juste ?
 
J'apprécie le compliment :) Et suis en même temps désolé pour les 2 semaines de retard concernant ma réponse (n'ayant pas reçu de notification mail).

En fait, mon problème est le suivant :

Je souhaite activer le partage web via "partage" dans préférences système.

Mais quand je coche la case en question, l'icône ne passe pas au vert et ; (si elle ne revient pas automatiquement au gris) ; reste au orange en affichant "Démarrage de partage Web &#8230;".

De ce fait, je ne peux partager un site web via le "apache" d'origine.

Je ne sais pas si vous connaissez la solution mais je vous remercie d'avance de vous être pencher sur mon cas !
 
Si, dans le Terminal, tu tapes la commande indiquée, il se passe quoi : ça te rend la main sans plus d'information ?
Si tu tapes
Bloc de code:
ps ax | grep httpd
ça donne quoi ?
 
Mais quand je coche la case en question, l'icône ne passe pas au vert et ; (si elle ne revient pas automatiquement au gris) ; reste au orange en affichant "Démarrage de partage Web …".
J'ai eu un truc similaire et j'ai appliqué la vieille bonne méthode du "je clique comme un malade" qui consiste à "cliquer-recliquer-et-re-recliquer-jusqu'à-tant-que-ça-marche-ßø®&#8706;€l-&#8706;€-m€®&#8706;€"