Can not remove conftest.exe Permission denied

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Can not remove conftest.exe Permission denied

Santosh Rani
During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under
Cygwin environment, I am getting the following error:-

Can not remove conftest.exe Permission denied

I have successfully achieved  compiling same squid-2.6.STABLE13 on a
P-III machine .

Any clues please.

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Henrik Nordström
On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote:
> During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under
> Cygwin environment, I am getting the following error:-
>
> Can not remove conftest.exe Permission denied
>
> I have successfully achieved  compiling same squid-2.6.STABLE13 on a
> P-III machine .
>
> Any clues please.

Which configure test is it failing at?
(see config.log)

I would guess one of the tests gets stuck in the background somehow. An
educated guess is the "if AF_UNIX dgram sockets support large packets"
test as this is the only test forking a child process..

if that's the case then you can try

./configure ... ac_cv_af_unix_large_dgram=no

Regards
Henrik



signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Santosh Rani
Upon checking the config.log, the following test seems to be failing:

configure:2775: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2781: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

Secondly, I have tried the hint given by you and it works. The
question on my mind is what I have done by that
ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do?
Finally is it all documented somewhere?

Regards

On 21/07/07, Henrik Nordstrom <[hidden email]> wrote:

> On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote:
> > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under
> > Cygwin environment, I am getting the following error:-
> >
> > Can not remove conftest.exe Permission denied
> >
> > I have successfully achieved  compiling same squid-2.6.STABLE13 on a
> > P-III machine .
> >
> > Any clues please.
>
> Which configure test is it failing at?
> (see config.log)
>
> I would guess one of the tests gets stuck in the background somehow. An
> educated guess is the "if AF_UNIX dgram sockets support large packets"
> test as this is the only test forking a child process..
>
> if that's the case then you can try
>
> ./configure ... ac_cv_af_unix_large_dgram=no
>
> Regards
> Henrik
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Santosh Rani
Though Squid has been compiled and it is running, but it does not serve.
cache.log has following entry:
2007/07/21 16:49:06| Starting Squid Cache version 2.6.STABLE13 for
i686-pc-cygwin...
2007/07/21 16:49:06| Running on Windows XP
2007/07/21 16:49:06| Process ID 3440
2007/07/21 16:49:06| With 8192 file descriptors available
2007/07/21 16:49:06| Using poll for the IO loop
2007/07/21 16:49:06| Performing DNS Tests...
2007/07/21 16:49:06| Successful DNS name lookup tests...
2007/07/21 16:49:06| DNS Socket created at 0.0.0.0, port 2106, FD 4
2007/07/21 16:49:06| /etc/resolv.conf: (2) No such file or directory
2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry
2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry
2007/07/21 16:49:06| Adding nameserver xx..x.xx.xx from Registry
2007/07/21 16:49:06| Adding nameserver xx.x.xx.xx from Registry
2007/07/21 16:49:06| Referer logging is disabled.
2007/07/21 16:49:06| Unlinkd pipe opened on FD 9
2007/07/21 16:49:06| Swap maxSize 102400 KB, estimated 7876 objects
2007/07/21 16:49:06| Target number of buckets: 393
2007/07/21 16:49:06| Using 8192 Store buckets
2007/07/21 16:49:06| Max Mem  size: 8192 KB
2007/07/21 16:49:06| Max Swap size: 102400 KB
2007/07/21 16:49:06| Rebuilding storage in /usr/local/squid/var/cache (DIRTY)
2007/07/21 16:49:06| Using Least Load store dir selection
2007/07/21 16:49:06| Set Current Directory to /usr/local/squid/var/cache
2007/07/21 16:49:06| Loaded Icons.
2007/07/21 16:49:07| Accepting proxy HTTP connections at 0.0.0.0, port
3128, FD 10.
2007/07/21 16:49:07| commSetNoLinger: FD 11: (109) Protocol not available
        2007/07/21 16:49:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
        2007/07/21 16:49:07| commSetNoLinger: FD 12: (109) Protocol not available
        2007/07/21 16:49:07| Accepting HTCP messages on port 4827, FD 12.
        2007/07/21 16:49:07| commSetNoLinger: FD 13: (109) Protocol not available
        2007/07/21 16:49:07| Accepting SNMP messages on port 3401, FD 13.

Regards
On 21/07/07, Santosh Rani <[hidden email]> wrote:

> Upon checking the config.log, the following test seems to be failing:
>
> configure:2775: gcc -c -g -O2  conftest.c >&5
> conftest.c:2: error: parse error before "me"
> configure:2781: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
>
> Secondly, I have tried the hint given by you and it works. The
> question on my mind is what I have done by that
> ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do?
> Finally is it all documented somewhere?
>
> Regards
>
> On 21/07/07, Henrik Nordstrom <[hidden email]> wrote:
> > On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote:
> > > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under
> > > Cygwin environment, I am getting the following error:-
> > >
> > > Can not remove conftest.exe Permission denied
> > >
> > > I have successfully achieved  compiling same squid-2.6.STABLE13 on a
> > > P-III machine .
> > >
> > > Any clues please.
> >
> > Which configure test is it failing at?
> > (see config.log)
> >
> > I would guess one of the tests gets stuck in the background somehow. An
> > educated guess is the "if AF_UNIX dgram sockets support large packets"
> > test as this is the only test forking a child process..
> >
> > if that's the case then you can try
> >
> > ./configure ... ac_cv_af_unix_large_dgram=no
> >
> > Regards
> > Henrik
> >
> >
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Santosh Rani
The error received in browser is: ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://www.sify.com/

The following error was encountered:

    * Connection to Failed

The system returned:

    (111) Connection refused

The remote host or network may be down. Please try the request again.

Your cache administrator is webmaster.
Generated Sat, 21 Jul 2007 14:16:45 GMT by mavelika (squid/2.6.STABLE13

On 21/07/07, Santosh Rani <[hidden email]> wrote:

> Though Squid has been compiled and it is running, but it does not serve.
> cache.log has following entry:
> 2007/07/21 16:49:06| Starting Squid Cache version 2.6.STABLE13 for
> i686-pc-cygwin...
> 2007/07/21 16:49:06| Running on Windows XP
> 2007/07/21 16:49:06| Process ID 3440
> 2007/07/21 16:49:06| With 8192 file descriptors available
> 2007/07/21 16:49:06| Using poll for the IO loop
> 2007/07/21 16:49:06| Performing DNS Tests...
> 2007/07/21 16:49:06| Successful DNS name lookup tests...
> 2007/07/21 16:49:06| DNS Socket created at 0.0.0.0, port 2106, FD 4
> 2007/07/21 16:49:06| /etc/resolv.conf: (2) No such file or directory
> 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry
> 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry
> 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry
> 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry
> 2007/07/21 16:49:06| Adding nameserver xx..x.xx.xx from Registry
> 2007/07/21 16:49:06| Adding nameserver xx.x.xx.xx from Registry
> 2007/07/21 16:49:06| Referer logging is disabled.
> 2007/07/21 16:49:06| Unlinkd pipe opened on FD 9
> 2007/07/21 16:49:06| Swap maxSize 102400 KB, estimated 7876 objects
> 2007/07/21 16:49:06| Target number of buckets: 393
> 2007/07/21 16:49:06| Using 8192 Store buckets
> 2007/07/21 16:49:06| Max Mem  size: 8192 KB
> 2007/07/21 16:49:06| Max Swap size: 102400 KB
> 2007/07/21 16:49:06| Rebuilding storage in /usr/local/squid/var/cache (DIRTY)
> 2007/07/21 16:49:06| Using Least Load store dir selection
> 2007/07/21 16:49:06| Set Current Directory to /usr/local/squid/var/cache
> 2007/07/21 16:49:06| Loaded Icons.
> 2007/07/21 16:49:07| Accepting proxy HTTP connections at 0.0.0.0, port
> 3128, FD 10.
> 2007/07/21 16:49:07| commSetNoLinger: FD 11: (109) Protocol not available
>         2007/07/21 16:49:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
>         2007/07/21 16:49:07| commSetNoLinger: FD 12: (109) Protocol not available
>         2007/07/21 16:49:07| Accepting HTCP messages on port 4827, FD 12.
>         2007/07/21 16:49:07| commSetNoLinger: FD 13: (109) Protocol not available
>         2007/07/21 16:49:07| Accepting SNMP messages on port 3401, FD 13.
>
> Regards
> On 21/07/07, Santosh Rani <[hidden email]> wrote:
> > Upon checking the config.log, the following test seems to be failing:
> >
> > configure:2775: gcc -c -g -O2  conftest.c >&5
> > conftest.c:2: error: parse error before "me"
> > configure:2781: $? = 1
> > configure: failed program was:
> > | #ifndef __cplusplus
> > |   choke me
> > | #endif
> >
> > Secondly, I have tried the hint given by you and it works. The
> > question on my mind is what I have done by that
> > ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do?
> > Finally is it all documented somewhere?
> >
> > Regards
> >
> > On 21/07/07, Henrik Nordstrom <[hidden email]> wrote:
> > > On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote:
> > > > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under
> > > > Cygwin environment, I am getting the following error:-
> > > >
> > > > Can not remove conftest.exe Permission denied
> > > >
> > > > I have successfully achieved  compiling same squid-2.6.STABLE13 on a
> > > > P-III machine .
> > > >
> > > > Any clues please.
> > >
> > > Which configure test is it failing at?
> > > (see config.log)
> > >
> > > I would guess one of the tests gets stuck in the background somehow. An
> > > educated guess is the "if AF_UNIX dgram sockets support large packets"
> > > test as this is the only test forking a child process..
> > >
> > > if that's the case then you can try
> > >
> > > ./configure ... ac_cv_af_unix_large_dgram=no
> > >
> > > Regards
> > > Henrik
> > >
> > >
> > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Henrik Nordström
In reply to this post by Santosh Rani
On lör, 2007-07-21 at 13:31 +0530, Santosh Rani wrote:
> Upon checking the config.log, the following test seems to be failing:
>
> configure:2775: gcc -c -g -O2  conftest.c >&5
> conftest.c:2: error: parse error before "me"
> configure:2781: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif

that one should be failing..

> Secondly, I have tried the hint given by you and it works.

Ok. So that test needs to be improved a bit..

> The
> question on my mind is what I have done by that
> ac_cv_af_unix_large_dgram=no.

Nothing really. Squid will use UDP/IP instead of UNIX sockets for
talking to the pinger if you build it with --enable-icmp. The use of
UNIX (aka AF_LOCAL) sockets is more of a convenience thing than
functionality, mainly relevant for FreeBSD jail setups.

> What I will lose, if at all I do?
> Finally is it all documented somewhere?

Not outside the source no.

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Henrik Nordström
On lör, 2007-07-21 at 17:05 +0200, Henrik Nordstrom wrote:

> On lör, 2007-07-21 at 13:31 +0530, Santosh Rani wrote:
> > Upon checking the config.log, the following test seems to be failing:
> >
> > configure:2775: gcc -c -g -O2  conftest.c >&5
> > conftest.c:2: error: parse error before "me"
> > configure:2781: $? = 1
> > configure: failed program was:
> > | #ifndef __cplusplus
> > |   choke me
> > | #endif
>
> that one should be failing..
>
> > Secondly, I have tried the hint given by you and it works.
>
> Ok. So that test needs to be improved a bit..
Forgot... please file a bug report on this so we don't forget..

http://www.squid-cache.org/bugs/

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can not remove conftest.exe Permission denied

Santosh Rani
Thanks for the reply Sir,
I have submitted the Bug report along with config.log
Regards

On 21/07/07, Henrik Nordstrom <[hidden email]> wrote:

> On lör, 2007-07-21 at 17:05 +0200, Henrik Nordstrom wrote:
> > On lör, 2007-07-21 at 13:31 +0530, Santosh Rani wrote:
> > > Upon checking the config.log, the following test seems to be failing:
> > >
> > > configure:2775: gcc -c -g -O2  conftest.c >&5
> > > conftest.c:2: error: parse error before "me"
> > > configure:2781: $? = 1
> > > configure: failed program was:
> > > | #ifndef __cplusplus
> > > |   choke me
> > > | #endif
> >
> > that one should be failing..
> >
> > > Secondly, I have tried the hint given by you and it works.
> >
> > Ok. So that test needs to be improved a bit..
>
> Forgot... please file a bug report on this so we don't forget..
>
> http://www.squid-cache.org/bugs/
>
> Regards
> Henrik
>
>