Solaris WEB SERVER?
Hi all;
I have installed solaris x86 on my home machine works well...
Now i want to change my rental dedicated server from windows to solaris web server?i dont have any idea about it?is it logical,stable and advantageous to use solaris x86 as a web server...
i will use apache,tomcat,mysql on it,webmin control panel,remote desktop to server,mail server etc...the OS must support all of them...and must have support on internet forums...
which OS you advice to me..?solaris or freebsd or linux versions?
thank you
Burak
You know, asking what nx dialect you should use in a Solaris forum is sort of daring.
All of the softwares you listed works on Solaris, with the possible exeption of remote desktop, which is a windows product used for windows servers. On the otherhand nx has several alternatives to remote desktops, and being unix, they don't really need one anyway.
In general i think its a bad idea to ask people what you should run on your server, there are a lot of religous people out here, and everyone will claim that their unix dialect is the best in every possible way, and that everyone who disagrees with them are either lame, stupid, managers or all of it.
This actually gets quite entertaining when it comes to Linux, since different groups will also argue that THEIR Linux is the only usable and that everything else is crap.
Anyway.
My advice is that you look on what features you want, which platform you feel most comfortable with and what you want to be able to do. Solaris for one thing can be very heavily loaded, scales extremeny well and comes with tons of nice features like Zones, which is a good thing if you have many IP addresses and don't want different webservers to be in the same zone.
7/M.
Similar Messages
-
Configure Web Server in Solaris 10
Hi
I am using Solaris 10 I want to use it as web server How can I configure
it what is the procedure to provide name of Web server and Total configuration through I can access on LAN or WAN
Regards
SatishGet the apache server from www.sunfreeware.com and install it on your server.
The url will http://hostname-of-your-server
Go to apache.org to get apache documentation. -
How to install Apache Web Server with PHP on Sun Solaris Sparc machine
Hi,
We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
Thanks,
HarishApache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
php is available at www.php.net
I found an old document for installing PHP maybe this will help.
Cheers
-Dhruva
+++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
Introduction
This document describes how to install PHP for Apache on Solaris.
You should have Apache installed before trying to install PHP.
If you want to use PHP with MySQL then you must install MySQL first.
Before we Begin
1. These instructions assume that you have Apache installed according to instructions.
Getting PHP
1. You must be logged in as root to perform this installation.
su root
2. I save all my downloads in:
/usr/local/dist
If you don't already have one, you may need to create that directory now:
mkdir /usr/local/dist
3. You can get PHP 3.0.14 from here(www.php.net).
cd /usr/local/dist
ftp ftp.php.net
cd pub/distributions
bin
get php-3.0.14.tar.gz
bye
Installing PHP
1. We will install PHP in /usr/local/build, but use a tricky tar command
to do it in on hit from the download directory:
cd /usr/local/dist
tar xvfz php-3.0.12.tar.gz -C ../build
Compiling PHP
1. First let's get where the action is:
cd /usr/local/build/php-3.0.14
2. You now have 3 options:
* Simple PHP install without MySQL - goto step 3
* Simple PHP install with MySQL - goto step 4
* Custom PHP install - goto step 5
3. Simple PHP install without MySQL. Next, jump to step 6.
./configure --with-apache=../apache_1.3.12
4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
should look like this:
./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
Next, jump to step 6.
5. Custom PHP install. Take a look at the available configuration directives by using this command:
./configure --help
6. Now we can make the PHP executable. This may take a while.
make
7. Now we install the PHP module with:
make install
Adding the PHP Module to Apache
1. Now we have to setup Apache to include the PHP module:
cd ../apache_1.3.12
2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
You can see your previous Apache configure command by doing:
cat config.status
You can configure Apache using the previous command with the added PHP module by doing:
./config.status --activate-module=src/modules/php3/libphp3.a
If you used the simple Apache install from instructions the command will look like this:
./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
3. Make and install Apache with PHP enabled:
make
4. We need to stop the server before installing the files:
/usr/local/apache/bin/apachectl stop
5. Now we can install the new binaries:
make install
6. Start apache again (now running the new php enabled version):
/usr/local/apache/bin/apachectl start
Setting Up PHP
1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
cd /usr/local/apache/conf
2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
AddType application/x-httpd-php3 .phtml
Check that it Works
1. We have to restart Apache to make these changes take effect on the running server.
cd /usr/local/apache/bin
./apachectl restart
2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
./apachectl status
Apache Server Status for dev.synop.com
Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
Server Built: Oct 25 1999 00:37:07
3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
following text:
<?php phpinfo(); ?>
4. Point your browser at this file on the virtual host which you used:
http://localhost/test.php3 -
InBuilt Apache Web Server v2.0.58 on Solaris 10
Hi,
We are working on a custom application which works with the inbuilt Apache Web Server on the Sun Solaris platform. Here are the details of the versions of the various components involved:
Apache Web Server: Version 2.0.58
Platform: SunOS 5.10 Generic_127111-03
Our application is in the form of a shared library(.so binary) which is loaded into the Apache Web Server by mentioning the following directive in the Apache Web Server's configuration file (httpd.conf):
LoadModule at_module "/var/apache2/logs/sample/sample.so"
Where, sample.so is our application's binary
And at_module is the name of the module.
Problem details:
For each request to the Apache Web server, the server maintains a table of type "apr_table_t" which contains the header environment from the request. There is a structure "request_rec" maintained in the httpd.h file:
/** A structure that represents the current request */
struct request_rec {
/** The pool associated with the request */
apr_pool_t *pool;
/** Request method (e.g. GET, HEAD, POST, etc.) */
const char *method;
/** MIME header environment from the request */
apr_table_t *headers_in;
In our case, when we try to retrieve the address of "headers_in", we get a NULL Value. Please refer to the code for "sample-apache.cpp" program. Here it goes:
** Sample Program acting as a loadable Apache module.
** Overview:
** This sample program contains the necessary methods to make the program act as a module which can be loaded into the Apache ** Web Server. This program contains skeleton code which is necessary for any module which needs to be loaded into the Apache ** Web Server.
** Usage:
** 1) Compile and link this program to create a shared library.
** Compilation step:
** /opt/SUNWspro/bin/CC -c -o sample.o -I<Path to your include directory for Apache API's> sample-apache.cpp
** Link step:
** /opt/SUNWspro/bin/CC -G -compat=5 -mt -M map.SunOS -o sample.so sample.o -lsocket -lnsl -lpthread -ldl -lposix4 -lCstd ** -lCrun -lm -lw -lthread -lcx -lc
** 2) The sample program creates a module named "at_module" which can then be loaded in the Apache Web Server's configuration ** file, httpd.conf in the form of a configuration directive as shown below:
** LoadModule at_module "<Location of the shared library created from this sample program>"
#include "httpd.h"
#include "http_config.h"
#include "http_request.h"
#include "http_log.h"
static const char s_szInputFilterName[] = "INPUTFILTER";
extern "C" module at_module;
typedef struct
int Enabled;
char *szConfigFile;
apr_array_header_t *input_filters;
} server_config_struct;
extern "C" apr_status_t ChildExit(void *p);
extern "C" apr_status_t ParentExit(void *p);
extern "C" int Init(apr_pool_t p, apr_pool_t pLogPool, apr_pool_t pTempPool, server_rec s)
void *data;
const char *user_data_key = "init_module";
apr_pool_userdata_get(&data, user_data_key, s->process->pool);
if(!data)
apr_pool_userdata_set((const void *) 1, user_data_key, apr_pool_cleanup_null, s->process->pool);
else
server_config_struct pConfig = (server_config_struct ) ap_get_module_config(s->module_config, &at_module);
apr_pool_cleanup_register(p, s, ParentExit, apr_pool_cleanup_null);
ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "Exit callback registered.");
fflush(NULL);
return OK;
extern "C" void ChildInit(apr_pool_t p, server_rec s)
apr_pool_cleanup_register(p, s, ChildExit, apr_pool_cleanup_null);
return;
extern "C" apr_status_t ChildExit(void *s)
return APR_SUCCESS;
extern "C" apr_status_t ParentExit(void *s)
return APR_SUCCESS;
extern "C" int access_checker(request_rec *r)
FILE * fp;
fp = fopen("/var/apache2/logs/sample.txt", "a");
fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
fclose(fp);
return OK;
extern "C" apr_status_t input_filter_init(ap_filter_t *f)
return APR_SUCCESS;
extern "C" apr_status_t input_filter(ap_filter_t f, apr_bucket_brigade pbbOut,
ap_input_mode_t mode, apr_read_type_e block,
apr_off_t readbytes)
return APR_SUCCESS;
static void register_hooks(apr_pool_t *p)
ap_hook_post_config(Init, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_child_init(ChildInit,NULL,NULL,APR_HOOK_MIDDLE);
ap_hook_access_checker(access_checker, NULL, NULL, APR_HOOK_REALLY_LAST);
ap_register_input_filter(s_szInputFilterName, input_filter, input_filter_init, AP_FTYPE_RESOURCE);
extern "C" module AP_MODULE_DECLARE_DATA at_module =
STANDARD20_MODULE_STUFF,
NULL,
NULL,
NULL,
NULL,
NULL,
register_hooks
//End of sample
In this program, inside the access_checker() method, we try to retrieve the address of "headers_in" and get that as NULL:
extern "C" int access_checker(request_rec *r)
FILE * fp;
fp = fopen("/var/apache2/logs/sample.txt", "a");
fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
fclose(fp);
return OK;
Here is the output of the sample program after accessing the main page of the Web server:
r->headers_in = 0, r->method = GET
r->headers_in = 0, r->method = GET
r->headers_in = 0, r->method = GET
Though we are able to retrieve one member of the structure request_rec (method), we are not able to retrieve the address of the other member (headers_in).
Observation:
We made an interesting observation that when we used the same sample program with the inbuilt Apache 2.0.52 Web Server on Solaris, we were able to successfully retrieve the address of headers_in. Here are the details of the set-up which is working fine:
Apache Web Server: Version 2.0.52
Platform : SunOS 5.10 Generic_118822-30
Thus, there is something different which has happened between the Sun's Solaris Apache Web Server's versions 2.0.52 and 2.0.58 which is making it unable to retrieve the address of the request headers (headers_in) in version 2.0.58.
Can sombody please help me find out the reson for this difference and let me know if we need to change the way of retrieving the request headers for Solaris Apache 2.0.58.
ThanksOk, found the problem:
Do not use this "SSL_RENEGOTIATE_NEVER" as a value for the environment variable:
NSS_SSL_ENABLE_RENEGOTIATION=SSL_RENEGOTIATE_NEVER;export NSS_SSL_ENABLE_RENEGOTIATION
instead, use "0":
NSS_SSL_ENABLE_RENEGOTIATION=0;export NSS_SSL_ENABLE_RENEGOTIATION
Add that line to your startserv script and it should disable ssl renegotiation permanently.
Regards, -
So, noone at all is running SJS Web Server on Solaris 10 Update 6??
Trying to get some feedback on running SJS Web Server under Solaris 10 Update 6.
problems?
"Boy, That was a Mistake"
"Works Great"
"No Problems"
What?? Anything at all...
ThanksNever mind.
It is a known bug documented on manual " [Solaris 10 10/08 Release Notes, Chapter 2 Solaris Runtime Issues|http://docs.sun.com/app/docs/doc/820-5245/chapter2-1000?a=view] " as shown below.
The solution is to apply vold patch [138130-01|http://sunsolve.sun.com/search/document.do?assetkey=1-21-138130-01-1].
Solaris 10 10/08 DVD Media Might Not be Automatically Mounted by vold (6712352)
The Solaris 10 10/08 DVD does not mount by default during runtime. No error message is displayed.
Workaround: Perform the following steps:
1. Become superuser.
2. Disable vold:
* On Solaris 10 Systems:
# svcadm disable -t volfs
* On Solaris 8 and Solaris 9 systems:
/etc/init.d/volmgt stop
3. Mount the media manually by using the # mount -F hsfs path to block device path to mount point command. For example:
# mount -F hsfs /dev/rdsk/c0t2d0s2 /mnt -
Getting Defunct processes while using Oracle iPlanet Web Server 7.0.9 in Solaris 10
Hi,
I have installed Oracle iPlanet Web Server 7.0.9 in our Solaris 10. \
Successfully Configured iPlanet web server using the manual and the application scripts are working fine with this iPlanet webserver.
Even if the application is working fine, the iPlanet webserver stop responding at a period of time and needs to be restart manually...
Found that lots of defunct processes(PPID of webservd) are created and these defuncts (zombies) leads to stop the services.
I am not good in iPlanet webserver configuration settings on the Solaris 10 OS.
Could anyone help me to fix this issue ?
Thanks,
Antony.Here is the truss output (last few lines before the application hungs...
/14: 2516.1065 0.0000 time() = 1428330724
/49: 2516.1382 0.0001 pollsys(0xFFFFFFFF71E3FB40, 1, 0xFFFFFFFF71E3FA80, 0x00000000) = 0
/49: 2516.1386 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/49: 2516.1389 0.0000 lwp_kill(66, SIG#0) Err#3 ESRCH
/49: 2516.1412 0.0022 munmap(0xFFFFFFFF70D00000, 262144) = 0
/49: 2516.1413 0.0000 lwp_exit()
/39: 2516.1553 0.0000 pollsys(0xFFFFFFFF7283FB40, 1, 0xFFFFFFFF7283FA80, 0x00000000) = 0
/39: 2516.1557 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/39: 2516.1559 0.0000 lwp_kill(75, SIG#0) Err#3 ESRCH
/39: 2516.1561 0.0001 munmap(0xFFFFFFFF70400000, 262144) = 0
/39: 2516.1562 0.0000 lwp_exit()
/25: 2516.1614 0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0) Err#62 ETIME
/16: 2516.1671 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/35: 2516.2558 0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0) Err#62 ETIME
/16: 2516.2673 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2516.3675 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/36: 2516.4317 0.0000 lwp_park(0xFFFFFFFF72CFBE60, 0) Err#62 ETIME
/15: 2516.4505 0.0000 lwp_park(0xFFFFFFFF7613F9D0, 0) Err#62 ETIME
/16: 2516.4677 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2516.5679 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/27: 2516.6533 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) = 0
/16: 2516.6681 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/1: 2516.7105 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
/16: 2516.7684 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/34: 2516.8137 0.0000 lwp_park(0xFFFFFFFF730FBA70, 0) Err#62 ETIME
/16: 2516.8685 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2516.9686 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2517.0688 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/14: 2517.1057 0.0001 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
/14: 2517.1061 0.0000 time() = 1428330725
/25: 2517.1618 0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0) Err#62 ETIME
/16: 2517.1691 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/35: 2517.2561 0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0) Err#62 ETIME
/16: 2517.2693 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2517.3695 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/36: lwp_park(0xFFFFFFFF72CFBE60, 0) (sleeping...)
/15: lwp_park(0xFFFFFFFF7613F9D0, 0) (sleeping...)
/16: 2517.4696 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/54: 2517.5362 0.0000 pollsys(0xFFFFFFFF7193FB40, 1, 0xFFFFFFFF7193FA80, 0x00000000) = 0
/54: 2517.5364 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/54: 2517.5367 0.0000 lwp_kill(53, SIG#0) Err#3 ESRCH
/54: 2517.5368 0.0001 munmap(0xFFFFFFFF71A00000, 262144) = 0
/54: 2517.5369 0.0000 lwp_exit()
/16: 2517.5697 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/27: pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) (sleeping...)
/16: 2517.6699 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/1: 2517.7106 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
/1: 2517.7111 0.0001 close(26) = 0
/1: 2517.7113 0.0000 write(24, " 8", 1) = 1
/1: 2517.7115 0.0000 close(23) = 0
/1: 2517.7116 0.0000 close(24) = 0
/1: 2517.7118 0.0000 lwp_unpark(25) = 0
/25: 2517.7118 0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0) = 0
/1: 2517.7120 0.0000 lwp_unpark(35) = 0
/35: 2517.7120 0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0) = 0
/25: 2517.7121 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/25: 2517.7122 0.0000 lwp_kill(61, SIG#0) Err#3 ESRCH
/35: 2517.7123 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/25: 2517.7124 0.0001 munmap(0xFFFFFFFF71200000, 262144) = 0
/25: 2517.7125 0.0000 lwp_exit()
/1: 2517.7126 0.0000 lwp_wait(25, 0xFFFFFFFF7FFFA47C) = 0
/35: 2517.7127 0.0000 lwp_kill(52, SIG#0) Err#3 ESRCH
/35: 2517.7128 0.0001 munmap(0xFFFFFFFF71B00000, 262144) = 0
/35: 2517.7129 0.0000 lwp_unpark(1) = 0
/1: 2517.7129 0.0000 lwp_park(0x00000000, 0) = 0
/35: 2517.7130 0.0000 lwp_exit()
/1: 2517.7132 0.0000 lwp_wait(35, 0xFFFFFFFF7FFFA47C) = 0
/1: 2517.7134 0.0000 close(13) = 0
/16: 2517.7700 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/34: 2517.8141 0.0000 lwp_park(0xFFFFFFFF730FBA70, 0) Err#62 ETIME
/16: 2517.8702 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2517.9704 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/22: 2517.9743 0.0001 pollsys(0xFFFFFFFF73F3FA98, 1, 0xFFFFFFFF73F3F9D0, 0x00000000) = 0
/16: 2518.0706 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/14: 2518.1063 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
/14: 2518.1073 0.0000 time() = 1428330726
/1: 2518.1082 0.0000 lseek(1, 0, SEEK_CUR) = 0
/1: 2518.1083 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1085 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1093 0.0000 lseek(1, 0, SEEK_CUR) = 0
/1: 2518.1094 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1095 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1102 0.0000 _exit(0) -
Problems installing Sun ONE Web Server 7.0 on an x86 with Solaris 10
I am trying to install the new Sun ONE Java Web Server 7.0 on my Solaris 10 machine. This is the error I am getting:
|-1%--------------25%-----------------50%-----------webResources:errorCreatingLogFile
Task Failed: java.lang.NullPointsswhereException
java.lang.NullPointerException
at com.sun.web.installer.web.actions.PostInstall_core.install(PostInstall_core.java:273)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1465)
at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1086)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1086)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
at com.sun.install.products.Product.performInstallation(Product.java:651)
at com.sun.install.tasks.ProductTask.perform(ProductTask.java:153)
at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
at java.lang.Thread.run(Thread.java:595)
This is not a permissions issue, and there are no errors in the /var/sadm/install/logs. Please keep!
Kristie N. HowardHope, you are considering Sun Web Server 6.1 (formerly known as iPlanet Enterprise Server ) for this task. Yes, it is possible to host multiple instances of web server on a same machine.
you can create multiple instances using our GUI. here is the pointer to our docs on how to do this - http://docs.sun.com/app/docs/doc/819-6512/6n8h7gq1n?a=view#bhabr
If you are willing to give Sun Java System Web Server 7 (our latest release - http://www.sun.com/webserver) , then you can do this by CLI as well.
sun one portal server 3.0 - is a very old release. Are you sure, is this what you want to run ?
hope this helps -
Problem with inbuilt Solaris Apache Web Server v 2.0.58
Hi,
Set-up:
We are working on a custom application which works with the inbuilt Apache Web Server on the Sun Solaris platform. Here are the details of the versions of the various components involved:
Apache Web Server: Version 2.0.58
Platform: SunOS 5.10 Generic_127111-03
Our application is in the form of a shared library(.so binary) which is loaded into the Apache Web Server by mentioning the following directive in the Apache Web Server's configuration file (httpd.conf).
LoadModule at_module "/var/apache2/logs/sample/sample.so"
where, sample.so is our application's binary
and at_module is the name of the module.
httpd.conf file has been attached for your reference.
Attachments:
httpd.conf - Apache Web Server's configuration file.
sample-apache.cpp - Sample program which is showing the problem.
httpd.h - Apache Software Foundation's file which contains the structure "request_rec" that represents the current request.
Problem summary:
For each request to the Apache Web server, the server maintains a table of type "apr_table_t" which contains the header environment from the request. There is a structure "request_rec" maintained in the httpd.h file:
/** A structure that represents the current request */
struct request_rec {
/** The pool associated with the request */
apr_pool_t *pool;
/** Request method (eg. GET, HEAD, POST, etc.) */
const char *method;
/** MIME header environment from the request */
apr_table_t *headers_in;
In our case, when we try to retrieve the address of "headers_in", we get a NULL Value. Please refer to the attached "sample-apache.cpp" program. In this program, inside the access_checker() method, we try to retrieve the address of "headers_in" and get that as NULL:
extern "C" int access_checker(request_rec *r)
FILE * fp;
fp = fopen("/var/apache2/logs/sample.txt", "a");
fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
fclose(fp);
return OK;
Here is the output of the sample program after accessing the main page of the Web server:
r->headers_in = 0, r->method = GET
r->headers_in = 0, r->method = GET
r->headers_in = 0, r->method = GET
Though we are able to retrieve one member of the structure request_rec (method), we are not able to retrieve the address of the other member (headers_in).
Observation:
We made an interesting observation that when we used the same sample program with the inbuilt Apache 2.0.52 Web Server on Solaris, we were able to successfully retrieve the address of headers_in. Here are the details of the set-up which is working fine:
Apache Web Server: Version 2.0.52
Platform : SunOS 5.10 Generic_118822-30
Thus, there is something different which has happened between the Sun's Solaris Apache Web Server's versions 2.0.52 and 2.0.58 which is making it unable to retrieve the address of the request headers (headers_in).
I am requesting someone to kindly shed light on this difference and let us know if we need to change the way of retrieving the request headers for Solaris Apache 2.0.58.
Thanks,
Atul.The only way you can achieve it is by running the web server to listen on port 80
Please change the port in your httpd.conf file for the webserver and restart it.
If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
Arun -
We are the partner of Sun Developer Connection Program.
Company: ITI Ltd.
Member no: 1024878
We tried to install iPlanet Web Server ver 6.0
Service Pack 3, in Sun Ultra10 Solaris 5.8 machine.
During the time of installation it is giving Error:
Failure installing iPlanet Administration Server
Do you want to continue? if Yes
it starts poceeding with the installation and again gives an Error:
Failure installing Core Java Classes.
Do you want to continue? if Yes
It completes the installation.
But startconsole cannot be executed.
Please send the solution.May I ask where did you get the bits for iWS 6.0 SP3? The latest version currently available for download is iWS 6.0 SP2.
http://wwws.sun.com/software/download/download/
Thanks -
Is SUN's Java Web Server 2.0 running on Solaris 8?
Hi,
I had installed Java Web Server 2.0 on Solaris 8 under /opt/SUNWjws/JavaWebServer2.0 directory.
When I tried to start up the java web server by calling "./httpd &" from /opt/SUNWjws/JavaWebServer2.0/bin directory I got the error message "jre was not found in /opt/SUNWjws/JavaWebServer2.0/jre/bin/../bin/i386/native_threads/jre"
The directory /opt/SUNWjws/JavaWebServer2.0/jre/bin/ directory does exist.
Thanks
TomThanks.
After I add JAVA_HOME=/usr/java and PATH=/usr/java/bin:$PATH setting,the httpd still doesn't work.
But I try the httpd.nojre then it work.
Httpd.nojre runs jserv -nojre. -
Problem Description
Am trying to setup and use the JDeveloper/OAF in our EBS R12 (12.1.3) web server. Solaris Sparc 64bit machine.
Followed the metalink document 416708.1 and took the zip p9879989_R12_GENERIC.zip as instructed in the training class. The readme does not mention about installing in UNIX. I am getting all shorts of errors when invoking "jdev".
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error: JDeveloper can't recognize the JDK version
Please let me know the steps.Hi ,
Normally the Jdeveloper setup will be done in Windows (32bit or 64 bit) for development of new pages, or extension.
I understand that you are trying to setup the Jdevelopment for your development in a Solaris Sparc 64bit machine, it should be possible because Oracle Development use Unix machine to run the Jdeveloper for development.
Please try
To work around this you should edit the $JDEV_HOME/jdev/bin/jdev.conf -file and comment out the line that shows:
SetJavaVM hotspot
After this you should be able to start JDeveloper 10.1.2.
You might get some weird sticky startup screen showing in front of the initial questionnaire windows. After passing these (either try moving the windows or just pressing Enter) you should be fine with JDeveloper.
If that didnt work,
And check the below thread helps,
http://kaukovuo.blogspot.com/2005/07/jdeveloper-1012-and-linux-x8664-with.html
JDeveloper On Ubuntu Linux running Java 6
http://www.ensode.net/jdeveloper_linux.html
http://focusthread.com/blog/oracletraining/developertechnical/oaframework/jdev-installer-giving-error-as-could-not-create-the-java-virtual-machine-error-jdeveloper-cant-recognize-the-jdk-version/
Jdeveloper on solaris: an option for mutualized development env ?
Thanks,
With regards,
Kali.
OSSi. -
Am trying to setup and use the JDeveloper/OAF in our EBS R12 (12.1.3) web server. Solaris Sparc 64bit machine.
Followed the metalink document 416708.1 and took the zip p9879989_R12_GENERIC.zip as instructed in the training class. The readme does not mention about installing in UNIX. I am getting all shorts of errors when invoking "jdev".
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error: JDeveloper can't recognize the JDK version
Please let me know the steps.Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error: JDeveloper can't recognize the JDK versionPlease see if these docs/links help.
http://www.ensode.net/jdeveloper_linux.html
hotspot VM not supported JDeveloper can't recognize the JDK version [ID 785017.1]
JDeveloper On Ubuntu Linux running Java 6
Please let me know the steps.Oracle Application Framework Developer's Guide Release 12.1.3 [ID 1107973.1]
Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
Troubleshooting JDeveloper setup for Oracle Applications [ID 357218.1]
Thanks,
Hussein -
Thread number limitation on Sun One Web Server 6.1 on Solaris 9
Hi.
I am testing my servlet on Web Server 6.1 on Solaris 9 (SPARC). I am logging start of HTTPServlet.doPost() method and end of it, by calling GenericServlet.log() method for perfomance check.
When I request more than two request(it takes long time) simultaneously from browser, my servlet logs like:
doPost start
doPost start
doPost end
doPost start
doPost end
doPost start
:that is ,two requests is processed concurrent by threads, and another requests waiting, and after each running thread ends, waiting request is processed one by one.
I think there is some limitation of thread or connections, so I checked magnus.conf. But RqThrottle is set to 128. And I cannot find any thread number settings.
My magnus.conf is as follows.
# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot /export/home0/SUNWwbsvr
ServerName test03
ServerID https-test03
RqThrottle 128
DNS off
Security off
PidLog /export/home0/SUNWwbsvr/https-test03/logs/pid
User webservd
StackSize 131072
TempDir /tmp/https-test03-8ac62f09
UseNativePoll off
PostThreadsEarly on
KernelThreads off
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-modules" shlib="/export/home0/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"Why web server do not process more than two requests concurrent? Which server configuration should I check?
Thanks in advance.I don't think I ever ran into that kind of a limit. Does the servlet use database connections (maybe the connection pool is empty) or other critical sections / large synchronized blocks?
Try a minimal servlet that takes a while to execute:
doGet(...)
log("sleep starting " + Thread.currentThread().getName());
try {
Thread.sleep(30000);
} catch (Exception e) { }
log("sleep done " + Thread.currentThread().getName());
response.getOutputStream().println("good morning"); -
Unable to start Sun One Web Server 6.1 SP5 64bits on Solaris 10
Hello,
I installed the Sun One Web Server 6.1 SP5 64bits successfully on a Solaris 10 machine, but was unable to started up the web server application:
The error message is below,
# pwd
/app/SUNWwbsvr61sp5/https-admserv
# ls
ClassCache config restart SessionData stop
conf_bk logs rotate start webapps
# ./start
Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /app/SUNWwbsvr61sp5/bin/https/lib/libj2eeplugin.so failed (ld.so.1: webservd: fatal: libjvm.so: open failed: No such file or directory)
I have searched the forum and found some what similar case but it was for SP4.
Please if anyone had experienced with this please advise how to resolve this issue.
I greatly appreciated,
Thank you
Edited by: n2sun on Jun 12, 2008 10:15 AMjust check the env file for the user who is starting or running that.
say if it is cshell, you can see the following variables in the .cshrc which will be under the user's home directory
setenv JAVAHOME WS_Root/jdk
setenv LD_LIBRARY_PATH WS_Root/lib: /libnow source that file
source .cshrcthen start the webserver. -
Kerberos support on Web server 7u8 (solaris)
Trying to implement Kerberos authentication on the web server.
Implemented according to: http://docs.sun.com/app/docs/doc/821-0793/gczym?l=en&a=view
This is what I get in the errors log when attempting to access a page matching the acl.
[20/May/2010:10:53:05] fine ( 2766): for host 127.0.0.1 trying to GET /, restarting request as /index.html
[20/May/2010:10:53:05] fine ( 2766): acl user: match on user = (anyone)
[20/May/2010:10:53:05] fine ( 2766): acl user: match on user = (anyone)
[20/May/2010:10:53:05] fine ( 2766): acl: calling getter for (attr=user; method=gssapi, dbtype=kerberos)
[20/May/2010:10:53:05] fine ( 2766): acl: calling getter for (attr=authorization; method=gssapi, dbtype=kerberos)
[20/May/2010:10:53:05] fine ( 2766): acl: getter for (attr=authorization; method=gssapi, dbtype=kerberos) returns -2
[20/May/2010:10:53:05] fine ( 2766): acl: getter for (attr=user; method=gssapi, dbtype=kerberos) returns -6
No other errors, or any kind of information that is helpful.
Running snoop, shows no attempt to contact to the kdc. Running truss does not help identify what is not working.
I have a keytab file. And I can run the command "kinit -k -t keytab" using it, and it will actually attempt to contact the kdc. (opens a net connection)
Is there a missing step in the documentation? (or perhaps several)Configure Kerberos client on Solaris
* Proper /etc/krb5/krb5.conf file, it should be the same as one on KDC
* Clock is close to KDC's clock (usually difference should not be bigger than 5 minutes).
* Create user netuser
* #kinit netuser
* # telnet -a -F -l netuser serverhostname.com.
* The above should log in without password prompt. This shows kerberos is setup properly.
open up either a mozilla or a firefox browser.On the url type about:config and type negotiate in Filter text. Do the following changes
network.negotiate-auth.delegation-uris . Double click and change it value to http://serverhostname.com,https://serverhostname.com
network.negotiate-auth.trusted-uris. Double click and change its value to http://serverhostname.com,https://serverhostname.com
On the command prompt type
o # klist
On Mozilla/Firefox browser type http://serverhostname.com/krb5.
Maybe you are looking for
-
Error when write data object in archiving (BW)
HI: I am making an infocube archiving,this process is cancelled due to an error. the error is: Error E/S en fichero de archivo BW02sapmntBWPArchivingBWP_BW_0_BWCZRT_C05_20 BA 024 Error al grabar un objeto de datos
-
When I open a new tab, within the pages brought up is my gmail inbox. This mean anyone can have access to my inbox without logging in, without my password. How do I restrict this access?
-
Help! I can't get rid of background in placed images
I have placed images that fade to 0%cmyk. When I print I can see the rectangle of the image box rather than 0%. Any suggestions?
-
I'm looking for a report that shows, by payment run, what discounts were taken and/or missed. Does anyone know an existing report or query that will provide this?
-
Organisational structure should be alphanumerical or numerical.
Hi Team, I have a client requirement where client has requested all organisational structure like company code, chart of accounts, credit control area, conrtolling area etc all should be alphanumerical or numerical. If its alphanumerical, what are me