OpenSUSE Install :: Setting Up The Apache2.2.6 And Mod_wsgi3.2 And Python2.5.4
May 8, 2011
So far, I have done all the steps (including creating django.wsgi in the project). The step left is to turn on the httpd, but error put exit in this very last step.
Code:
<user> #: ./apachetrl start
httpd: Syntax error on line 450 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_wsgi.so into server: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
View 2 Replies
ADVERTISEMENT
Dec 21, 2010
I would like to install wxpython2.8 for python2.5, which I installed as an alternative version in the presence of the standard python2.6 using xubuntu 10.04 lucid lynx (see the end of this thread for how I did it).how would I do this without the installation going for the standard 2.6 version? I found some notes to that on the web:
[URL]
I tried those, but somehow my wxpython installation got borked and would not do anything afterwards.
View 4 Replies
View Related
Aug 17, 2011
So I've been looking to try out Airpwn, but it seems to only run with Python2.4. Natty, buy default uses Python2.7, and Airpwn will not compile with it. Python2.5 is the lowest in the repos. I tried just downloading Python2.4, and doing the "./configure, make, make install" dance, but I end up with
Code:
root@L1NUX:~/Python-2.4# make
[...code snipped to save space...]
Aborted
make: *** [sharedmods] Error 134
install Python2.4 on Natty? Any method will do fine. If you have a .deb that would be even greater. Anyone who's been able to run Airpwn on something other than Python2.4 is also welcome to tell me their solution. (There used to be a .deb for Airpwn itself, but it seems one was never made for Natty.)
View 2 Replies
View Related
May 9, 2011
When I run the install of 'Gmail Backup' (from URL...) an error msg appears stating that I must have python2.5 - I presently have python2.8Is there any way to solve this without destroying my Slackware 13.37 installation?
View 6 Replies
View Related
May 18, 2010
Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.2 (LAMP) | HowtoForge - Linux Howtos and Tutorials Unfortunately when I wanted to start Apache2, i get an error message:
Code:
linux:~ # /etc/init.d/apache2 start
Starting httpd2 (worker) httpd2-worker: Syntax error on line 116 of /etc/apache2/httpd.conf:
Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf:
Cannot load /usr/lib/apache2-worker/mod_ssl.so into server: /usr/lib/apache2-worker/mod_ssl.so:
undefined symbol: SSL_get_servername
The command line was:
/usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf
I don't change neither servername nor IP, I left the settings by default.
View 9 Replies
View Related
Jan 5, 2011
So I've got a box running 10.04LTS Server, and on it is running the latest build of Apache2.It's a home box - a server set up for the sole purpose of experimenting and having fun with. So far, the fun is mostly breaking it over SSH and then fixing it when I get home and can log into it via recovery.What I really want to do is to get this box set up with Apache2 the way it seems like it was designed - with Apache2 serving web pages from its default file location (/var/www) but also being able to log in and upload/download new web page files to that directory over SCP or SFTP. I keep hitting snags.Here's what I've done so far:
1. The server is set up in a DMZ at home and my router updates a Dynamic DNS record; so far I can SSH into it no problem.
2. Apache is working. I get my "it works!" page when I enter either the IP or the dyndns domain name.
3. SFTP is sort of working. I can log on using WinSCP and see the files and download them, but I can't upload to the default directory with my normal login.
Here's my issues: 1. I want to set up Apache *correctly*. To me, that means leaving it pointing to the default directory, but still being able to upload to that directory. I have not (and probably will not) enable the root account. I've set the permissions to 755. I've tried chown'ing the directory, but then it seems I can't view the webpages.As a workaround, I created a www folder in my default user home directory and pointed Apache2 there in the 'default' file in /etc/apache2/sites-available. The changes read as follows:
Code:
DocumentRoot /home/username/www
<Directory />
Options FollowSymLinks[code]...
That gives me a workaround for the default directory SFTP issue, but I would rather learn what I need to do to have it set up and working with default values.
2. You may notice I added Includes under the Options. My goal is to get server-side includes working. But they aren't. I have some existing webpages my work has set up - I using these as a template to use to adapt a flash movie I made to a specific resolution, as well as to learn how to optimize my flash for a webpage. Our webhost uses virtual hosting; I am not yet doing so. I'm not sure what they've done to set up the server-side includes, but the files they are using are all html files - no shtml. The include files themselves have either .htm or .html extensions. All of the pages have .html extensions.
My reading said that I need mod_include installed in Apache2. Where can I check to see that it is installed? Where do I need to add the Includes under Options?Is it in the right place? And finally, where do I need to add XBitHack on to enable it? This is the method that Apache suggests, but the documentation offers no clue as to where to put it. Most of the documentation out there refers to apache.conf, but that's the Apache 1.3 way of doing things.I really just want this to be set up according to the defaults as much as possible.I want to have a good working knowledge of Apache and of how to set it up and configure it, but dang it if it isn't a frustrating process.
View 8 Replies
View Related
May 6, 2011
So, I followed this initially: [URL]
Now going through the readme here: [URL]
I setup /var/www/music in apache with a symlink to a mountpoint (the mount point points to a folder on a windows box. mnt/falconu points to something like U:filesmp3). The symlink is /var/www/music/p.
When I go to mysite/music everything seems to load fine, I see icons, etc. However, when I click on "p" symlink dir I get 403 forbidden You don't have permission to access /music/p/ on this server.
Here is what I put in sites-available:
Code:
<Directory /var/www/music>
Options Indexes MultiViews FollowSymlinks
AllowOverride All
Order allow,deny
[Code].....
View 1 Replies
View Related
Oct 23, 2010
This is my second day trying to learn opensuse. My lack of terminology makes it very hard to google for the answers. I need to do this:
opensuse:~ # yast2 install postgresql-server apache2 perl texlive perl-DBD-Pg libapr-util1-dbd-pgsql
I know about yast, however this looks like something that needs to ran from terminal.
View 9 Replies
View Related
Aug 22, 2010
i have set up my Apache2 server and i have this question. Because my netbook (eeePC 701 4g surf) has a very small SSD Drive (4GB) is it possible to set the default directory of apache to be an external USB Drive? And if it is, how?
View 2 Replies
View Related
Jun 14, 2010
I'm trying to install Apache2::Request module (from CPAN.org) and in shell there is such messages: I'm using openSUSE 11.1, Perl 5.8
[Code]...
View 2 Replies
View Related
Jun 19, 2010
I'm using openSUSE 11.1, KDE I'm trying to install the module Apache2::Request to my OS. After the gzip -dc libapreq2-2.12.tar.gz | tar -xof - I typed in Shell these (as shown in INSTALLATION document of module): perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs Then something goes wrong, make doesn't work saying: make: *** No targets specified and no makefile found. Stop..
I think the problem is in the command perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs in section .../path/to/apache2/bin/apxs . What does mean ./path/to/apache2/bin/apxs? Maybe I should write the path to apache2 which contains a file named apxs? I did not find such file apxs. My apache2 path is /etc/apache2, but there is no file named apxs... Result for perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs:
[Code]....
View 3 Replies
View Related
Dec 17, 2010
I am setting up a PDC using suse 10.1 but I get the error(failed to modify entry:
structural object class modification from 'sambaDomain' to 'inetOrgPerson' not allowed at /usr/sbin/smbldap-populate line 464, <GEN1> line 21.) when I run /usr/sbin/smbldap-populate command
linux-5r4o:~ # /usr/sbin/smbldap-populate
[code]....
View 1 Replies
View Related
May 5, 2010
I'm running WIN 7 and trying to dual boot with 11.2--the install goes fine until I get to partitioning. Then I get this message: Del windows partition /dev/sda1 Resize impossible due to inconsistent FS try checking FS under windows.Del/dev/sda3 Del Windows /dev/sda5.Then it wants to install extended, swap and root. I tried to resize the partition prior to intalling SuSE with paragon partition manager which failed.Could someone tell me how I should be setting up the partitions on install please.
View 7 Replies
View Related
Nov 26, 2010
Installed 11.3 KDE today on an old Vaio desktop we were given (Duron 900Mhz, 512mb, 40Gb HD, SiS630 onboard video, Trinitron 15" monitor). Everything works fine except it will not save the 800x600 resolution setting. Every time I reboot it is back to 1280x1024 which it thinks is the default resolution. Any tweak to get 11.3 to save that setting?
View 4 Replies
View Related
Dec 15, 2010
I need some help to set up a bootable USB stick. I have an USB stick, 3.7 gigs big, on which I want to put the OpenSuse Live CD iso, but somehow I am stuck... I have formatted the stick and I have set the boot flag in KDE partitionmanager. Then I have put the .iso on it, using Unetbootin. When I now try to boot it, I get the message
Code:
could not find Kernel boot image: gfxboot
Is maybe the boot flag not set, despite the partitionmanager shows it set? Can I set it also afterwards, after I have installed the .iso on the stick (I tried this already, did not change anything)? Or is there something wrong with the .iso?
View 2 Replies
View Related
Apr 9, 2011
I've tried looking for involving Apache2+SSL isn't really up-to-date with the newest Apache2 release. I can't seem to find a good one. Does any site admin have any suggestions on where I should start?
View 1 Replies
View Related
Nov 19, 2010
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies
View Related
Dec 9, 2009
I am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
View 1 Replies
View Related
Feb 6, 2010
I'm having problems setting up an LDAP server for suers. The SUSE user management won;t let me create users with passwords longer than 8 characters in the LDAP directory. Local users are fine. This is a new LDAP server setup using the instructions from Integrating LDAP and Samba using openSUSE
I'm getting the error "The password is too long for the current encryption method. Truncate it to 8 characters?" I can create users with short passwords, but this isn't acceptable - it's a security issue.
The susePasswordHash in LDAP is SSHA (default)
The password hash in users & groups management is blowfish.
how to get this working with long passwords?
View 1 Replies
View Related
May 22, 2010
This is the first time I am using forum. I am using SUSE 11.0 I dont know which settings I made but for one of the user I am not able to see the blue bar which has minimize, maximize, close bar.
I tried to replace .bashrc other related files by creating new user but the problem still exists.
Kindly help me to know what are the user profile related files and what might be the cause for this.
View 9 Replies
View Related
Dec 12, 2010
I am having a problem setting up an encrypted home directory with openSUSE 11.3. I used Yast User and Group Management to edit an existing user to encrypt the home directory and the user.key and user.img files were created in the /home directory. I tried it out and logged in as user and created a new file. I logged out and logged in as a different user and was able to see the newly created file in the first users home directory.
I figured I did something wrong so I went back to Yast and deleted the user. I deleted the /home/user directory using file manager su mode. I tried again to create a new user with an encrypted home directory using Yast and now when Yast tries to write the changes I get an error: "pam_mount is already setup for user. Use --replace to replace the
existing entry." I do not know how to proceed from here except to try with a different user name as I do not understand what the error message means and what command to use --replace with.
View 1 Replies
View Related
Feb 17, 2011
I just know it has to be possible to let two users (since I have two kids) share the same PC at the same time using a 2nd graphic card, two displays, two keyboards, two mice. I have seen one 10 year old "how to" which just didn't seem like it would fly with today's XFree/DBUS/all USB setups.
Does anyone know how to do this? I would like each user to see a log in screen and log into a GUI desktop (it doesn't have to be KDE, but that is what we have been using). The MB and the video card use the same type of GPU. The PC has a dual core AMD, and 4 GB of RAM, so the resources should be fine for school work, KDE Educational software/games. Other than squid, there isn't particular server running on it either, so resources should not be an issue.
View 7 Replies
View Related
Mar 22, 2011
I can't install 11.4. First install freeze when loading basic drivers. I set acpi=off and install start but freeze during setting.I think also that 11.4 was not mature.I have a Asus P7P55 MB with Intel Core i5 CPU 750 8Go RAM and Nvidia GT200 GPU.No problem with 11.2 except sound.
View 5 Replies
View Related
May 21, 2009
openSUSE Install/Boot/Login: I am looking for a Linux distribution with a working LTSP OOTB. LTSP-openSUSE / KIWI-LTSP looks interesting (http://en.opensuse.org/LTSP).
When I boot openSUSE-11.1-DVD-i586.iso, go through the installer, and attempt to use encrypted LVM, I get the following error dialog:
Code:
YaST2
Error Failure occurred during following action: Setting up encrypted dm device on /dev/sda2 System error code was: -3034
View 1 Replies
View Related
Jul 18, 2010
i am trying to install the new openSUSE 11.3 version but i can't install it without setting the ACPI mode to OFF. Is the new kernel support this hardware? (Toshiba Satellite A505-s6033) i had this problem already with Ubuntu 10.4 LTS and i had have to recompile the kernel with this patch: Some buggy BIOS may modify DSDT memory when acpi enabled. So we copy DSDT for safe.
I thought the 2.6.34 kernel already have this patch but it seems i was wrong... So if i will install the system with ACPI on OFF mode i will be need to recompile the kernel with this patch to get things working?
View 9 Replies
View Related
Nov 16, 2010
In my hard disk I have win xp, opensuse 11.1 and ubuntu 10.4. I'd like to replace 11.1 version of opensuse with the last one 11.3 without losing data and setting in other partitions. this is my hd:
[Code]....
I think (but I'm not totally sure) I installed opensuse in dev/sda6 and dev/sda7...what is the right thing to do?? should I have to delete /dev/sda5 /dev/sda6 and /dev/sda7 partitions and then install opensuse 11.3 in the new free space??
View 9 Replies
View Related
Feb 25, 2010
I am trying to write a gui app with python2.6.4 and wx on win XP. I am attempting to resize an image with Imagemagick from within the program using os.popen and os.system in a thread.
Code:
os.popen("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
orCode:
os.system("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif")
they both work as far as resizing the image but when os.system is used a command shell opens during the mogrify and when os.popen is used the command shell does not show but the rest of the program freezes until mogrify is done.
I would prefer that the program did not freeze during this process and the command shell did not show.I have tried using wx to scale the image but the scaled image looks crappy.anyway is there a way to use os.system and not have the shell show?
View 2 Replies
View Related
Jun 23, 2010
I want to copy a file into my Root folder but I cant.what should I do?
View 2 Replies
View Related
Aug 29, 2011
I am running 11.4_64, KDE47 (recent update from 46)
I have three Suse Linux pcs on my network.
I'll call them desktop, media center and laptop.
I am logged in to my desktop , I want to open a new session and log in to my media center.
From GUI, I select application launcher - leave -switch user and get a fresh kdm greeter screen.
On the Greeter screen, I select Menu - Remote Login
A window opens displaying three machines - my desktop, my laptop and my media center.
When I move the mouse into the new window to select the media center as the new target machine, the window immediately closes.
I have Xdmcp access enabled in kdmrc on all three systems(and rebooted).
This did work fine back when I was on KDE45 and KDE46.
Is there a new permission or setting now under KDE47?
View 1 Replies
View Related
Jun 9, 2011
Does anyone know how to update python2.4 to 2.7 without removin 2.4
View 3 Replies
View Related