I have some problems with CentOS 5.4 and standard kernel 2.6.32.7, which I need for realtime extensions.With the solution in this thread: [URL] I could boot the new standard kernel , There are still two error messages during the boot process:
when a remove a user from the system using the domain userdel guest the user gets removed but the /home/guest doesn't get removed so i remove it by command rm -rf /home/guest then i recreate the user by giving in the command useradd guest now it gives the error mailbox file already exists what does it mean when it says so though this command creates the user.
I'm only partially new to Linux. I'm running Fedora 11. I've just set up two machines, I thought to be identical. Evidently I missed something. I had some problems getting the network started on the second machine, and I must have forgotten a name change somewhere. Anyway, after doing lot's of comparisons between the boxes, editing and renaming and re-linking the ifcfg-GigaStorey file, they are both functioning. The problem is that whenever I start or restart the network on box 2, it reports the following error:
Bringing up interface GigaStorey: RTNETLINK answers: File exists Error adding address 192.168.1.6 for eth0. [ OK ] The file ifcfg-GigaStorey is linked in the following directories /etc/sysconfig/network-scripts /etc/sysconfig/networking/devices code....
Like I said, it's not super critical, just annoying. The networking comes up ok, but the error is puzzling. I figure if I learn what this problem is I'll be one step closer to my Linux beanee.
I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache server.More specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restart.So I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:
run a crond every minute to do:If it fails, then do service httpd restart (and log the failure and restart to a file and email me a message).Any pointers on how to do that?It ain't the pretty solution, but it will save me from a very angry user until I'll figure what is the real cause for this failure.
I'm installing a small application for BankID. Installation is made through a shell-script, applikation installed in /usr/local/lib. Everything seems to go fine, but when I try to start the application I get error message: Code: /usr/local/lib/personal/personal.bin: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory But libidn.so.11 is there (64-bit system so checking both lib & lib64):
I am running Red Hat with 2.6.18-194.8.1.el5PAE kernel version. I am trying to run encryptfs to encrypt a partition on my hard drive. One of the kernel modules necessary is the md5.ko. I noticed it wasn't loaded in when doing an lsmod. I tried running modprobe md5 and it fails to load:
# # insert the line '-A INPUT -i eth0 -j ACCEPT' # in iptables # /-A INPUT -i eth0 -j ACCEPT/a -A INPUT -i edge0 -j ACCEPT
but when i run sed -f script iptables. it just echo's it to the the screen with my line added and not into the actual file. anyone know what i am doing wrong?
I updated the latest kernel and other new maintenance tonight and started getting this error at boot...doesn't appear to be hindering anything. My encrypted partitions (luks, ext4) still open and are accessible.
modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.29.5-191.fc11.i586/kernel/drivers/crypto/padlock-sha.ko): No such device
See similar errors reported on ubuntu forums... with various recommended workarounds... update/add an alias, blacklist a module, fresh install
I took some pictures tonight and plugged in my flash card reader (via usb) as always. Only this time, the device isn't assigned a proper location (like "sdc3").
A little research later and I *think* I need the module "usb-storage", which I can't get to load. It's been a *long* time since I had to mess with modules and I'd like some fresh eyes on what the problem might be.
This is my lsmod output:
Code:
I also ran modprobe with -n -v:
Code:
I have run depmod -a and tried the modprobe again...
Code:
If I drill down to the /lib/modules/<kernel -r>/drivers/usb/storage/ where the .ko file is and say:
Code:
So.... since I haven't changed anything that I can think of since the last time I took pictures...what happened? How do I fix this?
I changed a mainboard so the network card is RTL8111/8168B Gigabit now. By "ifconfig -a", there is only io, no eth0.
I got a driver r8168.ko from: [URL]
After I insert the r8168.ko, there is eth0. Run "/etc/init.d/network restart", it reports "Determing IP information for eth0... failed; no link present, Check Cable", and I noticed the lights of network card and runter are all off. I can use "ifconfig eth0" now but it cannot connect to other machine.
It's Gigabit card and my runter is 10/100M. I tried "#insmod r8168 speed=100 duplex=1 autoneg=1" and "#insmod r8168 speed=100 duplex=0 autoneg=1", it can not get IP by DHCP either. I also build the .ko from Realteck source code, the behavior is the same.
if I need to do other configurations?
My CentOS is CentOS5, 2.6.18-8.el5 #1 SMP.
== BEGIN uname -rmi == 2.6.18-8.el5 i686 i386 == END uname -rmi == == BEGIN rpm -q centos-release ==
I'm gonna replace my machine's ip address and hostname using awk command. the pattern of the file is like the following...ip address="192.168.1.100"the script must ask the ip address from the user and replace it with the ip address in the quotation.
I am trying to add some functions to a Postgresql database. The functions use a shared library which they think is: /usr/lib/pgsql/postgis-1.4.so They say: "ERROR: could not load library "/usr/lib/pgsql/postgis-1.4.so": libgeos_c.so.1: cannot open shared object file: No such file or directory"
I cd to /usr/lib/pgsql/ and do an ls. postgis-1.4.so is there. libgeos_c.so.1 is as well (and it's in /usr/lib/ )
Both the files seem to exist. I cannot copy either of them (cp says "cannot stat '[file]': No such file or directory".
So I am new to ubuntu and am trying to work with "iptables". I have ubuntu version 10.04, in the terminal I try to create a new iptable by writing: iptables -N chain but the response is: FATAL: Error inserting ip_tables......... also it says "you must be root", what does root mean?
insmod: error inserting 'kernel.ko': -1 Invalid parametersI am getting this error when i am try to insert kernel.ko into kernelMy systemfedora 12 with gcc 4.4.2insmod kernel.koinsmod: error inserting 'kernel.ko': -1 Invalid parametersmy program
I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.
I have a rather strange issue I'm attempting to fix here. One of the servers I work with had a log file reach 2GB in size and stopped logging. The software which is logging to said file cannot be stopped or restarted and does not provide a way to rotate log files -- poor design, I know. So in my infinite wisdom (or stupidity, however you want to read that), I truncated the log file in place with:
Code: >vmsproxy.log When I realized the log file was not being appended to, I checked lsof output and it
i installed SLES 11 sp1 as guest on openSUSE 11.3 host, then change the adapter network from 'NAT' to 'Bridged Adapter', but when i hit start i got this error message: Failed to open a session for the virtual machine sles. Failed to open/create the internal network 'HostInterfaceNetworking-wlan0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND). One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/etc/init.d/vboxdrv setup' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND). but when run: sudo /etc/init.d/vboxdrv setup
I am running ubuntu 10.04 I am trying to access the tty's
When I hit Ctrl + Alt + F1 I get a screen that says: FATAL: Error inserting uvesafb (/lib/modules/2.6.32-23-generic/kernel/drivers/video/uvesafb.ko): unknown symbol in module, or unknown parameter (see dmesg)
Ctrl + Alt + F2-F6 all I get is a flashing cursor that won't do anything
im trying to install the RTL8192CU_linux_v3.0.2164.20110715 drivers so my new wireless adapter works, but I have hit a wall when trying to insert the drivers after makeing them its telling me
I have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.