Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2008 09:55 PM
04-27-2008 09:55 PM
When i tried create a new user by using SAm, i am getting the following error in sam log.
Error:Customized pre-task for task UG_ADD_USER failed.
@!@8@1209354029@0
Exiting Task Manager with task UG_ADD_USER.
@!@16@1209354029@0
User-defined pre-add task customization command failed (returned non-zero) wh
en adding user "test". See the SAM log file for details. The user was not
added.^A
Pls guide me.
Regards,
Suresh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2008 10:08 PM
04-27-2008 10:08 PM
Re: SAM
You sam could have some problem.
Possible/etc/default/useradd is corrupted.
Try the following:- cp /usr/newconfig/etc/default/useradd /etc/default/useradd
WK
don't forget to assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2008 10:15 PM
04-27-2008 10:15 PM
Re: SAM
Your problem looks like patch issue
try to add user directly
useradd -m -d /home/username usename
if it works ok
or exit from sam check any other sam is running
if not start sam again and try if it is not working you have to install latest patches
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2008 10:32 PM
04-27-2008 10:32 PM
Re: SAM
In command prompt, useradd command is working fine.I am getting useradd problem only in sam.
Regards,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2008 11:19 PM
04-27-2008 11:19 PM
Re: SAM
Can you provide the error details from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 04:18 AM
04-28-2008 04:18 AM
Re: SAM
please post a more lengthier extract from your /var/sam/log/samlog
there might be some additional clues in there.
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:15 PM
04-28-2008 09:15 PM
Re: SAM
Pls find the sam log file.
Number of users is: 26
@!@8@1209445657@0
Exiting Task Manager with task UG_ICOUNT_USERS.
@!@8@1209445657@0
Exiting Task Manager with task UG_GET_DEFAULT_UID.
@!@8@1209445670@0
Entering Task Manager with task UG_VALIDATE_NEWUSER.
@!@2@1209445670@0
Performing task "Validate New User".
@!@8@1209445670@0
Exiting Task Manager with task UG_VALIDATE_NEWUSER.
@!@8@1209445670@0
Entering Task Manager with task UG_VALIDATE_HOMEDIR_ADD.
@!@2@1209445670@0
Performing task "Validate Home Directory".
@!@8@1209445670@0
Exiting Task Manager with task UG_VALIDATE_HOMEDIR_ADD.
@!@8@1209445674@0
Entering Task Manager with task UG_VALIDATE_STARTUP_PROG.
@!@2@1209445674@0
Performing task "Validate Login Shell".
@!@8@1209445674@0
Exiting Task Manager with task UG_VALIDATE_STARTUP_PROG.
@!@8@1209445674@0
Entering Task Manager with task UG_IS_UID_IN_USE.
@!@2@1209445674@0
Determining if User ID "112" is in use.
@!@8@1209445674@0
Exiting Task Manager with task UG_IS_UID_IN_USE.
@!@1@1209445737@0
Adding user testxyz.
@!@8@1209445737@0
Entering Task Manager with task UG_ADD_USER.
@!@2@1209445737@0
Performing task "Add User".
@!@1@1209445737@0
Performing customized pre-task for task UG_ADD_USER.
@!@8@1209445737@0
Entering Task Manager with task ug_custom_add_user.
@!@2@1209445737@0
Performing task "Execute Pre/Post Add User Tasks".
@!@2@1209445737@0
Executing the following command:\C/usr/sbin/swlist -l "testxyz" -v "112" -h "
/home/testxyz" -g "users" -s "/usr/bin/sh" -p "vSIQki368xY56" -R "" -L "" -H
"" -O "" \C
@!@2@1209445738@0
Command completed with exit status 1.
@!@2@1209445738@0
The command wrote the following to stderr:\CERROR: An invalid level was giv
en for the successful execution of^A "swlist". The valid levels are:
"root", "depot", "bundle",^A "product", "subproduct", "fileset", "fi
le", "shroot",^A "prroot", "category", "patch", "control_file".^AERRO
R: Command line parsing failed.^A\C
@!@8@1209445738@0
Exiting Task Manager with task ug_custom_add_user.
@!@32@1209445738@0
Customized pre-task for task UG_ADD_USER failed.
@!@8@1209445738@0
Exiting Task Manager with task UG_ADD_USER.
@!@16@1209445738@0
User-defined pre-add task customization command failed (returned non-zero) wh
en adding user "testxyz". See the SAM log file for details. The user was no
t added.^A
Thanks&Regards,
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:38 PM
04-28-2008 10:38 PM
Re: SAM
Performing task "Execute Pre/Post Add User Tasks".
Executing the following command:\C/usr/sbin/swlist -l "testxyz" -v "112" -h "
/home/testxyz" -g "users" -s "/usr/bin/sh" -p "vSIQki368xY56" -R "" -L "" -H
"" -O "" \C
Customized pre-task for task UG_ADD_USER failed.
User-defined pre-add task customization command failed (returned non-zero) wh
en adding user "testxyz".
The user defined command points to swlist - why???
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:39 PM
04-28-2008 10:39 PM
Re: SAM
You need to install latest patches
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:05 PM
04-28-2008 11:05 PM
SolutionCheck Actions -> task customization and user templates for any entries.
The "swlist" command is wrong here.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 01:53 AM
04-29-2008 01:53 AM
Re: SAM
After i removed swlist entry from task customazation, now it is woking fine.
Thanks&Regards,
Suresh