problème ajout utilisateur oracle

problème ajout utilisateur oracle - Logiciels - Linux et OS Alternatifs

Marsh Posté le 07-10-2005 à 17:59:28    

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

Reply

Marsh Posté le 07-10-2005 à 17:59:28   

Reply

Marsh Posté le 08-10-2005 à 11:04:05    

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

Reply

Marsh Posté le 08-10-2005 à 11:29:19    

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

Reply

Marsh Posté le 08-10-2005 à 11:46:59    

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


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
Reply

Marsh Posté le 08-10-2005 à 11:58:05    

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


Reply

Marsh Posté le 08-10-2005 à 11:58:55    

ignore l'erreur ;)


---------------
uptime is for lousy system administrators what Viagra is for impotent people - mes unixeries - github me
Reply

Marsh Posté le 08-10-2005 à 12:01:33    

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
Reply

Marsh Posté le 08-10-2005 à 12:06:58    

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
Reply

Marsh Posté le 08-10-2005 à 13:50:43    

merci beaucoup black_lord
oracle fonctionne maintenant :)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed