Issue Details (XML | Word | Printable)

Key: MDLSITE-731
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Jordan Tomkinson
Reporter: Ralf Krause
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle Community Sites

Problem with CVS

Created: 04/May/09 04:49 PM   Updated: 12/May/09 09:58 AM
Component/s: CVS repository

Participants: Dan Poltawski, Jordan Tomkinson and Ralf Krause
Security Level: None
Resolved date: 12/May/09


 Description  « Hide
Hi all,

is there a problem with the Moodle server or is this a problem on my own computer?

> can't create temporary directory /tmp/cvs-serv23370
> Read-only file system

The error message comes while I try to update my Moodle4Mac via cvs. The script was working perfectly in the past.

Best regards, Ralf



#! /bin/sh
#
# This CVS updater for Mac OS X is part
# of the installation package Moodle4Mac
#
# 20080421 - Ralf Krause
#

export CVS_RSH=ssh

echo
echo "+--------------------------------------------+"
echo "| CVS update for your local Moodle server "
echo "+--------------------------------------------+"
echo

cd /Applications/MAMP/htdocs/moodle19/

### delete all files named .DS_Store
find . -name ".DS_Store" -type f -print0 | xargs -0 rm -f

### file ~/.cvspass must exist
if ! test -e ~/.cvspass ; then
    touch ~/.cvspass
fi

### login to the cvs server only for the first time
if ! grep "uk.cvs.moodle.org" ~/.cvspass > /dev/null ; then
    echo "CVS password is empty ... please only press <return> to start"
    cvs -d :pserver:anonymous@uk.cvs.moodle.org:/cvsroot/moodle login
    echo
fi

echo "Connecting to the CVS server. Download will take a few moments!"
echo "If the CVS update runs too long you may break with <strg>-C"
echo
cvs -q update -dP -r MOODLE_19_STABLE



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jordan Tomkinson added a comment - 04/May/09 05:34 PM - edited
Try cleaning out your /tmp and make sure its writable by your user

Ralf Krause added a comment - 04/May/09 05:46 PM
Hi Jordan,

the same problem is on more than only one computer. So I think it should be a problem on the server.

On my own computer I controlled the folder /tmp ... it's empty and it's writable for every user. The harddisk has 30 GB free space.

Best regards, Ralf

Last login: Mon May 4 11:38:27 on ttys000
iMac-100:~ krause$ cd /tmp
iMac-100:tmp krause$ ls -al
total 0
drwxrwxrwt 12 root wheel 408 4 Mai 11:43 .
drwxr-xr-x@ 6 root wheel 204 30 Okt 2007 ..
srwxrwxrwx 1 root wheel 0 4 Mai 11:38 ARD_ABJMMRT
srwxr-xr-x 1 krause wheel 0 4 Mai 10:52 OSL_PIPE_501_SingleOfficeIPC_35715614a55d7390d71debd4e536311
srwxrwxrwx 1 krause wheel 0 4 Mai 10:30 com.hp.launchport
drwx------ 3 krause wheel 102 4 Mai 10:30 launch-7TH9kD
drwx------ 3 krause wheel 102 4 Mai 10:30 launch-L12R0e
drwx------ 3 krause wheel 102 4 Mai 10:30 launch-fxnjR0
drwx------ 3 _mdnsresponder wheel 102 4 Mai 10:26 launchd-18.z9H3K5
drwx------ 3 krause wheel 102 4 Mai 10:28 launchd-231.mGRB3W
drwx------ 3 admin wheel 102 4 Mai 11:42 launchd-724.uRUyCK
drwx------ 3 imac wheel 102 4 Mai 11:43 launchd-731.igqkuy
iMac-100:tmp krause$ sudo rm -R *
Password:
iMac-100:tmp krause$ ls -al
total 0
drwxrwxrwt 2 root wheel 68 4 Mai 11:44 .
drwxr-xr-x@ 6 root wheel 204 30 Okt 2007 ..
iMac-100:tmp krause$ df
Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk0s2 487725344 420056256 67157088 87% /
devfs 217 217 0 100% /dev
fdesc 2 2 0 100% /dev
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
/dev/disk1s2 1464477344 523349096 941128248 36% /Volumes/Backup
iMac-100:tmp krause$


Jordan Tomkinson added a comment - 05/May/09 10:01 AM
Is this still an issue for you?
the server removes old files in /tmp hourly, so it shouldn't be a continuous issue

Ralf Krause added a comment - 05/May/09 02:36 PM
It's still the same problem. And as I wrote .... it's not only one computer!!
I try to connect to the UK CVS ... perhaps I should try to use a different one??

Ralf


Jordan Tomkinson added a comment - 05/May/09 02:52 PM
Re-assigning to Dan as he looks after the UK CVS mirror

Dan Poltawski added a comment - 05/May/09 04:04 PM
Hi Jordan,

The disks have failed in the server, I suspect the best solution for the time being is to switch the dns to another mirror.


Jordan Tomkinson added a comment - 05/May/09 04:17 PM
I have changed the DNS for uk.cvs.moodle.org to point to eu.cvs.moodle.org (open university)
Let me know when you want it changed back

Ralf Krause added a comment - 05/May/09 09:57 PM
Yes! It works again. Super! Great! Thanks!
... and it was the server .... not the script

Ralf