|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Linux noob running OpenSuse 11.0. Installed the whole LAMP package via Yast; I selected it as a pattern, clicked install all, etc. as instructed in the documentation/wiki. I'm either completely missing how to get it started, or I did something wrong. I'm familiar with the WAMP package, but I've gotten it to run on ubuntu before, and on both I went to http://localhost/. On here, localhost resolves to a failed to connect.
Any help would be appreciated. Thanks, Greg |
|
|||
|
You still have to start the services (apache2, mysql). On Debian/Ubuntu installing a server package also automatically enables the service. It's debatable whether this is the right thing to do, but then that's how it is with these distros. You can start the services via YaST also. Also going to http://localhost/ will get you Directory index not permitted. Try http://localhost/index.html
There's more you have to do later. You have to enable php5 in Apache if you hope to view PHP pages. |
|
||||
|
try to start your server in terminal:
Quote:
Other commands: Quote:
Quote:
__________________
My Blog My Programming and Linux Blog LINUX IS LINUX. WINDOWS IS WINDOWS BUT NOT LINUX. |
|
|||
|
Quote:
greg@linux-2s33:~> sudo /etc/init.d/apache2 start Module "ruby" is not installed, ignoring. Check the APACHE_MODULES setting in /etc/sysconfig/apache2. Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr The command line was: /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf failed Also tried via YAST (HTTP Server config) and still doesn't work (localhost) Things did show up in htdocs, though. |
|
||||
|
I didn't face this module issue before.
Did you install all apache files in LAMP from yast. check it again there.
__________________
My Blog My Programming and Linux Blog LINUX IS LINUX. WINDOWS IS WINDOWS BUT NOT LINUX. |
|
|||
|
Yup, everything in that pattern is installed.
|
|
|||
|
You may still have some missing dependencies, something went wrong. Please do this:
Code:
ldd /usr/sbin/httpd2-prefork |
|
|||
|
Quote:
greg@linux-2s33:~> ldd /usr/sbin/httpd2-prefork linux-gate.so.1 => (0xffffe000) libm.so.6 => /lib/libm.so.6 (0xb802b000) libpcre.so.0 => /usr/lib/libpcre.so.0 (0xb8001000) libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7fe8000) libdb-4.5.so => /usr/lib/libdb-4.5.so (0xb7ec5000) libexpat.so.1 => /lib/libexpat.so.1 (0xb7e9e000) libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7e78000) librt.so.1 => /lib/librt.so.1 (0xb7e6e000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e38000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e20000) libdl.so.2 => /lib/libdl.so.2 (0xb7e1c000) libc.so.6 => /lib/libc.so.6 (0xb7cd9000) /lib/ld-linux.so.2 (0xb8063000) libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0xb7c9a000) liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb7c8a000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7c77000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7c5e000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7c19000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7ad5000) libz.so.1 => /lib/libz.so.1 (0xb7ac0000) |
|
|||
|
Strange. libapr-1.so.0 contains one or two apr_atomic_xchg* symbols but not apr_atomic_xchgptr. Could you have a foreign apache module installed from somewhere else, from an external package for Ruby perhaps? Do you have any non-OpenSUSE packages or software installed? Or perhaps a hangover from an older version of SUSE?
Hah, ok, a search found the solution. You need to update some additional packages after the update to apache2, which I assume is because you got the latest version during the install. Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: symbol lookup error: /usr/sbin/httpd2-prefork: undefined symbol: apr_atomic_xchgptr | SUSE & openSUSE |
|
|||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|