Last Apache server bounce time
Hello,
I would like to know the last bounce time for the apache server Oracle apps 11i. Please help me how to fetch that.
Thanks,
Sarath
Hi;
Please check apache log files
$IAS_ORACLE_HOME/Apache/Apache/logs
You can also check log file from in adapcctl.sh script
Regard
Helios
Similar Messages
-
Does anyone knows that if I need to restart the Apache server every time I deploy new change for OAF. Are there any other ways that I don't need to restart the Apache server (at least during the development period).
Many Thanks
LawrenceYou dont need to restart it everytime you place something new,
but you need to restart it when you change any class files that are already present in server
if change any menu structure or page definition, you can simply clear cache using functional administrtor
Regards
Ravi -
How to get last modified date and time of a file which is in apache server.
Hi ,
I need to get last modified date and time of a file in remote machine.
This file is in remote machine which has apache server installed.
I am trying to get this information by connecting to apache server from client by giving absolute URI of the file to file object.
URI is got from apache server URL by using toURI method.
when I use lastModified method , its throwing exception , because scheme of URI is not file.
I can't give scheme as file because ftp server is not installed on that server
Is there any other way to get this information .No, unless you can use an FTP client.
-
Is there any alternative of Bouncing apache server
i was working on look and feel of oracle apps OA pages.
Create some skins for OA pages from Customizing Look and Feel Administrator responsibilty and assined to my profile.
i could not see the changes untill and unless a bounce happned.
i cant bounce the production server evry time, is there any other alternative to see the changes with out a bounce.
Thanks in advance.
MahindraHi Mahindra,
If it is only about the page changes then there is an alternative.
Go to Functional Administrator Responsibility -> Core Services -> Caching Framework -> Global Configuration and click on Clear All Cache.
It would clear the cache and you could see your page changes. No need to bounce apache if the changes are only in the PG.xml
-- Arvind -
Apache server + mod_python - Error 403
Hi.
I'm totally new in Apache server. As topic says, I have problems with permissions to my server directory. Here's my httpd.conf file:
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
ServerRoot "/etc/httpd/"
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
# Mutex default:/run/httpd
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80
Listen 80
# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
LoadModule authz_core_module modules/mod_authz_core.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule allowmethods_module modules/mod_allowmethods.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cache_socache_module modules/mod_cache_socache.so
#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule macro_module modules/mod_macro.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule dumpio_module modules/mod_dumpio.so
#LoadModule echo_module modules/mod_echo.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule data_module modules/mod_data.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule request_module modules/mod_request.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule deflate_module modules/mod_deflate.so
#LoadModule xml2enc_module modules/mod_xml2enc.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule mime_module modules/mod_mime.so
#LoadModule ldap_module modules/mod_ldap.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule logio_module modules/mod_logio.so
#LoadModule lua_module modules/mod_lua.so
LoadModule env_module modules/mod_env.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
#LoadModule remoteip_module modules/mod_remoteip.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule dialup_module modules/mod_dialup.so
LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
LoadModule mpm_event_module modules/mod_mpm_event.so
LoadModule unixd_module modules/mod_unixd.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule info_module modules/mod_info.so
#LoadModule suexec_module modules/mod_suexec.so
#LoadModule cgid_module modules/mod_cgid.so
#LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
#LoadModule imagemap_module modules/mod_imagemap.so
#LoadModule actions_module modules/mod_actions.so
#LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule python_module modules/mod_python.so
<IfModule unixd_module>
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User http
Group http
</IfModule>
# 'Main' server configuration
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. [email protected]
ServerAdmin [email protected]
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
# If your host doesn't have a registered DNS name, enter its IP address here.
#ServerName www.example.com:80
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
<Directory />
AllowOverride none
Require all denied
</Directory>
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "/srv/http"
<Directory "/srv/http">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
Options Indexes FollowSymLinks
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
AllowOverride None
# Controls who can get stuff from this server.
Require all granted
</Directory>
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<Files ".ht*">
Require all denied
</Files>
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog "/var/log/httpd/error_log"
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
<IfModule log_config_module>
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
CustomLog "/var/log/httpd/access_log" common
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#CustomLog "/var/log/httpd/access_log" combined
</IfModule>
<IfModule alias_module>
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
</IfModule>
<IfModule cgid_module>
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#Scriptsock cgisock
</IfModule>
# "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "/srv/http/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
TypesConfig conf/mime.types
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#AddType application/x-gzip .tgz
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#AddHandler cgi-script .cgi
# For type maps (negotiated resources):
#AddHandler type-map var
# Filters allow you to process content before it is sent to the client.
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#MIMEMagicFile conf/magic
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
#EnableMMAP off
#EnableSendfile on
# Supplemental configuration
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
# uncomment out the below to deal with user agents that deliberately
# violate open standards by misusing DNT (DNT *must* be a specific
# end-user choice)
#<IfModule setenvif_module>
#BrowserMatch "MSIE 10.0;" bad_DNT
#</IfModule>
#<IfModule headers_module>
#RequestHeader unset DNT env=bad_DNT
#</IfModule>
<Directory /home/developer/www/>
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
</Directory>
httpd-userdir.conf file:
# Settings for user home directories
# Required module: mod_authz_core, mod_authz_host, mod_userdir
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
UserDir public_html
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
<Directory "/home/developer/www/">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
and path permissions
drwxr-xr-x 4 root root 4096 03-16 12:24 home
drwx-----x 11 developer users 4096 03-18 21:03 developer
drwxr-xr-x 2 http http 4096 03-18 21:50 www
-rwxrwxrwx 1 http http 137 03-18 21:08 mptest.py
Do you have any suggestions? Thanks in advanceThanks for reply
I've added read access to developer directory:
drwxr--r-x 11 developer users 4096 03-18 21:03 developer
Nothing changed.
error_log
[Tue Mar 18 22:42:47.462658 2014] [authz_core:error] [pid 2150:tid 2941197120] [client 192.168.1.100:56103] AH01630: client denied by server configuration: /home/developer/public_html
No idea how "public_html" get there?!
access_log
192.168.1.100 - - [18/Mar/2014:22:38:34 +0100] "GET /~developer HTTP/1.1" 403 1081
192.168.1.100 - - [18/Mar/2014:22:38:45 +0100] "GET /~developer/www HTTP/1.1" 403 1081
192.168.1.100 - - [18/Mar/2014:22:42:47 +0100] "GET /~developer/www HTTP/1.1" 403 1081
192.168.1.100 - - [18/Mar/2014:22:42:47 +0100] "GET /favicon.ico HTTP/1.1" 404 1099
192.168.1.100 - - [18/Mar/2014:22:42:47 +0100] "GET /favicon.ico HTTP/1.1" 404 1099
EDIT
Ok, I've found the solution for that. In file httpd-userdir.conf UserDir was "public_html" instead of "www".
Now I'm getting error 500
error_log
[Tue Mar 18 22:48:36.841443 2014] [mpm_event:notice] [pid 2803:tid 3074947456] AH00489: Apache/2.4.7 (Unix) mod_python/3.5.0- Python/3.3.5 configured -- resuming normal operations
[Tue Mar 18 22:48:36.841528 2014] [core:notice] [pid 2803:tid 3074947456] AH00094: Command line: '/usr/bin/httpd'
[Tue Mar 18 22:48:45.873329 2014] [:error] [pid 2805:tid 3033516864] make_obcallback: could not import mod_python.apache.\n
[Tue Mar 18 22:48:45.874559 2014] [:error] [pid 2805:tid 3033516864] make_obcallback: Python path being used "['/usr/lib/python33.zip', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-linux', '/usr/lib/python3.3/lib-dynload', '/usr/lib/python3.3/site-packages']".
[Tue Mar 18 22:48:45.874589 2014] [:error] [pid 2805:tid 3033516864] get_interpreter: no interpreter callback found.
[Tue Mar 18 22:48:45.874612 2014] [:error] [pid 2805:tid 3033516864] [client 192.168.1.100:56122] python_handler: Can't get/create interpreter., referer: http://192.168.1.108/~developer/
Last edited by maci3k (2014-03-18 22:37:32) -
How to get my apache server running on my ip address?
I am new to apache server. I installed apache server as described in :
https://wiki.archlinux.org/index.php/LAMP
Firstly where do I store the files that I want to open using my apache server and how do I like map my public ip to apache server?
say my public ip is x.x.x.x
how do I get it work such that next time in browser instead of typing http://localhost/ if I type my public ip it shows the contents on my server.
ThanksRead completely before trying.....
1. Register an account at www.dyndns.org, its free, up to two domains.
2. Login to dyndns and create a domain of your choice.
3. This dyndns keeps track of your router IP addresses which is typically dynamic.
4. Now we need to update the ip addresses of the domain when ever it changes. It generally changes every time we restart the router. In order to do it automatically we will setup the dyndns account on the router.
5. On the router, login as admin to change/setup the settings. The router can be reached with the ip 192.168.1.1, this ip addresses changes with the manufacturer, like for belkin its 192.168.2.1
6. On the router check for something which says DDNS, here you can setup the dyndns.
7. Give the login details for your dyndns and the domain name.
8. So, now you have linked your router to your dyndns and you can reach the router from anywhere in the world by type the domain name. The ip is not reliable since its dynamic and so it changes.
9. No to use an application on a computer connected to the router. You need to use port forwarding.
10. By using port forwarding, we can make the router redirect the requests to a computer on the network.
11. Now again, your computer is typically connected to router using DHCP or dynamic ip. So need a static ip address for the computer as well so that it will remain constant all the times and the router can redirect the requests to this ip.
12. Make the computer acquire a static ip. Configure your system for static ip. You just need to specify some ip address out of the dhcp range. So a static ip address can be 192.168.1.101 (as first 100 are for dhcp).
13. Now on the router look for Port-Forwarding or Virtual Servers etc...
14. You will be able to see a list of text boxes for ip and port.
15. Now specify ip address of the static ip address computer and any port number like 8080. Make the private port or the internal port as the port number of your application. Application name can be anything. Type can be UDP or Choose Both, use TCP only if your are connected with a LAN cable.
16. Here is an example...
If we are using a webserver on our computer which runs on port 8080, we use it by typing..
http://localhost:8080
If someone on the same router whats to use our webserver they can type in:
http://<ip-address>:8080 which can be http://192.168.1.5:8080
Here as you can see, the ip address is dynamic, so change it to 101 from 5. When you choose static, the OS will ask you to specify the ip address, then just specify the ip as 101.
Now you can access the web server by using the ip:
http://192.168.1.101:8080
But this can be done only by the people connected to the same router. Now we need to make it accessible by anyone in the world. So we need to make people access your computer which is behind the router.
So first we need to make people access the router. But since the router's public IP is dynamic. We need something to keep track of the ever changing ip address of the router. Such kind of service is the dyndns.org
By specifying the login details and domain from dyndns inside the router, the router uploads the new IP everytime it changes to the dyndns servers. The dyndns keeps track of the ip address.
lets say our domain is registerd as: project.dyndns.org
we provide this domain and login details to our router, and the router updates the ip address in case of any changes.
We will now be able to reach the router by typing:
http://project.dyndns.org
we dont have to worry about the ip address any more.
But still we need to get to the computer to access the web server.
So we have to link the router to the computer. As we know our computer is at IP 192.168.1.101
Now we will setup the port forwarding so that any request to a port A on the router will be redirected to a port B of the IP 192.168.1.101, which is the computer itself.
Here port B is 8080 on the computer with the IP 192.168.1.101
So we need to link a port say 8090 on the router to the 8080 on the computer.
So, configure your router for port forwarding so that the 8090 on the router will point to 8080 on 192.168.1.101
Now, anyone can access the router by typing:
http://project.dyndns.org
But to reach the computer we need to type the port as well, so type:
http://project.dyndns.org:8090
So any request to 8090 will be redirected to the 8080 on the computer which is handled by the webserver on the computer.
EDIT:
Once everything is setup, you can use the domain for SSH and other remote access tools. Just do the port forwarding for the required tools separately.
Last edited by gopichand (2011-12-05 15:16:23) -
Does APACHE services bounce requires an Outage in Production.
Dear Experts,
Can you please help me answer the following questions around APACHE services bounce in a R12.1.3 environment.
1. Does the bouncing of APACHE services requires an Outage in Production environment.
2. What happens to the users who are connected to the instance while the server being bounced and will the new user be able to login during this time.
Please confirm.
Thanks,
Neeraj.> 1. Does the bouncing of APACHE services requires an Outage in Production environment.
No, bouncing causes an outage, it doesn't require one
>2. What happens to the users who are connected to the instance while the server being
> bounced
The open Forms sessions on the client PC either automatically get an error message (time-out related) or they get one when they try to perform any action in the Forms screens. After which the Forms session is "messed up", and cannot be used anymore, even after restarting the Apache web server.
Web screens will receive a traditional error, like 404, or an internal server error, on first attempt to continue
> and will the new user be able to login during this time.
>
It's hard to connect to a web server that is down, so : no. -
Restarting Apache server (Password?)
I can't edit my httpd.conf file; every time I restart my servers, my edits vanish.
Someone suggested I restart the Apache server by typing the following into Terminal:
sudo apachectl -k restart
So I did, and I get the following error:
/usr/sbin/apachectl: line 90: 17349 Bus error: 10 $HTTPD $ARGV
Can anyone tell me what this means and how I can fix it?Hi,
By default, the Oracle JSP class loader that comes with the Oracle JSP Container will automatically reload a class in the Oracle JSP classpath whenever the class file or JAR file has been modified since it was last loaded.
The JSP container checks whether the last-modified time of the page implementation class file is older than the last-modified time of the JSP page source file.
However to enable dynamic loading, remember that classes must be in the JSP classpath, not the system classpath, to be dynamically reloaded. If they are in the system classpath as well, the system class loader may take precedence in some circumstances, possibly interfering with JSP automatic-reloading functionality.
Also just check that you have the latest version of ojsp.jar (Oracle JSP Container implementation)
Regards,
Abhinav -
Can not connect to Admin Console FMS 3.5 running separate Apache Server
Hi All! I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul 7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul 7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).
Jul 7 12:15:37 228215-web1 Adaptor[28216]: Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4
Jul 7 12:15:38 228215-web1 Adaptor[28216]: Listener started ( _defaultRoot__edge1 ) : 1935/v4
Jul 7 12:15:38 228215-web1 Adaptor[28216]: Listener started ( _defaultRoot__edge1 ) : 8080/v4
Jul 7 12:16:20 228215-web1 Service[28480]: Server starting...
Jul 7 12:16:20 228215-web1 Adaptor[28480]: Listener started ( FCSAdminIpcProtocol ) : localhost:11110/v4
Jul 7 12:16:21 228215-web1 Adaptor[28480]: Listener started ( FCSAdminAdaptor ) : 1111/v4
Jul 7 12:16:22 228215-web1 Service[28480]: Server started (./conf/Server.xml).
All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.
Sorry if I have not provided enough info... let me know what I missed and I will supply it.Sorry for the confusion! *I* am the one really confused. But to answer your question (I hope), the webpage is on the same physical server as the FMS server, but I am using an outside network (I am not on the local server network) to browse the webpages.
Both IPs fail when trying to reach:
http://***.***.**.138:1111
http://***.***.**.139:1111
Does that mean the ports are blocked? The /var/log/messages shows:
Jul 7 13:20:37 228215-web1 Service[29862]: Server starting...
Jul 7 13:20:37 228215-web1 Service[29862]: Server started (/opt/adobe/fms/conf/Server.xml).
Jul 7 13:20:37 228215-web1 Adaptor[29882]: Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4
Jul 7 13:20:38 228215-web1 Adaptor[29882]: Listener started ( _defaultRoot__edge1 ) : 1935/v4
Jul 7 13:20:38 228215-web1 Adaptor[29882]: Listener started ( _defaultRoot__edge1 ) : 8080/v4
Jul 7 13:20:51 228215-web1 Service[30144]: Server starting...
Jul 7 13:20:51 228215-web1 Adaptor[30144]: Listener started ( FCSAdminIpcProtocol ) : localhost:11110/v4
Jul 7 13:20:52 228215-web1 Adaptor[30144]: Listener started ( FCSAdminAdaptor ) : 1111/v4
Jul 7 13:20:53 228215-web1 Service[30144]: Server started (./conf/Server.xml). -
SCEP last quick scan end times not showing up in console
Hello
My company is using SCEP to protect our environment with SCCM 2012 R2. We have schedule quick scans to run at 2am on Sundays, but when we look at any device collection and add the column "Endpoint Protection Last Quick Scan End Time", no time appears
even if there is time in the "Endpoint Protection Last Quick Scan Start Time". I have checked the SCEP logs on both the SCCM server and on client machines but no errors occurring, I can see the job start but it doesn't end. If I look at SCEP
on the client machine, the scan appears to be happening on schedule. Is this a known issue with times not appearing or is there something that can be fixed? It does not appear to be affecting the scans but makes monitoring our environment more difficult.
Thank you,
Scott JonesQuery this view in your DB. (SCCM_EXT.vex_EP_AntimalwareHealthStatus) Do any of your start/end times show up here?
Best, Jacob I'm a PC. -
Error_log in apache server keep on growing
I found the error_log in apache server keep on growing in every second! Anyone can tell me why it's growing like this?
I have Oracle 9i Database on Windows XP Professional on Core 2 Duo/ 2 GB RAM machine.
I have a peculiar problem. The error_log file in C:\oracle\Apache\Apache\logs\error_log keeps increasing in size rapidly, until my whole hard disc of 250 GB gets used up. The first time I had this problem, I thought it was some virus, then I traced it to this file.
I tried deleted this file, but again its cones & stars growing until I STOP HTTP server.
I also tried to make error_log file 'READ ONLY' but issue is not resolved.
Can anyone tell me what the cause and solution of this problem is.
Help appreciated!Please See below:
[Sun Jul 18 15:07:03 2010] [notice] FastCGI: process manager initialized
[Sun Jul 18 15:07:03 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" started (pid 2720)
[Sun Jul 18 15:07:04 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2720) terminated with exit with status '3504464'
[Sun Jul 18 15:07:08 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2792)
[Sun Jul 18 15:07:08 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2792) terminated with exit with status '3504464'
[Sun Jul 18 15:07:13 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3336)
[Sun Jul 18 15:07:13 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3336) terminated with exit with status '3504464'
[Sun Jul 18 15:07:18 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3044)
[Sun Jul 18 15:07:18 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3044) terminated with exit with status '3504464'
[Sun Jul 18 15:07:23 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3124)
[Sun Jul 18 15:07:24 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3124) terminated with exit with status '3504464'
[Sun Jul 18 15:07:28 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 628)
[Sun Jul 18 15:07:28 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 628) terminated with exit with status '3504464'
[Sun Jul 18 15:07:33 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 3168)
[Sun Jul 18 15:07:33 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 3168) terminated with exit with status '3504464'
[Sun Jul 18 15:07:38 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2320)
[Sun Jul 18 15:07:38 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2320) terminated with exit with status '3504464'
[Sun Jul 18 15:07:43 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 2108)
[Sun Jul 18 15:07:43 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 2108) terminated with exit with status '3504464'
[Sun Jul 18 15:07:48 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 488)
[Sun Jul 18 15:07:48 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 488) terminated with exit with status '3504464'
[Sun Jul 18 15:07:53 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 524)
[Sun Jul 18 15:07:53 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" (pid 524) terminated with exit with status '3504464'
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" restarted (pid 560)
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
[Sun Jul 18 15:07:58 2010] [warn] FastCGI: server "c:/oracle/bin/isqlplus" can't be restarted:exceeded max restarts
and so on........ -
All,
In my "create" page I use a VO for my poplist. The VO utilizes a "where" clause to identify specific accounts to choose from based on a configuration value. My poplist doesn't update properly when updating the configuration value unless I bounce Apache. Is typical within OAF?
select cont_cd, cont_cd||' - '||customer customer
from spl_account_map
where attribute4 <> 'N'
or attribute4 is null
When I update Attribute4 = "Y" for specific accounts, they don't appear in poplist unless Apache is bounced. Is this typical? Would an LOV work instead?
Thanks,
-Scott
Edited by: sreese on Jun 8, 2009 1:53 PMPrior to release 11.5.10, poplist data was cached on the middle tier in a proprietary OA Framework cache that could not be refreshed without bouncing the Java Virtual Machine (JVM). As a consequence, poplists could not reflect changes in the underlying data source while users were actively working. Starting with release 11.5.10, poplist data is cached using the Oracle Applications Java Caching Framework, and as a result, you can implement cache invalidation to automatically refresh poplists when the data they query changes. For example, if a poplist queries the values A, B, C, and D, and a new value E is inserted in the underlying table, your poplist can automatically reflect the addition of this fifth value the next time it renders its data.
Dev guide says "Apply patch 3688496 to any environment in which you plan to deploy this caching functionality.", seems to solve this this. For details refer to "Cache Invalidation" in dev guide. -
Can't connect to Apache Server Remotely
I have set up Apache on Port 81 and I have set up port forwarding for 81 and 433 on my router but I can't seem to connect to Apache from another computer. My username is in http group.
The only way I can connect is by localhost:81
If I try ipaddress:81 I get can't establish a connection to the server.
Anyone have any ideas.
Thanks in advance!!pluckypigeon wrote:
Sorry for all the confusion.
I just want to view Apache through a Web Browser from another machine.
I have set the port to 81 because 80 is taken by my router configuration.
If I type localhost:81 in the URL bar I can view my web server but if I type my ip address:81 it doesn't work.
No worries, this is just what I wanted. Try editing and adding to the bottom of the file /etc/httpd/conf/httpd.conf:
Listen YOUR_IP_ADDRESS:81
<VirtualHost IP_ADDRESS_HERE:81>
ServerName YOUR_SERVER_NAME
ServerAdmin YOUR_EMAIL_ADDRESS
DocumentRoot PATH TO YOUR HTML FILES
RewriteEngine On
RewriteRule /(.*) https://YOUR_IP_ADDRESS:433/$1
</VirtualHost>
<VirtualHost IP_ADDRESS_HERE:433>
ServerName YOUR_SERVER_NAME
ServerAdmin YOUR_EMAIL_ADDRESS
DocumentRoot PATH TO YOUR HTML FILES
TransferLog /var/log/httpd/local.access.log
ErrorLog /var/log/httpd/local.error.log
</VirtualHost>
I don't know if the 433 will be the secure part of your page but to have a cert attached to that, you will have to add a bit more to the VirtualHost related to 433 (you can read more about it at this link: http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html). All the parts with CAPITAL LETTERS are parts where you will probably want to add in whatever relates to your set up.
I noticed that by default, apache hosts all of their files in /srv/http so you can place all your files in there or another location (its really up to you).
After any change to the httpd.conf file, you must restart or reload the httpd service located in /etc/rc.d/httpd
Hope this helps.
::EDIT:: What 'JuseBox' is probably a great place to check as well. If your /etc/hosts.allow or /etc/hosts.deny is in play, you want to make sure you aren't denying everything or only allowing specific things into your apache server. Good call JuseBox!
Last edited by ruffedgz (2010-01-15 19:11:39) -
Firefox update seems to have caused my Apache server to stop working. What do I do?
I have been using MAMP apache and SQL servers successfully on my mac for the past few months. Up until this morning.
I switched on my computer this morning, clicked on the Firefox icon to launch and it automatically started running an update (which I hate - if I wanted to update I would've asked!).
Firefox is running fine but I can no longer connect to my Apache server. The only thing that has changed between now and last night (when I last used MAMP) is the Firefox update.
Please can you detail what the update has done and what could possibly have caused it to conflict with my MAMP? I have lost a morning so far trying to figure it out and cannot get on with my work without it!Hi,
Open windows ControlPanel, open Device Manager, expand Sound, video and game controllers, right click the Realtek device and select Proprties. Select the 'Driver' tab and then click on 'Roll Back Driver'.
Let the process complete, then restart the notebook.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
Configuring HTTP Apache Server with Oracle Apex
Hi All,
I have trawled through various threads on here to see if it would help my resolve the problem i seem to be having, but to no avail :(
I have an oracle RAC db with apex installed. the RAC uses a service: apextest.com
I have an HTTP Server installed on a seperate server, I have copied the Images over so it knows what to use. Made sure the httpd.conf file is pointing to the correct images path.
As its a RAC db, i have put in the dads.conf file a 'TNSFormat' setting for the 'PlsqlDatabaseConnectString', using the TNSnames.ora entry named DEXTER which uses the apextest.com service name.
My dads.conf file:
Alias /i/ "/apex/Apache/Apache/images/"
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString DEXTER TNSFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword apex_pword
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow from all
</Location>My TNSnames Entry:
DEXTER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = servername.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = servername2.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = apextest.com)
)i can tnsping using the apex_public_user account and correct password and also sqlplus using the same account and password:
tnsping DEXTER
sqlplus apex_public_user/apex_pword@DEXTERim getting the error of:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The error log is spitting out -
mod_plsql: /pls/apex/apex HTTP-503 ORA-12514Does anyone have any ideas? Anything i've missed out / not done ?
Note: I have used the same HTTP Apache Server to host a version of apex4 on a standalone database which is installed on the same server. So just wondered if that has anything to do with it?
thanks in advance :)Hello,
According to the error ORA-12514, there is a problem for the mod_plsql to connect to the database :
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file.
Is the "alias" DEXTER defined in the file tnsnames.ora used by mod_plsql ?
Regards
Maybe you are looking for
-
Website is not bringing up a Recaptcha when it should.
I am on a website that I have registered for and I am trying to post something but it says that I must put in a Recaptcha code. The problem is, there is no Recaptcha showing up. Someone said I could probably fix it by going to Tools and enabling my "
-
Creating an RDI file from SAP script
Hello All, I would like to create an RDI file from SAP Script. Please can anyone let me know how do we do it programmatically. I am aware of the option of setting RDI parameter to 'X'. However my requirement is to allow user to have a print preview o
-
When typing I will sometimes look at the document and find the curser moved. The typing has been happening in the wrong place. How do I stop the curser movement while typing?
-
Disabling Isolation Mode in CS3
Is this possible? I skipped over CS2 (I guess this "feature" was introduced in CS2?) only to discover that Illustrator CS3 goes 31 flavors of wacky whenever I try to update text objects using the group select (filled arrow) pointer... I guess it's no
-
Difference in font rendering of JList and other text components
Hi, I have a swing application using JTextField,JTextArea and JList.When I use a font for an Indian Language for these components,the JList shows the data correctly but the other components shows it with junk characters.Is there a difference in the f