Rt-crontool as a user failing

Hi I am failing to run rt-crontool

(iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
No RT user found. Please consult your RT administrator.

I can login as `iqbala’ to the rt gui and I have administrator privilege.
I can create a new queue, delete existing queue, create a new user,
delete any ticket on any queue.

But rt-crontool thinks I am not a valid RT user.

I have read access to RT_SIteConfig.pm and RT_Config.pm. I have read
access to all files under /opt/rt3

(iqbala)@webrt-NEW:~$ groups
sys rt

I am part of rt group.
the /opt/rt3/etc permission looks like this

(iqbala)@rt:~$ ls -al /opt/rt3/etc/
total 272
drwxr-xr-x 2 root rt 512 Apr 13 2005 .
drwxr-xr-x 9 root root 512 Nov 2 2006 …
-r-xr-x— 1 root rt 16763 Mar 17 2006 RT_Config.pm
-r-xr-x— 1 root rt 16459 May 20 2008 RT_SiteConfig.pm
-r-x------ 1 root rt 68 May 7 2004 acl.Informix
-r-x------ 1 root rt 240 May 7 2004 acl.Oracle
-r-x------ 1 root rt 1414 May 28 2004 acl.Pg
-r-x------ 1 root rt 109 Jun 1 2004 acl.Sybase
-r-x------ 1 root rt 376 Jun 26 2004 acl.mysql
-r-x------ 1 root rt 21257 May 4 2005 initialdata
-r-x------ 1 root rt 10518 Apr 2 2004 schema.Informix
-r-x------ 1 root rt 11702 Dec 22 2004 schema.Oracle
-r-x------ 1 root rt 13868 Nov 7 2004 schema.Pg
-r-x------ 1 root rt 10767 Nov 7 2004 schema.SQLite
-r-x------ 1 root rt 11550 Jul 14 2004 schema.Sybase
-r-x------ 1 root rt 13217 Nov 14 2005 schema.mysql

Any idea why it is failing to recognize `iqbala’ as an RT user

Here are the last few lines of the truss output while trying to run
rt-crontool' as iqbala’

[…]
open64(“/var/run/name_service_door”, O_RDONLY) = 5
fcntl(5, F_SETFD, 0x00000001) = 0
door_info(5, 0xBFE9B3A8) = 0
door_call(5, 0x08047518) = 0
open(“/etc/shadow”, O_RDONLY|O_LARGEFILE) Err#13 EACCES [file_dac_read]
time() = 1233970819
time() = 1233970819
time() = 1233970819
fcntl(3, F_SETFL, FWRITE|FNONBLOCK) = 0
read(3, 0x09401560, 8192) Err#11 EAGAIN
fcntl(3, F_SETFL, FWRITE) = 0
write(3, " ,\0\0\003 S E L E C T “…, 48) = 48
read(3, “01\0\001”, 4) = 4
read(3, " “”, 1) = 1
read(3, “13\0\002”, 4) = 4
read(3, “05 U s e r s02 i d03\v\0”…, 19) = 19
read(3, “15\0\003”, 4) = 4
read(3, “05 U s e r s04 N a m e03”…, 21) = 21
read(3, “19\0\004”, 4) = 4
read(3, “05 U s e r s\b P a s s w”…, 25) = 25
read(3, “19\0\005”, 4) = 4
read(3, “05 U s e r s\b C o m m e”…, 25) = 25
read(3, “1A\0\006”, 4) = 4
read(3, “05 U s e r s\t S i g n a”…, 26) = 26
read(3, “1D\0\007”, 4) = 4
read(3, “05 U s e r s\f E m a i l”…, 29) = 29
read(3, " $\0\0\b”, 4) = 4
read(3, “05 U s e r s13 F r e e f”…, 36) = 36
read(3, “1D\0\0\t”, 4) = 4
read(3, “05 U s e r s\f O r g a n”…, 29) = 29
read(3, “19\0\0\n”, 4) = 4
read(3, “05 U s e r s\b R e a l N”…, 25) = 25
read(3, “19\0\0\v”, 4) = 4
read(3, “05 U s e r s\b N i c k N”…, 25) = 25
read(3, “15\0\0\f”, 4) = 4
read(3, “05 U s e r s04 L a n g03”…, 21) = 21
read(3, “1E\0\0\r”, 4) = 4
read(3, “05 U s e r s\r E m a i l”…, 30) = 30
read(3, “1C\0\00E”, 4) = 4
read(3, “05 U s e r s\v W e b E n”…, 28) = 28
read(3, " &\0\00F", 4) = 4
read(3, “05 U s e r s15 E x t e r”…, 38) = 38
read(3, " “\0\010”, 4) = 4
read(3, “05 U s e r s11 C o n t a”…, 34) = 34
read(3, “1F\0\011”, 4) = 4
read(3, “05 U s e r s0E E x t e r”…, 31) = 31
read(3, “1B\0\012”, 4) = 4
read(3, “05 U s e r s\n A u t h S”…, 27) = 27
read(3, “16\0\013”, 4) = 4
read(3, “05 U s e r s05 G e c o s”…, 22) = 22
read(3, “1A\0\014”, 4) = 4
read(3, “05 U s e r s\t H o m e P”…, 26) = 26
read(3, “1A\0\015”, 4) = 4
read(3, “05 U s e r s\t W o r k P”…, 26) = 26
read(3, “1C\0\016”, 4) = 4
read(3, “05 U s e r s\v M o b i l”…, 28) = 28
read(3, “1B\0\017”, 4) = 4
read(3, “05 U s e r s\n P a g e r”…, 27) = 27
read(3, “19\0\018”, 4) = 4
read(3, “05 U s e r s\b A d d r e”…, 25) = 25
read(3, “19\0\019”, 4) = 4
read(3, “05 U s e r s\b A d d r e”…, 25) = 25
read(3, “15\0\01A”, 4) = 4
read(3, “05 U s e r s04 C i t y03”…, 21) = 21
read(3, “16\0\01B”, 4) = 4
read(3, “05 U s e r s05 S t a t e”…, 22) = 22
read(3, “14\0\01C”, 4) = 4
read(3, “05 U s e r s03 Z i p0310”…, 20) = 20
read(3, “18\0\01D”, 4) = 4
read(3, “05 U s e r s07 C o u n t”…, 24) = 24
read(3, “19\0\01E”, 4) = 4
read(3, “05 U s e r s\b T i m e z”…, 25) = 25
read(3, “17\0\01F”, 4) = 4
read(3, “05 U s e r s06 P G P K e”…, 23) = 23
read(3, “18\0\0 “, 4) = 4
read(3, “05 U s e r s07 C r e a t”…, 24) = 24
read(3, “18\0\0 !”, 4) = 4
read(3, “05 U s e r s07 C r e a t”…, 24) = 24
read(3, “1E\0\0 “”, 4) = 4
read(3, “05 U s e r s\r L a s t U”…, 30) = 30
read(3, “1C\0\0 #”, 4) = 4
read(3, “05 U s e r s\v L a s t U”…, 28) = 28
read(3, “01\0\0 $”, 4) = 4
read(3, “FE”, 1) = 1
brk(0x095EDC90) = 0
brk(0x095EFC90) = 0
read(3, “01\0\0 %”, 4) = 4
read(3, “FE”, 1) = 1
stat64(”/opt/rt3/local/lib/I18N/LangTags/Detect.pmc”, 0x080477D0) Err#2 ENOENT
open64(”/opt/rt3/local/lib/I18N/LangTags/Detect.pm", O_RDONLY) Err#2 ENOENT
stat64(“/opt/rt3/lib/I18N/LangTags/Detect.pmc”, 0x080477D0) Err#2 ENOENT
open64(“/opt/rt3/lib/I18N/LangTags/Detect.pm”, O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/I18N/LangTags/Detect.pmc”,
0x080477D0) Err#2 ENOENT
open64(“/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/I18N/LangTags/Detect.pm”,
O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/5.8.6/I18N/LangTags/Detect.pmc”,
0x080477D0) Err#2 ENOENT
open64(“/usr/local/lib/perl5/5.8.6/I18N/LangTags/Detect.pm”, O_RDONLY) = 6
fstat64(6, 0x08045070) = 0
fstat64(6, 0x08044FB0) = 0
ioctl(6, TCGETA, 0x08045044) Err#25 ENOTTY
read(6, “\n # T i m e - s t a m”…, 8192) = 6538
brk(0x095EFC90) = 0
brk(0x095F1C90) = 0
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
brk(0x095F1C90) = 0
brk(0x095F3C90) = 0
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
brk(0x095F3C90) = 0
brk(0x095F5C90) = 0
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
brk(0x095F5C90) = 0
brk(0x095F7C90) = 0
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
brk(0x095F7C90) = 0
brk(0x095F9C90) = 0
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0, SEEK_CUR) = 6538
brk(0x095F9C90) = 0
brk(0x095FBC90) = 0
llseek(6, 0, SEEK_CUR) = 6538
llseek(6, 0xFFFFFFFFFFFFF809, SEEK_CUR) = 4499
close(6) = 0
stat64(“/opt/rt3/local/lib/Win32/Locale.pmc”, 0x080477D0) Err#2 ENOENT
open64(“/opt/rt3/local/lib/Win32/Locale.pm”, O_RDONLY) Err#2 ENOENT
stat64(“/opt/rt3/lib/Win32/Locale.pmc”, 0x080477D0) Err#2 ENOENT
open64(“/opt/rt3/lib/Win32/Locale.pm”, O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/Win32/Locale.pmc”,
0x080477D0) Err#2 ENOENT
open64(“/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/Win32/Locale.pm”,
O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/5.8.6/Win32/Locale.pmc”, 0x080477D0) Err#2 ENOENT
open64(“/usr/local/lib/perl5/5.8.6/Win32/Locale.pm”, O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/Win32/Locale.pmc”,
0x080477D0) Err#2 ENOENT
open64(“/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/Win32/Locale.pm”,
O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/site_perl/5.8.6/Win32/Locale.pmc”,
0x080477D0) Err#2 ENOENT
open64(“/usr/local/lib/perl5/site_perl/5.8.6/Win32/Locale.pm”,
O_RDONLY) Err#2 ENOENT
stat64(“/usr/local/lib/perl5/site_perl/Win32/Locale.pmc”, 0x080477D0)
Err#2 ENOENT
open64(“/usr/local/lib/perl5/site_perl/Win32/Locale.pm”, O_RDONLY) Err#2 ENOENT
stat64(“./Win32/Locale.pmc”, 0x080477D0) Err#2 ENOENT
open64(“./Win32/Locale.pm”, O_RDONLY) Err#2 ENOENT
setcontext(0x080476A0)
ioctl(1, TCGETA, 0x080477E4) = 0
fstat64(1, 0x08047750) = 0
write(1, " N o R T u s e r f"…, 56) = 56
setcontext(0x08047760)
close(4) = 0
fcntl(3, F_SETFL, FWRITE|FNONBLOCK) = 0
read(3, 0x09401560, 8192) Err#11 EAGAIN
fcntl(3, F_SETFL, FWRITE) = 0
write(3, “01\0\0\001”, 5) = 5
shutdown(3, SHUT_RDWR, SOV_DEFAULT) = 0
close(3) = 0
stat64(“/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/auto/DBI/DESTROY.al”,
0x0813BB80) Err#2 ENOENT
open64(“/opt/rt3/local/lib/auto/DBI/DESTROY.al”, O_RDONLY) Err#2 ENOENT
open64(“/opt/rt3/lib/auto/DBI/DESTROY.al”, O_RDONLY) Err#2 ENOENT
open64(“/usr/local/lib/perl5/5.8.6/i86pc-solaris-64int/auto/DBI/DESTROY.al”,
O_RDONLY) Err#2 ENOENT
open64(“/usr/local/lib/perl5/5.8.6/auto/DBI/DESTROY.al”, O_RDONLY) Err#2 ENOENT
open64(“/usr/local/lib/perl5/site_perl/5.8.6/i86pc-solaris-64int/auto/DBI/DESTROY.al”,
O_RDONLY) Err#2 ENOENT
open64(“/usr/local/lib/perl5/site_perl/5.8.6/auto/DBI/DESTROY.al”,
O_RDONLY) Err#2 ENOENT
open64(“/usr/local/lib/perl5/site_perl/auto/DBI/DESTROY.al”, O_RDONLY)
Err#2 ENOENT
open64(“./auto/DBI/DESTROY.al”, O_RDONLY) Err#2 ENOENT
setcontext(0x08047330)
_exit(1)

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Hi I am failing to run rt-crontool

(iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
No RT user found. Please consult your RT administrator.

I can login as `iqbala’ to the rt gui and I have administrator privilege.
I can create a new queue, delete existing queue, create a new user,
delete any ticket on any queue.

But rt-crontool thinks I am not a valid RT user.

In Configuration->Users->iqbala->Identity, did you fill the field “Unix
user” ?

Hi I am failing to run rt-crontool

(iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
No RT user found. Please consult your RT administrator.

I can login as `iqbala’ to the rt gui and I have administrator privilege.
I can create a new queue, delete existing queue, create a new user,
delete any ticket on any queue.

But rt-crontool thinks I am not a valid RT user.

In Configuration->Users->iqbala->Identity, did you fill the field “Unix
user” ?

No. That was it! It is working now.

Thanks a lot.


List info: The rt-devel Archives

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Hi I am failing to run rt-crontool

Did you map an rt user to a unix user under:

Configuration → Users → Select → (some rt user)

Set ‘Unix login’ to ‘iqbala’.

Cheers,

(iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
No RT user found. Please consult your RT administrator.

I can login as `iqbala’ to the rt gui and I have administrator privilege.
I can create a new queue, delete existing queue, create a new user,
delete any ticket on any queue.

But rt-crontool thinks I am not a valid RT user.

Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

signature.asc (197 Bytes)

Hi I am failing to run rt-crontool

Did you map an rt user to a unix user under:

Configuration → Users → Select → (some rt user)

Set ‘Unix login’ to ‘iqbala’.

That was the fix. Thanks.

Cheers,

(iqbala)@rt:~$ /opt/rt3/bin/rt-crontool
No RT user found. Please consult your RT administrator.

I can login as `iqbala’ to the rt gui and I have administrator privilege.
I can create a new queue, delete existing queue, create a new user,
delete any ticket on any queue.

But rt-crontool thinks I am not a valid RT user.


Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?