ERROR: Unknown user 'www' !
Hi...
I'm trying to install Vhcs: Code:
ubuntu@ubuntu-laptop:/$ sudo /var/www/vhcs2/engine/setup/./vhcs2-setup Code:
Please enter admininistrator email address: a@a.a how do I edit or add users ? |
Code:
adduser Code:
man adduser |
Thnx,
I added user 'www' but now i have other error ;/ Code:
Please enter admininistrator email address: admin@aaa.com |
Code:
ubuntu@ubuntu-laptop:~$ head /tmp/db.sql.stderr |
Do you have MySQL installed?
Is it installed in the location your application expects? |
Do you have the mysql-client package installed?
jdk |
i created directiry
Code:
mkdir /usr/local/bin/mysql and then i get other error Code:
Please enter admininistrator email address: admin@a.com |
Quote:
2. You don't create a folder, you download the mysql-client package. 3. It won't go in /usr/local/bin it will go in /usr/bin unless you want to compile it yourself. Cheers, jdk |
sudo apt-get install mysql-server-5.0 mysql-client-5.0
|
You are missing a software package - i. e. MySQL and its development libraries. You will not be able to proceed until you have installed and correctly configured and started MySQL. See the above post - once MySQL is installed and running, you should be able to proceed.
|
rylan76 ! u were right !
ok ... i fixed all this and that now i get this Code:
Please enter admininistrator email address: a@a.a |
Is the MySQL server running?
I. e. if you do Code:
ps -A | grep mysql Code:
1955 ? 00:00:00 mysqld_safe Code:
#groupadd mysql To find where the "mysql_install_db" script was installed, do, as root, in a terminal: Code:
# find / -name mysql_install_db Code:
[root@development ~]# find / -name mysql_install_db Code:
[root@development ~]# cd /usr/local/mysql/scripts Now, all that is needed is to start the server: Code:
[root@development ~]# /usr/local/mysql/bin/mysqld_safe --user=mysql & Check that MySQL is running: Code:
[rylan@development scripts]$ ps -A | grep mysql MySQL should now be available on your system to an application that needs to use it. |
Hmmm... seems like its up and running ...
Code:
ubuntu@ubuntu-laptop:~$ sudo ps -A | grep mysql if its reffering only to the mysql server, then how do i restart it ? Code:
ubuntu@ubuntu-laptop:~$ cd |
is any installation missing ?
|
No, from what you posted, your installation only needed to be started - you did not need to do the useradd and groupadd bits. This is the thing with package managers - in my Fedora 11 install, the package manager did NOT create the mysql group and user when the MySQL 5 package was installed, so I had to do that myself (as I showed you). Apparently, your Ubuntu manager DID go a step further and already created the mysql user and group.
As for the rest of the post, I don't think the service is still running, look at your output: Code:
mysqld_safe[10918]: A mysqld process already exists This too: Code:
ubuntu@ubuntu-laptop:~$ sudo ps xa | grep mysql Once you have started it, though, does your app now work? Vhcs? |
All times are GMT -5. The time now is 08:00 AM. |