Server :: Unable Java Support In Php.ini File?
Nov 29, 2010How to enable java support in php.ini file.
View 1 RepliesHow to enable java support in php.ini file.
View 1 RepliesI can't seem to be able to save a file properly with java on the sheevaplug (ubuntu)
Here's my test-code:
Code:
try {
File f = new File("test.txt");
System.out.println(f.exists());
[Code]....
it seems to save the file, but nothing that is readable in ubuntu.
I'm using the openjdk-6-jre package by the way.
EDIT: NVM! Forgot to cd into the directory holding the jar before running, so it was working but it was saving to the $HOME dir...
Trying to get OpenbavoPOS to connect to my remote Postgresql database, but so far i've only been able to connect to the local postgres installation. I _am_ able to access the remote databases with psql. I've read literally dozens of pages, and am pulling my hair out. I'm trying jdbc:derby.//192.168.15.10:5432/bravo I get back java.sql.SQLException no suitable driver found for jdbc:derby.//192.168.15.10:5432/bravo If I use jdbc:derby./root/bravo - all is OK, using a local database created in /root I have jdk installed on the client; does it need to be on the server also?
Server = CentOS 5.4 PostgreSQL version 8.1.21
Client = CentOS 4.8 PostgreSQL version 8.1.4
[code]....
How do u get jre to work with fc 10 64bit? I've tried installing both x86.64 and i586 version from sun's website but firefox still shows plugin missing.
View 12 Replies View RelatedUbuntu 10.10, Firefox 3.6.13, IceTea6 ext, Greasemonkey, Firebug, FlashBug.. Everything was going just great, then poof. Firefox seems to have lost the ability to interpret java and javascript extensions. It's strange, I have a javascript extension that I've used a lot in the last 2 to 3 months. One night, was using- refreshed, gone.
Script was still there in GreaseMonkey, with all it's pointers to the web presence. I have Google Chrome with the same extension and it stiill works fine. Thought maybe it might be an install problem, so uninstalled/reinstalled Greasemonkey and the script//no change. Uninstalled and reinstalled Firefox and extensions//no change.
I used Firebug to inspect element on a familiar web page where I inserted a table with imbedded javascript. doesn't execute any of the onclick processes on it. This table "is" something that I have inserted on that same page previously with no problems and it executed those same onclick processes fine.
Which leads me to believe that somehow, in the past few weeks, I somehow lost the abilty to process java and javascript. Could this be to soem recent updates or upstream changes? Note-- I do have Eclipse IDE, JavaBeans IDE and Monkey Studio IDE installed on this instance of Ubuntu. I've stayed with Ubuntu's flavor of the OpenJDK, instead of going to Sun's JRE in an attempt to stay open to future shifts and directions.
I'm a long-time user of Seamonkey, from since it was called Mozilla. The recent 2.1 and 2.2 updates seem to have broken Java support on my Centos 5.5 box (32 bits) and I really can't figure this out. Seamonkey is installed in /usr/local. Starting from 2.1, the /usr/local/seamonkey/plugins directory is gone. As per the release notes, plugins are now managed on a per-user basis in $HOME/.mozilla/plugins So far, so good.
I used to have a link in /usr/local/seamonkey/plugins pointing to /usr/local/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so (I install Sun's JREs in /usr/local too... it shows my BSD background I guess). So I moved that link to $HOME/.mozilla/plugins but now about :plugins doesn't show any Java plugin detected. Worse, $HOME/.mozilla/seamonkey/<profile name>.default/pluginreg.dat shows that the plugin is rejected.
It contains:
[INVALID]
/usr/local/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so:$
1232187965000:$
I vaguely suspect that there might be a shared library issue with the newest Seamonkey binaries and Centos 5.5, but then every other plugin works OK, including Flash and all. So what's the issue with the Java plugin? There's no error when I start seamonkey from a terminal window. I must not be the only Seamonkey user on Centos 5.5.
I'm trying to find out when QME2572 (Qlogic) card became support by the kernel. We have a RHEL 5.1 system that is moving to new hardware, however the kernel at this release doesn't support the new hardware, due to the Qlogic card change. I tired the Redhat KB and Bugzilla. Is there a Kernel change list etc I can search. Never really played around with the kernel too much so I'm just after some pointers for looking up this information. Offically its not supported until Redhat 5.3, I'm trying trying to research kernel info so I can tell the customer they have to upgrade.
View 3 Replies View RelatedI'm wondering how I can enable LDAP support for my Ubuntu 10.04 LTS server running Apache 2 and PHP 5.3.2? What I'm trying to do is allow users on my existing company's LDAP system to login to my Elgg site automatically (and possibly have their details filled automatically).
View 1 Replies View RelatedCentOS 5.x with AD authentication. My samba servers(3) are all reporting the same error:
Quote:
Unable to open new log file /var/log/samba/xxx.xxx.xxx.xxx. No such file or directory.
lib/debug.c:reopen_logs(625)
The xxx.xxx.xxx.xxx is the ip address of the station accessing the samba share I assume.
Anyone has any idea where the httpd.pid path is set?When I restart Apache, it's unable to find the PID file?
View 2 Replies View RelatedI have recently upgraded to Bugzilla3 and I wanted to restore my bugzilla database with my backup but when I attempt to tar -xvvzf file.tgz I get the error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
My script that creates the backup is:
#!/bin/sh
datestr=`date +%m-%d-%Y`
bakdirpart="bugzilla.backup.$datestr"
bakdir="$HOME/$bakdirpart"
mkdir "$bakdir"
(cd /etc; tar cvzf $bakdir/mysql.conf.tgz mysql)
(cd /etc; tar cvzf $bakdir/apache2.conf.tgz apache2)
(cd /usr/share; tar cvzf $bakdir/bzreport.share.tgz bzreport)
(cd /usr/share; tar cvzf $bakdir/bugzilla.share.tgz bugzilla)
(cd /var/lib; tar cvzf $bakdir/mysql.hotdb.tgz mysql)
(cd /var; tar cvzf $bakdir/www.tgz www)
(cd "$HOME"; tar cvf "${bakdir}.tar" "$bakdirpart")
Is there any way to recover my backup copy?
When i boot my node-machines they are stuck in (initramfs) after showing the following error:
Gave up waiting for root devices.Common problems:
- Boot args (cat /proc/cmdline)
- Check root delay (did the system wait long enough)
[code]...
I got this error:
Unable to open pty: No such file or directory
I tried these commands with no luck:
Also this:
One of my user wants to be able to upload file via browser to the server. For that, i need to grant apache read and write access to a folder. How much secure is allowing apache to grant complete read and write access to a folder ?
View 2 Replies View RelatedI'm unable to ftp from one server to another server.
Getting the below error:
put: Access failed: 553 Could not create file
ftp script :
USER="test"
PASSWD="test"
HOST="10.43.45.00"
echo "starting Secure FTP ..."
lftp -u ${USER},${PASSWD} ftp://${HOST} <<eof
cd /home
lcd /home
put /home/test3.csv
bye
eof
echo "I have get all csv files
I currently have to connect to my new samba fileserver using servernameusername instead of just username, if that makes sense(!) I need this to be simplified, as I've had it before on a previous machine, as one of the devices I connect with has a virtual keyboard without a backslash!
View 9 Replies View RelatedI restore tape backup on my Linux server. At the time of booting the server it cannot able to read the filesystems.
I am getting the following message,
Code: Your system appears to have shutdown uncleanly
Forcing file system integrity check due to default setting
Checking root filesystem
fsch.ext3: file system has unsupported features (S) (/)
e2fsck: Get a never version of e2fsck! (FAILED)
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance (or type Control-D to continue):
i am using fc9 server i installed Apache web-server i kept some datafile in my html folder when tried to download remotely through web i can download the file tried to get the file in remotely through wget command i am unable to get the fileor is failed: Connection timed out Retrying below the steps i tried it
my target file is http://X.X.X.X/test.zip
wget -T 0 http://X.X.X.X/test.zip
wget http://X.X.X.X/test.zip
[code]...
I have installed a centos 5.4 server with Bind services running on the 2 servers.but getiing error "the working directory is not writable". while restarting the named services.
View 2 Replies View Relatedi am running Oracle EBS R12.1.1 on Linux RHEL 5.3 ,I am not able to run java applets on the same . I installed latest rpm of jre-1.6.0_18 , and it is there in /usr/java/jre1.6.0_18 but when i am searching by command its showing
[Code]....
I am using the latest version of Cont OS 5.I installed Sun Java into the Firefox browser and it works fine for web content but not for accessing my office Windows Desktop remotely. It seems that I have to install Sun Java at Root (I think).installing the latest version of Sun Java for the purpose of accessing my Windows Desktop?
View 1 Replies View RelatedI have some issue with my amanda backup server, which is connecting with Scalar Quantum i500 via FC. I got the error as below 3 days ago.
These dumps were to tape 000289.
*** A TAPE ERROR OCCURRED: [No more writable valid tape found].
Normally I will load the proper tapes and run the amflush to push stuff from the holding disk to tapes manually. However this time amflush in this case did not help, Amanda immediately responded with an out of tape error again.
Meanwhile I got some errors from dmesg as well
st3: Error 18 (sugg. bt 0x0, driver bt 0x0, host bt 0x0).
scsi1 (0,3,0) : reservation conflict
I guess I am still a beginner since I can't do this. I was able to install Java in another computer successfully. I have both running now. The successful one, had a folder for firefox the one with the problem does not have that folder, (firefox). The instuctions I trying to follow are here: [URL]
Not having a firefox folder I installed using /usr/lib/mozilla/plugin . But the plugin has an X attached to the respective icon in /usr/lib/mozilla/plugins.
[URL] This website seems to offer the solution to my problem, I will need help in undoing my previous steps or in removing the incorrect plugin. But will I still need a firefox folder or directory as I have on the other machine? I have a K7S5A PRO MB and Athlon Xp 1800 + processor.
I have a centos 5.5 machine. I have forwarded both port 22 and 8080 on my router. I can connect on 22 via telnet ip 22 and even can remotely login into the machine. The problem when I start my java listener program which is listening on 8080 it cant not establish any connection (via telnet ip 8080). I have even add this into the iptables too -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9000 -j ACCEPT. I have disabled the SELINUX too.
View 9 Replies View Relatedi am a complete newbie in java. while dealing with packages i faced the following problem. I created a file named "CreatePackage"
Code:
package lobkush;
public class CreatePackage {
public CreatePackage() {
System.out.println("you are presently under package named "lobkush" ");
}
}
after this i created a folder named "lobkush".I also compiled the source file and placed the .class file in the corresponding directory.
Now to test it i created another java file. This is where the problem arises.while importing the class file if I write:
Code:
import lobkush.*;
the compiler shows an error
but if I write
Code:
import lobkush.CreatePackage;
no error is shown and the .class file generated.
I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
View 4 Replies View RelatedI'm using Epiphany. Some, but not all, Java apps are not rendering, that did render in Windows. I'm getting dialogue that says applet and Java plugin not installed.
View 5 Replies View RelatedI'm sure there is an easy solution for this but I can't figure it out. Just recently installed F13 and I'm trying to load Java and Adobe Reader, but I can't get installer to come up. I have tried both Firefox and Chrome to download it. I have tried to install by command line, but no luck.
View 1 Replies View Relatedim using the Fedora 14 64Bit Version, and ive wanted to install the Java plugin for Firefox, but everytime Ive wanted to install it, it tells me this:
Code:
[root@JaKsi JaKo]# /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000
failed to read link /usr/lin64/mozilla/plugins/libjavaplugin.so: No such file or directory
the primary link for libjavaplugin.so.x86_64 must be /usr/lin64/mozilla/plugins/libjavaplugin.so
[root@JaKsi JaKo]#
Why lin64? Can I change this?
I have removed IcedTea packages but I am unable to run Sun Java after downloading the recommended version from sun website as per the instructions at Installing Sun's Java on openSUSE - openSUSE.I do a lot of web games and need sun java installed.In addition, I need help with -
1. Installing fdisk or similar.
2. Read and write for ntfs partition on same hard disk. I've Samba but SUSE can't see 2 ntfs partitions on same hard disk.
3. Gnome/ LXDE desktop install.
4. Testdisk install.
5. Gparted install.
6. Convert .deb packages to .rpm and install those. I used to convert .rpm to .deb in Ubuntu with alien tool.