Re: [xwiki-users] XEM Installation Question
I installed basic XE instead of XEM, but there is no change - my web browser still does not bring up XWiki. I looked a bit into the http/tomcat connector issue - it seems like this is a likely culprit given that I don't even have access to the Tomcat logs. I assumed that my hosting provider would have installed mod_jk, but now I am not sure. I will check with them about this and making sure 8080 is forwarded through the firewall. If that fails to resolve the problem, I will re-ask with more info. Thank you for the help so far, aaron On Mon, Jul 18, 2011 at 9:03 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 07/18/2011 06:25 PM, Ashtar Communications wrote: I am checking by pointing my browser to: mysite.com:8080 mysite.com:8080/xwiki mysite.com/xwiki Specifying the port gives me a can't connect error, the last one just gives me a 404 (it's obviously being handled on port 80 by apache) If 8080 doesn't work, then it's blocked by the firewall, you could try to check if you can allow 8080 out of the firewall. If the 404 is a classic apache httpd response, then there's no bridge connecting httpd and tomcat, so it's not an XWiki issue but a httpd-tomcat connector one. I do not think I have access to the Tomcat logs since it is a shared container - they do not show up anywhere that I can find on my filesystem through SSH. Try looking ini in /var/log/tomcat* or /usr/local/tomcat*/logs/ aaron On Mon, Jul 18, 2011 at 1:24 PM, Sergiu Dumitriuser...@xwiki.com wrote: On 07/18/2011 03:32 PM, Ashtar Communications wrote: Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts OK, this should be enough. 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. How are you checking? Is there an error message displayed when trying to access the application? Are there any errors in the tomcat logs? Sure that I'm missing something obvious. Relative newbie to linux servers... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XEM Installation Question
Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. Sure that I'm missing something obvious. Relative newbie to linux servers... Thanks, Aaron ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XEM Installation Question
On 07/18/2011 03:32 PM, Ashtar Communications wrote: Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts OK, this should be enough. 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. How are you checking? Is there an error message displayed when trying to access the application? Are there any errors in the tomcat logs? Sure that I'm missing something obvious. Relative newbie to linux servers... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XEM Installation Question
I am checking by pointing my browser to: mysite.com:8080 mysite.com:8080/xwiki mysite.com/xwiki Specifying the port gives me a can't connect error, the last one just gives me a 404 (it's obviously being handled on port 80 by apache) I do not think I have access to the Tomcat logs since it is a shared container - they do not show up anywhere that I can find on my filesystem through SSH. aaron On Mon, Jul 18, 2011 at 1:24 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 07/18/2011 03:32 PM, Ashtar Communications wrote: Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts OK, this should be enough. 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. How are you checking? Is there an error message displayed when trying to access the application? Are there any errors in the tomcat logs? Sure that I'm missing something obvious. Relative newbie to linux servers... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XEM Installation Question
Shared hosting can be tricky. Logs are really necessary. I would suggest trying with XE first to make sure the basic XE is working. This will avoid database specific issues (I think the main DB should be called 'xwiki' with XEM otherwise there might be some issues). Ludovic 2011/7/19 Ashtar Communications ashtarcommunicati...@gmail.com: I am checking by pointing my browser to: mysite.com:8080 mysite.com:8080/xwiki mysite.com/xwiki Specifying the port gives me a can't connect error, the last one just gives me a 404 (it's obviously being handled on port 80 by apache) I do not think I have access to the Tomcat logs since it is a shared container - they do not show up anywhere that I can find on my filesystem through SSH. aaron On Mon, Jul 18, 2011 at 1:24 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 07/18/2011 03:32 PM, Ashtar Communications wrote: Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts OK, this should be enough. 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. How are you checking? Is there an error message displayed when trying to access the application? Are there any errors in the tomcat logs? Sure that I'm missing something obvious. Relative newbie to linux servers... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XEM Installation Question
I will retry with basic XE and then get back to you after the container restarts tonight. I tried to make the database name xwiki but it was already in use on my shared host, so it forced me to choose another name. Eventually, I think I will have to move off the shared hosting... Thanks, aaron On Mon, Jul 18, 2011 at 3:50 PM, Ludovic Dubost ludo...@xwiki.com wrote: Shared hosting can be tricky. Logs are really necessary. I would suggest trying with XE first to make sure the basic XE is working. This will avoid database specific issues (I think the main DB should be called 'xwiki' with XEM otherwise there might be some issues). Ludovic 2011/7/19 Ashtar Communications ashtarcommunicati...@gmail.com: I am checking by pointing my browser to: mysite.com:8080 mysite.com:8080/xwiki mysite.com/xwiki Specifying the port gives me a can't connect error, the last one just gives me a 404 (it's obviously being handled on port 80 by apache) I do not think I have access to the Tomcat logs since it is a shared container - they do not show up anywhere that I can find on my filesystem through SSH. aaron On Mon, Jul 18, 2011 at 1:24 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 07/18/2011 03:32 PM, Ashtar Communications wrote: Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts OK, this should be enough. 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. How are you checking? Is there an error message displayed when trying to access the application? Are there any errors in the tomcat logs? Sure that I'm missing something obvious. Relative newbie to linux servers... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ludovic Dubost Founder and CEO Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XEM Installation Question
On 07/18/2011 06:25 PM, Ashtar Communications wrote: I am checking by pointing my browser to: mysite.com:8080 mysite.com:8080/xwiki mysite.com/xwiki Specifying the port gives me a can't connect error, the last one just gives me a 404 (it's obviously being handled on port 80 by apache) If 8080 doesn't work, then it's blocked by the firewall, you could try to check if you can allow 8080 out of the firewall. If the 404 is a classic apache httpd response, then there's no bridge connecting httpd and tomcat, so it's not an XWiki issue but a httpd-tomcat connector one. I do not think I have access to the Tomcat logs since it is a shared container - they do not show up anywhere that I can find on my filesystem through SSH. Try looking ini in /var/log/tomcat* or /usr/local/tomcat*/logs/ aaron On Mon, Jul 18, 2011 at 1:24 PM, Sergiu Dumitriuser...@xwiki.com wrote: On 07/18/2011 03:32 PM, Ashtar Communications wrote: Someday, I will not be clueless... I have successfully installed a local development copy of xwiki on Windows, but I'm having some trouble getting XEM installed on my shared linux server. I'm running on a shared Tomcat (5.027) container. Following both the tutorial for XEM and for XE, I have done the following: 1) Since it is a shared hosting environment and java is enabled, I assume I do not have to manually install either java or MySQL. I have created a MySQL database with the name xwikidb through my hosting control panel with username xwikidb. I do not have the ability to add full privileges to the user, but I was told this would not prevent basic installation of XEM. 2) Renamed the xwiki-enterprise-installer-generic-3.1-standard.war file to xwiki.war and uploaded to my server. It exploded as expected when the server restarted to a subdirectory called xwiki. 3) I downloaded the MySQL Java Connector and put mysql-connector-java-5.1.17-bin.jar in my /xwiki/WEB-INF/lib folder 4) Modified the hibernate.cfg.xml file to uncomment the MySQL section and comment out the default. Changed the username and password fields to my information. 5) Checked to make sure localhost was defined in /etc/hosts OK, this should be enough. 6) Now what? There's no .sh file in the WAR...What do I start? I have already waited for Tomcat to restart, but it doesn't appear that xwiki is running. How are you checking? Is there an error message displayed when trying to access the application? Are there any errors in the tomcat logs? Sure that I'm missing something obvious. Relative newbie to linux servers... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XEM Installation Question
On Tue, Jul 12, 2011 at 10:05 PM, Ashtar Communications ashtarcommunicati...@gmail.com wrote: I am trying to get XEM installed on my shared hosting provider, and am running into some trouble with the MySQL user permissions part. The tutorial says: In order for XEM to be able to create new wikis on demand, you will need to give all rights to your database user. For example for MySQL, execute: mysql -u root -e grant all privileges on *.* to xwiki@127.0.0.1 identified by 'xwiki' This command does not work when run on my SSH client. I contacted my hosting provider to ask whether it was possible to assign admin privileges, and they said: It is not possible to change privileges for a database user. The database uses have the most commonly needed privileges set by default. Instead of creating a user as explained in those instructions, you should just be able to use provide the user of the database you created through your Hosting Control Center. Am I right that this response means that XEM will not install correctly, despite their assurances that I have commonly needed privileges? As said in the tutorial, XEM need this right to create new wikis and only for that. If you can't give it global right then it just mean you will have to create the database yourself for each wiki before creating the wiki from the XEM UI, that's all. Has anyone had success setting up XEM on a GoDaddy hosting account? If not, it might be time to switch... Thank you, Aaron Hardy ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XEM Installation Question
I am trying to get XEM installed on my shared hosting provider, and am running into some trouble with the MySQL user permissions part. The tutorial says: In order for XEM to be able to create new wikis on demand, you will need to give all rights to your database user. For example for MySQL, execute: mysql -u root -e grant all privileges on *.* to xwiki@127.0.0.1 identified by 'xwiki' This command does not work when run on my SSH client. I contacted my hosting provider to ask whether it was possible to assign admin privileges, and they said: It is not possible to change privileges for a database user. The database uses have the most commonly needed privileges set by default. Instead of creating a user as explained in those instructions, you should just be able to use provide the user of the database you created through your Hosting Control Center. Am I right that this response means that XEM will not install correctly, despite their assurances that I have commonly needed privileges? Has anyone had success setting up XEM on a GoDaddy hosting account? If not, it might be time to switch... Thank you, Aaron Hardy ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users