Tag Info

New answers tagged

0

If you're testing your local machine you should enter it's IP address or DNS hostname into Server Name input. Also you need to specify the port, your application or web server is listening to and relevant path where your application lives. In general, the idea of JMeter performance testing is producing load as close to real as possible. JMeter provides ...


1

Sry wrong Answer postet. my sulotions ends in a complete destruction of the database


0

I needed to setup 2 instances of VSFTPD. So I created a 2nd conf file /etc/vsftpd-2.conf and a 2nd init script /etc/init.d/vsftpd-2 I edited the contents of /etc/vsftpd-2.conf to include the following line listen_port=1123. I also needed to edit the /etc/init.d/vsftpd-2 file so when the start-stop-daemon is starting up the application, it uses a different ...


0

had the same issue in Windows / Apache. Fixed by using the full path in extension_dir change: extension_dir = "ext" to: extension_dir = "c:/progra~1/php5513/ext" obviously change your path to suit your install folder


0

Try booting into live cd and running a grub update on the hard drive. If the person on the other end isn't to savvy try a live cd like rescatux.


0

There are at least 2 ways of doing this run in standalone mode setup several different vsftpd conf files. In each set a different listen_port and call each with vsftpd /path/to/conf/file make sure to also enable standalone mode in each conf file (set listen to YES and disable vsftpd in inet/xinet) using systemd.unit to control the different ...


0

Read the manual man 5 vsftpd.conf listen_port If vsftpd is in standalone mode, this is the port it will listen on for incoming FTP connections. Default: 21


0

This is a nice little write up for getting this working on CentOS. But should work for Debian based OS's as well. https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-ftp-vsftpd-start-multi.html If you cannot run two instances on the same server for whatever reason you could just use iptables to redirect all traffic on port 1123 to 21. iptables -t nat ...


6

than setting another VLAN and adding to it virtual interfaces Sorry dude, this shows you have no idea what you're talking about. Why in the world do you want this anyways? Are those networks routed to you? Or directly attached? It matters - you'll configure things differently. Anyway assuming that the networks are routed to you, do something like ...


4

Assigning 512 additional ip addresses to an interface shouldn't be any problem. Here is me adding 1000 additional addresses, ending up on a total of 1001. root@tbox:~# for c in $(seq 1 4); do for d in $(seq 1 250); do ip addr add 10.0.$c.$d/32 dev eth0; done; done root@tbox:~# ip addr show eth0 | grep -E "\binet\b" | wc -l 1001 root@tbox:~#


0

if you only testing how many concurrent clients can connect to your laptop, why not use ab, like following: [alexus@wcmisdlin02 ~]$ time ab -n100000 -c100 http://localhost/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, ...


0

Take a look at: https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/740390 You can try to reproduce it using those steps, that problem sounds similar to yours, I've never encoutered it but could be what you're looking for. If your provider gives you console access to your VPS, console to it and do the test.


1

The quoted link does not have the complete set of parameters (append line) required for PXE booting Lubuntu 14.04. The kernel panic => the mount cannot be performed correctly because of 1). You can see How Serva solved the correct lines here (I'm related to Serva development) http://vercot.com/~serva/an/NonWindowsPXE3.html Serva uses a CIFS share instead ...


1

Since it's probably a hardware fault, I'd look at some hardware diagnostics. If you have a hardware RAID controller, I'd find out if you can read its log (if 3Ware, use tw_cli). And, whether you have hardware or software RAID, you can look at the SMART parameters of the disks (if the disks are connected to a RAID controller, you may need special commands ...


1

Part of me wants to say that Linux shouldn't just crash... Modern operating systems under normal usage patterns should be fairly stable. When I do start seeing server instability, it's almost always a hardware or driver interaction. I would recommend looking very closely at the server, it's conditions and related components (RAM, storage, etc.). If you're ...


1

/var/log/syslog is a good place to start. Find the first log messages after the reboot. They will say something about syslog starting and what kernel version you are running. Then scroll up and find the last line, which was logged before the system crashed. Scroll up further to see if you can find any log messages from the kernel itself. Go through other ...


0

Either you add a script in /etc/init.d and run update-rc.d <script> defaults as the link you provided suggests. Make sure to edit the variables in the init-script correctly! To test it you can run service <script> start A simpler way would be to just add a line in the file /etc/rc.local, this file also run on startup and you can run it as you ...


0

why not just add a cronjob to start rails after rebooting? crontab -e Add: @reboot rails /home/username/trail/myrailsapp/file.ruby &


0

I don't know why it's not asking for the password, but to complete the install you could drop a .my.cnf into the installing user's home directory containing [client] user = root password = MySecurePassword Of course you'll need to figure out how to tell zenoss the password once it's installed, but at least this will get you a bit further. Don't forget to ...


1

The load imposed by a DHCP server with that number of clients is pretty minimal, so any reasonably modern computer would suffice. Bear in mind that you might want to hold on to your DHCP logs for a while, so plan to allocate some disk space to that. However, you should think carefully about redundancy. If your DHCP server fails, it could be pretty ...


0

According to the docs, busybox 1.12.1 has vi. Anyway, here's your sed regex: sed -i "s/filter\ \=\ \[\ \"a\/loop2\/\",\ \"r\/\.\*\/\"\ \]/filter = [ \"a\/.*\/\" ]/" /etc/lvm/lvm.conf


2

... Failed to tls handshake with 192.168.2.107 x509: cannot validate certificate for 192.168.2.107 because it doesn't contain any IP SANs SSL needs identification of the peer, otherwise your connection might be against a man-in-the-middle which decrypts + sniffs/modifies the data and then forwards them encrypted again to the real target. Identification ...


0

I'd say that both apply. Divide the hardening process in two steps: A baseline, common hardening that all images should enforce regardless their final use. Specific configuration targeting an application (a database, a web server, ...) Create a hardened image from your OS of choice and use a local registry to store it. You can have dockerfiles targeting ...


0

I have debian-zfs installed on proxmox 3.2 (using this kernel pve-headers-2.6.32-26-pve). This is how I fixed it after the upgrade. aptitude purge dkms debian-zfs spl-dkms zfs-dkms I chose "Yes" to all the prompts, to remove it all. After that was done, I did some checking if there are any dkms leftovers. The below command should show an empty directory. ...


0

fstransform converts between ext2, ext3, ext4, jfs, minix, xfs, reiserfs. I see it in Debian wheezy repositories, so it probably is also available in other Debian-based distributions.


1

I could not use the host's Cntlm server in the client because I was using the wrong source IP address. If VMware is using NAT (which is how my virtual machine is configured), Cntlm has to listen to the host's IP address in the virtual VMware network, not the host's IP in the corporate network. The following commands were executed on the host. $> ...


0

The output from puppet agent that you added to the bottom of your question spells it out: Notice: Skipping run of Puppet configuration client; administratively disabled (Reason: 'Disabled by default on new installations'); Use 'puppet agent --enable' to re-enable. It doesn't get any clearer than that.


1

In my case, I had to clear /etc/update-motd.d/51-cloudguest, which read: #!/bin/sh # ...


1

You defined the default server in 000-default.conf as sub.example.com and it is pointed to the Apache test page. Because it comes first, it overrides the second sub.example.com virtual host you had defined in sub.conf. To fix the problem, edit 000-default.conf and remove ServerName sub.example.com from it.


3

It is actually possible. You need the debug kernel for that particular distro. On a seperate host. Download the kebug version of that kernel. It will contain a vmlinux file. Open the vmlinux file in gdb. $ gdb /usr/lib/debug/lib/modules/3.14.9-200.fc20.x86_64/vmlinux GNU gdb (GDB) Fedora 7.7.1-13.fc20 Copyright (C) 2014 Free Software Foundation, Inc. ...


2

Some of the output is missing, since it scrolled off the screen already, but it's possible to see that the kernel crashed in mount_root(). This means that it had a problem with mounting whatever you passed as the root filesystem. Check to ensure that you have passed the correct parameters to the kernel to boot from whatever media it is supposed to be booting ...


0

The first thing I would check is that the user running chef-client has permissions to start/restart the service (usually not the problem). Next I would check that there are no other recipes running that are counteracting the logic of this recipe (sometimes the problem, but not often). What I really think is causing your issue is the way chef handles it's ...


2

I usually do this, just to minimize the downtime.. While MySQL is running, rsync the datadir to a new location First rsync takes a long time, so do another rsync pass or two after that, to minimize the difference. Change the datadir variable in your my.cnf file to the new location Stop MySQL Do another rsync pass to make sure everything is copied to the ...


2

Change the datadir in my.cnf to the new location. Shut down MySQL (make sure it's fully stopped by tailing the logs!) and just move the contents to the new directory and start MySQL.


1

I see you do not have logs. I would stop puppetmaster on the master server then run it this way: puppet master --verbose --no-daemonize On the node server, stop puppet service and run it verbose with noop: puppet agent --test --noop This should give you some output that will hopefully help troubleshooting. My guess: Certificate issues. It usually is ...


0

Finally found the cause of this myself: The Citadel package of Ubuntu 12.04 is broken for some systems as it says here: https://bugs.launchpad.net/ubuntu/+source/citadel/+bug/911732 I will now try to upgrade to 14.04 or install citadel manually... Update: I was not able to upgrade to 14.04 because of my server provider. I instead reinstalled the machine ...


2

installing a monitoring tool If this is only one box, i would not install any monitoring tool, rather rely on scripts. However if you want to go with monitoring tools, i would pick zabbix [monitoring] & ossec [IDS] doing often the updates (how often?) Depends lets take e.g of recent vulnerability on heartbleed, how would you choose to get ...


0

According to the MS-KILE documentation When clients perform a password-based initial authentication, they MUST supply the PA-ENC-TIMESTAMP pre-authentication type when they construct the initial AS request. You're Windows client apparently is not doing this. I am not pertaining to know the Windows side very well, but perhaps there are 'compatibility ...


1

Probably you have standard set of Security Groups as well as one instance of EC2, but remember that you can make multiple Security Groups and multiple EC2 instances, so: You have to assingn Security Group to EC2 instance. Go to AWS website -> EC2 -> Instances -> select your instance -> Actions button -> Networking/Change Security Groups -> here you can ...


3

You are running a version of Ubuntu which is past its end of life date. You can no longer install software from the repositories as they are moved shortly after the release hits EOL. The preferred method of dealing with this is to upgrade to the latest long-term support (LTS) release. If you truly need old packages from an EOL distribution, you can find ...


0

Did you repeat this, perhaps multiple times? Since read performance is not impacted at all, I'd suspect slow write performance of the "failed" SSD due to insufficient free (trimmed) FLASH blocks. Every RAID-rebuild does a full write to the newly added device, thus writing large amounts of data and depleting the target device of pre-erased blocks. From ...


1

Well I couldn't find any solution to this problem whatever I tried. In the end I replaced Ubuntu with Debian 7.0, and the problem went away, along with some anomalous CPU usage which didn't show up in top but did show up in the VPS monitoring panel (this CPU usage manifested as gradual increase over 2-3 days up to 10%, followed by dropping back to 0%, ...


3

I'm guessing that DirectoryIndex is a setting that doesn't work inside VirtualHost and instead is a global setting in apache2.conf. There is no need to guess it's in the documentation For Apache 2.2 DirectoryIndex is valid inside a VirtualHost context, and the same goes for Apache 2.4 DirectoryIndex.


0

DSN service unavailable sounds relay is not configured properly. you can edit /etc/mail/sendmail.cf or /etc/sendmail.cf And change # "Smart" relay host (may be null) DS<mailserver_hostname> This mailserver_hostname should be resolved by your box, otherwise create host entry to point where that is supposed to go. PS: Personal opinion i would ...


0

First of all, don't rush it. Trying to get out of such a situation in a hurry is just going to cause more mistakes. Don't let anything get written to the disk you got a problem with. You'd better let that server alone for now. Find the documentation on your restore procedure. Start restoring from backup onto a spare server. Once you have a system running ...


-1

not sure if you need one.php inside site two or viseversa but you could always do: DirectoryIndex one.php two.php three.php And once site1.com looks for default file and it sees one.php it will use that as default. and other site2.com would not find one.php as it will show two.php? But depends upon what is ur full requirement.


0

Expat is an XML parser library written in C. project website You need to download the package from project page Read installation instructions from the README file. Basically you need to ./configure make make install Have a look at the "Makefile" to learn about additional "make" options. Note that you need to have write permission into the directories ...


0

You could move this configuration proxy_pass http://192.168.12.12:91; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; into a separate file called proxy.conf and then include it in the right place location = / { include proxy.conf; } # ...


3

You have a recursive error. You define a function called 'ssh' then call the same function in your function. This results in a recursive loop. Specify the absolute path to the ssh binary and that should fix it.


1

In a word, no. When you restart the service, you must kill the process which holds the socket file descriptors open. Assuming these are TCP sessions, that means the TCP session must finish (FIN) and a new session be established (SYN) after the service has restarted and a new process is listening on a socket again. Why do you need to restart the service? ...



Top 50 recent answers are included