Mantis - Resin
Viewing Issue Advanced Details
3963 minor always 03-23-10 08:24 06-08-10 11:27
mros2stf  
alex  
normal  
closed 4.0.5  
fixed  
none    
none 4.0.8  
0003963: resin startup script not being copied to /etc/init.d/
When doing the make install, the install fails to copy the startup script for resin to the /etc/init.d/ directory, even though I am logged in as root. This was not the case for 4.0.3 or 4.0.4. I know the script would not be correct for SLES; because it wasn't in any previous release, but I could make the corrections if the product simply copied the startup script there.
 config.log [^] (21,871 bytes) 05-17-10 06:24
 config.status [^] (57,269 bytes) 05-17-10 06:25

Notes
(0004582)
emil   
05-14-10 15:52   
Can you post the output of "make install"?

Thanks.
(0004587)
mros2stf   
05-17-10 06:27   
Added the config.log and the config.status files. let me know if you need anything else. BTW, I have copied the init.d script that is created, but I have to modify it for SLES, but it works fine once the modifications are made.
(0004589)
emil   
05-17-10 11:07   
Actually I need the output of "make install". The config.log and config.status are too early in the process.

Thanks.
(0004605)
mros2stf   
05-20-10 18:08   
Can I redirect the output of make install? If so, I'll run it on another server, as I don't want to mess up the one I'm testing with.
(0004611)
emil   
05-24-10 16:54   
Do you mean the standard out or the files that are created? For the former, you can just do a piped redirect (e.g. > or | tee, etc.). For the latter, you'd have to change the prefix and conf directories, which might just mask the problem. If you have another test machine on which you can reproduce the problem, that might be the best.

Thanks,
Emil
(0004612)
mros2stf   
05-25-10 05:21   
This is what occurs on the make install. I ran it from my "sandbox". If necessary I can get a "fresh linux", but the results will be the same, as this has occurred on every system I've installed on.

cp: cannot stat `init.d/resin': No such file or directory

However, the directory and file is there, as you can see below.

adczlnxsandb2:/var/opt/resin-pro-4.0.6/init.d # ls -l
total 12
-rw-r--r-- 1 root root 2678 Apr 13 11:55 build.xml
-rw-r--r-- 1 root root 2392 Apr 20 10:04 resin
-rw-r--r-- 1 root root 2385 Apr 13 11:55 resin.in
(0004637)
alex   
06-08-10 11:27   
added missing conditional statement.