Archive

Archive for the ‘Server’ Category

How to setup NetHASP License Manager

January 5th, 2009 iceman No comments

I have a FACT Accounting for Windows in my environment which is our old accounting system.

We are going to write off all the WinNT and migrate to linux in our environment and it is at the final stage of the migration.
We turn off all the power for power maintenance during last Christmas day.

FACT Windows

One of the machine which work as the FACT license server said bye bye to us (failed to power on).
All the clients failed to access to the FACT Accounting for Windows system due to failed to find the license server as below.

Hardware key could not detected

What a headache for me, this license server is not setup by me and the person who setup it is not here anymore.
I have no idea at all with this license server so Google always is my good guru.

After googling I found several solutions.

Below is my successful solution.

Click to continue reading “How to setup NetHASP License Manager”

Related posts

Samba – idmap Fatal Error: UID range full!!

December 9th, 2008 iceman No comments

I am using samba file server.
One day, a user told me that he failed to open a shared folder.
Every time he open the shared folder authentication will be prompt.
He still failed to open the shared folder even though he key in the correct user name and password.

After diagnosis I found this error in my /var/log/samba/winbindd.log

more /var/log/samba/winbindd.log
show me this:
idmap Fatal Error: UID range full!! (max: 20000)

Then I googling and finally find the solution. Google always is my GURU. Thanks Google.

Below are the step to fix this problem.

Stop your samba and winbind services

service winbind stop
service smb stop

Delete secrets.tdb and smbpasswd

rm /etc/samba/secrets.tdb
rm /etc/samba/smbpasswd
rm /var/cache/samba/winbindd_idmap.tdb

Ensure “winbind trusted domains only = no” if not just modified it in smb.conf

testparm -v | grep winbind
or
vi /etc/samba/smb.conf

Rejoin the domain

net rpc join -S SERVERNAME -U ADMINISTRATOR%ADMINPASSWORD

Restart winbind service

service winbind start

Ensure can get the user list from domain

wbinfo -u

Fetch list of user accounts and group accounts

getent passwd
getent group

Test the login from another workstation.
Solved!
Job Done!

Related posts

Categories: samba Tags: , , , ,

Forgot root password – How to reset password?

November 3rd, 2008 iceman 1 comment


I had forgotten one of my Red Had Enterprise Linux 5 server’s root password.
What can I do? How can I retrieve or reset the root password?
After googling and tried one of the solutions.
My problem was solved.

The solution is boot into single-user mode from GRUB and then change the root password.

Below is the steps to reset root password.

1. Reboot your workstation, wait until the GRUB menu screen come out.
2. Select the desired kernel you want.
3. Press the ‘e‘ key to edit that entry.
4. Use the arrow keys to navigate to the kernel line
(for example: kernel /vmlinuz-2.6.x-x ro root=LABEL=/ rhgb quite)
5. Add the argument ‘single‘ to the end of the line and then press ENTER.
6. Press the ‘b‘ key to boot.
7. After booting, type ‘passwd‘ to change your root password.
8. The end, reboot your workstation and done.

Of cause, there are many others way to retrieve your root password.
The solution I give here is only one of the solutions.
Hope, my sharing can help you.

Related posts

Amount of available memory limited to 256 MB

October 14th, 2008 iceman 22 comments


I am using Dell PowerEdge 1400SC. (It’s work for PowerEdge 1500SC as well.)
When I boot the server after pluging in another two 256MB Memory into the mother board.
This message was display.

Amount of available memory limited to 256 MB!
Strike the F1 key to continue, F2 to run the setup utility.

After couple minutes searching on Google, I found the answer already.

This is due to “OS Install mode” is enabled.

The solution is

Press F2 enter to BIOS setting
Turn off “OS Install mode”
Save Changes and Exit

Related posts

Categories: Server Tags: , ,
data recovery software