Server :: Importing One Of The Python Modules Required To Run Yum?

Jun 9, 2011

I'm update Python , but founde problem root@server [~]# yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum

Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.7 (r267:88850, Jun 7 2011, 12:25:26) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] If you cannot solve this problem yourself, please go to the yum faq at: [URL]...

View 10 Replies


ADVERTISEMENT

Ubuntu :: Python Will Only Importing Locally

Mar 5, 2010

I am having a problem with Python. I type "import" and it will not import. It will only import locally.

View 2 Replies View Related

General :: Importing Python Script

Apr 8, 2011

I am able to import file.py in my C program(main.c), but unable to import this file [url]

Im using centos5.5 with python2.4 using this command to run it: gcc -o output pythonembed.c -lpython2.4

How can i import this script:
[url]

View 4 Replies View Related

Software :: Recompiling Kernel Required To Add Modules?

Jan 4, 2011

I only have basic experience recompiling a Linux kernel, and I have a question about adding dynamic modules.In case I want to add a brand new module, do I need to recompile the kernel to include a reference to that new module, or is simply compiling a kernel with generic support of dynamic modules all it takes to add whatever modules I need later on, without recompiling the kernel and rebooting the host?

View 2 Replies View Related

Ubuntu :: 10.10 Python 2.6 Modules Not Found?

Jan 4, 2011

I am trying to import some Python modules into Ubuntu 10.10 (PySCeS and PyDSTool). If I download the modules and extract them into a directoy in my home directory, open that directory in terminal, and then import them into python (>>>import module_x) then it loads fine. However, if I am outside of the directories then it always returns an error saying the module is not found. I have tried putting the modules into usr/local/lib/python2.6/site-packages or dist-packages and usr/shared/pyshared etc but it never sees any of my modules. It also does this with modules installed from the repository. They are always "not found" but if placed manually in the working directory they are.

View 2 Replies View Related

Ubuntu :: Python Interactive Session: "help()", Then "modules" Freezes Python?

Jan 12, 2011

This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.

View 1 Replies View Related

General :: Python Modules(lib-dynload) Are Too Big In Size?

Apr 28, 2010

Recently I have compiled python 2.6.5 on ubuntu "hardy" 8.04. The script was as simple as it could be:

Code:
./configure --enable-shared
make

[code]....

View 2 Replies View Related

General :: Unable To Build Python Modules In Mandriva 2010?

Jan 14, 2010

I am trying to build a Python module (pyfits) but I get the following error:

# python setup.py install
/home/steve/src/pyfits-2.2.2/stsci_distutils_hack.py:239: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.

[code]....

View 2 Replies View Related

General :: Finding Difficult To Understand The Methods Of Xml Modules In Python?

Apr 15, 2011

python can get anylink or any tutorials which is having few basic eg. and could help as a guide too. bcaz whatever now i have like "byte of python" which i feel difficult bcaz it lack in having eg. for modules of xml.so please help me by providing any better options

View 1 Replies View Related

General :: Why Can't The System Import Modules From The Python Standard Library In Ubuntu

Jan 22, 2011

The whole day was more or less spent reinstalling a basic Gnome Ubuntu system. Everything went swimmingly until I started with the XBMC part of the installation. After wrestling with PPAs and apt-get for hours I finally got it installed, but then it all turned awkward in a hurry. It simply refused to start up. I clicked the icon and nothing happened for a good few seconds. The screen then flickered black for an instant, but after that nothing. I started from a terminal and it showed an error message saying it couldn't import Python's os and shutil modules. I found that mighty strange since both modules are part of the Python Standard Library.

Finally, in a bizarre twist, it turns out this doesn't seem to be a XBMC problem, suddenly apt-get started complaining too. TL,DR: I (nor the system) can't import any Standard Library modules in Python in Ubuntu! Is this a path problem? Or have I actually managed to uninstall some vital python packages, if so which ones? I am running Ubuntu 10.10, but I don't think this is necessarily a Ubuntu specific problem. Here are some dumps to show the error messages: (I forgot to copy the XBMC error message, but it looked exactly the same as these below, i.e., it couldn't import the os module) First from apt-get:

Code:

tv@tv:/usr/lib$ sudo apt-get autoremove
[sudo] password for tv:
Reading package lists... Done
Building dependency tree

[code]....

View 1 Replies View Related

General :: Importing Database To Server

Apr 19, 2011

I switched from Windows 7 to Linux and when I'm trying to import my database i get error 1044. It used to work when I was using Windows 7. I was able to export the database from my localhost. However, when I try to import it to the other server I get this:#1044 - Access denied for user ' '@'%' to database'.I have been trying for hours to upload my site from the localhost to another server without any luck..I'm using phpmyadmin to import it.

View 2 Replies View Related

Server :: Importing Local User Profiles To Samba?

Mar 21, 2010

how I could import local user profiles in windoz (Desktop,prefs, settings, etc) to a brand new samba server (already configured with tdbsam backend)

View 2 Replies View Related

Server :: Backup / Restore - Importing LVM Setup At Destination

Jun 8, 2009

I am doing a LVM replicate to another server.
Example: server1.foo.com has / , /boot , swap and few LVM partitions. All are in /dev/sda disk of size 80GB. /dev/sda5 is a LVM partition which has only one vg00 and it has 2 LV's (/var and /usr) and a SAN storage connected to this server which has around 500GB of single partition(a LV partition) called /data and its under vg00 .

Now I have build another server called "server2.foo.com" with same RedHat OS version - RHEL 4 and want to import the same LVM setup at destination. Down time or unmounting the filesystem is not a problem (but am trying to reduce the down time as much as possible). Is there any way that I can take a proper snapshot of whole LVM disk and restore with same setup at destination without losing the data and the lvm file system layout?

View 4 Replies View Related

Server :: Minimum Partition Size Required In Redhat Linux Server For DNS Server Configuration?

May 5, 2011

Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?

i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB

if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..

View 3 Replies View Related

Server :: Importing NIS-Groups From NIS-Server

Jun 4, 2010

I'm trying currently to connect an Ubuntu-Box (10.04) to our NIS-Server.A few (open-)SUSE-Boxes are working since years with that NIS-Server.The (NIS-)Users can now login to the Ubuntu-Machine, but it seems that the Groups of the NIS-Server aren't imported correctly. I have a NFS-Share which I export from the NIS-Server to all the clients..What can be wrong with the configuration of the ubuntu-machine?

View 4 Replies View Related

General :: FATAL: Could Not Load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No Such File Or Directory

Mar 6, 2011

I want set up VPN on my VPS but when i try to turn on tun/tap i see:

:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)

View 1 Replies View Related

Server :: NFS Server On Embedded Plateform : "possibly Unsupported Filesystem Or Fsid= Required?

Jul 16, 2010

I am working on a NFS server embedded on a PowerPC plateform (4650EX, 512Ram, 1 GB Ethernet) but i can't mount my exports folders from my client. Here are messages :

[Code]...

View 2 Replies View Related

General :: Rc.modules Not Loading Modules At Startup?

May 11, 2010

I've been trying to load my pcmcia network card driver "xirc2ps_cs" at startup with no success. I have added "modprobe xirc2ps_cs" to the rc.modules file but it doesn't load at startup. Curiously, though, if I execute rc.modules AFTER the machine has booted it will load the modules just fine. Just not during the boot up process. Thinking that hotstart might have been causing problems I've disabled hotstart (chmod -x) temporarilly to remove it from the picture, but there was no change.

View 5 Replies View Related

CentOS 5 Server :: When To Re-boot Server Is Required

Apr 22, 2011

When do you know when to re-boot your server? I have Centos 5.6 As my remote web server running Direct Admin. I have also Centos 5.6 as a local back up server. With a KDE user interface so i can learn the graphical and command line. How ever when i query Yum for updates locally, i can see a nice extra icon next to the updates in KDE saying will require a reboot. But on my remote web server, how would i know if a Reboot would be required?

View 12 Replies View Related

Server :: Searching For Modules In A DB?

Aug 11, 2010

I have a database called 'gaming' and with in that database there are several tables and data. I was asked to find a module called 'ako ldap' and disable it (setting it from 1 to 0). My question is how in MySQL do I search for a string if I don't even know what table to search in? I know how to search using the 'select' statement as long as I know where the table data is. In this case I only know which database but nothing more except what I am looking for.

View 1 Replies View Related

Software :: Importing A Vmware Virtual Machine File Vi Vmware Server 2.0.2?

Jul 27, 2011

I completed the installation of VMWare Server 2.0.2 onto a CentOS 5.4 64-bit distribution. There is a VMware virtual machine file on the server in question, and I want to activate it through the application console.

I did not see anything readily apparent that would facilitate the importing of the virtual machine file. Does anyone have a procedure that can accomplish this task?

View 5 Replies View Related

Server :: Can't See Apache's Modules In Webmin

Apr 26, 2010

To make my problem simple to understand I've attached a picture. Basically, in the Webmin>Apache configuration page, where I used to also enable/disable the modules Apache was using (on Ubuntu 8.04) I've noticed now that the option to configure the modules is no more (on Centos 5). So, I'd like to disable and enable some modules but can't, like the mod_python for example which gives me hundreds of errors in the Apache's logs, but cannot.

how to view the Apache modules again in Webmin?

just noticed can't attach images... here's the link to the picture: [URL]

View 1 Replies View Related

Server :: PHP Doesn't Execute The Modules

Jul 12, 2009

I'm under CentOS 5.2 with PHP 5.2.10 I compiled PHP from Source with ./configure --with-config-file-scan-dir=/etc/php.d but PHP doesn't start modules A PHPInfo says:

Scan this dir for additional .ini files (none)
additional .ini files parsed (none)

routes are correctly setted and the user have permissions for read the directory, just to be sure i changed the CHMOD to 777 but nothing.

View 1 Replies View Related

Red Hat :: How To Setup Server With V3 Kernel Required

May 12, 2010

I have a unique setup on my hands..-local (LAN) dev system built on a via epia m6000 (uses the older via eden-samuel cpu). Latest kernels will not boot due to cpu issue.I'm running CentOS v3.9 for kernel compatibility and have managed to get my basic LAMP setup accomplished via yum but I'd like to run the curnet versions of everything while keeping the older kernel if possible.I'm considering setting up my yum repos to include v4 or v5 and use the yum --exclude kernel option.

View 4 Replies View Related

Ubuntu Installation :: Boot Error "modprobe: FATAL Could Not Load /lib/modules 2.6.35-22 Generic Modules No Such File Or Directory"

Apr 14, 2011

Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.

When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.

View 9 Replies View Related

CentOS 5 Server :: How To Disable Apache2 Modules

Dec 27, 2009

Many Apache2 unused modules loaded. I'm going to disable some of them.But what is the command to disable the modules?

View 1 Replies View Related

Ubuntu Servers :: Server Memory Required

Oct 29, 2010

I have many documents that indicate many different min requirements for drive memory. Will someone give me an idea for the following...Ubuntu 10.10 server running SSH and Samba what would be the memory requirements, recommended as opposed to min, for partitions as follows:
/ -- root
/home -- as a separate partition
/boot -- as a separate partition (do I really need a separate boot)
swap my RAM is 768mg so 1 gig should be good

View 9 Replies View Related

Ubuntu Installation :: How To Load Additional Modules (Server)

Sep 17, 2010

I've been playing with some intel server board and they provide a type of fakeraid which is called Embedded Server Raid Technology 2. Since Intel officially support RHEL and SLES on their servers, they provide drivers/modules for this fake raid (which supports raid 0, 1, 5 and 10). I have installed RHEL before on these severs and redhat's installer has the ability to load additional modules (via a boot command linux dd).

While intel doesn't provide the modules for other operating systems, they provide a library where people can build their own module for their kernel. I managed to build this module called 'megasr' (for now I've built it for kernel 2.6.32-24-generic which is my testbed at the moment but I would eventually build it for box i386 and amd64 for both server and desktop versions) and load it on a system which is installed on a single drive.

We are able to load it successfully and see the raid 5 as a single volume and access it (partition, format and copy data to it) and all its functions (work in degraded mode, rebuild, etc) work fine but my main goal is to actually install such volume as my main boot volume (similar to how its possible with RHEL or SLES). Is this possible? Load additional modules during the installation that will be present after the installation is finished?

View 1 Replies View Related

Server :: Debian 5.0.6 Iptables Modules Installation - VMware

Mar 2, 2011

I use Debian 5.0.6 32-bit through VMware workstation installed on my Windows Server 2003. I just simply installed it from CD-1 and I use Directadmin on that.

I need a lot of iptables commands for blocking but I keep getting missing module errors on that one, I did lsmod | grep -i iptables to see there are no modules. It should have been installed by the disc image but I don't know why it didn't. So I now want to know how to get those modules required by iptables.

View 3 Replies View Related

General :: Hosting Server - Vi Command - Version OS Required?

May 31, 2010

I have recently acquired a VA Linux 1220 Server 2x P3 866MHz 1GB RAM 80GB HDD. It's Totally blank (incl no OS) and looking for any newbie information that I might need to know to get started, including the OS version. Basically, as I said i'm totally new to this, We have Hosting Servers at work that I have been playing around with some vi commands etc.. And would like to study/learn at home...

View 1 Replies View Related







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