20070919

umask / creation mask in samba

[data]
path = /home/samba/data
browseable = yes
guest ok = yes
writeable = yes
force user = myself
force group = themselves
create mask = 744
directory mask = 755


Bottom two lines, which the earlier is the mask for file, and the latter is for folder.

20070918

Apache2 fuss with domain name

# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName


Add a line in apache2.conf:

ServerName "whatevername"

apt-get update problem

W: GPG error: http://security.debian.org etch/updates Release: Unknown error executing gpgv
W: GPG error: http://ftp.jp.debian.org etch Release: Unknown error executing gpgv
W: You may want to run apt-get update to correct these problems

One of the reason which the reason i had is the incorrect date. So try check your date.

20070912

nfs setup on solaris 10

Edit /etc/dfs/dfstab file and add this line for example:

share -F nfs -o rw -d "for grid" /opt/n1ge6

Save it and run:

# svcadm restart network/nfs/server:default

or you can user shareall command.

hints : man dfstab share

credit : rockwood

20070902

debian inetd restart

After configuring /etc/inetd.conf

/etc/init.d/openbsd-inetd restart

enable start rsh / rlogin service on solaris 10

Add these to /etc/inetd.conf

# RSHD - rsh daemon (BSD protocols)
shell stream tcp nowait root /usr/sbin/in.rshd in.rshd
shell stream tcp6 nowait root /usr/sbin/in.rshd in.rshd


The inetd was not enabled, so a extra svcadm enable did the trick

% svcadm enable svc:/network/inetd:default
% svcadm enable svc:/network/login:rlogin
% svcadm enable svc:/network/shell:default
% svcadm enable svc:/network/login:rlogin
% svcadm refresh inetd


Credit to Wim Alsemgeest