OpenSUSE Network :: Can't Manage To Php5 Cgi With Using Spawn-fcgi

Mar 18, 2011

I am trying to set up an nginx server. I intend to use it with, php and python, and probably with frameworks like django and codeigniter. However, I can't get it working. This is what I did: Installed these from Install/remove software:

nginx,FastCGI,php5-fastcgi,python-fcgi,spawn-fcgi

My current nginx.conf file is this (Stripped comments):

[code]...

What happens is: when I type a php url to address bar, I only get a text saying "No input file specified." This is what I get when I make netcat sit on 9000, and go for <hostname>/phpinfo.php:

[code]...

There are clearly some config problems here, but can't find out what are they, since this is first time I try to setup nginx and fastcgi.

View 1 Replies


ADVERTISEMENT

Server :: Nginx/php/spawn-fcgi: No Response When Script Requests Same

Apr 12, 2011

I have a perfectly working installation of nginx / PHP / fastcgi on the latest stable Debian distribution. No problems at all, apart from this one: When a PHP script (script A) is written to request a PHP script on the same web server (script B), nginx takes several minutes to respond and finally the connection times out. And it happens only when invoking script A through nginx. Calling it from command line works fine � I get a normal output of script B.

Literally, the test case is as simple as:

Script A:

PHP Code:

[code]....

I suppose the root of the problem may be some obstacle occurring when php5-cgi ends up invoking itself. And this is what happens when script A is called through nginx. But I have no ideas yet how to address the problem. One of my PHP applications checks itself during installation, that's why I need to request a PHP script from a PHP script on the same server.

View 1 Replies View Related

OpenSUSE Network :: 11.4 PHP5 Interactive Readline Not Working?

Apr 25, 2011

I just installed openSuse for the first time the other day. I'm trying to get my web development tools up and going and I've hit a little snag.After installing php5 I tried to use interactive mode on the command line (php -a) but I didn't get the nice line-edit-capable prompt I'm used to. A little research told me I needed to install readline support, so I installed the php5 readline package. The thing is even though `php -m` now shows the readline module is loaded I still don't get the line-edit support

View 6 Replies View Related

OpenSUSE Network :: Get Network Manager To Manage Those Connections?

Mar 19, 2011

network manager isnt showing any network interfaces. ifconfig shows wlan0 and eth0 and internet is working. how can i get network manager to manage those connections?

View 8 Replies View Related

OpenSUSE Network :: Bandwidth Management Based On Ip - Manage Usage For Each Client?

Apr 30, 2010

I setup a server with vmware esxi 4. I installed opensuse 11.2 and I have successfully setup an internet gateway and I manually configured (static) my client IP. My question is, is there any software or commands that I could use to manage the bandwidth usage for each client? eg. only 5Mbps for 192.168.1.5, 10Mbps for 192.168.1.10, etc

View 3 Replies View Related

OpenSUSE Network :: Manage The Firewall From The Command Line Or With Files VIA Puppet?

Apr 25, 2011

I would like to manage the firewall from the command line or with files VIA puppet, however this peice of software seems pretty complicated compared to the other distributions and generic iptables commands / configurations we push out.

View 9 Replies View Related

Ubuntu :: Init: Failed To Spawn Network-manager Main Process: Unable To Execute: No Such File Or Directory

May 27, 2010

I just updated from 9.04 to 9.10 (it's a long story, and I still can't go beyond 2.30).The update got rid of WICD, which is what I used and installed network-manager. Network-manager was not working at all, so I uninstalled it again and installed WICD. I could connect perfectly and had no problems.However, now the computer hangs during boot, saying that init can't start network-manager. I assume that something went wrong during the uninstalling process, since it wasn't updated.

This is the message: init: Failed to spawn network-manager main process: unable to execute: No such file or directory.

So how do I update it or manually change it so it stops requesting network-manager?

View 3 Replies View Related

Networking :: Unable To Connect To Wi-Fi Network With Network Manage

Nov 21, 2008

I'm unable to connect to a particular home wireless network under Fedora 9, although I can connect to it using WinXP on the same machine. My Fedora installation is able to connect to my college's unsecured wireless network, so it's not a driver issue I think.It seems to be an authorisation issue, as I'll describe below, but there's one other thing that's bothering me. The SSID for the network I have problems with is for some reason not listed in Network Manager's drop-down list, nor is it in the output of iwlist wlan0 scan. But I'm pretty sure it's not a "hidden" network - I don't know exactly how those work, but I helped the owner of the wifi network in setting it up, and don't remember doing anything that would make it hidden. As far as I can remember, Windows found the network automatically without having to be told the SSID. What's the best way to confirm whether it's a hidden network or not?

Anyway, I try to connect by selecting connect to other wireless network in Network Manager, and entering the SSID. As far as I can tell from the error messages below, the machine does contact the network and attempt to connect, but I'm not authorising myself properly. That may be a completely wrong diagnosis, but hopefully someone can see from the below info whether it's correct or not.I'm not sure which option to use for "Wireless Security": at the time we set up the network, it gave us a Hex WEP key of 26 characters, which is 104 bits. But none of the options in Network Manager's list match that. Here are the options it has, and the error message I get with each one:None - if I select this, it fails to connect, with no error message.
WEP 128-bit passphrase - if I select this and attempt to use my 26-character WEP key, it brings up a new dialog, saying "Passwords or encryption keys are required to access the wireless network [SSID]." It has a drop-down box labelled "Wireless Security", but this time the only option is "None", and the connect button is disabled, I can only click cancel.
WEP 40/128-bit hex - as above.
WEP 40/128-bit ASCII - The connect button is disabled when I try to use the WEP key, as the string is too long. Despite the fact that it says 40/128-bit, it actually accepts 5 and 13-character strings (40 or 104-bit). Since I've got a 104-bit hex key, I tried converting it to ASCII, but it consists of mostly unprintable characters, so I'm not sure there's any way to actually enter it into the textfield. I might have done something wrong here, so I've put my code below to see if anyone can point out a mistake.
LEAP - requires a username, not applicable here I think. Windows doesn't need one, and we don't have one from when we set the network up.Dynamic WEP (802.1x) - requires username, private key and various other things, all N/A WPA & WPA2 Personal - Brings up a dialog with the same text as for "128-bit passphrase", but this time "WPA & WPA2 Personal" is the only option in the drop-down list, instead of "None". It asks for a password, so I just enter the hex key again - now it asks for the password for the Gnome Default Keyring, which I don't think I've ever set up. Don't know if I can go any further with that, but my understanding is that since we were given a WEP key when we set up the network, WPA will be N/A.WPA & WPA2 Enterprise - as Dynamic WEP. N/A.Hopefully that's enough info that someone can help diagnose the problem. Some of the behaviour of Network Manager described above doesn't make sense to me, and I'm wondering if it's buggy.

View 14 Replies View Related

Ubuntu Servers :: Use PHP5.2 Instead Of PHP5.3?

May 3, 2010

I'd like to use PHP5.2x instead of PHP5.3x on my Ubuntu 10.04. There is a small bug in Drupal where tweaking Views causes an error which seems to be associated with php5.3.

So, how would I regress to using 5.2x on Ubuntu?

View 1 Replies View Related

OpenSUSE :: Where Has Php5-imagick Gone

Oct 13, 2010

I used to run Apache + PHP5 + MySQL + ImageMagick locally, as a testing server for a project I'm working on. A while ago I updated a few things, with the php5-imagick library not matching dependency version numbers anymore. I decided to ignore it, since there was no update for the library. I have been without an internet connection in the meantime, but php5-imagick didn't work anymore at all. It didn't return any errors, but it simply didn't modify anything about the pictures anymore. A few minutes ago I decided to manually uninstall and reinstall the php5-imagick package.Uninstalling went fine. But when I wanted to reinstall it, the package was nowhere to be found! A quick Google search turned up no relevant results.

View 5 Replies View Related

OpenSUSE :: Cannot Run Apche2 With Php5

Apr 3, 2011

I can't run apache2 with php5. I follow instructions from here: SDB:Linux Apache MySQL PHP - openSUSE but seems stuck at Confirming apache2 works. It did not. I noticed that everytime I restart this 'error' will come out :

[Mon Apr 04 10:40:30 2011] [warn] module rewrite_module is already loaded, skipping
[Mon Apr 04 10:40:30 2011] [warn] module rewrite_module is already loaded, skipping

httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Syntax OK Shutting down httpd2 (waiting for all children to terminate) done Starting httpd2 (prefork) [Mon Apr 04 10:40:32 2011] [warn] module rewrite_module is already loaded, skipping [Mon Apr 04 10:40:32 2011] [warn] module rewrite_module is already loaded, skipping httpd2-prefork: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

View 2 Replies View Related

Ubuntu Servers :: Setting Up Server To Manage Network?

Mar 31, 2010

I have a server on my home network. It's currently running a DNS server (bind9) and an HTTP caching server (squid).What I would like to do is redirect all outgoing port 80 connections to the squid server and also make the server responsible for managing DHCP on the network.

Do I just need to install a DHCP daemon on the server, disable it on the router, then set my server as the default gateway and configure iptables to route all connections like I want? Or is it more complicated than that? Also, would that mean that all communication between two computers on the network will go through the server?

View 9 Replies View Related

OpenSUSE :: Php5-mbstring Don't Work

Nov 5, 2010

There are installed software:

SuSe Linux 10. Linux version 2.6.16.21-0.8-smp
php5 - PHP5 Core Files Installed Version 5.3.2-28.1
php5-mbstring - PHP5 Extension Module, Installed Version 5.3.2-28.1

But php5-mbstring don't work. The command php5 -m and phpinfo() show that a extension php5-mbstring not present, but in the Yast2 this extension installed (Installed Version 5.3.2-28.1)???

View 6 Replies View Related

OpenSUSE Install :: Upgrade From PHP 5.0.x To PHP5.2.13?

May 24, 2010

I would like to upgrade from PHP 5.0.x to PHP5.2.13. My box is Suse 9.3.(Pleask 9.5.2).

View 2 Replies View Related

Ubuntu Servers ::configuring FCGI To Run Redmine - Forbidden You Don't Have Permission To Access

Nov 14, 2010

I have installed Redmine according to the instructions on [url] according to the mod_cgi instructions which seem to be the easiest to follow.

The script installed in the installation directory was called 'dispatch.fcgi', and not parsing when I visited the page through the browser, just displaying the contents of the script. OK, so I installed the apache mod libapache2-mod-fastcgi using apt-get. Then 'a2enmod fcgid' followed by an apache restart.

Now when I visit the Redmine folder through the web browser I get 'Forbidden You don't have permission to access /redmine/dispatch.fcgi on this server.'

I checked to ensure www-data owns all files and has correct permissions to the folder. But this doesn't seem to work.

View 3 Replies View Related

OpenSUSE :: Php5-readline Causes Segmentation Fault Of PHP In 11.2?

Mar 23, 2010

as the title describes - php5-readline causes Segmentation fault on opensuse 11.2, on both my desktop and laptop, on all listed versions of php - 5.2.9, 5.3.0 and 5.3.1

View 3 Replies View Related

OpenSUSE :: PHP5 Soap Extension Not Loading?

Feb 10, 2011

I have no hair any longer on the sides of my head... after trying to deal with this problem. I have installed apache2 on a SuSE 11.3 box, with php5, php-pear, php-gd, etc, and I cannot get php-soap to get recognized. Do I need to see the soap.[URL]..When I run an installation wizard for the web app I am planning to host, and it says that there is no soap installed. When I place soap php-soap php5-soap in the APACHE_MODULES of /etc/sysconfig/apache2 (just to make sure at least one is the right name) and restart apache2 I get error messages that say, soap (or php-soap, or php5-soap) is not installed, so its being ignored. When I run my phpinfo.php script, I see PHP is working, and soap is one of the successful modules (!?).

So, why can't apache see soap? I can find my soap.so within /usr/lib/php5/extensions/soap.so (how would I successfully load that into Apache, when it starts? I have been using yum, so I went to yast, and installed php-soap again. restarted apache, and still no success.

View 4 Replies View Related

OpenSUSE :: Missing Integration Between Firefox 4 And PHP5

Apr 16, 2011

I've got apache2, ver 2.2 running on openSuse 11.4 and just installed php5. My php web pages are still only displaying the text files and are not parsing or executing as expected. I've rebooted to clear any hidden gotchas.

View 9 Replies View Related

Hardware :: Manage A Iomega Home Media Network Hard Drive (1TB)?

Nov 12, 2010

In MS Windows, I had the Iomega Home Storage Manager installed, to manage the hard drive as a administrator. Is there an alternative for Linux, and how to install?

View 2 Replies View Related

OpenSUSE :: How To Start PHP - Version Php5-5.3.2-1.31.i586 Is Already Installed

Feb 4, 2011

I am installing opensuse 11.3 as a text-based web server. I have installed apache2, php, php-gd, php-pear and mysql... Now, I am trying to run the installwizard.php to install this LAMP app and any php file, seems to just download, instead of 'resolve to the screen' in the browser. When I run chkconfig, and see that apache and mysql are running. I have already restarted apache, and it seems to come up okay. I have created a test index.html file, and seems to be loading fine. I have googled for this, and it doesn't seem to happen to anyone else! when I try to yum install php, it says that version php5-5.3.2-1.31.i586 is already installed.

I am using yum, on the command line. Permissions are:

-rwxr-xr-x 1 root root 5654 2008-08-04 16:39 installtest.php
-rwxr-xr-x 1 root root 48605 2008-08-04 16:39 installwizard.php

View 9 Replies View Related

OpenSUSE :: PHP Startup: Unable To Load Dynamic Library '/usr/lib/php5/extensions/intl.so'

Aug 20, 2011

few days ago i installed the newest opensuse 11.4 32bit system and all is working really fine.except when starting apache or doing a php -v on the CLI i receive the following error ->

php -v
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/intl.so' - /usr/lib/php5/extensions/intl.so:
undefined symbol: grapheme_extract_count_iter in Unknown on line 0

i know this bug has been reported earlier and i found quite a few results in google.i even found one result where the problem was fixed and updated in an additional opensuse repository -> Additional package repositories - openSUSE the repository with the fix is the following -> Index of /repositories/server:/php/openSUSE_11.4 so ... i added this repository via YAST to the repositories in my system without any problems but whenever i do a system update via YAST i don't receive new fixes and patches from the newly added repository!

if i directly browse to the /i586 folder in the repository i see all the PHP updates with version 5.3.7 and the latest updates were done 19 aug 2011 Index of /repositories/server:/php/openSUSE_11.4/i586 but my system still has PHP version 5.3.5 installed and somehow doesn't want to update from the newly added repository for the apache php modules so ... i just double checked and the repository is enabled in YAST ... but I still don't receive updates from there i would like to update to the new apache php modules, to get rid of that php '/usr/lib/php5/extensions/intl.so' warning, but somehow that doesn't seem to work

View 1 Replies View Related

OpenSUSE :: App To Manage Themes In The MSWindows Sense?

Sep 4, 2011

Wallpaper, with a complimentary color scheme for windows decoration, and icons and sound effects inspired thereby, loaded as a set. Is there an app that does this for KDE? It seems like linux gives me more options, but without an important tool to utilize them. I'm sorry to bring a question here that's probably been asked many times over the last dece, but the likely hits on "theme" and "windows" has overwhelmed my search fu.

View 4 Replies View Related

OpenSUSE Install :: Manage To Get The LiveCD Working?

Jan 22, 2010

I recently downloaded the i686 11.2 and right before it seems as though the Live CD is going to load, with the cursor and the black screen present, it takes me straight to 'linux login'. It states that runlevel 5 has been reached, the failed services in runlevel 5 are postfix and the skipped services are nfs if that's of any significance. I have no idea where to start; looking around it looks as though this is a graphics card issue. My laptop has Intel X3100 integrated video. How can I manage to get the LiveCD working?

(Also, if let it sit at the login for a while, it says "usr/sbin/stop_preload: line 4: /usr/bin/killall: Input/Output error)

View 9 Replies View Related

OpenSUSE Install :: Manage To Boot Among Win7 / 11.3 / Ubuntu?

Sep 30, 2010

I'm used to be a Ubuntu user at first,and using its Grub loader so far.Several moths later,I just find that may be Opensuse is another good choice.So I installed Opensuse 11.3 without grub using KDE Livecd version because it cant find the Ubuntu partition while the install process,but the install application can find Win7 installed in my laptop.Soon I logined to Ubuntu and Updated the grub settings in Ubuntu.This grub program in Ubuntu found that there's a Opensuse 11.3 on a partition. So I can login to SUSE by Ubuntu's Grub.But Now I want to use SUSE its own Grub.So what should I do to change my default Grub Loader from Ubuntu's to SUSE's?

View 9 Replies View Related

OpenSUSE Multimedia :: Which Apps Can Manage Third-gen IPod Touch

Feb 6, 2011

I've installed ifuse and libimobiledevice and I can now access my iPod touch at /media/iPod. gtkpod is able to get R/W access to the iPod, but it wrecks my podcast play statuses. Rhythmbox, Banshee and Amarok don't show any sign of recognizing my iPod.

Which apps are able to manage my iPod? Do they require additional libraries or configuration? I'm using firmware 4.2.1.

View 6 Replies View Related

Server :: [OpenSUSE] Nfs _netdev - Manage Nfs Mount Via Fstab

Dec 13, 2010

I'd like to manage a nfs-mount via etc/fstab. The simplest solution (or lets say, I forgot _netdev) went wrong - but in bash I could mount - showing the entry in the fstab is fine. (nfsvers=3, soft). So I added _netdev. I expected from the system, that mount would be called twice in the init scripts: The first without those _netdev (s) and after bringing up the network then mounting all _netdev (s). But it seems, it is not working this way. Is anyone here, who can explain the (may OpenSUSE special) behaviour? I found in [URL] the information that _netdev is especially for nfs - so should work, shouldn't it?

Quote: uname -all Linux ******* 2.6.31.14-0.4-desktop #1 SMP PREEMPT 2010-10-25 08:45:30 +0200 x86_64 x86_64 x86_64 GNU/Linux

View 1 Replies View Related

Programming :: Spawn Web Browser In C Programme?

Sep 23, 2010

i want to spawn the browser in c programme like qtp & selenium.

View 1 Replies View Related

General :: Ubuntu - Spawn Multiple Ssh Terminals?

Nov 25, 2010

when i am logged into my server via SSH how can i spawn many ssh terminals? is there a xterm command for this?

View 6 Replies View Related

General :: Spawn Browser Windows From A Service?

Apr 28, 2011

I'm using Ubuntu 10.0.4. I'm running a background process on system startup (Selenium) that needs to launch browsers (e.g. Firefox, Google Chrome). What settings do I need to enable in order to do this? Currently, even if I SSH in as a user, I'm not able to launch a browser and get this error ...

Code:
selenium@selenium-chi:~$ /usr/bin/google-chrome
No protocol specified

(chromium-browser:2156): Gtk-WARNING **: cannot open display: :0.0

View 10 Replies View Related

General :: To Spawn A Task That Runs For Hours?

Nov 2, 2010

I have been doing this for quite sometime now, yet lately I wonder if this is what everybody does...I have a task that will run for hours. In order to not to interrupt that task when I logoff for the day, I issued the command:

Code:
at now 'sh ~/a-long-task'
Is this what everybody else does?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved