You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:19:12 UTC

[jira] [Created] (TRAFODION-959) LP Bug: 1415233 - trafodion _uninstaller requires trafodion_userid file

Alice Chen created TRAFODION-959:
------------------------------------

             Summary: LP Bug: 1415233 - trafodion _uninstaller  requires trafodion_userid file
                 Key: TRAFODION-959
                 URL: https://issues.apache.org/jira/browse/TRAFODION-959
             Project: Apache Trafodion
          Issue Type: Bug
          Components: installer
            Reporter: Chris Tjepkema


Since my install is in a new directory
echo "$TRAF_USER" > $TRAF_WORKDIR/trafodion_userid
was not run yet in that directory
SO TRAF_USER is not set

workaround is echo trafodion /root/Downloads/trafodion_userid
cd /root/downloads/installer
./trafodion_uninstaller --all
---

[root@getafix-1 installer]# ./trafodion_uninstaller --all
/root/Downloads/installer/..
cat: /root/Downloads/installer/../trafodion_userid: No such file or directory

***INFO: testing sudo access
***INFO: NOTE, rpms that were installed will not be removed.
***INFO: stopping Trafodion instance
-bash: sqstop: command not found
-bash: ckillall: command not found

Can't find file /root/.vnc/getafix-1:1.pid
You'll have to kill the Xvnc process manually

***INFO: restoring linux system files that were changed
pdsh@getafix-1: no remote hosts specified
pdsh@getafix-1: no remote hosts specified
pdsh@getafix-1: no remote hosts specified
***INFO remove the Trafodion userid and group
pdsh@getafix-1: no remote hosts specified
pdsh@getafix-1: no remote hosts specified
***DEBUG: skipping deleting downloaded directory



This didn’t install Trafodion either

export MY_NODES="-w getafix-1 -w getafix-2"
./trafodion_uninstaller --all
/root/Downloads/installer/..
cat: /root/Downloads/installer/../trafodion_userid: No such file or directory

***INFO: testing sudo access
***INFO: NOTE, rpms that were installed will not be removed.
***INFO: stopping Trafodion instance
-bash: sqstop: command not found
-bash: ckillall: command not found

Can't find file /root/.vnc/getafix-1:1.pid
You'll have to kill the Xvnc process manually

***INFO: restoring linux system files that were changed
getafix-2: cp: cannot stat `/root/Downloads/installer/../etc_selinux_config_ORIGINAL': No such file or directory
pdsh@getafix-1: getafix-2: ssh exited with exit code 1
getafix-1: cp: cannot stat `/root/Downloads/installer/../etc_selinux_config_ORIGINAL': No such file or directory
pdsh@getafix-1: getafix-1: ssh exited with exit code 1
getafix-2: cp: cannot stat `/root/Downloads/installer/../etc_security_limits.conf_ORIGINAL': No such file or directory
pdsh@getafix-1: getafix-2: ssh exited with exit code 1
getafix-1: cp: cannot stat `/root/Downloads/installer/../etc_security_limits.conf_ORIGINAL': No such file or directory
pdsh@getafix-1: getafix-1: ssh exited with exit code 1
pdsh@getafix-1: getafix-2: ssh exited with exit code 1
pdsh@getafix-1: getafix-1: ssh exited with exit code 1
***INFO remove the Trafodion userid and group
getafix-2: rm: cannot remove directory: `/root/Downloads/installer/..'
pdsh@getafix-1: getafix-2: ssh exited with exit code 1
getafix-1: rm: cannot remove directory: `/root/Downloads/installer/..'
pdsh@getafix-1: getafix-1: ssh exited with exit code 1
getafix-2: Usage: userdel [options] LOGIN
getafix-2: 
getafix-2: Options:
getafix-2:   -f, --force                   force removal of files,
getafix-2:                                 even if not owned by user
getafix-2:   -h, --help                    display this help message and exit
getafix-2:   -r, --remove                  remove home directory and mail spool
getafix-2:   -Z, --selinux-user            remove SELinux user from SELinux user mapping
getafix-2: 
pdsh@getafix-1: getafix-2: ssh exited with exit code 2
getafix-1: Usage: userdel [options] LOGIN
getafix-1: 
getafix-1: Options:
getafix-1:   -f, --force                   force removal of files,
getafix-1:                                 even if not owned by user
getafix-1:   -h, --help                    display this help message and exit
getafix-1:   -r, --remove                  remove home directory and mail spool
getafix-1:   -Z, --selinux-user            remove SELinux user from SELinux user mapping
getafix-1: 
pdsh@getafix-1: getafix-1: ssh exited with exit code 2
***DEBUG: skipping deleting downloaded directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)