Let's try to step-by-step through to find out what's happening. I'm going to start from scratch on my end using that same build, though I am in an earlier version of Ubuntu.
Anyway, I'm doing this right now, live.
I'm starting in some directory after having done sudo su. So I am root. And you have confirmed this.
(1) I expand the archive using tar -xvf Webkosa-1.0-stable-linux26-SSL.tar.gz
(2) After doing that, a directory webx is created in my current directory, so I do cd webx
(3) If I do an ls -lh I see the same thing you do:
(4) Then I execute ./webx-install. The first thing that happens is I get this prompt:
Webkosa Installer
Chose a server option:
1) Direct Web (HTTP) Service
2) CGI Interface for a Web Server
I enter 1 and return and get this:
This installer will install Webkosa graphics files in the ./html
directory. It then will then automatically configure Webkosa
to use direct web (HTTP) services.
You will need to provide the URL, IP address and port for this machine.
Server URL (ex: forums.mydomain.com):
Anyway, I go ahead and enter all the rest of the information, the server is started, I can access via the web, continue the settings and enter the site.
So I guess my answer to your question for the moment is I don't know why you are getting the message "bash: ./webx-install: No such file or directory". Clearly from your ls listing the file webx-install is there. So I don't know why it is saying it is not.
And if you do pwd it tells you you are in the webx directory, right?
And I'm also running bash. If I do echo $SHELL it reports:
/bin/bash
So I am currently stumped.
What is your pwd? Can you try and run the full path, like the results of pwd followed by /webx-install.
Or just try running webx-install instead of ./webx-install.
It's working here when I'm trying it right now. The problem appears to be your system not recognizing the file is there. I don't know offhand why that is so.
doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Doug. It does seem strange - pwd, $SHELL are as expected ... when I run the full path I just come back to the prompt. I'm done for the night but will try some other machines tomorrow and let you know what happens.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK. Please do. I'm very curious what the cause is. It does sound system-level. After all, we haven't gotten to the point that the script is actually invoked yet. I've just never seen that before.
Thanks,
doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok forward progress!!! The install worked and says Webkosa started and is accessible at at http://127.0.0.1:8080/webx? but I get a 404 Not Found when trying to reach it. Does the machine need an actual network connection?
fyi/fwiw one difference is that the machine I couldn't install on was a dual-boot laptop though that shouldn't matter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What was the problem that was causing the file not found error? I'm curious, and other people might also find the solution to that interesting. You just basically tried it on another machine?
I have never tried installing the server on a machine without a network connection and I don't have access to a Linux server that is not actually connected to the network, so that one is difficult for me to answer.
Is the loopback address 127.0.0.1 an address which is recognized by your machine and set up in its network connections? For example, if you 'ping 127.0.0.1' does ping return a response?
doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can ping 127.0.0.1 successfully ... I'll connect to a network later and see if that makes a difference. I did just try a different machine - I'm also planning to install on another box to see if dual-boot is the outlier in this tiny sample :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm glad you found the issue. Do you mean removing /web? or removing /webx?
Anyway, it sounds like you can set up now. Have fun!
Please note that this initial release doesn't include some standard scripts, so the site is very "vanilla" looking. Just what comes out of the binary itself.
However, it is completely scriptable. Look over the comprehensive documentation inside the Control Panel.
doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We'll put that on the list to check. I've always just gone directly to the domain name or the IP address. I think the /webx? is old info. The server used to require the /webx? to indicate it was serving a dynamic page, but no longer has that requirement.
doug
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try sudo ./webx-install under Ubuntu 12.04 I get returned to the command line with no prompts for configuration. Per Doug's suggestion I tried:
Step 1 takes me to a prompt ending in # and when I try step 2 I see:
bash: ./webx-install: No such file or directory
If I sudo ./webx-install from the # prompt nothing happens.
Two questions:
Thanks,
doug
whoami says root
ls -l
total 218
-rw-r--r-- 1 root root 10240 Jun 14 20:21 fckedit.tar
-rw-r--r-- 1 root root 21503 Jun 14 20:21 guideFolder.exp
-rw-r--r-- 1 root root 3207 Jun 14 20:21 README-NewInstallation
-rw-r--r-- 1 root root 2833 Jun 14 20:21 README-Upgrade
-rwxr-xr-x 1 root root 89582 Jun 14 20:16 webx-install
drwxrwxr-x 8 root root 1024 Jun 14 20:21 WebXInstall
-rwxr-xr-x 1 root root 89582 Jun 14 20:16 webx-update
Let's try to step-by-step through to find out what's happening. I'm going to start from scratch on my end using that same build, though I am in an earlier version of Ubuntu.
Anyway, I'm doing this right now, live.
I'm starting in some directory after having done sudo su. So I am root. And you have confirmed this.
(1) I expand the archive using tar -xvf Webkosa-1.0-stable-linux26-SSL.tar.gz
(2) After doing that, a directory webx is created in my current directory, so I do cd webx
(3) If I do an ls -lh I see the same thing you do:
-rw-r--r-- 1 root root 10K 2013-06-15 00:21 fckedit.tar
-rw-r--r-- 1 root root 21K 2013-06-15 00:21 guideFolder.exp
-rw-r--r-- 1 root root 3.2K 2013-06-15 00:21 README-NewInstallation
-rw-r--r-- 1 root root 2.8K 2013-06-15 00:21 README-Upgrade
-rwxr-xr-x 1 root root 88K 2013-06-15 00:16 webx-install
drwxrwxr-x 8 root root 4.0K 2013-06-15 00:21 WebXInstall
-rwxr-xr-x 1 root root 88K 2013-06-15 00:16 webx-update
(4) Then I execute ./webx-install. The first thing that happens is I get this prompt:
Webkosa Installer
Chose a server option:
1) Direct Web (HTTP) Service
2) CGI Interface for a Web Server
I enter 1 and return and get this:
This installer will install Webkosa graphics files in the ./html
directory. It then will then automatically configure Webkosa
to use direct web (HTTP) services.
You will need to provide the URL, IP address and port for this machine.
Server URL (ex: forums.mydomain.com):
Anyway, I go ahead and enter all the rest of the information, the server is started, I can access via the web, continue the settings and enter the site.
So I guess my answer to your question for the moment is I don't know why you are getting the message "bash: ./webx-install: No such file or directory". Clearly from your ls listing the file webx-install is there. So I don't know why it is saying it is not.
And if you do pwd it tells you you are in the webx directory, right?
And I'm also running bash. If I do echo $SHELL it reports:
/bin/bash
So I am currently stumped.
What is your pwd? Can you try and run the full path, like the results of pwd followed by /webx-install.
Or just try running webx-install instead of ./webx-install.
It's working here when I'm trying it right now. The problem appears to be your system not recognizing the file is there. I don't know offhand why that is so.
doug
Is it possible something here at StackOverflow provides you with needed info about this?
http://stackoverflow.com/questions/3949161/no-such-file-or-directory-but-it-exists
doug
Thanks Doug. It does seem strange - pwd, $SHELL are as expected ... when I run the full path I just come back to the prompt. I'm done for the night but will try some other machines tomorrow and let you know what happens.
OK. Please do. I'm very curious what the cause is. It does sound system-level. After all, we haven't gotten to the point that the script is actually invoked yet. I've just never seen that before.
Thanks,
doug
ok forward progress!!! The install worked and says Webkosa started and is accessible at at http://127.0.0.1:8080/webx? but I get a 404 Not Found when trying to reach it. Does the machine need an actual network connection?
fyi/fwiw one difference is that the machine I couldn't install on was a dual-boot laptop though that shouldn't matter.
What was the problem that was causing the file not found error? I'm curious, and other people might also find the solution to that interesting. You just basically tried it on another machine?
I have never tried installing the server on a machine without a network connection and I don't have access to a Linux server that is not actually connected to the network, so that one is difficult for me to answer.
Is the loopback address 127.0.0.1 an address which is recognized by your machine and set up in its network connections? For example, if you 'ping 127.0.0.1' does ping return a response?
doug
I can ping 127.0.0.1 successfully ... I'll connect to a network later and see if that makes a difference. I did just try a different machine - I'm also planning to install on another box to see if dual-boot is the outlier in this tiny sample :-)
OK. I look forward to your report later.
I found the 404 issue - removing the /web? got me to the splash screen. This worked at 127.0.0.1 as well as 192.168.1.x addresses.
I'm glad you found the issue. Do you mean removing /web? or removing /webx?
Anyway, it sounds like you can set up now. Have fun!
Please note that this initial release doesn't include some standard scripts, so the site is very "vanilla" looking. Just what comes out of the binary itself.
However, it is completely scriptable. Look over the comprehensive documentation inside the Control Panel.
doug
oops - I meant /webx? which is what the install script says to use. The party has started!
We'll put that on the list to check. I've always just gone directly to the domain name or the IP address. I think the /webx? is old info. The server used to require the /webx? to indicate it was serving a dynamic page, but no longer has that requirement.
doug