Comments (13)
Can you check what version of Python is installed on your machine please? The Jobe installer needs at least Python 2.7.
from jobe.
I see. Thank you
from jobe.
After I installed Python 2.7.10, I ran into a new problem :
Configuring for 10 simultaneous job runs
Exception during install: Couldn't determine web-server user id. Is the web server running?
Install failed
Please tell me how to solve it. Thank you very much
from jobe.
What flavour of Linux are you running?
Assuming the web server is running, what user_id does it have?
Line 48 in the install script
candidates = names.intersection(set(['apache', 'www-data']))
assumes the the web-server user id is either apache
or www-data
. Is it something else on your system, perhaps? I vaguely recall it was httpd
on one system. If so, you could change line 48 to
candidates = names.intersection(set(['apache', 'www-data', 'httpd']))
from jobe.
Actually I think the fix for CentOS (is that what you're running?) is a couple of lines earlier, around line 46. Change the first line of get_webserver
to
ps_cmd = "ps aux | egrep /usr/sbin/(apache2|httpd)"
I've pushed a new version of the install script today with that patch in it.
I've also pushed an updated version of the documentation. I've added a new paragraph to the Installation instructions, which might be relevant if anything else goes wrong:
"Installation on Ubuntu 16.04 systems should be straightforward but installation on other flavours of Linux or on systems with non-standard configurations may require Linux administrator skills. A possible alternative approach if things go wrong is to try the experimental JobeInABox Docker image, which should be runnable with a single terminal command on any Linux system that has docker installed. Thanks to David Bowes (UHerts) for most of the work on this. Please be aware that it is still experimental and hasn't been used in production by the author. Feedback is welcomed."
from jobe.
Thank you for your reply. I need to have a try
from jobe.
Hello, I installed the Ubuntu 16.04 system using VMware. BuT Now I have a new problem:
root@admin:/var/www/html/jobe# sudo ./install
Configuring for 10 simultaneous job runs
/bin/sh: 1: Syntax error: "(" unexpected
Exception during install: Command 'ps aux | egrep /usr/sbin/(apache2|httpd)' returned non-zero exit
status 2
Install failed
Think you
from jobe.
from jobe.
Think you How to solve the problem :
root@admin:/var/www/html/jobe# sudo ./install
Configuring for 10 simultaneous job runs
Exception during install: Command 'ps aux | egrep '/usr/sbin/(apache2|httpd)'' returned non-zero exit status 1
Install failed
from jobe.
from jobe.
Thank you for your reply, but I still don't know how to do it after your reply
In my code that line is
ps_cmd ="ps aux | egrep '/usr/sbin/(apache2|httpd)'"
What do i need to do
from jobe.
Ah, ok. Your previous posting had just a double quote at the end of that line and I thought that was the problem.
It looks like Apache isn't running. Did you run the commands given in the Jobe readme file? Specifically:
apt-get install apache2 php libapache2-mod-php php-mcrypt mysql-server\
php-mysql php-cli octave nodejs\
git python3 build-essential openjdk-9-jre openjdk-9-jdk python3-pip\
fp-compiler pylint3 acl
pylint --reports=no --generate-rcfile > /etc/pylintrc
They need to be run before attempting the Jobe install.
If you did run those commands and Apache isn't running, you'll need to find out why. You could start by rebooting, then trying commands like sudo service apache2 restart
. And/or verify that Apache isn't running by browsing to http://localhost.
from jobe.
Closing as no recent communications.
from jobe.
Related Issues (20)
- how can i install jobe in Nginx? HOT 1
- runguard/runguard: cannot start ` sh': Resource temporarily unavailable HOT 3
- Octave will not run HOT 2
- Privilege escalation using cputime parameter and runguard HOT 2
- How to support the SQL? HOT 2
- C++ with compilearg -std=c++11 give a 'virtual memory exhausted: Cannot allocate memory' error HOT 3
- `sh': Resource temporarily unavailable HOT 1
- How to send multiple inputs on API request HOT 1
- How to pass SYSTEM.IN Param HOT 1
- Privilege escalation using sourcefilename HOT 1
- Matlab is crashing (segmentation violation detected) HOT 3
- Security problem with Jobe HOT 1
- How to get the code execution time and the memory consumed by the code
- PHP8 compatibility HOT 1
- testsubmit "Memory limit exceeded in C (seg faults)" HOT 1
- Issue with runguard HOT 3
- Issues with JobeInaBox HOT 2
- How to add SQL support? HOT 2
- Making loaded files writable HOT 1
- Runguard error HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jobe.