[us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread Chandranshu .
Hi

We changed our script that used to do a graceful restart to also record the
number of shared memory segments before and after the restart. Plotting the
number of shm segments vs. the number of times the server was restarted
gracefully was almost a straight line.

Even doing a `apachectl -k restart` didn't solve the problem. Rather, the
shared memory count again went up by 1.

Doing an `apachectl -k stop` removed all shared memory segments.

On starting it again using `apachectl -k start`, the server created 3 shared
memory segments, two of which had status as dest. However, repeatedly doing
ipcs -m -i  even on these shm segments showed that httpd and php-cgi
processes were attaching and detaching these segments as well.

So, is this the expected behavior of the server? And does the apache server
needs to be periodically stopped and started in case of multiple graceful
restarts?

Thanks for your kind consideration,
Chandranshu


On Thu, Jun 25, 2009 at 5:43 PM, Chandranshu . wrote:

> Hi
>
> We're running http-2.2.3 with preform MPM and host around 500 sites for
> many users. We always do a graceful restart of the server lest some users
> lose their session. The server has created a large number of shared memory
> segments. We have seen it creating as many as 4030 segments and this number
> consistently stays above 1500.
>
> Doing ipcs -m shows that many of these segments have been marked for
> destruction but are still attached to some processes. Doing a grep on the
> pid of the process that last attached the segment returns nothing. Doing it
> in a while loop revealed that there were numerous httpd processes being
> spawned that attached the shm segment for a brief time before vanishing.
>
> Why are there so many shared memory segments and are they not freed up by
> the main process?Also, could someone please guide me as to why are the
> processes dying so fast and replaced by new processes? I guess it has
> something to do with the following config:
> 
>   StartServers  2
>   MinSpareServers   10
>   MaxSpareServers   25
>   ServerLimit 1024
>   MaxClients  1024
>   MaxRequestsPerChild  4000
> 
>
> Thanks and regards
> Chandranshu
>


Re: [us...@httpd] How can I secure my apache server from DoS attack ?

2009-06-26 Thread Damian Myerscough
Hi,

mod_evasive works against DOS attacks but is ineffective against the slowloris
attack

2009/6/26 Fred K :
> On Tue, Jun 23, 2009 at 8:30 AM, Damian
> Myerscough wrote:
>> Hello Neelesh,
>>
>> It is possible to use a modules called: mod_evasive this will help
>> prevent DOS attacks occurring.
>>
>> http://www.zdziarski.com/projects/mod_evasive/
>>
>
> Hi,
>
> mod_evasive will not work for this...  on another thread by Nick Kew,
> there is a mention of a patch for this and also another product
> mod_limitip
>
> Fred
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>



-- 
Regards,
Damian Myerscough

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread André Warnier

Chandranshu . wrote:
...
Just to help in getting an idea of your site :
- how many requests is your site typically handling (per second, per 
minute..) ?

- what is your KeepAlive setting ?

and, why did you change the default for MaxRequestsPerChild ?
any particular reason, or just for the sake of it ?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread Chandranshu .
Hi André

Our server is handling around 20 requests per second. Please note that this
is not a single site. There are many sites that are hosted on this server.
As requests to host new site keep coming in, we keep reloading the virtual
host config through a graceful restart.

Here are my KeepAlive settings:
   KeepAlive On
   MaxKeepAliveRequests 100
   KeepAliveTimeout 15

Unfortunately, I can't answer why the MaxRequestsPerChild was modified as it
was done by the earlier sysad and there is no documentation left around by
him. I have been reading up a few articles on tuning the apache performance
and am planning to change them as per the requirements of the server.

Please let me know if there is any other config/statistics I can provide
which will help in debugging the issue.

Thanks much for your time,
Chandranshu

On Fri, Jun 26, 2009 at 3:47 PM, André Warnier  wrote:

> Chandranshu . wrote:
> ...
> Just to help in getting an idea of your site :
> - how many requests is your site typically handling (per second, per
> minute..) ?
> - what is your KeepAlive setting ?
>
> and, why did you change the default for MaxRequestsPerChild ?
> any particular reason, or just for the sake of it ?
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [us...@httpd] How can I secure my apache server from DoS attack ?

2009-06-26 Thread Neelesh Gurjar
>Damian Myerscough wrote:
>mod_evasive works against DOS attacks but is ineffective against the
slowloris
>attack

2009/6/26 Fred K :
>>> It is possible to use a modules called: mod_evasive this will help
>>> prevent DOS attacks occurring.
>>>
>>> http://www.zdziarski.com/projects/mod_evasive/
>>>
>>
>> Hi,
>>
>> mod_evasive will not work for this...  on another thread by Nick Kew,
>> there is a mention of a patch for this and also another product
>> mod_limitip
>>
>> Fred

> Regards,
>Damian Myerscough

I have installed ConfigServer Security Firewall which can be configured
through Cpanel.
http://www.configserver.com/cp/csf.html

However this will be from OS side, but what about from Apache internal ? :(

Regards
NeeleshG

LINUX is basically a simple operating system, but you have to be a genius to
understand the simplicity


[us...@httpd] WebDAV and Windows (Vista) User

2009-06-26 Thread Michelle Konzack
Hi Experts,

I have setup WebDAV and it works perfectly under Debian und  Windows XP,
but HOW can I reach it under Windows Vista?

I am missing in IE and Windows Explorer the option "Webfolder".

Also I like to access the WebDAV volumes  under  Windows  Vista  like  a
normal Network-Drive.

Note:   No, I do not have Windows Vista, but
my Business Partners and Co-Workers.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
 Michelle Konzack
   c/o Vertriebsp. KabelBW
   Blumenstrasse 2
Jabber linux4miche...@jabber.ccc.de   77694 Kehl/Germany
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


Re: [us...@httpd] WebDAV and Windows (Vista) User

2009-06-26 Thread Peter Schober
* Michelle Konzack  [2009-06-26 14:13]:
> I have setup WebDAV and it works perfectly under Debian und  Windows XP,
> but HOW can I reach it under Windows Vista?

This is hardly a question for a httpd list, is it?
Did you even STFW?
-peter

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread André Warnier

Chandranshu . wrote:

Hi André

Our server is handling around 20 requests per second. Please note that this
is not a single site. There are many sites that are hosted on this server.
As requests to host new site keep coming in, we keep reloading the virtual
host config through a graceful restart.

Here are my KeepAlive settings:
   KeepAlive On
   MaxKeepAliveRequests 100
   KeepAliveTimeout 15

Unfortunately, I can't answer why the MaxRequestsPerChild was modified as it
was done by the earlier sysad and there is no documentation left around by
him. I have been reading up a few articles on tuning the apache performance
and am planning to change them as per the requirements of the server.

Please let me know if there is any other config/statistics I can provide
which will help in debugging the issue.


There are 2 things I would do first of all :

1) try to get an idea of the time needed, on average, to process 1 
request.  You can get this in the access log, with the parameters 
explained here :

http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats
(%D parameter)
(While you are at it, also add the %k parameter, it will be useful)

2) change the following setting :
KeepAliveTimeout 15
to
KeepAliveTimeout 2

and look at the results.

Subjectively, I have the impression that the number of Apache processes 
(MaxServers 1024), is a total overkill for 20 requests/seconds, unless 
your requests take a very long time to be serviced.

But we'll see when there are some numbers.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread Scott Gifford
"Chandranshu ."  writes:

> We changed our script that used to do a graceful restart to also
> record the number of shared memory segments before and after the
> restart. Plotting the number of shm segments vs. the number of times
> the server was restarted gracefully was almost a straight line.

Hello Chandranshu,

When you do a graceful server restart, Apache asks the children to
exit when it's convenient and starts up new children.  So it would not
surprise me to see a short spike in resource consumption until the old
child processes complete.  It would surprise me if it didn't return to
normal after a few minutes, though, and you're seeing the increased
shared memory segments until a server restart, right?  And you suspect
it's a leak somewhere?

A strategy for figuring out what's causing this would be to start off
with a minimal Apache configuration.  You could create a new conf file
with all modules disabled listening on another port and look for the
leak there.  If you still see it, it must be in the Apache core;
otherwise it's in a module.  Keep enabling modules until you start
seeing it, then you know what module it is (you can also enable and
disable groups of modules to do a sort of binary search).  If with the
same set of modules as your production server you still don't see a
leak, it must be some code running under your server, and you can use
the same sort of process to bring in different pieces of code until
you see the leak.

Hope this helps, and good luck!

Scott.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] WebDAV and Windows (Vista) User

2009-06-26 Thread Michelle Konzack
Am 2009-06-26 15:13:43, schrieb Peter Schober:
> * Michelle Konzack  [2009-06-26 14:13]:
> > I have setup WebDAV and it works perfectly under Debian und  Windows XP,
> > but HOW can I reach it under Windows Vista?
> 
> This is hardly a question for a httpd list, is it?
> Did you even STFW?

It is all setup correctly, I can access the WebDAV  volume  from  Linux,
but the autentication does not work on Windows Vista.  So, maybe it is a
Vista/Apache related problem and someone here know the solution?

NB: I have searched the Web, and tried out several solution, but nothing
is working.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


[us...@httpd] httpd service doesn't start when run from failover cluster on Windows Server 2008 64 bit

2009-06-26 Thread Willis, Trevor
Hi,

I am trying to run apache as a service on a failover cluster (the OS for
the nodes is 2008 server enterprise x64). When started from the services
MMC there is no problem, however when run by bringing the service in the
failover cluster management online it fails.

In the event viewer apache churns out the usage statement, there is
nothing in Apaches own log directory.

I have tried ensuring the installation path is short with no spaces (I
read another post, see below, and the conclusion seemed to be that this
could be an issue) however this made no difference.

I replaced the httpd.exe with a simple program that just wrote all the
arguments to a file, the arguments were identical in both cases:

C:\BT\Apache2.2\bin\httpd.exe
-k
runservice

I turned off UAC which had no effect. I have also looked at the code to
try and see anything obvious in that area but haven't spotted anything..
I'm assuming there's some difference in the access rights or environment
or similar that is causing the issue. 

If there are any further thoughts on the cause of this or possible
workarounds I'd be grateful, otherwise I guess I'll try and raise a
bug..

Many Thanks

Trevor


(title of a previous mail thread about this issue "httpd service not
starting on Windows 2008 (64bit) through Microsoft Failover Cluster") -
I seem to have different results from the last poster in that I find the
parameters passed to be the same for both methods of invoking httpd.exe

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] How can I secure my apache server from DoS attack ?

2009-06-26 Thread William A. Rowe, Jr.
Damian Myerscough wrote:
> 
> mod_evasive works against DOS attacks but is ineffective against the slowloris
> attack

Uhm, distinctions without a difference?  How is slowloris not claiming
to be a DOS attack?  And there are a host of DOS vectors evasive doesn't
claim to address.

Very odd statement, above.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] WebDAV and Windows (Vista) User

2009-06-26 Thread André Warnier

Michelle Konzack wrote:

Am 2009-06-26 15:13:43, schrieb Peter Schober:

* Michelle Konzack  [2009-06-26 14:13]:

I have setup WebDAV and it works perfectly under Debian und  Windows XP,
but HOW can I reach it under Windows Vista?

This is hardly a question for a httpd list, is it?
Did you even STFW?


It is all setup correctly, I can access the WebDAV  volume  from  Linux,
but the autentication does not work on Windows Vista.  So, maybe it is a
Vista/Apache related problem and someone here know the solution?

NB: I have searched the Web, and tried out several solution, but nothing
is working.


Long shot, but still :
By default, Vista is set to do NTLM v2 authentication for HTTP, and to 
not allow Basic authentication.  Since everything is more or less 
interrelated nowadays in Windows, the corresponding setting in IE may 
also carry through to the (buggy) HTTP client that the Windows Explorer 
uses to access "web folders" through HTTP.
Use "Internet Settings" in IE, find the "allow basic authentication" 
checkbox, allow it, and try again.

Barring that, maybe have a look in the Registry.
Also another trick, that used to be important under XP : if you get to 
that point, and it asks for the URL of the webfolder, make sure you add 
":80" after the hostname.

Like "http://davhost.company.com:80/dav-folders";
XP is known to try to interpret this as a Netbios name otherwise.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] mod_auth_kerb on Windows

2009-06-26 Thread Maciej Matecki
Hello,
I have to run Kerberos with Apache on Windows. I've successfully done
it on Debian but I can't find compiled mod_auth_kerb for Windows.
Do anybody have the compiled version of that mod and can share it
(for Apache 2.x)?
Thanks in advance.
Best regards,
--
Maciej Matecki
skype: m.matecki || www: http://matecki.info/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
I am trying to upgrade apache but keep getting following error:

$ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
Preparing...### [100%]
file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0


I am not sure why it's happening. I tried to move httpd2 file but that
didn't help either.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] How can I secure my apache server from DoS attack ?

2009-06-26 Thread Damian Myerscough
Ok,

I should of worded it this way

"Mod_evasive provides evasive action in the event of an HTTP DoS or
DDoS attack.
However, mod_evasive is ineffective against slowloris".

2009/6/26 William A. Rowe, Jr. :
> Damian Myerscough wrote:
>>
>> mod_evasive works against DOS attacks but is ineffective against the 
>> slowloris
>> attack
>
> Uhm, distinctions without a difference?  How is slowloris not claiming
> to be a DOS attack?  And there are a host of DOS vectors evasive doesn't
> claim to address.
>
> Very odd statement, above.
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>



-- 
Regards,
Damian Myerscough

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Serving subdomains - ProxyPassMatch issues

2009-06-26 Thread Karthik Manimaran
Thanks for all the inputs. Finally, I got it to work using /$ in the
ProxyPassMatch regex and using mod_jk.

Thanks,
Karthik Manimaran.

On Thu, Jun 25, 2009 at 3:34 PM, William A. Rowe, Jr.
wrote:

> Karthik Manimaran wrote:
> > ProxyPassReverse too doesn't work when I use regex.
>
> Of course it does.
>
> You just need multiple ProxyPassReverse mappings to correct the
> myriad ways that the forward pass had occurred.  Setting the back
> end server to use canonical server name and URI's sure helps.
>
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [us...@httpd] Apache install problem

2009-06-26 Thread Eric Covener
On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia wrote:
> I am trying to upgrade apache but keep getting following error:
>
> $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
> Preparing...                ### [100%]
>        file /etc/rc.d/init.d/httpd2 from install of
> httpd2-2.2.11-5.2.1.1 conflicts with file from package
> httpd2-2.2.6-2_0_2_0
>
>
> I am not sure why it's happening. I tried to move httpd2 file but that
> didn't help either.

   INSTALLING, UPGRADING, AND REMOVING PACKAGES:
   rpm {-i|--install} [install-options] PACKAGE_FILE ...

   rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...


-- 
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread Chandranshu .
Hello Scott,

Many many thanks for your guidance. I followed the binary search among
modules and was quickly able to pinpoint mod_cband (
http://sourceforge.net/projects/cband/) as the reason of why the number of
shared memory segments keeps increasing.

Again, many thanks to you and everyone who helped me out.

Regards
Chandranshu

On Fri, Jun 26, 2009 at 8:36 PM, Scott Gifford wrote:

> "Chandranshu ."  writes:
>
> > We changed our script that used to do a graceful restart to also
> > record the number of shared memory segments before and after the
> > restart. Plotting the number of shm segments vs. the number of times
> > the server was restarted gracefully was almost a straight line.
>
> Hello Chandranshu,
>
> When you do a graceful server restart, Apache asks the children to
> exit when it's convenient and starts up new children.  So it would not
> surprise me to see a short spike in resource consumption until the old
> child processes complete.  It would surprise me if it didn't return to
> normal after a few minutes, though, and you're seeing the increased
> shared memory segments until a server restart, right?  And you suspect
> it's a leak somewhere?
>
> A strategy for figuring out what's causing this would be to start off
> with a minimal Apache configuration.  You could create a new conf file
> with all modules disabled listening on another port and look for the
> leak there.  If you still see it, it must be in the Apache core;
> otherwise it's in a module.  Keep enabling modules until you start
> seeing it, then you know what module it is (you can also enable and
> disable groups of modules to do a sort of binary search).  If with the
> same set of modules as your production server you still don't see a
> leak, it must be some code running under your server, and you can use
> the same sort of process to bring in different pieces of code until
> you see the leak.
>
> Hope this helps, and good luck!
>
> Scott.
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
I am installing new package but I am getting error message as listed
in my initial post.

 $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
 Preparing...### [100%]
file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0

On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote:
> On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia wrote:
>> I am trying to upgrade apache but keep getting following error:
>>
>> $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
>> Preparing...                ### 
>> [100%]
>>        file /etc/rc.d/init.d/httpd2 from install of
>> httpd2-2.2.11-5.2.1.1 conflicts with file from package
>> httpd2-2.2.6-2_0_2_0
>>
>>
>> I am not sure why it's happening. I tried to move httpd2 file but that
>> didn't help either.
>
>   INSTALLING, UPGRADING, AND REMOVING PACKAGES:
>       rpm {-i|--install} [install-options] PACKAGE_FILE ...
>
>       rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
>
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache install problem

2009-06-26 Thread Frank Gingras

See the difference between --install and --upgrade

Frank

Mohit Anchlia wrote:

I am installing new package but I am getting error message as listed
in my initial post.

 $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
 Preparing...### [100%]
file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0

On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote:
  

On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia wrote:


I am trying to upgrade apache but keep getting following error:

$ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
Preparing...### [100%]
   file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0


I am not sure why it's happening. I tried to move httpd2 file but that
didn't help either.
  

  INSTALLING, UPGRADING, AND REMOVING PACKAGES:
  rpm {-i|--install} [install-options] PACKAGE_FILE ...

  rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...


--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

  



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
I don't want to upgrade but want to install this pacakge.

On Fri, Jun 26, 2009 at 12:49 PM, Frank
Gingras wrote:
> See the difference between --install and --upgrade
>
> Frank
>
> Mohit Anchlia wrote:
>>
>> I am installing new package but I am getting error message as listed
>> in my initial post.
>>
>>  $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
>>  Preparing...                ###
>> [100%]
>>        file /etc/rc.d/init.d/httpd2 from install of
>> httpd2-2.2.11-5.2.1.1 conflicts with file from package
>> httpd2-2.2.6-2_0_2_0
>>
>> On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote:
>>
>>>
>>> On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia
>>> wrote:
>>>

 I am trying to upgrade apache but keep getting following error:

 $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
 Preparing...                ###
 [100%]
       file /etc/rc.d/init.d/httpd2 from install of
 httpd2-2.2.11-5.2.1.1 conflicts with file from package
 httpd2-2.2.6-2_0_2_0


 I am not sure why it's happening. I tried to move httpd2 file but that
 didn't help either.

>>>
>>>  INSTALLING, UPGRADING, AND REMOVING PACKAGES:
>>>      rpm {-i|--install} [install-options] PACKAGE_FILE ...
>>>
>>>      rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
>>>
>>>
>>> --
>>> Eric Covener
>>> cove...@gmail.com
>>>
>>> -
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>>>
>>
>> -
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache install problem

2009-06-26 Thread Frank Gingras

Mohit,

That's not how package managers work.

Frank.

Mohit Anchlia wrote:

I don't want to upgrade but want to install this pacakge.

On Fri, Jun 26, 2009 at 12:49 PM, Frank
Gingras wrote:
  

See the difference between --install and --upgrade

Frank

Mohit Anchlia wrote:


I am installing new package but I am getting error message as listed
in my initial post.

 $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
 Preparing...###
[100%]
   file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0

On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote:

  

On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia
wrote:



I am trying to upgrade apache but keep getting following error:

$ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
Preparing...###
[100%]
  file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0


I am not sure why it's happening. I tried to move httpd2 file but that
didn't help either.

  

 INSTALLING, UPGRADING, AND REMOVING PACKAGES:
 rpm {-i|--install} [install-options] PACKAGE_FILE ...

 rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...


--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


  

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

  



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache install problem

2009-06-26 Thread Mohit Anchlia
Could you please explain more? I did install on one of the other
machines successfully before that had the old package installed.

On Fri, Jun 26, 2009 at 1:01 PM, Frank
Gingras wrote:
> Mohit,
>
> That's not how package managers work.
>
> Frank.
>
> Mohit Anchlia wrote:
>>
>> I don't want to upgrade but want to install this pacakge.
>>
>> On Fri, Jun 26, 2009 at 12:49 PM, Frank
>> Gingras wrote:
>>
>>>
>>> See the difference between --install and --upgrade
>>>
>>> Frank
>>>
>>> Mohit Anchlia wrote:
>>>

 I am installing new package but I am getting error message as listed
 in my initial post.

  $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
  Preparing...                ###
 [100%]
       file /etc/rc.d/init.d/httpd2 from install of
 httpd2-2.2.11-5.2.1.1 conflicts with file from package
 httpd2-2.2.6-2_0_2_0

 On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote:


>
> On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia
> wrote:
>
>
>>
>> I am trying to upgrade apache but keep getting following error:
>>
>> $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
>> Preparing...
>>  ###
>> [100%]
>>      file /etc/rc.d/init.d/httpd2 from install of
>> httpd2-2.2.11-5.2.1.1 conflicts with file from package
>> httpd2-2.2.6-2_0_2_0
>>
>>
>> I am not sure why it's happening. I tried to move httpd2 file but that
>> didn't help either.
>>
>>
>
>  INSTALLING, UPGRADING, AND REMOVING PACKAGES:
>     rpm {-i|--install} [install-options] PACKAGE_FILE ...
>
>     rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
>
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
>
>

 -
 The official User-To-User support forum of the Apache HTTP Server
 Project.
 See http://httpd.apache.org/userslist.html> for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org



>>>
>>> -
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>>>
>>
>> -
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache install problem

2009-06-26 Thread Frank Gingras

Mohit,

You need to ask a mailing list tailored for your linux distribution.

Frank.

Mohit Anchlia wrote:

Could you please explain more? I did install on one of the other
machines successfully before that had the old package installed.

On Fri, Jun 26, 2009 at 1:01 PM, Frank
Gingras wrote:
  

Mohit,

That's not how package managers work.

Frank.

Mohit Anchlia wrote:


I don't want to upgrade but want to install this pacakge.

On Fri, Jun 26, 2009 at 12:49 PM, Frank
Gingras wrote:

  

See the difference between --install and --upgrade

Frank

Mohit Anchlia wrote:



I am installing new package but I am getting error message as listed
in my initial post.

 $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
 Preparing...###
[100%]
  file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0

On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener wrote:


  

On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia
wrote:




I am trying to upgrade apache but keep getting following error:

$ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
Preparing...
 ###
[100%]
 file /etc/rc.d/init.d/httpd2 from install of
httpd2-2.2.11-5.2.1.1 conflicts with file from package
httpd2-2.2.6-2_0_2_0


I am not sure why it's happening. I tried to move httpd2 file but that
didn't help either.


  

 INSTALLING, UPGRADING, AND REMOVING PACKAGES:
rpm {-i|--install} [install-options] PACKAGE_FILE ...

rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...


--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org






-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



  

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


  

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

  



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-26 Thread Elmar Krieger

Dear all,

fortunately, our expert system admin could locate and solve the problem, 
I'm posting what I heard in case someone googles this thread:


So in our case, the random download stalls, where recv() on the socket 
connection would report -1/errno=EAGAIN for an hour without progress, 
where caused by a problem with state filtering in the iptables config, 
related to the local firewall. It required a new Linux kernel to fix, 
since then Apache is running happily...


CU,
Elmar


Tom Evans wrote:

On Wed, 2009-06-24 at 08:09 -0500, Elmar Krieger wrote:

Dear Apache users,

I'm forced to write yet another program that downloads HTTP files from
an
Apache server,

...
Naive question : why would you do that, when there are probably at least
10 existing libraries/utilities that already do that, and do it right ?

I mean that downloading a file from a webserver is not just a matter of
opening a socket and reading bytes from it. There are such things as
status codes, HTTP headers, encoding, transfer-encoding, etc..
Do you really want to re-invent the wheel ?

I did of course start with code from the web, but that was not reliable
enough. For example the download routines of Firefox and Safari are not
satisfactory, because they also hang forever occasionally, and don't
automatically restart the transfer with a new request. I need it 100%
fool-proof.

Anyway, could you point me to the most reliable public domain (not GNU
GPL) library you know, that compiles in Linux, Windows and MacOSX? Then I
can compare the code..

And any idea under which circumstances a recv() from a socket connection
to Apache can report -1/errno=EAGAIN for an hour without progress would
still be appreciated. It's a server side problem, because it happens from
clients all over the world ;-)

Thanks for your help,
Elmar




I can download all sorts of large files from apache, it truly Works For
Me, so this certainly sounds like a naive client app rather than a
server side bug.

Any reason why you aren't using curl/libcurl/wget/libfetch? When there
are BSD licensed wheels out there, don't design your own..

Eg: 
http://curl.haxx.se/ (MIT)

http://curl.haxx.se/libcurl/ (MIT)
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libfetch/ (BSD)

Curl has a list of the FOSS http libraries:
http://curl.haxx.se/libcurl/competitors.html

HTH

Tom





-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-26 Thread John Hudak
hmmm, could you be more specific about the fix?  For example what distro and
build? and what kernel version did you originally have and what version was
it patched to??
John


On Fri, Jun 26, 2009 at 9:43 PM, Elmar Krieger  wrote:

> Dear all,
>
> fortunately, our expert system admin could locate and solve the problem,
> I'm posting what I heard in case someone googles this thread:
>
> So in our case, the random download stalls, where recv() on the socket
> connection would report -1/errno=EAGAIN for an hour without progress, where
> caused by a problem with state filtering in the iptables config, related to
> the local firewall. It required a new Linux kernel to fix, since then Apache
> is running happily...
>
> CU,
> Elmar
>
>
> Tom Evans wrote:
>
>> On Wed, 2009-06-24 at 08:09 -0500, Elmar Krieger wrote:
>>
>>> Dear Apache users,
>
> I'm forced to write yet another program that downloads HTTP files from
> an
> Apache server,
>
 ...
 Naive question : why would you do that, when there are probably at least
 10 existing libraries/utilities that already do that, and do it right ?

 I mean that downloading a file from a webserver is not just a matter of
 opening a socket and reading bytes from it. There are such things as
 status codes, HTTP headers, encoding, transfer-encoding, etc..
 Do you really want to re-invent the wheel ?

>>> I did of course start with code from the web, but that was not reliable
>>> enough. For example the download routines of Firefox and Safari are not
>>> satisfactory, because they also hang forever occasionally, and don't
>>> automatically restart the transfer with a new request. I need it 100%
>>> fool-proof.
>>>
>>> Anyway, could you point me to the most reliable public domain (not GNU
>>> GPL) library you know, that compiles in Linux, Windows and MacOSX? Then I
>>> can compare the code..
>>>
>>> And any idea under which circumstances a recv() from a socket connection
>>> to Apache can report -1/errno=EAGAIN for an hour without progress would
>>> still be appreciated. It's a server side problem, because it happens from
>>> clients all over the world ;-)
>>>
>>> Thanks for your help,
>>> Elmar
>>>
>>>
>>>
>> I can download all sorts of large files from apache, it truly Works For
>> Me, so this certainly sounds like a naive client app rather than a
>> server side bug.
>>
>> Any reason why you aren't using curl/libcurl/wget/libfetch? When there
>> are BSD licensed wheels out there, don't design your own..
>>
>> Eg: http://curl.haxx.se/ (MIT)
>> http://curl.haxx.se/libcurl/ (MIT)
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libfetch/ (BSD)
>>
>> Curl has a list of the FOSS http libraries:
>> http://curl.haxx.se/libcurl/competitors.html
>>
>> HTH
>>
>> Tom
>>
>>
>>
>>
>>
>> -
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


Re: [us...@httpd] Apache install problem

2009-06-26 Thread Igor Cicimov
# rpm -Uvh httpd2-2.2.11-5.2.1.1.rpm

since you need to upgrade. If you want to install then you better uninstall
the old one first.


On Sat, Jun 27, 2009 at 6:20 AM, Frank Gingras
wrote:

> Mohit,
>
> You need to ask a mailing list tailored for your linux distribution.
>
> Frank.
>
>
> Mohit Anchlia wrote:
>
>> Could you please explain more? I did install on one of the other
>> machines successfully before that had the old package installed.
>>
>> On Fri, Jun 26, 2009 at 1:01 PM, Frank
>> Gingras wrote:
>>
>>
>>> Mohit,
>>>
>>> That's not how package managers work.
>>>
>>> Frank.
>>>
>>> Mohit Anchlia wrote:
>>>
>>>
 I don't want to upgrade but want to install this pacakge.

 On Fri, Jun 26, 2009 at 12:49 PM, Frank
 Gingras wrote:



> See the difference between --install and --upgrade
>
> Frank
>
> Mohit Anchlia wrote:
>
>
>
>> I am installing new package but I am getting error message as listed
>> in my initial post.
>>
>>  $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
>>  Preparing...
>>  ###
>> [100%]
>>  file /etc/rc.d/init.d/httpd2 from install of
>> httpd2-2.2.11-5.2.1.1 conflicts with file from package
>> httpd2-2.2.6-2_0_2_0
>>
>> On Fri, Jun 26, 2009 at 12:27 PM, Eric Covener
>> wrote:
>>
>>
>>
>>
>>> On Fri, Jun 26, 2009 at 2:49 PM, Mohit Anchlia<
>>> mohitanch...@gmail.com>
>>> wrote:
>>>
>>>
>>>
>>>
 I am trying to upgrade apache but keep getting following error:

 $ rpm -ivh httpd2-2.2.11-5.2.1.1.rpm
 Preparing...
  ###
 [100%]
 file /etc/rc.d/init.d/httpd2 from install of
 httpd2-2.2.11-5.2.1.1 conflicts with file from package
 httpd2-2.2.6-2_0_2_0


 I am not sure why it's happening. I tried to move httpd2 file but
 that
 didn't help either.




>>>  INSTALLING, UPGRADING, AND REMOVING PACKAGES:
>>>rpm {-i|--install} [install-options] PACKAGE_FILE ...
>>>
>>>rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
>>>
>>>
>>> --
>>> Eric Covener
>>> cove...@gmail.com
>>>
>>> -
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>> -
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>>
>>
>>
> -
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>
>
>
>
 -
 The official User-To-User support forum of the Apache HTTP Server
 Project.
 See http://httpd.apache.org/userslist.html> for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




>>> -
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@httpd.apache.org
>>>
>>>
>>>
>>>
>>
>> -
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For a