Thursday, April 24, 2008

Solaris reboot problem

Added a new slice in solaris, edited the vfstab file to make it permanent.Finally gave "reboot" command to check if everything is fine.
And now the worst happened..the server shutdown but it is not coming up!!On deeper analysis found that there was a typo in vfstab file.Now the problem is how to fix the vfstab file since server is down...
Here is the solution...
-The reboot command automatically starts the server in single user mode(i.e only at console)
specify the root password there for system administration.(do not press ctrl D for normal operations)
-go to /etc/vfstab file.Just keep its backup once again.
-edit the vfstab file and give a reboot command
Everything works fine now.Cheers!

Expense Report shows same expense allocation on all expense reports

I was searching for expense reports for a person. It showed certain expense allocation under "Verify Expenses".After that i used "back" button and clicked on another expense report number to view another expense report.However the strange thing that happened was it was showing same expense allocation even for this expense report....This thing basically happened for all expense reports.............
Finally after hours of efforts, i found that it because of using browser "back" button.If one uses the "Return" and "Next" Button then it gives the correct expense allocation.
I went ahead and checked the logic of "Return/Next" button and found that it was "clearing the cache" before fetching the value and that it why one needs to use those buttons instead of "browser back" button.
So the bottom line is "do not use browser back button"