Sponsored Content
Top Forums Programming Solr--Basic Example execution error Post 302912412 by Scrutinizer on Friday 8th of August 2014 04:36:28 AM
Old 08-08-2014
There appears to be a typo ? locahost should be localhost .
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Basic Error

#!/bin/sh read a if ; then echo "ur good"; else echo "ur bad" exit fi I am getting the following error! /home/xyz/scripts >help.sh apple help.sh: [apple: not found. ur bad can i know what would be the wrong in my script (3 Replies)
Discussion started by: gkrishnag
3 Replies

2. UNIX for Dummies Questions & Answers

basic question about error report in AIX

Hello everybody, iam new to unix. here is a question i had. when i run errpt -a , sample out put is as follows LABEL: FCP_ARRAY_ERR4 IDENTIFIER: D5385D18 Date/Time: Mon Sep 25 11:15:59 Sequence Number: 182869 Machine Id: 000166784C00 Node Id: ... (0 Replies)
Discussion started by: karthikosu
0 Replies

3. Shell Programming and Scripting

error during the execution of script

Hi, I have a cron job which executes daily once 9 PM. The script is like if then TYPE=OC elif then TYPE=i elif then TYPE=mmc elif then TYPE=CB elif then TYPE=oth fi (1 Reply)
Discussion started by: surjyap
1 Replies

4. Ubuntu

Solr Documentation NEEDED | Solr 1.4 on Ubuntu 10.04 LTS

I have Solr 1.4 running on Tomcat6 installed in an Ubuntu 10.04 LTS openVZ container. I am looking for documentation on Solr. I need to know where Solr and Tomcat do their logging by default when installed from the standard Ubuntu apt repo. I would like to know more about both technologies but Solr... (0 Replies)
Discussion started by: Druonysus
0 Replies

5. Shell Programming and Scripting

Basic question on shell script execution

I have two shell scripts in the different directories listed below, /root/dev/dir1/test.sh /root/dev/dir2/master.sh I am executing the master.sh script from the test.sh like below and getting 'Permission denied' error. #! /bin/sh #test.sh path='/root/dev' $path/dir2/master.sh But it... (2 Replies)
Discussion started by: vel4ever
2 Replies

6. UNIX for Dummies Questions & Answers

Execution Error!

I am having output in this format.. -rw-r--r-- 1 root root 20 Jan 01 14:32 abc.txt -rw-r--r-- 1 root root 40 Jan 01 14:32 abcd.txt -rw-r--r-- (9 Replies)
Discussion started by: bhargav456
9 Replies

7. Shell Programming and Scripting

Bash on Fedora error on basic script

I am not able to execute bash script on Fedora. They were running on another environment. This is a sample script: #!/usr/bin/bash input="./data/heu/hout1" i=1 j=0 while IFS= read -r file1 do #Some code here done < "$input" #echo $j I get an error: bash: s.sh: command not... (3 Replies)
Discussion started by: ngabrani
3 Replies
MAXDB_CONNECT_ERRNO(3)							 1						    MAXDB_CONNECT_ERRNO(3)

maxdb_connect_errno - Returns the error code from last connect call

SYNOPSIS
int maxdb_connect_errno (void ) DESCRIPTION
The maxdb_connect_errno(3) function will return the last error code number for last call to maxdb_connect(3). If no errors have occurred, this function will return zero. RETURN VALUES
An error code value for the last call to maxdb_connect(3), if it failed. zero means no error occurred. EXAMPLES
Example #1 maxdb_connect_errno sample <?php $link = maxdb_connect("localhost", "XXXXXXXX", "YYYYYYYYY"); if (!$link) { printf("Can't connect to localhost. Errorcode: %d ", maxdb_connect_errno()); } ?> The above example will output something similar to: PHP Warning: maxdb_connect(): -4008 POS(1) Unknown user name/password combination [08004] <...> Can't connect to localhost. Errorcode: -4008 SEE ALSO
maxdb_connect(3), maxdb_connect_error(3), maxdb_errno(3), maxdb_error(3), maxdb_sqlstate(3). PHP Documentation Group MAXDB_CONNECT_ERRNO(3)
All times are GMT -4. The time now is 12:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy