#1  
Old 22nd September 2005, 08:39
pebcac pebcac is offline
Junior Member
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Parse error after install

Hi all. I did a search of the forum and did not see anything which matched so if this has been answered before, I apologize. I completed the ISPConfig install without error on my Debian Sarge box. When I go to the admin site and try to login with admin/admin, I get these error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76

Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76

Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:76) in /home/admispconfig/ispconfig/web/login/login.php on line 56

So, I head over to the ispconfig_db_mysql.lib.php file and noticed that the information for host/user/password are all blank. I populate those fields and now I get this error:

Parse error: parse error, unexpected '\"' in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 36

Line 36 is the password line which does not have any '\' entries. I'm not sure where to go from here. Any pointers or some text reference would be greatly appreciated. Thanks in advance!
Reply With Quote
Sponsored Links
  #2  
Old 22nd September 2005, 09:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Undo your changes in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php.

/home/admispconfig/ispconfig/lib/config.inc.php is the file where you put your MySQL details.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd September 2005, 13:04
pebcac pebcac is offline
Junior Member
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I removed the changes I made previously, and took a look at the /home/admispconfig/ispconfig/lib/config.inc.php file. All of my correct information is already populated. To be on the safe side, I re-entered the same information into the file, restarted the ispconfig service, and now I'm back to the original error message. I know that the obvious reason for this is user error, however I'm not sure of where I'm making the mistake. As I mentioned previously, the install goes without a hitch. Is there anything else that you can recommend or should I just wipe out ispconfig and re-install?

Thanks for your help.
Reply With Quote
  #4  
Old 22nd September 2005, 13:10
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,394
Thanks: 833
Thanked 5,488 Times in 4,320 Posts
Default

Quote:
Originally Posted by pebcac
I removed the changes I made previously, and took a look at the /home/admispconfig/ispconfig/lib/config.inc.php file. All of my correct information is already populated. To be on the safe side, I re-entered the same information into the file, restarted the ispconfig service, and now I'm back to the original error message. I know that the obvious reason for this is user error, however I'm not sure of where I'm making the mistake. As I mentioned previously, the install goes without a hitch. Is there anything else that you can recommend or should I just wipe out ispconfig and re-install?

Thanks for your help.
Have you commented out "skip-networking" in the mysql my.cnf file and restarted your mySQL server?
Reply With Quote
  #5  
Old 22nd September 2005, 14:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Does your MySQL password contain special characters that might cause the parse error?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 23rd September 2005, 00:42
pebcac pebcac is offline
Junior Member
 
Join Date: Sep 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yes, to both of you...

Skip-networking was commented and still is. Also, I did have special characters within my admin mysql password. I changed the password in mysql and in the config for Ispconfig and now I think the root issue is showing itself. It appears that I'm having a saslauthd config issue. Eventhough when I query my mail server, I'm getting 250-STARTTLS. When I launch the saslauthd service, I get the following error:

/etc/init.d/saslauthd: line 54: syntax error near unexpected token `('

And when checking that line, it reads:

echo "(failed)."

I've tried moving the quotes inside the brackets and removing the quotes but none of these work. I've now restored it to it's regular setting. I'm starting to do some google searches for that error now. If you guys have any ideas, I'm all ears. (obviously not enought brains yet ) hehe
Reply With Quote
  #7  
Old 23rd September 2005, 02:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Please have a look here: http://www.howtoforge.com/forums/showthread.php?t=607
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mix of Install Problems shawndb Installation/Configuration 5 15th September 2005 09:09
Nasty time with PHP on the install dkhird Installation/Configuration 1 11th September 2005 13:09
Where to Install latcarf Installation/Configuration 31 17th August 2005 10:46
Install stopped at: create clamav.tar.gz domino Installation/Configuration 2 16th August 2005 06:36
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 22:55


All times are GMT +2. The time now is 18:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.