Ubuntu Forums Archive Viewer

Apache 2 error

Archived thread 1155867 from Karmic Koala Testing and Discussion (CLOSED). Markdown source: Karmic_Koala_Testing_and_Discussion_(CLOSED)/thread_1155867_Apache_2_error.md

Original URL About this archive
#1
* Restarting web server apache2 
/usr/sbin/apache2: error while loading shared libraries: /usr/lib/libaprutil-1.so.0: file too short

Any ideas anyone?

#2

I'm not positive about how that error message can be fixed, but more details might help. For example, have you modified any configuration files or is does this appear after a default installation?

You can try to reinstall the library (libaprutil1) or even Apache. If you've modified any configuration files or other files that are used by Apache, you can try removing the changes (or using a default setup) to see if one of them caused the problem.

#3

Re-installing libaprutil1 has fixed this.

I did have to hard reset my machine this morning, so that maybe caused something odd?

#4

Granted that there's no reason for library files to be overwritten by the OS, it could be if file system information was being updated for some reason and the file size was listed as being different from the actual file size. However, I'm just speculating.

Regardless of what the case of the problem was it appears that the file was corrupted. Someone else might have a better idea of what did it.

It would probably be a good idea to mark your thread as being solved since other people get this error message for different files (and based my searches it didn't look as though many people knew the solution to the problem).

#5

How do I change the thread topic to show [solved] ???

#6

You should be able to do it using the red "Thread Tools" link near the top of the page.

#7

Nope :)

Just got options such as email, printable version, add poll, and something else.

I've often tried to work out how to do this and always failed :)

#8

As far as I know, that's always been the way to mark threads as solved, but I've only posted one thread and it was a long time ago. Perhaps you can't mark it as solved because of the section you posted it to (a community discussion section).

Maybe someone else can explain why it cannot be marked as solved.

(if you can't mark it as solved, it's not a big deal)

#9

I think that feature has been absent from the forums for a while (about 6 months) now. I just edit the title and add "[SOLVED]" at the beginning :D