General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
My boss asked me to fix an apache tomcat server because the application hosted on it wasn't working properly.
All I can say is that jesus fucking christ it's almost impossible to debug this shit.
Anyone have a better PDF reader? Currently using "Document Viewer" since it came with the install, but I notice that it is rather sluggish.
[QUOTE=diwako;43783260]Anyone have a better PDF reader? Currently using "Document Viewer" since it came with the install, but I notice that it is rather sluggish.[/QUOTE]
I use Okular with no issues
[QUOTE=diwako;43783260]Anyone have a better PDF reader? Currently using "Document Viewer" since it came with the install, but I notice that it is rather sluggish.[/QUOTE]
Evince is a nice one.
[QUOTE=Darkwater124;43783381]Evince is a nice one.[/QUOTE]
I think its Evince that he is already using.
[QUOTE=PredGD;43778262]yeah of course, but that's the part that annoys me. I want to use linux 24/7, and can't be bothered to reboot the computer everytime I need to use some windows software.[/QUOTE]
What about virtualization? Virtualbox has an "Seemless Mode" that makes Windows programs work great together with the Linux desktop.
i just use foxit because it has the best automatic watermark removal
Can't Chromium/Chrome handle PDFs?
Somehow I don't think he wants to open a fully fledged web browser to view a pdf
Use mupdf
It's very lightweight
[QUOTE=diwako;43783260]Anyone have a better PDF reader? Currently using "Document Viewer" since it came with the install, but I notice that it is rather sluggish.[/QUOTE]
I've never seen a fast PDF reader on any OS, for some reason. Adobe Reader is slow as shit, Okular is laggy, Evince is slooooooow...Only PDF viewer that's ever performed good in my experience was the one built-in to Windows 8(.1?) :v:
Well I guess the ones built-in to Chrome/Chromium are decent, too...
[QUOTE=Lyoko774;43785904]I've never seen a fast PDF reader on any OS, for some reason. Adobe Reader is slow as shit, Okular is laggy, Evince is slooooooow...Only PDF viewer that's ever performed good in my experience was the one built-in to Windows 8(.1?) :v:
Well I guess the ones built-in to Chrome/Chromium are decent, too...[/QUOTE]
sumatraPDF, once you set it up so it doesn't look like it was coloured in at a preschool art class
windows only at the moment, sadly, but I bring it up due to "on any OS"
how would I go about making a bootable windows 8.1 USB stick using my .iso image?
[editline]5th February 2014[/editline]
[code][ragingvlad@RagingArch ~]$ sudo winusb --format win8.iso /dev/sdc
[sudo] password for ragingvlad:
Formating device...
BLKRRPART: Device or resource busy
Mounting...
mount: /dev/loop0 is write-protected, mounting read-only
Copying...
Installing grub...
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
Error occured !
Syncing...
Cleaning...
Umounting and removing '/media/winusb_iso_1391563467_9749'...
Umounting and removing '/media/winusb_target_1391563467_9749'...
[/code]
there's only one partition on it, an NTFS one
[QUOTE=MasterFen006;43784025]Can't Chromium/Chrome handle PDFs?[/QUOTE]
Google Chrome's PDF viewer is not part of the open source Chromium. You can install it as a plugin, though.
I use Firefox or Chrome as my default PDF reader. Loads faster and is more stable than Adobe.
Day 3 of the Apache Tomcat server debugging.
Coffee helps me to not think about burning down the server room. I have yet to find the rumored config that contains the mysql configuration for the application. The tomcat server logs are not helping and only seem to taunt me with their endless stream of mysql connector exception stacktraces. The coffee machines on all the other floors broke down so there is a line at the one down here now. I fear that it might run out soon so I'm preparing to burn down the server room anyways.
My boss keeps asking me if I'm not going insane and I just look at him, smile and say "Yea sure it'll be done by the end of the day".
But seriously fuck Apache Tomcat.
[editline]asdf[/editline]
Fixed it! (few posts down)
[QUOTE=Larikang;43792951]Google Chrome's PDF viewer is not part of the open source Chromium. You can install it as a plugin, though.[/QUOTE]
You can install the mozilla projects PDF.js in Chromium though.
[QUOTE=Mega1mpact;43794924]Day 3 of the Apache Tomcat server debugging.
Coffee helps me to not think about burning down the server room. I have yet to find the rumored config that contains the mysql configuration for the application. The tomcat server logs are not helping and only seem to taunt me with their endless stream of mysql connector exception stacktraces. The coffee machines on all the other floors broke down so there is a line at the one down here now. I fear that it might run out soon so I'm preparing to burn down the server room anyways.
My boss keeps asking me if I'm not going insane and I just look at him, smile and say "Yea sure it'll be done by the end of the day".
But seriously fuck Apache Tomcat.[/QUOTE]
Why don't you use grep to find it?
[code]
grep -r "database" /Path/to/Tomcat/Files
[/code]
[QUOTE=kaukassus;43795287]Why don't you use grep to find it?
[code]
grep -r "database" /Path/to/Tomcat/Files
[/code][/QUOTE]
I've tried that. I've tried grepping for user, db, database, password, sql, mysql, etc etc etc.
The wiki for the application is pure sheit so that's of no help.
[editline]5th February 2014[/editline]
Okay you have to be shitting me.
What they do is make a dir in /etc and put ONE fucking config file in there. The documentation telling where the file was was tucked away in their really strange wiki.
It seems like I don't have to burn down the server room anymore
[QUOTE=Mega1mpact;43795307]I've tried that. I've tried grepping for user, db, database, password, sql, mysql, etc etc etc.
The wiki for the application is pure sheit so that's of no help.[/QUOTE]
I've got one more thing.
AFAIK Apache Tomcat's appliances are in a .war file. The war file is like a jar, but for web appliances or some stuff.
The DB info may have been hardcoded somewhere in the source code. (If so, the person should get fired)
(Or a config file, embedded into the war file)
[QUOTE=kaukassus;43795353]I've got one more thing.
AFAIK Apache Tomcat's appliances are in a .war file. The war file is like a jar, but for web appliances or some stuff.
The DB info may have been hardcoded somewhere in the source code. (If so, the person should get fired)
(Or a config file, embedded into the war file)[/QUOTE]
War is Dutch for "confuse".
Very fitting, haha
anyone has a clue what this could be?
[code]# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f81c1abb4b6, pid=6872, tid=140195108800256
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x4414b6] frame::sender_for_compiled_frame(RegisterMap*) const+0x86
#
# An error report file with more information is saved as:
# /home/minecraft/spigot/hs_err_pid6872.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted[/code]
I'd get the log file buuut
[code]
Status: Connecting to pred.me...
Response: fzSftp started
Command: open "minecraft@pred.me" 22
Command: Pass: ************************************************************************************************************************
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server[/code]
Your JVM crashed
[QUOTE=kaukassus;43795353]I've got one more thing.
AFAIK Apache Tomcat's appliances are in a .war file. The war file is like a jar, but for web appliances or some stuff.
The DB info may have been hardcoded somewhere in the source code. (If so, the person should get fired)
(Or a config file, embedded into the war file)[/QUOTE]
The war was for one poorly made so I had to extract it and fix it and point to there. I fixed it now tho it was a really obscure config file that was commented with stuff like todo etc.
[url]http://tny.cz/e624bbf0[/url]
got it! apparently it doesn't like long passwords in SFTP
[editline]5th February 2014[/editline]
[QUOTE=kaukassus;43796113]Your JVM crashed[/QUOTE]
yeah, but why does it keep crashing? it's been happening a lot frequently
[QUOTE=PredGD;43796103]anyone has a clue what this could be?
[code]# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f81c1abb4b6, pid=6872, tid=140195108800256
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x4414b6] frame::sender_for_compiled_frame(RegisterMap*) const+0x86
#
# An error report file with more information is saved as:
# /home/minecraft/spigot/hs_err_pid6872.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted[/code]
I'd get the log file buuut
[code]
Status: Connecting to pred.me...
Response: fzSftp started
Command: open "minecraft@pred.me" 22
Command: Pass: ************************************************************************************************************************
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server[/code][/QUOTE]
Is that this logfile?
/home/minecraft/spigot/hs_err_pid6872.log
[editline]5th February 2014[/editline]
okay then
[editline]5th February 2014[/editline]
[QUOTE=PredGD;43796123][url]http://tny.cz/e624bbf0[/url]
got it! apparently it doesn't like long passwords in SFTP
[editline]5th February 2014[/editline]
yeah, but why does it keep crashing? it's been happening a lot frequently[/QUOTE]
Why is your password THAT long? A 15 char password is secure enough
[QUOTE=Mega1mpact;43796133]
Why is your password THAT long? A 15 char password is secure enough[/QUOTE]
better safe than sorry \:v:/
just imagine the NSA cracking that password only to find a minecraft server
I got a 50 character password on my main email account. Just to be safe
[editline]5th February 2014[/editline]
I would have gone bigger, but the mail service only supports 50 character passwords.
Also, My private "cloud" containing all my important services (proxy, owncloud, mediawiki, gitlab, etc...) is secured with a 8192 bit RSA certificate, so I might seem a bit paranoid.
[QUOTE=kaukassus;43796210]I got a 50 character password on my main email account. Just to be safe
[editline]5th February 2014[/editline]
I would have gone bigger, but the mail service only supports 50 character passwords.
Also, My private "cloud" containing all my important services (proxy, owncloud, mediawiki, gitlab, etc...) is secured with a 8192 bit RSA certificate, so I might seem a bit paranoid.[/QUOTE]
I've been thinking of adding 2 step authentication to my mail service for paranoid people.
It will make loggin in a lot faster :#
I have a question about which distro to use for my purpose.
I have a friend on WinXP, he has an AMD XP 2500 Barton and 1.5gb ram. He uses this computer for office work and cruising online mostly, listening to music too. He isn't interested in buying Win7/8 for this computer.
My idea is to set him up with Linux, and show him Libreoffice. I have a 4gb USB stick I'd like to use instead of a CD/DVD. I've made a bootable stick with Pendrive and Mint 16. Now I know I need to use that 'persistent' option to make and keep changes to my Linus drive but how large? If I have 3.xgb free on the USB stick do I use all of it for the persistent thing? Or do I need to reserve some of that drive for other things. It's formatted for FAT32 btw.
Or is Mint too big of a distro to use for this purpose. I'd like to show him how Linux can play music and video, so I figured Mint was the way to go. I'm willing to go with another flavor and add the parts I need if that'll work better.
Sorry, you need to Log In to post a reply to this thread.