Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,864
Community Members
 
Community Events
176
Community Groups

Crowd wont autostart

Hello, i hope someone could help me. I was installing Atlassian Jira, confluence, and crowd as non root user to an Ubuntu 18.04 Laptop. When i do a cronjob @reboot jira and confluence starts fine. But crowd would not start with the cronjob. When the system is up and running, i can start crowd in terminal with  ./start_crowd.sh without any problems. The "HowTo" at Confluence Dokumentation did not work for me. When i start the script in Konsole i get the following:

 

wtobais@wtobais-LIFEBOOK-E458:~/atlassian/application-data/atlassian-crowd-3.3.3$ ./start_crowd.sh
To run Crowd in the foreground, start the server with ./start_crowd.sh -fg
Using CATALINA_BASE: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat
Using CATALINA_HOME: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat
Using CATALINA_TMPDIR: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/temp
Using JRE_HOME: /home/wtobais/jdk1.8.0_191
Using CLASSPATH: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/bin/bootstrap.jar:/home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.

 

I am not sure whats wrong and i dont have any ideas....

Please help :)

2 answers

i was trying to autostart crowd with the provided init.d Script. and a symlink in /etc/init.d.

when i restart the notebook jira and confluence is starting fine. I have no error message  from crowd but when i try to open http://localhost:8095/crowd/console/secure/console.action  i get an side unavailable message in Web Browser. so i have to start crowd manually.

0 votes

The message you have pasted here tells us that Crowd is starting up fine, after cleaning up after a Crowd session that was killed rather than shut down correctly.

If it's not starting on a command that is being run, could you show us the errors that you get from that command, rather than a successful start?

You should not really be running crowd with cron, it should be using systemd or init.d scripts (depending on which your prefer)

with the init.d script i get an unavailable message in WebBrowser, and when i try to start manualy the following in Terminal:

Tomcat appears to still be running with PID 3087. Start aborted.
If the following process is not a Tomcat process, remove the PID file and try again:
UID        PID  PPID  C STIME TTY          TIME CMD
wtobais   3087  2836  0 13:28 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor

 

is there maybe a problem with more instances with tomcat ?

What does the log file say the error is?

which logfile did you mean?? sry for the stupid question :D

Sorry, I should have said.  On my crowd machine, I have this:

/opt/crowd-data-3.1.1/logs# ls -l
total 688
-rw-r----- 1 charlie charlie 699183 Jan 20 15:00 atlassian-crowd.log

I am not sure you can take a look on the logfile:   https://cloudpaulokat.ddnss.de/nextcloud/s/xQdFPdyM2rSiaxe

That looks like it is running fine.  We need to see where it is failing to start.  Could you stop it, remove the log file (so we have a clean short one), and the pid file if that has stayed, and then use whatever startup script that is failing to see what it does

when i use init.d script for starting crowd, there are no log entrys at all.  Another Problem in this case is that confluence will not start too. when i dont use init.d for crowd confluence is starting up most of the time......

Can you log in as root, and run "/etc/init.d/crowd.sh start" (or whatever the script is called) - that should give you an error if Crowd is not starting.

when i start /etc/init.d/crowd.init.d as non root user the server came up. without any Problem.  And the same as root. but it will not autostart... im gonna cry

 

root@wtobais-LIFEBOOK-E458:/etc/init.d# ./crowd.init.d start
Starting Crowd:
Using CATALINA_BASE: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat
Using CATALINA_HOME: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat
Using CATALINA_TMPDIR: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/temp
Using JRE_HOME: /home/wtobais/jdk1.8.0_191
Using CLASSPATH: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/bin/bootstrap.jar:/home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/work/catalina.pid
Tomcat started.
done.
wtobais@wtobais-LIFEBOOK-E458:/etc/init.d$ ./crowd.init.d start
Starting Crowd:
Using CATALINA_BASE: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat
Using CATALINA_HOME: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat
Using CATALINA_TMPDIR: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/temp
Using JRE_HOME: /home/wtobais/jdk1.8.0_191
Using CLASSPATH: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/bin/bootstrap.jar:/home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /home/wtobais/atlassian/application-data/atlassian-crowd-3.3.3/apache-tomcat/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
done

are there any limitations about the evaluation license on jira, confluence or crowd ??

is there a possability that this Problem came from using the same container like described here :

Unable to Start JIRA when Running with Confluence or Crowd in the Same Application Server Container

 i think im gonna give it a try....

Ok, great.  There's no limitations with the licence, the problem you have is something to do with the way your "auto start" is configured.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events