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

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  problème ajout utilisateur oracle

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

problème ajout utilisateur oracle

n°738440
Zeurkk
Posté le 07-10-2005 à 17:59:28  profilanswer
 

Bonjour
Je vais installer oracle sur ma debian.
J'ai suivie un tutorial qui me demander de créer l'utilisateur avec la commande : "/usr/sbin/useradd -g oinstall -G dba oracle"
Le problème c'est que l'utilisateur oracle n'a pas de home, quand je me logue sur oracle j'ai ceci :

Citation :

vincent@debian:~$ su - oracle
Password:
No directory, logging in with HOME=/
-su: ulimit: open files: cannot modify limit: Operation not permitted


Après je doit éditer le fichier /home/oracle/.bash_profile, mais comme le dossier /home/oracle n'existe pas, je ne peux donc pas.
Comment faire ?
Merci

mood
Publicité
Posté le 07-10-2005 à 17:59:28  profilanswer
 

n°738629
Zeurkk
Posté le 08-10-2005 à 11:04:05  profilanswer
 

up
personne sait comment creer, modifier .. le home d'un utilisateur ?

n°738643
Zeurkk
Posté le 08-10-2005 à 11:29:19  profilanswer
 

le problème du home est resolu, mais toujours quand je veux installer oracle, quand je lance l'instalateur ça m'affiche ça :

Citation :

oracle@debian:/home/oracle/Disk1$ ./runInstaller
Starting Oracle Universal Installer...
 
Checking installer requirements...
 
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8or UnitedLinux-1.0
                                      Passed
 
 
All installer requirements met.
 
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-10-09_11-21-46AM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh:                      % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash:         $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
        echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
        echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 basedprogram that comes with the native operating system such as 'xclock':
        % <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/X11R6/bin/xclock
oracle@debian:/home/oracle/Disk1$ ./runInstaller -ignoreSysPrereqs
Starting Oracle Universal Installer...
 
Checking installer requirements...
 
Checking operating system version: must be redhat-2.1, redhat-3, SuSE-9, SuSE-8or UnitedLinux-1.0
                                      Passed
 
 
All installer requirements met.
 
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2005-10-09_11-22-36AM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh:                      % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash:         $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
        echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
        echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 basedprogram that comes with the native operating system such as 'xclock':
        % <full path to xclock.. see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
Typical path for xclock: /usr/X11R6/bin/xclock
oracle@debian:/home/oracle/Disk1$ xterm
xterm Xt error: Can't open display:
xterm:  DISPLAY is not set
oracle@debian:/home/oracle/Disk1$


Quelqu'un voit le problème ?
Merci

n°738654
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 08-10-2005 à 11:46:59  profilanswer
 

http://blacklord.littleboboy.net/w [...] sur_debian


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°738657
Zeurkk
Posté le 08-10-2005 à 11:58:05  profilanswer
 

merci black_lord
 
un petit problème : quand je fais su - oracle :

Citation :

debian:/# su - oracle
-su: ulimit: open files: cannot modify limit: Operation not permitted
oracle@debian:~$ logout


n°738658
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 08-10-2005 à 11:58:55  profilanswer
 

ignore l'erreur ;)


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°738660
Zeurkk
Posté le 08-10-2005 à 12:01:33  profilanswer
 

merci beaucoup black_lord pour tes réponses rapide :)
le seul problème de cette erreure c'est quelle me fait un logout une fois sur deux :(
 
désoler de devoir encore t'embéter mais j'ai encore une erreure :

Citation :

debian:/home/oracle# xhost +
access control disabled, clients can connect from any host
debian:/home/oracle#


 
arf, pourquoi ils ont choisit oracle à la fac !!!
 
EDIT : mon problème vient peut être de lesstif

Citation :

debian:/home/oracle# apt-get install lesstif
Reading Package Lists... Done
Building Dependency Tree... Done
Package lesstif is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package lesstif has no installation candidate


Message édité par Zeurkk le 08-10-2005 à 12:06:17
n°738661
black_lord
Modérateur
Truth speaks from peacefulness
Posté le 08-10-2005 à 12:06:58  profilanswer
 

parce que c'est bien [:dawa]
 
modifie le /etc/profile pour virer ce que tu y as ajouté.
 

Citation :


debian:/home/oracle# xhost +
access control disabled, clients can connect from any host
debian:/home/oracle#

 
 
y'a pas d'erreur là [:dawa]
 
maintenant tu fais : (en tant que oracle)
 

Citation :

export DISPLAY=":0.0"
./runInstaller


 
Pour lesstif apt-cache search lesstif te dira que lesstif2 c'est bien (tm)


Message édité par black_lord le 08-10-2005 à 12:07:48

---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
n°738690
Zeurkk
Posté le 08-10-2005 à 13:50:43  profilanswer
 

merci beaucoup black_lord
oracle fonctionne maintenant :)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  problème ajout utilisateur oracle

 

Sujets relatifs
[RESOLU] Problème d'installation Debian SargeProbleme avec Audacity
probleme de mes raccourcisproblème police sous emacs, xterm ...
postfix+cyrus-imap+ldap : problème autocreateProbleme a la creation de rpm
probleme avec kernel 2.6.x smp...[install debian] probleme de clavier
problème d'execution de scriptproblème installation suse 9.3 pro
Plus de sujets relatifs à : problème ajout utilisateur oracle


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