Undefined ORACLE_HOME In Ubuntu Possibly Due To Locales
Apr 27, 2007
I installed Oracle via aptitude on Ubuntu.
Everytime I try to access a PHP script with Oracle on it, I get this message:
Quote:
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in /path/to/file.php on line 215
This was on PHP 5.
In my attempts to resolve this problem, here is what I did.
I tried the following with oracle-xe running and while it had been stopped:
Code:
$ . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
and I saw this message:
Quote:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
and here is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh:
Code:
103 # Detertmine the LANGUAGE_TERRITORY part of NLS_LANG
104 # we derive it from the current locale by inspecting the LC_ALL and
105 # the LANG environment variable. Other LC_* environment variables
106 # are not inspected.
107 #
108 if [[ -n "$LC_ALL" ]]; then
109 locale=$LC_ALL
110 elif [[ -n "$LANG" ]]; then
111 locale=$LANG
112 else
113 locale=
114 fi
I then opened /etc/bash.bashrc and
tried adding this to the bottom:
Code:
LC_ALL='en_GB'
export LC_ALL
and sourced it but that did not work so I replaced it with this:
Code:
LC_ALL='C'
export LC_ALL
and sourced it but still no luck.
Does anyone know how I could sort this out?
View 1 Replies
ADVERTISEMENT
Jun 17, 2009
one of my clients told me he tried to send an email to somebody and he receives this error:
The addresses to which the message has not yet been delivered are:
a.......u@a.......t.ro
Delay reason: SMTP error from remote mail server after MAIL FROM:<a.......r@i.....s.ro>:
host mail.a.....t.ro [82.77.203.xx]: 451 4.1.8 Possibly forged hostname for 67.222.136.xx
No action is required on your part. Delivery attempts will continue for some time, and this warning may be repeated at intervals if the message remains undelivered. Eventually the mail delivery software will give up, and when that happens, the message will be returned to you.
Last message received on 17.06.2009 at 16:10
Any ideea what might be? he's having this problem only when tries to send an email to that email address, and I'm not sure if it's a problem on our server or on their server
View 13 Replies
View Related
Dec 29, 2007
way to create a VPN tunnel between two ubuntu servers?
Both will be in seperate datacentres but I'd like a secure tunnel so I can setup jobs to backup to one another.
This has to be done on the server level and cannot be done at the router/firewall as I do not have access to this kit.
View 1 Replies
View Related
Feb 22, 2007
My server running mailenable is possibly sending out spam because ive had a returned mail saying my IP is on a blacklist at CBL.
IP Address 64.X.X.10 was found in the CBL.
It was detected at 2007-02-17 13:00 GMT (+/- 30 minutes), approximately 5 days, 5 hours, 30 minutes ago.
However when i checked my smtp and pop logs i only see small ammounts of mail thats been delivered.
When I run the netstat command have the following connections. The ones to the .nl domain looks strange
C:Documents and SettingsAdministrator>netstat
Active Connections
Proto Local Address Foreign Address State
TCP server:telnet server.indis.nl:3409 CLOSE_WAIT
TCP server:telnet server.indis.nl:3410 CLOSE_WAIT
TCP server:epmap dsl10-037.express.oricom.ca:2253 ESTABLISHED
TCP server:1121 ipchicken.com:http CLOSE_WAIT
TCP server:1122 ipchicken.com:http CLOSE_WAIT
TCP server:1136 ipchicken.com:http CLOSE_WAIT
TCP server:1138 ipchicken.com:http CLOSE_WAIT
TCP server:1199 ecostumeshop.com:domain ESTABLISHED
TCP server:telnet server.indis.nl:3326 CLOSE_WAIT
View 2 Replies
View Related
Nov 13, 2008
I went through my error_log and access_log and found out something really peculiar.
I kept getting multiple requests/second for a document that is non existent from different IPs.
From the way I see it, it is a mild DDOS.
access_log
221.208.181.38 - - [13/Nov/2008:03:11:00 -0500] "GET /testtxt.txt HTTP/1.1" 404 2088
218.26.203.79 - - [13/Nov/2008:03:11:00 -0500] "GET /testtxt.txt HTTP/1.1" 404 2088
76.172.156.49 - - [13/Nov/2008:03:11:00 -0500] "GET /testtxt.txt HTTP/1.1" 404 2088 ....
View 8 Replies
View Related
Jan 31, 2009
I am trying to figure out a way to move a site from 1 host to another... The problem is that I don't just have a bunch of HTML files to move... I rented a VPS server for the last year, I believe it was CentOS 5 (OS). I setup several things on the server, MYSQL, FFMPEG, ETC...
I am now wanting to move to a dedicated server HOWEVER I DO NOT WANT TO START ALL OVER AGAIN. The site is rather busy and it is important to do the transition as fast as possible.
SO -- I have used Symantec Ghost before to "clone" a computer before. It basically takes an IMAGE of the entire HD and then you can paste/burn that image on a new HD and it makes a PERFECT copy of the original machine.
BUT - I have NO CLUE how to do this over the internet?
View 7 Replies
View Related
Feb 21, 2007
I've installed Darwin Streaming Server on a brand new server (vps). But, what do you know, the RTSP and MP3 streaming TCP ports are not defined in the etc/services file of the server.
Is this normal? Should I have an issue with the service provider?
View 0 Replies
View Related
Jan 21, 2008
I triad to make restart for my Apache I have this result:
PHP Code:
[root@server ~]# httpd restarthttpd: Syntax error on line 39 of /usr/local/apache/conf/httpd.conf:
Syntax error on line 9 of /usr/local/apache/conf/php.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:
/usr/local/apache/modules/libphp5.so: undefined symbol: xmlTextReaderSchemaValidate
View 1 Replies
View Related
Apr 6, 2009
Has anyone else here installed ffmpeg? I'm almost done getting it setup when I ran into an error which I don't understand. My theory is that I have a version conflict, but I'm not sure how to fix this or what software is conflicting.
Here's the error:
Code:
Warning: Module 'ffmpeg' already loaded in Unknown on line 0
/usr/local/bin/php: symbol lookup error: modules/ffmpeg.so: undefined symbol: avcodec_build
I get this on "make test" for ffmpeg-php-0.5.1. All test's fail.
View 11 Replies
View Related
Feb 4, 2008
I'm trying to use mysqlhotcopy on freebsd 6.1 with mysql 5.0.45, but I'm getting this error when executing it:
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/mysql.so: Undefined symbol "mysql_server_init"
at first, I was having problems compiling DBD-mysql, because mysql.h and mysqld_error.h wasn't on the include dir, so I had to add -I/usr/local/mysql-5.0.45-freebsd6.0-i386/include to cflags (I also tried -I/usr/local/include/mysql , but same happened)
since the error persisted, I changed all references to mysql_server_init (deprecated) to mysql_library_init (same for mysql_server_end -> mysql_library_end)
and the error still persists!
also:
# ldd /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/mysql.so
libz.so => /usr/lib/libz.so (0x28178000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28189000)
libm.so.4 => /lib/libm.so.4 (0x281a1000)
View 0 Replies
View Related
Aug 16, 2008
Fatal error: Call to undefined function: imagettfbbox()
I am getting the above given error message.
View 1 Replies
View Related
Feb 22, 2007
I've been struggling with IIS continuously.
I simply cannot get things to work on it like it's supposed to.
Right now...PHP is running fine...but MySQL won't work.
I've been searching Google for the past 12hours trying to fix this, but it won't budge.
In my "php.ini" file, I enabled the "php_mysql.dll" extension.
I've also tried several other things, but nothing works.
View 3 Replies
View Related
Dec 18, 2014
I've a problem with a plesk load, it d'ont load and show this message with a blank page:
ERROR: Session_Exception: Unable to set up default locale: default locale does not exist or undefined. (Panel.php:65)
how i can fix it?
View 10 Replies
View Related
Mar 30, 2009
I'm getting the following error when I'm trying to access Fantastico from cPanel:
Fatal error: Call to undefined function get_output() in /tmp/cpanel_phpengine.1238461774.28418Q1lWZzC0r_ on line 971
I have safe_mode set to On and shell_exec function disabled. When allowing shell_exec and safe_mode Fantastico is working in this server.
But I have many server where safe_mode set to On and shell_exec function is disabled and Fantastico is running just fine.
View 1 Replies
View Related
Jun 18, 2014
As per title, since few I have this when some php funcion is calling zlib_encode :
PHP Fatal error: Call to undefined function zlib_encode()
I saw that is was a know bug when there are some rewrite rules on .htacccess which is my case [URL] ....
I checked for json as well, and seem to be activated :
json
json support => enabled
json version => 1.2.1
View 1 Replies
View Related
Nov 10, 2014
I have an error that has arisen me for no apparent reason. This error does not allow me to enable or disable DNS domains. I searched for solutions but have not found anything.
The error message is: ERROR: Call to undefined method plesk__client__domain__dns__toggle::_postRequestRequired() (DNSToggleUIPointer.php:26)
And as I said DNS appears when activated or deactivated by the domain from Plesk panel
Version: 11.5.30 #48
View 7 Replies
View Related
Sep 29, 2009
Ubuntu how good it is for hosting platform? also what are its advantages over other os?
View 14 Replies
View Related
Jun 21, 2007
When we chose Symfony to implement [url], PHP 5 was needed but we only had PHP 4 installed in our Ubuntu hosting servers. We couldn¡¯t just migrate everyone to PHP 5 since some of client¡¯s applications were incompatible with PHP 5. Some tutorials were found online explaining how to run PHP 4 and PHP 5 simultaneously such as [url] and [url]but they all used CGI. As you probably know, CGI is not scalable and we needed to scale in PHP4 and PHP5 since we needed to server millions of hits in both configurations. The following are additional the requirements we had:
1. Run Apache
2. Use mod_php for both PHP versions.
3. Run eAccelerator with both PHP versions.
4. Use as many Ubuntu packages as possible to ease maintenance issues and easily deploy on multiple servers.
5. Use Ubuntu 6.06.1 LTS
The solution we came up with was to run Apache 2 with PHP 5 and run Apache 1 with PHP 4 on separate IPs. Ubuntu comes already with these packages. The only package we had to compile was eAccelerator. The following lists the steps taken to get this setup:
Apache 2 with PHP 5
* apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-curl php5-gd php5-mysql php5-dev make php5-mcrypt php5-imap
* vi /etc/php5/cli/php.ini and uncomment extension=mysql.so
* vi /etc/apache2/ports.conf and put Listen Your.IP.Goes.Here:80
* a2enmod expires
* vi /etc/apache2/conf.d/hosting
<VirtualHost *>
DocumentRoot /home/httpd/mainpage
ServerName mainpage.com
ServerAlias www.mainpage.com
Options Includes FollowSymlinks
AddType application/x-httpd-php .php
DirectoryIndex index.php index.html index.htm
</VirtualHost># Cache images and javascripts
ExpiresActive on
ExpiresByType image/gif ¡°access plus 1 week¡±
ExpiresByType image/jpeg ¡°access plus 1 week¡±
ExpiresByType image/png ¡°access plus 1 week¡±
ExpiresByType image/x-icon ¡°access plus 4 week¡±
ExpiresByType application/x-javascript ¡°access plus 4 week¡±
ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡±
* cd /usr/local/src
* wget http://bart.eaccelerator.net/source/...-0.9.5.tar.bz2
* tar xjvf eaccelerator-0.9.5.tar.bz2
* cd eaccelerator-0.9.5/
* phpize5
* ./configure
* make
* make install
* mkdir /var/tmp/{eaccelerator4,eaccelerator5}
* chown www-data /var/tmp/eaccelerator*
* chmod 700 /var/tmp/eaccelerator*
* vi /etc/php5/apache2/php.ini and add the following:
zend_extension=¡±/usr/lib/php5/20051025/eaccelerator.so¡±
eaccelerator.shm_size=¡±0¡å
eaccelerator.cache_dir=¡±/var/tmp/eaccelerator5¡å
eaccelerator.enable=¡±1¡å
eaccelerator.optimizer=¡±1¡å
eaccelerator.check_mtime=¡±1¡å
eaccelerator.debug=¡±0¡å
eaccelerator.filter=¡±"
eaccelerator.shm_max=¡±0¡å
eaccelerator.shm_ttl=¡±0¡å
eaccelerator.shm_prune_period=¡±0¡å
eaccelerator.shm_only=¡±0¡å
eaccelerator.compress=¡±1¡å
eaccelerator.compress_level=¡±9¡å
Apache 1 with PHP 4
* apt-get install libapache-mod-php4 php4-mysql php4-gd apache-ssl apache-common libzzip-0-12 php4-common php4-dev apache
* dpkg-reconfigure apache and uncheck mod_userdir and check mod_php4 and cancel on hostname
* vi /etc/apache/httpd.conf and make sure to add this
Listen Your.SECONDIP.Goes.Here:80
NameVirtualHost *# Cache images and javascripts
ExpiresActive on
ExpiresByType image/gif ¡°access plus 1 week¡±
ExpiresByType image/jpeg ¡°access plus 1 week¡±
ExpiresByType image/png ¡°access plus 1 week¡±
ExpiresByType image/x-icon ¡°access plus 4 week¡±
ExpiresByType application/x-javascript ¡°access plus 4 week¡±
ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡±Remove the following
<IfModule mod_alias.c>
Alias /icons/ /usr/share/apache/icons/
<Directory /usr/share/apache/icons>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /images/ /usr/share/images/
<Directory /usr/share/images>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin/>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
</IfModule>
Change
<Directory />
Options SymLinksIfOwnerMatch
AllowOverride All
</Directory>
ServerSignature Off
ServerTokens Prod
* cd /usr/local/src
* rm -rf eaccelerator-0.9.5
* tar xjvf eaccelerator-0.9.5.tar.bz2
* cd eaccelerator-0.9.5/
* phpize4
* ./configure ¨Cwith-php-config=/usr/bin/php-config4
* make
* make install
* vi /etc/php4/apache/php.ini and add the following:
zend_extension=¡±/usr/lib/php4/20050606/eaccelerator.so¡±
eaccelerator.shm_size=¡±0¡å
eaccelerator.cache_dir=¡±/var/tmp/eaccelerator4¡å
eaccelerator.enable=¡±1¡å
eaccelerator.optimizer=¡±1¡å
eaccelerator.check_mtime=¡±1¡å
eaccelerator.debug=¡±0¡å
eaccelerator.filter=¡±"
eaccelerator.shm_max=¡±0¡å
eaccelerator.shm_ttl=¡±0¡å
eaccelerator.shm_prune_period=¡±0¡å
eaccelerator.shm_only=¡±0¡å
eaccelerator.compress=¡±1¡å
eaccelerator.compress_level=¡±9¡å
View 0 Replies
View Related
May 18, 2009
I'm interested in having an unmanaged VPS with Ubuntu 7.1 or 8.04 installed (or available to Rebuild under the HyperVM) from the state of Missouri (should have at least some IPs already available from the region).
View 2 Replies
View Related
Oct 18, 2009
Are there any issues with Running Cpanel w/ WHM? long story short I heard it had issues with making domains and users because root isn't a user..? I like ubuntu but never ran cpanel on it. I want to use Ubuntu on my dedi. I'm not trying to start a ubuntu vs centos.
View 6 Replies
View Related
Apr 22, 2009
Does anyone know of a provider that has an Ubuntu Desktop VPS? I've got accounts with fsckvps and xensmart but they only have centos ones - I'll install gnome on of them if I really have to but i'd prefer todo as little leg work as possible as it's for personal use.
View 10 Replies
View Related
Jul 18, 2009
Which operative system you mostly use on your server?Right now i have only centos installations,but it seems ubuntu have larger file repository with their apt system compared to yum.
View 14 Replies
View Related
Jun 8, 2009
i upgraded by mistake my ubuntu server to 9.10 from 8.04
How can i downgrade it to 8.04 without loosing My settings?
View 1 Replies
View Related
Mar 11, 2009
I am all too familiar with php on my win box but now am working on Linux.
the extension_dir is commented out (??) however CURL does work but there is nothing about CURL in php.ini. I cant find any php.so files.
Also the php.ini file lives in /etc/php5/apache2
Does this look like a standard install? Where do the .so files live?
Ultimatly I want to install Turck MMCache which requires some extensions and when ever I try to do phpize there is the error message
Cannot find config.m4 (google is not helping solve the problem)
apt-get install m4 says I have the latest version.
phpize is a shortcut in usr/bin that points to etc/alternatives/phpize which in turn is a shortcut to usr/bin/phpize5
View 2 Replies
View Related
Dec 8, 2008
I am trying to create a database using the following method:./mysqladmin create db
But I get the following error:./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
I am new to configuring mysql. I have installed it etc but not sure how to start it. I tried the following to start the server:moe@moe-desktop:/usr/local/mysql$ sudo bin/mysqld_safe --user=mysql
View 6 Replies
View Related
Oct 24, 2009
Which OS is better in security and easy to use for vps beginner:
CentOS™, Debian™, Ubuntu™, Fedora™, or Gentoo™.?
View 14 Replies
View Related
Jul 9, 2008
I've just ordered a dedicated server with Ubuntu server, but they've come back to me to say that they've had trouble installing Ubuntu server on these particular servers.
As an alternative, they're offering to install Debian. My concern is that I come from a windows background and have spent the last month reading and playing with Ubuntu Server in vmware. I'll be running a small handful of sites on the server and will rely on the apt-get and package installer in webmin to get things set up and for administration. I'll dabble in the shell a little, but only when needed.
Should I go with a different host that can offer Ubuntu, or will I be okay with Debian?
View 9 Replies
View Related