Sponsored Content
Operating Systems Solaris Which version of Apache is actually running Post 302573128 by fjt1973 on Sunday 13th of November 2011 05:45:21 AM
Old 11-13-2011
Upgrade of Apache - old version still working

Hi Guys & Gals....

First of all thanks for the help with your previous postings a lot of questions answered without having to post one myself

However, here is my first post.

I've just done a fresh install of Solaris 10 and upgraded the version of Apache via the impatient version of upgrading Apache to 2.2.21

I have the existing version....

# cd /usr/apache2/bin/
# ./httpd -v
Server version: Apache/2.0.63
Server built: Jan 18 2009 15:51:05

And the version upgraded too

# cd /usr/local/apache2/bin/
# ./httpd -v
Server version: Apache/2.2.21 (Unix)
Server built: Nov 12 2011 22:44:36

Anyway after a number of issues with configuration files last night and a reboot my Apache is online and serving the default internet pages.

online 9:00:40 svc:/network/http:apache2

However, which version is actually doing the job?

So I thought I know I will just rename one the httpd.conf files and restart the Apache Service...... anyway I am now stuck in Maintainance

svc:/network/http:apache2 (Apache 2 HTTP server)
State: maintenance since 13 November 2011 10:06:24 GMT
Reason: Method failed.
See: <wont allow me to post URL until I have 5 posts>
See: httpd(8)
See: /var/svc/log/network-http:apache2.log

So from the log......

[ Nov 12 23:34:22 Executing start method ("/lib/svc/method/http-apache2 start") ]
(125)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down

The Above is from the httpd.conf file in the etc/apache2 path (original installation)

[ Nov 13 10:21:51 Leaving maintenance because disable requested. ]
[ Nov 13 10:21:51 Disabled. ]
[ Nov 13 10:22:35 Enabled. ]
[ Nov 13 10:22:35 Executing start method ("/lib/svc/method/http-apache2 start") ]
(125)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[ Nov 13 10:22:35 Method "start" exited with status 1 ]
[ Nov 13 10:22:35 Executing start method ("/lib/svc/method/http-apache2 start") ]
(125)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[ Nov 13 10:22:35 Method "start" exited with status 1 ]
[ Nov 13 10:22:35 Executing start method ("/lib/svc/method/http-apache2 start") ]
(125)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[ Nov 13 10:22:36 Method "start" exited with status 1 ]

The Above is from the httpd.conf file in the /usr/local/apache2 path (new installation)

Anyway another reboot (drastic I know) it's working again......

So instead I just stick my own index.html doc in htdocs and it appears that original installation is working not the upgraded version

So by the look of it we have a clash between the two versions of Apache - how /why?

How can I stop this?

How do I go about getting the upgraded version working....

Last edited by fjt1973; 11-13-2011 at 07:03 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what version # I am running

I was wondering if there was a command to tell what version# I am running? I know it tells you on start up I am running 5.1. But I thought there was a command to execute this also? Thanks (4 Replies)
Discussion started by: rocker40
4 Replies

2. UNIX for Dummies Questions & Answers

running apache on unix

Hi, I am running an application on apache/tomcat under unix. It was working fine until I stopped both tomcat and apache and restarted both. Now I am getting 404 not found error. Is there something here that I am missing. Any help will be appreciatd. Thx Karthik (1 Reply)
Discussion started by: kkarthik
1 Replies

3. UNIX for Dummies Questions & Answers

How can you tell what version Apache your running?

I'm trying to figure out what version of Apache I have. Any suggestions??? Thanks in advance. (1 Reply)
Discussion started by: shorty
1 Replies

4. Solaris

Apache Version 2.2.9 to 2.2.8

. In early September, this year, I had an error message on my site that indicated the host had Apache HTTP Server Version 2.2.9. I assume that's what this means, yes? Then, about 2 or 3 days ago we received another error message that seemed to indicate the Apache Version is now... (2 Replies)
Discussion started by: MildMe
2 Replies

5. UNIX for Advanced & Expert Users

how to know which version of PHP and apache is in my server?

Hi, How to get the version of php, apache and WebSphere instealled in my server. The OS is AIX. Thanks in advance. R R VARMA (1 Reply)
Discussion started by: RRVARMA
1 Replies

6. Web Development

Apache - ModSSL (SSL Version?)

Does anyone know where Apache's use of SSL_VERSION_LIBRARY is defined and pulled from, in regard to headers? So far, I've tracked it down to mod_ssl. Which is fine, however, when I recompile mod_ssl with a new version of OpenSSL, and install the module, the request headers still report the old... (0 Replies)
Discussion started by: sun2ecliptic
0 Replies

7. Web Development

How to keep process running after apache restart.

Hi, I have a PHP application that starts a couple of processes on the server...the problem is that if I restart apache those running apps will die. How can I start them in a way that they are not killed when I restart/stop apache ? $cmdstr = "nohup ".$config."/".$config."... (6 Replies)
Discussion started by: valiadi
6 Replies

8. HP-UX

Questions Regarding Upgrading To New Version Of Apache Web Server

In September 2010, HP released the following bulletin: Subject: End of Support Life for “Apache version 2.0 along with WSS version 2.x” on 11iv2 and 11iv3. Reference: http://www.hp.com/softwarereleases/releases-media2​/notices/082010Apache.pdf I have some questions about this... (4 Replies)
Discussion started by: Rob Sandifer
4 Replies

9. Solaris

Upgrade Apache to new version? Solaris 10, goal:PHP

Hello, I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question. I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied. Apache 2.2.8 is currently installed and... (2 Replies)
Discussion started by: CSLibrary
2 Replies

10. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies
BLAZE-ADD(1)						    BlazeBlogger Documentation						      BLAZE-ADD(1)

NAME
blaze-add - adds a blog post or a page to the BlazeBlogger repository SYNOPSIS
blaze-add [-pqCPV] [-b directory] [-E editor] [-a author] [-d date] [-t title] [-k keywords] [-T tags] [-u url] [file...] blaze-add -h|-v DESCRIPTION
blaze-add adds a blog post or a page to the BlazeBlogger repository. If a file is supplied, it adds the content of that file, otherwise an external text editor is opened for you. Note that there are several special forms and placeholders that can be used in the text, and that will be replaced with a proper data when the blog is generated. Special Forms <!-- break --> A mark to delimit a blog post synopsis. Placeholders %root% A relative path to the root directory of the blog. %home% A relative path to the index page of the blog. %page[id]% A relative path to a page with the supplied id. %post[id]% A relative path to a blog post with the supplied id. %tag[name]% A relative path to a tag with the supplied name. OPTIONS
-b directory, --blogdir directory Allows you to specify a directory in which the BlazeBlogger repository is placed. The default option is a current working directory. -E editor, --editor editor Allows you to specify an external text editor. When supplied, this option overrides the relevant configuration option. -t title, --title title Allows you to specify the title of a blog post or page. -a author, --author author Allows you to specify the author of a blog post or page. -d date, --date date Allows you to specify the date of publishing of a blog post or page. -k keywords, --keywords keywords Allows you to specify a comma-separated list of keywords attached to a blog post or page. -T tags, --tags tags Allows you to supply a comma-separated list of tags attached to a blog post. -u url, --url url Allows you to specify the url of a blog post or page. Allowed characters are letters, numbers, hyphens, and underscores. -p, --page, --pages Tells blaze-add to add a page or pages. -P, --post, --posts Tells blaze-add to add a blog post or blog posts. This is the default option. -C, --no-processor Disables processing a blog post or page with an external application. For example, if you use Markdown to convert the lightweight markup language to the valid HTML output, this will enable you to write this particular post in plain HTML directly. -q, --quiet Disables displaying of unnecessary messages. -V, --verbose Enables displaying of all messages. This is the default option. -h, --help Displays usage information and exits. -v, --version Displays version information and exits. ENVIRONMENT
EDITOR Unless the core.editor option is set, BlazeBlogger tries to use system-wide settings to decide which editor to use. EXAMPLE USAGE
Write a new blog post in an external text editor: ~]$ blaze-add Add a new blog post from a file: ~]$ blaze-add new_packages.txt Successfully added the post with ID 10. Write a new page in an external text editor: ~]$ blaze-add -p Write a new page in nano: ~]$ blaze-add -p -E nano SEE ALSO
blaze-init(1), blaze-config(1), blaze-edit(1), blaze-remove(1), blaze-make(1) BUGS
To report a bug or to send a patch, please, add a new issue to the bug tracker at <http://code.google.com/p/blazeblogger/issues/>, or visit the discussion group at <http://groups.google.com/group/blazeblogger/>. COPYRIGHT
Copyright (C) 2008-2011 Jaromir Hradilek This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Version 1.2.0 2012-03-05 BLAZE-ADD(1)
All times are GMT -4. The time now is 03:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy