|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Invité de passage
![]() Inscription : juin 2007 Messages : 4 ![]() |
Bonjour,
J'ai installé serveur en version 12 et j'ai besoin d'un XP Server, comment l'installer? Merci de votre aide |
|
|
00
|
|
|
#2 | ||
![]() ![]() |
Il faut premièrement ajouter ce serveur au fichier interface (ou sql.ini) local (cad où le dataserver reside).
Le XP server doit impérativement s'appeler <nom_server>_XP, le tout en majuscules. Ensuite, il faut ajouter le serveur au dataserver via sp_addserver: Code :
Michael
__________________
Michael Peppler Membre de TeamSybase - www.teamsybase.com "A successful [software] tool is one that was used to do something undreamed of by its author." -- S. C. Johnson |
||
|
|
00
|
|
|
#3 |
|
Invité de passage
![]() Inscription : juin 2007 Messages : 4 ![]() |
j'ai effectués les manips.
(verif sql.ini, je suis sur OS Window, il y a bien le service sybase XP mais etat arrété, si j'essaye de le lancer j'ai une erreur 1067:le process s'est arrété inopinement) quand j'essaye de mettre la variable xp_cmdshell context à 0 message d'erreur "erreur à l'ouverture 'une session sur serveur_XP" avec detail de l'erreur: com.sybase.jdbc3.jdbc.SybSQLException: Echec de l'ouverture d'une session vers le site 'SERVEPIMED_XP'. at com.sybase.jdbc3.tds.Tds.processEed(Tds.java:2942) at com.sybase.jdbc3.tds.Tds.nextResult(Tds.java:2246) at com.sybase.jdbc3.jdbc.ResultGetter.nextResult(ResultGetter.java:69) at com.sybase.jdbc3.jdbc.SybStatement.nextResult(SybStatement.java:220) at com.sybase.jdbc3.jdbc.SybStatement.nextResult(SybStatement.java:203) at com.sybase.jdbc3.jdbc.SybStatement.getMoreResults(SybStatement.java:954) at com.sybase.aseplugin.sql.ASConnection.executeQuery(ASConnection.java:536) at com.sybase.aseplugin.sql.ASConnection.executeCommand(ASConnection.java:451) at com.sybase.aseplugin.so.ServerConfigDataSO.configureServer(ServerConfigDataSO.java:160) at com.sybase.aseplugin.bo.prop.ServerPropConfigPage.deploy(ServerProperties.java:690) at com.sybase.aseplugin.bo.prop.ASEBasePropertiesDialog2.activateDeployAndRefresh(ASEBasePropertiesDialog2.java:83) at com.sybase.aseplugin.bo.prop.ASEBasePropertiesDialog2.onApply(ASEBasePropertiesDialog2.java:60) at com.sybase.central.viewer.ScjPropertiesDialog.onApply(ScjPropertiesDialog.java:202) at com.sybase.central.viewer.ScjPropertiesDialog.actionPerformed(ScjPropertiesDialog.java:289) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) Merci |
|
|
00
|
|
|
#4 |
|
Membre Expert
![]() Inscription : juin 2007 Messages : 1 056 ![]() |
le xp server ne se démarre pas manuellement, il est lancé lors du premier appel à une procédure xp_.
Il faut également mettre un compte NT de démarrage différent de LocalSystem (en général, il faut utiliser le compte NT utilisé pour démarrer le service ASE) Il y a peut-être un message plus précis dans le log du ASE ou de l'XP server (%SYBASE%\%SYBASE_ASE%\install par défaut)
__________________
Emmanuel T. |
|
|
00
|
|
|
#5 | |
![]() ![]() |
Citation:
__________________
Sr DBA Oracle / Sybase / MS-SQL / DB2 / Informix / Postgresql Administrateur SAP Attention : pas de réponse technique par MP : pensez aux autres, passez par les forums ! |
|
|
|
00
|
|
|
#6 |
|
Membre Expert
![]() Inscription : juin 2007 Messages : 1 056 ![]() |
Oui LocalSystem passe bien (si tout démarre en LocalSystem comme vous dites).
En fait, c'est l'habitude d'avoir un compte d'installation NT pour Sybase et des xp_cmdshell qui accèdent parfois à des partages réseau ou du sybmail qui m'ont fait dire de changer le compte. Mais pour un xp_cmdshell en local, LocalSystem est suffisant.
__________________
Emmanuel T. |
|
|
00
|
|
|
#7 |
![]() ![]() |
Je voulais juste éviter l'imprécision, l'utilisation d'un compte dédié Sybase étant effectivement un Best Practice !
__________________
Sr DBA Oracle / Sybase / MS-SQL / DB2 / Informix / Postgresql Administrateur SAP Attention : pas de réponse technique par MP : pensez aux autres, passez par les forums ! |
|
|
00
|
Copyright © 2000-2012 - www.developpez.com