WinSCP 2.3.0 freez when connect to apache/config

Advertisement

James
Guest

WinSCP 2.3.0 freez when connect to apache/config

Hi,

Every time when try to open Apache/Config folder, Win SCP 2.3.0 hangs (freez) and it is neccessary to restart the home computer.

Can open any other folder but not Apache/Config.
Going into Apache/Config with "Putty" is not a problem

James

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: WinSCP 2.3.0 freez when connect to apache/config

Can you check if there's any bad symlink (broken, cyclic, ...) in the directory? Otherwise, please post a log file.

Reply with quote

Guest

Re: WinSCP 2.3.0 freez when connect to apache/config

Hi,
don't know about those symlinks
but if you would explain how I can get that log file then I would sent to you.

Regards,
James

Reply with quote

Guest

Re: WinSCP 2.3.0 freez when connect to apache/config

Hi,
First sorry for the late reply, took some holiday.

Here is the demanded log file, as everything freexe I did a computer re-start after 5 minutes. But during this 5 minutes I can not do nothing with the computer everything is blocked.

I have cut the log file as normally it is 5 pages long but always repeating the same line, as you will see:

. Changing directory to "..".
> cd ".." ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
. Getting current directory name.
> pwd ; echo "WinSCP: this is end-of-file:$?"
< /usr/local/apache
< WinSCP: this is end-of-file:0
. Directory content loaded from cache.
. Changing directory to "conf".
> cd "conf" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
. Getting current directory name.
> pwd ; echo "WinSCP: this is end-of-file:$?"
< /usr/local/apache/conf
< WinSCP: this is end-of-file:0
. Listing current directory.
> ls -la ; echo "WinSCP: this is end-of-file:$?"
< total 932
< drwxr-xr-x 7 root root 4096 Jun 15 00:38 .
< drwxr-xr-x 14 root root 4096 Oct 24 2002 ..
< lrwxrwxrwx 1 root root 37 Dec 14 2002 Makefile -> ../../../usr/share/ssl/certs/Makefile
< -rwxr-xr-x 1 root root 130 Mar 20 2002 access.conf
< -rw-r--r-- 1 root root 348 Feb 8 10:12 access.conf.default
< -rw-r--r-- 1 root root 44635 Apr 12 2002 acopy.txt
< -rw-r--r-- 1 root root 43234 Apr 4 2002 acopyhttpd.txt
< lrwxrwxrwx 1 root root 3 Mar 20 2002 etc -> etc
< -rw-r--r-- 1 root root 52874 Jun 9 00:40 httpd.conf
< -r--r--r-- 1 root root 91649 Jun 9 00:40 httpd.conf,v
< -rw-r--r-- 1 root root 51307 May 2 16:23 httpd.conf-
< -rw-r--r-- 1 root root 39730 Mar 20 2002 httpd.conf.apachekit
< -rw-r--r-- 1 root wheel 51677 Apr 16 00:47 httpd.conf.backup
< -rw-r--r-- 1 root root 51731 Mar 31 00:39 httpd.conf.bak
< -rw-r--r-- 1 root root 51601 May 2 16:23 httpd.conf.bytes
< -rw-r--r-- 1 root root 50398 Oct 21 2002 httpd.conf.checkallowoverride
< -rw-r--r-- 1 root root 45467 Feb 8 10:12 httpd.conf.default
< -rw-r--r-- 1 root root 46990 Jul 21 2002 httpd.conf.prev
< -rw-r--r-- 1 root root 51643 May 2 16:23 httpd.conf.suexec
< -rw-r--r-- 1 root root 52833 Jun 9 00:40 httpd.conf.tmpeditlib
< -rw-r--r-- 1 root root 1267 Jun 9 00:40 httpd.conf.tmpeditlib.skip
< -rw-r--r-- 1 root root 47852 Aug 27 2002 httpdconf.txt
< -rw-r--r-- 1 root root 12441 Mar 20 2002 magic
< -rw-r--r-- 1 root root 12965 Feb 8 10:12 magic.default
< -rw-r--r-- 1 root root 12322 Mar 20 2002 mime.types
< -rw-r--r-- 1 root root 12381 Feb 8 10:12 mime.types.default
< -rw-r--r-- 1 root root 5 Mar 17 00:38 php.version
< -rwxr-xr-x 1 root root 357 Mar 20 2002 srm.conf
< -rw-r--r-- 1 root root 357 Feb 8 10:12 srm.conf.default
< drwxr-xr-x 2 root root 4096 Oct 24 2002 ssl.crl
< drwxr-xr-x 2 root root 4096 Feb 8 10:12 ssl.crt
< drwxr-xr-x 2 root root 4096 Oct 24 2002 ssl.csr
< drwx------ 2 root root 4096 Oct 24 2002 ssl.key
< drwxr-xr-x 2 root root 4096 Oct 24 2002 ssl.prm
< WinSCP: this is end-of-file:0
. Listing file "../../../usr/share/ssl/certs/Makefile".
> ls -lad "../../../usr/share/ssl/certs/Makefile" ; echo "WinSCP: this is end-of-file:$?"
< -rw-r--r-- 1 root root 1832 Mar 20 03:37 ../../../usr/share/ssl/certs/Makefile
< WinSCP: this is end-of-file:0
. Listing file "etc".
> ls -lad "etc" ; echo "WinSCP: this is end-of-file:$?"
< lrwxrwxrwx 1 root root 3 Mar 20 2002 etc -> etc
< WinSCP: this is end-of-file:0
. Listing file "etc".
> ls -lad "etc" ; echo "WinSCP: this is end-of-file:$?"
< lrwxrwxrwx 1 root root 3 Mar 20 2002 etc -> etc
< WinSCP: this is end-of-file:0
. Listing file "etc".
> ls -lad "etc" ; echo "WinSCP: this is end-of-file:$?"
< lrwxrwxrwx 1 root root 3 Mar 20 2002 etc -> etc
< WinSCP: this is end-of-file:0

I HAVE CUT HERE - IT's ALWAYS THE SAME LINE

Regards,
James

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: WinSCP 2.3.0 freez when connect to apache/config

Well, from the log file, you can see that there is a cyclic link etc -> etc.

Reply with quote

Guest

Re: WinSCP 2.3.0 freez when connect to apache/config

martin wrote:

Well, from the log file, you can see that there is a cyclic link etc -> etc.

Hi,

Could you please explain what this means and what I have to do.

Thank You

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: WinSCP 2.3.0 freez when connect to apache/config

Could you please explain what this means and what I have to do.
You have there link which points to itself. WinSCP tries to resolve the link, which leads to infinite loop (you may see it in log file).
To solve it, delete the link.
Next version of WinSCP would detect cyclic links properly.

Reply with quote

Advertisement

You can post new topics in this forum