[ZendTo] Issue with Installation on CentOS 7.

Jules Jules at Zend.To
Thu Mar 9 14:54:54 GMT 2017


Daniel,

Attached is a replacement for install.ZendTo/CentOS-RedHat/1-devtools.sh 
(gzipped).
Please can you make it executable, then try running the installer? You 
can just run stages on their own, provided your current directory is 
somewhere within the installer's tree.

Thanks!
Jules.

On 08/03/2017 19:41, Daniel Bird wrote:
> I'd be happy with the installer stopping and explaining why.   Other's may want a more scripted solution but I would say that IF you are using Kickstart like us, and do crazy things like this, then you should be in a position to fix your own breakage. ;-)
> Of course, this wouldn't affect truly clean installs.
> Cheers
> D
>
>
> From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules
> Sent: 08 March 2017 18:51
> To: ZendTo Users <zendto at zend.to>
> Subject: Re: [ZendTo] Issue with Installation on CentOS 7.
>
> Dan,
>
> Interesting.
>
> So I could do something like this:
> yum repolist all | grep -e -q '^\**epel[[:space:]]'
>
> If that returns successfully, then EPEL is already installed.
>
> At which point if I do
> yum repolist all | grep -e -q '^\**epel[[:space:]].*disabled'
>
> and it returns successfully, I know it needs enabling before I go any further.
>
> Whether I do that by editing your existing epel.repo file, or by stopping completely and explaining why I've stopped, is a question you're probably better able to answer than I am.
>
> Which should I do?
>
> Thanks!
> Jules.
> On 08/03/2017 18:30, Daniel Bird wrote:
> Hi Jules,
> We actually figured this out a short time ago.
>   
> Our Kickstart build installs the EPEL repo by default, but we disable it during kickstart post.
>   
> Of course, your install script also installs EPEL, but since the epel.repo file exists, it installs an epel.repo.new and keeps using our file in which EPEL is disabled.
>   
> Manually ensuring enabled=1 in /etc/yum.repos.d/epel.repo before running the installer fixed it.
>   
> ATB
>
> Dan
>   
> From: mailto:zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf Of Jules
> Sent: 08 March 2017 17:52
> To: ZendTo Users mailto:zendto at zend.to
> Subject: Re: [ZendTo] Issue with Installation on CentOS 7.
>   
> Anthony,
>
> Did you respond to *any* of the questions it asked you with any key except just pressing Return?
>
> I suspect you managed to respond with a space somewhere, or something like that.
> Try running stage 4 again, and just keep pressing Return and nothing else. You can run the stage 4 script (it's in the CentOS-RedHat subdirectory) on its own, or else just run the whole installer again and tell it not to do stages 1 to 3.
>
> Cheers,
> Jules.
>
>
> On 01/03/2017 14:29, Anthony Wilson wrote:
> Hi
>   
> I am trying to install the latest version of Zendto on a new CentOS7 server.
>   
> I have followed your instructions on your web page (http://zend.to/downloads.php#installer), however I have encountered the following error message at the end of a task 4.
>   
> "Building the RPM for php-pecl-apcu failed.
> Do not worry, I have a patch which might fix this.
> I will apply it and try again.
> grep: : No such file or directory
> head: : invalid number of lines
> tail: cannot open '' for reading: No such file or directory
> mv: cannot stat '': No such file or directory
> cp: cannot create regular file '': No such file or directory
> grep: : No such file or directory
> head: : invalid number of lines
> tail: cannot open '' for reading: No such file or directory
> mv: cannot stat '': No such file or directory
> cp: cannot create regular file '': No such file or directory
> error: File /root/rpmbuild/SPECS/ is not a regular file.
> Something went wrong, and the RPMs for php-pecl-apcu were
> not built successfully. Please go back through the output from this
> and try to fix what went wrong (usually something that should
> be installed but was not).
> Then run this script again.
> Exiting..."
>   
> su -
> /opt/zendto/bin/adduser.php
> That will show you the syntax. Use it to add a single test user.
> Then login to the website and drop off some files.
>   
> Now go and configure ZendTo itself in
> /opt/zendto/config/preferences.php and
> /opt/zendto/config/zendto.conf
>   
> For help configuring ZendTo for Active Directory, see
> http://zend.to/activedirectory.php"
>   
>   
> Any assistant would help, as I didn't install the software before.
>   
> Regards
>   
> Anthony Wilson
> Systems & Applications Administrator
> IT Services - Information Services
> St Georges - University of London.
>   
>
>
>
>
>
> _______________________________________________
> ZendTo mailing list
> mailto:ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
> Jules
>   

Jules

-- 
Julian Field MEng MBCS CITP CEng


www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-devtools.sh.gz
Type: application/x-gzip
Size: 1012 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170309/ba752a3a/attachment-0001.gz 


More information about the ZendTo mailing list