Entries Categorized as 'Server-Status'

Trying to understand: CH3SNAS & NFS = Help needed !

Date June 12, 2008

I’ve written earlier a simple howto for users with a CH3SNAS to work with NFS. UNFS is a user space implementation of the NFSv3 protocol. This is working flawlessly on the CH3SNAS with various Linux PC’s I am running (CentOS, Debian, Linux Embedded device etc.. )

but for a VMware implementation I need the READDIRPLUS procedure which is not available in UNFS. So I need to run Kernel-NFS on the CH3SNAS

Fonz fun_plug is providing Kernel NFS (enabled in the CH3SNAS) and UNFS. Installation is easy and almost fool proof.

The issue is following: on all my linux boxes (CentOS, Debian etc.. ) I get following message:

mount: mount to NFS server ‘192.168.1.60′ failed: timed out (retrying).

  • rcpinfo -p 192.168.1.60 gives all correct info
  • showmount -e 192.168.1.60 gives all correct exports
  • rpcinfo -u 192.168.1.60 gives:

program 100005 version 1 ready and waiting
program 100005 version 2 ready and waiting
program 100005 version 3 ready and waiting

  • Showmount -a 192.168.1.60 gives the mount points I ‘tried’ to use:

All mount points on 192.168.1.60:
192.168.1.100:/mnt/HD_a2

and even syslogd gives on the NFS server (CH3SNAS):

Jun 12 18:33:07 DEVELOPMENT daemon.notice mountd[1868]: authenticated mount request from 192.168.1.100:615 for /mnt/HD_a2 (/mnt/HD_a2)

  • Portmap is running at server and client!!

I am totally not understanding why I get time-outs. I do not have a firewall, I do not use iptables. Today I tried in another environment the same: always the error:

mount: mount to NFS server ‘192.168.1.60′ failed: timed out (retrying).

suddenly here at home after about 20 minutes trying to mount the NFS share, the NFS server has been mounted on my local system. But when umounting and mounting again I have again same situation. In my work environment it was totally not possible (standard Debian setup and a CentOS configuration) to have the NFS share mounted. Although it is similar setup ..

So although al tools tells me that everything is correct: I am not getting any mount :-(

Is there anyone with enough NFS knowledge who can tell me why the NFS share is not mounted?

Server Update

Date April 18, 2008

This morning a memory issue caused the server to crash

This afternoon I have updated PHP 4 to PHP5, this makes the server more flexible for certain scripts.

Noticed that the ftp script for the backup still was messing up my cron, but I was able to kill those sessions.

 

Not Good: My own FTP script

Date April 18, 2008

My backup FTP script is NOT GOOD.. it exhausted my memory ?? on the webserver caushing the server to ‘crash’ / not react for 4 hours, even connecting my monitor to the server: I could type my username, but login: nope ..

So message to self: how the hell can I FTP 40GB of data via a shell script without exhausting my memory .. <sigh> …

rebooting (fingers always crossed) and after 5 minutes the server was up again

server admin spelen

Date March 25, 2008

en ineens kregen we geen mail meer binnen..

Mar 25 21:01:34 wb sendmail[23631]: ruleset=check_relay, arg1=[192.168.1.63], arg2=127.0.0.2, relay=[192.168.1.63], reject=554 5.7.1 Rejected 192.168.1.63found in relays.ordb.org

blijkt dus al geruime tijd de relays.ordb.org niet meer te bestaan en sinds vandaag lijkt het erop dat alle e-mail wat hier binnenkwam tegengehouden werd door  bovenstaande. De dnl optie binnen sendmail.cf verwijderd en met m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf de files weer aangemaakt

sendmail restarted en hop .. probleem opgelost .. was even wat gezoek, maar het duurde gelukkig niet lang.

wow.. ik was er zelf snel bij .. [update-1] [update-2]

Server Info: remove kernel what is not necessary

Date October 10, 2006

rpm -qa | grep kernel

(decide what you want to get rid of)

yum remove kernel name

reboot

AroundMyRoom = UPS

Date October 2, 2006

bk500mi_b_v_200x100.jpgbk500mi_f_v_200x100.jpg

Today I’ve installed an old BK500MI UPS from APC to keep the server running when there is a short period of time no power. Initial test shows me that a PC running Windows XP can still be online for 15 minutes. Fits perfect my needs.

Sendmail Server info [anti-spam]

Date September 27, 2006

Updated sendmail.mc. After the big CentOS update the sendmail.mc in use was replaced by a new version. Now adding again Spam features. Add these features after the delay_checks

dnl FEATURE(delay_checks)dnl
FEATURE(`dnsbl’,`dnsbl.njabl.org’,`”550 Mail from ” $&{client_addr} “rejected - see http://njabl.org/”‘)dnl
dnl # FEATURE(`dnsbl’,`dnsbl.sorbs.net’,`”554 Rejected ” $&{client_addr}” found in dnsbl.sorbs.net”‘)dnl
FEATURE(`dnsbl’,`relays.ordb.org’,`”554 Rejected ” $&{client_addr} “found in relays.ordb.org”‘)dnl
FEATURE(`dnsbl’, `bl.spamcop.net’, `”550 - Email blocked by SpamCop see: http://spamcop.net/bl.shtml?”$&{client_addr}’)dnl
FEATURE(`dnsbl’,`sbl-xbl.spamhaus.org’,`554 Rejected - see http://www.spamhaus.org/’)dnl

Proftpd adding features to setup

Date September 22, 2006

I got a special request of a user:

allow a user to upload files, see the files but do not allow them to download any of the stored files. (So you can share 1 account to many but they are not allowed to download those files with that same account).

The master user of that vhost is allowed to control the whole upload folder.

It took me a good dinner to find an appropriate proftpd.conf setting. Some tests performed and it’s working now .

Find here the script

Server Status: updates

Date September 13, 2006

General information for users of AroundMyroom, Mixfans.org, Mixfreaks, tapas-recepten, kikkuh.nl. judithsgarden.eu and more. 

  • BlueQuartz updates. Major update today with 90 updates for BQ.
  • Change of POP3 server. BQ upgraded to Dovecot. Had to enable POPS to have it function properly
  • Removed dust from Server
  • Backup running [takes about 7 hours]

AroundMyRoom updates

  • changed permalinks of AroundMyroom old style to new playground style
  • changed permanent folder pr0n to erotica
  • installed Wordpress and changing styles