My guess would be you're also not running as root, because I've never seen this problem as long as you are logged in and doing everything as the root user...
My guess would be you're also not running as root, because I've never seen this problem as long as you are logged in and doing everything as the root user...
Comment enlighten my mind xD
Primero que nada arranco el sistema como usuario root (lo estaba haciendo como usuario normal)...
Traslation:
first of all I start the system as root (I was doing it as a normal user) ...
Spoiler:
execution of the script: (error when starting the apache service)
Spoiler:
if I can provide help, indicating it does not start apache, a sign, a reference, I will be grateful ... so far we are progressing well, I hope their contributions ...
IP configuration problem was, and is ready and now apache starts without problems, apache is OK"/ etc / hosts is configured"...
A new problem ....
when you run the script "start.sh" ... this calls execution to files
1. "mysql_start.sh"
2. "apache_start.sh"
3. "tomcat_start.sh"
4. "tomcat2_start.sh"
first of all I know, what is the directory where these files ...
1.- which is the directory of these files within the "CD "...????
2.- Once copied the contents of "CD" to the file system, which should be your location directory ...????
3.- as I can find the "mysql_start.sh" and the other files in ubuntu server (advanced search methods )???...
4.- tomcat not find the file "catalina.sh" I can redirect or route as the script to find it ...???
look at this screenshot
Spoiler:
343 user, I need your help!
I hope that now if I can help!...
the above problem, I have solved it, navigate to the directory where the file "catalina.sh" and I have given execute permissions (chmod + x catalina.sh # Allow execution) ...and PAAAFFFF!!!
the error has change...
before:
Code:=== STARTING APACHE TOMCAT === Cannot find ./catalina.sh This file is needed to run this program === DONE! ===After:Code:(assigning permissions) chmod + x catalina.sh # Allow execution
OK ... Now what is the solution???...Code:=== STARTING APACHE TOMCAT === The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program === DONE! ===
answers, ideas, suggestions ???...
please I need a guiding...
Screenshot of the problem!
Spoiler:
Last edited by xtreme86; 16-12-11 at 07:22 AM.
Erm something looks really weird with that.
If I were you, I would download Ubuntu SERVER 11.04 which is much more stable for a server and then start again from scratch following 343's guide
I think you only need to redirect a couple of databases such as the message says the console, I do not need to install all over again ...
Maybe it's just a permissions problem, as I have had so far ... know how to grant permissions to an entire directory with their respective sub folders ???...
solutions???...Code:=== STARTING APACHE TOMCAT === The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program === DONE! ===
contribution great friend, with users like you live there forum for a long time, the idea of a forum friend's help, contribute, consult, discuss issues, share issues, the goal is to create a community ... you know what the definition ????... community please friend if you are publishing a response that is a contribution, not a slam on the user's face ... I'm a newbie, the truth is that I have no knowledge on Linux, which for you means no brainer, for me is a great achievement, please if you're not going to contribute, it is best to ignore my post ...![]()
None of us were always knowledgeable in Linux or anything that we do. What annoys me is when people come here and beg to be spoonfed when they obviously have no idea what they are doing. If you can't at the very least follow some basic directions OR set up as basic lamp server unassisted then even trying for a PW Server is hopeless.
Come back you know Linux basics.
I think your view is respectable, self-taught people to learn without help of others are even more respect, I am self-taught half my time, but I do not think that is wrong with asking for assistance, opinion or reference to a problem others who already have experience, I think that's the end or goal of a forum, I understand a place who Mailing forum, debates and dialogues but constructive topics ... If I have experience in creating the PW server, maybe not going to bother to "help" to a novice as I am now, probably will tell you with friendly words and not with hostile words, you have to learn the basics of linux, I have to always keep in consideration that this is a forum, and as I came so many others, for help and asking questions about the issue here I think no one forces others to respond, is optional, is at will, you accept that there is diversity around you, not everyone has a brilliant mind like yours, in any place besides the forum says it is only for users with knowledge of linux, I think you're being somewhat classist and categorizer on the subject, accepts the diversity, agree that there are others who know less than you, do not feel obligated to help if you do not, the world and life that progresses to heart and unconditional help, I think you have to think for a moment friend ...
attention--> Solution to the problem "BASEDIR" <--attention
solution to my problem, as I said before was a permissions issue, so use the solution of the link, and assign 777 permissions to the bin directory and run apache-tomcat apparently without problems ...
everything starts OK, less mysql ....
looking for solutions, if someone wants to give ... welcome
Spoiler:
the server starts fine, no problems ... and now coming...???
Screenshot "the server is running"...
Spoiler:
now I have to configure the client ...
reviewing the user's guide 343...![]()
Are you really using a desktop version? I pray that isn't desktop version, and just some new gay release.
this version is ubuntu server v11.04, in a graphical environment installed attached, because I do not use the console to full, anyway try to do everything based on console...
so you can see in my last screenshot seems to be running perfect server...
now time to configure the client ...![]()
Honestly, as I pointed out before;
DON'T USE A GUI EDITION
It makes your sever unstable, eats unnecessary RAM, and is just plain stupid.
It will cause more problems than it will solve, using a GUI edition for the sake of convenience is just stupid.
Download | Ubuntu
/thread
^ he's right ^
im having the same problem (using 343's release) running im signed in as root at least im pretty sure i am i used sudo passwd root logout then logged into root then cd /root ./start.sh permission denied still anyway to check to make sure im logged into the root account? it says root@XXXXXX:~#
other than that idk what else is wrong everything so far has worked i had to chmod +x setup.sh # allow execution to get that going but its done all i gotta do is start.sh but permission denied any hints or solutions? sorry for long post and thanks for your time
I cannot help with permissions issues. As you can clearly see in my video (on my release thread) in post #2 my release can be installed without altering a single 'permission'... If you're doing everything as root anyway... Anything beyond that, and an individual would need to know or figure out on their own how to manage users / permissions...
This is the solution:
The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this program
After I had extracted the system installation file in the Linux environment, the startup script doesn’t work and it prompts out the following error message:
The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this program
I tried to execute the setenv.sh and even change the permission file for the startup.sh but it still prompt out the same error message.
I made a research and found this URL which is quite helpful for me to find out the solution for the problem:-
[Omnigator] The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program
Solution:
In the end, I change the permission files for all the .sh files
in the /bin directory. I executed this command: chmod 777 *.sh
but I guessed it’s not sufficient enough to resolve the problem. I think the most important is the .jar file in the directory.
Anyway, to make it executable, I changed all the permission files in the /bin directory. Some users prefer to use 775 instead of 777 due to the security purpose. For this reason, I believe that the startup script needs to execute all the files in the directory to set up the environment path to startup the system.