The day started being a SysAdmin which is a responsible undertaking in itself. Actually I was deploying Kirt on Devplace server and the URL problem was extended because of using static URLs. I’ve almost created a mess by changing them and committing the changes. They should not be static in any case. So I had sudo access and keeping it with me, I’d to keep a check on the disk space used by every user. Did it using:
$ sudo du -shc /home/*
There’s actually a lot more to be a good SysAdmin and it’s my first experience ever. There existed a user directory whose user didn’t exist on the system and that directory was no longer needed. Removed it and fortunately I tried locating it right then. The directory was removed, it was not shown doing “$ ls” but it’s path was shown on locating it. WHY? Because “locate” wasn’t aware that the directory didn’t exist anymore 😛
Firstly, I thought it was due to the other files of that user which were not deleted while deleting the user but then found that
locate uses a database called ‘
locatedb‘ and it’s normally updated by system cron jobs. But at that time the database was not updated and only that was the reason for locating it. Found the reason in description of “$ man locate” and then the solution to update it’s database right then:
$ sudo updatedb
Many might already be knowing but I experienced it today only. And likewise, it will not show the newly created file/directory.
I was feared if I had done Kirt properly? Was it really useful? Did I do anything wrong? I showed it to the person whom it actually belongs. When he logged in… I was looking at his activities and he stopped at the very first page: “Add worker”. No other link was clicked for a moment. I held my breath untill I got a screen shot from there. Actually there was IE and currently it’s tested only on Firefox and Chrome. So there was problem in margins and I told to proceed on another browser. He tried adding workers, their details, checked it all and said,” Very nice! Kirt is a very good effort from your side.” And it made my day 😀
I’m told to add a feature for “Worker promotions” which they need. He asked about it’s installation, working without internet and the database storage.
I must say,”Better late than never!” 🙂