Forums Drupal

Mysql not starting after changing default apache port to 8082 in Suse

Subscribe to Mysql not starting after changing default apache port to 8082 in Suse 8 post(s), 3 voice(s)

 
Avatar kahem 22 post(s)

hi there,

i did a fresh install of drupal stack and wnated to change the default port for apache to 8082 from 8080 so i went into the conf of apache and changed it to 8082 . now when i restart the services, mysql fails.

do i hav to make changes in mysql since i changed the port of apache?pls help of whereit would be

thanks

 
Avatar antonio Administrator 485 post(s)

Hi,

I don’t think it is needed to change anything else, but I’ll test it. Can you tell the exact error you’re getting? Thanks

Cheers

 
Avatar antonio Administrator 485 post(s)

Also, does this happen with Drupal 5 or 6? The whole stack or the new module?

 
Avatar kahem 22 post(s)

Anotnio thanks for your quick response. I changed it back and then changed it again everything is working fine.
I wonder if it was a one off thing. Now am running it on port 7777 restarted drupal and it works.
i have two other questions:

1) Can i download new skins, and functionalities from drupal?
2) the page localhost:7777 shows the default btinami page, how can i tweak it to show the drupal home page.?

 
Avatar Manu Administrator 50 post(s)

Hi mehak,

Yes, you can add themes or new functionalities into drupal. And if you want to show drupal home page you must to type http://localhost:7777/drupal in your browser.

Cheers,
Manu.

 
Avatar Manu Administrator 50 post(s)

Hi again mehak,

Sorry, I think I misunderstood you. If you want to access to drupal home page directly you must perform some changes in the apache2/conf/httpd.conf file.

1. Change the DocumentRoot

DocumentRoot "/home/yourUser/drupalDirectory/apache2/htdocs"
to
DocumentRoot "/home/yourUser/drupalDirectory/apps/drupalDir/htdocs"

2. Change Directory

<Directory "/home/yourUser/drupalDirectory/apache2/htdocs">
to
<Directory "/home/yourUser/drupalDirectory/apps/drupalDir/htdocs">

Now you must to restart apache2 server, you can do it with ./ctlscript.sh restart. Then when you type http://localhost:7777 at your web browser you will be redirected to drupal home page directly.

Best regards,
Manu.

 
Avatar kahem 22 post(s)

Awesome thanks guyz!

 
Avatar kahem 22 post(s)

Also i figured out the mysql problem. I have install bitnami drupal as a user “x” and not as root.
so when i restart services with root, mysql fails since user is not defined for root.
in logs it spits out the error “Cant change to run as user mysql please check if user exists.”

and when i sudo to the user "x" my sql starts like it should.

hope tht helps.

Forums Drupal