Topic "Error listing directory '/root'"

Author Message
dmnor510
[View user's profile]

Joined: 2009-06-17
Posts: 1
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
Advertisements
tmrow

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for your post. This issue has been added to tracker.
You may consider using SFTP instead of SCP meanwhile.
_________________
Martin Prikryl
richardsite

Guest


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
Guest




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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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
samerbaer
[View user's profile]

Joined: 2012-07-02
Posts: 4
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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/show_bug.cgi?id=881

I have sent you an email.
samerbaer
[View user's profile]

Joined: 2012-07-02
Posts: 4
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 (4.78 KB)

Description: (none)

Putty.gif

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
It's the missing size column for directory entries.
Let me try to solve this.
I'll come back to you.
_________________
Martin Prikryl
samerbaer
[View user's profile]

Joined: 2012-07-02
Posts: 4
prikryl 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
samerbaer
[View user's profile]

Joined: 2012-07-02
Posts: 4
Any news on this topic?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
samerbaer wrote:
Any news on this topic?

Sorry, it's in queue.
_________________
Martin Prikryl
ropo

Guest


prikryl wrote:
Sorry, it's in queue.


Still in the queue? Android is quite popular, I think
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
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....
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License