Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-05-2009, 11:43 PM
|
#16
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
Quote:
Originally Posted by ex-para
I have just started to figure out what file-roller is and where it is, of course it was staring me in the face but I could not see it.
|
If you are unable to see, At least open "nautilus"
nautilus is filemanger for ubuntu.
It will open "root deskop"
go to your desktop -> select the file drupal 5.2.tar.gz.
just double click ...
now extract where ever you want !!!
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
12-06-2009, 01:35 PM
|
#17
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
I finally got drupal extracted into /var/www/ thanks to your intructions and I go to http://localhost/drupal-5.2/install.php?profile=default I get Drupal database setup
The following error must be resolved before you can continue the installation process:
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process. So I got to the drupal folder, sites, default, properties and permissions in settings PHP and I get you are not the owner, so you cant change these permissions. So it seems I am back to square one. Maybe this is another question I should be asking Linux questions but there must be a way of getting these permissions.
ps i did not see page 2 untill I sent this message
|
|
|
12-06-2009, 04:53 PM
|
#18
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
Quote:
Originally Posted by ex-para
|
you had given link to the page "local host" -- which means link to own system. soo that link can't open by anybody other than you. !!
Quote:
Originally Posted by ex-para
I get Drupal database setup
The following error must be resolved before you can continue the installation process:
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process.
|
The whole folder /var/www/drupal* was owned by root. so you are getting that error.
So follow this.
Code:
$sudo gnome-terminal
asks password, a new terminal will be opened
now open that that terminal
Code:
#cd /var/www
chmod 777 drupal* -R
now every one has the privileges to modify that folder, so you don't get that problem again.
|
|
1 members found this post helpful.
|
12-07-2009, 06:44 AM
|
#19
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
Quote:
Originally Posted by raju.mopidevi
you had given link to the page "local host" -- which means link to own system. soo that link can't open by anybody other than you. !!
The whole folder /var/www/drupal* was owned by root. so you are getting that error.
So follow this.
Code:
$sudo gnome-terminal
asks password, a new terminal will be opened
now open that that terminal
Code:
#cd /var/www
chmod 777 drupal* -R
now every one has the privileges to modify that folder, so you don't get that problem again.
|
I must thank you again as that worked great but I am now back to drupal configuration with this message
We were able to connect to the MySQL database server (which means your username and password are valid) but not able to select your database. MySQL reports the following message: Access denied for user ''@'localhost' to database 'connect'.
Are you sure you have the correct database name?
Are you sure the database exists?
Are you sure the username has permission to access the database?
But it will not work with the password I gave it (bero), but if no password is entered it seems OK. Same as when I go into phpmyadmin it will not work with the password I gave it (root) but it will work with no password. Connect was the word I gave for the user. So is there some way I can get around the username.
Sorry to be such a problem but I do seem to be getting close to the end.
|
|
|
12-07-2009, 10:02 AM
|
#20
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
Quote:
Originally Posted by ex-para
MySQL reports the following message: Access denied for user ''@'localhost' to database 'connect'.
|
Try this command.
Gud luck ..
|
|
1 members found this post helpful.
|
12-07-2009, 01:00 PM
|
#21
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
I could not get root to work but database did why I do not know.
acme@acme-laptop:~$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
acme@acme-laptop:~$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
acme@acme-laptop:~$ mysql -u database -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 25
Server version: 5.0.51a-3ubuntu5.4 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
I will try to get some results from the commands below
> create database <databasename>;
> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPO TABLES RARY, LOCK TABLES ON <databasename>.* TO '<username>'@'localhost' IDENTIFIED BY '<password>';
> flush privileges;
Last edited by ex-para; 12-07-2009 at 01:03 PM.
Reason: Mistakes
|
|
|
12-08-2009, 04:25 PM
|
#22
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
this command should be executed in mysql prompt
Code:
mysql>mysql -u root -p
|
|
1 members found this post helpful.
|
12-09-2009, 10:55 AM
|
#23
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
I was OK on the last instructions using password bero that I had entered during the install
acme@acme-laptop:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.0.51a-3ubuntu5.4 (Ubuntu)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
but as far as the rest of it goes I got no place.
For example ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<databasename>' at line 1
I think drupal not easy so again I am hopping you may have some suggestions.
|
|
|
12-10-2009, 07:32 PM
|
#24
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
I had reffered many MySQL sites, many people got this error.
one solution is
Code:
$ /usr/local/mysql/bin/mysql -u root -p
Enter password: ********
|
|
2 members found this post helpful.
|
12-11-2009, 12:58 PM
|
#25
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
Thanks but it will not work, I have thanked you for all the information you have sent me. I have tried other server installs in the past but every time it come to the Drupal config I get no further. I have tried other installs but again the problems start with getting then correct IP and server names so for almost a year of off and on trying to have a server I still don't have one. I have done virtualbox with XP as guest in ubuntu with the USB working and a lot of other things but no server can I get. Could you suggest a simple server set-up if there is such a thing.
|
|
|
12-13-2009, 07:21 AM
|
#26
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
Do you know anything of nginx?
|
|
|
12-13-2009, 08:42 AM
|
#27
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
Quote:
Originally Posted by ex-para
mysql>
but as far as the rest of it goes I got no place.
For example ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<databasename>' at line 1
|
Hi,
post the statement which you got error. Only by seeing into error code it is difficult to identify the solution.
|
|
1 members found this post helpful.
|
12-15-2009, 01:03 PM
|
#28
|
Member
Registered: Sep 2008
Location: North East England
Posts: 120
Original Poster
Rep:
|
I am sorry to say I got so fed up with it I deleted the whole hardrive with Gpart and then re-installed
Ubuntu Hardy and decided to give Nginx server ago. It is very easy up to the welcome screen, what follows is not so easy as it is the configuration part. Would you no anything about Nginx, I know what I need but not sure where to put it or maybe you have had enough of me.
|
|
|
All times are GMT -5. The time now is 12:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|