Archive for May, 2010
mount: /mnt/nfs: Not owner
nfs mount: mount: /mnt/nfs: Not owner
When you get this error from a Solaris Host, because you are trying to mount an nfsV3 share with an nfsV4 client.
This occurs when you want to share an nfs from a linux host to a solaris host.
Just use the option vers=3 to avoid this problem or configure nfsV4 on the linux host.
mount -o vers=3 linux_nfs_01:/htdocs /htdocs
Alfresco installation Guides
Alfresco offers true Open Source Enterprise Content Management (ECM) – Document Management, Collaboration, Records Management, Knowledge Management, Web Content Management and Imaging.
Installation guides with snapshots, clear to follow
http://www.linuxdict.com/books/Alfresco.pdf
PS: The Alfresco installer also support console, so we can install minimal system. and install the Alfresco. no X is needed.
Details: http://wiki.alfresco.com/wiki/Main_Page
How to enable apache modules in Debian/Ubuntu-likes
Simple:
sudo a2enmode rewrite
Where is nagstamon configuration?
My nagstamon crashed sometimes and the configuration lost.
but can’t find where the hell configuration is. so got the solution: define the configuration manually.
Everything should get at its place and you can start it from Start menu/Programs/nagstamon. When run from command line with “nagstamon” you can pass a configfile like “nagstamon configfile” in case you want to store it at another place than default. It starts automatically at login. Details: http://nagstamon.sourceforge.net/setup/
Now my shortcut looks like: “C:\Program Files\nagstamon\nagstamon.exe” nagconfig.conf
The configuration lays in C:\Program Files\nagstamon\nagconfig.conf , good news it also encryto the password. cool
Get the process like “netstat -anpt” on Solaris
Two ways to get which process is Listen on the specific port on Solaris
1. lsof -i:port_number
e.g. lsof -i:22
2. Use scripts that combined with pfiles
e.g. get_port.sh 22
/var/log/lastlog file is too large?
In Short:
/var/log/lastlog is a sparse file. A sparse file is a file that contains unallocated blocks or “empty space”, as it implies, it does not actually take up filesystem space.
The size of the file /var/log/lastlog can appear to be overly large on some systems, most especially in 64 bit architectures.
ls -la /var/log/lastlog
-r——– 1 root root 1254130450140 Jul 27 08:25 /var/log/lastlog