Systemctl start mysqld unrecognized option --ssl-ca=
I have spent most of the last 18 hours reading manuals, searching the web and searching these forums for an answer, but have not found anything that worked or that even matched the issue I am having. So here goes.
Issue: Entering the command:
$ sudo systemctl start mysqld --ssl-ca=/path/to/ca-cert.pem --ssl-cert=/path/to/server-cert.pem --ssl-key=/path/to/server-key.pem
and pressing 'Enter' only gets me this error:
systemctl: unrecognized option '--ssl-ca=/path/to/ca-cert.pem'
OR it will act as though it accepted the command but the server does not start. And they happen with about equal frequency.
Does anyone have any ideas as to what is going on?
Again, I have read the manuals - all of them. I have followed directions found on nearly every single hit that came up on google and bing in the last 18 hours. I've tried with both MySQL 5.6.15 Source distribution from the AUR and with MariaDB. I have added these options to /etc/mysql/my.cnf (there are no other copies on the system):
[client]
ssl-ca=/path/to/ca-cert.pem
ssl-cert=/path/to/client-cert.pem
ssl-key=/path/to/client-key.pem
[mysqld]
ssl-ca=/path/to/ca-cert.pem
ssl-cert=/path/to/server-cert.pem
ssl-key=/path/to/server-key.pem
And still, nothing. I have verified that MySQL is in fact SSL capable, per the directions in the documentation. Still, no dice.
This thing seems intent on keeping me from using SSL.
The pertinents:
mysql --version returns: Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using EditLine wrapper
uname -a returns: Linux [hostname] 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
In case it is worth mentioning, Arch is running on a virtual machine. VMware Player ver. 6.0.1 build-1379776 on a Windows 7 Professional host, 64-bit ver. 6.1.7601, SP1.
I could really use some help folks.
Spider.007 wrote:
Okay when you are using systemctl you are instructing systemd to do something such as 'start mysqld'. Any options you pass, will be parsed by systemctl (not mysqld). That is the reason systemd complains of an unknown option (systemd doesn't have a ssl-ca option).
The options you put in you my.cnf should be sufficient. However the mysql client doesn't automatically use ssl when connecting; so after starting mysqld (systemctl start mysqld) use the client to see if ssl works:
mysql --ssl-ca=/path/to/ca-cert.pem
If you client connects successful that doesn't mean it's using ssl though, enter '\s' and check if ssl is enabled.
No dice:
$ mysql --ssl-ca=/path/to/ca-cert.pem
Welcome to the MySQL monitor. Commands end with ; or \g
Your MySQL connection id is 4
Server version: 5.6.15 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trade..../* You get the idea... */
mysql> \s
mysql Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using Editline wrapper
Connection id: 4
Current database:
Current user: user@localhost
SSL: Not in use
/* ......and the rest of the usual... */
mysql>
So. No deal.
Similar Messages
-
[SOLVED] Cannot start mysqld after switching to MariaDB
Hey guys,
I just switched to MariaDB as recommended.
After installing MariaDB and running
systemctl start mysqld
, I get this error message:
Job for mysqld.service failed.
journal:
systemd[1]: Starting MariaDB database server...
mysqld[9358]: 130326 0:27:17 InnoDB: The InnoDB memory heap is disabled
mysqld[9358]: 130326 0:27:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysqld[9358]: 130326 0:27:17 InnoDB: Compressed tables use zlib 1.2.7
mysqld[9358]: 130326 0:27:17 InnoDB: Initializing buffer pool, size = 128.0M
mysqld[9358]: 130326 0:27:17 InnoDB: Completed initialization of buffer pool
mysqld[9358]: 130326 0:27:17 InnoDB: highest supported file format is Barracuda.
mysqld[9358]: 130326 0:27:17 InnoDB: Waiting for the background threads to start
mysqld[9358]: 130326 0:27:18 Percona XtraDB (http://www.percona.com) 5.5.30-MariaDB-30.1 started; log sequence number 46580545
mysqld[9358]: 130326 0:27:18 [ERROR] mysqld: Got error 'Size of control file is smaller than expected' when trying to use aria control file '/var/lib/mysql/aria_log_control'
mysqld[9358]: 130326 0:27:18 [ERROR] Plugin 'Aria' init function returned error.
mysqld[9358]: 130326 0:27:18 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
mysqld[9358]: 130326 0:27:18 [ERROR] Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
mysqld[9358]: 130326 0:27:18 [ERROR] Aborting
mysqld[9358]: 130326 0:27:18 InnoDB: Starting shutdown...
mysqld[9358]: 130326 0:27:19 InnoDB: Shutdown completed; log sequence number 46580545
mysqld[9358]: 130326 0:27:19 [Note] /usr/bin/mysqld: Shutdown complete
systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
Last edited by lonaowna (2013-03-26 01:23:20)Hi ! I come here because I have a trouble since the last update of Mysqld :
I cannot start the daemon with
sudo systemctl start mysqld
I have these problems when i look in journalctl -xn :
mars 26 00:22:14 server mysqld[11593]: InnoDB: Error: log file ./ib_logfile0 is of different size 0 3174400 bytes
mars 26 00:22:14 server mysqld[11593]: InnoDB: than specified in the .cnf file 0 5242880 bytes!
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Plugin 'InnoDB' init function returned error.
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Unknown/unsupported storage engine: InnoDB
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [ERROR] Aborting
mars 26 00:22:14 server mysqld[11593]: 130326 0:22:14 [Note] /usr/bin/mysqld: Shutdown complete
mars 26 00:22:14 server systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
When I try with mysqld, I have
130326 0:23:21 [Warning] Can't create test file /var/lib/mysql/server.lower-test
130326 0:23:21 [Warning] Can't create test file /var/lib/mysql/server.lower-test
mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
130326 0:23:21 [ERROR] Aborting
130326 0:23:21 [Note] mysqld: Shutdown complete
And when I look in /var/lib/mysql/server.err I have these lines
130207 23:32:56 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
130322 00:25:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130322 0:25:27 InnoDB: The InnoDB memory heap is disabled
130322 0:25:27 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130322 0:25:27 InnoDB: Compressed tables use zlib 1.2.7
130322 0:25:27 InnoDB: Initializing buffer pool, size = 128.0M
130322 0:25:27 InnoDB: Completed initialization of buffer pool
130322 0:25:27 InnoDB: highest supported file format is Barracuda.
InnoDB: Error: tried to read 65536 bytes at offset 0 3173376.
InnoDB: Was only able to read 1024.
InnoDB: Fatal error: cannot read from file. OS error number 17.
130322 0:25:30 InnoDB: Assertion failure in thread 139785666135872 in file os0file.c line 2538
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
23:25:30 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=0
max_threads=151
thread_count=0
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 134074 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/bin/mysqld(my_print_stacktrace+0x29)[0x78ae99]
/usr/bin/mysqld(handle_fatal_signal+0x471)[0x67ad71]
/usr/lib/libpthread.so.0(+0xf1e0)[0x7f226299a1e0]
/usr/lib/libc.so.6(gsignal+0x35)[0x7f22615612c5]
/usr/lib/libc.so.6(abort+0x148)[0x7f2261562748]
/usr/bin/mysqld[0x8f2ac0]
/usr/bin/mysqld[0x8af1a0]
/usr/bin/mysqld[0x8e187c]
/usr/bin/mysqld[0x8e75ef]
/usr/bin/mysqld[0x834204]
/usr/bin/mysqld[0x7fe61f]
/usr/bin/mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x41)[0x67ccf1]
/usr/bin/mysqld[0x59ad94]
/usr/bin/mysqld(_Z11plugin_initPiPPci+0xa42)[0x59f342]
/usr/bin/mysqld[0x524328]
/usr/bin/mysqld(_Z11mysqld_mainiPPc+0x447)[0x529187]
/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7f226154da15]
/usr/bin/mysqld[0x51ff89]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
130322 00:25:30 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
130326 00:24:58 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130326 0:24:58 InnoDB: The InnoDB memory heap is disabled
130326 0:24:58 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130326 0:24:58 InnoDB: Compressed tables use zlib 1.2.7
130326 0:24:58 InnoDB: Initializing buffer pool, size = 128.0M
130326 0:24:58 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 3174400 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
130326 0:24:58 [ERROR] Plugin 'InnoDB' init function returned error.
130326 0:24:58 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130326 0:24:58 [ERROR] Unknown/unsupported storage engine: InnoDB
130326 0:24:58 [ERROR] Aborting
130326 0:24:58 [Note] /usr/bin/mysqld: Shutdown complete
130326 00:24:58 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
130326 00:25:33 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/
130326 0:25:33 InnoDB: The InnoDB memory heap is disabled
130326 0:25:33 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130326 0:25:33 InnoDB: Compressed tables use zlib 1.2.7
130326 0:25:33 InnoDB: Initializing buffer pool, size = 128.0M
130326 0:25:33 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 3174400 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
130326 0:25:33 [ERROR] Plugin 'InnoDB' init function returned error.
130326 0:25:33 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
130326 0:25:33 [ERROR] Unknown/unsupported storage engine: InnoDB
130326 0:25:33 [ERROR] Aborting
130326 0:25:33 [Note] /usr/bin/mysqld: Shutdown complete
130326 00:25:33 mysqld_safe mysqld from pid file /var/lib/mysql//server.pid ended
When I try mysqld_safe, here is what I get
130326 00:24:58 mysqld_safe Logging to '/var/lib/mysql/server.err'.
130326 00:24:58 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130326 00:24:58 mysqld_safe mysqld from pid file /var/lib/mysql/server.pid ended
Resolution
===== It's a good thing to make a post :
It allows me to order my ideas and I find the solution here http://serverfault.com/questions/104014 … erent-size
I juste deleted the files /var/lib/mysqld/ib_logfile0 and /var/lib/mysql/ib_logfile1
First, I had a problem about the file who is in the future (WTF ?:p) But after, it worked !
Thanks Anyway !
Last edited by shox (2013-03-25 23:51:43) -
Starting Web Logic Server - Unrecognized option: -jrockit
Hi,
Im getting the error "Unrecognized option: -jrockit" when I try to start the Web Logic Server as is showed below:
D:\Oracle\Middleware\user_projects\domains\base_domain\bin>startWebLogic.cmd
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Starting WLS with line:
I already installed the JDK 7 64 (jdk-7u2-windows-x64) and use the generic file to install the Web Logic Server (wls1035_generic)
I got the files from here:
JDK >> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
Web Logic >> http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
Any help I will appreciate.
Thank You,
Raul.Note that you are using the HotSpot JDK. The option -jrockit is only valid if you are using JRockit.
When you open setDomainEnv.cmd you see something like:
if "%JAVA_VENDOR%"=="Oracle" (
set JAVA_HOME=%BEA_JAVA_HOME%
) else (
if "%JAVA_VENDOR%"=="Sun" (
set JAVA_HOME=%SUN_JAVA_HOME%
) else (
set JAVA_VENDOR=Oracle
set JAVA_HOME=C:\bea\jrockit_160_29_D1.2.0-10
)which selects a certain JDK based on the set JAVA_VENDOR property.
You add the property JAVA_VENDOR above the first if statement, for example,
set SUN_JAVA_HOME=
set JAVA_VENDOR=Sun
if "%JAVA_VENDOR%"=="Oracle" (...)Also see if the SUN_JAVA_HOME property is set to the correct directory.
technical session - http://middlewaremagic.com/weblogic/?p=7831 -
Oracle SOA not starting Unrecognized option: -jrockit
Hi,
I installed Oracle SOA 11.1.1.5 on my windows 7 box. Downloaded the 64 bit JDK also. But when I run startWebLogic.cmd am getting the below error. It keeps complaining about -jrockit option don't know where it's coming from I don't have JRockit installed anywhere on the system so wondering where is this picking from.
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Starting WLS with line:
C:\Software\install\Java\JDK17~1.0_1\bin\java -jrockit -Xms768m -Xmx1536m -Dwe
blogic.Name=AdminServer -Djava.security.policy=C:\Software\install\fmw\WLSERV~1.
classpath weblogic.Server
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.ThanksHi:
Did u try to remove *"-jrockit"* and start the server? Also what is the JAVA_HOME you have set?
Regards,
RK -
Unable to boot weblogic webserver, Unrecognized option: -jrockit
Hello Experts,
I am configuring first webserver domain in newly installed Peopletools 8.51 and FSCM 9.1 environment.
Below are the details --
Server -- Windows Server 2008R2 (64bit)
Weblogic -- 10.3.6 (64 bit)
JDK -- jdk1.7.0.21 (64 bit)
While installing I took care of spaces and everything and now every variable is pointing to right direction but when I try to start the weblogic domain I get the following error --
C:\FSCNFG\webserv\FSCNFG\bin>set JAVA_HOME=C:\Java\jdk1.7.0_21
C:\FSCNFG\webserv\FSCNFG\bin>set PATH=%JAVA_HOME%/bin;%PATH%
C:\FSCNFG\webserv\FSCNFG\bin>set USER_MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=350m
C:\FSCNFG\webserv\FSCNFG\bin>startPIA.cmd
Attempting to start WebLogic Server 'PIA'
starting weblogic with Java version:
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
java -jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -Djava.util.logging.config.file=C:\FSCNFG\webserv\FSCNFG\
piaconfig\properties\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=PIA -Dps_vault=C:\FSCNFG\webserv\FSCNFG\piaconf
ig\properties\psvault -Djavax.net.ssl.trustStore="C:/FSCNFG\webserv\FSCNFG\piaconfig\keystore\pskey" -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=C:\Oracle\MIDDLE~1\
WLSERV~1.3\server\lib\weblogic.policy -Dssl.debug=false -Dps_home="C:/FSCNFG" weblogic.Server
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
WebLogic is no longer running.
I tried google it but there is no resolution found on this one.
Appreciate your help in this regard.
Regards,
RahulI am able to boot the app server by changing in the configuration file -->setENV.cmd.
I put -server instead of -jrockit, i don't know why it is pointing to -jrockit.
Below is the value that I put -->
SET JAVA_OPTIONS_WIN=-server -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:MaxPermSize=128m
in place of below value-->
SET JAVA_OPTIONS_WIN=-jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform
I am still not able to check the status of the server and shut it down properly.
Any suggestions ?
Regards,
Rahul -
Hello world!
I'm a newbie in arch (2 days only...) but not in linux. I'm nearly already sure to love it!
I've already installed successfully LAMP servers under other linux distrubutions. But trying to install a LAMP on my Raspberry Pi (version 1 maybe it's important for memory...) with archlinux is quite more difficult than I exptected first. Everything works fine (apache, php, ssl...) but not mysql.
I've installed mariadb (pacman -S mariadb) but could not launch it. When I tried a "systemctl start mysql", it failed and I got this :
-------- journal -xn ----------------------------------
-- Logs begin at Thu 1970-01-01 01:00:03 CET, end at Tue 2013-12-03 15:46:42 CET. --
mysqld[3044]: InnoDB: mmap(136183808 bytes) failed; errno 12
mysqld[3044]: 131203 15:46:39 InnoDB: Completed initialization of buffer pool
mysqld[3044]: 131203 15:46:39 InnoDB: Fatal error: cannot allocate memory for the buffer pool
mysqld[3044]: 131203 15:46:39 [ERROR] Plugin 'InnoDB' init function returned error.
mysqld[3044]: 131203 15:46:39 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mysqld[3044]: 131203 15:46:39 [Note] Plugin 'FEEDBACK' is disabled.
mysqld[3044]: 131203 15:46:41 [ERROR] Unknown/unsupported storage engine: InnoDB
mysqld[3044]: 131203 15:46:41 [ERROR] Aborting
mysqld[3044]: 131203 15:46:41 [Note] /usr/bin/mysqld: Shutdown complete
systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
Just in case this might help :
free -h
total used free shared buffers cached
Mem: 208M 38M 169M 0B 168K 12M
-/+ buffers/cache: 25M 182M
Swap: 0B 0B 0B
I've thus tried to set innodb pool size manually...
-------my.cnf------
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 4M
innodb_log_buffer_size = 8M
But get this now...
-- Logs begin at Thu 1970-01-01 01:00:03 CET, end at Tue 2013-12-03 16:29:05 CET. --
kernel: [ 311] 0 311 1283 162 5 0 0 (sd-pam)
kernel: [ 312] 0 312 824 246 5 0 0 bash
kernel: [ 313] 33 313 6588 707 14 0 0 httpd
kernel: [ 314] 33 314 6588 707 14 0 0 httpd
kernel: [ 1891] 89 1891 84071 9343 53 0 0 mysqld
kernel: [ 1892] 89 1892 793 55 5 0 0 mysqld-post
kernel: [ 1921] 89 1921 793 41 5 0 0 mysqld-post
kernel: [ 1922] 89 1922 4367 273 9 0 0 mysqladmin
kernel: Out of memory: Kill process 1891 (mysqld) score 176 or sacrifice child
kernel: Killed process 1891 (mysqld) total-vm:336284kB, anon-rss:36800kB, file-rss:572kB
that just looks like I've played with razorblades.
Any idea? Do I have to reduce all the other sizes (key_buffer_size, etc etc) so I use much less memory? (known I absolutely don't need a "big" database and/or operations on it)
Thanks in advance for your help!
Please ask if further informations needed to help me
Last edited by vigon (2013-12-03 15:40:41)Hi, welcome to the forum,
mysqld[3044]: 131203 15:46:39 InnoDB: Fatal error: cannot allocate memory for the buffer pool
So, there's no memory left to address to the buffer pool.
You could try and set the 'innodb_buffer_pool_size' as low as 8M.
If you have > 5.5 this is set to default 128M as far as I know. -
Remote profiling on oc4j 10.1.2 on solaris. -ojvm unrecognized option
Hi I have problems starting OC4J using the -ojvm -XXtimeport4000 parameters on a Solaris box.
The java runtime complains about unrecognized option. I've tried to find some information how to enable ojvm on the java runtime supplied with IAS 10g 10.1.2.
Do anyone have any clues?
/HenrikThanks Luke,
I changed
vo.setWhereClause(" USER_NAME=?");
to
vo.setWhereClause(" USER_NAME=:0");
And that particular segment worked as expected.
Thanks
David -
Pptpd / pppd: unrecognized option '[]'
I am having trouble setting up a simple pptpd server on my homeserver.
My server has ip 192.168.0.2
It connects to a router which has ip 192.168.0.1
I'm trying to connect using an iPad 3 from my work.
Output from /var/log/everything when connecting:
May 3 10:52:56 localhost pptpd[26750]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 3 10:52:56 localhost pptpd[26750]: CTRL: local address = 192.168.0.2
May 3 10:52:56 localhost pptpd[26750]: CTRL: remote address = 192.168.0.234
May 3 10:52:56 localhost pptpd[26750]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 3 10:52:56 localhost pptpd[26750]: CTRL: Client XX.XX.XXX.XX control connection started
May 3 10:52:56 localhost pptpd[26750]: CTRL: Received PPTP Control Message (type: 1)
May 3 10:52:56 localhost pptpd[26750]: CTRL: Made a START CTRL CONN RPLY packet
May 3 10:52:56 localhost pptpd[26750]: CTRL: I wrote 156 bytes to the client.
May 3 10:52:56 localhost pptpd[26750]: CTRL: Sent packet to client
May 3 10:52:56 localhost pptpd[26750]: CTRL: Received PPTP Control Message (type: 7)
May 3 10:52:56 localhost pptpd[26750]: CTRL: Set parameters to 100000000 maxbps, 64 window size
May 3 10:52:56 localhost pptpd[26750]: CTRL: Made a OUT CALL RPLY packet
May 3 10:52:56 localhost pptpd[26750]: CTRL: Starting call (launching pppd, opening GRE)
May 3 10:52:56 localhost pptpd[26750]: CTRL: pty_fd = 6
May 3 10:52:56 localhost pptpd[26750]: CTRL: tty_fd = 7
May 3 10:52:56 localhost pptpd[26750]: CTRL: I wrote 32 bytes to the client.
May 3 10:52:56 localhost pptpd[26750]: CTRL: Sent packet to client
May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): local address = 192.168.0.2
May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): remote address = 192.168.0.234
May 3 10:52:56 localhost pppd[26751]: unrecognized option ''
May 3 10:52:56 localhost pptpd[26750]: GRE: read(fd=6,buffer=6075a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 3 10:52:56 localhost pptpd[26750]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 3 10:52:56 localhost pptpd[26750]: CTRL: Reaping child PPP[26751]
May 3 10:52:56 localhost pptpd[26750]: CTRL: Client XX.XX.XXX.XX control connection finished
May 3 10:52:56 localhost pptpd[26750]: CTRL: Exiting now
May 3 10:52:56 localhost pptpd[26747]: MGR: Reaped child 26750
Notice the line unrecognized option '', it has a square between the '' (like '[]')meaning it can't display that char, but I have no idea in which config file that could be...
Output from /var/log/everything when restarting pptpd (rc.d restart pptpd):
May 3 11:01:36 localhost pptpd[26965]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
May 3 11:01:36 localhost pptpd[26966]: MGR: Manager process started
May 3 11:01:36 localhost pptpd[26966]: MGR: Maximum of 6 connections available
My /etc/ppp/options.pptpd
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 208.67.222.222
ms-dns 208.67.220.220
proxyarp
debug
lock
nobsdcomp
novj
novjccomp
nologfd
My /etc/pptpd.conf
option /etc/ppp/options.pptpd
debug
logwtmp
localip 192.168.0.2
remoteip 192.168.0.234-238,192.168.0.245
I hope someone can help me with this!I met the same problem after upgrading my pptpd. It seems to be a upstream bug, as I find the following code snippet in pptpctrl.c :
if (*pppaddrs[0] || *pppaddrs[1]) {
char pppInterfaceIPs[33];
sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]);
pppd_argv[an++] = pppInterfaceIPs;
the pointer to "pppInterfaceIPs" becomes invalid after the if block.
I simply move the "char pppInterfaceIPs[33];" line out of the if block and recompile the package. Then it works again. -
Unrecognized option: -jrockit Could not create the Java virtual machine.
Hi All,
I hv running 64bit Linux RedHat 5 , having Peopletools 8.49.19 installed jdk 1.5. weblogic 9.2 .. Installation of Weblogic and PIA done completely without any error .. but when i m gonna start ( ./startPIA ) it gives an error ..
Attempting to start WebLogic Server PIA
No activity will be logged to this window.
Server activity will be logged to /....../pt849/webserv/peoplesoft/servers/PIA/logs/PIA_*
PID for WebLogic Server PIA is: 5162
PIA_stderr.log report
Unrecognized option: -jrockit
Could not create the Java virtual machine.
can you please guide the solution that can help me to resolve this error ..
Thanx ..Configuring Domains to Use the Latest Version of JRockit
If you are using the JRockit SDK, after you install an upgrade patch or run an Upgrade installer, Oracle recommends that you upgrade your domains to use the latest production version of the JRockit SDK. Although the latest version of the JRockit SDK is installed by the upgrade patch or upgrade installer, your domains are not automatically configured to use it.
To configure your domains to use the latest production version of the JRockit SDK, edit the following file:
For Windows:
MW_HOME\domain_location\domains\domain_name\bin\setDomainEnv.cmd
For UNIX:
MW_HOME/domain_location/domains/domain_name/bin/setDomainEnv.sh
Replace all occurrences of the existing JRockit version with the latest production version of the JRockit SDK.
For example, if you are upgrading from WebLogic Server 10.3.2 to WebLogic Server 10.3.3, replace
jrockit_160_14_R27.6.5-32
with
jrockit_160_20_D1.0.1-2119
You can determine the JRockit SDK version number to use for your WebLogic Server version by looking at the JRockit directory name in MW_HOME. The number to use is identical to the directory name. -
Unrecognized option : jrockit
Hi All,
After the upgrade of jdk 1.6.20 to 1.6.35 version, getting unrecognized option jrockit error while starting the admin server.
Please help me on this.
Thanks,
VaraprasadHave you altered in any way your startWebLogic.sh, commEnv.sh (either one) or setDomainEnv.sh scripts? We had issues with customizations previously made that prevented the scripts from auto-detecting the JVM and choosing appropriate flags.
Another option is to forcefully set JAVA_VENDOR=Sun and export JAVA_VENDOR at the start of your startWebLogic.sh or setDomainEnv.sh scripts, to override the automatic JVM settings. You may then need to additionally set memory settings however. -
Unrecognized option: -jrockit (weblogic)
after the jdk upgrade 1.6.20 to 1.6.35 version while starting the admin server getting unrecognized option: -jrockit.
Please help me on this.Ok, it seems that you have used Hot Spot JDK, instead of Jrockit. Please make sure that you have downloaded the correct package for Jrockit.
[EDIT:
JRockit download page -> JRockit Archive Downloads.
Note -> For the latest version of Oracle JRockit 6 visit My Oracle Support
/END EDIT]
Regards,
Mohab -
Ant error - Unrecognized option option_name
This post is for future generations...
After a couple of months oа quite stable work my Ant script has started to fail with the following error
[javac] Unrecognized option: -J-Xmx256m
[javac] Could not create the Java virtual machine.After digging up through a few links (there were not more then a dozen google could find) asking on a couple of forums for any clues on that mystery I was almost sure I would never find how to rectify that error. But finally I got it myself. The problem was that my build.properties file has this:
javac.executable="C:/j2sdk1.4.2_08/bin/java.exe"
instead of this
javac.executable="C:/j2sdk1.4.2_08/bin/javac.exe" - note javac not java
Well, thats pretty much of my problem that was successfully resolvedHi, thanks.
I uninstalled jdk 1.7 and have 1.5 set in as the path variable. My PATH looks like this, C:\Program Files\Java\jdk1.5.0_22\bin;
Java - version in cmd prompt gives this,
C:\setups>java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
Now, when i execute the weblogic jar file using this command,C:\setups>java -d64 -jar wls1035_generic.jar , I get the below error.
Unrecognized option: -d64
Could not create the Java virtual machine. -
Help! I 'm using an old G4 powerbook, Mac OSX 10.5.8, iTunes ver 10. I have multiple iTunes libraries on an external drive. Everything was fine for a while, then all of the iTunes library files, i.e. iTunes Library.itl, xml, itdb, artwork folder, Media folder, etc mysteriously disappeared! Only the music files remain (thank god) So now when I start iTunes w/option key to choose a library, I can't choose any of them because iTunes won't recognize them. Because all the library stuff is missing. So can I re-create the library files? (I don't care if I lose my ratings)
Or should I create a new empty library on the external drive, then manually move all the music files to the Media folder in the new library?
I tried some stupid ideas like creating a new library just to start iTunes, then going into prefs and advanced, then under iTunes Media folder location, selecting the location of the old library on the external, to see if iTunes would then find all the music which is still there, but no workee.
I'm out of ideas, and I searched the archives.
Help! anyone?
ScottI don't know if this is me adding files to iTunes when the external wasn't connected
it is.
is it OK to just keep deleting that library on the Air?
i wouldn't - at least not until i
mount the external
point iTunes media folder location back to the external via preferences > advanced
consolidate my library via file > library > organize library
The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive. -
Applications Start Page Profile Option Causing Issues
Hello Oracle Gurus,
I'm having an issue in a 12.1.3 instance that I think may be related to the "Applications Start Page" profile option.
For testing purposes, we set the profile to a specific Self-Service page at the Site level. We eventually removed the Site level profile and added it at the user level just for specific users, but since the Site-level profile was set, every time we click the Home link in the upper right-hand navigation, we get an "unexpected error." If we attempt to log in as a user that does not have the Applications Start Page profile defined, we also get an unexpected error.
After getting the error using either of the methods listed above, if we then try to navigate back to the login page, the instance throws a 500 Internal Error.
If we close the browser and navigate to the instance again, we're able to log in without any issues with user accounts that have an Applications Start Page profile defined.
Our "Self Service Personal Framework Mode" is set to "Framework Only" at the site level.
Bouncing Apache seems to resolve the issue temporarily, but then it comes back again a few hours later...
We've opened a Service Request, but has anyone else run into this before / have any ideas on how to fix it?
Here are some related Metalink notes from 11.5.10:
729375.1 (About the Applications Start Page profile option)
331814.1 (Error on Personal Home Page when returning to 'Home' link)
Thanks!
AnneThe issue is not specific to a responsibility or application.
Here is the error:
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.1.0.7.0 - Production
Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
Time: 27-JAN-2011 09:46:02
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=172.30.31.107)(PORT=1502))
Thu Jan 27 09:53:30 2011
Incremental checkpoint up to RBA [0x42.e3635.0], current log tail at RBA [0x42.e37e1.0]
Thu Jan 27 10:13:31 2011
Incremental checkpoint up to RBA [0x42.e602b.0], current log tail at RBA [0x42.e6146.0]
Thu Jan 27 10:33:33 2011
Incremental checkpoint up to RBA [0x42.e7bc9.0], current log tail at RBA [0x42.e7d51.0]
Thu Jan 27 10:53:35 2011
Incremental checkpoint up to RBA [0x42.e995f.0], current log tail at RBA [0x42.e9ac9.0]
Thu Jan 27 11:13:37 2011
Incremental checkpoint up to RBA [0x42.ec163.0], current log tail at RBA [0x42.ec3f7.0]
Thu Jan 27 11:23:48 2011
Starting background process CJQ0
Thu Jan 27 11:23:48 2011
CJQ0 started with pid=8, OS id=17239
Thu Jan 27 11:33:39 2011
Incremental checkpoint up to RBA [0x42.ee08f.0], current log tail at RBA [0x42.ee216.0]
Thu Jan 27 11:53:41 2011
Incremental checkpoint up to RBA [0x42.efd07.0], current log tail at RBA [0x42.eff13.0]
Thu Jan 27 11:54:02 2011
Stopping background process CJQ0
Thu Jan 27 12:13:43 2011
Incremental checkpoint up to RBA [0x42.f25c0.0], current log tail at RBA [0x42.f2e4b.0]
Thu Jan 27 12:33:45 2011
Incremental checkpoint up to RBA [0x42.f4cae.0], current log tail at RBA [0x42.f4e4b.0]
Thu Jan 27 12:53:47 2011
Incremental checkpoint up to RBA [0x42.f6e8a.0], current log tail at RBA [0x42.f6fb7.0]
Thu Jan 27 13:13:50 2011
Incremental checkpoint up to RBA [0x42.fa3d0.0], current log tail at RBA [0x42.fa845.0]
Thu Jan 27 13:33:52 2011
Incremental checkpoint up to RBA [0x42.fc7d9.0], current log tail at RBA [0x42.fc989.0]
Thu Jan 27 13:53:55 2011
Incremental checkpoint up to RBA [0x42.fed4e.0], current log tail at RBA [0x42.ff12e.0] -
[SOLVED] sed: unrecognized option '--follow-symlinks'
I tried to build AUR package linuxcnc-sim and I got this error:
sed: unrecognized option '--follow-symlinks'
I thought that my sed command is outdated, so I tried to update it:
[ziga@Ziga-laptop linuxcnc]$ sudo pacman -Syy
:: Synchronizing package databases...
core 120.1 KiB 125K/s 00:01 [##############################################] 100%
extra 1793.4 KiB 191K/s 00:09 [##############################################] 100%
community 2.5 MiB 384K/s 00:07 [##############################################] 100%
multilib 123.9 KiB 1239K/s 00:00 [##############################################] 100%
[ziga@Ziga-laptop linuxcnc]$ sudo pacman -S sed
warning: sed-4.2.2-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) sed-4.2.2-3
Total Installed Size: 0.76 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
What I discovered was, that my sed command already is the newest version... does anyone have an idea what is wrong?
If I use man sed I get user manual where it says that unrecognized option '--follow-symlinks' is supported:
SED(1) User Commands SED(1)
NAME
sed - stream editor for filtering and transforming text
SYNOPSIS
sed [OPTION]... {script-only-if-no-other-script} [input-file]...
DESCRIPTION
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input
from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making
only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline
which particularly distinguishes it from other types of editors.
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
Last edited by 71GA (2015-02-13 07:14:59)This could really be it. And my PATH is really weird - some inputs are doubled:
PATH=/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin
I modify my PATH at startup using ~/.bashrc
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export PATH=${PATH}:/opt/ARM/cs_lite/bin
export PATH=${PATH}:/opt/ARM/unsimgcr
export PATH=${PATH}:/opt/ARM/ds/bin
source /opt/ARM/eldk/eldk_init arm
What am I doing wrong in the .bashrc ?
Last edited by 71GA (2015-02-13 06:21:23)
Maybe you are looking for
-
Not able to pass cyclic XML schema type to a webservice method
I have a webservice method called getData(GetDataDocument gDoc). I constructed a request with object (which exactly satisfy the XML schema def) to call up the getData(). [From my java client also I did the same; but the java classes have been generat
-
Mentre usavo sony vegas pro 11 lo schermo del PC è diventato nero e poi e tornato normale ed è venuta la scritta driver grafico ripristinato e poi il PC si è riavviato e ora mi da lo schermo nero e si vede solo il puntatore del mouse per favore potet
-
How can I customized alert method
Normally alert is shown with ok and cancel how can I show ok and cancel instead?
-
Error when create XMLType object with JDBC connection
Hello, I try to get an XMLType object with JDBC, but it doesn't work. Can somebody help me? My code is : Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@"+"a02w03:1521:PROJET", "scott
-
Hi All, I've noticed that the logo on my TV (#32C100U1) does not light up and on just about everything that I've seen (Toshiba advertisiing, various websites, etc.) it appears to be on. I'm not sure if it is suppose to illuminate when the TV is power