Error listing directory '/root'

Advertisement

dmnor510
Joined:
Posts:
1

Error listing directory '/root'

Hello:

I upgraded my SSH server to Fedora 11, and when I use WinSCP to connect to it, I get the following error ==>

Error listing directory '/root'

Unexpected directory listing line 'drwxr-x---. 22 root root 4096 Jun 16 17:38 .'.
'.' is not a valid integer value

Reply with quote

Advertisement

tmrow
Guest

Re: Error listing directory '/root'

dmnor510 wrote:

Hello:

I upgraded my SSH server to Fedora 11, and when I use WinSCP to connect to it, I get the following error ==>

Error listing directory '/root'

Unexpected directory listing line 'drwxr-x---. 22 root root 4096 Jun 16 17:38 .'.
'.' is not a valid integer value
I have the same problem.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Error listing directory '/root'

Thanks for your post. This issue has been added to tracker.
You may consider using SFTP instead of SCP meanwhile.
_________________
Martin Prikryl

Reply with quote

richardsite
Guest

Re: Error listing directory '/root'

dmnor510 wrote:

Hello:

I upgraded my SSH server to Fedora 11, and when I use WinSCP to connect to it, I get the following error ==>

Error listing directory '/root'

Unexpected directory listing line 'drwxr-x---. 22 root root 4096 Jun 16 17:38 .'.
'.' is not a valid integer value

Just upgrade

Reply with quote

Guest

Same error occuring in Centos 6.2

I have built a number of Centos 6.2 VM's and the "Unexpected directory listing.... not a valid integer value" error also occur in this relase

I turned on loggin and here is the result:

. 2012-07-02 10:19:46.114 Detected network event
. 2012-07-02 10:19:46.114 Enumerating network events for socket 684
. 2012-07-02 10:19:46.114 Enumerated 1 network events making 1 cumulative events for socket 684
. 2012-07-02 10:19:46.114 Handling network read event on socket 684 with error 0
. 2012-07-02 10:19:46.114 Received 1439 bytes (0)
. 2012-07-02 10:19:46.114 Received 30 bytes (0)
. 2012-07-02 10:19:46.114 Read 1 bytes (1468 pending)
. 2012-07-02 10:19:46.114 Read 11 bytes (1457 pending)
< 2012-07-02 10:19:46.114 total 89596
. 2012-07-02 10:19:46.114 Read 55 bytes (1402 pending)
< 2012-07-02 10:19:46.114 drwxr-xr-x. 22 root root 4096 May 16 10:26 .
. 2012-07-02 10:19:46.114 Read 56 bytes (1346 pending)
< 2012-07-02 10:19:46.114 dr-xr-xr-x. 22 root root 4096 Jul 2 10:38 ..
. 2012-07-02 10:19:46.114 Read 61 bytes (1285 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 2 root root 4096 May 16 10:05 account
. 2012-07-02 10:19:46.115 Read 59 bytes (1226 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 10 root root 4096 May 16 11:03 cache
. 2012-07-02 10:19:46.115 Read 59 bytes (1167 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 2 root root 4096 Dec 8 2011 crash
. 2012-07-02 10:19:46.115 Read 56 bytes (1111 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 3 root root 4096 May 16 10:05 db
. 2012-07-02 10:19:46.115 Read 59 bytes (1052 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 3 root root 4096 May 16 10:05 empty
. 2012-07-02 10:19:46.115 Read 59 bytes (993 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 2 root root 4096 Sep 23 2011 games
. 2012-07-02 10:19:46.115 Read 57 bytes (936 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 23 root root 4096 May 16 11:08 lib
. 2012-07-02 10:19:46.115 Read 59 bytes (877 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 2 root root 4096 Sep 23 2011 local
. 2012-07-02 10:19:46.115 Read 58 bytes (819 pending)
< 2012-07-02 10:19:46.115 drwxrwxr-x. 5 root lock 4096 Jul 2 03:09 lock
. 2012-07-02 10:19:46.115 Read 57 bytes (762 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 9 root root 4096 Jul 1 03:07 log
. 2012-07-02 10:19:46.115 Read 64 bytes (698 pending)
< 2012-07-02 10:19:46.115 drwx------. 2 root root 16384 May 16 10:00 lost+found
. 2012-07-02 10:19:46.115 Read 61 bytes (637 pending)
< 2012-07-02 10:19:46.115 drwxr-xr-x. 13 1072 1072 4096 May 16 16:27 magento
. 2012-07-02 10:19:46.115 Read 73 bytes (564 pending)
< 2012-07-02 10:19:46.116 -rw-rw-r--. 1 sidneyy sidneyy 91535360 May 16 09:36 magento-1.7.0.0.tar
. 2012-07-02 10:19:46.116 Read 72 bytes (492 pending)
< 2012-07-02 10:19:46.116 lrwxrwxrwx. 1 root root 10 May 16 10:03 mail -> spool/mail
. 2012-07-02 10:19:46.116 Read 57 bytes (435 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 2 root root 4096 Sep 23 2011 nis
. 2012-07-02 10:19:46.116 Read 57 bytes (378 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 2 root root 4096 Sep 23 2011 opt
. 2012-07-02 10:19:46.116 Read 62 bytes (316 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 2 root root 4096 Sep 23 2011 preserve
. 2012-07-02 10:19:46.116 Read 57 bytes (259 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 18 root root 4096 Jun 26 16:25 run
. 2012-07-02 10:19:46.116 Read 59 bytes (200 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 13 root root 4096 May 16 10:05 spool
. 2012-07-02 10:19:46.116 Read 57 bytes (143 pending)
< 2012-07-02 10:19:46.116 drwxrwxrwt. 2 root root 4096 May 30 19:54 tmp
. 2012-07-02 10:19:46.116 Read 57 bytes (86 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 6 root root 4096 May 16 11:03 www
. 2012-07-02 10:19:46.116 Read 56 bytes (30 pending)
< 2012-07-02 10:19:46.116 drwxr-xr-x. 2 root root 4096 Sep 23 2011 yp
. 2012-07-02 10:19:46.116 Read 30 bytes (0 pending)
< 2012-07-02 10:19:46.116 WinSCP: this is end-of-file:0
* 2012-07-02 10:19:46.120 (ECommand) Error listing directory '/var'.
* 2012-07-02 10:19:46.120 Unexpected directory listing line 'drwxr-xr-x. 22 root root 4096 May 16 10:26 .'.
* 2012-07-02 10:19:46.120 '.' is not a valid integer value
. 2012-07-02 10:19:48.664 Session upkeep
. 2012-07-02 10:19:48.664 Looking for network events


Enjoy!
Sid

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Same error occuring in Centos 6.2

Anonymous wrote:

I have built a number of Centos 6.2 VM's and the "Unexpected directory listing.... not a valid integer value" error also occur in this relase
What version of WinSCP are you using? Please make sure you are using the latest one.
_________________
Martin Prikryl

Reply with quote

samerbaer
Joined:
Posts:
4

Similar Error on Android Busybox

Hi, it seems that the ls -la command on an Android busybox is not returning the inode value, here's the error I get:

Unexpected directory listing line 'drwx------ root root 2012-06-29 11:06 .ssh'.
'root' is not a valid integer value

Since I can't switch to SFTP (not implemented) i'd be happy if you could include such a "ls -la" reply line to your parser.
I've tried to connect with WinSCP 4.3.8 and 5.0.7beta

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Similar Error on Android Busybox

samerbaer wrote:

Hi, it seems that the ls -la command on an Android busybox is not returning the inode value, here's the error I get:

Unexpected directory listing line 'drwx------ root root 2012-06-29 11:06 .ssh'.
'root' is not a valid integer value

Since I can't switch to SFTP (not implemented) i'd be happy if you could include such a "ls -la" reply line to your parser.
I've tried to connect with WinSCP 4.3.8 and 5.0.7beta
Thanks for your report.

This issue has been added to the tracker:
https://winscp.net/tracker/881

I have sent you an email.

Reply with quote

samerbaer
Joined:
Posts:
4

Re: Re: Similar Error on Android Busybox

Hi, thanks for the quick reply.

I just tried the version you've linked but unfortunately it doesn't work yet.
This is the Error Message I get now:
Unexpected directory listing line 'drwxr-xr-x root root 2012-07-10 06:14 acct'.

It seems to still have Problems but the "'root' is not a valid integer value" message isn't showing any more

I just connected with putty and did an ls -la, maybe this helps:
drwx------ root root 2012-06-29 11:06 .ssh
drwxrwxrwx root root 2012-07-02 13:58 mnt
drwxrwx--x shell shell 2012-06-26 07:01 tmp
-rwxr-xr-x root root 77352 2012-06-28 15:15 toolbox

I've seen in the preview, that the message board formating kind of modifies the ls -la output,
so I'll attach a picture of my putty session.

Putty.gif

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Re: Similar Error on Android Busybox

It's the missing size column for directory entries.
Let me try to solve this.
I'll come back to you.
_________________
Martin Prikryl

Reply with quote

samerbaer
Joined:
Posts:
4

Re: Re: Similar Error on Android Busybox

martin wrote:

It's the missing size column for directory entries.
Let me try to solve this.
I'll come back to you.

Thanks for the effort, I'll be glad to test any new versions

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Any news on this topic?

samerbaer wrote:

Any news on this topic?
Sorry, it's in queue.
_________________
Martin Prikryl

Reply with quote

Advertisement

ropo
Guest

Re: Any news on this topic?

martin wrote:

Sorry, it's in queue.

Still in the queue? Android is quite popular, I think

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Any news on this topic?

Can anyone with access to Busybox contact me on my email address?

You will find my address (if you log in) in my forum profile.

Reply with quote

Ramadevi
Guest

Hi...
When I'm started to using the server. I'm facing this problem in winSCP3

"Unexpected directory listing line 'drwxrwxrwx. 35 root root 4096 Apr 9 19:37 .'.'.' is not a valid integer value"



Can anyone help me plz....

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Ramadevi wrote:


When I'm started to using the server. I'm facing this problem in winSCP3

"Unexpected directory listing line 'drwxrwxrwx. 35 root root 4096 Apr 9 19:37 .'.'.' is not a valid integer value"
Please start a new thread and attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum