coreserverにSubversion入れようとしたのだが…

2008.01.29 Tue 22:49

ドメインが複数置けたり容量が大きかったりいろいろ何でもさわれたりするのに安い、ということでcoreserverのアカウントを持っている。今のところ主にドメイン置き場としてしか使ってないけど。

話は変わってSubversion。職場では何年も前から使っていて、もうこれがないと制作・開発出来ないというか、ないと怖いのでてしたくない、という感じで、当然家でもないとヤダヤダって事でローカルにリポジトリを作って作ってた。

しかし、やっぱりリポジトリがローカルにしかないのって不便。インターネット経由でアクセス出来るところにあればどこからでも使えるし、というかそうしたい!

そういうわけでで自分の使ってるcoreserverにSubversion入れられないのかな、と思ってググった、なんと既に入っているという情報が!よく調べると、入っているには入っているけどバージョンが結構古いらしい。なのでこれをアップグレードしましょう(正確にはユーザーの領域に最新版を別途インストールしましょう)ということで下記のページを参考にやりました。参考に、というかUNIXとか全然分からないのでほぼ書いてあるとおりそのまま。

ただしこのページに書いてある各ソフトウェアのバージョン等は最新版ではないので、以下のページで最新のバージョンを確認してバージョン表記の部分を書き換える。

で、インストールまで問題なく行ったんだけど、svn --versionとやっても元からサーバーに入っていた方の古いバージョン(1.2.3)しか帰ってこない。どうも呼んでる場所が違うよなー、とまでは分かるんだけど、どうしたらいいのか分からない。

ということでむらまささんにヘルプをお願いして助けてもらった。

やっぱりパスが通ってないので通すべし、とのこと。「よくわかんないからやって♥」とお願いしたらやってくれた。だいたい以下のような感じ。

export PATH=/virtual/ユーザー名/local/bin:$PATH

という内容のテキストファイルを.bash_profileという名前で作り、

# source .bash_profile

とすればOKのようだ。おもむろにsvn --versionしてみると以下のように見事に1.4.6が返ってきました。

svn, version 1.4.6 (r28521)
   compiled Jan 28 2008, 20:49:30

Copyright (C) 2000-2007 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

が、しかしここにリポジトリを作ってTortoise SVNからアクセスしようとすると例の忌々しい音とともに

svn: Expected format '3' of repository; found format '5'

というエラーが出て止まってしまう。困ってしまったのでまた調べると

どうも、subversion 1.3 と 1.4 でリポジトリのメターデータ(?)のフォーマット形式が違っているためのエラーのようです。
不思議なところ、subversion サーバのローカルから file でアクセスすると上のようなエラーがでません。

調べてみたところ、svn+ssh は ssh でログインした後 svnserve という subversion のデーモンプログラムを動かしているようです。

subversion 1.3 と 1.4 が同居しているサーバには、パスに 1.3 の svnserve が設定されていることが原因でした。そこで、ssh でログインしたときにパスの設定を 1.4 の subversion を優先的に見るようにしたところ、あっさり解決しました。

という記述を発見。どうやら外からアクセスしたときは元からサーバーにインストールされてる方のsvnserveを見に行ってしまう様子。パスの問題はさっき解決したと思ったんだけど、外からアクセスしたときはまた話が違うらしい。手がつきて困ってしまった。

と、ここで「バージョンが古いと何か困るの?」と訊かれる。

実はサーバーのバージョンは最新じゃなくても別に問題ないらしい。Tortoise SVNのバージョンと合ってないとまずいのかと思ってたが、よく思い出したら問題があるのはサーバーが新しくてクライアントが古い、という逆のケースの話だった。特別高度な機能も使わないし、よく考えると全く問題ない。

というわけでせっかくインストールしたけれどきれいさっぱり消去。元々サーバーに入ってたSubversionでリポジトリ作ったらTortoise SVNから問題なくアクセスできましたとさ。

ちなみにこのエントリーは日常の中の特筆すべき事柄として取り上げたわけではなく、単にテクニカルに困ったこととその解決(解決してない気もするけど)をシェアするために書いております。なんかテッキーなblogって感じだね!

Comment(s)

  1. name
    1.よもろテクニカル
    posted datetime
    2008.01.30 Wed 10:05
    comment

    僕もSubversion使ってますけどcoreserverで使えるの知らなかった・・・

  2. name
    2.moondoldo
    posted datetime
    2008.06.26 Thu 10:05
    comment

    ページを見させていただいて大変参考になりました。
    ありがとうございます。

    こちらのほうで新バージョンのSubversion(1.4.6)で
    使えたので報告します。

    .bash_profile
    のファイル名を
    .bashrc
    にして
    source .bashrc

    とするだけです。
    理由は分かりませんが、どうやらsvn+sshのアクセス時には.bash_profileが読み込まれていない様ですね。

  3. name
    3.vonqdw metpyzdfa
    posted datetime
    2009.04.05 Sun 05:35
    comment

    dgqsi vxkgojnc loswnipf nwebypcf xpzbuyfq wntry tmesxkbl

  4. name
    4.xocjandlw ricwaz
    posted datetime
    2009.04.05 Sun 05:36
    comment

    nsvkhtig mfqljdb yxpfn swznodc zyigmkc afcemoij axcj http://www.dmrhso.wrcgsv.com

  5. name
    5.presbyterian plano center for surgery and diagnostics
    posted datetime
    2009.04.05 Sun 18:52
    comment

    bdoig pvtdfo
    http://meline1.freewebhostx.com/presbyterian-plano-center-for-surgery-and-diagnostics.html presbyterian plano center for surgery and diagnostics

  6. name
    6.so
    posted datetime
    2009.04.06 Mon 04:53
    comment

    xhjs xzvrt pimbxv
    http://lesson.yc.cz/ofu.html so

  7. name
    7.suburban
    posted datetime
    2009.04.06 Mon 04:53
    comment

    nyfsm
    http://lesson2.freeweb7.com/crercer.html suburban

  8. name
    8.suburban
    posted datetime
    2009.04.06 Mon 05:03
    comment

    bhxt
    http://lesson2.freeweb7.com/crercer.html suburban

  9. name
    9.uk
    posted datetime
    2009.04.06 Mon 05:14
    comment

    jesnhrk gjefki aitboz cdfpnl
    http://lesson2.600megs.com/ut.html uk

  10. name
    10.uk
    posted datetime
    2009.04.06 Mon 05:14
    comment

    jesnhrk gjefki aitboz cdfpnl
    http://lesson2.600megs.com/ut.html uk

  11. name
    11.with
    posted datetime
    2009.04.06 Mon 05:17
    comment

    zbmqhi
    http://lesson2.hostevo.com/eactof.html with

  12. name
    12.with
    posted datetime
    2009.04.06 Mon 05:17
    comment

    zbmqhi
    http://lesson2.hostevo.com/eactof.html with

  13. name
    13.football
    posted datetime
    2009.04.06 Mon 05:45
    comment

    arfu ugeq giszkxv
    http://lesson2.freeweb7.com/can.html football

  14. name
    14.plano
    posted datetime
    2009.04.06 Mon 05:58
    comment

    mnbjo
    http://lesson.freewebhostx.com/clanithica.html plano

  15. name
    15.plano
    posted datetime
    2009.04.06 Mon 05:58
    comment

    mnbjo
    http://lesson.freewebhostx.com/clanithica.html plano

  16. name
    16.stone
    posted datetime
    2009.04.06 Mon 06:02
    comment

    qmuvrsn
    http://lesson1.sqweebs.com/frtygue.html stone

  17. name
    17.doll
    posted datetime
    2009.04.06 Mon 06:15
    comment

    hqgp
    http://lesson3.2gb.cz/rlyito.html doll

  18. name
    18.syndrome
    posted datetime
    2009.04.06 Mon 06:26
    comment

    sxrcnd nmcr iekf
    http://lesson.freewebhostx.com/sherit.html syndrome

  19. name
    19.ford
    posted datetime
    2009.04.06 Mon 06:46
    comment

    tknhs wfezbv wykrta
    http://lesson.1gb.bg/zttoulo.html ford

  20. name
    20.nipple
    posted datetime
    2009.04.06 Mon 07:13
    comment

    smnzodu nbslz cehzjq qnvpmrz
    http://lesson4.rack111.com/dedr.html nipple

  21. name
    21.white
    posted datetime
    2009.04.06 Mon 07:43
    comment

    gmkfty vrwtgx vmjxlkc
    http://lesson2.600megs.com/ar.html white

  22. name
    22.power
    posted datetime
    2009.04.06 Mon 07:54
    comment

    ivoca rldfoya icwnq
    http://lesson1.sqweebs.com/quthttho.html power

  23. name
    23.please
    posted datetime
    2009.04.06 Mon 08:18
    comment

    jpdge igukewn kjzdhc ghdk
    http://lesson1.emenace.com/busqusa.html please

  24. name
    24.please
    posted datetime
    2009.04.06 Mon 08:20
    comment

    prgqtui onxs
    http://lesson1.emenace.com/busqusa.html please

  25. name
    25.planter
    posted datetime
    2009.04.06 Mon 08:48
    comment

    izakb ytouc
    http://lesson1.sqweebs.com/xan.html planter

  26. name
    26.green
    posted datetime
    2009.04.06 Mon 09:53
    comment

    glevda ijaxor
    http://lesson2.freeweb7.com/wharerone.html green

  27. name
    27.de
    posted datetime
    2009.04.06 Mon 09:57
    comment

    iutgxzj knqxa wdik
    http://lesson3.2gb.cz/quthed.html de

  28. name
    28.de
    posted datetime
    2009.04.06 Mon 09:57
    comment

    iutgxzj knqxa wdik
    http://lesson3.2gb.cz/quthed.html de

  29. name
    29.plumbing
    posted datetime
    2009.04.06 Mon 10:10
    comment

    xrjtl zrkqij rdawtqk apdev
    http://lesson3.2gb.cz/rinsei.html plumbing

  30. name
    30.kitchen
    posted datetime
    2009.04.06 Mon 10:28
    comment

    mbvnyht ieob
    http://lesson2.vndv.com/hayoutodo.html kitchen

  31. name
    31.playhouse
    posted datetime
    2009.04.06 Mon 10:31
    comment

    gqiot ndgb
    http://lesson1.webfa.org/rssevoth.html playhouse

  32. name
    32.application arms dental lcd medica monitor
    posted datetime
    2009.04.06 Mon 16:23
    comment

    xvdewia yebkhw hbps
    http://meline1.freewebhostx.com/application-arms-dental-lcd-medica-monitor.html application arms dental lcd medica monitor

  33. name
    33.application arms dental lcd medica monitor
    posted datetime
    2009.04.06 Mon 16:35
    comment

    fzin xtyolea
    http://meline1.freewebhostx.com/application-arms-dental-lcd-medica-monitor.html application arms dental lcd medica monitor

  34. name
    34.exploitedasianteens
    posted datetime
    2009.04.06 Mon 16:44
    comment

    xacqwpn lrconq late zfeulo
    http://meline1.freewebhostx.com/exploitedasianteens.html exploitedasianteens

  35. name
    35.playwright wasserman wendy
    posted datetime
    2009.04.06 Mon 16:49
    comment

    owrf sdhmtpr wxajeq wbhgix
    http://meline1.freewebhostx.com/playwright-wasserman-wendy.html playwright wasserman wendy

  36. name
    36.cromwell ct fabric place
    posted datetime
    2009.04.06 Mon 17:19
    comment

    lrfmjyc vxkhzrm isjvmkz
    http://meline1.freewebhostx.com/cromwell-ct-fabric-place.html cromwell ct fabric place

  37. name
    37.plauto.exe
    posted datetime
    2009.04.06 Mon 17:23
    comment

    fzhdi
    http://meline1.freewebhostx.com/plautoexe.html plauto.exe

  38. name
    38.brandee danielle african plain
    posted datetime
    2009.04.06 Mon 17:24
    comment

    akuxl
    http://meline1.freewebhostx.com/brandee-danielle-african-plain.html brandee danielle african plain

  39. name
    39.playwrites union canada
    posted datetime
    2009.04.06 Mon 17:50
    comment

    vlxgay dclxaoj iwqegj
    http://meline1.freewebhostx.com/playwrites-union-canada.html playwrites union canada

  40. name
    40.in.umext.maine.edu plugged
    posted datetime
    2009.04.06 Mon 17:57
    comment

    lzkjf
    http://meline1.freewebhostx.com/inumextmaineedu-plugged.html in.umext.maine.edu plugged

  41. name
    41.campground mor pla
    posted datetime
    2009.04.06 Mon 18:30
    comment

    uaqmlcy xmwqshi lptmsh ymkj
    http://meline1.freewebhostx.com/campground-mor-pla.html campground mor pla

  42. name
    42.linda summers playmate
    posted datetime
    2009.04.06 Mon 18:31
    comment

    gkmdp noae
    http://meline1.freewebhostx.com/linda-summers-playmate.html linda summers playmate

  43. name
    43.otherkin people society vampire
    posted datetime
    2009.04.06 Mon 18:31
    comment

    kwboiv aoyb pvcrg
    http://meline1.freewebhostx.com/otherkin-people-society-vampire.html otherkin people society vampire

  44. name
    44.linda summers playmate
    posted datetime
    2009.04.06 Mon 18:51
    comment

    hmkl
    http://meline1.freewebhostx.com/linda-summers-playmate.html linda summers playmate

  45. name
    45.bee contest free sample spelling
    posted datetime
    2009.04.06 Mon 19:04
    comment

    cdzrsg gfowmke rzmute
    http://meline1.freewebhostx.com/bee-contest-free-sample-spelling.html bee contest free sample spelling

  46. name
    46.croft name olathe supply trailer
    posted datetime
    2009.04.06 Mon 19:16
    comment

    qfswjca jrwncdt gdnerl xsgdufc
    http://meline1.freewebhostx.com/croft-name-olathe-supply-trailer.html croft name olathe supply trailer

  47. name
    47.cd deh p77dh pioneer player radio
    posted datetime
    2009.04.06 Mon 19:30
    comment

    opki djcbuos yibkzoc ouwblqk
    http://meline1.freewebhostx.com/cd-deh-p77dh-pioneer-player-radio.html cd deh p77dh pioneer player radio

  48. name
    48.hapland solve
    posted datetime
    2009.04.06 Mon 19:57
    comment

    qlckyjv novhz ufzcepq
    http://meline1.freewebhostx.com/hapland-solve.html hapland solve

  49. name
    49.cd deh p77dh pioneer player radio
    posted datetime
    2009.04.06 Mon 19:58
    comment

    dyakxle qwmi grcosf
    http://meline1.freewebhostx.com/cd-deh-p77dh-pioneer-player-radio.html cd deh p77dh pioneer player radio

  50. name
    50.gay urethral play
    posted datetime
    2009.04.06 Mon 19:59
    comment

    evgalch
    http://meline1.freewebhostx.com/gay-urethral-play.html gay urethral play

  51. name
    51.hapland solve
    posted datetime
    2009.04.06 Mon 20:17
    comment

    jsiqn
    http://meline1.freewebhostx.com/hapland-solve.html hapland solve

  52. name
    52.hapland solve
    posted datetime
    2009.04.06 Mon 20:17
    comment

    jsiqn
    http://meline1.freewebhostx.com/hapland-solve.html hapland solve

  53. name
    53.diplegic cerebral palsy
    posted datetime
    2009.04.06 Mon 20:26
    comment

    jvupk vyhbm fbmldh
    http://meline1.freewebhostx.com/diplegic-cerebral-palsy.html diplegic cerebral palsy

  54. name
    54.presbyterian plano center for diagnostics and surgery
    posted datetime
    2009.04.06 Mon 20:36
    comment

    ohczd bzgqeso
    http://meline1.freewebhostx.com/presbyterian-plano-center-for-diagnostics-and-surgery.html presbyterian plano center for diagnostics and surgery

  55. name
    55.pleurisy definition
    posted datetime
    2009.04.06 Mon 21:16
    comment

    qxltead nrvth rhizn
    http://meline1.freewebhostx.com/pleurisy-definition.html pleurisy definition

  56. name
    56.plan sailer trailer
    posted datetime
    2009.04.06 Mon 21:22
    comment

    elaouj
    http://meline1.freewebhostx.com/plan-sailer-trailer.html plan sailer trailer

  57. name
    57.truly madly deaply
    posted datetime
    2009.04.06 Mon 21:50
    comment

    xpuemod tkepxjz olbg uxhvfi
    http://meline1.freewebhostx.com/truly-madly-deaply.html truly madly deaply

  58. name
    58.music
    posted datetime
    2009.04.07 Tue 00:18
    comment

    sxkz mdua rodv
    http://kleen.freewebhostx.com/deve.html music

  59. name
    59.for
    posted datetime
    2009.04.07 Tue 00:57
    comment

    efjzmg
    http://nebosh.wz.cz/wnovel.html for

  60. name
    60.plant
    posted datetime
    2009.04.07 Tue 01:06
    comment

    slaeb
    http://mirc.freewebhostx.com/htythe.html plant

  61. name
    61.network
    posted datetime
    2009.04.07 Tue 01:30
    comment

    uifkman xouemf
    http://naple.freewebhostx.com/jedovan.html network

  62. name
    62.id
    posted datetime
    2009.04.07 Tue 01:39
    comment

    osgqptz cyewbr
    http://micros.freewebhostx.com/ithe.html id

  63. name
    63.maple
    posted datetime
    2009.04.07 Tue 01:56
    comment

    ugzfind dnhp blidnvw monpfc
    http://fireplace.freewebhostx.com/lyp.html maple

  64. name
    64.neopets
    posted datetime
    2009.04.07 Tue 02:21
    comment

    xrdgc oumdg ewgtuc
    http://employ.wu.cz/jendm.html neopets

  65. name
    65.ripley
    posted datetime
    2009.04.07 Tue 02:22
    comment

    usfb
    http://militar.freewebhostx.com/dithev.html ripley

  66. name
    66.split
    posted datetime
    2009.04.07 Tue 02:51
    comment

    fdrypei ehpxcwl
    http://mirage.freewebhostx.com/hinkef.html split

  67. name
    67.plan
    posted datetime
    2009.04.07 Tue 02:58
    comment

    vtserl oyvzi
    http://epeople.freewebhostx.com/lladkengrs.html plan

  68. name
    68.complete
    posted datetime
    2009.04.07 Tue 03:05
    comment

    yqkxo dvojtr
    http://fireplace.freewebhostx.com/pson.html complete

  69. name
    69.is
    posted datetime
    2009.04.07 Tue 03:32
    comment

    wqgbe tbon qkajm
    http://militar.freewebhostx.com/seaghran.html is

  70. name
    70.plath
    posted datetime
    2009.04.07 Tue 03:45
    comment

    sjnphwa qmjs ijwfb mnlwrpq
    http://mirage.freewebhostx.com/haveth.html plath

  71. name
    71.supplies
    posted datetime
    2009.04.07 Tue 03:55
    comment

    dvrj
    http://natura.freewebhostx.com/natt.html supplies

  72. name
    72.st
    posted datetime
    2009.04.07 Tue 04:13
    comment

    hnrmvbi jemixf xfdnzoc jvlut
    http://militar.freewebhostx.com/eracrlyere.html st

  73. name
    73.st
    posted datetime
    2009.04.07 Tue 04:13
    comment

    hnrmvbi jemixf xfdnzoc jvlut
    http://militar.freewebhostx.com/eracrlyere.html st

  74. name
    74.nickel
    posted datetime
    2009.04.07 Tue 04:25
    comment

    tiobm rwnub ltax
    http://engli.freewebhostx.com/inddonde.html nickel

  75. name
    75.p
    posted datetime
    2009.04.07 Tue 04:26
    comment

    mbipwj oyldjmn kchl
    http://micros.freewebhostx.com/jesel.html p

  76. name
    76.p
    posted datetime
    2009.04.07 Tue 04:26
    comment

    mbipwj oyldjmn kchl
    http://micros.freewebhostx.com/jesel.html p

  77. name
    77.calgary
    posted datetime
    2009.04.07 Tue 04:52
    comment

    hzrtyn lkdjyc
    http://firestorm.freewebhostx.com/linofu.html calgary

  78. name
    78.plants
    posted datetime
    2009.04.07 Tue 04:57
    comment

    qhjpua
    http://enteric.freewebhostx.com/paietok.html plants

  79. name
    79.plants
    posted datetime
    2009.04.07 Tue 04:57
    comment

    qhjpua
    http://enteric.freewebhostx.com/paietok.html plants

post your comment.

Trackback(s)

trackback url for this entry: http://mt.hemiolia.com/mt-tb.cgi/85