search for: errmsg

Displaying 20 results from an estimated 178 matches for "errmsg".

2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
...A vector of strings that are passed to the ///< program. The first element should be the name of the program. @@ -120,7 +120,7 @@ namespace sys { ///< higher limit, the child is killed and this call returns. If zero - ///< no memory limit. std::string* ErrMsg = 0 ///< If non-zero, provides a pointer to a string - ///< instance in which error messages will be returned. If the string + ///< instance in which error messages will be returned. If the string ///< is non-empty upon return an error occurred while invoking the...
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...AndWait(const Path& path, } -void +Program::ProcessID Program::ExecuteNoWait(const Path& path, const char** args, const char** envp, @@ -285,36 +285,36 @@ Program::ExecuteNoWait(const Path& path, if (!path.canExecute()) { if (ErrMsg) *ErrMsg = path.toString() + " is not executable"; - return; + return 0; } // Create a child process. - int child = fork(); + ProcessID child = fork(); switch (child) { // An error occured: Return to the caller. case -1: MakeErrMsg(ErrMsg, &quot...
2011 Feb 12
8
CentOS 64 bit php 5.2 huge problem
Hello, i am getting the following error in CentOS 64 bit with php 5.2 I cant get mysql functionality running and the ioncube loader Please help, i am very desperate Here is my output: [root at host ~]# php -v Failed loading /usr/local/ioncube/ioncube_loader_lin_5.1.so: /usr/local/ioncube/ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex PHP Warning: PHP
2009 Jul 17
0
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
...> -void > +Program::ProcessID >  Program::ExecuteNoWait(const Path& path, >                        const char** args, >                        const char** envp, > @@ -285,36 +285,36 @@ Program::ExecuteNoWait(const Path& path, >   if (!path.canExecute()) { >     if (ErrMsg) >       *ErrMsg = path.toString() + " is not executable"; > -    return; > +    return 0; >   } > >   // Create a child process. > -  int child = fork(); > +  ProcessID child = fork(); >   switch (child) { >     // An error occured:  Return to the caller. &g...
2019 Apr 08
0
[PATCH v4 3/7] v2v: switch to ocaml-libvirt
...ta); - } -} - -virStoragePoolPtr -connect_and_load_pool (value connv, value poolnamev) -{ - CAMLparam2 (connv, poolnamev); - const char *conn_uri = NULL; - const char *poolname; - /* We have to assemble the error on the stack because a dynamic - * string couldn't be freed. - */ - char errmsg[ERROR_MESSAGE_LEN]; - virErrorPtr err; - virConnectPtr conn; - virStoragePoolPtr pool; - - if (connv != Val_int (0)) - conn_uri = String_val (Field (connv, 0)); /* Some conn */ - - /* We have to call the default authentication handler, not least - * since it handles all the PolicyKit crap...
2015 May 05
2
[PATCH 0/2] v2v: -o libvirt: Check if the domain exists on the target (RHBZ#889082).
https://bugzilla.redhat.com/show_bug.cgi?id=889082
2017 Sep 08
2
[PATCH] RFC: v2v: add and use libvirt connection objects
...tion handler, not least - * since it handles all the PolicyKit crap. However it also makes - * coding this simpler. - */ - conn = virConnectOpenAuth (conn_uri, virConnectAuthPtrDefault, - VIR_CONNECT_RO); - if (conn == NULL) { - if (conn_uri) - snprintf (errmsg, sizeof errmsg, - _("cannot open libvirt connection ‘%s’"), conn_uri); - else - snprintf (errmsg, sizeof errmsg, _("cannot open libvirt connection")); - caml_invalid_argument (errmsg); - } - - /* Suppress default behaviour of printing errors to stderr...
2010 Nov 02
1
SFTP subsystem and umask
...ftp-server or internal-sftp subsystem is not working correctly. For openssh-5.6p1 I believe that the problem lies in this code, starting at line 1414 in sftp-server.c: ---------------------------------------------------------- case 'u': mask = (mode_t)strtonum(optarg, 0, 0777, &errmsg); if (errmsg != NULL) fatal("Invalid umask \"%s\": %s", optarg, errmsg); (void)umask(mask); break; ---------------------------------------------------------- I think that adherence to strtonum() in this instance causes...
2017 Nov 23
2
Bug in R CMD INSTALL when handling invalid LazyData DESCRIPTION field
...When it tries to parse a DESCRIPTION file with an invalid LazyData field, it errors out while trying to print the correct error message: > R CMD INSTALL . * installing to library ?/home/example/R/x86_64-pc-linux-gnu-library/3.4? * installing *source* package ?samplepackage? ... ** data Error in errmsg("invalid value of ", field, " field in DESCRIPTION") : could not find function "errmsg" * removing ?/home/example/R/x86_64-pc-linux-gnu-library/3.4/samplepackage? It should instead be using that errmsg() function to print the more helpful error message: "inval...
2007 May 29
0
Fw: [RFC] makedumpfile: xen extraction
...- 1)); + + return entry; +} + +int +get_xen_info_ia64(struct DumpInfo *info) +{ + unsigned long xen_start, xen_end, xen_heap_start; + int i; + + info->frame_table_vaddr = VIRT_FRAME_TABLE_ADDR; /* "frame_table" is same value */ + + if (SYMBOL(xenheap_phys_end) == NOT_FOUND_SYMBOL) { + ERRMSG("Can''t get the symbol of xenheap_phys_end.\n"); + return FALSE; + } + if (!readmem_xen(info, SYMBOL(xenheap_phys_end), &xen_end, + sizeof(xen_end), "Can''t get the value of xenheap_phys_end.\n")) + return FALSE; + + if (SYMBOL(xen_pstart) == NOT_FOUN...
2007 Oct 11
3
finding mysql.h & errmsg.h on CentOS?
...database server is either not yet supported, or was not found on your system. ************************************************ Someone else (http://tinyurl.com/2jnef8) suggested modding the config.h file in order to eliminate that command CHANGE #include <mysql/mysql.h> #include <mysql/errmsg.h> TO #include </usr/local/mysql/include/mysql/mysql.h> #include </usr/local/mysql/include/mysql/errmsg.h> However, when I looked for mysql.h (e.g. "locate mysql.h") I couldn't find find them (maybe b/c I installed from package?). What might I need to do in order to...
2006 Oct 05
0
[Bug 521] New: [patch] - some changes to runme script
...oreach my $pf (@dents) { @@ -494,7 +494,6 @@ my $ver; my $oldpwd; - next if $pf =~ /^(\.|CVS$)/; if ($pf =~ /\.patch/) { # Patch file of a project: @@ -820,22 +819,22 @@ print "patch output was:\n$patch_output\n"; } if ($missing_files != 0) { - $self->{ERRMSG} .= "cannot apply ($missing_files missing files)\n"; + $self->{ERRMSG} .= "cannot apply $patchfile: ($missing_files missing files)\n"; return 0; # } elsif ($rejects*2 > $hunks) { } elsif ($rejects != 0) { - $self->{ERRMSG} .= "cannot apply ($reje...
2003 Aug 13
5
Can't compile cdr_mysql
I'm trying to compile the cdr_mysql module, but I am receiving error messages. I have installed mysql-devel. Here is the output of make cdr_mysql: cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -c -o cdr_mysql.o cdr_mysql.c cdr_mysql.c:30:26: mysql/errmsg.h: No such file or directory cdr_mysql.c: In function `mysql_log': cdr_mysql.c:74: `CR_SERVER_GONE_ERROR' undeclared (first use in this function) cdr_mysql.c:74: (Each undeclared identifier is reported only once cdr_mysql.c:74: for each function it appears in.) make: *** [cdr_mysql.o] Erro...
2006 Feb 20
1
Improved diagnostics patch
Hi, all -- Here's a small patch that gives better diagnostics on the daemon side if it fails to start up due to inability to create or bind the socket. Presently, it gives a log entry indicating that no sockets could be bound, but crucially does *not* have the system error message (i.e. errno) from the failed call, making it difficult or impossible to determine the problem. I do have a
2016 Feb 10
2
Test Failure OpenSSH 7.1 P2 on HPE NSE for key-commands
On February 9, 2016 7:28 PM, Darren Tucker wrote: > To: Randall S. Becker <rsbecker at nexbridge.com> > Cc: OpenSSH Devel List <openssh-unix-dev at mindrot.org> > Subject: Re: Test Failure OpenSSH 7.1 P2 on HPE NSE for key-commands > > On Wed, Feb 10, 2016 at 10:35 AM, Randall S. Becker > <rsbecker at nexbridge.com> wrote: > > Thread split from my
2014 Jun 27
1
Using AuthorizedKeysCommand in unprivileged sshd mode
...requires file to be owned by root, I had to use root owned command at root owned directory, although it does not add a security value. At auth2-pubkey.c::user_key_command_allowed2(), we have the following: if (auth_secure_path(options.authorized_keys_command, &st, NULL, 0, errmsg, sizeof(errmsg)) != 0) { error("Unsafe AuthorizedKeysCommand: %s", errmsg); goto out; } This enforce root uid explicitly (arg#4). Will it be acceptable to use geteuid() instead of 0, to allow unprivileged process to apply its own? Or add sshd_conf...
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
..." + +/* constants */ +enum { + MULTI_PGSQL_POOL = 512, + MULTI_PGSQL_XACT_POOL = 1024, + + TIMEOUT_UNIT = 1000, + + RECONNECT_DELAY = 5 * TIMEOUT_UNIT, + USER_QUERY_LIFETIME = 60, + + PGC_IO_TIMEOUT = 20, + MIN_QUERY_TIMEOUT = 10 +}; + +/** general helper routines */ +static char *kill_pg_errmsg_newline(char *s) +{ + char *r; + unsigned c; + + r = s; + while ((c = *r) && c != '\n') ++r; + if (c) *r = 0; + + return s; +} + +/** error result */ +struct multi_pgsql_error_result { + struct sql_result api; + char *msg; +}; + +static void error_result_free(struct sql_result *r)...
2007 Jul 05
2
[LLVMdev] PATCH (rest of code changes) "bytecode" --> "bitcode"
Here is the bulk of the sanitizing. My residual doubts center around the question whether we still do/want to support (un)compressed *byte*code in 2.0/2.1. I need a definitive word on this to proceed. My understanding is that bytecode is already gone, but there are still some functions/enums that really deal with *byte*code (instead of *bit*code). I did not touch those areas, so the attached
2013 Nov 21
1
[LLVMdev] Replacing C-style function
...int mainOfLibrary(void)\n" <<"{\n" <<" return print1();\n" <<"}\n" <<"}\n" ; I compile this into an llvm::Module (say main) correctly and then create and execution engine out of it: std::string errMsg; llvm::ExecutionEngine *ee = llvm::EngineBuilder( main.get() ).setErrorStr( &errMsg ).create(); ASSERT_NE( ee, nullptr )<<"Execution engine is nullptr:"<<errMsg; At this point, I am able to retrieve pointers to all the 3 functions (print1, print2 and mainOfLib...
2007 Jul 19
1
errmsg question
Am seeing: > Jul 19 14:59:19 mercury mail:err|error dovecot: IMAP(jab): dotlock /var/spool/mail/jab.lock was immediately delet > ed under us > Jul 19 14:59:19 mercury mail:err|error dovecot: IMAP(jab): file_lock_dotlock() failed with mbox file /var/spool/m > ail/jab: No such file or directory what does it mean, what should I be doing to alleviate or troubleshoot the problem? -- ====