Set a directory quota on an OES11 – NSS volume using a command line.

Disk Quotas is the most natural starting point in building a solid storage strategy. Setting quotas will easily let you:
– Show users what reasonable storage use is – define an upper limit.
– Allow storage to grow in a controlled and sustainable manner.
– Promote efficient usage and streamline backup/restore times.

This script will set a quota directory on the Novell Storage Services for Novell Open Enterprise Server 11.
Continue reading “Set a directory quota on an OES11 – NSS volume using a command line.”

Restart an iPrint services.

novell-ipsmd lets you to start and stop the ipsmd daemon that manages printers that are assigned under a Print Manager.
novell-idsd lets you to start and stop the idsd daemon that manages drivers that are assigned under a Driver Store.

To restart an iPrint services just type:

nbip1:~ # rcnovell-idsd restart && rcnovell-ipsmd restart
Shutting down Novell iPrint DriverStore. done
Starting Novell iPrint DriverStore: done
Shutting down Novell iPrint Manager.. done
Starting Novell iPrint Manager: done
nbip1:~ #

Enable local Linux users to access the NSS resource exported via NFS.

To enable the local Linux user to access the NSS resource exported via NFS, we need to create a user in eDirecotry and then enable this user in LUM in this example the user has an UID 1000, and then we can export the NSS via NFS to another server with user’s rights:

cat /etc/exsports
/media/nss/somedata/somedata server(fsid=1,rw,no_root_squash,sync,anonuid=1000,all_squash)

"Cannot access path" error when mounting an NCP share from OES11 SP1 using ncpmount.

When trying to mount an NCP share with the ncpmount command, the system prints out the following error:

Cannot access path "{volume-name}": Invalid argument

A network trace reveals a problem in the name space negotiation between the server and client. Even though the OES11 SP1 NCP server advertises the NFS namespace with the volume to be mounted, it returns error 191 (ERR_INVALID_NAMESPACE) when the NFS name space is used in requests for accessing the given volume.

ncpmount -S -A -o tcp,nonfs -V VOLC1 -U admin.novell /mnt

Waiting for LDAP server to be ready – OES11

If you got this error while booting OES11: Waiting for LDAP server to be ready or namcd cannot connect to LDAP server in /var/log/messages please follow these steps:

cat /etc/nam.conf

and replace preferred-server to a correct IP, after change:

cat /etc/nam.conf

and then:

/var/lib/novell-lum # l
total 92
drwxr-xr-x 2 root root 4096 Nov 11 16:52 ./
drwxr-xr-x 43 root root 4096 Oct 30 10:15 ../
-rw-r--r-- 1 root root 1324 Oct 29 16:47 .
-rw-r--r-- 1 root root 1324 Oct 30 10:29 .

delete an old IP address
rm /var/lib/novell-lum/.

and then refresh namcd:
namconfig cache_refresh
rcnamcd restart

TightVNC Remote Desktop Connections using SUSE as Client or Server.

1. Install the tightvnc and xorg-x11-Xvnc packages:

root# zypper install tightvnc xorg-x11-Xvnc

Type the command vncserver to start the VNC server, and then type the command
vi $HOME/.vnc/xstartup
to open the VNC configuration file in the vi text editor. You can replace “vi” with your preferred text editor.
Add the line /usr/bin/gnome & under the #!/bin/sh line, if you are using the Gnome desktop.

Type the command vncserver in Suse 10 or dbus-launch vncserver in Suse 11, to start the VNC server. Take note of the desktop number, usually “:1,” “:2” or “:3,” that is shown after the command is executed.

2. Connect to the Server

Open the VNC viewer software on the remote computer. Type “” in the connection text box. Replace “” with the IP address of the Suse server. Replace “:1” with the desktop number from the previous section. and then type the password for the VNC server, when prompted.

Users who are logged on can start a server with a simple console command.

• Starting the server in Suse versions 10.x: vncserver
• Starting the server in Suse versions 11.x: dbus-launch vncserver

The vncserver command will start the next unused desktop in the sequence :1, :2, :3 …etc. You can attach many options to the command line when starting the server. There are options specific to TightVNC on the TightVNC man page and you can also attach the options listed in the Xvnc man page.

Note: vncpasswd allows you to set the password used to access VNC desktops. Its default behavior is to prompt for a VNC password and then store an obfuscated version of this password to passwd-file (or to $HOME/.vnc/passwd if no password file is specified.) The vncserver script runs vncpasswd the first time you start a VNC desktop, and it invokes Xvnc with the appropriate -rfbauth option. vncviewer can also be given a password file to use via the -passwd option. The password must be at least six characters long (unless the -f command-line option is used– see below), and only the first eight characters are significant. Note that the stored password is not encrypted securely – anyone who has access to this file can trivially find out the plain-text password, so vncpasswd always sets appropriate permissions (read and write only by the owner.) However, when accessing a VNC desktop, a challenge-response mechanism is used over the wire making it hard for anyone to crack the password simply by snooping on the network.

conf example:

server:/home/user/.vnc # cat xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

Cleaning up eDirectory.

Stop the ndsd daemon:

rcndsd stop

Delete the eDirectory configuration file and eDirectory instance file.:

rm -f /etc/opt/novell/eDirectory/conf/nds.conf
rm -f /etc/opt/novell/eDirectory/conf/.edir/instances.0

Delete the eDirectory database:

rm -rf /var/opt/novell/eDirectory/data/dib

Use iManager to delete all the objects from the eDirectory tree, and remove the server from the replica ring.

Enable a modern interface in the Webaccess GroupWise2012

To enable a modern interface in the Webaccess GW2012 for Android devices,
edit /var/opt/novell/groupwise/webaccess/webacc.cfg and change the “sample” to “mobile”.



ConsoleOne – Unknown meaning for error number 0x6f.

The problem was that the login prompt comes up fine. I enter admin and the password, and then then returns: “Unknown meaning for error number 0x6f; Please call a Novell support provider”

Right now, it works. I have done quite a lot of config work on this box but I think it’s because IPV6 was enabled. Not absolutely sure but 99%. That was the last major change I made – ie disabling it.

SUSE/OES11 by default installs it.
Just simply type:
echo “alias net-pf-10 off” >> /etc/modprobe.conf.local
echo “alias ipv6 off” >> /etc/modprobe.conf.local


Edit /etc/sysctl.conf and add this line:
net.ipv6.conf.all.disable_ipv6 = 1


Edit /boot/grub/menu.lst with an editor and add the boot parameter


at the end of the respective line of the kernel-entries.

Also you can use address IP instead of a “tree” name, but this does not work with GroupWise.

Mounting a NetWare volume on a Linux box

To mount a NetWare volume on a Linux box, the ncpfs must to be installed on a Linux box.
For a “rpm” distribution:

yum install ncpfs

For a “deb” distribution:

apt-get install ncpfs

then try mount the volume on the Linux box:

ncpmount -A -S name_of_netware_server -V volumin_to_mount -U username.context -P password /mnt

to add this to /etc/fstab please use the following:

nbcs_data_server/xxhr.genacc.ndsadmin /share/Shared/XXHR/EBSPROD ncp volume=data/Shared/XXHR/EBSPROD,uid=ebsprod,gid=dba,mode=660,owner=root,A=nbcs_gisdata_server,passwdfile=/etc/edirpass 0 0

and create an edirpass password file in /etc/edirpass

echo "nbcs_gisdata_server/xxhr.genacc.ndsadmin:password" >> /etc/edirpass