Moodle Community Sites

Problem with CVS

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Component/s: CVS repository
  • Labels:
    None

Description

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
#

  1. This CVS updater for Mac OS X is part
  2. of the installation package Moodle4Mac
  3. 20080421 - Ralf Krause
    #

export CVS_RSH=ssh

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

cd /Applications/MAMP/htdocs/moodle19/

      1. delete all files named .DS_Store
        find . -name ".DS_Store" -type f -print0 | xargs -0 rm -f
      1. file ~/.cvspass must exist
        if ! test -e ~/.cvspass ; then
        touch ~/.cvspass
        fi
      1. 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

Activity

Hide
Jordan Tomkinson added a comment - - edited

Try cleaning out your /tmp and make sure its writable by your user

Show
Jordan Tomkinson added a comment - - edited Try cleaning out your /tmp and make sure its writable by your user
Hide
Ralf Krause added a comment -

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$

Show
Ralf Krause added a comment - 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$
Hide
Jordan Tomkinson added a comment -

Is this still an issue for you?
the server removes old files in /tmp hourly, so it shouldn't be a continuous issue

Show
Jordan Tomkinson added a comment - Is this still an issue for you? the server removes old files in /tmp hourly, so it shouldn't be a continuous issue
Hide
Ralf Krause added a comment -

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

Show
Ralf Krause added a comment - 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
Hide
Jordan Tomkinson added a comment -

Re-assigning to Dan as he looks after the UK CVS mirror

Show
Jordan Tomkinson added a comment - Re-assigning to Dan as he looks after the UK CVS mirror
Hide
Dan Poltawski added a comment -

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.

Show
Dan Poltawski added a comment - 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.
Hide
Jordan Tomkinson added a comment -

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

Show
Jordan Tomkinson added a comment - 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
Hide
Ralf Krause added a comment -

Yes! It works again. Super! Great! Thanks!
... and it was the server .... not the script

Ralf

Show
Ralf Krause added a comment - Yes! It works again. Super! Great! Thanks! ... and it was the server .... not the script Ralf

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: