You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Gehriger <da...@linkcad.com> on 2006/09/05 22:14:08 UTC
MIME type of "svn_io_get_dirents2" ??
I'm still trying to get svn to work on my SuSE 9.0 box. This seems to be
impossible. All combinations, svn 1.3.0, 1.3.2, with / without bdb, and
so on simply don't work.
For instance, I built svn 1.3.2 from the sources. Then executed the
following commands:
# cd /tmp
# mkdir foo
# echo "Test" > foo/test
# svnadmin create testrepos
# cd foo
# svn import -m "Test" file:///tmp/testrepos/
and I get the following message:
svn: Can't detect MIME type of non-file 'svn_io_get_dirents2'
This happens with all svn versions I have compiled so far (1.3.0 and
1.3.2). What's going on here ? I already spent 12 hours trying to get
svn to work. This should really be simpler...
- Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: MIME type of "svn_io_get_dirents2" ??
Posted by Daniel Gehriger <da...@linkcad.com>.
Ulrich Eckhardt wrote:
> This is supposed to work, though you don't have to be root to do this. I
> therefore guess it is some kind of system setup - you don't use any caging
> software like SELinux, or? I know those have lead to problems in the past...
It's a VSERVER, but it has been working (at least the "svn import")
yesterday morning. In my quest to get the http protocol working,
something must have changed.
>
> Otherwise, I'd suggest three things:
> 1. Run the thing with ltrace, to make sure it doesn't pick up any leftovers
> from previous installs.
> 2. Run the thing with strace, to see what systemcalls it does. This will
> produce lots of output, but might help finding out what exactly failed.
I didn't know those two commands. Thank you for this excellent
suggestion! Unfortunately, the output doesn't reveal anything obvious.
> 3. Use a different machine or different OS, at least you could verify parts
> there, to narrow the number of possible failures.
I'm about to re-install (restore from backup) the entire OS. That'll be
quicker than tracing through subversion.
Thanks again,
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: MIME type of "svn_io_get_dirents2" ??
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Wednesday 06 September 2006 00:14, Daniel Gehriger wrote:
> I'm still trying to get svn to work on my SuSE 9.0 box. This seems to be
> impossible. All combinations, svn 1.3.0, 1.3.2, with / without bdb, and
> so on simply don't work.
>
> For instance, I built svn 1.3.2 from the sources. Then executed the
> following commands:
>
> # cd /tmp
> # mkdir foo
> # echo "Test" > foo/test
> # svnadmin create testrepos
> # cd foo
> # svn import -m "Test" file:///tmp/testrepos/
>
> and I get the following message:
>
> svn: Can't detect MIME type of non-file 'svn_io_get_dirents2'
This is supposed to work, though you don't have to be root to do this. I
therefore guess it is some kind of system setup - you don't use any caging
software like SELinux, or? I know those have lead to problems in the past...
Otherwise, I'd suggest three things:
1. Run the thing with ltrace, to make sure it doesn't pick up any leftovers
from previous installs.
2. Run the thing with strace, to see what systemcalls it does. This will
produce lots of output, but might help finding out what exactly failed.
3. Use a different machine or different OS, at least you could verify parts
there, to narrow the number of possible failures.
HTH
Uli
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail und jede mit dieser E-Mail versandte Datei ist vertraulich und ausschließlich für die Nutzung durch den vorgesehenen Empfänger bestimmt. Sollten Sie nicht der vorgesehene Empfänger dieser E-Mail sein, informieren Sie bitte den Absender. Jeder unbefugte Zugriff oder unbefugte Weiterleitung, die Fertigung einer Kopie oder sonstige in diesem Zusammenhang stehende Handlung ist untersagt.
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please be so kind to inform the sender. Any other unauthorised access, unauthorised forwarding, copying or other action in this connection at all, is prohibited.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: MIME type of "svn_io_get_dirents2" ??
Posted by Daniel Gehriger <da...@linkcad.com>.
There is no such file.
I execute the exact command sequence I posted. It works of course just
fine on my old server, but on my new server, it't talking about this
"svn_io_get_dirents2" file, which doesn't exist.
This "file", of course, is a function defined by subversion. But how and
why does its name show up in an error message related to a file ???
- Daniel
Hannes Erven wrote:
> Hi folks,
>
>
>>> svn: Can't detect MIME type of non-file 'svn_io_get_dirents2'
>
> Is it possible that this isn't a regular file, but a socket or something
> that cannot be put under version control? Perhaps Daniel could show us
> the "stat" output of that "file".
>
>
> -hannes
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: MIME type of "svn_io_get_dirents2" ??
Posted by Hannes Erven <h....@gmx.at>.
Hi folks,
>> svn: Can't detect MIME type of non-file 'svn_io_get_dirents2'
Is it possible that this isn't a regular file, but a socket or something
that cannot be put under version control? Perhaps Daniel could show us
the "stat" output of that "file".
-hannes
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: MIME type of "svn_io_get_dirents2" ??
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 6, 2006, at 00:14, Daniel Gehriger wrote:
> I'm still trying to get svn to work on my SuSE 9.0 box. This seems
> to be impossible. All combinations, svn 1.3.0, 1.3.2, with /
> without bdb, and so on simply don't work.
>
> For instance, I built svn 1.3.2 from the sources. Then executed the
> following commands:
>
> # cd /tmp
> # mkdir foo
> # echo "Test" > foo/test
> # svnadmin create testrepos
> # cd foo
> # svn import -m "Test" file:///tmp/testrepos/
>
> and I get the following message:
>
> svn: Can't detect MIME type of non-file 'svn_io_get_dirents2'
>
> This happens with all svn versions I have compiled so far (1.3.0
> and 1.3.2). What's going on here ? I already spent 12 hours trying
> to get svn to work. This should really be simpler...
I don't know what to say. Your recipe works for me with Subversion
1.3.2 on Mac OS X 10.4.7 PPC.
$ cd /tmp
$ mkdir foo
$ echo "Test" > foo/test
$ svnadmin create testrepos
$ cd foo
$ svn import -m "Test" file:///tmp/testrepos/
svn: The log message is a pathname (was -F intended?); use '--force-
log' to override
$ svn import -m "Testing" file:///tmp/testrepos/
Adding test
Committed revision 1.
$ svn ls file:///tmp/testrepos/
test
$
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: MIME type of "svn_io_get_dirents2" ??
Posted by Lorenz <lo...@yahoo.com>.
Hi,
>[...]
>For instance, I built svn 1.3.2 from the sources. Then executed the
>following commands:
have you tried to install subversion from
ftp://ftp.tu-cottbus.de/pub/unix/linux/suse.com/projects/apache/subversion/9.1-i386/subversion-1.3.0-1.1.20060120.i586.rpm
thats not the 9.0 version, but it might work anyway
>[...]
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org