centos 6 yum issues installing patches - centos6

Package 6:oraclelinux-release-6Server-7.0.6.x86_64 is obsoleted by centos-release-6-6.el6.centos.12.2.x86_64 which is already installed
--> Processing Dependency: /etc/oracle-release for package: initscripts-9.03.49-1.0.1.el6_7.3.x86_64
Package 6:oraclelinux-release-6Server-7.0.6.x86_64 is obsoleted by centos-release-6-6.el6.centos.12.2.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: libreport-2.0.9-25.el6.centos.i686 (updates)
Requires: libreport-filesystem = 2.0.9-25.el6.centos
Available: libreport-filesystem-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-15.0.1.el6
Available: libreport-filesystem-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-15.0.1.el6_4.1
Available: libreport-filesystem-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-19.0.1.el6
Available: libreport-filesystem-2.0.9-21.0.1.el6.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-21.0.1.el6
Available: libreport-filesystem-2.0.9-21.0.1.el6_6.1.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-21.0.1.el6_6.1
Available: libreport-filesystem-2.0.9-24.el6.centos.x86_64 (base)
libreport-filesystem = 2.0.9-24.el6.centos
Available: libreport-filesystem-2.0.9-24.0.1.el6.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-24.0.1.el6
Available: libreport-filesystem-2.0.9-25.el6.centos.x86_64 (updates)
libreport-filesystem = 2.0.9-25.el6.centos
Installing: libreport-filesystem-2.0.9-25.0.1.el6_7.x86_64 (ol6_latest)
libreport-filesystem = 2.0.9-25.0.1.el6_7
Error: Package: libreport-2.0.9-25.el6.centos.i686 (updates)
Requires: libreport-plugin-reportuploader = 2.0.9-25.el6.centos
Removing: libreport-plugin-reportuploader-2.0.9-21.el6.centos.x86_64 (#base)
libreport-plugin-reportuploader = 2.0.9-21.el6.centos
Updated By: libreport-plugin-reportuploader-2.0.9-25.0.1.el6_7.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-25.0.1.el6_7
Available: libreport-plugin-reportuploader-2.0.5-20.0.1.el6.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.5-20.0.1.el6
Available: libreport-plugin-reportuploader-2.0.9-5.0.1.el6.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-5.0.1.el6
Available: libreport-plugin-reportuploader-2.0.9-5.0.1.el6_3.2.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-5.0.1.el6_3.2
Available: libreport-plugin-reportuploader-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-15.0.1.el6
Available: libreport-plugin-reportuploader-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-15.0.1.el6_4.1
Available: libreport-plugin-reportuploader-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-19.0.1.el6
Available: libreport-plugin-reportuploader-2.0.9-21.0.1.el6.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-21.0.1.el6
Available: libreport-plugin-reportuploader-2.0.9-21.0.1.el6_6.1.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-21.0.1.el6_6.1
Available: libreport-plugin-reportuploader-2.0.9-24.el6.centos.x86_64 (base)
libreport-plugin-reportuploader = 2.0.9-24.el6.centos
Available: libreport-plugin-reportuploader-2.0.9-24.0.1.el6.x86_64 (ol6_latest)
libreport-plugin-reportuploader = 2.0.9-24.0.1.el6
Available: libreport-plugin-reportuploader-2.0.9-25.el6.centos.x86_64 (updates)
libreport-plugin-reportuploader = 2.0.9-25.el6.centos
Error: Package: libreport-2.0.9-25.el6.centos.i686 (updates)
Requires: libreport-python = 2.0.9-25.el6.centos
Removing: libreport-python-2.0.9-21.el6.centos.x86_64 (#base)
libreport-python = 2.0.9-21.el6.centos
Updated By: libreport-python-2.0.9-25.0.1.el6_7.x86_64 (ol6_latest)
libreport-python = 2.0.9-25.0.1.el6_7
Available: libreport-python-2.0.5-20.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.5-20.0.1.el6
Available: libreport-python-2.0.9-5.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-5.0.1.el6
Available: libreport-python-2.0.9-5.0.1.el6_3.2.x86_64 (ol6_latest)
libreport-python = 2.0.9-5.0.1.el6_3.2
Available: libreport-python-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-15.0.1.el6
Available: libreport-python-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
libreport-python = 2.0.9-15.0.1.el6_4.1
Available: libreport-python-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-19.0.1.el6
Available: libreport-python-2.0.9-21.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-21.0.1.el6
Available: libreport-python-2.0.9-21.0.1.el6_6.1.x86_64 (ol6_latest)
libreport-python = 2.0.9-21.0.1.el6_6.1
Available: libreport-python-2.0.9-24.el6.centos.x86_64 (base)
libreport-python = 2.0.9-24.el6.centos
Available: libreport-python-2.0.9-24.0.1.el6.x86_64 (ol6_latest)
libreport-python = 2.0.9-24.0.1.el6
Available: libreport-python-2.0.9-25.el6.centos.x86_64 (updates)
libreport-python = 2.0.9-25.el6.centos
Error: Package: initscripts-9.03.49-1.0.1.el6_7.3.x86_64 (ol6_latest)
Requires: /etc/oracle-release
Available: 6:oraclelinux-release-6Server-0.0.5.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-1.0.2.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-2.0.2.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-3.0.2.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-4.0.4.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-5.0.2.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-6.0.2.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-7.0.5.x86_64 (ol6_latest)
Not found
Available: 6:oraclelinux-release-6Server-7.0.6.x86_64 (ol6_latest)
Not found
Error: Package: libreport-2.0.9-25.el6.centos.i686 (updates)
Requires: libreport-compat = 2.0.9-25.el6.centos
Removing: libreport-compat-2.0.9-21.el6.centos.x86_64 (#base)
libreport-compat = 2.0.9-21.el6.centos
Updated By: libreport-compat-2.0.9-25.0.1.el6_7.x86_64 (ol6_latest)
libreport-compat = 2.0.9-25.0.1.el6_7
Available: libreport-compat-2.0.9-15.0.1.el6.x86_64 (ol6_latest)
libreport-compat = 2.0.9-15.0.1.el6
Available: libreport-compat-2.0.9-15.0.1.el6_4.1.x86_64 (ol6_latest)
libreport-compat = 2.0.9-15.0.1.el6_4.1
Available: libreport-compat-2.0.9-19.0.1.el6.x86_64 (ol6_latest)
libreport-compat = 2.0.9-19.0.1.el6
Available: libreport-compat-2.0.9-21.0.1.el6.x86_64 (ol6_latest)
libreport-compat = 2.0.9-21.0.1.el6
Available: libreport-compat-2.0.9-21.0.1.el6_6.1.x86_64 (ol6_latest)
libreport-compat = 2.0.9-21.0.1.el6_6.1
Available: libreport-compat-2.0.9-24.el6.centos.x86_64 (base)
libreport-compat = 2.0.9-24.el6.centos
Available: libreport-compat-2.0.9-24.0.1.el6.x86_64 (ol6_latest)
libreport-compat = 2.0.9-24.0.1.el6
Available: libreport-compat-2.0.9-25.el6.centos.x86_64 (updates)
libreport-compat = 2.0.9-25.el6.centos
my cent os 6 yum is not able to install any patches. Can some one please advise on how to proceed. I am not sure what the issue is and how to proceed. when i do sudo yum update I get the below.
Thank you

I had a similar problem and i resolved the problem in the way that i disable the oracle linux repos under /etc/yum.repos.d/
I have this solution form an older port on the centos forum
https://www.centos.org/forums/viewtopic.php?f=14&t=46762
good luck,
duderoot

Related

hostdef extension doesn't exist oracle 11g

Hi i need help with this error:
hostdef extension doesn't exist oracle 11g which i get when i am trying to connect to database. i have tried to:
1. restart XE Listener
2. ORACLE_HOME and ORACLE_SID are correctly set.
i have found that this is due to real memory but did not find how to liberate it in windows, i found that in unix one can use ipcrm command.
SID_LIST_LISTENER =(SID_LIST =
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
))
XE=(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = MACHINE_NAME)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
DEFAULT_SERVICE_LISTENER = (XE)
Any ideas please?

Error in curlOptions(..., .opts = .opts) : unnamed curl option(s):

When I use the below command
curlPerform(url = "Intranet URL Here",getURL("Intranet URL Here",userpwd = "USERID:PASSWORD",cainfo=system.file("CurlSSL","cacert.pem",package="RCurl")),
httpheader = headerfields,postfields = body,writefunction = reader$update)
I am getting the error message as mentioned below.
Error in curlOptions(..., .opts = .opts) : unnamed curl option(s): HTTP/1.1 404 Not Found
Page not foundPage not found
Could you please suggest me on this error. Thanks in advance.
I have used curl as below
reader = basicTextGatherer()
curl = getCurlHandle()
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"), followlocation = TRUE, httpheader = c(Accept = "text/xml",Accept = "multipart/*",'Content-Type' = "text/xml; charset=utf-8",SOAPAction="INTRANET URL"), userpwd = "USERID:PASSWORD", netrc = TRUE,timeout = 100, postfields = SOAP DETAILS, writefunction = reader$update, verbose=TRUE, curl = curl))
response <- getURL("INTRANET URL", curl=curl)

Doxygen does not generate callgraphs in LaTeX

I have the weird issue, that Doxygen creates all the callgraphs and puts them correctly in my HTML File, but there is no Graph whatsoever in my LaTeX sheet.
Attached you find the relevant Information.
Thanks for helping me out =)
Language: C;
Doxyfile:
# Doxyfile 1.4.5
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = BA16_sbrw_1
PROJECT_NUMBER = "Version 1.0"
OUTPUT_DIRECTORY = C:/Users/Daan/workspace_v6_1/PM_Sensorless
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = German
USE_WINDOWS_ENCODING = YES
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = "C:/Program Files (x86)/doxygen/bin/"
STRIP_FROM_INC_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = NO
BUILTIN_STL_SUPPORT = NO
DISTRIBUTE_GROUP_DOC = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
HIDE_UNDOC_MEMBERS = YES
HIDE_UNDOC_CLASSES = YES
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = NO
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
SHOW_DIRECTORIES = NO
FILE_VERSION_FILTER =
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = C:/Users/Daan/workspace_v6_1/PM_Sensorless
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.d \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.mm \
*.dox \
*.py
RECURSIVE = NO
EXCLUDE = C:/Users/Daan/workspace_v6_1/PM_Sensorless/PM_Sensorless-DevInit_F2803x.c
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_PATTERNS =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = YES
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = YES
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = YES
USE_PDFLATEX = YES
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = NO
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = YES
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
GROUP_GRAPHS = YES
UML_LOOK = YES
TEMPLATE_RELATIONS = YES
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
DOT_PATH = "C:/Program Files (x86)/Graphviz2.38/bin"
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = NO
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

No mechanism available

I'm trying to setup a mail server. I followed this guide:
http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-12.10
Everything works with squirrelmail, i can send and receive emails. When i try to connect to the server with outlook, it connects fine, i can receive emails, but i can not send them.
I tried sending via telnet:
EHLO ***
AUTH LOGIN
334 VXNlcm5hbWU6
my64bitEncodedUsername
334 UGFzc3dvcmQ6
my64bitEncodedPass
535 5.7.8 Error: authentication failed: no mechanism available
In /var/log/mail.log i get ony this line:
postfix/smtpd[19421]: warning: *****[*******]: SASL LOGIN authentication failed: no mechanism available
My /etc/postfix/sasl/smtpd.conf file:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: ****
sql_passwd: ****
sql_database: mail
sql_select: select password from users where email = '%u#%r'
postconf -n output:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
debug_peer_level = 3
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = *****, localhost, localhost.localdomain
myhostname = ******
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = no
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
To add in main.cf:
smtpd_sasl_type = cyrus
cyrus_sasl_config_path = /etc/postfix/sasl/
and then restart postfix
Under Ubuntu 14.04, this solved it for me:
apt-get install libsasl2-modules
check out this: http://bit.ly/1lgj1tf might be of help, it helped me though. for shortcut,
type:
smtpd_sasl_type = cyrus
cyrus_sasl_config_path = /etc/postfix/sasl/
restart postfix

Oracle XE stopped working. TNS listener refused connection

I'm working on an application which uses Oracle XE 11g as its RDBMS. It was working for several weeks but now I started to get an error message about the connection being refused.
I restarted my system but it did not help. I uninstalled XE, deleted all remaining files (even from registry) and reinstalled it. Now I get another error message:
Listener refused the connection with the following error: ORA-12505,
TNS:listener does not currently know of SID given in connect
descriptor
I've read about this error and others suggested adding a new SID to the listener.ora file:
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
)
If I do this I get another error message:
ORA-01034: ORACLE not available ORA-27101: shared memory realm does
not exist
My configuration files are:
listener.ora
SID_LIST_LISTENER = (SID_LIST =
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
) )
LISTENER = (DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = AAROLD.in.mycompany.com)(PORT = 1521))
) )
DEFAULT_SERVICE_LISTENER = (XE)
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = AAROLD.in.mycompany.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
lsnrctl status returns with:
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 19-M┴RC. -2013 15:12:24
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Start Date 19-M┴RC. -2013 15:01:12
Uptime 0 days 0 hr. 11 min. 11 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\AAROLD\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=AAROLD.in.mycompany.com)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Do you have any idea what can be the problem? I'm not an Oracle expert so I'm completely in the dark here.
I had the exact same problem and after spending almost 4 hours trying to find and answer, finally adding
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
)
to my listener.ora and restarting both XE services solved the issue. I am using 11.2.0 (XE) on windows 7 x64 with out any hitch till yesterday. A reboot of my PC this morning caused the listener to not find the SID.
Now I am backing up both listener.ora and tnsnames.ora.
btw, forgot to mention I changed the hostname in both the files from bob.mycompany.com to localhost.
On Windows 7 64 bit, Orcale XE 11
my OracleXXETNSListener service was not running and did terminate immediately when I tried to start it.
Adding
(SID_DESC = (SID_NAME = XE) (ORACLE_HOME =
C:\oraclexe\app\oracle\product\11.2.0\server) )
to my
C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
changing the hostname to localhost
restarting the OracleServiceXE service under System - Services solved the issue.
So the complete listener.ora section looks like:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\servers\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\servers\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\servers\oraclexe\app\oracle\product\11.2.0\server)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
Update:
Now it is 5 years later and I had the same issue with OracleXE 18c on Win10. The TNS listener would not start right after successful installation because oracleXE\dbhomeXE\NETWORK\ADMIN\listener.ora
was pointing to localhost.docker.internal instead of localhost.
I had a similar problem, and I fixed it by removing the "IPC" lines from both listener.ora and tnsnames.ora.
On listener.ora, I removed:
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
On tnsnames.ora, I removed:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
It may have been a overkill, but it's finally fixed, after several hours!
Your Oracle DB is down. It may have some problem starting up.
Go to command prompt and type:
SQL>sqlplus / as sysdba
If you get a message "connected to an idle instance" then type
SQL>startup
and let me know the message you get. If you don't get the "connected to an idle instance" message on SqlPlus startup, the type:
SQL>set lines 80 pages 50
SQL>select * from v$database;
and post the output here.
I had the same problem, the error was I have changed the name of my machine . This was solved by editing listener.ora and renaming the HOST:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname_of_my_machine)(PORT = 1521))
)
)

Resources