Mantis - apache2
Viewing Issue Advanced Details
2937 upgrade major always 2008-10-01 19:50 2009-03-26 16:34
ltalley  
ihsan  
normal  
closed  
fixed  
none    
none  
0002937: pkg-get upgrade broke apache2 -- downloaded libssl.so.0.9.8.20080930141858.29450 etc but did not symlink libcrypto.so.0.9.8
Yesterday I did a pkg-get upgrade on two servers, and in both cases I ended up with a broken Apache2 instance. Both servers broke in exactly the same way. After the upgrade the start of Apache2 failed with the error

ld.so.1: httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory

and on investigation I discovered that the files

/opt/csw/lib/libcrypto.so.0.9.8.20080930141858.29450
/opt/csw/lib/libssl.so.0.9.8.20080930141858.29450

existed but there were no symbolic links

/opt/csw/lib/libssl.so.0.9.8
/opt/csw/lib/libcrypto.so.0.9.8

so I manually resolved this situation and Apache2 was then able to start.

I don't know where the fault lies but I suggest this might be worth looking into because I assume other people will run into the same problem.
I am running pkg-get Internal SCCS code revision 3.11

showrev
Hostname: elandingsproxy
Hostid: 8451d721
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.10 Generic_118833-17
Issue History
2008-10-01 19:50 ltalley New Issue
2008-10-01 19:52 ltalley Note Added: 0005353
2008-10-01 19:58 ltalley Note Added: 0005354
2009-03-26 16:33 ihsan Status new => assigned
2009-03-26 16:33 ihsan Assigned To => ihsan
2009-03-26 16:34 ihsan Note Added: 0005741
2009-03-26 16:34 ihsan Status assigned => closed
2009-03-26 16:34 ihsan Resolution open => fixed

Notes
(0005353)
ltalley   
2008-10-01 19:52   
dang, got something wrong in the title of this issue!

libssl.so.0.9.8.20080930141858.29450 etc but did not symlink libcrypto.so.0.9.8

should be:

libssl.so.0.9.8.20080930141858.29450 etc but did not symlink libssl.so.0.9.8

this issue did involve two files and two symlinks, but, I should have at least got the correspondence right in the title!
(0005354)
ltalley   
2008-10-01 19:58   
Please see

http://wiki.joyent.com/accelerators:kb:blastwave [^]

for a posting about this issue from earlier this year. This posting was helpful to me in resolving the problem... and I guess from the contents of this posting I probably shouldn't have categorized this as an Apache2 issue, because it apparently is effecting other packages also.
(0005741)
ihsan   
2009-03-26 16:34   
fixed in 2.2.10,REV=2008.10.30