New answers tagged

0

I've switched from upstart to systemd, and now I can install it without any problems.


0

Your 10 GB of memory is being recognized just fine. But you have a 32-bit OS. This means that each user-level process (like memtester) only sees a 32-bit address space; inherently, no single process can access more than 4 GB of memory (and often less). You have PAE enabled. This means that different pieces of your 10 GB of memory can be allocated to ...


0

The error says it's missing two scripts regarding Virtual Network Computing Server (vncserver) that's supposed to be from the Linux Standard Base (LSB). Try doing some cleaning, spcifically: sudo sh -c "apt-get update; apt-get dist-upgrade; apt-get -f install" ,and then trying to install again. I got the idea from: ...


0

Everything works now. When I installed ubuntu on virtual box, I set the language settings as English UK (old international ...), I changed it to English US. The problem was not with php or lamp at all. It was with the language settings. Kian William Nowrouzian


0

The conclusion that I have reached is that I couldn't connect to my share because the version of Samba that is installed with Ubuntu 15.10 (Samba 4.1.17) had a bug that didn't allow it to properly authenticate users. My solution for this problem was installing Ubuntu 14.04.3 LTS and using Samba 4.1.6 along with it. Now Samba works flawlessly. Note: I ...


1

I had a similar problem, which turned out to be caused by a known bug in Samba. It looks like this will be fixed in future versions. In the meantime, the short-term workaround is: sudo mkdir /mnt/root sudo mount -o rbind / /mnt/root Then add the following line to /etc/fstab: / /mnt/root none rbind 0 0 Then, edit your smb.conf file to ...


0

Parto´s comment did it. Thanks for the quick help, guys. Taken from: http://www.linuxjournal.com/ Open up a terminal and type: cd /home/somedir python -m SimpleHTTPServer Now open a browser and type the following address: http://192.168.1.2:8000


0

(I made another answer, because my changes to LinuxBill's answer were rejected.) There is a package that can be used to do enable automatic updates for you. It is called unattended-upgrades. Use the following command to enable/disable automatic updates: sudo dpkg-reconfigure -plow unattended-upgrades That command will modify file ...


0

Monitoring network bandwidth tool(vnstat): install vnstat: apt-get install vnstat Monitoring command: vnstat -m monthly bandwidth root@test:~# vnstat -m eth0 / monthly month rx | tx | total | avg. rate ------------------------+-------------+-------------+--------------- Feb '16 106.13 MiB | 95.41 ...


0

You should be referring to this link to verify your mysql grant permission syntax. Do refer to the right version of MySQL. And please make sure to google first and post the questions in the right forum.


0

rTorrent is weird.. After start it changes the access rights of socket file, making it unaccessible for lighttpd. I am experiencing the same problem, and currently I just run chmod 777 /home/vinz243/torrent/rpc.socket every time, after rtorrent starts... I think, chmod 777 is not a good solution for production, but I have just a dev-version... Hope, ...


0

Create another startup script that runs before the samba startup (lower number) that executes that mount command. Or you can edit your existing samba startup script to add that mount command at the top, and then verifying its existence before proceeding on with the samba startup.


1

Your problem there are in locale configurations your system . Type this to fixed your problem first run locale generate the missing locale and reconfigure locales sudo locale-gen "en_US.UTF-8" && sudo dpkg-reconfigure locales see more : How do I fix my locale issue?


0

I have found the answer. Firstly I was using a pxe boot server to do the install. The pxe server was using a base install from 14.04.1 and upgrading. When I installed directly from USB using server 14.04.1 the install would hang after its first reboot. Even though apt-get upgraded it to 14.04.3. It would work OK on old hardware. After trying a direct ...


0

I had this problem consistently and it was the .pid file for the process before the reboot still being there. These are RedHat examples, but the concept is the same. A "service tomcat stop" both stops the apache process and the deletes the accompanying .pid file. A reboot was not removing the .pid file. What I ended up doing at first was manually stop ...


0

You can see the list of running programs after you ssh by running top or ps. The set of programs run at startup is usually found in .profile or /etc/profile. If the ssh shell runs bash .bash_profile or .bash_rc or /etc/bashrc may also contain instructions to run the programs. More detailed information about services is found in sudo service --status-all ...


0

You should have more success by assigning a static IP address for your machine through your router software as opposed to assigning from Ubuntu. This works fine on our configuration.


0

service resolvconf restart will regenerate /etc/resolv.conf file without much fuss.


0

I will suggest install Oracle Java 8 following this sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Verify whether java is installed or not? java -version You should see something like this root@ashu-700-430qe:/opt# java -version java version "1.8.0_72" Java(TM) SE Runtime Environment (build ...


0

The old version of the X Windows 2d acceleration software, XAA was disabled and removed from the Xorg server, unfortunately the mga driver does not support the new method of doing 2d acceleration... You can see that in your Xorg.log file: ... [ 81.014] (WW) MGA(0): Not supported by hardware, not initializing the DRI ... [ 81.015] (WW) MGA(0): Direct ...


0

Are you use real server or just install samba package in your desktop system ? In my machine i added the samba configuration with this simple script : [ISO_Linux] path = /home/teluk/iso guest ok = yes read only = no browseable = yes Make sure your directory permissions is set to accessible for everyone but don't set writable ...


0

To me, it sounds like a hardware issue, especially since you say it works just fine when used in another computer. Are you able to verify that the SSD is indeed showing up in BIOS, and that your boot order is set up correctly?


0

Not sure if you're using the default smb.conf that's configured for ease of setting up or not. I'd recommend doing that first for debugging. You need to run sudo smbpasswd -a <user> for each user that needs to login as well (I usually have to anyway). There should be a default smb.conf at /usr/share/samba/smb.conf


0

This answer will not get you the latest package of Swift 2.6.0 but addresses your 'alternative' option: how to patch the existing version to get around a specific problem. A few steps required: You will need to ensure that you have the source repositories enabled by opening /etc/apt/sources.list with your favorite text editor and un-commenting lines ...


0

You only have a total of 1GB from which 292MB are free. Depending on what you are running, I would say that is normal. The 69MB are without the cache portion which can be freed at any time when needed. To see which programs are really using the most memory, you should sort by the RES column in htop (hit F6 for sorting). But if you really have memory ...


1

The Ubuntu Cloud Archive generally tracks the versions which shipped with each OpenStack release. The latest OpenStack release (Liberty) shipped with swift 2.5.0, which is what is in the cloud archive. The swift project's series and milestone information, as well as the the projected OpenStack Mitaka release summary may be helpful to track.


0

Zabbix and Icinga are two of our favorites. For a pros and cons list, check out Five Of The Best Free Network Monitoring Software Tools.


0

I solved the issue re-creating the user with a home directory. My vsftpd configuration is set to open the home directory for each user but the user I created was without both the ability to login via ssh and the home directory. With the home directory and /bin/false as a shell it works fine


0

I was running into this same issue on our lab machines and using this command du -sch .[!.]* * |sort -h I was able to find hidden files like inside of users trash bins that they had yet to delete. Credit to here where I originally found this answer.


0

I had the same problem. We have a proxyserver with a wrong http/1.0 implementation making trouble with gpg keyserver fetch. As a workaround, the key can be added manually by doing the following things: Got to http://keyserver.ubuntu.com and search for the following key: 0xBAEFF88C22F6E216 (found in /usr/share/lxc/templates/lxc-download search for ...


1

If you give group access to /var/www/ then any one of your users will be able to read/write/delete to other users' directories. I would suggest: chown -R user1 /var/www/user1 chown -R user2 /var/www/user2 ... etc ... and tell them to make their files and directories world readable (which they should be if they are exposed to the World Wide Web) CGI ...


0

I installed MySQL using synaptic manager. Didn't have to enter a root password. The command: mysqladmin -u root password NEWPASSWORD worked. I was able to login into PhpMyAdmin immediately.


0

See if you can chmod one of your own files. Something like chmod 600 myfile.txt If you can do that you have control of your files. The 6 is your permission lvl the 0 for others. Now go check from someone else if they can see your file. or you could su <otheruser> and try to see/interact with the file.


0

I had similar problem (with icaclient 13.0) under Ubuntu 14.04 LTS. Like javy666, regardless what I did with certificates, I was still getting this error. I have installed them correctly into /opt/Citrix/ICAClient/keystore/cacerts, then I did the rehash with "c_rehash /opt/Citrix/ICAClient/keystore/cacerts", I have also updated directories /etc/ssl/certs/ ...


0

https://www.freeipa.org/page/Main_Page this may be the answer to that topic


0

There are two different servers hosting the debian package for Swift. Germany Mirror Denmark Mirror There shouldn't be a whole lot of difference, but it's possible that they have the bug figured out. The way to find out is to install and try it. If the bug is still there then you know it's not fixed 😛


1

PUT and DELETE methods are enabled by default and are only usable with handlers. Example > a2enmod actions ; service apache2 reload <Location /> Script PUT /handler.php Script DELETE /handler.php </Location>


1

The CUPS errors are not an issue. I get those also with my setup and I have no trouble accessing samba shares. Is your firewall turned on and if so, is samba being blocked? Is the dylanweber user also a regular login id on your system? Have you tried using your regular login password (if different from what you set for samba)? If you try to access the ...


0

Follow this tutorial For the server part make sure you are using the Ubuntu server with the static ipv4 address. If digital ocean's is having problems then try replacing their .conf contents with the one down below. mode server port 1134 proto tcp6-server dev tap ca ca.crt cert server.crt key server.key dh dh1024.pem server 192.168.5.0 255.255.255.0 ...


0

script for adding 2 user with root privilege: useradd student useradd teacher echo "student ALL=(ALL:ALL) ALL" >> /etc/sudoers echo "teacher ALL=(ALL:ALL) ALL" >> /etc/sudoers but you will need to run this script on each linux vm. :(


0

Inbuilt tools:(need to download from Ubuntu) 1 .New device came online on my LAN (basically accessed my WiFi) ifconfig -a 2 . Failed authentication attempts on my PC(fail2ban) apt-get install fail2ban cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local nano /etc/fail2ban/jail.local need to add below lines w.r.t your service bantime = 600 findtime = ...


2

There's plenty you can do with security, all of which will be great education! I've used Fail2ban to prevent repeated access attempts mostly for http hack attempts. it reads log files so is very very configurable, it's a bit complicated but well worth reading up on. You can see who last logged in using the lastlog command. The command sudo arp will show ...


0

Ok i found what was the problem: I did not write #!/bin/sh in the first line of the script.sh. And this is the script that actually works: #!/bin/sh ### BEGIN INIT INFO # Provides: Multicraft # Required-Start: # Required-Stop # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Multicraft daemon # ...


0

If you have configured /etc/samba/smb.conf for shared folders then you must assign group or user to this share. e.g if you have share: [share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0755 Then you can give access to this share to other users multiple ...


0

Think from the perspective of the server, not the client. The Postfix server receives and processes email for potential recipients on your server and therefore needs to apply checks to that to filter spam, including determining whether or not the received email comes from a known domain. If it doesn't, it's a safe bet it's spam and you can reject it. To ...


0

Try adding Sleep into your script. sleep 60 ./home/minecraft/multicraft/bin/multicraft -v start exit 0 OR sleep 60 cd /home/minecraft/multicraft/bin/ sudo ./multicraft -v start exit 0 OR sleep 60 cd /home/minecraft/multicraft/bin/ sudo multicraft -v start exit 0 Please increase the sleep time if above code does not work.(if you are root user no ...


1

du -s -c -h /var du -s -c -h /tmp and do it for each and every directory that you suspect might have grown and do a clean up accordingly.


1

There is no such thing as try(without install) option for server editions. Please refer to a similar question which was asked previously. Should a 14.04 server iso operate as a live CD?


0

I am setting this up on Ubuntu 14.04.3 LTS. I am using the Tomcat 7 provided by the tomcat7 package. It installs Tomcat as a system service by providing a standard init script: /etc/init.d/tomcat7 and configuration file: /etc/default/tomcat7 Tomcat supports running multiple instances with the same server software. The server software is located in ...



Top 50 recent answers are included