Problem running post-install step
|
|
Hello all, I recently installed the LAMP Stack (LAMPStack 1.0-beta-1) and then the Drupal module (Drupal 6.3-0-module) for it. I did all of this as root (or rather with sudo). The LAMP Stack gave me no errors during the installation. After installing the Drupal Module I got a: “Warning: Problem running post-install step. Installation may not complete correctly Error running /opt/lampstack-1.0-beta-1/ctlscript.sh restart apache : Syntax error on line 1 of /opt/lampstack-1.0-beta-1/apps/drupal/conf/drupal.conf: Well needless to say I hit ‘enter’. It said setup had finished installing the Drupal module and would I like to launch it. Yes again. So I tried running the ’./ctlscript.sh’ after that. I ‘cd’ to the proper directory and did a ’./ctlscript.sh restart’. I got a: “Syntax error on line 1 of /opt/lampstack-1.0-beta-1/apps/drupal/conf/drupal.conf: I tried this script with ‘sudo’ and by using ‘su -’. I also tried ’./ctlscript.sh restart apache’ with the same error. I tried to open ’/opt/lampstack-1.0-beta-1/apps/drupal/conf/drupal.conf’ with ‘vi’, but it’s not something I can read. This is the output from ’/opt/lampstack-1.0-beta-1/apache2/logs/error_log’: “Wed Jul 16 20:33:10 2008 Init: Session Cache is not configured [hint: SSLSessionCache] The bottom line is the only thing of any relevance that I see. So I checked and ‘azenv.php’ is NOT in said directory. I have yet to find it. Anyhow I have no idea what the deal is here, or where to go next. Any help would be appreciated. Thanks. |
|
|
Well I seem to have fixed it. Was overlooking the obvious. The file I said that I can’t read (/opt/lampstack-1.0-beta-1/apps/drupal/conf/drupal.conf) did indeed have a ‘]’ at the beggining. So I deleted that and all is well. Would this be a bug, or something that I did wrong? |
|
|
Hi, I checked that file in my computer and it seems to be okay. Anyway, I’ll try to reproduce the error following the exact steps you provided and get back to you. Cheers |
|
|
Hell again, Thanks for the response. I tried the same thing as user instead of root and get the same error. I still have to remove ‘]’ from ’/home/theavataroftime/lampstack-1.0-beta-1/apps/drupal/conf/drupal.conf’ in order to get it to work. Not sure what the deal is. |
|
|
Also it would seem that the module did not install correctly because when trying to use Drupal through the browser I get a ’/drupal does not exist on this server’ or something of that sort. The LAMP Stack works just fine (though I installed it as user this time). So I uninstall the current Drupa module and try the 5.8 Drupal module and I get this: “Warning: Problem running post-install step. Installation may not complete correctly I cannot access Drupal then either but it seems to be a different error. Either it way it shows up in the ‘Appications’ tab. Thanks. |
|
|
Not sure that I should put this in this forum but I just tried the Wordpress module as well, without uninstalling the Drupal module by the way. I get a: “Warning: Problem running post-install step. Installation may not complete correctly It also shows up in the apps tab but if I try to use it I get the same ‘does not exist’ error. This is odd though that it is looking for the ‘drupal.conf’ file, but maybe that is normal. I had tried using the other LAMP Stack instead of the beta the other day, and I don’t remember the exact problem but when trying to install modules on it I was missing a file. Think it was ‘properties.ini’ if I remeber right. Just now I tried uninstalling the LAMP Stack, and when I went to reinstall it port 8080 will not work. That is the port that I used before, so I’m not sure why it won’t work now. Did the prior installation not fully uninstall somehow? Anyhow I think that’s the last of the info I have. Good luck. |
|
|
Hi, First of all, modules only work with LAMPStack beta, which is the one with the ‘properties.ini’ file. The problems you seem to be facing are because of the ‘httpd.conf’ file being corrupted since the Drupal installation. And because of that, Apache web server wasn’t started during the installation, what caused the applications installation to fail, because they interact with the webserver to be configured. So, please start it over with a new LAMPStack or fix the conflicting line in httpd.conf and uninstall/reinstall the modules. I will look into the Drupal issue right now, to see if I can reproduce it. Cheers |
|
|
Hi again, I just installed Drupal module twice flawlessly, so I’m a little puzzled here… Can you try a fresh LAMPStack installation and another module (WordPress, for instance)? Thanks |
|
|
Hello, Thanks for the replies. I did a fresh server install (just ot be thorough) and then installed the LAMPStack beta. Again it installed just fine. I then tried to install the Wordpress module and got the ‘Invalid command ‘]’’ as in the first post. I could try some other modules, but I am certain they will yield the same result. Not sure why I would be the only run with this trouble though. I really don’t see how I could have done anything wrong, I just chmod the installers and then run them via terminal. Could this be some issue with Arch Linux? I know it handles certain things differently than other distros. For instance it doesn’t use ‘init.d’, only ‘rc.d’. Probably a shot in the dark….... Anyhow thanks for the help. I’ll be happy to try anything you suggest. Good Luck. |
|
|
I am going to try using Ubuntu Hardy 8.04 on my server instead of Arch and see if that makes a difference. What distro are you testing this on? Thanks. |
|
|
Okay, I have the same problem with ‘]’ in ’/opt/lampstack-1.0-beta-1/apps/drupal/conf/drupal.conf’ when using the Ubuntu Hardy server install. So I’m at a loss. Perhaps I really am doing something wrong. Or some other missing dependency I wonder? Thanks. |
|
|
Hi, I do use Arch Linux as well, and the module has been tested in a variety of distributions, including Ubuntu. What shell are you using? You can find it by looking at the line corresponding to your user in the file /etc/passwd Cheers |
|
|
Hello, I just checked on that and I use ‘bash’. EDITED BY ANTONIO: Never give your login :) Thanks. |
|
|
Are you sure it is really ‘bash’ or is it symlinked to ‘ash’ ? Also, are you trying to start the servers as an user different from the one you installed them as? |
|
|
Hello, Thanks for the reply. I am fairly certain that it is ‘bash’, how would I check on that for sure? It is listed as ‘bash’ in ’/etc/passwd’. No, I am trying to start it as the same user. I believe that the problem has been found. I have been talking with Antonio via email, and it seems to be a bug in the newest version of InstallBuilder. I am just waiting to try the next module that is released. |
