Results 1 to 25 of 25
Thread: tmp secure ????
-
09-11-2004, 06:50 AM #1Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
tmp secure ????
Can anybody tell me now how to unsecure /tmp because when i install DigiChat it's give me this error root@server [/home]# sh ./Install_DigiChat.bin -i console /home Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... ./Install_DigiChat.bin: /tmp/install.dir.9155/Linux/resource/jre/bin/java: /bin/sh: bad interpreter: Permission denied
Hope to get help ...
Regards
-
09-11-2004, 10:08 AM #2Disabled
- Join Date
- Aug 2004
- Posts
- 60
/tmp is probably mounted -noexec, therefore you'd need to remount it without that option. It's tough to tell without more information though.
-
09-11-2004, 10:11 AM #3Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
thnx
thnx alot man
but really iam just a beginner
and dont know how to do that
mean : what shall i do ??
thnx for you fast help
-
09-11-2004, 10:20 AM #4Disabled
- Join Date
- Sep 2004
- Location
- 20 00 N, 77 00 E
- Posts
- 51
Hola
remount tmp using..
mount -o remount,rw /tmp
Once you have installed the digichat server ...
remount it as follows..
mount -o remount,rw,nosuid,noexec /tmp
-
09-11-2004, 11:20 AM #5Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
thnx
thnx alot Mr.TOXIC
you are a very greatful man
i will try that and reply you
-
09-11-2004, 04:14 PM #6Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
:(
Dear :Mr.TOXIC
it is the same problem !!!
it still syas :
Install_DigiChat.bin: /tmp/install.dir.9155/Linux/resource/jre/bin/java: /bin/sh: bad interpreter: Permission denied
??? what shall i do ??
really i dont know ...plz any one help me !!
can i remove tmp dir. then create it again ? and how to do that if it will slove the problem ??
plz i need anybody to help me ??
-
09-11-2004, 05:02 PM #7Russ
- Join Date
- Mar 2002
- Location
- Philadelphia, PA
- Posts
- 2,517
Try to use the desired install path by using i.e --/home/Iwant/ithere
-
09-11-2004, 06:01 PM #8Aspiring Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 419
I don't think it is a problem with the tmp directory. Usually when it says that it is a bad interpreter it means the shell command is wrong.
You can try a few different things, firstly, post the top of your script here so that we can see if the scripts is asking sh to do funny things.
Secondly, try moving the file to /root/ and run it from there, also make sure you've su ~ to root.
-
09-11-2004, 06:42 PM #9Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
thnx
thnx vigor ,
Matt -Seeksadmin
here you are :
root@server1 [~]# sh ./Install_DigiChat.bin
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
./Install_DigiChat.bin: line 329: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
./Install_DigiChat.bin: /tmp/install.dir.24210/Linux/resource/jre/bin/java: /bin/sh: bad interpreter: Permission denied
this is my problem
thnx alottttttttttt for you help
how can i solve it ?
-
09-11-2004, 06:52 PM #10Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
how big is your /tmp partition?
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
09-11-2004, 07:12 PM #11Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
sorry but iam begginer ....i typed ls -l ....then i saw its size is 2048 ...
and i dont know how to resize it
sorry but i look for help
thnx for your fast reply
-
09-11-2004, 07:20 PM #12Web Hosting Master
- Join Date
- Nov 2001
- Location
- The South
- Posts
- 5,408
I bet there's gotta be a way to tell this installer to use something other than /tmp for it's tmp files.
Gary Harris - the artist formerly known as Dixiesys
resident grumpy redneck
-
09-11-2004, 07:22 PM #13Aspiring Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 419
Type this in, i think it will work, not too sure...
pico Install_DigiChat.bin
Then copy the first 8 lines or so.
Also, why can't you run it without the sh in front? if ./Install_DigiChat.bin doesn't work chmod a+x it. Which will make it executable.
-
09-11-2004, 07:40 PM #14Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
Dixiesys .... How can i do that ??
Matt -Seeksadmin ... thnx for your help .... i tried to do it as you said ...
but it appears the same prob.
i tried to pico it and copy the lines .....its not work at all !
then i try to use this :
./Install_DigiChat.bin
also the same ....
plz help
thnx for your patiant
-
09-12-2004, 02:13 AM #15Aspiring Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 419
Dixiesys, i don't believe its a problem with /tmp being secured, i haven't run into this problem before because of tmp being non exec... I think that its not understanding the command.
mero160 perhaps it is best for someone to look at it for you?
-
09-12-2004, 03:31 AM #16Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Originally posted by Matt -Seeksadmin
Dixiesys, i don't believe its a problem with /tmp being secured, i haven't run into this problem before because of tmp being non exec... I think that its not understanding the command.
mero160 perhaps it is best for someone to look at it for you?Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
09-12-2004, 03:45 AM #17Disabled
- Join Date
- Dec 2002
- Location
- chica go go
- Posts
- 11,876
This problem is kinda common, read the attached url: http://www.webhostgear.com/34.html
-
09-12-2004, 04:52 AM #18Aspiring Evangelist
- Join Date
- Apr 2004
- Location
- Australia
- Posts
- 419
Hmm ok if you've seen them around then yer ok... Everytime ive had problems with tmp i get permission denied =|
-
09-12-2004, 05:00 AM #19Linux Guru
- Join Date
- Mar 2004
- Location
- Odessa, Ukraine
- Posts
- 610
ls -la /bin/sh
-
09-12-2004, 11:09 AM #20Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Originally posted by andreyka
ls -la /bin/shSteven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
09-12-2004, 12:25 PM #21Junior Guru Wannabe
- Join Date
- Aug 2004
- Posts
- 32
thnx to all who want to help me
hi andryka :
lrwxrwxrwx 1 root root 4 Aug 18 18:16 /bin/sh -> bash*
this is the result
-
09-13-2004, 05:13 AM #22Disabled
- Join Date
- Sep 2004
- Location
- 20 00 N, 77 00 E
- Posts
- 51
Hola
Paste the results of the following..
Code:mount
HOW TO
Once you have remounted the tmp dir without noexec , paste the following results..
Code:mount | grep /tmp
-
09-14-2004, 10:46 PM #23Web Hosting Master
- Join Date
- Dec 2002
- Posts
- 1,304
Bottom line: Your program wants to use /tmp to unpack and run its installer from. Most programs have a commandline flag to use a different folder, or can be picked apart (Makefile or install script) to use something other than /tmp.
Its not really an issue.. its unfortunate that digichat's creators did not think to simply have a commandline flag to use another folder, or perhaps there IS one and you havent looked / tried it."The only difference between a poor person and a rich person is what they do in their spare time."
"If youth is wasted on the young, then retirement is wasted on the old"
-
08-15-2005, 07:03 PM #24New Member
- Join Date
- Aug 2005
- Posts
- 3
i have the same problem and read all your replay and didnt understand the solution
-
08-15-2005, 07:27 PM #25New Member
- Join Date
- Aug 2005
- Posts
- 3
please tell me what is the solution ?
or MSN messenger at foreverman2002@hotmail.com
thanx