Common Syntax Errors
I am currently running Coldfusion 6 locally on my computer
and using Dreamweaver 8 to contstruct .cfm pages for general
testing purposes. Recently, there has been an upgrade to CF 7 on
our remote server. As I create and test pages locally, all goes
well, but when I upload to our remote coldfusion server, I receive
all kinds of errors that relate mainly to my SQL Syntax when I test
and preview my pages. I've gone into the new CF 7 admin and checked
all my datasources and everything checks out, but when I do a
simple update of a record and then click to apply the updates and
route to a simple update success message page, I'm told I have a
syntax error in my update statement. These are not the only errors
I receive of this type.
My entire site worked fine up until the server upgrade took
place. Does anyone know if the hotfixs for CF 7 will correct these
kind of issues?
I didn't have any of those problems in all the upgrades I
did. Other problems but none in SQL. The hotfixes may help, so give
them a shot.
Perhaps if you post one of your SQL statements with the error
you are getting somebody can help you.
Similar Messages
-
[SOLVED] Php.ini syntax error, unexpected '&'
Hi guys,
I'm having a trouble setting up a local hosted LAMP, I want to enable the error reporting and display, but it's giving me this error:
[root@albert albert]# php
PHP: syntax error, unexpected '&' in /etc/php/php.ini on line 105
Line 105:
; error_reporting
Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED ; this is the 105
Development Value: E_ALL
Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
And when I access to on localhost/phpmyadmin:
Fatal error: Call to undefined function PMA_DBI_num_rows() in /usr/share/webapps/phpMyAdmin/libraries/navigation/Nodes/Node.class.php on line 408
When I comment the line 105,106,107, it works as I expected, but I can't see any error output...
Here it's the entire php.ini:
[PHP]
; About php.ini ;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
; 1. SAPI module specific location.
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
; 4. Current working directory (except CLI)
; 5. The web server's directory (for SAPI modules), or directory of PHP
; (otherwise in Windows)
; 6. The directory from the --with-config-file-path compile time option, or the
; Windows directory (C:\windows or C:\winnt)
; See the PHP docs for more specific information.
; http://php.net/configuration.file
; The syntax of the file is extremely simple. Whitespace and lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
; Directives following the section heading [PATH=/www/mysite] only
; apply to PHP files in the /www/mysite directory. Directives
; following the section heading [HOST=www.example.com] only apply to
; PHP files served from www.example.com. Directives set in these
; special sections cannot be overridden by user-defined INI files or
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
; CGI/FastCGI.
; http://php.net/ini.sections
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
; Directives are variables used to configure PHP or PHP extensions.
; There is no name validation. If PHP can't find an expected
; directive because it is not set or is mistyped, a default value will be used.
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
; previously set variable or directive (e.g. ${foo})
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; ^ bitwise XOR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
; foo = ; sets foo to an empty string
; foo = None ; sets foo to an empty string
; foo = "None" ; sets foo to the string 'None'
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
; About this file ;
; PHP comes packaged with two INI files. One that is recommended to be used
; in production environments and one that is recommended to be used in
; development environments.
; php.ini-production contains settings which hold security, performance and
; best practices at its core. But please be aware, these settings may break
; compatibility with older or less security conscience applications. We
; recommending using the production ini in production and testing environments.
; php.ini-development is very similar to its production variant, except it's
; much more verbose when it comes to errors. We recommending using the
; development version only in development environments as errors shown to
; application users can inadvertently leak otherwise secure information.
; Quick Reference ;
; The following are all the settings which are different in either the production
; or development versions of the INIs with respect to PHP's default behavior.
; Please see the actual settings later in the document for more details as to why
; we recommend these changes in PHP's behavior.
; display_errors
Default Value: On
Development Value: On
Production Value: Off
; display_startup_errors
Default Value: Off
Development Value: On
Production Value: Off
; error_reporting
Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
Development Value: E_ALL
Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; html_errors
Default Value: On
Development Value: On
Production value: On
; log_errors
Default Value: Off
Development Value: On
Production Value: On
; max_input_time
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; output_buffering
; Default Value: Off
; Development Value: 4096
; Production Value: 4096
; register_argc_argv
; Default Value: On
; Development Value: Off
; Production Value: Off
; request_order
; Default Value: None
; Development Value: "GP"
; Production Value: "GP"
; session.bug_compat_42
; Default Value: On
; Development Value: On
; Production Value: Off
; session.bug_compat_warn
; Default Value: On
; Development Value: On
; Production Value: Off
; session.gc_divisor
; Default Value: 100
; Development Value: 1000
; Production Value: 1000
; session.hash_bits_per_character
; Default Value: 4
; Development Value: 5
; Production Value: 5
; short_open_tag
; Default Value: On
; Development Value: Off
; Production Value: Off
; track_errors
; Default Value: Off
; Development Value: On
; Production Value: Off
; url_rewriter.tags
; Default Value: "a=href,area=href,frame=src,form=,fieldset="
; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
; variables_order
; Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS"
; php.ini Options ;
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
;user_ini.filename = ".user.ini"
; To disable this feature set this option to empty value
;user_ini.filename =
; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
;user_ini.cache_ttl = 300
; Language Options ;
; Enable the PHP scripting language engine under Apache.
; http://php.net/engine
engine = On
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It's been
; recommended for several years that you not use the short tag "short cut" and
; instead to use the full <?php and ?> tag combination. With the wide spread use
; of XML and use of these tags by other languages, the server can become easily
; confused and end up parsing the wrong code in the wrong context. But because
; this short cut has been a feature for such a long time, it's currently still
; supported for backwards compatibility, but we recommend you don't use them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/short-open-tag
short_open_tag = Off
; Allow ASP-style <% %> tags.
; http://php.net/asp-tags
asp_tags = Off
; The number of significant digits displayed in floating point numbers.
; http://php.net/precision
precision = 14
; Output buffering is a mechanism for controlling how much output data
; (excluding headers and cookies) PHP should keep internally before pushing that
; data to the client. If your application's output exceeds this setting, PHP
; will send that data in chunks of roughly the size you specify.
; Turning on this setting and managing its maximum buffer size can yield some
; interesting side-effects depending on your application and web server.
; You may be able to send headers and cookies after you've already sent output
; through print or echo. You also may see performance benefits if your server is
; emitting less packets due to buffered output versus PHP streaming the output
; as it gets it. On production servers, 4096 bytes is a good setting for performance
; reasons.
; Note: Output buffering can also be controlled via Output Buffering Control
; functions.
; Possible Values:
; On = Enabled and buffer is unlimited. (Use with caution)
; Off = Disabled
; Integer = Enables the buffer and sets its maximum size in bytes.
; Note: This directive is hardcoded to Off for the CLI SAPI
; Default Value: Off
; Development Value: 4096
; Production Value: 4096
; http://php.net/output-buffering
output_buffering = 4096
; You can redirect all of the output of your scripts to a function. For
; example, if you set output_handler to "mb_output_handler", character
; encoding will be transparently converted to the specified encoding.
; Setting any output handler automatically turns on output buffering.
; Note: People who wrote portable scripts should not depend on this ini
; directive. Instead, explicitly set the output handler using ob_start().
; Using this ini directive may cause problems unless you know what script
; is doing.
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
; Note: output_handler must be empty if this is set 'On' !!!!
; Instead you must use zlib.output_handler.
; http://php.net/output-handler
;output_handler =
; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)
; Note: Resulting chunk size may vary due to nature of compression. PHP
; outputs chunks that are few hundreds bytes each as a result of
; compression. If you prefer a larger chunk size for better
; performance, enable output_buffering in addition.
; Note: You need to use zlib.output_handler instead of the standard
; output_handler, or otherwise the output will be corrupted.
; http://php.net/zlib.output-compression
zlib.output_compression = Off
; http://php.net/zlib.output-compression-level
;zlib.output_compression_level = -1
; You cannot specify additional output handlers if zlib.output_compression
; is activated here. This setting does the same as output_handler but in
; a different order.
; http://php.net/zlib.output-handler
;zlib.output_handler =
; Implicit flush tells PHP to tell the output layer to flush itself
; automatically after every output block. This is equivalent to calling the
; PHP function flush() after each and every call to print() or echo() and each
; and every HTML block. Turning this option on has serious performance
; implications and is generally recommended for debugging purposes only.
; http://php.net/implicit-flush
; Note: This directive is hardcoded to On for the CLI SAPI
implicit_flush = Off
; The unserialize callback function will be called (with the undefined class'
; name as parameter), if the unserializer finds an undefined class
; which should be instantiated. A warning appears if the specified function is
; not defined, or if the function doesn't include/implement the missing class.
; So only set this entry, if you really want to implement such a
; callback-function.
unserialize_callback_func =
; When floats & doubles are serialized store serialize_precision significant
; digits after the floating point. The default value ensures that when floats
; are decoded with unserialize, the data will remain the same.
serialize_precision = 17
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/open-basedir
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/home/albert/Dropbox/bitday/
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-functions
disable_functions =
; This directive allows you to disable certain classes for security reasons.
; It receives a comma-delimited list of class names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-classes
disable_classes =
; Colors for Syntax Highlighting mode. Anything that's acceptable in
; <span style="color: ???????"> would work.
; http://php.net/syntax-highlighting
;highlight.string = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.default = #0000BB
;highlight.html = #000000
; If enabled, the request will be allowed to complete even if the user aborts
; the request. Consider enabling it if executing long requests, which may end up
; being interrupted by the user or a browser timing out. PHP's default behavior
; is to disable this feature.
; http://php.net/ignore-user-abort
;ignore_user_abort = On
; Determines the size of the realpath cache to be used by PHP. This value should
; be increased on systems where PHP opens many files to reflect the quantity of
; the file operations performed.
; http://php.net/realpath-cache-size
;realpath_cache_size = 16k
; Duration of time, in seconds for which to cache realpath information for a given
; file or directory. For systems with rarely changing files, consider increasing this
; value.
; http://php.net/realpath-cache-ttl
;realpath_cache_ttl = 120
; Enables or disables the circular reference collector.
; http://php.net/zend.enable-gc
zend.enable_gc = On
; If enabled, scripts may be written in encodings that are incompatible with
; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
; encodings. To use this feature, mbstring extension must be enabled.
; Default: Off
;zend.multibyte = Off
; Allows to set the default encoding for the scripts. This value will be used
; unless "declare(encoding=...)" directive appears at the top of the script.
; Only affects if zend.multibyte is set.
; Default: ""
;zend.script_encoding =
; Miscellaneous ;
; Decides whether PHP may expose the fact that it is installed on the server
; (e.g. by adding its signature to the Web server header). It is no security
; threat in any way, but it makes it possible to determine whether you use PHP
; on your server or not.
; http://php.net/expose-php
expose_php = On
; Resource Limits ;
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 30
; Maximum amount of time each script may spend parsing request data. It's a good
; idea to limit this time on productions servers in order to eliminate unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time = 60
; Maximum input variable nesting level
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 64
; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 1000
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M
; Error handling and logging ;
; This directive informs PHP of which errors, warnings and notices you would like
; it to take action for. The recommended way of setting values for this
; directive is through the use of the error level constants and bitwise
; operators. The error level constants are below here for convenience as well as
; some common settings and their meanings.
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
; those related to E_NOTICE and E_STRICT, which together cover best practices and
; recommended coding standards in PHP. For performance reasons, this is the
; recommend error reporting setting. Your production server shouldn't be wasting
; resources complaining about best practices and coding standards. That's what
; development servers and development settings are for.
; Note: The php.ini-development file has this setting as E_ALL. This
; means it pretty much reports everything which is exactly what you want during
; development and early testing.
; Error Level Constants:
; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
; E_ERROR - fatal run-time errors
; E_RECOVERABLE_ERROR - almost fatal run-time errors
; E_WARNING - run-time warnings (non-fatal errors)
; E_PARSE - compile-time parse errors
; E_NOTICE - run-time notices (these are warnings which often result
; from a bug in your code, but it's possible that it was
; intentional (e.g., using an uninitialized variable and
; relying on the fact it's automatically initialized to an
; empty string)
; E_STRICT - run-time notices, enable to have PHP suggest changes
; to your code which will ensure the best interoperability
; and forward compatibility of your code
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
; initial startup
; E_COMPILE_ERROR - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR - user-generated error message
; E_USER_WARNING - user-generated warning message
; E_USER_NOTICE - user-generated notice message
; E_DEPRECATED - warn about code that will not work in future versions
; of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
; Common Values:
; E_ALL (Show all errors, warnings and notices including coding standards.)
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but
; it could be very dangerous in production environments. Depending on the code
; which is triggering the error, sensitive information could potentially leak
; out of your application such as database usernames and passwords or worse.
; It's recommended that errors be logged on production servers rather than
; having the errors sent to STDOUT.
; Possible Values:
; Off = Do not display any errors
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
; On or stdout = Display errors to STDOUT
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/display-errors
display_errors = Off
; The display of errors which occur during PHP's startup sequence are handled
; separately from display_errors. PHP's default behavior is to suppress those
; errors from clients. Turning the display of startup errors on can be useful in
; debugging configuration problems. But, it's strongly recommended that you
; leave this setting off on production servers.
; Default Value: Off
; Development Value: On
; Production Value: Off
; http://php.net/display-startup-errors
display_startup_errors = Off
; Besides displaying errors, PHP can also log errors to locations such as a
; server-specific log, STDERR, or a location specified by the error_log
; directive found below. While errors should not be displayed on productions
; servers they should still be monitored and logging is a great way to do that.
; Default Value: Off
; Development Value: On
; Production Value: On
; http://php.net/log-errors
log_errors = On
; Set maximum length of log_errors. In error_log information about the source is
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
; http://php.net/log-errors-max-len
log_errors_max_len = 1024
; Do not log repeated messages. Repeated errors must occur in same file on same
; line unless ignore_repeated_source is set true.
; http://php.net/ignore-repeated-errors
ignore_repeated_errors = Off
; Ignore source of message when ignoring repeated messages. When this setting
; is On you will not log errors with repeated messages from different files or
; source lines.
; http://php.net/ignore-repeated-source
ignore_repeated_source = Off
; If this parameter is set to Off, then memory leaks will not be shown (on
; stdout or in the log). This has only effect in a debug compile, and if
; error reporting includes E_WARNING in the allowed list
; http://php.net/report-memleaks
report_memleaks = On
; This setting is on by default.
;report_zend_debug = 0
; Store the last error/warning message in $php_errormsg (boolean). Setting this value
; to On can assist in debugging and is appropriate for development servers. It should
; however be disabled on production servers.
; Default Value: Off
; Development Value: On
; Production Value: Off
; http://php.net/track-errors
track_errors = Off
; Turn off normal error reporting and emit XML-RPC error XML
; http://php.net/xmlrpc-errors
;xmlrpc_errors = 0
; An XML-RPC faultCode
;xmlrpc_error_number = 0
; When PHP displays or logs an error, it has the capability of formatting the
; error message as HTML for easier reading. This directive controls whether
; the error message is formatted as HTML or not.
; Note: This directive is hardcoded to Off for the CLI SAPI
; Default Value: On
; Development Value: On
; Production value: On
; http://php.net/html-errors
html_errors = On
; If html_errors is set to On *and* docref_root is not empty, then PHP
; produces clickable error messages that direct to a page describing the error
; or function causing the error in detail.
; You can download a copy of the PHP manual from http://php.net/docs
; and change docref_root to the base URL of your local copy including the
; leading '/'. You must also specify the file extension being used including
; the dot. PHP's default behavior is to leave these settings empty, in which
; case no links to documentation are generated.
; Note: Never use this feature for production boxes.
; http://php.net/docref-root
; Examples
;docref_root = "/phpmanual/"
; http://php.net/docref-ext
;docref_ext = .html
; String to output before an error message. PHP's default behavior is to leave
; this setting blank.
; http://php.net/error-prepend-string
; Example:
;error_prepend_string = "<span style='color: #ff0000'>"
; String to output after an error message. PHP's default behavior is to leave
; this setting blank.
; http://php.net/error-append-string
; Example:
;error_append_string = "</span>"
; Log errors to specified file. PHP's default behavior is to leave this value
; empty.
; http://php.net/error-log
; Example:
;error_log = php_errors.log
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog
;windows.show_crt_warning
; Default value: 0
; Development value: 0
; Production value: 0
; Data Handling ;
; The separator used in PHP generated URLs to separate arguments.
; PHP's default setting is "&".
; http://php.net/arg-separator.output
; Example:
;arg_separator.output = "&"
; List of separator(s) used by PHP to parse input URLs into variables.
; PHP's default setting is "&".
; NOTE: Every character in this directive is considered as separator!
; http://php.net/arg-separator.input
; Example:
;arg_separator.input = ";&"
; This directive determines which super global arrays are registered when PHP
; starts up. G,P,C,E & S are abbreviations for the following respective super
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
; paid for the registration of these arrays and because ENV is not as commonly
; used as the others, ENV is not recommended on productions servers. You
; can still get access to the environment variables through getenv() should you
; need to.
; Default Value: "EGPCS"
; Development Value: "GPCS"
; Production Value: "GPCS";
; http://php.net/variables-order
variables_order = "GPCS"
; This directive determines which super global data (G,P,C,E & S) should
; be registered into the super global array REQUEST. If so, it also determines
; the order in which that data is registered. The values for this directive are
; specified in the same manner as the variables_order directive, EXCEPT one.
; Leaving this value empty will cause PHP to use the value set in the
; variables_order directive. It does not mean it will leave the super globals
; array REQUEST empty.
; Default Value: None
; Development Value: "GP"
; Production Value: "GP"
; http://php.net/request-order
request_order = "GP"
; This directive determines whether PHP registers $argv & $argc each time it
; runs. $argv contains an array of all the arguments passed to PHP when a script
; is invoked. $argc contains an integer representing the number of arguments
; that were passed when the script was invoked. These arrays are extremely
; useful when running scripts from the command line. When this directive is
; enabled, registering these variables consumes CPU cycles and memory each time
; a script is executed. For performance reasons, this feature should be disabled
; on production servers.
; Note: This directive is hardcoded to On for the CLI SAPI
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/register-argc-argv
register_argc_argv = Off
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
; first used (Just In Time) instead of when the script starts. If these
; variables are not used within a script, having this directive on will result
; in a performance gain. The PHP directive register_argc_argv must be disabled
; for this directive to have any affect.
; http://php.net/auto-globals-jit
auto_globals_jit = On
; Whether PHP will read the POST data.
; This option is enabled by default.
; Most likely, you won't want to disable this option globally. It causes $_POST
; and $_FILES to always be empty; the only way you will be able to read the
; POST data will be through the php://input stream wrapper. This can be useful
; to proxy requests or to process the POST data in a memory efficient fashion.
; http://php.net/enable-post-data-reading
;enable_post_data_reading = Off
; Maximum size of POST data that PHP will accept.
; Its value may be 0 to disable the limit. It is ignored if POST data reading
; is disabled through enable_post_data_reading.
; http://php.net/post-max-size
post_max_size = 8M
; Automatically add files before PHP document.
; http://php.net/auto-prepend-file
auto_prepend_file =
; Automatically add files after PHP document.
; http://php.net/auto-append-file
auto_append_file =
; By default, PHP will output a character encoding using
; the Content-type: header. To disable sending of the charset, simply
; set it to be empty.
; PHP's built-in default is text/html
; http://php.net/default-mimetype
default_mimetype = "text/html"
; PHP's default character set is set to empty.
; http://php.net/default-charset
;default_charset = "UTF-8"
; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
; to disable this feature. If post reading is disabled through
; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
; http://php.net/always-populate-raw-post-data
;always_populate_raw_post_data = On
; Paths and Directories ;
; UNIX: "/path1:/path2"
include_path = ".:/usr/share/pear"
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
; PHP's default setting for include_path is ".;/path/to/php/pear"
; http://php.net/include-path
; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
; http://php.net/doc-root
doc_root =
; The directory under which PHP opens the script using /~username used only
; if nonempty.
; http://php.net/user-dir
user_dir =
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
extension_dir = "/usr/lib/php/modules/"
; On windows:
; extension_dir = "ext"
; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
; http://php.net/enable-dl
enable_dl = Off
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; http://php.net/cgi.force-redirect
;cgi.force_redirect = 1
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
; every request. PHP's default behavior is to disable this feature.
;cgi.nph = 1
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
; will look for to know it is OK to continue execution. Setting this variable MAY
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
; http://php.net/cgi.redirect-status-env
;cgi.redirect_status_env =
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
; http://php.net/cgi.fix-pathinfo
;cgi.fix_pathinfo=1
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
; security tokens of the calling client. This allows IIS to define the
; security context that the request runs under. mod_fastcgi under Apache
; does not currently support this feature (03/17/2002)
; Set to 1 if running under IIS. Default is zero.
; http://php.net/fastcgi.impersonate
;fastcgi.impersonate = 1
; Disable logging through FastCGI connection. PHP's default behavior is to enable
; this feature.
;fastcgi.logging = 0
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
; is supported by Apache. When this option is set to 1 PHP will send
; RFC2616 compliant header.
; Default is zero.
; http://php.net/cgi.rfc2616-headers
;cgi.rfc2616_headers = 0
; File Uploads ;
; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
;upload_tmp_dir =
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20
; Fopen wrappers ;
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = On
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-include
allow_url_include = Off
; Define the anonymous ftp password (your email address). PHP's default setting
; for this is empty.
; http://php.net/from
;from="[email protected]"
; Define the User-Agent string. PHP's default setting for this is empty.
; http://php.net/user-agent
;user_agent="PHP"
; Default timeout for socket based streams (seconds)
; http://php.net/default-socket-timeout
default_socket_timeout = 60
; If your scripts have to deal with files from Macintosh systems,
; or you are running on a Mac and need to deal with files from
; unix or win32 systems, setting this flag will cause PHP to
; automatically detect the EOL character in those files so that
; fgets() and file() will work regardless of the source of the file.
; http://php.net/auto-detect-line-endings
;auto_detect_line_endings = Off
; Dynamic Extensions ;
; If you wish to have an extension loaded automatically, use the following
; syntax:
; extension=modulename.extension
; For example, on Windows:
; extension=msql.dll
; ... or under UNIX:
; extension=msql.so
; ... or with a path:
; extension=/path/to/extension/msql.so
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;extension=bcmath.so
;extension=bz2.so
;extension=calendar.so
extension=curl.so
;extension=dba.so
;extension=enchant.so
;extension=exif.so
;extension=ftp.so
;extension=gd.so
extension=gettext.so
;extension=gmp.so
;extension=iconv.so
;extension=imap.so
;extension=intl.so
;extension=ldap.so
;extension=mcrypt.so
;extension=mssql.so
;extension=mysqli.so
;extension=mysql.so
;extension=odbc.so
;extension=openssl.so
;extension=pdo_mysql.so
;extension=pdo_odbc.so
;extension=pdo_pgsql.so
;extension=pdo_sqlite.so
;extension=pgsql.so
;extension=phar.so
;extension=posix.so
;extension=pspell.so
;extension=shmop.so
;extension=snmp.so
;extension=soap.so
;extension=sockets.so
;extension=sqlite3.so
;extension=sysvmsg.so
;extension=sysvsem.so
;extension=sysvshm.so
;extension=tidy.so
;extension=xmlrpc.so
;extension=xsl.so
;extension=zip.so
; Module Settings ;
[CLI Server]
; Whether the CLI web server uses ANSI color coding in its terminal output.
cli_server.color = On
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =
; http://php.net/date.default-latitude
;date.default_latitude = 31.7667
; http://php.net/date.default-longitude
;date.default_longitude = 35.2333
; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333
; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333
[filter]
; http://php.net/filter.default
;filter.default = unsafe_raw
; http://php.net/filter.default-flags
;filter.default_flags =
[iconv]
;iconv.input_encoding = ISO-8859-1
;iconv.internal_encoding = ISO-8859-1
;iconv.output_encoding = ISO-8859-1
[intl]
;intl.default_locale =
; This directive allows you to produce PHP errors when some error
; happens within intl functions. The value is the level of the error produced.
; Default is 0, which does not produce any errors.
;intl.error_level = E_WARNING
[sqlite]
; http://php.net/sqlite.assoc-case
;sqlite.assoc_case = 0
[sqlite3]
;sqlite3.extension_dir =
[Pcre]
;PCRE library backtracking limit.
; http://php.net/pcre.backtrack-limit
;pcre.backtrack_limit=100000
;PCRE library recursion limit.
;Please note that if you set this value to a high number you may consume all
;the available process stack and eventually crash PHP (due to reaching the
;stack size limit imposed by the Operating System).
; http://php.net/pcre.recursion-limit
;pcre.recursion_limit=100000
[Pdo]
; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
; http://php.net/pdo-odbc.connection-pooling
;pdo_odbc.connection_pooling=strict
;pdo_odbc.db2_instance_name
[Pdo_mysql]
; If mysqlnd is used: Number of cache slots for the internal result set cache
; http://php.net/pdo_mysql.cache_size
pdo_mysql.cache_size = 2000
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/pdo_mysql.default-socket
pdo_mysql.default_socket=
[Phar]
; http://php.net/phar.readonly
;phar.readonly = On
; http://php.net/phar.require-hash
;phar.require_hash = On
;phar.cache_list =
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = [email protected]
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = On
; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
; Log mail to syslog (Event Log on NT, not valid in Windows 95).
;mail.log = syslog
[SQL]
; http://php.net/sql.safe-mode
sql.safe_mode = Off
[ODBC]
; http://php.net/odbc.default-db
;odbc.default_db = Not yet implemented
; http://php.net/odbc.default-user
;odbc.default_user = Not yet implemented
; http://php.net/odbc.default-pw
;odbc.default_pw = Not yet implemented
; Controls the ODBC cursor model.
; Default: SQL_CURSOR_STATIC (default).
;odbc.default_cursortype
; Allow or prevent persistent links.
; http://php.net/odbc.allow-persistent
odbc.allow_persistent = On
; Check that a connection is still valid before reuse.
; http://php.net/odbc.check-persistent
odbc.check_persistent = On
; Maximum number of persistent links. -1 means no limit.
; http://php.net/odbc.max-persistent
odbc.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
; http://php.net/odbc.max-links
odbc.max_links = -1
; Handling of LONG fields. Returns number of bytes to variables. 0 means
; passthru.
; http://php.net/odbc.defaultlrl
odbc.defaultlrl = 4096
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
; of odbc.defaultlrl and odbc.defaultbinmode
; http://php.net/odbc.defaultbinmode
odbc.defaultbinmode = 1
;birdstep.max_links = -1
[Interbase]
; Allow or prevent persistent links.
ibase.allow_persistent = 1
; Maximum number of persistent links. -1 means no limit.
ibase.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
ibase.max_links = -1
; Default database name for ibase_connect().
;ibase.default_db =
; Default username for ibase_connect().
;ibase.default_user =
; Default password for ibase_connect().
;ibase.default_password =
; Default charset for ibase_connect().
;ibase.default_charset =
; Default timestamp format.
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
; Default date format.
ibase.dateformat = "%Y-%m-%d"
; Default time format.
ibase.timeformat = "%H:%M:%S"
[MySQL]
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
; http://php.net/mysql.allow_local_infile
mysql.allow_local_infile = On
; Allow or prevent persistent links.
; http://php.net/mysql.allow-persistent
mysql.allow_persistent = On
; If mysqlnd is used: Number of cache slots for the internal result set cache
; http://php.net/mysql.cache_size
mysql.cache_size = 2000
; Maximum number of persistent links. -1 means no limit.
; http://php.net/mysql.max-persistent
mysql.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
; http://php.net/mysql.max-links
mysql.max_links = -1
; Default port number for mysql_connect(). If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
; http://php.net/mysql.default-port
mysql.default_port =
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysql.default-socket
mysql.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysql.default-host
mysql.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysql.default-user
mysql.default_user =
; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
; http://php.net/mysql.default-password
mysql.default_password =
; Maximum time (in seconds) for connect timeout. -1 means no limit
; http://php.net/mysql.connect-timeout
mysql.connect_timeout = 60
; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Errors will be displayed.
; http://php.net/mysql.trace-mode
mysql.trace_mode = Off
[MySQLi]
; Maximum number of persistent links. -1 means no limit.
; http://php.net/mysqli.max-persistent
mysqli.max_persistent = -1
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
; http://php.net/mysqli.allow_local_infile
;mysqli.allow_local_infile = On
; Allow or prevent persistent links.
; http://php.net/mysqli.allow-persistent
mysqli.allow_persistent = On
; Maximum number of links. -1 means no limit.
; http://php.net/mysqli.max-links
mysqli.max_links = -1
; If mysqlnd is used: Number of cache slots for the internal result set cache
; http://php.net/mysqli.cache_size
mysqli.cache_size = 2000
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
; http://php.net/mysqli.default-port
mysqli.default_port = 3306
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysqli.default-socket
mysqli.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-host
mysqli.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-user
mysqli.default_user =
; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
; http://php.net/mysqli.default-pw
mysqli.default_pw =
; Allow or prevent reconnect
mysqli.reconnect = Off
[mysqlnd]
; Enable / Disable collection of general statistics by mysqlnd which can be
; used to tune and monitor MySQL operations.
; http://php.net/mysqlnd.collect_statistics
mysqlnd.collect_statistics = On
; Enable / Disable collection of memory usage statistics by mysqlnd which can be
; used to tune and monitor MySQL operations.
; http://php.net/mysqlnd.collect_memory_statistics
mysqlnd.collect_memory_statistics = Off
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
; http://php.net/mysqlnd.net_cmd_buffer_size
;mysqlnd.net_cmd_buffer_size = 2048
; Size of a pre-allocated buffer used for reading data sent by the server in
; bytes.
; http://php.net/mysqlnd.net_read_buffer_size
;mysqlnd.net_read_buffer_size = 32768
[OCI8]
; Connection: Enables privileged connections using external
; credentials (OCI_SYSOPER, OCI_SYSDBA)
; http://php.net/oci8.privileged-connect
;oci8.privileged_connect = Off
; Connection: The maximum number of persistent OCI8 connections per
; process. Using -1 means no limit.
; http://php.net/oci8.max-persistent
;oci8.max_persistent = -1
; Connection: The maximum number of seconds a process is allowed to
; maintain an idle persistent connection. Using -1 means idle
; persistent connections will be maintained forever.
; http://php.net/oci8.persistent-timeout
;oci8.persistent_timeout = -1
; Connection: The number of seconds that must pass before issuing a
; ping during oci_pconnect() to check the connection validity. When
; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
; pings completely.
; http://php.net/oci8.ping-interval
;oci8.ping_interval = 60
; Connection: Set this to a user chosen connection class to be used
; for all pooled server requests with Oracle 11g Database Resident
; Connection Pooling (DRCP). To use DRCP, this value should be set to
; the same string for all web servers running the same application,
; the database pool must be configured, and the connection string must
; specify to use a pooled server.
;oci8.connection_class =
; High Availability: Using On lets PHP receive Fast Application
; Notification (FAN) events generated when a database node fails. The
; database must also be configured to post FAN events.
;oci8.events = Off
; Tuning: This option enables statement caching, and specifies how
; many statements to cache. Using 0 disables statement caching.
; http://php.net/oci8.statement-cache-size
;oci8.statement_cache_size = 20
; Tuning: Enables statement prefetching and sets the default number of
; rows that will be fetched automatically after statement execution.
; http://php.net/oci8.default-prefetch
;oci8.default_prefetch = 100
; Compatibility. Using On means oci_close() will not close
; oci_connect() and oci_new_connect() connections.
; http://php.net/oci8.old-oci-close-semantics
;oci8.old_oci_close_semantics = Off
[PostgreSQL]
; Allow or prevent persistent links.
; http://php.net/pgsql.allow-persistent
pgsql.allow_persistent = On
; Detect broken persistent links always with pg_pconnect().
; Auto reset feature requires a little overheads.
; http://php.net/pgsql.auto-reset-persistent
pgsql.auto_reset_persistent = Off
; Maximum number of persistent links. -1 means no limit.
; http://php.net/pgsql.max-persistent
pgsql.max_persistent = -1
; Maximum number of links (persistent+non persistent). -1 means no limit.
; http://php.net/pgsql.max-links
pgsql.max_links = -1
; Ignore PostgreSQL backends Notice message or not.
; Notice message logging require a little overheads.
; http://php.net/pgsql.ignore-notice
pgsql.ignore_notice = 0
; Log PostgreSQL backends Notice message or not.
; Unless pgsql.ignore_notice=0, module cannot log notice message.
; http://php.net/pgsql.log-notice
pgsql.log_notice = 0
[Sybase-CT]
; Allow or prevent persistent links.
; http://php.net/sybct.allow-persistent
sybct.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
; http://php.net/sybct.max-persistent
sybct.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
; http://php.net/sybct.max-links
sybct.max_links = -1
; Minimum server message severity to display.
; http://php.net/sybct.min-server-severity
sybct.min_server_severity = 10
; Minimum client message severity to display.
; http://php.net/sybct.min-client-severity
sybct.min_client_severity = 10
; Set per-context timeout
; http://php.net/sybct.timeout
;sybct.timeout=
;sybct.packet_size
; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
; Default: one minute
;sybct.login_timeout=
; The name of the host you claim to be connecting from, for display by sp_who.
; Default: none
;sybct.hostname=
; Allows you to define how often deadlocks are to be retried. -1 means "forever".
; Default: 0
;sybct.deadlock_retry_count=
[bcmath]
; Number of decimal digits for all bcmath functions.
; http://php.net/bcmath.scale
bcmath.scale = 0
[browscap]
; http://php.net/browscap
;browscap = extra/browscap.ini
[Session]
; Handler used to store/retrieve data.
; http://php.net/session.save-handler
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
; The path can be defined as:
; session.save_path = "N;/path"
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
; The file storage module creates files using mode 600 by default.
; You can change that by using
; session.save_path = "N;MODE;/path"
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
; http://php.net/session.save-path
;session.save_path = "/tmp"
; Whether to use cookies.
; http://php.net/session.use-cookies
session.use_cookies = 1
; http://php.net/session.cookie-secure
;session.cookie_secure =
; This option forces PHP to fetch and use a cookie for storing and maintaining
; the session id. We encourage this operation as it's very helpful in combating
; session hijacking when not specifying and managing your own session id. It is
; not the end all be all of session hijacking defense, but it's a good start.
; http://php.net/session.use-only-cookies
session.use_only_cookies = 1
; Name of the session (used as cookie name).
; http://php.net/session.name
session.name = PHPSESSID
; Initialize session on request startup.
; http://php.net/session.auto-start
session.auto_start = 0
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
; http://php.net/session.cookie-lifetime
session.cookie_lifetime = 0
; The path for which the cookie is valid.
; http://php.net/session.cookie-path
session.cookie_path = /
; The domain for which the cookie is valid.
; http://php.net/session.cookie-domain
session.cookie_domain =
; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
; http://php.net/session.cookie-httponly
session.cookie_httponly =
; Handler used to serialize data. php is the standard serializer of PHP.
; http://php.net/session.serialize-handler
session.serialize_handler = php
; Defines the probability that the 'garbage collection' process is started
; on every session initialization. The probability is calculated by using
; gc_probability/gc_divisor. Where session.gc_probability is the numerator
; and gc_divisor is the denominator in the equation. Setting this value to 1
; when the session.gc_divisor value is 100 will give you approximately a 1% chance
; the gc will run on any give request.
; Default Value: 1
; Development Value: 1
; Production Value: 1
; http://php.net/session.gc-probability
session.gc_probability = 1
; Defines the probability that the 'garbage collection' process is started on every
; session initialization. The probability is calculated by using the following equation:
; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
; session.gc_divisor is the denominator in the equation. Setting this value to 1
; when the session.gc_divisor value is 100 will give you approximately a 1% chance
; the gc will run on any give request. Increasing this value to 1000 will give you
; a 0.1% chance the gc will run on any give request. For high volume production servers,
; this is a more efficient approach.
; Default Value: 100
; Development Value: 1000
; Production Value: 1000
; http://php.net/session.gc-divisor
session.gc_divisor = 1000
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
; http://php.net/session.gc-maxlifetime
session.gc_maxlifetime = 1440
; NOTE: If you are using the subdirectory option for storing session files
; (see session.save_path above), then garbage collection does *not*
; happen automatically. You will need to do your own garbage
; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
; find /path/to/sessions -cmin +24 | xargs rm
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope.
; PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning separately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled. This feature
; introduces some serious security problems if not handled correctly. It's
; recommended that you do not use this feature on production servers. But you
; should enable this on development servers and enable the warning as well. If you
; do not enable the feature on development servers, you won't be warned when it's
; used and debugging errors caused by this can be difficult to track down.
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-42
session.bug_compat_42 = Off
; This setting controls whether or not you are warned by PHP when initializing a
; session value into the global space. session.bug_compat_42 must be enabled before
; these warnings can be issued by PHP. See the directive above for more information.
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/session.bug-compat-warn
session.bug_compat_warn = Off
; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.
; http://php.net/session.referer-check
session.referer_check =
; How many bytes to read from the file.
; http://php.net/session.entropy-length
;session.entropy_length = 32
; Specified here to create the session id.
; http://php.net/session.entropy-file
; Defaults to /dev/urandom
; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
; If neither are found at compile time, the default is no entropy file.
; On windows, setting the entropy_length setting will activate the
; Windows random source (using the CryptoAPI)
;session.entropy_file = /dev/urandom
; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.
; http://php.net/session.cache-limiter
session.cache_limiter = nocache
; Document expires after n minutes.
; http://php.net/session.cache-expire
session.cache_expire = 180
; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via. email/irc/etc.
; - URL that contains active session ID may be stored
; in publicly accessible computer.
; - User may access your site with the same session ID
; always using URL stored in browser's history or bookmarks.
; http://php.net/session.use-trans-sid
session.use_trans_sid = 0
; Select a hash function for use in generating session ids.
; Possible Values
; 0 (MD5 128 bits)
; 1 (SHA-1 160 bits)
; This option may also be set to the name of any hash function supported by
; the hash extension. A list of available hashes is returned by the hash_algos()
; function.
; http://php.net/session.hash-function
session.hash_function = 0
; Define how many bits are stored in each character when converting
; the binary hash data to something readable.
; Possible values:
; 4 (4 bits: 0-9, a-f)
; 5 (5 bits: 0-9, a-v)
; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
; Default Value: 4
; Development Value: 5
; Production Value: 5
; http://php.net/session.hash-bits-per-character
session.hash_bits_per_character = 5
; The URL rewriter will look for URLs in a defined set of HTML tags.
; form/fieldset are special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs. If you want XHTML conformity, remove the form entry.
; Note that all valid entries require a "=", even if no value follows.
; Default Value: "a=href,area=href,frame=src,form=,fieldset="
; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
; http://php.net/url-rewriter.tags
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
; Enable upload progress tracking in $_SESSION
; Default Value: On
; Development Value: On
; Production Value: On
; http://php.net/session.upload-progress.enabled
;session.upload_progress.enabled = On
; Cleanup the progress information as soon as all POST data has been read
; (i.e. upload completed).
; Default Value: On
; Development Value: On
; Production Value: On
; http://php.net/session.upload-progress.cleanup
;session.upload_progress.cleanup = On
; A prefix used for the upload progress key in $_SESSION
; Default Value: "upload_progress_"
; Development Value: "upload_progress_"
; Production Value: "upload_progress_"
; http://php.net/session.upload-progress.prefix
;session.upload_progress.prefix = "upload_progress_"
; The index name (concatenated with the prefix) in $_SESSION
; containing the upload progress information
; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
; http://php.net/session.upload-progress.name
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
; How frequently the upload progress should be updated.
; Given either in percentages (per-file), or in bytes
; Default Value: "1%"
; Development Value: "1%"
; Production Value: "1%"
; http://php.net/session.upload-progress.freq
;session.upload_progress.freq = "1%"
; The minimum delay between updates, in seconds
; Default Value: 1
; Development Value: 1
; Production Value: 1
; http://php.net/session.upload-progress.min-freq
;session.upload_progress.min_freq = "1"
[MSSQL]
; Allow or prevent persistent links.
mssql.allow_persistent = On
; Maximum number of persistent links. -1 means no limit.
mssql.max_persistent = -1
; Maximum number of links (persistent+non persistent). -1 means no limit.
mssql.max_links = -1
; Minimum error severity to display.
mssql.min_error_severity = 10
; Minimum message severity to display.
mssql.min_message_severity = 10
; Compatibility mode with old versions of PHP 3.0.
mssql.compatability_mode = Off
; Connect timeout
;mssql.connect_timeout = 5
; Query timeout
;mssql.timeout = 60
; Valid range 0 - 2147483647. Default = 4096.
;mssql.textlimit = 4096
; Valid range 0 - 2147483647. Default = 4096.
;mssql.textsize = 4096
; Limits the number of records in each batch. 0 = all records in one batch.
;mssql.batchsize = 0
; Specify how datetime and datetim4 columns are returned
; On => Returns data converted to SQL server settings
; Off => Returns values as YYYY-MM-DD hh:mm:ss
;mssql.datetimeconvert = On
; Use NT authentication when connecting to the server
mssql.secure_connection = Off
; Specify max number of processes. -1 = library default
; msdlib defaults to 25
; FreeTDS defaults to 4096
;mssql.max_procs = -1
; Specify client character set.
; If empty or not set the client charset from freetds.conf is used
; This is only used when compiled with FreeTDS
;mssql.charset = "ISO-8859-1"
[Assertion]
; Assert(expr); active by default.
; http://php.net/assert.active
;assert.active = On
; Issue a PHP warning for each failed assertion.
; http://php.net/assert.warning
;assert.warning = On
; Don't bail out by default.
; http://php.net/assert.bail
;assert.bail = Off
; User-function to be called if an assertion fails.
; http://php.net/assert.callback
;assert.callback = 0
; Eval the expression with current error_reporting(). Set to true if you want
; error_reporting(0) around the eval().
; http://php.net/assert.quiet-eval
;assert.quiet_eval = 0
[COM]
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
; http://php.net/com.typelib-file
;com.typelib_file =
; allow Distributed-COM calls
; http://php.net/com.allow-dcom
;com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
; http://php.net/com.autoregister-typelib
;com.autoregister_typelib = true
; register constants casesensitive
; http://php.net/com.autoregister-casesensitive
;com.autoregister_casesensitive = false
; show warnings on duplicate constant registrations
; http://php.net/com.autoregister-verbose
;com.autoregister_verbose = true
; The default character set code-page to use when passing strings to and from COM objects.
; Default: system ANSI code page
;com.code_page=
[mbstring]
; language for internal character representation.
; http://php.net/mbstring.language
;mbstring.language = Japanese
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
; http://php.net/mbstring.internal-encoding
;mbstring.internal_encoding = EUC-JP
; http input encoding.
; http://php.net/mbstring.http-input
;mbstring.http_input = auto
; http output encoding. mb_output_handler must be
; registered as output buffer to function
; http://php.net/mbstring.http-output
;mbstring.http_output = SJIS
; enable automatic encoding translation according to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
; http://php.net/mbstring.encoding-translation
;mbstring.encoding_translation = Off
; automatic encoding detection order.
; auto means
; http://php.net/mbstring.detect-order
;mbstring.detect_order = auto
; substitute_character used when character cannot be converted
; one from another
; http://php.net/mbstring.substitute-character
;mbstring.substitute_character = none;
; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
; http://php.net/mbstring.func-overload
;mbstring.func_overload = 0
; enable strict encoding detection.
;mbstring.strict_detection = Off
; This directive specifies the regex pattern of content types for which mb_output_handler()
; is activated.
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=
[gd]
; Tell the jpeg decode to ignore warnings and try to create
; a gd image. The warning will then be displayed as notices
; disabled by default
; http://php.net/gd.jpeg-ignore-warning
;gd.jpeg_ignore_warning = 0
[exif]
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
; With mbstring support this will automatically be converted into the encoding
; given by corresponding encode setting. When empty mbstring.internal_encoding
; is used. For the decode settingsHi, everything in the "Quick Reference" section should be commented out with ;
You should change those settings further down in the php.ini file.
Example:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
Last edited by adrianx (2013-07-26 12:32:02) -
Hi all,
I tryed to install Apex Listener 2.0.3.221.10.13 into Tomcat 7.0.42 and I got the error :
INFO: Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\apex.war
ago 16, 2013 9:15:19 AM oracle.dbtools.common.util.Files checkLegal
WARNING: File path syntax error: ILLEGAL_CHARACTER, path: C:/
ago 16, 2013 9:15:19 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
ago 16, 2013 9:15:19 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/apex] startup failed due to previous errors
and also
ago 16, 2013 9:15:19 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class oracle.dbtools.rt.web.SCListener
java.lang.IllegalArgumentException: oracle.dbtools.common.util.FilePathSyntaxException: ILLEGAL_CHARACTER
at oracle.dbtools.common.util.Files.checkLegal(Files.java:262)
at oracle.dbtools.common.util.Files.file(Files.java:127)
at oracle.dbtools.common.config.file.ConfigurationFolder.chooseExistingFile(ConfigurationFolder.java:172)
at oracle.dbtools.common.config.file.ConfigurationFolder.choose(ConfigurationFolder.java:151)
at oracle.dbtools.common.config.file.ConfigurationFolder.setup(ConfigurationFolder.java:64)
at oracle.dbtools.rt.web.SCListener.contextInitialized(SCListener.java:72)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: oracle.dbtools.common.util.FilePathSyntaxException: ILLEGAL_CHARACTER
at oracle.dbtools.common.util.FilePathSyntax.check(FilePathSyntax.java:45)
at oracle.dbtools.common.util.Files.checkLegal(Files.java:255)
... 19 more
My platform is :
OS : Windows 7 64 bit
JRE : 1.7.0_25-b17 -
%USERPROFILE% : C:\Users\SERGIO
%TEMP% : C:\Users\SERGIO\AppData\Local\Temp
Apex Listener Configuration Folder : C:\Users\SERGIO\AppData\Local\Temp\apex
Can anyone help me, please?
SergioYou need to configure your config directory before you deploy. If you never configured v2 listener before then create a new folder like "c:\apex\config". Then use
java -jar apex.war configdir c:\apex\config
Then do your configuration as required and then deploy again. -
Syntax Error while running step 34 (35) after unicode conversion
Hello,
We are converting our test system to Unicode to find out how to do it
in our production system. We are at step 34/35 (Starting RFC job's) in
the database installation so we are almost done but we have encounted a
problem that we can't find a solution to. The error log in Sapinst give this
information:
ERROR 2008-11-09 11:19:19 [iaxxrfcimp.cpp:1103] CAbRfcImpl::performFunctionCall FRF-00025 Unable to call function.
Error message: ?`>?/?????????>??????/_???&<?(????????????????????????????????????????????????? .
At the same time we can read the following text in dev_w1 (and dev_w0 and so on):
A *** ERROR => Syntax error in program SAPLBTCH [abgen.c 1388]
A *** ERROR => > Include LBTCHF39 line 173 [abgen.c 1390]
A *** ERROR => > Statement "âu2018âu2018âu2018âu2018âu2018IF" is not defined. Check your spelling. spelling. [abgen.c 1393]
The error don't always look the same, here is another example:
A *** ERROR => Syntax error in program SAPLSALC [abgen.c 1388]
A *** ERROR => > Include LSALCU54 line 55 [abgen.c 1390]
A *** ERROR => > No component exists with the name "MTSYSIDâu2018MTMCNAMEâu2018MTNUMRANGEâu2018MTUIDâu2018". "MTSYSID [abgen.c 1393]
A *** ERROR => > âu2018MTMCNAMEâu2018MTNUMRANGEâu2018MTUIDâu2018". [abgen.c 1395]
The common thing is Syntax error. If we try to log in to the system using SAP Gui we get this message: "Syntax error in program SAPMS380".
In the file dev_disp we can read a lot of these:
Tue Nov 11 14:06:32 2008
*** WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
But we should have enough WP since noone has loggen on to the system.
Facts:
Tue Nov 11 14:06:07 2008
kernel runs with dp version 138000(ext=102000) (@(#) DPLIB-INT-VERSION-138000-UC)
length of sys_adm_ext is 524 bytes
sysno 60
sid S01
systemid 274 (HP (IA-64) with HP-UX)
relno 6400
patchlevel 0
patchno 258
intno 20020600
make: single threaded, Unicode, 64 bit
pid 20538
HPUX on Intel IA64 with Oracle 10.0.2.0.2
SAP ERP Central Component 5.0
SAP_ABA 640 0021 SAPKA64021
SAP_BASIS640 0021 SAPKB64021
Please let me know that there is some small setting that I can change to regenerate the programs or something like that...
Br Linus HellsingHello Ralph
Here they are:
TOC files
SAPAPPL0.TOC:
vn: R6.40/V1.4
id: 084ac0df0000003d
cp: 4102
data_with_checksum
tab: [HEADER]
fil: SAPAPPL0.001 1024
SAPAPPL1.TOC:
vn: R6.40/V1.4
id: 084ac0df0000003d
cp: 4102
data_with_checksum
tab: [HEADER]
fil: SAPAPPL1.001 1024
EXPORT log:
SAPAPPL0.log
/sapmnt/S01/exe/R3load: START OF LOG: 20081029110702
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4
Compiled Aug 16 2008 18:01:48
/sapmnt/S01/exe/R3load -ctf E /mnt/s01_exp_uni/DATA/SAPAPPL0.STR /mnt/s01_exp_uni/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.log
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081029110703
/sapmnt/S01/exe/R3load: START OF LOG: 20081029110709
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4
Compiled Aug 16 2008 18:01:48
/sapmnt/S01/exe/R3load -datacodepage 4102 -e /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0.log -stop_on_error
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
(EXP) INFO: check NameTab widths: Ok.
(DB) INFO: Export without hintfile
(RSCP) INFO: UMGCOMCHAR read check, OK.
(RSCP) INFO: init SUMG interface; package name: "SAPAPPL0".
(RSCP) INFO: "/mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0001.xml" created.
(RSCP) INFO: environemnt variable "I18N_POOL_WIDTH" is not set. Checks are active.
(RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
(RSCP) INFO: UMGSETTINGS nametab creation: ok.
(RSCP) INFO: Global fallback code page = 9491
(RSCP) INFO: Common character set is not 7-bit-ASCII
(RSCP) INFO: Collision resolution method is 'fine'
(RSCP) INFO: R3trans code pages = Normal
(RSCP) INFO: EXPORT TO ... code pages = Normal
(RSCP) INFO: Check for invalid language keys: activated
(RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
(RSCP) INFO: I18N_NAMETAB_NORM_LOG = 1000000002
(RSCP) INFO: I18N_NAMETAB_ALT_ALLOW = 10000
(RSCP) INFO: I18N_NAMETAB_ALT_LOG = 10003
(RSCP) INFO: I18N_NAMETAB_OLD_ALLOW = 0
(RSCP) INFO: I18N_NAMETAB_OLD_LOG = 500
(GSI) INFO: dbname = "S0120081016081020 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "scar "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "scar"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(GSI) INFO: instno = "1220008646"
(EXP) TABLE: "/BDL/LOCK"
(EXP) TABLE: "/BEV1/BO_CONT"
(EXP) TABLE: "/BEV1/BO_ENQUEUE"
(EXP) TABLE: "/BEV1/CLCONT1"
(EXP) TABLE: "/BEV1/CLDEB"
and so on
(EXP) TABLE: "ADR9S2"
(CNV) WARNING: code page conversion problem
Number of substitutions: 4
(row 30 of current buffer, table ADRC)
CLIENT 30 30 30 |000 |
ADDRNUMBER 30 30 30 30 30 31 34 38 36 39 |0000014869 |
DATE_FROM 30 30 30 31 30 31 30 31 |00010101 |
NATION 20 | |
(CNV) WARNING: code page conversion problem
Number of substitutions: 2
(row 41 of current buffer, table ADRC)
CLIENT 30 30 30 |000 |
ADDRNUMBER 30 30 30 30 30 32 31 39 38 32 |0000021982 |
DATE_FROM 30 30 30 31 30 31 30 31 |00010101 |
NATION 20 | |
(RSCP) INFO: 51 lines written to /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0001.xml
(EXP) TABLE: "ADRC"
(RSCP) INFO: 3 lines written to /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL0001.xml
(EXP) TABLE: "ADRCOMC"
and then its the same with table SETHEADERT and SKAT and SNAP and STXH.
I will not include the whole file as it is 14213 lines long.
SAPAPPL1.log
/sapmnt/S01/exe/R3load: START OF LOG: 20081029110701
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4
Compiled Aug 16 2008 18:01:48
/sapmnt/S01/exe/R3load -ctf E /mnt/s01_exp_uni/DATA/SAPAPPL1.STR /mnt/s01_exp_uni/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.log
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081029110702
/sapmnt/S01/exe/R3load: START OF LOG: 20081029110709
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4
Compiled Aug 16 2008 18:01:48
/sapmnt/S01/exe/R3load -datacodepage 4102 -e /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1.log -stop_on_error
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
(EXP) INFO: check NameTab widths: Ok.
(DB) INFO: Export without hintfile
(RSCP) INFO: UMGCOMCHAR read check, OK.
(RSCP) INFO: init SUMG interface; package name: "SAPAPPL1".
(RSCP) INFO: "/mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/EXPORT/ABAP/COPY/NUC/DBEXP/SAPAPPL1001.xml" created.
(RSCP) INFO: environemnt variable "I18N_POOL_WIDTH" is not set. Checks are active.
(RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
(RSCP) INFO: UMGSETTINGS nametab creation: ok.
(RSCP) INFO: Global fallback code page = 9491
(RSCP) INFO: Common character set is not 7-bit-ASCII
(RSCP) INFO: Collision resolution method is 'fine'
(RSCP) INFO: R3trans code pages = Normal
(RSCP) INFO: EXPORT TO ... code pages = Normal
(RSCP) INFO: Check for invalid language keys: activated
(RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
(RSCP) INFO: I18N_NAMETAB_NORM_LOG = 1000000002
(RSCP) INFO: I18N_NAMETAB_ALT_ALLOW = 10000
(RSCP) INFO: I18N_NAMETAB_ALT_LOG = 10003
(RSCP) INFO: I18N_NAMETAB_OLD_ALLOW = 0
(RSCP) INFO: I18N_NAMETAB_OLD_LOG = 500
(GSI) INFO: dbname = "S0120081016081020 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "scar "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "scar"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(GSI) INFO: instno = "1220008646"
(EXP) TABLE: "/BDL/ADDONKEYS"
(EXP) TABLE: "/BDL/BADHOST"
and so on until
(EXP) TABLE: "SEWADATCOL"
(EXP) TABLE: "SFHX"
(CNV) WARNING: code page conversion problem
Number of substitutions: 1
(row 3519 of current buffer, table SFIWP)
LANGU 4a |J |
WORDF 82 41 45 82 a8 82 ad 95 4b 97 56 82 aa 82 a0 82 |.AE.¨..K.V.ª. .|
WORDF c8 82 55 45 82 b7 81 42 20 20 20 20 20 20 20 20 |È.UE.·.B |
WORDF 20 20 20 20 20 20 20 20 | |
and table STERM_TEXT. As before I will not include it all, the log file is 7775 lines long.
IMPORT log
SAPAPPL0.log
/sapmnt/S01/exe/R3load: START OF LOG: 20081106102704
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
Compiled Aug 16 2008 18:23:56
/sapmnt/S01/exe/R3load -ctf I /mnt/s01_exp_uni/DATA/SAPAPPL0.STR /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081106102705
/sapmnt/S01/exe/R3load: START OF LOG: 20081106103529
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
Compiled Aug 16 2008 18:23:56
/sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log -stop_on_error -k 54FB9C39DB
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(GSI) INFO: dbname = "S0120081106091135 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "scar "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "scar"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(DB) INFO: /BDL/LOCK created #20081106103642
(IMP) INFO: import of /BDL/LOCK completed (0 rows) #20081106103642
(DB) INFO: /BDL/LOCK~0 created #20081106103642
(DB) INFO: /BEV1/BO_CONT created #20081106103642
and so on until the end:
(DB) INFO: ZWF_STATUSCHANGE created #20081106173307
(IMP) INFO: import of ZWF_STATUSCHANGE completed (0 rows) #20081106173307
(DB) INFO: ZWF_STATUSCHANGE~0 created #20081106173307
(DB) INFO: disconnected from DB
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081106173307
/sapmnt/S01/exe/R3load: START OF LOG: 20081107092517
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
Compiled Aug 16 2008 18:23:56
/sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log -stop_on_error -k 54FB9C39DB
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(GSI) INFO: dbname = "S0120081106091135 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "scar "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "scar"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(DB) INFO: disconnected from DB
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081107092541
/sapmnt/S01/exe/R3load: START OF LOG: 20081107111014
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
Compiled Aug 16 2008 18:23:56
/sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL0.log -stop_on_error -k 54FB9C39DB
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(GSI) INFO: dbname = "S0120081106091135 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "scar "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "scar"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(DB) INFO: disconnected from DB
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081107111041
The log file is 81163 lines long.
SAPAPPL1.log
/sapmnt/S01/exe/R3load: START OF LOG: 20081106102702
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
Compiled Aug 16 2008 18:23:56
/sapmnt/S01/exe/R3load -ctf I /mnt/s01_exp_uni/DATA/SAPAPPL1.STR /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/DDLORA.TPL /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.TSK ORA -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.log
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081106102703
/sapmnt/S01/exe/R3load: START OF LOG: 20081106103529
/sapmnt/S01/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#27 $ SAP
/sapmnt/S01/exe/R3load: version R6.40/V1.4 [UNICODE]
Compiled Aug 16 2008 18:23:56
/sapmnt/S01/exe/R3load -dbcodepage 4102 -i /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.cmd -l /mnt/s01_exp_uni/tmp/sapinst_instdir/ECC50/COPY/IMPORT/SYSTEM/ABAP/ORA/UC/DB/SAPAPPL1.log -stop_on_error -k 54FB9C39DB
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(GSI) INFO: dbname = "S0120081106091135 "
(GSI) INFO: vname = "ORACLE "
(GSI) INFO: hostname = "scar "
(GSI) INFO: sysname = "HP-UX"
(GSI) INFO: nodename = "scar"
(GSI) INFO: release = "B.11.23"
(GSI) INFO: version = "U"
(GSI) INFO: machine = "ia64"
(DB) INFO: /BDL/ADDONKEYS created #20081106103603
(IMP) INFO: import of /BDL/ADDONKEYS completed (0 rows) #20081106103603
(DB) INFO: /BDL/ADDONKEYS~0 created #20081106103603
(DB) INFO: /BDL/BADHOST created #20081106103603
(IMP) INFO: import of /BDL/BADHOST completed (0 rows) #20081106103603
(DB) INFO: /BDL/BADHOST~0 created #20081106103603
And so on until the end:
(DB) INFO: ZWF_INVH created #20081107211801
(IMP) INFO: import of ZWF_INVH completed (116640 rows) #20081107211817
(DB) INFO: ZWF_INVH~0 created #20081107211818
(DB) INFO: ZWF_INVI created #20081107211818
(IMP) INFO: import of ZWF_INVI completed (20557 rows) #20081107211820
(DB) INFO: ZWF_INVI~0 created #20081107211820
(DB) INFO: disconnected from DB
/sapmnt/S01/exe/R3load: job completed
/sapmnt/S01/exe/R3load: END OF LOG: 20081107211820
The log file is 52583 lines long.
There are 55 import log files and 28 export log files.
I hope some of this information is helpful for you and thank you again for your assistance!
Br Linus Hellsing -
TNG_recordset Syntax error in query. Incomplete query clause.
I'm using the ADDT insert record form wizard and I keep getting this error: Syntax error in query. Incomplete query clause. Can anyone help?
<br />
<br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<br />
<!--#include file="../Connections/rentalpaypro.asp" -->
<br />
<!--#include file="../includes/common/KT_common.asp" -->
<br />
<!--#include file="../includes/tNG/tNG.inc.asp" -->
<br /><%<br />'Start log out user<br /> Set logout = new tNG_Logout<br /> logout.setLogoutType "link"<br /> logout.setPageRedirect "../index.html"<br /> logout.Execute<br />'End log out user<br />%>
<br /><%<br />'Make a transaction dispatcher instance<br />Dim tNGs: Set tNGs = new tNG_dispatcher<br />tNGs.Init "../"<br />%>
<br /><%<br />' Start trigger<br />Dim formValidation: Set formValidation = new tNG_FormValidation<br />formValidation.Init<br />formValidation.addField "ContactFirstName", true, "text", "", "", "", ""<br />formValidation.addField "ContactLastName", true, "text", "", "", "", ""<br />formValidation.addField "EmailAddress", true, "text", "email", "", "", ""<br />formValidation.addField "BillingAddress", true, "text", "", "", "", ""<br />formValidation.addField "City", true, "text", "", "", "", ""<br />formValidation.addField "StateOrProvince", true, "text", "", "", "", ""<br />formValidation.addField "ZipCode", true, "numeric", "", "", "", ""<br />formValidation.addField "PhoneNumber", true, "text", "", "", "", ""<br />tNGs.prepareValidation formValidation<br />' End trigger<br />%>
<br /><%<br />'Start Restrict Access to Page<br /> Dim restrict: Set restrict = new tNG_RestrictAccess<br /> restrict.Init MM_rentalpaypro_STRING, "../"<br />'Grand Levels: Any<br /> restrict.Execute<br />'End Restrict Access to Page<br />%>
<br /><%<br />' Make an insert transaction instance <br />Dim ins__Landlord_Contact_Info_: Set ins__Landlord_Contact_Info_ = new tNG_insert<br />ins__Landlord_Contact_Info_.init MM_rentalpaypro_STRING<br />tNGs.addTransaction ins__Landlord_Contact_Info_<br />' Register triggers<br />ins__Landlord_Contact_Info_.registerTrigger Array("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1")<br />ins__Landlord_Contact_Info_.registerTrigger Array("BEFORE", "Trigger_Default_FormValidation", 10, formValidation)<br />ins__Landlord_Contact_Info_.registerTrigger Array("END", "Trigger_Default_Redirect", 99, "index.asp")<br />' Add columns<br />ins__Landlord_Contact_Info_.setTable ""Landlord_Contact Info""<br />ins__Landlord_Contact_Info_.addColumn "ContactFirstName", "STRING_TYPE", "POST", "ContactFirstName", ""<br />ins__Landlord_Contact_Info_.addColumn "ContactLastName", "STRING_TYPE", "POST", "ContactLastName", ""<br />ins__Landlord_Contact_Info_.addColumn "EmailAddress", "STRING_TYPE", "POST", "EmailAddress", ""<br />ins__Landlord_Contact_Info_.addColumn "BillingAddress", "STRING_TYPE", "POST", "BillingAddress", ""<br />ins__Landlord_Contact_Info_.addColumn "City", "STRING_TYPE", "POST", "City", ""<br />ins__Landlord_Contact_Info_.addColumn "CompanyName", "STRING_TYPE", "POST", "CompanyName", ""<br />ins__Landlord_Contact_Info_.addColumn "StateOrProvince", "STRING_TYPE", "POST", "StateOrProvince", ""<br />ins__Landlord_Contact_Info_.addColumn "ZipCode", "NUMERIC_TYPE", "POST", "ZipCode", ""<br />ins__Landlord_Contact_Info_.addColumn "Extension", "STRING_TYPE", "POST", "Extension", ""<br />ins__Landlord_Contact_Info_.addColumn "FaxNumber", "STRING_TYPE", "POST", "FaxNumber", ""<br />ins__Landlord_Contact_Info_.addColumn "PhoneNumber", "STRING_TYPE", "POST", "PhoneNumber", ""<br />ins__Landlord_Contact_Info_.setPrimaryKey "ContactInfoID", "NUMERIC_TYPE", "", ""<br />%>
<br /><%<br />'Execute all the registered transactions<br />tNGs.executeTransactions<br />%>
<br /><%<br />'Get the transaction recordset<br />Dim rs_Landlord_Contact_Info_<br />Dim rs_Landlord_Contact_Info__numRows<br /><br />Set rs_Landlord_Contact_Info_ = tNGs.getRecordset(""Landlord_Contact Info"")<br />rs_Landlord_Contact_Info__numRows = 0<br />%>Are you sure that you are passing the querystring customerid
when the form
company_cus is empty.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"aonefun" <[email protected]> wrote in
message
news:epmf3n$f3u$[email protected]..
>I am receiving the following error message:
>
> Microsoft][ODBC Microsoft Access Driver] Syntax error
(missing operator)
> in
> query expression 'customerid_cus='.
>
> for the following code:
>
> If IsEmpty(Request.Form("company_cus")) Then
>
> rs_company.Source = "SELECT customerid_cus, company_cus
FROM
> customers_cus
> WHERE customerid_cus= "&
Request.QueryString("customerid") &" "
>
> Else
>
> rs_company.Source = "SELECT customerid_cus, company_cus
FROM
> customers_cus
> WHERE company_cus = '"& Request.Form("company_cus")
>
> End If
>
> What could the problem be?
> -
Syntax Error in Web UI component post upgrade
Hi Experts,
We have a enhanced component in IC agent which is giving syntax error post upgrade from 7.0 to EHP2. It seems some attributes have been removed/altered in the new super class.
In this case do we need to delete the component enhancement and re do the effort or is there any way to regenerate the enhanced component ?
Thanks, Please help.
RohitHi Rohit,
I've written a few blogs where I collected the different steps necessary in CRM after an EhP or SP upgrade. Furthermore I described solutions to common problems in these blogs. Please have a look an see if one of the described approaches is suitable for your problem.
http://scn.sap.com/docs/DOC-44983
http://scn.sap.com/docs/DOC-49317
http://scn.sap.com/community/crm/upgrades-and-enhancement-packs/blog/2014/02/21/sap-crm-ehp3-upgrade
Best,
Christian -
Merged dimension gives #syntax error
Hi everybody,
i have a simple report that contains 2 query.
i merged two dimensions and everything looks like fine.
but when i just refresh the query it gives me syntax error;
bo system : 4.1 sp3 and both of queries are bex queries.any suggestion please.Hi Veer,
1) same behaviour with Applet as well as web mode
2) No
3) I created a webi report, added two bex queries, Country Code is the common dimension which I'm trying to merge. Once both BEx queries are freshed and the objects from both queries are available in in the report to choose from, I try to merge them Country Code, however the merge option isn't even available (i.e. it does not allow merging by selecting objects or choosing the merge from the menu). As a work around I pull the Country code in the report pane from each query as a seprarate objects, ( i notice Country code object from Query one has the values while the Country Code from the second query has the #TOREFRESH, although both query were refreshed at start).
Since both Country Code objects are on the report cavas, I refresh both queries again. Now I see the values in both objects. Now if I select the Country code from the left hand panel it allows merging. After merging, I drag the new merage counry code on the report Cavas i see the combined values (so far so good). Next I refresh the report again and magically the merged objects is disappeared from the report canvas and the #SYNTAX erro is it remains there.
As I said, I am using 4.1 with Sup Pak 3, build 1257.
Any help would be appreciated.
Regards
WAK -
Syntax errors while migrating from non- unicode to Uni code
What are the syntax errors while migrating from non unicode to Uni code
Hi Sudheer,
u can get the information related to errors while migrating from non- unicode to Uni code from the below...pls go through...
Note 765475 - Unicode Conversion: Troubleshooting
these are the notes related to the issues of migration form non unicode to ounicode.
Related Notes
986907 - SQL Server settings for R3load based system copy
954001 - Error fix: ILLEGAL_SUBSTRING_MODIFICATION in SUMG
936441 - Oracle settings for R3load based system copy
928909 - Repair table data in SUMG in Unicode systems
895804 - Problematic rows in table DMEE_TREE_NODE
895560 - Support for languages only available in Unicode system
885441 - Common Migration Errors
842788 - DB Multiconnect: Unicode Migration
837173 - RADCUCNT in Unicode Conversion: Collective Note
756534 - Automatic Assignment of Languages with Character Statistics
753334 - Unicode Conversion: Problem in Japanese device types
726954 - Private Use Areas in Unicode Systems
722193 - RFC legacy non-Unicode clients and Unicode servers
718329 - R3load terminates the export during a Unicode conversion
695196 - Error in the export for Unicode migration
672835 - Textflags could cause problems during Unicode conversion
627764 - Unicode migration: table pools inconsistent after conversion
614550 - Troubleshooting BC-I18
587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
573044 - Unicode conversion for HR application
480671 - The Text Language Flag of LANG Fields
379940 - Unicode based mySAP availability
79991 - Multi-Language and Unicode support of SAP applications
73606 - Supported Languages and Code Pages
42305 - RSCPINST (I18N configuration tool)
regards,
rudra..
Assign points if helpful -
MOF syntax error occurred while installing 2008 SQL server Express on Vista Ultimate
I have tried cleaning, then installing 2008 SQL server Express on Vista Ultimate 3 times and spent hours on this. I have installed regular SQL server on 2003 server with no issues many times, but I have huge issues with 2008 SQL server Express. I keep getting the proceeding errors.
Any ideas?
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0x0A2FBD17@1211@1
Configuration error description: A MOF syntax error occurred.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\Detail.txt
Feature: SQL Client Connectivity SDK
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Server Replication
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0x0A2FBD17@1211@1
Configuration error description: A MOF syntax error occurred.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\Detail.txt
Feature: Management Tools - Basic
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0x0A2FBD17@1211@1
Configuration error description: A MOF syntax error occurred.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\Detail.txt
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081202_010008\SystemConfigurationCheck_Report.htmSimilar error (not SQL Express but Enterprise) on my network reveals the following issue (still prevalent after removing and re-adding the machine to the network):
The kerberos client received a KRB_AP_ERR_MODIFIED error from the server host/machinename.domainname.local. The target name used was cifs/MACHINENAME. This indicates that the password used to encrypt the kerberos service ticket is different than that on the target server. Commonly, this is due to identically named machine accounts in the target realm (DOMAINNAME.LOCAL), and the client realm. Please contact your system administrator.
ALSO: The session setup from the computer MACHINENAME failed to authenticate. The name(s) of the account(s) referenced in the security database is MACHINENAME$. The following error occurred: Access is denied.
This default instance (Ent SQL 2008 on Ent Server 64 bit 2003 R2 SP2) failed with the MOF error using a service account to install SQL 2008. Repair does not work. "The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature."
I expected to have more luck with the information here: http://mark.michaelis.net/Blog/CategoryView.aspx?category=.Net but wound up with result seen in my next post.
Of note, tried the removal of leftover registry entries after a failed install as in link above, also removed sql folders prior to re-install. Error is the same and rather than list entire log here, there is a portion available below but as is evident, there is a permission error in the registry which verifies what mark michaelis has pointed out:
"Sco: Compile operation for mof file \etcls.mof.transformed failed. Exit code 3" "Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC." "A MOF syntax error occurred." "Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC." Here is more: at Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof() 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.EtwSetup.Install(String strInstanceName, Guid guidInstance, String strPath) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.SetupETW(EffectiveProperties properties) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_ConfigNonRC_Prepare(EffectiveProperties properties) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SqlFeatureConfigBase.Execute(ConfigActionScenario scenario, ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbCurrent) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId) 2009-03-31 10:51:19 Slp: at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream) 2009-03-31 10:51:19 Slp: Exception: Microsoft.SqlServer.Configuration.Sco.ScoException. 2009-03-31 10:51:19 Slp: Source: Microsoft.SqlServer.Configuration.Sco. 2009-03-31 10:51:19 Slp: Message: A MOF syntax error occurred.. 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file E:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20090331_102539\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_ 2009-03-31 10:51:20 Slp: Sco: Attempting to write hklm registry key
(And so on - cannot read or write the registry key)... -
StartupItem with syntax error (sh script)
I'm comfy on the cli but still green with scripting it. I've followed the Apple tut on making a StartupItem, but I am getting simple (I hope) sh syntax errors when I run it. The three *Service functions are required, as they're called by the RunService function (from the sourced rc.common script) ... all per the Apple tutorial.
In any case, the error I get is:
line 7: syntax error near unexpected token `}'
/Library/StartupItems/blah/blah: line 7: `}'
The complaint is about the bracing earlier in execution than the 'tricky' stuff. I hope that suggests the problem is here and not in my Boot.bash script. I'll post that too if, as I'm noticing with scripting, the complaints about eofs and bracing and such are not where the real problem lies. I'm a bash person though so, especially if this is just an sh syntax misuse, feel free to give me what for.
Any thoughts, fixes, or straight advice appreciated,
Joel
#!/bin/sh
. /etc/rc.common
StopService() {
# nothing to kill
RestartService() {
StopService
StartService
StartService() {
/bin/bash /Library/Management/Boot.bash
RunService "$1"Hi Joel,
I've actually read a scripting guide that recommends defining functions with the "function" keyword and the norm is to put a space before and after the "()". However, your syntax is valid. In fact I see no errors at all; the script should work.
Thus, the problem is most likely something invisible. It's time to investigate the text editor you used to create the script. You should open the script in a UNIX text editor, like vim, and look for hidden characters or Mac line endings. An even better solution might be to get the free text editor TextWrangler, (or BBEdit if you have it) open the file and set it to show invisible characters. It will also tell you what kind of line endings are used in the file. You might also post a long listing of the StartupItem script.
Gary
~~~~
He's just a politician trying to save both his faces... -
Can't find: '{' expected and Syntax error
I did a hover caption tutorial at ultrashock.com. Scripts
work for others. When I try to publish, I get this output:
**Error** /dailyBackup/html/caption/Library.as: Line 1: '{'
expected
class
Library {
static function delegate(object:Object,
methodName:String):Function
var method =
object[methodName];
delete
methodName;
var parameters = arguments.slice(2);
**Error** /dailyBackup/html/caption/Caption.as: Line 1:
Syntax error.
import Library; import Tween; import
easing.*; import DropShadowFilter;
I copied all the imported AS files from the Macromedia
directories and put them in the same folder with Caption.as and
Library.as and hotspot.fla.Depending if you are writing a "class" or just wanting to
insert common code will determine if you need the .as files at
runtime or not.
For example, when writing a class, you have to write it in an
external .as file and you only need the .as file during authoring
and publishing. Once the file has been published you do not need
the .as file any more. Classes are always referenced with the
"import" keyword.
If want to include common code in your Flash file that is NOT
a class, then you would use the "include" keyword. When you
"include" a .as file you will have to also keep it with the
published SWF file. So you would need it during authoring and at
runtime.
Tim -
I am trying to modify the unix script to auto start nodemanager on Oracle Linux server,however i am getting below error when ever i tried to start service nodemgr restart
here is script:
============
#!/bin/sh
# nodemgr Oracle Weblogic NodeManager service
# chkconfig: 345 85 15
# description: Oracle Weblogic NodeManager service
# The script needs to be saved as /etc/init.d/nodemgr and then issue chkconfig .add nodemgr as root
### BEGIN INIT INFO
# Provides: nodemgr
# Required-Start: $network $local_fs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: Oracle Weblogic NodeManager service.
# Description: Starts and stops Oracle Weblogic NodeManager.
### END INIT INFO
. /etc/rc.d/init.d/functions
export WLS_HOME=/u01/Oracle/Middleware/wlserver_10.3
export MW_HOME=/u01/Oracle/Middleware
export JAVA_HOME=/u01/Oracle/Middleware/jdk160_24
export IDM_HOME=/u01/Oracle/Middleware/Oracle_IDM1
export OAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
export ORACLE_INSTANCE=/u01/Oracle/Middleware/Oracle_IDM1
export IAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
export DOMAIN_HOME=/u01/Oracle/Middleware/user_projects/domains
DAEMON_USER="oracle"
PROCESS_STRING="^.*/u01/Oracle/Middleware/.*weblogic.NodeManager.*"
source $MW_HOME/wlserver_10.3/server/bin/setWLSEnv.sh > /dev/null
export NodeManagerHome="$WLS_HOME/common/nodemanager"
NodeManagerLockFile="$NodeManagerHome/nodemanager.log.lck"
PROGRAM="$MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh"
SERVICE_NAME=`/bin/basename $0`
LOCKFILE="/var/lock/subsys/$SERVICE_NAME"
RETVAL=0
start() {
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ ! -z "$OLDPID" ]; then
echo "$SERVICE_NAME is already running (pid $OLDPID) !"
exit
fi
echo -n $"Starting $SERVICE_NAME: "
/bin/su $DAEMON_USER -c "$PROGRAM &"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE
stop() {
echo -n $"Stopping $SERVICE_NAME: "
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ "$OLDPID" != "" ]; then
/bin/kill -TERM $OLDPID
else
/bin/echo "$SERVICE_NAME is stopped"
fi
echo
/bin/rm -f $NodeManagerLockFile
[ $RETVAL -eq 0 ] && rm -f $LOCKFILE
restart() {
stop
sleep 10
start
case "$1. in
start)
start
stop)
stop
restart|force-reload|reload)
restart
condrestart|try-restart)
[ -f $LOCKFILE ] && restart
status)
OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
if [ "$OLDPID" != "" ]; then
/bin/echo "$SERVICE_NAME is running (pid: $OLDPID)!"
else
/bin/echo "$SERVICE_NAME is stopped"
fi
RETVAL=$?
echo $"Usage: $0 start"
exit 1
esac
exit $RETVAL
=================
here is error message
[root@oam init.d]# service nodemgr restart
/etc/init.d/nodemgr: line 96: syntax error near unexpected token `is'
/etc/init.d/nodemgr: line 96: `/bin/echo "$SERVICE_NAME is running ("pid: $OLDPID")"'It is necessary to post code between code tags, otherwise it screws up. See the FAQ.
What sticks out right away is your wrong case statement case *"$1.* which should read *case "$1"*. You are also missing ;; to terminate your default case statement. You should also put $RETVAL between quotes and remove the /bin paths. -
Hello, i'm getting this error
syntax error at line 5 in "rectkate.mouseout" on "Stage": Mismatched braces
but this is a copy for serval others mouseout-commands...which are getting No problem??
this is the function:
// play the timeline from the given position (ms or label)
sym.play("ckate");
and this is in an other command:
// play the timeline from the given position (ms or label)
sym.play("cdisc");
As i can see exactly the samen???
( Is there a maximum on the click and label commands? i've made several commands, most of the with mouseover en mouseout,
but when i maken a click-command, nothing happend??
When i make the exactly in a new document it works??
very strange...or does it have to do, with the other error??Thanks, i'm not so good in this code...
The animation works good, only the error is ignoring on the edit-screen...but no major problem.
strange things, the error-good, is copied from another which is good..
What you suggest, is that better, or better for the overview when you use the code?
where must i put it, or is better to do not so, when you aren't familiar with the code?
Below, you find the 415 lines of code, maybe you can see it, where it go wrong?
It is an animation of 1 minute..with use of several sound effects, and almost at the end, 1 minute: stays "play form 0"
and half-way i want to create a label, when it cliked jump after this minute.. (i've you want i can also send you the .oam ( 987kb ))
thanks anyway
* Adobe Edge Animate Composition Actions
* Edit this file with caution, being careful to preserve
* function signatures and comments starting with 'Edge' to maintain the
* ability to interact with these actions from within Adobe Edge Animate
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
//Edge symbol: 'stage'
(function(symbolName) {
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 20000, function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play(0);
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectdisc}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("ldisc");
//Edge binding endSymbol.bindElementAction(compId, symbolName, "${_rectdisc}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("cdisc");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectbritney}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("lbritney");
//Edge binding endSymbol.bindElementAction(compId, symbolName, "${_rectbritney}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("cbritney");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectkate}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("lkate");
//Edge binding endSymbol.bindElementAction(compId, symbolName, "${_rectkate}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("ckate");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectempire}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("lempire");
//Edge binding endSymbol.bindElementAction(compId, symbolName, "${_rectempire}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("cempire");
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 48750, function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play(0);
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 41750, function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play(0);
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 33750, function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play(0);
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 60000, function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play(0);
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 5000, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/punch.ogg' type='audio/ogg' /> <source src='sounds/punch.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 13750, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/punch.ogg' type='audio/ogg' /> <source src='sounds/punch.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 8135, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 8649, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 9133, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 9660, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 10134, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 10638, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 11138, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/swooshie.ogg' type='audio/ogg' /> <source src='sounds/swooshie.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 199, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/snare.ogg' type='audio/ogg' /> <source src='sounds/snare.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 701, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/snare.ogg' type='audio/ogg' /> <source src='sounds/snare.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 1196, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/snare.ogg' type='audio/ogg' /> <source src='sounds/snare.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 1700, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/snare.ogg' type='audio/ogg' /> <source src='sounds/snare.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 2205, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/snare.ogg' type='audio/ogg' /> <source src='sounds/snare.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 2701, function(sym, e) {
sym.play();
newSound = new Audio();
newSound.innerHTML = "<source src='sounds/snare.ogg' type='audio/ogg' /> <source src='sounds/snare.mp3' type='audio/mpeg' />";
newSound.volume = 0.3;
newSound.loop = false;
newSound.play();
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectbritneyCopy}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("cbritney");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectbritneyCopy}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("lbritney");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectkateCopy}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("ckate");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectkateCopy}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("lkate");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectempireCopy}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("cempire");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectempireCopy}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("lempire");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectdiscCopy}", "mouseout", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("cdisc");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_rectdiscCopy}", "mouseover", function(sym, e) {
// play the timeline from the given position (ms or label)
sym.play("ldisc");
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_Ellipse4}", "click", function(sym, e) {
// insert code for mouse click here
// play the timeline from the given position (ms or label)
sym.play("volgende");
//Edge binding end
})("stage");
//Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'streep'
(function(symbolName) {
})("streep");
//Edge symbol end:'streep'
//=========================================================
//Edge symbol: 'zaterdag'
(function(symbolName) {
})("zaterdag");
//Edge symbol end:'zaterdag'
//=========================================================
//Edge symbol: 'vrijdag'
(function(symbolName) {
})("vrijdag");
//Edge symbol end:'vrijdag'
//=========================================================
//Edge symbol: 'donderdag'
(function(symbolName) {
})("donderdag");
//Edge symbol end:'donderdag'
//=========================================================
//Edge symbol: 'woensdag'
(function(symbolName) {
})("woensdag");
//Edge symbol end:'woensdag'
//=========================================================
//Edge symbol: 'dinsdag'
(function(symbolName) {
})("dinsdag");
//Edge symbol end:'dinsdag'
//=========================================================
//Edge symbol: 'maandag'
(function(symbolName) {
})("maandag");
//Edge symbol end:'maandag'
})(jQuery, AdobeEdge, "EDGE-179763297"); -
Trap syntax error in trap-schedule.dat alert; possibly SMC related
Receiving many ID xxxxxx daemon.alert events every hour. The message is:
[ID xxxxxx daemon.alert] syslog Nov 10 14:00:10 trap syntax error in trap-schedule.dat(200) at token '???'
followed immediately (same timestamp) with:
[ID yyyyyy daemon.alert] syslog Nov 10 14:00:10 trap *** aborting execution ***
I coudn't find anything on the web specifically for this message but several hits that looked similar seemed to indicate that this might be a problem in SMC. If it is not I apologize in advance.
System is an ldom:
Solaris 10;
SunOS clsol8 5.10 Generic_127127-11 sun4v sparc SUNW,T5140
Current situation is:
# /opt/SUNWsymon/sbin/es-validate
This script will help you in validation of Sun (TM) Management Center.
Validation Tool Version : 4.0
Host name : clsol8
Number of CPUs : 24
Platform : SUNW,T5140
Operating System : SunOS 5.10
Memory size : 2048 Megabytes
Swap space : 595480k used, 3727296k available
JAVA VERSION : "1.5.0_14"
Sun Management Center Production Environment Installation.
Following layers are installed : SERVER, AGENT, CONSOLE
Installation location : /opt/SUNWsymon
Sun Management Center installation status:
PRODUCT : Production Environment
INSTALLATION STATUS : Setup.
DATABASE SETUP : Setup.
COMPLETELY INSTALLED PACKAGES : SUNWescom,SUNWesbui,SUNWesbuh,SUNWenesi,
: SUNWesdb,SUNWesagt,SUNWessrv,SUNWessa,
: SUNWesjp,SUNWesaxp,SUNWesse,SUNWesclt,
: SUNWesjrm,SUNWmeta,SUNWenesf,SUNWesmdr,
: SUNWesgui,SUNWesweb,SUNWessvc,SUNWesasc,
: SUNWescix,SUNWsuagt,SUNWsusrv,SUNWesval,
: SUNWesmc,SUNWessms,SUNWessdv,SUNWescdv,
: SUNWlgsmc,SUNWeslac,SUNWesodbc,SUNWesmib,
: SUNWesken,SUNWesmod,SUNWesae,SUNWesaem,
: SUNWesmcp,SUNWesafm,SUNWescon,SUNWsucon,
: SUNWescli,SUNWesclb
<NOTE: I had to cut out a bunch of installed components to hit character limit>
Sun Management Center Add-Ons and Versions:
PRODUCT VERSION
Production Environment 4.0
Advanced System Monitoring 4.0_Build15
Sun Fire Entry-Level Midrange S 3.5-v6
Service Availability Manager 4.0_Build15
Performance Reporting Manager 4.0_Build15
Solaris Container Manager 4.0_Build15
Sun Fire Midrange Systems Platf 3.5-v6
System Reliability Manager 4.0_Build15
Sun Management Center Integrati 4.0_Build15
Workgroup Server 3.6
Generic X86/X64 Config Reader 4.0_Build15
Sun Management Center Patch installation details:
No Sun Management Center patch is installed.
Sun Management Center disk-space consumption:
PRODUCT APPROXIMATE DISK SPACE CONSUMED
Production Environment : 54452 kB
Advanced System Monitoring : 2391 kB
Sun Fire Entry-Level Midrange S : 1738 kB
Service Availability Manager : 1838 kB
Performance Reporting Manager : 3371 kB
Solaris Container Manager : 3688 kB
Sun Fire Midrange Systems Platf : 3270 kB
System Reliability Manager : 970 kB
Sun Management Center Integrati : 540 kB
Workgroup Server : 3707 kB
Generic X86/X64 Config Reader : 608 kB
TOTAL : 76573 kB
Database is located at : /var/opt/SUNWsymon/db/data/SunMC
Free space available on this partition is : 6493142 kB
Following locales are installed :
Information about upgrade from old versions is not available.
Sun Management Center Ports:
SUNMC COMPONENT PORT_ID
agent service 1161
trap service 162
event service 163
topology service 164
cfgserver service 165
cstservice service 167
metadata service 168
platform service 166
grouping service 5600
rmi service 2099
webserver_HTTP service 8080
webserver_HTTPS service 8443
You are currently running SNMPDX.
Sun Management Center Server Hosts definitions in domain-config.x:
SUNMC COMPONENT SERVER_HOST
agent service clsol8
trap service clsol8
event service clsol8
topology service clsol8
cfgserver service clsol8
cstservice service clsol8
metadata service clsol8
platform service clsol8
Sun Management Center Processes:
SUNMC SERVICE STATUS
Java Server Running.
Database services Not Running.
Grouping service Running.
Event-handler service Running.
Topology service Not Running.
Trap-handler service Not Running.
Configuration service Running.
CST service Not Running.
Metadata Services Running.
Hardware service Not Running.
Web server Running.
Sun Management Center Agent Running.
Platform Agent Not Running.
Privilege level for Sun Management Center users :
CATEGORY USERS
esadm : smcadmin
esdomadm : smcadmin
esops :
ALL USERS : smcadmin
server is local host
Web server package is installed correctly.
Web Server is up and responding.
Web Server servlet engine is up and responding.
I have also read that patching SMC has caused problems for some people so I don't really want to try that until I get some feedback.Hi Mike,
Tried your suggestion to rename the .dat and let SMC recreate it but I can't get the SMC database service to launch. So it looks like I am having trouble with the database. Any suggestions?
To back up, you nailed it with the loss of power - we lost both power supplies on a Sunday night with no warning and nothing in /var/adm/messages (since we send them to a loghost.) It was determined that chips within each power supply in the T5140 failed. So we replaced both power supplies and fired the server up. That is when we started getting the trap errors and only those two errors on clsol8.
I did check http://sun.com/msg/SMF-8000-KS but am not sure how that helps.
What I tried:
On clsol8 as root:
# cd /opt/SUNWsymon/sbin
# ls
{db-memconfig.sh es-details es-imagetool es-setup
db-start es-device es-inst es-start
db-stop es-dt es-keys.sh es-stop
es-apps es-gui-imagetool es-lic es-tool
es-backup es-guiinst es-load-default es-trapdest
es-chelp es-guisetup es-makeagent es-uninst
es-cli es-guistart es-platform es-validate
es-common.sh es-guistop es-restore esmultiip
es-config es-guiuninst es-run ports.config}
# ./es-stop -A
{Stopping metadata component
Stopping cfgserver component
Stopping topology component
Stopping event component
Stopping grouping service
Stopping trap component
Stopping java server
Stopping webserver
Stopping agent component
Stopping platform component}
<attempting Mike's solution suggestion>
# cd /var/opt/SUNWsymon/cfg
# ls
trap-schedule.dat
# mv trap-schedule.dat trap-schedule.dat.maybeCorrupted
# /opt/SUNWsymon/sbin/es-start -Ac
{Some of the SunMC services are in maintenace state.
Please check the corresponding SMF service log in /var/svc/log directory.
Please disable the services in maintenance state and re-start the services again.}
# svcs -vx
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 6, 2009 3:50:51 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: This service is not running.
svc:/application/management/sunmcwebserver:default (SunMC webserver service)
State: maintenance since November 12, 2009 2:45:50 PM CST
Reason: Start method failed repeatedly, last exited with status 103.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcwebserver:default.log
Impact: This service is not running.}
# svcadm disable sunmcdatabase
# svcadm disable sunmcwebserver
# svcs -vx
# svcadm enable sunmcdatabase
# svcadm enable sunmcwebserver
# /opt/SUNWsymon/sbin/es-start -Ac
{Failed to successfully perform Database Startup.}
# svcs -vx
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 12, 2009 2:49:50 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: This service is not running.}
# cd /
# svcadm disable sunmcdatabase
# shutdown -y -g0 -i6
(after reboot, I logged into clsol8 and su'd to root)
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: disabled since November 12, 2009 3:02:11 PM CST
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default}
# svcadm enable sunmcdatabase
# svcadm disable sunmcdatabase
# svcadm clear sunmcdatabase
svcadm: Instance "svc:/application/management/sunmcdatabase:default" is not in a maintenance or degraded state.
# svcadm refresh sunmcdatabase
# svcadm enable sunmcdatabase
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: offline since November 12, 2009 3:09:25 PM CST
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default
# svcs -xv
svc:/application/management/sunmcdatabase:default (SunMC database service)
State: maintenance since November 12, 2009 3:10:30 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/application-management-sunmcdatabase:default.log
Impact: 1 dependent service is not running:
svc:/application/management/sunmctopology:default
[ Nov 12 15:08:37 Leaving maintenance because disable requested. ]
[ Nov 12 15:08:37 Disabled. ]
[ Nov 12 15:09:07 Rereading configuration. ]
[ Nov 12 15:09:25 Enabled. ]
[ Nov 12 15:09:25 Executing start method ("/lib/svc/method/es-svc.sh start datab
ase") ]
execution of verifyDatabaseUp failed
exiting........................
[ Nov 12 15:10:30 Method "start" exited with status 95 ] -
Syntax error while writing a select query.
Hi all,
I have a requirement where I have to pick a value if the text for that value is
MYCARu2019S Lovliest Car.
And so I wrote a query that
SELECT RUECK INTO XRUECK FROM AFVC WHERE ltxa1 = ' MYCARu2019S Lovliest Car'.
ENDSELECT.
But it gives me a syntax error saying
u201CLiterals taking up more than one line not permittedu201D.
Can some one tell me what is wrong. I need to select RUECK value from AFVC table if
ltxa1 value is ' MYCARu2019S Lovliest Car'.
Kindly help what is going wrong...
Regards,
Jessica SamHi,
Narendran is right use two single quotes.
also careful wile comparing string. i think as you write ltxa1 value is ' MYCARu2019S Lovliest Car'.
so while comparing you must not use space just before staring use the following
SELECT rueck INTO xrueck FROM afvc WHERE ltxa1 = 'MYCAR''S Lovliest Car'. " Not use Space before M
ENDSELECT.
Hope will help you.
Kind Regards,
Faisal
Maybe you are looking for
-
I prefer using text only instead of text plus a folder icon in the bookmarks toolbar because it used less space and I can display more bookmark folders in that toolbar. Is that possible in Firefox 4.0? It was possible in the earlier versions of Firef
-
I realized that I shot a project in 60fps on a T2i without my knowledge and I converted it back to 24 fps in streamclip. Then when I went to reconnect the media, there were no clickable clips...I first ran into this issue when the movie converted to
-
Is it iCal's Memory Problem??
Hi All, I am having about 2500 events and 500 tasks in my iCal's calendar, during syncing my iCal's calendar to my server's account constantly getting an exception (i.e Mac OS X Version 10.4.8 (Build 8L2127) 2007-01-11 10:20:06 -0800 2007-01-11 10:20
-
Lookup Data For Each Record of Result Set
I'm trying to determine if the following task is possible in BPEL and how to implement it. Assume I have two DB Adapters returning data from two different databases. The first excepts no inputs returns 5 records in a collection looking somewhat like
-
Apps only partially downloaded, blank faces, cannot open, cannot delete
Apps only partially downloaded, blank face, cannot open, cannot delete