Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: viki on January 23, 2009, 11:24:41 PM
-
Hi,
I am using SME sever 8 Beta version. I have installed the lazy admins tool kit.
But I cannot use any commands from it. I get a this message
" *WARNING* esmith::config(/home/e-smith/accounts) called with old database path. The following package needs to be updated: at /usr/lib/perl5/site_perl/esmith/config.pm line 377
esmith::config::TIEHASH('esmith::config', '/home/e-smith/accounts') called at /usr/sbin/lat-users line 17
Can't find /home/e-smith/accounts at /usr/sbin/lat-users line 178. "
Can anyone give me a soloution for this?
-
None of the contribs will work for SME 8 Beta.
This is normal so as not to encourage the use of 8 in production.
Anyways, none of the contribs have been updated for SME 8 Beta.
Craig
EDIT: Spelling :shock:
-
Please follow Craig's good advice. Thanks.
Moving this topic to the General Discussion forum, it is more appropriate there. Thanks! (It's not as all SME 8 beta testing (without custom templates and/or contribs) needs to be reported via bug tracker. Thanks.
-
None of the contribs will work for SME 8 Beta.
That particular contrib will not work with SME7 either. The database path change was made a very long time ago now.
-
Thanks for your reply guys,
I am new to linux and opensource....... I have reported the problem to
the bugteam.
I need to enter around 700 user accounts, is there any other easier way to do it in
sme server 8.3 ?
-
Hi,
I am using SME sever 8 Beta version. I have installed the lazy admins tool kit.
But I cannot use any commands from it. I get a this message
" *WARNING* esmith::config(/home/e-smith/accounts) called with old database path. The following package needs to be updated: at /usr/lib/perl5/site_perl/esmith/config.pm line 377
esmith::config::TIEHASH('esmith::config', '/home/e-smith/accounts') called at /usr/sbin/lat-users line 17
Can't find /home/e-smith/accounts at /usr/sbin/lat-users line 178. "
Can anyone give me a soloution for this?
could you please tell us the version of lat you are using and how did you install it? seems a bit old.. IIRC the last version works without problems with SME 7.3
Ciao
Stefano
-
I downloaded from this link and installed it as given in this link...
http://wiki.contribs.org/Lazy_Admin_Tools#Description
cd /tmp
wget http://mirror.contribs.org/contribs//jbennett/sme7/lat/smeserver-lazy_admin_tools-0.9.1-2.noarch.rpm
yum localinstall smeserver-lazy_admin_tools-0.9.1-2.noarch.rpm
I used putty.exe and Winscp to install it
Is there any other way I can enter user accounts easily, because I have
around 700 users to add.
-
Is there any other way I can enter user accounts easily, because I have around 700 users to add.
No.
-
hi
I've just downloaded and installed that rpm..
in lat-users I read (line 17)
tie %accounts, 'esmith::config', '/home/e-smith/db/accounts';
and also line 178 of the same file points to /home/e-smith/db/accounts..
so everything looks ok to me..
I've tried the script lat-users with /usr/doc/lazy-admin-tools/example.users file (deleted last 2 lines)
[root@smetest tmp]# cp /usr/doc/lazy-admin-tools/example.users /root/
[root@smetest tmp]# cd
[root@smetest ~]# pico example.users
[root@smetest ~]# lat-users -a -i ./example.users
Creating user account for michiel (Uid:9001).
Creating user account for marco (Uid:5006).
Creating user account for ejo (Uid:9002).
Creating user account for gilbert (Uid:5007).
Creating group 'allstaff' (GID:5008).
Adding user 'gilbert' to group 'allstaff'.
Creating group 'accounting' (GID:5009).
Adding user 'gilbert' to group 'accounting'.
Creating group 'management' (GID:5010).
Adding user 'gilbert' to group 'management'.
Creating user account for nathalie (Uid:5011).
Creating user account for susanne (Uid:5012).
sme 7.4.. non problem here
how did you run your script?
Ciao
Stefano
-
could you please tell us the version of lat you are using and how did you install it? seems a bit old.. IIRC the last version works without problems with SME 7.3
Ciao
Stefano
Stefano, the OP is attempting this on the SME Server 8 BETA 3 - Not sure why the OP is even attempting to run a beta release of SME Server as their production machine.
-
Stefano, the OP is attempting this on the SME Server 8 BETA 3 - Not sure why the OP is even attempting to run a beta release of SME Server as their production machine.
I agree byte but:
- he is, BTW, testing SME 8
- his problem is not related, IMHO, to SME version since lazy-tools contrib works on SME 7.X and, AFAIK, no change in dir structure has been done in 8.X
Ciao
Stefano
-
I agree byte but:
- he is, BTW, testing SME 8
The OP maybe testing SME Server 8, but that means testing without any custom work and/or contribs, the stage where contribs can start being worked on SME Server 8 is if/when we release a RC (Release Candidate)
-
The OP maybe testing SME Server 8, but that means testing without any custom work and/or contribs, the stage where contribs can start being worked on SME Server 8 is if/when we release a RC (Release Candidate)
ok.. I think you should put some smiley ;-)
thank you for the clarification
Ciao
Stefano
-
hi
I've just downloaded and installed that rpm..
in lat-users I read (line 17)
tie %accounts, 'esmith::config', '/home/e-smith/db/accounts';
and also line 178 of the same file points to /home/e-smith/db/accounts..
so everything looks ok to me..
So clearly that is not the version used by OP.
I agree with Stefano that this should work just as well with SME8 beta as with SME7.
IMO any problems encountered with the lat contrib should be reported in the Contribs section of the bug tracker.
I don't see any problem with testing contribs with SME8, just as long as any problems encountered are reported to the right people (via using the correct section of the bug tracker).
-
IMO any problems encountered with the lat contrib should be reported in the Contribs section of the bug tracker.
I don't see any problem with testing contribs with SME8, just as long as any problems encountered are reported to the right people (via using the correct section of the bug tracker).
OP has already done so, but I marked it as INVALID as it is not listed in the SME Contribs CVS nor bugtracker in the contribs section, see bug 4956 (http://bugs.contribs.org/show_bug.cgi?id=4956).
Besides that I don't think that OP has the latest version as the latest version I have on my local mirror uses the correct path:
[jonathan@build contribs7]$ pwd
/home/jonathan/smecontribs/rpms/smeserver-lazy_admin_tools/contribs7
[jonathan@build contribs7]$ ls -la
total 244
drwxrwxr-x 3 jonathan jonathan 4096 Jan 24 14:36 .
drwxrwxr-x 3 jonathan jonathan 4096 Jan 24 14:23 ..
drwxr-xr-x 3 jonathan jonathan 4096 Sep 8 2004 smeserver-lazy_admin_tools-0.9.1
-rw-rw-r-- 1 jonathan jonathan 72939 Oct 22 2006 smeserver-lazy_admin_tools-0.9.1-2.noarch.rpm
-rw-rw-r-- 1 jonathan jonathan 72104 Oct 22 2006 smeserver-lazy_admin_tools-0.9.1-2.src.rpm
-rw-r--r-- 1 jonathan jonathan 3034 Jan 24 14:23 smeserver-lazy_admin_tools-0.9.1-2-userid_length-pptp_create.patch
-rw-r--r-- 1 jonathan jonathan 61893 Jan 24 14:23 smeserver-lazy_admin_tools-0.9.1.tar.gz
-rw-r--r-- 1 jonathan jonathan 5627 Jan 24 14:23 smeserver-lazy_admin_tools.spec
[jonathan@build contribs7]$ cat -n smeserver-lazy_admin_tools-0.9.1/root/usr/sbin/lat-users | head -20 | tail -n 6
15 tie %conf, 'esmith::config';
16 my %accounts;
17 tie %accounts, 'esmith::config', '/home/e-smith/db/accounts';
18 my ($Hlp, $Cml, $Frc, $Inp, $Pwf);
19 my $Add =0;
20 my $Del =0;
So viki what does this show to you:
rpm -q smeserver-lazy_admin_tools