I just try to restart csf in my Centos server with Direct Admin and i got this error:
Quote:
*WARNING* Since the Virtuozzo VPS iptables ip_conntrack_ftp kernel module is currently broken you have to open a PASV port hole in iptables for incoming FTP connections to work correctly. See the csf readme.txt under 'A note about FTP Connection Issues' on how to do this if you have not already done so.
I see the following error, while trying to compile kernel with grsec.
WARNING: No module mptscsi found for kernel 2.6.22.9-grsec, continuing anyway
how to fix this or is it ok to reboot?
More details ################# [root@server3 linux-2.6.22.9]# make install sh /usr/src/kernels/linux-2.6.22.9/arch/i386/boot/install.sh 2.6.22.9-grsec arch/i386/boot/bzImage System.map "/boot" WARNING: No module mptscsi found for kernel 2.6.22.9-grsec, continuing anyway
[root@server3 linux-2.6.22.9]# cat /etc/modprobe.conf alias eth0 tg3 alias eth1 tg3 alias scsi_hostadapter mptbase alias scsi_hostadapter1 mptscsi alias scsi_hostadapter2 mptspi alias scsi_hostadapter3 mptsas alias scsi_hostadapter4 mptscsih alias scsi_hostadapter5 sata_svw alias usb-controller ehci-hcd alias usb-controller1 ohci-hcd
I have recently installed the latest version of apache which is version 2.2.4 and it seems many modules were left out so I decided to add one of my favorite modules myself
I have DirectAdmin install so here is what I did
I edited this file: configure.apache_2 and at the end of the file added --enable-expires
After adding normally we would recompile apache I was doing that and I got this error
Code: /usr/local/directadmin/customapache/configure.apache_2: line 24: --enable-expires: command not found
*** There was an error while trying to configure Apache 2. Check the configure.apache_2 file
Not sure what I'm doing wrong if someone could help me I would be greatful.
Code: root@host [~]# yum Traceback (most recent call last): File "/usr/bin/yum", line 4, in ? import yum File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 42, in ? import config File "/usr/lib/python2.4/site-packages/yum/config.py", line 27, in ? from parser import ConfigPreProcessor File "/usr/lib/python2.4/site-packages/yum/parser.py", line 3, in ? import urlgrabber File "/usr/lib/python2.4/site-packages/urlgrabber/__init__.py", line 53, in ? from grabber import urlgrab, urlopen, urlread File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 406, in ? import keepalive File "/usr/lib/python2.4/site-packages/urlgrabber/keepalive.py", line 339, in ? class HTTPSHandler(KeepAliveHandler, urllib2.HTTPSHandler): AttributeError: 'module' object has no attribute 'HTTPSHandler' I've tried RPM installs, downloading and configuring...
Subject : Cron <aioftp@main> /usr/bin/php -q /var/www/vhosts/domain.com/subdomains/somedir/httpdocs/dir/cron.php Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: /usr/lib64/php/modules/ioncube_loader_lin_5.4.so: cannot open shared object file: No such file or directory PHP Warning: Module 'soap' already loaded in Unknown on line 0 PHP Warning: PHP Startup: XCache: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0
Code: Setting up Install Process Setting up repositories update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 21 kB 00:00 update : ################################################## 94/94 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 470, in doCommands return self.installPkgs() File "/usr/share/yum-cli/cli.py", line 836, in installPkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 75, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "__init__.py", line 260, in doSackSetup File "repos.py", line 287, in populateSack File "sqlitecache.py", line 96, in getPrimary File "sqlitecache.py", line 89, in _getbase File "sqlitecache.py", line 373, in updateSqliteCache File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute _sqlite.DatabaseError: unable to open database file root@server [~]# rpm -q yum yum-2.4.3-1.c4
My server /var/log/message last night showed this below (see the kernel message)
My SSH was idling, it shows:
root@server1 [/backup/w1/cpbackup/daily]# Message from syslogd@ at Sun Aug 10 18:29:31 2008 ... server1 kernel: journal commit I/O error Message from syslogd@ at Sun Aug 10 18:35:00 2008 ... server1 kernel: journal commit I/O error
The server was down. So I had to reboot and run e2fsck to fix it. I/O error could it mean HDD problem? (because I just change this server to new HDD 3 weeks ago) > Aug 10 18:15:08 server1 kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= > MAC=ff:ff:ff:ff:ff:ff:00:1d:09:6d:cd:bb:08:00 SRC=2$ > Aug 10 18:15:11 server1 kernel: 0000:00:1c.5: eth0: Detected Tx Unit Hang: > Aug 10 18:15:11 server1 kernel: TDH <8> > Aug 10 18:15:11 server1 kernel: TDT <30> > Aug 10 18:15:11 server1 kernel: next_to_use <30> > Aug 10 18:15:11 server1 kernel: next_to_clean <4> > Aug 10 18:15:11 server1 kernel: buffer_info[next_to_clean]: > Aug 10 18:15:11 server1 kernel: time_stamp <32dfbee6> > Aug 10 18:15:11 server1 kernel: next_to_watch <8> > Aug 10 18:15:11 server1 kernel: jiffies <32dfc9d6> > Aug 10 18:15:11 server1 kernel: next_to_watch.status <0> > Aug 10 18:15:13 server1 kernel: 0000:00:1c.5: eth0: Detected Tx Unit Hang: > Aug 10 18:15:13 server1 kernel: TDH <8> > Aug 10 18:15:13 server1 kernel: TDT <30> > Aug 10 18:15:13 server1 kernel: next_to_use <30> > Aug 10 18:15:13 server1 kernel: next_to_clean <4> > Aug 10 18:15:13 server1 kernel: buffer_info[next_to_clean]: > Aug 10 18:15:13 server1 kernel: time_stamp <32dfbee6> > Aug 10 18:15:13 server1 kernel: next_to_watch <8> > Aug 10 18:15:13 server1 kernel: jiffies <32dfd1a5> > Aug 10 18:15:13 server1 kernel: next_to_watch.status <0> > Aug 10 18:15:15 server1 kernel: 0000:00:1c.5: eth0: Detected Tx Unit Hang: > Aug 10 18:15:15 server1 kernel: TDH <8> > Aug 10 18:15:15 server1 kernel: TDT <30> > Aug 10 18:15:15 server1 kernel: next_to_use <30> > Aug 10 18:15:15 server1 kernel: next_to_clean <4> > Aug 10 18:15:15 server1 kernel: buffer_info[next_to_clean]: > Aug 10 18:15:15 server1 kernel: time_stamp <32dfbee6> > Aug 10 18:15:15 server1 kernel: next_to_watch <8> > Aug 10 18:15:15 server1 kernel: jiffies <32dfd976> > Aug 10 18:15:15 server1 kernel: next_to_watch.status <0> > Aug 10 18:15:17 server1 kernel: 0000:00:1c.5: eth0: Detected Tx Unit Hang: > Aug 10 18:15:17 server1 kernel: TDH <8> > Aug 10 18:15:17 server1 kernel: TDT <30> > Aug 10 18:15:17 server1 kernel: next_to_use <30> > Aug 10 18:15:17 server1 kernel: next_to_clean <4> > Aug 10 18:15:17 server1 kernel: buffer_info[next_to_clean]: > Aug 10 18:15:17 server1 kernel: time_stamp <32dfbee6> > Aug 10 18:15:17 server1 kernel: next_to_watch <8> > Aug 10 18:15:17 server1 kernel: jiffies <32dfe145> > Aug 10 18:15:17 server1 kernel: next_to_watch.status <0> > Aug 10 18:15:19 server1 kernel: 0000:00:1c.5: eth0: Detected Tx Unit Hang: > Aug 10 18:15:19 server1 kernel: TDH <8> > Aug 10 18:15:19 server1 kernel: TDT <30> > Aug 10 18:15:19 server1 kernel: next_to_use <30> > Aug 10 18:15:19 server1 kernel: next_to_clean <4> > Aug 10 18:15:19 server1 kernel: buffer_info[next_to_clean]: > Aug 10 18:15:19 server1 kernel: time_stamp <32dfbee6> > Aug 10 18:15:19 server1 kernel: next_to_watch <8> > Aug 10 18:15:19 server1 kernel: jiffies <32dfe915> > Aug 10 18:15:19 server1 kernel: next_to_watch.status <0> > Aug 10 18:15:20 server1 kernel: NETDEV WATCHDOG: eth0: transmit timed out > Aug 10 18:15:23 server1 kernel: 0000:00:1c.5: eth0: Link is Up 1000 Mbps > Full Duplex, Flow Control: RX > Aug 10 18:15:23 server1 kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= > MAC=ff:ff:ff:ff:ff:ff:00:1d:09:6d:cd:bb:08:00 SRC=2$ > Aug 10 18:15:24 server1 kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= > MAC=ff:ff:ff:ff:ff:ff:00:1d:09:6d:cd:bb:08:00 SRC=2$
I have windows 2008 server with plesk 9.2 and whmcs installed, it worked well for 10-15 days but now when ever i click on create account module it just gives me "INTERNAL SERVER ERROR 500" i contact whmcs and they replied the following
------------------------------------------ I am getting an internal server error - this is being returned from your Plesk server. you should check the server error logs for the issue,
Regards, Andrew ----------------------------------------------------
but i checked every thing looks fine example time out etc what can be the real problem? please help
we have one box in hivelocity.net that has been down so many times this month that we were forced to remove links to siteuptime where we were once so proud of having a 99.7% uptime for 3 years in theplanet.
syslog shows that just before crashing, these entries were made:
kernel: kernel BUG at mm/rmap.c:479 kernel: invalid operand:0000 [#1]
dmesg also shows this:
... Brought up 2 CPUs zapping low mappings. checking if image is initramfs... it is Freeing initrd memory: 482k freed NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xf9f20, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) mtrr: your CPUs had inconsistent fixed MTRR settings mtrr: probably your BIOS does not setup all CPUs. mtrr: corrected configuration. ...
i've googled these messages and they point to ram problems.
hivelocity.net claims to have done diagnostics on the box and that there were no problems reported.
they said this is a result of a sys configuration problem made by us.
Last year I ordered a new server with Centos 4.3 and it had the kernel kernel 2.6.9-34.0.2ELsmp installed. It runned fine and I didn't update any packages since then.
Today I started getting a problem where both mysqld and kswapd0 uses very high amounts of CPU, spiking up to 100% and my memory usage is at 99% all the time. The problem seems exactly the same as the one mentioned in this thread.
In that thread the exact same kernel is said to be insecure and to cause this problem. I also came across a centOS bug that reports this problem with high cpu, mem usage and mysql & kswapd0 consuming all resources.
In the linked thread the person solved the problem by upgrading to kernel 2.6.9-42 using rpms but others recommended a newer kernel or a custom compiled kernel for CentOS.
Apparently when they used yum it said 34.0.2 was the latest kernel.
What should I do to upgrade the kernel, which version should i upgrade to, and where do I get it from? I won't be able to compile a custom kernel and I've only installed basic rpm packages before.
here is what I seen when I installed kernel-2.6.20-1.2948.fc6.src.rpm
rpm -ivh kernel-2.6.20-1.2948.fc6.src.rpm 1:kernel warning: user brewbuilder does not exist - using root warning: group brewbuilder does not exist - using root warning: user brewbuilder does not exist - using root ########################################### [100%] warning: user brewbuilder does not exist - using root warning: group brewbuilder does not exist - using root
then when I ran: rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
I seen this error: + Arch=x86_64 + make ARCH=x86_64 nonint_oldconfig In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/arpa/inet.h:23, from scripts/basic/fixdep.c:117: /usr/include/bits/socket.h:310:24: error: asm/socket.h: No such file or directory make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.93770 (%prep)
I need to have this installed to get a app installed etc... suggestions or ideas? thanks
I didn't know if it should go in here on in Web Hosting.
One of the prospective hosts I'm looking at for shared hosting uses a phrase I'm not sure about what it means and the sales person I spoke to didn't know, either (and he tried to fudge it, which is worse than admitting you don't know.)
Anyway, one of the phrases used that I haven't seen anywhere else is that they have php5 "as a module" and I'm not sure what is meant by that. Each account is running a stand-alone instance of php? php5 is a module that's installed upon customer request?
Trying to troubleshoot an exploit where the code redirecting people to exploit sites is not in the website. I think a module is being loaded dynamically, but I am not seeing the entry point in the access logs. I restart httpd and the problem goes away temporarily.
Anyone see anything fishy?
================== HTTPD MODULES ================== [root@xxx ~]# httpd -L <Directory (core.c) Container for directives affecting resources located in the specified directories Allowed in *.conf only outside <Directory>, <Files> or <Location> <Location (core.c) Container for directives affecting resources accessed through the specified URL paths Allowed in *.conf only outside <Directory>, <Files> or <Location> <VirtualHost (core.c) Container to map directives to a particular virtual host, takes one or more host addresses Allowed in *.conf only outside <Directory>, <Files> or <Location> <Files (core.c) Container for directives affecting files matching specified patterns Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <Limit (core.c) Container for authentication directives when accessed using specified HTTP methods Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <LimitExcept (core.c) Container for authentication directives to be applied when any HTTP method other than those specified is used to access the resource Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <IfModule (core.c) Container for directives based on existance of specified modules Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <IfDefine (core.c) Container for directives based on existance of command line defines Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None <DirectoryMatch (core.c) Container for directives affecting resources located in the specified directories Allowed in *.conf only outside <Directory>, <Files> or <Location> <LocationMatch (core.c) Container for directives affecting resources accessed through the specified URL paths Allowed in *.conf only outside <Directory>, <Files> or <Location> <FilesMatch (core.c) Container for directives affecting files matching specified patterns Allowed in *.conf anywhere and in .htaccess when AllowOverride isn't None AuthType (core.c) An HTTP authorization type (e.g., "Basic") Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig AuthName (core.c) The authentication realm (e.g. "Members Only") Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig Require (core.c) Selects which authenticated users or groups may access a protected space Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig Satisfy (core.c) access policy if both allow and require used ('all' or 'any') Allowed in *.conf only inside <Directory>, <Files> or <Location> and in .htaccess when AllowOverride includes AuthConfig AddDefaultCharset (core.c) The name of the default charset to add to any Content-Type without one or 'Off' to disable Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo AcceptPathInfo (core.c) Set to on or off for PATH_INFO to be accepted by handlers, or default for the per-handler preference Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo AccessFileName (core.c) Name(s) of per-directory config files (default: .htaccess) Allowed in *.conf only outside <Directory>, <Files> or <Location> DocumentRoot (core.c) Root directory of the document tree Allowed in *.conf only outside <Directory>, <Files> or <Location> ErrorDocument (core.c) Change responses for HTTP errors Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo AllowOverride (core.c) Controls what groups of directives can be configured by per-directory config files Allowed in *.conf only inside <Directory>, <Files> or <Location> Options (core.c) Set a number of attributes for a given directory Allowed in *.conf anywhere and in .htaccess when AllowOverride includes Options DefaultType (core.c) the default MIME type for untypable files Allowed in *.conf anywhere and in .htaccess when AllowOverride includes FileInfo...
I am trying to configure a 2.6.18 kernel and I cannot get it to read the raid5 module since my system is utilizing a software RAID5.
Whenever I build I receive the following error:
[root@localhost linux-2.6.18.8]# make install sh /root/kernel/linux-2.6.18.8/arch/x86_64/boot/install.sh 2.6.18 arch/x86_64/boot/bzImage System.map "/boot" WARNING: No module raid5 found for kernel 2.6.18, continuing anyway
I have tried versions 2.6.18 and 2.6.18.8 and both give me the same issue.
I have CONFIG_MD_RAID456=m in my .config so the module should be getting configured.
I tried ignoring the warning but when I boot up my system in 2.6.18 I get a kernel panic error, could not sync. (I'm guessing because it doesn't have the RAID module). Everything works fine when I boot up in the 2.6.9 CentOS kernel.
I would like to know is there any module for Apache which can collect information like who is surfing our website and how many pages they have accessed in last one hour. I know awstats or webalizer can do this but i need some thing realtime on apache level.
I found a script that updated php to 5.5, however it's only enabling me to run it as a CGI script, if I want to run PHP an Apache module, it's still only 5.3. How can I upgrade the Apache version?
I've bought a basic unmanaged VPS, purely to learn things from it. The best way to learn imo is to hammer the hell out of things, break it, then try to fix it. Anyway, I think I'm part way there, pretty sure I've broken something
When I start the consoleSSH I get this at the top:
I have nothing to do with it. Just passing it along.
What is veportal?
vePortal is a VPS Commanding total system control Web-Based system that utilizes PHP Hyper-Threading resulting in major acceleration over competing products, As long as your server can meet the recommended system requirements our control panel and your users will never wait for a page to load for longer than the average website.
I have 5 servers spread out in different locations running Fedora Core, Webmin, and OpenVPN.
My most recent one I signed up with on here and for 2 weeks I have been doing various things to speed it up such as remove ipv6, change the dns servers, etc. and rebooting after making such changes.
Things were working properly and the server was rebooted last about 3 days ago after installing OpenVPN and Webmin. Yesterday afternoon the server suddenly stopped responding and dropped its VPN connections. I created a ticket with my hosts support center and they told me that the network module was uninstalled.
Is this possible? I have NEVER heard of any software uninstalling a network module and even more so suddenly stopping the service to uninstall it without a reboot?
Did my host just try to screw me to get a reimage fee on their cheap server?